{"version":3,"file":"Live_Chat.BvWYC2IZ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/EVlz7EIroTZVeb80Xsk4/plpJlPL32NxbM0KVjFOH/Live_Chat.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Tawk.to Live Chat Integration Component\nexport const TawkToChat=()=>{useEffect(()=>{// Check if Tawk.to is already added to avoid duplicates\nif(!document.getElementById(\"tawk-to-script\")){window.Tawk_API=window.Tawk_API||{};window.Tawk_LoadStart=new Date;// Create and add the Tawk.to script\nconst script=document.createElement(\"script\");script.id=\"tawk-to-script\"// Unique ID for cleanup\n;script.type=\"text/javascript\";script.async=true;script.src=\"https://embed.tawk.to/6735a8f04304e3196ae26c39/1ickpnr3h\";script.charset=\"UTF-8\";script.setAttribute(\"crossorigin\",\"*\");// Append script to the document\ndocument.body.appendChild(script);console.log(\"Tawk.to script added.\");}return()=>{// Cleanup script when the component unmounts\nconst script=document.getElementById(\"tawk-to-script\");if(script){document.body.removeChild(script);console.log(\"Tawk.to script removed.\");}};},[]);return null// This component does not render anything visible\n;};// Example Usage\nexport default function App(){return /*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(TawkToChat,{})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"App\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"TawkToChat\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Live_Chat.map"],"mappings":"mMAQA,SAAwB,GAAK,CAAC,OAAoB,EAAK,MAAM,CAAC,SAAsB,EAAK,EAAW,EAAE,EAAE,CAAG,6BAP9F,OAAgB,MAAc,CAC3C,GAAG,CAAC,SAAS,eAAe,kBAAkB,CAAC,EAAO,SAAS,EAAO,UAAU,EAAE,CAAC,EAAO,eAAe,IAAI,KAC7G,IAAM,EAAO,SAAS,cAAc,UAAU,EAAO,GAAG,iBACvD,EAAO,KAAK,kBAAkB,EAAO,MAAM,GAAK,EAAO,IAAI,2DAA2D,EAAO,QAAQ,QAAQ,EAAO,aAAa,cAAc,KAChL,SAAS,KAAK,YAAY,GAAQ,QAAQ,IAAI,wBAA0B,WAAU,CAClF,IAAM,EAAO,SAAS,eAAe,kBAAqB,IAAQ,SAAS,KAAK,YAAY,GAAQ,QAAQ,IAAI,2BAA6B,CAAE,EAAC,EAAE,EAAS"}