{"version":3,"file":"SignUpHandler.CsjvZYKm.mjs","names":[],"sources":["https:/framerusercontent.com/modules/kuPqku4gdR6BdKXUUvmH/7kTG5KXRLcJpPdm6NIKU/SignUpHandler.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const prodSignUpUrl=\"https://www.luno.com/signup\";const prodSignUpNgUrl=\"https://www.luno.com.ng/signup\";const prodSignUpInstitutionalUrl=\"https://www.luno.com/en/signup/business/email\";const stagingSignUpUrl=\"https://www.staging.luno.com/signup\";const stagingSignUpNgUrl=\"https://www.staging.luno.com.ng/signup\";const stagingSignUpInstitutionalUrl=\"https://www.staging.luno.com/en/signup/business/email\";export function signUpButton(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>signUp()});};}function signUp(){if(isStaging()){if(isNigeria()){window.open(stagingSignUpNgUrl,\"_blank\",\"noreferrer\");return;}if(isInstitutional()){window.open(stagingSignUpInstitutionalUrl,\"_blank\",\"noreferrer\");return;}window.open(stagingSignUpUrl,\"_blank\",\"noreferrer\");return;}if(isNigeria()){window.open(prodSignUpNgUrl,\"_blank\",\"noreferrer\");return;}if(isInstitutional()){window.open(prodSignUpInstitutionalUrl,\"_blank\",\"noreferrer\");return;}window.open(prodSignUpUrl,\"_blank\",\"noreferrer\");}function isStaging(){return window.location.hostname.startsWith(\"staging.luno.com\")||window.location.hostname.startsWith(\"www.staging.luno.com\")||window.location.hostname.startsWith(\"strategic-flexibility-636644.framer.app\");}function isNigeria(){return window.location.hostname.startsWith(\"www.luno.com.ng\")||window.location.hostname.startsWith(\"staging.luno.com.ng\")||window.location.hostname.startsWith(\"www.staging.luno.com.ng\");}function isInstitutional(){return window.location.pathname.includes(\"/institutional\");}\nexport const __FramerMetadata__ = {\"exports\":{\"signUpButton\":{\"type\":\"reactHoc\",\"name\":\"signUpButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignUpHandler.map"],"mappings":"kHAAgc,SAAgB,EAAa,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,YAAY,GAAQ,CAAC,CAAC,CAAI,SAAS,GAAQ,CAAC,GAAG,GAAW,CAAC,CAAC,GAAG,GAAW,CAAC,CAAC,EAAO,KAAK,EAAmB,SAAS,aAAa,CAAC,OAAQ,GAAG,GAAiB,CAAC,CAAC,EAAO,KAAK,EAA8B,SAAS,aAAa,CAAC,OAAQ,EAAO,KAAK,EAAiB,SAAS,aAAa,CAAC,OAAQ,GAAG,GAAW,CAAC,CAAC,EAAO,KAAK,EAAgB,SAAS,aAAa,CAAC,OAAQ,GAAG,GAAiB,CAAC,CAAC,EAAO,KAAK,EAA2B,SAAS,aAAa,CAAC,OAAQ,EAAO,KAAK,EAAc,SAAS,aAAa,CAAE,SAAS,GAAW,CAAC,OAAO,EAAO,SAAS,SAAS,WAAW,mBAAmB,EAAE,EAAO,SAAS,SAAS,WAAW,uBAAuB,EAAE,EAAO,SAAS,SAAS,WAAW,0CAA0C,CAAE,SAAS,GAAW,CAAC,OAAO,EAAO,SAAS,SAAS,WAAW,kBAAkB,EAAE,EAAO,SAAS,SAAS,WAAW,sBAAsB,EAAE,EAAO,SAAS,SAAS,WAAW,0BAA0B,CAAE,SAAS,GAAiB,CAAC,OAAO,EAAO,SAAS,SAAS,SAAS,iBAAiB,kCAA9/C,CAAM,EAAc,8BAAoC,EAAgB,iCAAuC,EAA2B,gDAAsD,EAAiB,sCAA4C,EAAmB,yCAA+C,EAA8B"}