{"version":3,"file":"Map_Fanatics.y__mqdb5.mjs","names":["useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/bLt8OaCFHqk46qPJBBwX/tb1SYcT2KqbzbatJF4yy/Map_Fanatics.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export default function DropOffPage(){const iframeRef=useRef(null);useEffect(()=>{const handleMessage=e=>{if(e.data?.height&&iframeRef.current){iframeRef.current.style.height=e.data.height+\"px\";}};window.addEventListener(\"message\",handleMessage);return()=>window.removeEventListener(\"message\",handleMessage);},[]);useEffect(()=>{if(!iframeRef.current)return;const iframe=iframeRef.current;const iframeContent=`\n      <!DOCTYPE html>\n      <html>\n        <head>\n          <meta charset=\"utf-8\">\n          <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n          <style>\n            body {\n              margin: 0;\n              padding: 20px;\n              font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n            }\n            #storepoint-widget {\n              width: 100%;\n              min-height: 400px;\n            }\n          </style>\n        </head>\n        <body>\n          <div id=\"storepoint-widget\">Loading widget...</div>\n          <script>\n            function sendHeight() {\n              window.parent.postMessage({ height: document.body.scrollHeight }, '*')\n            }\n            new ResizeObserver(sendHeight).observe(document.body)\n\n            function initWidget() {\n              if (window.StorepointWidget) {\n                try {\n                  new window.StorepointWidget(\"167a130b773562\", \"#storepoint-widget\", {})\n                  setTimeout(sendHeight, 500)\n                } catch (error) {\n                  console.error(\"Error initializing widget:\", error)\n                }\n              } else {\n                setTimeout(initWidget, 500)\n              }\n            }\n            const script = document.createElement(\"script\")\n            script.type = \"text/javascript\"\n            script.async = true\n            script.src = \"https://widget.storepoint.co/embed.js\"\n            script.onload = function() { setTimeout(initWidget, 100) }\n            document.head.appendChild(script)\n          </script>\n        </body>\n      </html>\n    `;iframe.onload=()=>console.log(\"Iframe loaded\");iframe.srcdoc=iframeContent;},[]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @media (max-width: 768px) {\n                    .drop-off-wrapper {\n                        padding: 32px 0 !important;\n                    }\n                    .drop-off-title {\n                        font-size: 24px !important;\n                        line-height: 32px !important;\n                    }\n                    .drop-off-desc {\n                        font-size: 14px !important;\n                        line-height: 20px !important;\n                        margin-top: 25px !important;\n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"drop-off-wrapper\",style:{margin:\"0 auto\",display:\"flex\",width:\"100%\",maxWidth:\"1440px\",flexDirection:\"column\",padding:\"88px 0 88px 0\",minWidth:\"100%\"},children:[/*#__PURE__*/_jsx(\"h2\",{className:\"drop-off-title\",style:{paddingLeft:\"8px\",fontSize:\"40px\",fontWeight:\"bold\",marginBottom:\"0\"},children:\"Fanatics Collect Consignment Center\"}),/*#__PURE__*/_jsx(\"p\",{className:\"drop-off-desc\",style:{paddingLeft:\"8px\",fontSize:\"16px\",marginTop:\"16px\",marginBottom:\"0\",maxWidth:\"890px\"},children:\"Turn your collectibles into instant cash at any of our 200+ partner locations. Simply find a nearby participating shop, drop off your cards, and we'll walk you through the consignment process.\"}),/*#__PURE__*/_jsx(\"iframe\",{ref:iframeRef,style:{width:\"100%\",height:\"600px\",border:\"none\",marginTop:\"48px\",borderRadius:\"8px\",backgroundColor:\"white\"},title:\"Storepoint Widget\"})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DropOffPage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Map_Fanatics.map"],"mappings":"qJAAmH,SAAwB,GAAa,CAAC,IAAM,EAAUA,EAAO,KAAK,CA+C9F,OA/C+F,MAAc,CAAC,IAAM,EAAc,GAAG,CAAI,EAAE,MAAM,QAAQ,EAAU,UAAS,EAAU,QAAQ,MAAM,OAAO,EAAE,KAAK,OAAO,OAAyD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