1import{o as t}from"./chunk-94642797-1-81-19.js";import{t as e}from"./chunk-108386687-1-81-19.js";import{B as s,H as a,J as n,Y as o}from"./chunk-1031111719-1-81-19.js";import"./chunk-1124795404-1-81-19.js";import{n as r,r as c}from"./chunk-1117061659-1-81-19.js";import{n as i}from"./chunk-3710-1-81-19.js";import"./chunk-3598564-1-81-19.js";import"./chunk-1354792126-1-81-19.js";import"./chunk-780346297-1-81-19.js";import{t as l}from"./chunk-1440818477-1-81-19.js";import{t as m}from"./chunk-210942028-1-81-19.js";import"./chunk-107141-1-81-19.js";import{a as p,c as h,i as d,n as u,s as x,t as f}from"./chunk-635274136-1-81-19.js";import{t as k}from"./chunk-100029210-1-81-19.js";var j=t(e());const ModalHeader=({onClose:t,logo:e,showCloseButton:s=!0})=>{const n=a(),o=(0,j.useCallback)(()=>{t?t():h(n)},[n,t]);return c("div",{className:"flex h-[24px] w-full items-center justify-between px-[24px]",children:[r("div",{className:"h-[22px] w-[129px]",children:r("img",{src:e,alt:"Inkarnate Logo",width:129,height:22})}),s&&r("button",{onClick:o,className:"opacity-75 transition-all duration-100 hover:opacity-100",children:r(k,{})})]})};var NoAccountModalInner=()=>{const t=s().pathname,[e,a]=(0,j.useState)(!1),[o]=n(),h=o.get("email"),k=h?`"${h}"`:"that address",g=o.get("provider");return r(x,{isOpen:"/noaccount"===t,children:c("div",{className:"flex w-full flex-col items-center py-[24px]",children:[r(ModalHeader,{logo:"/landing/inkarnate-logo.svg"}),c(f,{className:"pt-[32px]",children:[r("div",{className:"text-center text-[24px] font-bold",children:"Log In Failed!"}),c("div",{className:"mt-[8px] text-left text-[16px] text-[#DDDDDD] md:mt-[16px]",children:["There is no account registred under ",k,"."]})]}),r(f,{children:r("div",{className:"mt-[8px] text-left text-[16px] text-[#DDDDDD] md:mt-[16px]",children:"Would you like to create one now?"})}),r(f,{className:"pt-[32px]",children:r(m,{type:"button",onClick:i(async()=>{a(!0);try{const t=d();t&&g&&await p(t,g),window.location.href=l("/maps",new URLSearchParams(window.location.search))}finally{u(),a(!1)}}),className:"h-[48px] w-full text-[18px] font-semibold",disabled:e,loading:e,children:"Get Started for Free"})})]})})};const NoAccountModal=()=>r(j.Suspense,{children:r(NoAccountModalInner,{})});var g=o(function NoAccountPage(){return r(NoAccountModal,{})});export{g as default}; 2//# sourceMappingURL=noaccount-C9YacIYH.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.