{"version":3,"file":"MultiOpen.DBDPZ0LE.mjs","names":[],"sources":["https:/framerusercontent.com/modules/flCRYxsfRATh6WndQEtq/qp4blxdMEjeIn4LJXV00/MultiOpen.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// ── Apple Silicon (M1/M2/M3/M4…) version ─────────────────────────────────────\nexport function withMacAppleSiliconDownload(Component){return props=>{const handleClick=event=>{// No preventDefault/stopPropagation — let Framer navigate current tab to instructions\n// event.preventDefault()\n// event.stopPropagation()\n// Trigger download in background (no new tab)\nconst link=document.createElement(\"a\");link.href=\"https://heyedd.ie/M1MacDL\";link.download=\"Eddie+AI.dmg\"// Suggested filename for clean UX\n;link.style.display=\"none\";document.body.appendChild(link);link.click();document.body.removeChild(link);};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}// ── Intel Mac version ────────────────────────────────────────────────────────\nexport function withMacIntelDownload(Component){return props=>{const handleClick=event=>{// Let Framer handle navigation\n// event.preventDefault()\n// event.stopPropagation()\n// Trigger download in background\nconst link=document.createElement(\"a\");link.href=\"https://heyedd.ie/IntelMacDL\";link.download=\"Eddie+AI.dmg\";link.style.display=\"none\";document.body.appendChild(link);link.click();document.body.removeChild(link);};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}// ── Windows version ──────────────────────────────────────────────────────────\nexport function withWindows(Component){return props=>{const handleClick=event=>{// No preventDefault — allow Framer's link to work\n// event.preventDefault()\n// event.stopPropagation()\n// Trigger download in background\nconst link=document.createElement(\"a\");link.href=\"https://heyedd.ie/WinDL\";link.download=\"Eddie+AI.exe\";link.style.display=\"none\";document.body.appendChild(link);link.click();document.body.removeChild(link);};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withWindows\":{\"type\":\"reactHoc\",\"name\":\"withWindows\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMacAppleSiliconDownload\":{\"type\":\"reactHoc\",\"name\":\"withMacAppleSiliconDownload\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMacIntelDownload\":{\"type\":\"reactHoc\",\"name\":\"withMacIntelDownload\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MultiOpen.map"],"mappings":"oGACA,SAAgB,EAA4B,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAY,GAAO,CAI/F,IAAM,EAAK,SAAS,cAAc,IAAI,CAAC,EAAK,KAAK,4BAA4B,EAAK,SAAS,eAC1F,EAAK,MAAM,QAAQ,OAAO,SAAS,KAAK,YAAY,EAAK,CAAC,EAAK,OAAO,CAAC,SAAS,KAAK,YAAY,EAAK,EAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAC,EAC5K,SAAgB,EAAqB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAY,GAAO,CAIxF,IAAM,EAAK,SAAS,cAAc,IAAI,CAAC,EAAK,KAAK,+BAA+B,EAAK,SAAS,eAAe,EAAK,MAAM,QAAQ,OAAO,SAAS,KAAK,YAAY,EAAK,CAAC,EAAK,OAAO,CAAC,SAAS,KAAK,YAAY,EAAK,EAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAC,EACxR,SAAgB,EAAY,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAY,GAAO,CAI/E,IAAM,EAAK,SAAS,cAAc,IAAI,CAAC,EAAK,KAAK,0BAA0B,EAAK,SAAS,eAAe,EAAK,MAAM,QAAQ,OAAO,SAAS,KAAK,YAAY,EAAK,CAAC,EAAK,OAAO,CAAC,SAAS,KAAK,YAAY,EAAK,EAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAC,mBAhBxO"}