PageSourceSearch

https://app.yabandpay.com/js/set_password.js

js yabandpay.com collected 2026-10-01 15:39:38 UTC 3,725 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkYaBand_Portal"]=self["webpackChunkYaBand_Portal"]||[]).push([[3459],{55118:function(e,s,r){r.r(s),r.d(s,{default:function(){return x}});var a=r(70212),o=(r(11758),r(43163),r(91955)),l=(r(62064),r(76674)),t=(r(47113),r(79200)),n=(r(57658),r(82801),r(73396)),d=r(49242),p=r(44870),w=r(87139),u=r(32453),i=r(22483),_=r(35213),m=r(49258),c=r(55595);const g={key:0,class:"reset-password"},f={class:"password-container"},y={key:0},v={key:1},h={class:"form-item"},k={class:"title"},b={class:"form-item"},q={class:"title"};var z={__name:"index",setup(e){const{t:s,locale:r}=(0,_.QT)(),z=(0,i.yj)(),$=(0,i.tv)(),W=(0,p.iH)(),x=(0,p.qj)({new_password:"",confirm_password:""}),E=(0,p.qj)({new_password:{required:!0,trigger:"blur",validator(e,r,a){r?r.length<12?a(new Error(s("message.sign_up.passwrodMinLength12"))):r.length>20?a(new Error(s("message.sign_up.passwrodMaxLength"))):((0,m.ZT)(r)||a(new Error(s("message.sign_up.passwordDesc"))),a()):a(new Error(s("message.reset_password.new_password_rule")))}},confirm_password:{required:!0,trigger:"blur",validator(e,r,a){r?(x["new_password"]!=r&&a(new Error(s("message.sign_up.mmbyz"))),a()):a(new Error(s("message.reset_password.confirm_password_rule")))}}}),V=()=>{$.replace("/login")},D=(0,p.iH)(!1),H=()=>{(0,u.FN)({email:z.query.email,key:z.query.unkey}).then((e=>{e.status?D.value=!0:j(1)})).finally((()=>{}))},M=(0,p.iH)(!1),U=()=>{if(M.value)return;M.value=!0;const e=btoa(encodeURI(x.new_password));(0,u.c0)({email:z.query.email,key:z.query.unkey,password:e}).then((e=>{e.status?(c.z8.success(s("global.success")),V()):c.z8.error("业务状态码错误:",e.message)})).finally((()=>{M.value=!1})).catch((e=>{c.z8.error("http状态码错误:",e)}))},Z=()=>{W.value.validate((e=>{e&&U()}))},j=e=>{$.replace(`/expired?expired=${e}`)},C=()=>{z.query.email&&z.query.unkey?H():j(1)};return C(),(e,s)=>{const r=t.Z,u=(0,n.up)("MyInput"),i=o.nH,_=l.Z,m=o.ly,c=a.t;return D.value?((0,n.wg)(),(0,n.iD)("div",g,[(0,n.Wm)(r),(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",f,[(0,n.Wm)(m,{ref_key:"ruleFormRef",ref:W,"label-position":"top",model:x,rules:E,"label-width":"0",class:"demo-ruleForm","status-icon":"",onSubmit:s[2]||(s[2]=(0,d.iM)((()=>{}),["prevent"]))},{default:(0,n.w5)((()=>["/set-password"===(0,p.SU)(z).path?((0,n.wg)(),(0,n.iD)("h2",y,(0,w.zw)(e.$t("message.reset_password.set_password")),1)):((0,n.wg)(),(0,n.iD)("h2",v,(0,w.zw)(e.$t("message.reset_password.reset_password")),1)),(0,n._)("p",null,(0,w.zw)(e.$t("message.reset_password.password_format_msg")),1),(0,n._)("div",h,[(0,n._)("div",k,(0,w.zw)(e.$t("message.reset_password.new_password")),1),(0,n.Wm)(i,{class:"input-box",prop:"new_password"},{default:(0,n.w5)((()=>[(0,n.Wm)(u,{type:"password","show-password":!0,class:"input",modelValue:x.new_password,"onUpdate:modelValue":s[0]||(s[0]=e=>x.new_password=e),placeholder:e.$t("message.reset_password.new_passwor_msg")},null,8,["modelValue","placeholder"])])),_:1})]),(0,n._)("div",b,[(0,n._)("div",q,(0,w.zw)(e.$t("message.reset_password.confirm_password")),1),(0,n.Wm)(i,{class:"input-box",prop:"confirm_password"},{default:(0,n.w5)((()=>[(0,n.Wm)(u,{type:"password","show-password":!0,class:"input",modelValue:x.confirm_password,"onUpdate:modelValue":s[1]||(s[1]=e=>x.confirm_password=e),placeholder:e.$t("message.reset_password.confirm_password_msg")},null,8,["modelValue","placeholder"])])),_:1})]),(0,n._)("div",{class:"login-btn",id:"login-btn",onClick:Z},[(0,n.Wm)(_,null,{default:(0,n.w5)((()=>[(0,n._)("span",null,(0,w.zw)(e.$t("message.reset_password.set_password")),1)])),_:1})])])),_:1},8,["model","rules"])])),[[c,M.value]])])):(0,n.kq)("",!0)}}},$=r(40089);const W=(0,$.Z)(z,[["__scopeId","data-v-08ef8324"]]);var x=W}}]);

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.