{"version":3,"file":"Chatwoot_button.DAEc9Nui.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/tLRl3FcNLqhASFHG363W/4X3okTSHlN5wmUvcNZfA/Chatwoot_button.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function ChatwootToggle(){return{onTap(){if(window.$chatwoot){window.$chatwoot.toggle();}else{console.error(\"Chatwoot is not initialized.\");}}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withChatwootToggle(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ChatwootToggle(props)});};}withChatwootToggle.displayName=\"ChatwootToggle\";\nexport const __FramerMetadata__ = {\"exports\":{\"withChatwootToggle\":{\"type\":\"reactHoc\",\"name\":\"withChatwootToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ChatwootToggle\":{\"type\":\"override\",\"name\":\"ChatwootToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Chatwoot_button.map"],"mappings":"iLAA2C,SAAgB,GAAgB,CAAC,MAAM,CAAC,OAAO,CAAI,EAAO,UAAW,EAAO,UAAU,QAAQ,CAAO,QAAQ,MAAM,+BAA+B,EAAI,CAAqJ,SAAgB,EAAmB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAe,EAAM,CAAC,CAAC,uBAA1d,IAAwN,IAAmF,CAAmL,EAAmB,YAAY"}