1var e=(e,l,o)=>new Promise((a,n)=>{var t=e=>{try{r(o.next(e))}catch(l){n(l)}},s=e=>{try{r(o.throw(e))}catch(l){n(l)}},r=e=>e.done?a(e.value):Promise.resolve(e.value).then(t,s);r((o=o.apply(e,l)).next())});import{$ as l,fE as o,od as a,aM as n,fC as t,e8 as s,oe as r,q as c,of as u,er as i}from"./index-BHKElW5-.js";import{c as d,e as p,N as m,q as f,v,D as h,B as b,C as g,u as y,x as C,F as A,G as V,k as _}from"./runtime-core.esm-bundler-CSn0hs_e.js";import"./_plugin-vue_export-helper-BCo6x5W8.js";import"./video-editor-DTVSiof6.js";import"./runtime-dom.esm-bundler-DyrtEVhK.js";import"./konva-BpeUsT-l.js";import"./vueuse-CCQysXvv.js";import"./_commonjsHelpers-HLVOKCDG.js";import"./export-tools-BFBXm_DW.js";import"./floating-ui.dom-B-67nXkj.js";const k={key:0,class:"subtitle"},E={key:1,class:"tips"},j={class:"left"},x={class:"right"},q={class:"code-box"},w={class:"dialog-footer"},P={class:"confirm-tip"},U={__name:"index",props:{alipayAccount:{type:String,default:""}},emits:["cancel","confirm"],setup(i,{emit:U}){const I=U,R=d(null),F=d(null),L=d(null),N=d({name:"",idCard:"",alipayAccount:"",phone:"",code:""}),S=d({name:[{required:!0,message:l("components.pleaseEnterName"),trigger:"blur"}],idCard:[{required:!0,message:l("components.pleaseEnterIdCard"),trigger:"blur"},{pattern:/^[1-9]\d{5}(19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i,message:l("components.pleaseEnterCorrectIdCard"),trigger:"blur"}],alipayAccount:[{required:!0,message:l("components.pleaseEnterAlipayAccount"),trigger:"blur"}],phone:[{required:!0,message:l("components.pleaseEnterPhone"),trigger:"blur"},{pattern:o(N.value.phone,"phone"),message:l("components.pleaseEnterCorrectPhone"),trigger:"blur"}],code:[{required:!0,message:l("components.pleaseEnterVerificationCode"),trigger:"blur"}]}),$=a(),z=_(()=>$.countdown),B=()=>{F.value.resetFields(),R.value.close(),I("cancel")},D=()=>{if(o(N.value.phone,"phone"))return s("msgLoginList.mobile"),!0;L.value&&L.value.show()},G=()=>e(this,null,function*(){$.setCountdown();const e={tel:N.value.phone,code:N.value.code},{code:l,msg:o}=yield u(e);200==l&&c(o)}),H=l=>{F.value.validate(o=>e(this,null,function*(){if(o){const{code:e,msg:o}=yield r(N.value);200==e?(c(o),I("confirm"),l()):s(o)}}))};return p(()=>{R.value.show()}),(e,o)=>{const a=m("el-input"),s=m("el-form-item"),r=m("el-button"),c=m("el-form");return f(),v(V,null,[h(n,{ref_key:"dialogRef",ref:R,title:i.alipayAccount?y(l)("components.changeAlipayAccount"):y(l)("myInvitation.bindAlipay"),size:"small",class:"bind-alipay",onClosed:B},{default:b(({close:e})=>[i.alipayAccount?(f(),v("div",E,[C("div",j,[o[5]||(o[5]=C("i",{class:"icon-shuoming1"},null,-1)),A(g(y(l)("components.monthlyLimit")),1)]),C("div",x,g(y(l)("components.boundAccount"))+": "+g(i.alipayAccount),1)])):(f(),v("p",k,g(y(l)("components.cashbackReady")),1)),h(c,{ref_key:"formRef",ref:F,model:N.value,rules:S.value,"label-width":"100","label-position":"left"},{default:b(()=>[h(s,{label:y(l)("components.name"),prop:"name"},{default:b(()=>[h(a,{modelValue:N.value.name,"onUpdate:modelValue":o[0]||(o[0]=e=>N.value.name=e),placeholder:y(l)("components.pleaseEnterName")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),h(s,{label:y(l)("components.idCard"),prop:"idCard"},{default:b(()=>[h(a,{modelValue:N.value.idCard,"onUpdate:modelValue":o[1]||(o[1]=e=>N.value.idCard=e),placeholder:y(l)("components.pleaseEnterIdCard")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),h(s,{label:y(l)("components.alipayAccount"),prop:"alipayAccount"},{default:b(()=>[h(a,{modelValue:N.value.alipayAccount,"onUpdate:modelValue":o[2]||(o[2]=e=>N.value.alipayAccount=e),placeholder:y(l)("components.pleaseEnterAlipayAccount")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),h(s,{label:y(l)("components.phone"),prop:"phone"},{default:b(()=>[h(a,{modelValue:N.value.phone,"onUpdate:modelValue":o[3]||(o[3]=e=>N.value.phone=e),placeholder:y(l)("components.pleaseEnterPhone")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),h(s,{label:y(l)("components.verificationCode"),prop:"code"},{default:b(()=>[C("div",q,[h(a,{modelValue:N.value.code,"onUpdate:modelValue":o[4]||(o[4]=e=>N.value.code=e),placeholder:y(l)("components.pleaseEnterVerificationCode")},null,8,["modelValue","placeholder"]),h(r,{class:"ark-button",type:"primary",disabled:z.value.codeFlag,onClick:D},{default:b(()=>[A(g(0==z.value.num?y(l)("components.getVerificationCode"):z.value.num+y(l)("components.secondsCanSend")),1)]),_:1},8,["disabled"])])]),_:1},8,["label"])]),_:1}
1,8,["model","rules"]),C("div",w,[C("div",P,g(y(l)("components.confirmTip")),1),h(r,{class:"ark-button add-margin",onClick:l=>e()},{default:b(()=>[A(g(y(l)("button.cancel")),1)]),_:1},8,["onClick"]),h(r,{class:"ark-button",type:"success",onClick:l=>H(e)},{default:b(()=>[A(g(y(l)("button.confirm")),1)]),_:1},8,["onClick"])])]),_:1},8,["title"]),h(t,{ref_key:"captchaRef",ref:L,onSuccess:G},null,512)],64)}}};function I(e){return i(U,e)}export{I 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.