1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3ee74116-6a74-5c7a-9242-05bca5b79799")}catch(e){}}(); 3import{p as e}from"./Cy8rZ4Dq.js";import{$t as t,At as n,Bn as r,Et as i,Gt as a,Ht as o,Jt as s,Kt as c,Nn as l,On as u,P as d,Rt as f,Y as p,br as m,jt as h,l as g,pn as _,qn as v,tr as y,vn as b,zt as x}from"./CRN0ZWjI.js";import{_ as S}from"./BetLQkGc.js";import{d as C,n as w}from"./jD4CS3Jy.js";import{i as T}from"./BjEHG4d2.js";import{t as E}from"#entry";import{t as D}from"./DhuE_vHH.js";import{t as O}from"./CVUfgejn.js";import{t as k}from"./CDGZCaRi.js";import{t as A}from"./CzVMZ6Sy.js";l(),t(),y(),i();var j={class:`forgot-password`},M={class:`forgot-password__settings`},N={class:`forgot-password__container`},P={class:`forgot-password__logo`},F=[`src`],I={class:`forgot-password__card`},L={class:`forgot-password__form-wrapper`},R={class:`forgot-password__header`},z={class:`forgot-password__title`},B={class:`forgot-password__subtitle`},V={class:`forgot-password__field`},H={class:`forgot-password__label`},U={class:`forgot-password__footer`},W=E(s({__name:`forgot`,setup(t){D({layout:`auth`});let{t:i}=w(),s=e(),l=O(),y=S(),E=k(),{loginLogo:W}=T(),G=r(null),K=r(!1),q=r({email:``}),J=f(()=>i(`auth.forgot.title`)),Y=async()=>{let{valid:e}=await G.value.validate();if(e){K.value=!0;try{await y.forgotPassword(q.value),l.show({title:i(`auth.forgot.labels.email_send_success`),type:`success`}),await s.push(`/auth/login`)}catch{l.show({title:i(`auth.forgot.labels.email_send_error`),type:`error`})}K.value=!1}};return C({title:J}),(e,t)=>{let r=A,i=b(`router-link`);return _(),o(`div`,j,[x(`div`,M,[c(r,{class:`text-white`})]),x(`div`,N,[x(`div`,P,[x(`img`,{src:v(W),alt:`Logo`},null,8,F)]),x(`div`,I,[x(`div`,L,[x(`div`,R,[x(`h2`,z,m(e.$t(`auth.forgot.title`)),1),x(`p`,B,m(e.$t(`auth.forgot.labels.info`)),1)]),c(g,{ref_key:`form`,ref:G,class:`forgot-password__form`,onSubmit:t[2]||=h(()=>{},[`prevent`]),onKeyup:t[3]||=n(e=>Y(),[`enter`])},{default:u(()=>[x(`div`,V,[x(`label`,H,m(e.$t(`auth.forgot.labels.email`))+`* `,1),c(d,{modelValue:v(q).email,"onUpdate:modelValue":t[0]||=e=>v(q).email=e,variant:`outlined`,placeholder:e.$t(`auth.forgot.labels.enter_email`),rules:[v(E).requiredRule(),v(E).emailRule()],"prepend-inner-icon":`uil-envelope`,class:`forgot-password__input`,"hide-details":`auto`},null,8,[`modelValue`,`placeholder`,`rules`])]),c(p,{loading:v(K),variant:`flat`,class:`forgot-password__submit-btn`,onClick:t[1]||=e=>Y()},{default:u(()=>[a(m(e.$t(`auth.forgot.labels.submit`)),1)]),_:1},8,[`loading`])]),_:1},512),x(`div`,U,[c(i,{class:`forgot-password__link`,to:`/auth/login`},{default:u(()=>[a(m(e.$t(`auth.forgot.labels.login_answer`))+` `+m(e.$t(`auth.forgot.labels.login`)),1)]),_:1})])])])]),t[4]||=x(`div`,{class:`forgot-password__decoration forgot-password__decoration--1`},null,-1),t[5]||=x(`div`,{class:`forgot-password__decoration forgot-password__decoration--2`},null,-1),t[6]||=x(`div`,{class:`forgot-password__decoration forgot-password__decoration--3`},null,-1)])}}}),[[`__scopeId`,`data-v-c6a5c98d`]]);export{W as default}; 4//# debugId=3ee74116-6a74-5c7a-9242-05bca5b79799
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.