{"version":3,"file":"OpenIntercom.bQBLP_Em.mjs","names":[],"sources":["https:/framerusercontent.com/modules/NIBjKFwKTqKgLaYGDHPo/IT2EauPbHSiiBOZGxYGr/OpenIntercom.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withOpenIntercom(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const openIntercom=()=>{if(typeof window!==\"undefined\"&&typeof window.Intercom===\"function\"){window.Intercom(\"show\");}};const handleClick=(...args)=>{props.onClick?.(...args);openIntercom();};const handleTap=(...args)=>{props.onTap?.(...args);openIntercom();};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:handleClick,onTap:handleTap});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withOpenIntercom\":{\"type\":\"reactHoc\",\"name\":\"withOpenIntercom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OpenIntercom.map"],"mappings":"gIAAyE,SAAgB,EAAiB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,MAAiB,CAAW,IAAS,QAAa,OAAO,EAAO,UAAW,YAAY,EAAO,SAAS,OAAO,EAAU,GAAa,GAAG,IAAO,CAAC,EAAM,UAAU,GAAG,EAAK,CAAC,GAAc,EAAS,GAAW,GAAG,IAAO,CAAC,EAAM,QAAQ,GAAG,EAAK,CAAC,GAAc,EAAG,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,QAAQ,EAAY,MAAM,EAAU,CAAC,EAAG,sBAAxd,IAA8B"}