{"version":3,"file":"Intercom.CUAvMulY.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/dOq9WoX2Y3Gt7ENccjyN/tNpWjibVVYB9e8uNPR9C/Intercom.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";function intercom(...args){const w=window;if(typeof w.Intercom!==\"function\"){console.warn(\"Intercom is not loaded yet\");return;}w.Intercom(...args);}// ---------- Basic UI actions ----------\nexport function IntercomShow(){return{onClick:()=>intercom(\"show\")};}export function IntercomHide(){return{onClick:()=>intercom(\"hide\")};}export function IntercomShowNewMessage(){return{onClick:()=>{intercom(\"showNewMessage\");},style:{cursor:\"pointer\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withIntercomShow(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...IntercomShow(props)});};}withIntercomShow.displayName=\"IntercomShow\";export function withIntercomHide(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...IntercomHide(props)});};}withIntercomHide.displayName=\"IntercomHide\";export function withIntercomShowNewMessage(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...IntercomShowNewMessage(props)});};}withIntercomShowNewMessage.displayName=\"IntercomShowNewMessage\";\nexport const __FramerMetadata__ = {\"exports\":{\"withIntercomShowNewMessage\":{\"type\":\"reactHoc\",\"name\":\"withIntercomShowNewMessage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"IntercomShow\":{\"type\":\"override\",\"name\":\"IntercomShow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withIntercomHide\":{\"type\":\"reactHoc\",\"name\":\"withIntercomHide\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"IntercomHide\":{\"type\":\"override\",\"name\":\"IntercomHide\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"IntercomShowNewMessage\":{\"type\":\"override\",\"name\":\"IntercomShowNewMessage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withIntercomShow\":{\"type\":\"reactHoc\",\"name\":\"withIntercomShow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Intercom.map"],"mappings":"iLAA2C,SAAS,EAAS,GAAG,EAAK,CAAC,IAAM,EAAE,EAAO,GAAG,OAAO,EAAE,UAAW,WAAW,CAAC,QAAQ,KAAK,6BAA6B,CAAC,OAAQ,EAAE,SAAS,GAAG,EAAK,CAC9L,SAAgB,GAAc,CAAC,MAAM,CAAC,YAAY,EAAS,OAAO,CAAC,CAAE,SAAgB,GAAc,CAAC,MAAM,CAAC,YAAY,EAAS,OAAO,CAAC,CAAE,SAAgB,GAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,EAAS,iBAAiB,EAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAqJ,SAAgB,EAAiB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAa,EAAM,CAAC,CAAC,EAAgD,SAAgB,EAAiB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAa,EAAM,CAAC,CAAC,EAAgD,SAAgB,EAA2B,EAAE,CAAC,MAAO,KAAQ,EAA+BD,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAuB,EAAM,CAAC,CAAC,uBAD59B,IACoR,IAAmF,CAA+K,EAAiB,YAAY,eAA8L,EAAiB,YAAY,eAAkN,EAA2B,YAAY"}