{"version":3,"file":"SignUpHandler.BcNmvLH2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/kuPqku4gdR6BdKXUUvmH/cp41kUinU5Dgo0JLi0I1/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 stagingSignUpUrl=\"https://www.staging.luno.com/signup\";const stagingSignUpNgUrl=\"https://www.staging.luno.com.ng/signup\";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;}window.open(stagingSignUpUrl,\"_blank\",\"noreferrer\");return;}if(isNigeria()){window.open(prodSignUpNgUrl,\"_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\");}\nexport const __FramerMetadata__ = {\"exports\":{\"signUpButton\":{\"type\":\"reactHoc\",\"name\":\"signUpButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignUpHandler.map"],"mappings":"kKAAmR,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,EAAO,KAAK,EAAiB,SAAS,aAAa,CAAC,OAAQ,GAAG,GAAW,CAAC,CAAC,EAAO,KAAK,EAAgB,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,8BAA/jC,CAAM,EAAc,8BAAoC,EAAgB,iCAAuC,EAAiB,sCAA4C,EAAmB"}