PageSourceSearch

https://basicrouter.ai/assets/AuthDialog-BdC-GHL4.js

js basicrouter.ai collected 2026-10-05 14:06:02 UTC 19,782 bytes, 1 lines download raw bytes

1var e=Object.defineProperty,a=Object.defineProperties,l=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,s=(a,l,i)=>l in a?e(a,l,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[l]=i,t=(e,a)=>{for(var l in a||(a={}))n.call(a,l)&&s(e,l,a[l]);if(i)for(var l of i(a))r.call(a,l)&&s(e,l,a[l]);return e},o=(e,i)=>a(e,l(i)),d=(e,a,l)=>new Promise((i,n)=>{var r=e=>{try{t(l.next(e))}catch(a){n(a)}},s=e=>{try{t(l.throw(e))}catch(a){n(a)}},t=e=>e.done?i(e.value):Promise.resolve(e.value).then(r,s);t((l=l.apply(e,a)).next())});import{_ as u,T as c,c as g,b as m}from"./biz-ui-lazy--9jeKMe4.js";import{d as p,D as v,a3 as h,s as f,O as w,S as y,W as b,$ as k,T as C,P as x,r as _,a2 as U,Y as A,a1 as V,Z as P,R as T,e as S,H as R,a6 as I,af as E,ad as q,V as z,a0 as M}from"./vendor-vue-NHlJFq9T.js";import{F as L,G as O,m as F,y as j,k as N,g as B,E as D,c as K}from"./vendor-element-DepSN0jF.js";import{E as W,aI as $,I as G,u as H,aJ as J,aK as Q,aL as Y,y as Z,b1 as X,aM as ee,aN as ae,aO as le}from"./biz-core-D2AEt9nQ.js";import"./biz-core-lazy-DhZeVrRT.js";import"./vendor-echarts-BjKy27QR.js";import"./vendor-crypto-BHhfxas9.js";const ie={class:"auth-header"},ne={key:0,class:"auth-back-header"},re={class:"auth-title-forgot"},se={key:1,class:"auth-subtitle"},te={key:0,class:"auth-welcome-text"},oe={key:1,class:"auth-welcome-text"},de={class:"auth-body"},ue={class:"agreement-text"},ce={class:"auth-form-actions"},ge={class:"forgot-password-row"},me={class:"mt-2"},pe={class:"my-3 flex items-center gap-3 text-xs text-gray-400"},ve={class:"auth-footer"},he={class:"verify-code-wrapper"},fe={class:"countdown-text"},we={class:"resend-link"},ye={key:0,class:"code-hint"},be={class:"agreement-text"},ke={class:"auth-form-actions"},Ce={class:"auth-footer"},xe={class:"verify-code-wrapper"},_e={class:"countdown-text"},Ue={class:"resend-link"},Ae={class:"auth-form-actions"},Ve=m(p(o(t({},{name:"AuthDialog"}),{__name:"AuthDialog",props:{redirectAfterLogin:{default:null}},emits:["logged-in","closed"],setup(e,{expose:a,emit:l}){const i=e,n=l,{t:r}=v(),s=h(),m=W(),p=$(G.USER),Ve=_(!1),Pe=H(),{resolvedSiteBrandName:Te}=f(Pe),Se=Te,Re=_(!1);let Ie=!1;const Ee=_("register"),qe=_(!1),ze=_(!1),Me=_(""),Le=_(null),Oe=_(!1),Fe=_(!1),je=_(0);let Ne=null;const Be=_(!1),De=_(!1),Ke=_(0);let We=null;const $e=_(),Ge=_(),He=_(),Je=R({username:"",password:"",agreedToUserAgreement:!0}),Qe=R({email:"",password:"",verificationCode:"",invitationCode:"",agreedToUserAgreement:!0}),Ye=R({email:"",verificationCode:"",newPassword:"",verifyId:""}),Ze=S(()=>({username:[{required:!0,message:r("landing.auth.validation.emailRequired"),trigger:"blur"}],password:[{required:!0,message:r("landing.auth.validation.passwordRequired"),trigger:"blur"}],agreedToUserAgreement:[{validator:(e,a,l)=>{a?l():l(new Error(r("landing.auth.validation.userAgreementRequired")))},trigger:"change"}]})),Xe=S(()=>({email:[{required:!0,message:r("landing.auth.validation.emailRequired"),trigger:"blur"},{type:"email",message:r("landing.auth.validation.invalidEmail"),trigger:"blur"}],password:[{required:!0,message:r("landing.auth.validation.passwordRequired"),trigger:"blur"},{min:6,message:r("landing.auth.validation.passwordMin"),trigger:"blur"}],verificationCode:[{required:!0,message:r("landing.auth.validation.codeRequired"),trigger:"blur"}],invitationCode:[{validator:(e,a,l)=>{!Fe.value||a?l():l(new Error(r("landing.auth.validation.invitationRequired")))},trigger:"blur"}],agreedToUserAgreement:[{validator:(e,a,l)=>{a?l():l(new Error(r("landing.auth.validation.userAgreementRequired")))},trigger:"change"}]})),ea=S(()=>({email:[{required:!0,message:r("landing.auth.validation.emailRequired"),trigger:"blur"},{type:"email",message:r("landing.auth.validation.invalidEmail"),trigger:"blur"}],verificationCode:[{required:!0,message:r("landing.auth.validation.resetCodeRequired"),trigger:"blur"}],newPassword:[{required:!0,message:r("landing.auth.validation.newPasswordRequired"),trigger:"blur"},{min:6,message:r("landing.auth.validation.newPasswordMin"),trigger:"blur"}]}));function aa(e){Me.value=e}function la(){Me.value="",D.warning(r("landing.auth.messages.turnstileExpired")||"验证已过期,请重新完成验证")}function ia(e){Ee.value=e,Me.value=""}function na(){s.push("/privacy")}function ra(){s.push("/terms")}function sa(){Je.username="",Je.password="",Je.agreedToUserAgreement=!0,Qe.email="",Qe.password="",Qe.verificationCode="",Qe.invitationCode="",Qe.agreedToUserAgreement=!0,Ye.email="",Ye.verificationCode="",Ye.newPassword="",Ye.verifyId="",Me.value="",je.value=0,Ke.value=0,Ne&&(clearInterval(Ne),Ne=null),We&&(clearInterval(We),We=null),Ie?Ie=!1:n("closed")}function ta(e){return`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`}function oa(){return d(this,null,function*(){if(Qe.email){if(!(je.value>0))try{Oe.value=!0,Ne&&(clearInterval(Ne),Ne=null),je.value=0;200===(yield Q({email:Qe.email})).code&&(je.value=30,Ne=setInterval(()=>{je.value--,je.value<=0&&(clearInterval(Ne),Ne=null)},1e3),D({type:"success",message:r("landing.auth.messages.codeSentDetail"),duration:5e3}))}finally{Oe.value=!1}}else D.warning(r("landing.auth.messages.enterEmailFirst"))})}function da(){return d(this,null,function*(){var e,a,l,d;if($e.value)try{yield $e.value.validate(),qe.value=!0;const{data:d}=yield Y({email:Je.username,password:Je.password,agreedToUserAgreement:Je.agreedToUserAgreement,turnstileToken:Me.value||void 0});if(!(null==d?void 0:d.token))throw new Error(r("landing.auth.messages.loginFailed"));const u=["R_USER",...Array.isArray(d.roles)?d.roles:[]],c=null!=(e=d.user)?e:{};m.setCurrentSubsystem(G.USER),p.setToken(d.token),p.setLoginStatus(!0),p.setUserInfo(o(t(t({}
1,d),c),{roles:u,email:c.email||d.email||Je.username,userName:c.userName||d.userName||c.email||d.email||Je.username,whitelistFlag:null!=(l=null!=(a=c.whitelistFlag)?a:d.whitelistFlag)&&l})),Z().initAfterLogin(d.currentSpace),Ie=!0,Re.value=!1,(null==d?void 0:d.kickedPreviousSession)?D.info(r("httpMsg.loginKickedOther")):D.success(r("landing.auth.messages.loginSuccess")),i.redirectAfterLogin?s.push(i.redirectAfterLogin):n("logged-in")}catch(u){const e=(null==u?void 0:u.message)||"";null==(d=Le.value)||d.reset(),Me.value="",e.toLowerCase().includes("user does not exist")||e.includes("用户不存在")?(Qe.email=Je.username,ia("register")):e.toLowerCase().includes("internal server error")||e.includes("服务器内部错误")?D.error(r("landing.auth.messages.serviceTemporarilyUnavailable")):e.toLowerCase().includes("turnstile")||e.includes("人机验证")?D.error(e||r("landing.auth.messages.turnstileFailed")||"人机验证失败,请重新完成验证"):e&&D.error(e)}finally{qe.value=!1}})}function ua(e){return d(this,null,function*(){var a,l;try{qe.value=!0;const{data:l}=yield X(e);if(!(null==l?void 0:l.token))throw new Error(r("landing.auth.messages.loginFailed"));const d=["R_USER",...Array.isArray(l.roles)?l.roles:[]];m.setCurrentSubsystem(G.USER),p.setToken(l.token),p.setLoginStatus(!0),p.setUserInfo(o(t({},l),{roles:d,email:l.email,userName:l.username||l.email,whitelistFlag:null!=(a=l.whitelistFlag)&&a})),Z().initAfterLogin(l.currentSpace),Ie=!0,Re.value=!1,D.success(r("landing.auth.messages.loginSuccess")),i.redirectAfterLogin?s.push(i.redirectAfterLogin):n("logged-in")}catch(d){if("MANAGEMENT_ACCOUNT"===(null==(l=null==d?void 0:d.data)?void 0:l.reason))return void K.confirm(r("landing.auth.googleManagementBlocked.content"),r("landing.auth.googleManagementBlocked.title"),{confirmButtonText:r("landing.auth.googleManagementBlocked.goPortal"),cancelButtonText:r("landing.auth.googleManagementBlocked.cancel"),type:"warning",customClass:"auth-google-blocked-box"}).then(()=>{window.open(function(){const e=window.location.hostname;return e.includes("aitokenking")?e.startsWith("test")?"https://testportal.aitokenking.com.tw":"https://portal.aitokenking.com.tw":e.includes("basicrouter.ai")?"https://portal.basicrouter.ai":"test.midwayflow.ai"===e?"https://testportal.midwayflow.ai":"https://portal.midwayflow.ai"}(),"_blank","noopener")}).catch(()=>{});const e=(null==d?void 0:d.message)||"";e&&D.error(e)}finally{qe.value=!1}})}function ca(){return d(this,null,function*(){var e;if(Ge.value)try{yield Ge.value.validate(),ze.value=!0;200===(yield ee({email:Qe.email,password:Qe.password,verificationCode:Qe.verificationCode,invitationCode:Qe.invitationCode||"",agreedToUserAgreement:Qe.agreedToUserAgreement,turnstileToken:Me.value||void 0})).code&&(D.success(r("landing.auth.messages.registerSuccess")),ia("login"),Qe.password="",Qe.verificationCode="",Qe.agreedToUserAgreement=!0,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"sign_up"}))}catch(a){const l=(null==a?void 0:a.message)||"";null==(e=Le.value)||e.reset(),Me.value="",l.toLowerCase().includes("turnstile")||l.includes("人机验证")?D.error(l||r("landing.auth.messages.turnstileFailed")||"人机验证失败,请重新完成验证"):l&&D.error(l)}finally{ze.value=!1}})}function ga(){return d(this,null,function*(){var e;if(Ye.email){if(!(Ke.value>0))try{De.value=!0,We&&(clearInterval(We),We=null),Ke.value=0;const a=yield ae({email:Ye.email});200===a.code&&(Ye.verifyId=(null==(e=a.data)?void 0:e.verifyId)||"",Ke.value=30,We=setInterval(()=>{Ke.value--,Ke.value<=0&&(clearInterval(We),We=null)},1e3),D({type:"success",message:r("landing.auth.messages.resetCodeSent"),duration:5e3}))}finally{De.value=!1}}else D.warning(r("landing.auth.messages.enterEmailForReset"))})}function ma(){return d(this,null,function*(){if(He.value)try{yield He.value.validate(),Be.value=!0;200===(yield le({email:Ye.email,verificationCode:Ye.verificationCode,newPassword:Ye.newPassword,verifyId:Ye.verifyId})).code&&(D.success(r("landing.auth.messages.resetSuccess")),Ye.email="",Ye.verificationCode="",Ye.newPassword="",Ye.verifyId="",Ke.value=0,We&&(clearInterval(We),We=null),ia("login"))}finally{Be.value=!1}})}return a({open:function(e="register",a){Ee.value=e,a&&(Qe.invitationCode=a),Re.value=!0,function(){d(this,null,function*(){var e;try{const a=yield J();Fe.value=Boolean(null==(e=null==a?void 0:a.data)?void 0:e.enabled)}catch(a){Fe.value=!1}})}()}}),(e,a)=>{const l=u;return y(),w(T(B),{modelValue:Re.value,"onUpdate:modelValue":a[19]||(a[19]=e=>Re.value=e),"show-close":!1,width:"480px","align-center":"",class:"landing-auth-dialog","destroy-on-close":"",onClosed:sa},{default:b(()=>[a[24]||(a[24]=k("div",{class:"auth-corner auth-corner--tl"},null,-1)),a[25]||(a[25]=k("div",{class:"auth-corner auth-corner--tr"},null,-1)),a[26]||(a[26]=k("div",{class:"auth-corner auth-corner--bl"},null,-1)),a[27]||(a[27]=k("div",{class:"auth-corner auth-corner--br"},null,-1)),k("div",ie,["forgot-password"===Ee.value?(y(),C("div",ne,[k("a",{href:"#",class:"auth-back-link",onClick:a[0]||(a[0]=U(e=>ia("login"),["prevent"]))},[A(l,{icon:"ri:arrow-left-line",class:"auth-back-icon"}),V(" "+P(T(r)("landing.auth.backToLogin")),1)]),k("h2",re,P(T(r)("landing.auth.forgotPasswordTitle")),1)])):x("",!0),"forgot-password"!==Ee.value?(y(),C("div",se,["login"===Ee.value?(y(),C("span",te,P(T(r)("landing.auth.welcome",{appName:T(Se)})),1)):(y(),C("span",oe,P(T(r)("landing.auth.signUpTitle")),1))])):x("",!0)]),a[28]||(a[28]=k("div",{class:"auth-divider-line"},null,-1)),k("div",de,["login"===Ee.value?(y(),w(T(L),{key:0,ref_key:"loginFormRef",ref:$e,model:Je,rules:Ze.value,"label-position":"top",class:"auth-form"},{default:b(()=>[A(T(O),{prop:"username",label:T(r)("landing.auth.labels.email")},{default:b(()=>[A(T(F),{modelValue:Je.username,"onUpdate:modelValue":a[1]||(a[1]=e=>Je.username=e),modelModifiers:{trim:!0},placeholder:T(r)("landing.auth.placeholders.email"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:mail-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),A(T(O),{prop:"password",label:T(r)("landing.auth.labels.password")},{default:b(()=>[A(T(F),{modelValue:Je.password,"onUpdate:modelValue":a[2]||(a[2]=e=>Je.password=e),modelModifiers:{trim:!0},type:"password",autocomplete:"off","show-password":"",placeholder:T(r)("landing.auth.placeholders.password"),size:"large",onKeyup:E(da,["enter"])},{prefix:b(()=>[A(l,{icon:"ri:lock-password-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),A(T(O),{prop:"agreedToUserAgreement",class:"agreement-form-item"},{default:b(()=>[A(T(j),{modelValue:Je.agreedToUserAgreement,"onUpdate:modelValue":a[3]||(a[3]=e=>Je.agreedToUserAgreement=e),class:"agreement-checkbox"},{default:b(()=>[k("span",ue,[V(P(T(r)("landing.auth.agreementPrefix"))+" ",1),k("a",{href:"#",class:"agreement-link",onClick:U(na,["stop","prevent"])},P(T(r)("landing.auth.privacyPolicy")),1),V(P(T(r)("landing.auth.agreementAnd")),1),k("a",{href:"#",class:"agreement-link",onClick:U(ra,["stop","prevent"])},P(T(r)("landing.auth.termsOfService")),1)])]),_:1},8,["modelValue"])]),_:1}),k("div",ce,[A(c,{ref_key:"turnstileRef",ref:Le,onSuccess:aa,onExpired:la},null,512),k("div",ge,[k("a",{href:"#",class:"forgot-password-link",onClick:a[4]||(a[4]=U(e=>ia("forgot-password"),["prevent"]))},P(T(r)("landing.auth.forgotPassword")),1)]),A(T(N),{type:"primary",class:"w-full auth-submit-btn",size:"large",loading:qe.value,onClick:da},{default:b(()=>[A(l,{icon:"ri:login-circle-line",class:"btn-icon"}),V(" "+P(T(r)("landing.auth.signIn")),1)]),_:1},8,["loading"])]),I(k("div",me,[k("div",pe,[a[20]||(a[20]=k("span",{class:"h-px flex-1 bg-gray-200"},null,-1)),k("span",null,P(T(r)("landing.auth.orContinueWith")),1),a[21]||(a[21]=k("span",{class:"h-px flex-1 bg-gray-200"},null,-1))]),A(g,{onSuccess:ua,onReady:a[5]||(a[5]=e=>Ve.value=!0),onUnavailable:a[6]||(a[6]=e=>Ve.value=!1)})],512),[[q,Ve.value]]),k("div",ve,[V(P(T(r)("landing.auth.noAccount"))+" ",1),k("a",{href:"#",onClick:a[7]||(a[7]=U(e=>ia("register"),["prevent"]))},P(T(r)("landing.auth.signUpNow")),1)])]),_:1},8,["model","rules"])):"register"===Ee.value?(y(),w(T(L),{key:1,ref_key:"registerFormRef",ref:Ge,model:Qe,rules:Xe.value,"label-position":"top",class:"auth-form"},{default:b(()=>[A(T(O),{prop:"email",label:T(r)("landing.auth.labels.email")},{default:b(()=>[A(T(F),{modelValue:Qe.email,"onUpdate:modelValue":a[8]||(a[8]=e=>Qe.email=e),modelModifiers:{trim:!0},placeholder:T(r)("landing.auth.placeholders.email"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:mail-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),A(T(O),{prop:"password",label:T(r)("landing.auth.labels.createPassword")},{default:b(()=>[A(T(F),{modelValue:Qe.password,"onUpdate:modelValue":a[9]||(a[9]=e=>Qe.password=e),modelModifiers:{trim:!0},type:"password",autocomplete:"off","show-password":"",placeholder:T(r)("landing.auth.placeholders.createPassword"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:lock-password-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),A(T(O),{prop:"verificationCode",label:T(r)("landing.auth.labels.verificationCode")},{default:b(()=>[k("div",he,[A(T(F),{modelValue:Qe.verificationCode,"onUpdate:modelValue":a[10]||(a[10]=e=>Qe.verificationCode=e),modelModifiers:{trim:!0},placeholder:T(r)("landing.auth.placeholders.code"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:shield-keyhole-line",class:"input-prefix-icon"})]),_:1}
1,8,["modelValue","placeholder"]),A(T(N),{class:z(["send-code-btn",{"send-code-btn--counting":je.value>0}]),size:"large",loading:Oe.value,onClick:a[11]||(a[11]=e=>je.value>0?null:oa())},{default:b(()=>[je.value>0?(y(),C(M,{key:0},[k("span",fe,P(ta(je.value)),1),a[22]||(a[22]=k("span",{class:"resend-divider"},"|",-1)),k("span",we,P(T(r)("landing.auth.resendCode")),1)],64)):(y(),C(M,{key:1},[V(P(T(r)("landing.auth.sendCode")),1)],64))]),_:1},8,["class","loading"])]),je.value>0?(y(),C("div",ye,[A(l,{icon:"ri:mail-check-line",style:{"font-size":"13px"}}),V(" "+P(T(r)("landing.auth.messages.codeSentDetail")),1)])):x("",!0)]),_:1},8,["label"]),A(T(O),{prop:"invitationCode",label:T(r)("landing.auth.labels.invitationCode")},{default:b(()=>[A(T(F),{modelValue:Qe.invitationCode,"onUpdate:modelValue":a[12]||(a[12]=e=>Qe.invitationCode=e),modelModifiers:{trim:!0},placeholder:Fe.value?T(r)("landing.auth.placeholders.invitationRequired"):T(r)("landing.auth.placeholders.invitationOptional"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:gift-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),A(T(O),{prop:"agreedToUserAgreement",class:"agreement-form-item"},{default:b(()=>[A(T(j),{modelValue:Qe.agreedToUserAgreement,"onUpdate:modelValue":a[13]||(a[13]=e=>Qe.agreedToUserAgreement=e),class:"agreement-checkbox"},{default:b(()=>[k("span",be,[V(P(T(r)("landing.auth.agreementPrefix"))+" ",1),k("a",{href:"#",class:"agreement-link",onClick:U(na,["stop","prevent"])},P(T(r)("landing.auth.privacyPolicy")),1),V(P(T(r)("landing.auth.agreementAnd")),1),k("a",{href:"#",class:"agreement-link",onClick:U(ra,["stop","prevent"])},P(T(r)("landing.auth.termsOfService")),1)])]),_:1},8,["modelValue"])]),_:1}),A(c,{ref_key:"turnstileRef",ref:Le,onSuccess:aa,onExpired:la},null,512),k("div",ke,[A(T(N),{type:"primary",class:"w-full auth-submit-btn",size:"large",loading:ze.value,onClick:ca},{default:b(()=>[A(l,{icon:"ri:user-add-line",class:"btn-icon"}),V(" "+P(T(r)("landing.auth.signUp")),1)]),_:1},8,["loading"])]),k("div",Ce,[V(P(T(r)("landing.auth.hasAccount"))+" ",1),k("a",{href:"#",onClick:a[14]||(a[14]=U(e=>ia("login"),["prevent"]))},P(T(r)("landing.auth.signIn")),1)])]),_:1},8,["model","rules"])):(y(),w(T(L),{key:2,ref_key:"forgotFormRef",ref:He,model:Ye,rules:ea.value,class:"auth-form","label-position":"top"},{default:b(()=>[A(T(O),{prop:"email",label:T(r)("landing.auth.labels.email")},{default:b(()=>[k("div",xe,[A(T(F),{modelValue:Ye.email,"onUpdate:modelValue":a[15]||(a[15]=e=>Ye.email=e),modelModifiers:{trim:!0},placeholder:T(r)("landing.auth.placeholders.email"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:mail-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"]),A(T(N),{class:z(["send-code-btn",{"send-code-btn--counting":Ke.value>0}]),size:"large",loading:De.value,onClick:a[16]||(a[16]=e=>Ke.value>0?null:ga())},{default:b(()=>[Ke.value>0?(y(),C(M,{key:0},[k("span",_e,P(ta(Ke.value)),1),a[23]||(a[23]=k("span",{class:"resend-divider"},"|",-1)),k("span",Ue,P(T(r)("landing.auth.resendCode")),1)],64)):(y(),C(M,{key:1},[V(P(T(r)("landing.auth.sendResetCode")),1)],64))]),_:1},8,["class","loading"])])]),_:1},8,["label"]),A(T(O),{prop:"verificationCode",label:T(r)("landing.auth.labels.verificationCode")},{default:b(()=>[A(T(F),{modelValue:Ye.verificationCode,"onUpdate:modelValue":a[17]||(a[17]=e=>Ye.verificationCode=e),modelModifiers:{trim:!0},placeholder:T(r)("landing.auth.placeholders.code"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:shield-keyhole-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),A(T(O),{prop:"newPassword",label:T(r)("landing.auth.labels.newPassword")},{default:b(()=>[A(T(F),{modelValue:Ye.newPassword,"onUpdate:modelValue":a[18]||(a[18]=e=>Ye.newPassword=e),modelModifiers:{trim:!0},type:"password",autocomplete:"off","show-password":"",placeholder:T(r)("landing.auth.placeholders.newPassword"),size:"large"},{prefix:b(()=>[A(l,{icon:"ri:lock-password-line",class:"input-prefix-icon"})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),k("div",Ae,[A(T(N),{type:"primary",class:"w-full auth-submit-btn",size:"large",loading:Be.value,onClick:ma},{default:b(()=>[A(l,{icon:"ri:key-2-line",class:"btn-icon"}),V(" "+P(T(r)("landing.auth.resetPassword")),1)]),_:1},8,["loading"])])]),_:1},8,["model","rules"]))])]),_:1},8,["modelValue"])}}})),[["__scopeId","data-v-939bacbf"]]);export{Ve 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.