{"version":3,"file":"Integrations_Styling.DFUhBugy.mjs","names":["useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/h4mri9OPC9ZjPRmEBwvk/RYurAy9hsXqIGYGAJw4r/Integrations_Styling.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";const hideMe={style:{display:\"none\"}};const clientHubRef=[\"clienthub\",\"client-hub\",\"wp.local\",\"backstage.creativerockstars.com\"];export function IntegrationsComponent(props){const[show,setShow]=useState(true)// Show by default\n;useEffect(()=>{if(clientHubRef.find(e=>document.referrer.includes(e)))setShow(false);},[]);return show?{}:hideMe;}export function ClientHubComponent(props){const[show,setShow]=useState(false)// Hide by default\n;useEffect(()=>{if(clientHubRef.find(e=>document.referrer.includes(e)))setShow(true);},[]);return show?{}:hideMe;}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withIntegrationsComponent(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...IntegrationsComponent(props)});};}withIntegrationsComponent.displayName=\"IntegrationsComponent\";export function withClientHubComponent(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ClientHubComponent(props)});};}withClientHubComponent.displayName=\"ClientHubComponent\";\nexport const __FramerMetadata__ = {\"exports\":{\"IntegrationsComponent\":{\"type\":\"override\",\"name\":\"IntegrationsComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClientHubComponent\":{\"type\":\"reactHoc\",\"name\":\"withClientHubComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withIntegrationsComponent\":{\"type\":\"reactHoc\",\"name\":\"withIntegrationsComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ClientHubComponent\":{\"type\":\"override\",\"name\":\"ClientHubComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Integrations_Styling.map"],"mappings":"kLAAkN,SAAgB,EAAsB,EAAM,CAAC,GAAK,CAAC,EAAK,GAASA,EAAS,EAAI,EACpM,OAA3F,MAAc,CAAI,EAAa,KAAK,GAAG,SAAS,SAAS,SAAS,CAAC,CAAC,GAAE,EAAQ,EAAK,CAAE,EAAE,CAAC,CAAC,EAAS,EAAK,CAAC,EAAE,CAAO,CAAC,SAAgB,EAAmB,EAAM,CAAC,GAAK,CAAC,EAAK,GAASA,EAAS,EAAK,EACpG,OAA1F,MAAc,CAAI,EAAa,KAAK,GAAG,SAAS,SAAS,SAAS,CAAC,CAAC,GAAE,EAAQ,EAAI,CAAE,EAAE,CAAC,CAAC,EAAS,EAAK,CAAC,EAAE,CAAO,CAAoJ,SAAgB,EAA0B,EAAE,CAAC,MAAO,KAAQ,EAA+BC,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAsB,CAAK,CAAC,CAAC,EAAI,CAA+D,SAAgB,EAAuB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAmB,CAAK,CAAC,CAAC,EAAI,qBAFppB,IAAsC,IAEoL,EAF7K,EAAO,CAAC,MAAM,CAAC,QAAQ,MAAM,CAAC,EAAQ,EAAa,CAAC,YAAY,aAAa,WAAW,iCAAiC,EAEsP,EAA0B,YAAY,wBAAmN,EAAuB,YAAY"}