System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1764830988434","./public-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./common-legacy.js?v=1764830988434","./__commonjsHelpers__-legacy.js?v=1764830988434","./index-legacy96.js?v=1764830988434"],function(e,a){"use strict";var s,l,r,t,d,o,n,p,i,u,c,_,w,x,g,f,v,y,m,P,j,h,b,k,C,$;return{setters:[e=>{s=e._},e=>{l=e.o,r=e.N,t=e.O,d=e.P,o=e.Q},e=>{n=e._},e=>{p=e.a},e=>{i=e.dR,u=e.au,c=e.aC,_=e.dm},e=>{w=e.k,x=e.P,g=e.r,f=e.e,v=e.R,y=e.V,m=e.S,P=e.W,j=e.a4,h=e.a3,b=e.U,k=e.j,C=e.ab,$=e.F},null,null,null],execute:function(){const a={class:"flex-center flex-col pt-8%"},E={class:"pt-44px"},R={class:"mb-24px text-center text-20px text-dark"},U={class:"flex justify-end mt-16px"};e("default",w({__name:"index",setup(e){const{t:w}=x(),S=g(null),T=f({password1:"",password2:""}),z={password1:{trigger:["blur","input"],validator:()=>_(T.password1)?new Error(w("Config.Panel.index_67")):!(T.password1.length<6)||new Error(w("Password.index_6"))},password2:{trigger:["blur","input"],validator:()=>_(T.password2)?new Error(w("Config.Panel.index_69")):T.password1===T.password2||new Error(w("Config.Panel.index_70"))}},F=async()=>{await(S.value?.validate()),await r({password1:t(T.password1),password2:t(T.password2)}),d("/login?dologin=True",1500)},H=()=>{p({title:w("Password.index_7"),content:()=>P($,null,[P(C,{tag:"div",scope:"global",keypath:"Password.index_8"},{text_1:()=>P("span",{class:"text-error"},[w("Password.index_9")])})]),onConfirm:async()=>{await o(),d("/login?dologin=True",1500)}})};return(e,r)=>{const t=n,d=i,o=u,p=c,_=l,w=s;return y(),v("div",a,[m("div",E,[m("h3",R,j(e.$t("Password.index_1")),1)]),P(w,{ref_key:"formRef",ref:S,model:b(T),rules:z,size:"large",class:"w-500px p-32px pt-0"},{default:h(()=>[P(d,{path:"password1"},{default:h(()=>[P(t,{value:b(T).password1,"onUpdate:value":r[0]||(r[0]=e=>b(T).password1=e),length:10,default:!1,placeholder:e.$t("Password.index_2")},null,8,["value","placeholder"])]),_:1}),P(d,{path:"password2"},{default:h(()=>[P(o,{value:b(T).password2,"onUpdate:value":r[1]||(r[1]=e=>b(T).password2=e),placeholder:e.$t("Password.index_3")},null,8,["value","placeholder"])]),_:1}),P(d,{"show-feedback":!1},{default:h(()=>[P(p,{type:"primary",block:"",onClick:F},{default:h(()=>[k(j(e.$t("Password.index_4")),1)]),_:1})]),_:1}),m("div",U,[P(_,{onClick:H},{default:h(()=>[k(j(e.$t("Password.index_5")),1)]),_:1})])]),_:1},8,["model"])])}}}))}}});
