const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Chatbot-CIeel3En.js","assets/vendor-ui-Di8ht53r.js","assets/vendor-react-CQmvUQ48.js","assets/index-dhtZamXm.js","assets/vendor-charts-DHIBAAe4.js","assets/vendor-query-X4y0eUJS.js","assets/index-Dakziv6S.css","assets/input-DHTP4p-F.js","assets/textarea-Cjkw6JzO.js","assets/client-Ck-HpqZ3.js","assets/rateLimitError-ChGrtg6L.js","assets/mail-Bvm72uxM.js","assets/vendor-forms-DYr4pOjH.js"])))=>i.map(i=>d[i]);
import{c as u,_ as m,B as r}from"./index-dhtZamXm.js";import{j as e}from"./vendor-ui-Di8ht53r.js";import{r as t}from"./vendor-react-CQmvUQ48.js";/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const l=u("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]),h=t.lazy(()=>m(()=>import("./Chatbot-CIeel3En.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),b=()=>{const[i,s]=t.useState(!1),[c,n]=t.useState(!1);t.useEffect(()=>{const o=()=>s(!0);if("requestIdleCallback"in window){const a=window.requestIdleCallback(o,{timeout:3e3});return()=>window.cancelIdleCallback(a)}else{const a=setTimeout(o,2e3);return()=>clearTimeout(a)}},[]);const d=()=>{s(!0),n(!0)};return i?e.jsx(t.Suspense,{fallback:e.jsx(r,{className:"fixed bottom-6 right-6 h-14 w-14 rounded-full shadow-lg bg-primary hover:bg-primary/90 z-50",size:"icon","aria-label":"Loading chat assistant",children:e.jsx(l,{className:"h-6 w-6 animate-pulse"})}),children:e.jsx(h,{defaultOpen:c})}):e.jsx(r,{onClick:d,className:"fixed bottom-6 right-6 h-14 w-14 rounded-full shadow-lg bg-primary hover:bg-primary/90 z-50",size:"icon","aria-label":"Open chat assistant",children:e.jsx(l,{className:"h-6 w-6"})})},w=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"}));export{w as L,l as M};