{"version":3,"file":"ConnectDialog.CzGClapy.mjs","names":[],"sources":["https:/framerusercontent.com/modules/RfA0VM6BpKkI455BAARa/KJkez6kQBjKTq6twp7qj/ConnectDialog.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";/*\nfunction connectHideAll() {\n    if (typeof bootstrap !== \"undefined\") {\n        for (let dialog of document.querySelectorAll(\"#dialog-connect\")) {\n            let modal = bootstrap.Modal.getOrCreateInstance(dialog, {})\n            modal.hide()\n        }\n    }\n}\n*//**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ConnectDialog(props){// This is a React component containing an Example component\n// Replace <Example /> with your own code\nuseEffect(function(){// connectHideAll()\nlet script=document.createElement(\"script\");script.src=\"https://bringyour.com/lib-ur/connect.js\";script.async=true;document.body.appendChild(script);let link=document.createElement(\"link\");link.rel=\"stylesheet\";link.href=\"https://bringyour.com/res/css-ur/connect.css\";document.body.appendChild(link);return()=>{document.body.removeChild(script);document.body.removeChild(link);// connectHideAll()\n// if (window.connectAppleIDSignInOnSuccess) {\n//     document.removeEventListener(\n//         \"AppleIDSignInOnSuccess\",\n//         window.connectAppleIDSignInOnSuccess\n//     )\n//     window.connectAppleIDSignInOnSuccess = null\n// }\n// if (window.connectAppleIDSignInOnFailure) {\n//     document.removeEventListener(\n//         \"AppleIDSignInOnFailure\",\n//         window.connectAppleIDSignInOnFailure\n//     )\n//     window.connectAppleIDSignInOnFailure = null\n// }\n};},[]);return /*#__PURE__*/_jsx(\"div\",{className:\"modal fade\",id:\"dialog-connect\",tabIndex:-1,\"aria-labelledby\":\"dialog-connect\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"div\",{className:\"modal-dialog\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"modal-content\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"modal-header\",children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"btn-close\",\"data-bs-dismiss\":\"modal\",\"aria-label\":\"Close\"})}),/*#__PURE__*/_jsx(\"div\",{className:\"modal-body\",children:/*#__PURE__*/_jsx(\"div\",{className:\"dialog\",id:\"dialog-connect-mount\",children:\"Loading\"})})]})})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ConnectDialog\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ConnectDialog.map"],"mappings":"yHAiBG,SAAwB,EAAc,EAAM,CAkBvC,OAhBR,EAAU,UAAU,CACpB,IAAI,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,0CAA0C,EAAO,MAAM,GAAK,SAAS,KAAK,YAAY,EAAO,CAAC,IAAI,EAAK,SAAS,cAAc,OAAO,CAAgH,MAA/G,GAAK,IAAI,aAAa,EAAK,KAAK,+CAA+C,SAAS,KAAK,YAAY,EAAK,KAAW,CAAC,SAAS,KAAK,YAAY,EAAO,CAAC,SAAS,KAAK,YAAY,EAAK,GAepX,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,UAAU,aAAa,GAAG,iBAAiB,SAAS,GAAG,kBAAkB,iBAAiB,cAAc,OAAO,SAAsB,EAAK,MAAM,CAAC,UAAU,eAAe,SAAsB,EAAM,MAAM,CAAC,UAAU,gBAAgB,SAAS,CAAc,EAAK,MAAM,CAAC,UAAU,eAAe,SAAsB,EAAK,SAAS,CAAC,KAAK,SAAS,UAAU,YAAY,kBAAkB,QAAQ,aAAa,QAAQ,CAAC,CAAC,CAAC,CAAc,EAAK,MAAM,CAAC,UAAU,aAAa,SAAsB,EAAK,MAAM,CAAC,UAAU,SAAS,GAAG,uBAAuB,SAAS,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,kBAjC1iB,IAA6B"}