const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["MkForgotPassword-C_Ow_-yC.js","vue-Cm77DuTi.js","app-QjDgb7aF.js","charts-3gEHPHRq.js","media-DuCIZ-3n.js","app-CV_aoXZ3.css","MkForgotPassword-BqCIYFd1.css"])))=>i.map(i=>d[i]);
import{a as y,l as C,m as c,aA as P,b as s,a7 as V,M as x,P as B}from"./app-QjDgb7aF.js";import{b as S,c as A,d as D,E as t,j as d,g as m,i as e,q as u,k as n,I as N,u as r,J as k,D as _,H as R,a as E,f}from"./vue-Cm77DuTi.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const H={class:"_formRoot"},L=S({__name:"reset-password",props:{token:{}},setup(l){const i=l;let a=E("");async function h(){await B("reset-password",{token:i.token,password:a.value}),c.push("/")}A(()=>{i.token==null&&(y(D(()=>C(()=>import("./MkForgotPassword-C_Ow_-yC.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),{},{},"closed"),c.push("/"))});const M=f(()=>[]),g=f(()=>[]);return P({title:s.ts.resetPassword,icon:"ph-lock ph-bold ph-lg"}),(I,o)=>{const w=t("MkPageHeader"),v=t("MkSpacer"),b=t("MkStickyContainer");return d(),m(b,null,{header:e(()=>[n(w,{actions:M.value,tabs:g.value},null,8,["actions","tabs"])]),default:e(()=>[l.token?(d(),m(v,{key:0,"content-max":700,"margin-min":16,"margin-max":32},{default:e(()=>[u("div",H,[n(V,{modelValue:r(a),"onUpdate:modelValue":o[0]||(o[0]=p=>N(a)?a.value=p:a=p),type:"password",class:"_formBlock"},{prefix:e(()=>[...o[1]||(o[1]=[u("i",{class:"ph-lock ph-bold ph-lg"},null,-1)])]),label:e(()=>[k(_(r(s).ts.newPassword),1)]),_:1},8,["modelValue"]),n(x,{primary:"",class:"_formBlock",onClick:h},{default:e(()=>[k(_(r(s).ts.save),1)]),_:1})])]),_:1})):R("",!0)]),_:1})}}});export{L as default};
//# sourceMappingURL=reset-password-DnWPQQ2m.js.map
