1import{i as e}from"./rolldown-runtime-jxEyR9vv.js";import{G as r,N as l,Nt as a,_ as t,dt as o,g as s,l as n,p as i,q as d,rt as p,tt as u,u as m,v as c}from"./runtime-core.esm-bundler-B6srJGqw.js";import{n as f}from"./preload-helper-zcp_AQ_T.js";import{n as w,r as h,t as y}from"./css-DrnSxeGP.js";import{t as g}from"./button-CBkLfXit.js";import{u as v}from"./index-M8aPwKRn.js";import"./css-B9OxCs5x.js";import"./css-Bgz1GXCH.js";import{o as x,s as A}from"./user-BX8_mJ2Y.js";var b={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},V=c({name:"AlternateEmailRound",render:function(e,r){return l(),i("svg",b,r[0]||(r[0]=[m("path",{d:"M12.72 2.03A9.991 9.991 0 0 0 2.03 12.72C2.39 18.01 7.01 22 12.31 22H16c.55 0 1-.45 1-1s-.45-1-1-1h-3.67c-3.73 0-7.15-2.42-8.08-6.03c-1.49-5.8 3.91-11.21 9.71-9.71C17.58 5.18 20 8.6 20 12.33v1.1c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.25c0-2.51-1.78-4.77-4.26-5.12a5.008 5.008 0 0 0-5.66 5.87a4.996 4.996 0 0 0 3.72 3.94c1.84.43 3.59-.16 4.74-1.33c.89 1.22 2.67 1.86 4.3 1.21c1.34-.53 2.16-1.9 2.16-3.34v-1.09c0-5.31-3.99-9.93-9.28-10.29zM12 15c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z",fill:"currentColor"},null,-1)]))}}),C={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},T=c({name:"LockOutlined",render:function(e,r){return l(),i("svg",C,r[0]||(r[0]=[m("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2z",fill:"currentColor"},null,-1)]))}}),z={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},j=c({name:"SafetyOutlined",render:function(e,r){return l(),i("svg",z,r[0]||(r[0]=[m("path",{d:"M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110l312 110v330z",fill:"currentColor"},null,-1),m("path",{d:"M378.4 475.1a35.91 35.91 0 0 0-50.9 0a35.91 35.91 0 0 0 0 50.9l129.4 129.4l2.1 2.1a33.98 33.98 0 0 0 48.1 0L730.6 434a33.98 33.98 0 0 0 0-48.1l-2.8-2.8a33.98 33.98 0 0 0-48.1 0L483 579.7L378.4 475.1z",fill:"currentColor"},null,-1)]))}}),_=("function"==typeof TextDecoder&&new TextDecoder("utf-8",{ignoreBOM:!0}),"function"==typeof TextEncoder?new TextEncoder:void 0),k=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),U=(()=>{let e={};return k.forEach((r,l)=>e[r]=l),e})(),M=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,B=String.fromCharCode.bind(String),E="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),F="function"==typeof btoa?e=>btoa(e):e=>{let r,l,a,t,o="";const s=e.length%3;for(let n=0;n<e.length;){if((l=e.charCodeAt(n++))>255||(a=e.charCodeAt(n++))>255||(t=e.charCodeAt(n++))>255)throw new TypeError("invalid character found");r=l<<16|a<<8|t,o+=k[r>>18&63]+k[r>>12&63]+k[r>>6&63]+k[63&r]}return s?o.slice(0,s-3)+"===".substring(s):o},q="function"==typeof Uint8Array.prototype.toBase64?e=>e.toBase64():e=>{let r=[];for(let l=0,a=e.length;l<a;l+=4096)r.push(B.apply(null,e.subarray(l,l+4096)));return F(r.join(""))},D=e=>{if(e.length<2)return(r=e.charCodeAt(0))<128?e:r<2048?B(192|r>>>6)+B(128|63&r):B(224|r>>>12&15)+B(128|r>>>6&63)+B(128|63&r);var r=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return B(240|r>>>18&7)+B(128|r>>>12&63)+B(128|r>>>6&63)+B(128|63&r)},K=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,L=_?e=>q(_.encode(e)):e=>F(e.replace(K,D)),S=(e,r=!1)=>r?(e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"))(L(e)):L(e),H="function"==typeof atob?e=>atob(e.replace(/[^A-Za-z0-9\+\/]/g,"")):e=>{if(e=e.replace(/\s+/g,""),!M.test(e))throw new TypeError("malformed base64.");let r,l,a;e+="==".slice(2-(3&e.length));let t=[];for(let o=0;o<e.length;)r=U[e.charAt(o++)]<<18|U[e.charAt(o++)]<<12|(l=U[e.charAt(o++)])<<6|(a=U[e.charAt(o++)]),64===l?t.pu
1sh(B(r>>16&255)):64===a?t.push(B(r>>16&255,r>>8&255)):t.push(B(r>>16&255,r>>8&255,255&r));return t.join("")},Z=(Uint8Array.fromBase64,{class:"d-bg-card p-10 flex justify-center",style:{width:"900px",margin:"0 auto"}}),I={class:"d-main text-center mb-4 font-bold"},O={class:"flex justify-between w-full"},N={__name:"index",setup(e){const c=v(),b=f(),C=u({verifyKey:"",email:"",password:"",repassword:"",sendTimer:!1}),z=p(null),_=u({title:"find"==c.query.type?"æ¾åå¯ç ":"ä¿®æ¹å¯ç ",repassword:(e,r,l)=>{""===r?l(new Error("è¯·åæ¬¡è¾å
¥å¯ç ")):r!==C.password?l(new Error("两次è¾å
¥å¯ç ä¸ä¸è´!")):l()},emailUpdate:!1,dialogVisible:!1,loadingText:!1}),k=n(()=>"find"!=c.query.type&&!!b.value.email);r(()=>b.value,e=>{k.value&&(C.email=e.email)},{immediate:!0});let U=null;function M(){_.sendTimer||(_.sendTimer=10),U=setInterval(()=>{_.sendTimer--,_.sendTimer<0&&(_.sendTimer=!1,clearInterval(U))},1e3),A({email:C.email})}function B(){z.value.validate(e=>{e&&(_.loading=!0,x({email:C.email,verifyKey:C.verifyKey,password:S(C.password)}).then(e=>{setTimeout(()=>{window.open("https://go.itab.link")},2e3)}))})}return U&&clearInterval(U),(e,r)=>{const n=y,p=g,u=h,c=w;return l(),i("div",Z,[t(c,{size:"large",ref_key:"loginFormRef",ref:z,model:C,style:{width:"400px"},"validate-on-rule-change":!1},{default:d(()=>[m("h3",I,a(_.title),1),t(u,{prop:"email",rules:{required:!0,type:"email",message:"é®ç®±æ ¼å¼ä¸æ£ç¡®"}},{default:d(()=>[m("div",O,[t(n,{disabled:k.value,"prefix-icon":o(V),placeholder:"请è¾å
¥é®ç®±",modelValue:C.email,"onUpdate:modelValue":r[0]||(r[0]=e=>C.email=e),modelModifiers:{trim:!0}},null,8,["disabled","prefix-icon","modelValue"]),t(p,{disabled:!!_.sendTimer,class:"ml-1",type:"primary",style:{width:"136px"},onClick:M},{default:d(()=>[s(a(_.sendTimer?_.sendTimer:"åééªè¯ç "),1)]),_:1},8,["disabled"])])]),_:1}),t(u,{prop:"verifyKey",rules:{required:!0,trigger:"none",message:"éªè¯ç ä¸è½ä¸ºç©º"}},{default:d(()=>[t(n,{modelValue:C.verifyKey,"onUpdate:modelValue":r[1]||(r[1]=e=>C.verifyKey=e),maxlength:"6","prefix-icon":o(j),placeholder:"éªè¯ç "},null,8,["modelValue","prefix-icon"])]),_:1}),t(u,{prop:"password",rules:[{required:!0,message:"å¯ç ä¸è½ä¸ºç©º"},{min:6,max:18,message:"请è¾å
¥6-18ä½å¯ç "}]},{default:d(()=>[t(n,{maxlength:"18","prefix-icon":o(T),"show-password":"",type:"password",modelValue:C.password,"onUpdate:modelValue":r[2]||(r[2]=e=>C.password=e),modelModifiers:{trim:!0},placeholder:"请è¾å
¥6-18ä½å¯ç "},null,8,["prefix-icon","modelValue"])]),_:1}),t(u,{prop:"repassword",rules:{validator:_.repassword}},{default:d(()=>[t(n,{"show-password":"","prefix-icon":o(T),type:"repassword",modelValue:C.repassword,"onUpdate:modelValue":r[3]||(r[3]=e=>C.repassword=e),modelModifiers:{trim:!0},placeholder:"请确认å¯ç "},null,8,["prefix-icon","modelValue"])]),_:1},8,["rules"]),t(u,{"label-width":"0",class:"mt20"},{default:d(()=>[t(p,{class:"w-full",type:"primary",onClick:B},{default:d(()=>[...r[4]||(r[4]=[s("ç¡®å®",-1)])]),_:1})]),_:1})]),_:1},8,["model"])])}}};export{N 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.