{"version":3,"file":"DynamicLink.DVBxOO01.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/jGhNeqYXxcgCueeJVBN2/uFAfmj78fjN4bNQg919X/DynamicLink.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function toStore(){if(typeof window===\"undefined\")return{};const isDev=window.location.hostname.includes(\"dev.cubig.ai\");const targetURL=isDev?\"https://dev.cubig.ai/store\":\"https://cubig.ai/store\";return{onTap:()=>{console.log(\"Navigating to:\",targetURL);window.location.href=targetURL;}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withtoStore(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...toStore(props)});};}withtoStore.displayName=\"toStore\";\nexport const __FramerMetadata__ = {\"exports\":{\"withtoStore\":{\"type\":\"reactHoc\",\"name\":\"withtoStore\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toStore\":{\"type\":\"override\",\"name\":\"toStore\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DynamicLink.map"],"mappings":"6KAA2C,SAAgB,GAAS,CAAC,GAAU,IAAS,OAAY,MAAM,EAAE,CAA+D,IAAM,EAAxD,EAAO,SAAS,SAAS,SAAS,eAAe,CAAuB,6BAA6B,yBAAyB,MAAM,CAAC,UAAU,CAAC,QAAQ,IAAI,iBAAiB,EAAU,CAAC,EAAO,SAAS,KAAK,GAAY,CAAqJ,SAAgB,EAAY,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAQ,EAAM,CAAC,CAAC,uBAA7lB,IAAyW,IAAmF,CAAqK,EAAY,YAAY"}