{"version":3,"file":"IOS_Button.XYZdPyHl.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/2ni2jN2AkKRV0EvrD6Ot/nxfgvOUXxCRjQ2NRNpRH/IOS_Button.js"],"sourcesContent":["// Overrides.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";export function OpenPlatformLink(){return{onClick:()=>{if(typeof window===\"undefined\"||typeof navigator===\"undefined\")return;const userAgent=navigator.userAgent||\"\";const isMac=navigator.platform===\"MacIntel\";const isTouchMac=isMac&&navigator.maxTouchPoints>1;const isiOSDevice=/iPad|iPhone|iPod/.test(userAgent)||isTouchMac;const isMacOS=isMac&&navigator.maxTouchPoints<=1;const iOSURL=\"https://apps.apple.com/us/app/ren-news-alerts-for-contacts/id1526141851\";const fallbackURL=\"https://rensystems.com/free-trial\";const fallbackQueryParams=window.location.search;const fallbackHash=window.location.hash;const fullFallbackURL=fallbackURL+fallbackQueryParams+fallbackHash;const url=isiOSDevice?iOSURL:fullFallbackURL;window.location.href=url;}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withOpenPlatformLink(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...OpenPlatformLink(props)});};}withOpenPlatformLink.displayName=\"OpenPlatformLink\";\nexport const __FramerMetadata__ = {\"exports\":{\"withOpenPlatformLink\":{\"type\":\"reactHoc\",\"name\":\"withOpenPlatformLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OpenPlatformLink\":{\"type\":\"override\",\"name\":\"OpenPlatformLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IOS_Button.map"],"mappings":"wSAC2C,SAAgB,GAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,GAAU,IAAS,QAAoB,IAAY,OAAY,OAAO,IAAM,EAAU,EAAU,WAAW,GAAS,EAAM,EAAU,WAAW,WAAiB,EAAW,GAAO,EAAU,eAAe,EAAQ,EAAY,mBAAmB,KAAK,EAAU,EAAE,EAAyB,GAAO,EAAU,eAAkB,IAAmJ,EAAoB,EAAO,SAAS,OAAa,EAAa,EAAO,SAAS,KAAW,EAAgB,oCAAY,EAAoB,EAAmB,EAAI,EAAY,0EAAO,EAAgB,EAAO,SAAS,KAAK,GAAM,CAAqJ,SAAgB,EAAqB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAiB,EAAM,CAAC,CAAC,uBAA/iC,IAAyyB,IAAmF,CAAuL,EAAqB,YAAY"}