PageSourceSearch

https://app.enter.global/_nuxt/BwEsAdU4.js

js enter.global collected 2026-10-08 00:05:31 UTC 5,796 bytes, 1 lines download raw bytes

1import{_ as A}from"./CYuVgwM3.js";import{_ as I}from"./B5aWY0sm.js";import{_ as z}from"./DaOTlgie.js";import{_ as D}from"./SM0CN_Hj.js";import{u as F,_ as W}from"./Bys-91TA.js";import{_ as Y}from"./_M_14vce.js";import{_ as G}from"./CrF4EVRw.js";import{_ as H}from"./DojNw1KT.js";import{ab as $,b3 as L,I as J,aM as i,aN as b,aO as f,ar as c,aj as e,a$ as r,b1 as w,A as K,j as Q,C as X,aS as C,bg as Z,ba as ee,r as x,F as oe,q as te,b6 as ne}from"./DX5IrJE8.js";import{u as ae}from"./-PKRe3H1.js";import{o as O,b as se,s as V}from"./DJSYT5bL.js";import{_ as re,u as le}from"./BXr7re2j.js";import{a as ie}from"./CDhpvubQ.js";import"./N-h_l4w1.js";import"./CVYtmu3o.js";import"./BgqionAD.js";import"./BmvLf9dU.js";import"./CGPlDJUS.js";import"./DLSseKhZ.js";import"./DlAUqK2U.js";import"./CNWqYvyz.js";import"./Byb_8RP1.js";import"./D7u7WELU.js";import"./B9Kav3xX.js";import"./CkXifDJ0.js";import"./8MJ-Jnzm.js";import"./Brf_dPYo.js";import"./CiCrB3ZN.js";import"./DsovQ8IZ.js";import"./CrKqPNz2.js";import"./BYRMKdkV.js";import"./DUFNNmei.js";import"./DvGRbduZ.js";import"./CEhS4GiW.js";const ce={class:"text-muted mt-7 text-center text-sm font-medium"},pe=["href"],me=["href"],ue=$({__name:"SignUp",props:{loading:{type:Boolean,default:!1},backendError:{type:Object,default:null}},emits:["submit"],setup(y,{emit:o}){const p=y,m=o,u=K(),{handleBackendErrors:_}=ae(),d=L("stepsMain"),h=O({email:V({required_error:"Please enter your email"}).email("Invalid email"),password:O({value:V(),isValid:se()}).nullable().refine(n=>n?.isValid===!0,{message:"Password is required"})}),l=Q({email:"",password:null});function k(n){m("submit",{email:n.data.email,password:n.data.password?.value})}return J(()=>p.backendError,n=>{n&&_(n,d,{scroll:!1})}),(n,t)=>{const v=Y,T=G,S=H;return i(),b(S,{ref_key:"stepsMain",ref:d,"custom-loading":y.loading,schema:e(h),state:e(l),"button-text":"Continue",text:"Your journey with us begins here!",title:"Sign up",onSubmit:k},{"after-form":f(()=>[r("p",ce,[t[2]||(t[2]=w(" By proceeding, you accept the ",-1)),r("a",{href:`${e(u).public.landingUrl}legal/terms-and-conditions`,class:"text-primary",target:"_blank"},"Terms and Conditions",8,pe),t[3]||(t[3]=w(" and understand how we handle your data in the ",-1)),r("a",{href:`${e(u).public.landingUrl}legal/privacy-policy`,class:"text-primary",target:"_blank"},"Privacy Policy",8,me),t[4]||(t[4]=w(". ",-1))])]),default:f(()=>[c(v,{modelValue:e(l).email,"onUpdate:modelValue":t[0]||(t[0]=g=>e(l).email=g),class:"mb-7",label:"Email",name:"email",placeholder:"[email protected]",type:"email"},null,8,["modelValue"]),c(T,{modelValue:e(l).password,"onUpdate:modelValue":t[1]||(t[1]=g=>e(l).password=g),class:"mb-7",label:"Password",name:"password","pass-word-generation":""},null,8,["modelValue"])]),_:1},8,["custom-loading","schema","state"])}}}),_e=Object.assign(ue,{__name:"MOnboardingPersonalStepsSignUp"}),de={class:"mx-auto flex min-h-dvh max-w-[1440px] p-4 md:p-6"},ge={class:"flex grow flex-col items-center lg:px-20 lg:pt-6"},fe={key:2,class:"flex w-full max-w-[480px] flex-col gap-9 text-center"},xe=$({__name:"Start",setup(y){const o=x("type"),p=x(null),m=x(""),u=x(null),_=x(null),{loading:d,signUp:h,setType:l}=F(),{$getTrackingCookies:k}=X(),{trackEvent:n}=le(),t=ie(),v=oe(()=>o.value==="sign-up");function T(s){p.value=s,o.value="sign-up"}function S(){_.value=null,o.value="type"}function g(s){return p.value?l(s,p.value).then(()=>
1{te(`/onboarding/personal/${s}`)}).catch(()=>{o.value="retry",t.add({title:"We could not save your choice. Please try again.",color:"error",progress:!1})}):(o.value="type",Promise.resolve())}function B(){u.value&&g(u.value)}function P(s){return m.value=s.email,_.value=null,h({...s,utm:k()}).then(a=>(u.value=a.id,n("onboarding_start"),g(a.id))).catch(a=>{if(a.statusCode===409){o.value="resend";return}_.value=a})}return(s,a)=>{const U=A,E=I,j=z,N=D,M=W,R=_e,q=re;return i(),C("div",{class:ee({"bg-linear-to-t from-yellow-50 via-blue-200 to-blue-200":e(o)==="type"})},[r("div",de,[r("div",ge,[c(N,null,Z({_:2},[e(v)?{name:"left",fn:f(()=>[c(E,{block:!1,disabled:e(d),"aria-label":"Back",preset:"secondary-inverted",onClick:S},{default:f(()=>[c(U,{class:"size-5",name:"i-material-symbols-arrow-back-rounded"})]),_:1},8,["disabled"])]),key:"0"}:void 0,e(v)?{name:"center",fn:f(()=>[c(j,{alt:"Logo",class:"h-[13.3px] w-12 lg:h-[18px] lg:w-[65px]",src:"/images/svg/logo/main.svg"})]),key:"1"}:void 0]),1024),e(o)==="type"?(i(),b(M,{key:0,class:"w-full max-w-[480px]",onSelect:T})):e(o)==="sign-up"?(i(),b(R,{key:1,"backend-error":e(_),loading:e(d),class:"w-full max-w-[480px]",onSubmit:P},null,8,["backend-error","loading"])):e(o)==="retry"?(i(),C("div",fe,[a[1]||(a[1]=r("div",{class:"flex flex-col gap-3.5"},[r("h2",{class:"text-highlighted text-2xl font-semibold lg:text-3xl"},"We could not save your choice"),r("p",{class:"text-muted text-sm font-medium"},"Your account is ready. Try again to continue with your application.")],-1)),c(E,{loading:e(d),onClick:B},{default:f(()=>[...a[0]||(a[0]=[w("Try again",-1)])]),_:1},8,["loading"])])):(i(),b(q,{key:3,email:e(m),class:"w-full max-w-[480px]"},null,8,["email"]))])])],2)}}}),be=Object.assign(xe,{__name:"OOnboardingPersonalStart"}),Ze=$({__name:"index",setup(y){return ne({title:"Open a personal account",description:"Sign up with ENTER to open a personal account or to get role-based access to your company’s existing account.",ogTitle:"Open a personal account",ogDescription:"Sign up with ENTER to open a personal account or to get role-based access to your company’s existing account.",twitterTitle:"Open a personal account",twitterDescription:"Sign up with ENTER to open a personal account or to get role-based access to your company’s existing account."}),(o,p)=>{const m=be;return i(),b(m)}}});export{Ze as default};

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.