PageSourceSearch

https://opensnow.com/_nuxt/CPRcFi272.js

js opensnow.com collected 2026-10-01 10:32:19 UTC 5,545 bytes, 12 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`f764f49567e6b0ecf4d75f5cc38e95bb992eec2e`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4dde95f3-a42d-47b5-b7ce-c313b5cf1a65`,e._sentryDebugIdIdentifier=`sentry-dbid-4dde95f3-a42d-47b5-b7ce-c313b5cf1a65`)}catch{}})();import{B as e,Et as t,F as n,I as r,M as i,N as a,P as o,a as s,bn as c,st as l,z as u}from"./5pVCgjj7.js";import{d}from"./DOGB-Kuy.js";import{$ as f}from"./CsmHvC2J.js";import{t as p}from"./D9U5A0b2.js";import{t as m}from"./COv1ICvm.js";import{t as h}from"./Bc-CUMQn.js";import{n as g,t as _}from"./BhndQMzZ.js";import{n as v}from"./g00yzqNz.js";import{t as y}from"./AF8naQfy2.js";import{A as b,u as x}from"./BRmEqdhK.js";import{t as S}from"./CHzGr4oT.js";import{t as C}from"./btXTSSUZ2.js";import{n as w}from"./Deo1dljX2.js";import{n as T}from"./dniiIFW62.js";var E={},D={__name:`EnterEmailCard`,props:{cardClassNames:{type:String,default:null},isFullHeight:{type:Boolean,default:!1}},setup(e,{expose:t}){t();let{$loading:n,$toast:r}=s(),{handleLinkClick:a}=S(),{inAppView:o}=m(),c=w(),l=d(),{defaultTrial:u}=x(),{isChangeEmailEnterEmailView:p,isLoginEnterEmailView:h,isForgotPasswordEnterEmailView:g,isRegisterEnterEmailView:y}=T(),b=i(()=>c.credentials.email),C=i(()=>c.promoCode),E=i(()=>p.value||y.value?`Next`:g.value?`Send Email`:`Log In`),D=i(()=>
1{if(g.value)return`Enter your email address and we'll send you a link to reset your password.`;if(p.value)return`We'll get started by sending you a quick email to confirm your address.`;if(y.value){if(C.value&&C.value.is_usable)return v([O.value,`We'll get started by sending you an email to confirm your address.`,`No password or credit card information required.`]);if(C.value&&!C.value.is_usable)return v([`${O.value} You can still create an account and receive a free trial.`,`We'll get started by sending you an email to confirm your address.`,`No password or credit card information required.`]);let{duration_message:e,trial_messages:t}=u.value;return t?.length?v(t):`${e} We'll get started by sending you a quick email to confirm your address.`}return C.value&&C.value.is_usable?`Welcome back! Enter your OpenSnow email address to start your <strong class="tw-font-medium">${C.value.code}</strong> Free Trial!`:C.value&&!C.value.is_usable?`${O.value} You can still log in. Enter your OpenSnow email address below to get started.`:`Welcome back! Enter your OpenSnow email address below to get started.`}),O=i(()=>C.value?.duration_message?C.value.duration_message:``),k={$loading:n,$toast:r,handleLinkClick:a,inAppView:o,loginStore:c,route:l,defaultTrial:u,isChangeEmailEnterEmailView:p,isLoginEnterEmailView:h,isForgotPasswordEnterEmailView:g,isRegisterEnterEmailView:y,email:b,promoCode:C,buttonText:E,leadText:D,promoCodeDurationMessage:O,handleFormSubmit:async()=>{let e=e=>{let{message:t}=f(e);r.open({dismissible:!0,duration:5e3,message:t,type:`error`})},{return_to:t}=l.query,i={return_to:t};n.start();try{if(h.value)await c.makeLoginRequest(i);else if(g.value)await c.makePasswordLinkRequest(i);else if(p.value||y.value){let e;if(p.value?e=await c.makeSettingsEmailLinkRequest():y.value&&(e=await c.makeRegisterLinkRequest(i)),!e)throw Error(`Unable to send email!`)}}catch(t){e(t)}n.finish()},handleUpdateEmail:e=>c.setCredentials({email:e}),ButtonTypes:_,get parseOpenMountainApiError(){return f},get formatLeadMessages(){return v},get useDefaultTrial(){return x},get useExternalLinkViewer(){return S},get useInAppView(){return m},get useLoginView(){return T},get useLoginStore(){return w}};return Object.defineProperty(k,`__isScriptSetup`,{enumerable:!1,value:!0}),k}},O=[`innerHTML`],k={key:0,class:`tw-mt-4 tw-text-sm`},A={key:1,class:`tw-mt-4 tw-text-sm tw-text-center`};function j(i,s,d,f,m,h){let _=C,v=g,x=b,S=p,w=y;return l(),o(w,{"card-class-names":d.cardClassNames,"has-body-padding-responsive":!0,"is-full-height":d.isFullHeight},{body:t(()=>[a(`p`,{class:`tw-mb-2.5`,innerHTML:f.leadText},null,8,O),s[5]||=u(),e(x,{onSubmit:f.handleFormSubmit},{default:t(({meta:n})=>[e(_,{label:`Email Address`,"can-trim-value":!0,"model-value":f.email,"full-width":!0,name:`email`,type:`text`,required:!0,rules:`email`,"onUpdate:modelValue":f.handleUpdateEmail},null,8,[`model-value`]),s[0]||=u(),e(v,{class:`tw-w-full tw-mt-4`,disabled:!n.valid||!f.email,"display-block":!0,type:f.ButtonTypes.primary},{default:t(()=>[u(c(f.buttonText),1)]),_:1},8,[`disabled`,`type`])]),_:1}),s[6]||=u(),f.isRegisterEnterEmailView?(l(),r(`p`,k,[s[3]||=u(`
2        By signing up you agree to our
3        `,-1),e(S,{class:`link-color-brand`,href:`https://support.opensnow.com/legal/terms`,target:`_blank`,onClick:f.handleLinkClick},{default:t(()=>[...s[1]||=[u(`
4          Terms of Use
5        `,-1)]]),_:1},8,[`onClick`]),s[4]||=u(`
6        and
7        `,-1),e(S,{class:`link-color-brand`,href:`https://support.opensnow.com/legal/privacy`,target:`_blank`,onClick:f.handleLinkClick},{default:t(()=>[...s[2]||=[u(`
8          Privacy Policy`,-1)]]),_:1},8,[`onClick`]),u(`. This `+c(f.inAppView?`app`:`site`)+` is protected by reCAPTCHA.
9      `,1)])):f.isForgotPasswordEnterEmailView?(l(),r(`p`,A,`
10        This `+c(f.inAppView?`app`:`site`)+` is protected by reCAPTCHA.
11      `,1)):n(``,!0)]),_:1},8,[`card-class-names`,`is-full-height`])}var M=h(D,[[`render`,j],[`__cssModules`,{$style:E}],[`__file`,`EnterEmailCard.vue`]]);export{M as t};
12//# sourceMappingURL=CPRcFi272.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.