PageSourceSearch

https://member.ufa222.football/assets/1789559418326/DJhJ2o_U.js

js ufa222.football collected 2026-10-10 01:02:17 UTC 8,536 bytes, 1 lines download raw bytes

1import{d as xe,l as ge,R as we,S as Ce,ah as ke,r as s,G as ye,ap as Pe,aq as F,n as k,o as Be,K as Re,f as b,a as i,b as o,e as r,q as $e,h as n,p as Le,a9 as x,an as Se,as as Ue,w as B,g,t as u,B as V,c as R,_ as Oe,X as H,H as J,J as N,P as X,v as Te}from"./zGN25SIG.js";import{_ as Ve}from"./D2WAcC-S.js";import{_ as Ne}from"./B4Q5fQQX.js";import{_ as Ee}from"./B_rfAPYF.js";import{_ as Ie}from"./BJ4Kb05H.js";import{_ as Me}from"./Dzg3GZNq.js";import{_ as Ae}from"./DlvqEqMQ.js";import{_ as De}from"./CivJAmq1.js";import{_ as qe}from"./Df55q1d9.js";import{_ as Ge}from"./hHFHewoq.js";import{s as je}from"./BdzrbLwg.js";import"./BmwrrxPv.js";const ze={class:"w-full min-h-screen mx-auto max-w-[438px] overflow-hidden relative"},We={class:"flex justify-between items-center p-4",style:{position:"fixed",top:"0",width:"100%","max-width":"438px","z-index":"10"}},Ke={class:"flex flex-row items-center gap-4"},Fe=["src"],He={class:"h-[calc(100vh-72px)] overflow-auto pb-[100px]"},Je={class:"min-h-full flex flex-col"},Xe={class:"my-auto w-full py-8"},Qe={key:0,class:"login-form"},Ye={class:"text-center text-[11px] text-[#E3BB72]/50 uppercase tracking-[0.15em] pt-1"},Ze={class:"mt-3 mx-5 flex gap-x-1.5 bg-black/40 rounded-[10px] p-1 border border-white/[0.06]"},et={class:"space-y-4 px-5 pt-4 pb-4"},tt={class:"text-[11px] text-white/40 text-center"},ot={key:0},nt={key:0,class:"login-form"},st={class:"px-5 pt-5 pb-5 space-y-5"},at={class:"flex flex-col items-center gap-2 pb-1"},lt={class:"w-12 h-12 rounded-full flex items-center justify-center",style:{background:"rgba(227, 187, 114, 0.12)",border:"1.5px solid rgba(227, 187, 114, 0.35)"}},rt={viewBox:"0 0 24 24",fill:"none",class:"w-6 h-6",style:{color:"#e3bb72"}},it={class:"text-[16px] font-semibold text-white/90"},ut={class:"text-[12px] text-white/50 text-center leading-relaxed"},ct={class:"text-[#E3BB72] font-medium"},dt={key:0,class:"text-[11px] text-white/30 tracking-wider"},pt={class:"text-white/50 font-mono"},mt={class:"flex flex-col items-center gap-3"},ft={class:"flex items-center justify-center gap-1.5"},vt={class:"text-[12px] text-white/35"},_t=["disabled"],ht=xe({__name:"index",setup(bt){const{t:c,setLocale:Q,locale:Y}=ge(),Z=we(),{isEnableAltcha:E}=Ce(Z),I=ke(),$=s(!1),m=s(!1),y=s(!1),L=s(!1),S=s(!1),f=s(""),l=s(""),P=s(!1),d=s(1),w=s(""),v=s(""),ee=s(null),te=s(c("btn.resetPassword")),oe=s(c("btn.resetWithPhoneNumber")),p=s(!1),ne=ye(()=>Pe(k().activeLanguage)?.icn||F()?.icn||""),U=s(""),_=s(""),O=s(""),T=s(""),C=s(""),se=s("60"),h=s(""),M=s(null);k().setAuthenticated(!1),Be(()=>{G(F()?.localeValue??""),Re(()=>Y.value,()=>{te.value=c("btn.resetPassword"),oe.value=c("btn.resetWithPhoneNumber")},{immediate:!0})});const ae=e=>{ee.value=e},A=async()=>{if(_.value="",d.value===1&&!f.value){l.value=c("error.enterUsername");return}if(d.value===2&&!v.value){l.value=c("error.enterPhoneNumber");return}l.value="",L.value=!0;const e=await D();L.value=!1,e&&(q(),m.value=!0)};async function D(){let e=null;return d.value===1?e=await N.resetPasswordGetOtpByUsername(f.value,h.value):e=await N.resetPasswordGetOtpByPhoneNumber(v.value,w.value,h.value),e.succ&&e.data.otpRef?(O.value=e.data.resetToken,T.value=e.data.phoneNumber,C.value=e.data.otpRef,!0):(l.value=e.msg,!1)}function q(){p.value=!0;let e=se.value;const t=je(()=>{e--,e<=0||!p.value?(clearInterval(t),p.value=!1,U.value=c("sendCodeLabel")):U.value=`${c("resendLabel")} (${e})`},1e3)}function le(){$.value=!0,m.value=!1,y.value=!0}function re(){m.value=!1}function ie(){if(l.value="",!y.value){I.push("/"+X.LOGIN);return}$.value=!1,m.value=!1,y.value=!1,_.value="",f.value="",d.value=1,w.value="",v.value="",M.value?.reset()}const ue=async()=>{if(!_.value){l.value=c("error.enterVerificationCode");return}l.value="",S.value=!0;const e=await N.resetPasswordSubmitOtp(O.value,_.value);if(S.value=!1,e.succ){const t=k();t.apiResetToken=e.data?.resetToken||O.value,t.apiResetOtpRef=C.value,t.apiResetOtpCode=_.value,I.push("/"+X.RESETPASSWORD_CONFIRM)}else l.value=e.msg??""};function G(e){Q(e),k().setLanguage(e)}function ce({lang:e,code:t}){G(e),t&&(k().userCountryCode=t)}function j(e){d.value=e,l.value=""}async function de(){if(p.value)return;p.value=!0,C.value="",await D()&&q()}return(e,t)=>{const pe=Se,me=Ve,fe=Ne,ve=Ee,_e=Ie,z=Me,he=Ae,W=De,K=Oe,be=qe;return i(),b("div",ze,[o("div",{class:"login-bg",style:$e({backgroundImage:`url(${n(Le)("/images/login-backdrop.webp")})`})},null,4),r(pe,{modelValue:n(m),"onUpdate:modelValue":t[0]||(t[0]=a=>x(m)?m.value=a:null),title:e.$t("info.sendVerificationToMobilePhone"),message:n(T),"confirm-label":e.$t("btn.OK"),"cancel-label":e.$t("btn.cancel"),onConfirm:le,onCancel:re},null,8,["modelValue","title","message","confirm-label","cancel-label"]),o("section",null,[t[10]||(t[10]=o("div",{style:{height:"72px"}},null,-1)),o("div",We,[o("img",{class:"cursor-pointer",src:Ge,alt:"back",onClick:ie}
1),o("div",Ke,[r(me),o("img",{class:"w-[40px] h-[40px] cursor-pointer",src:n(ne),alt:"language",onClick:t[1]||(t[1]=a=>P.value=!0)},null,8,Fe)])]),r(Ue,{open:n(P),"onUpdate:open":t[2]||(t[2]=a=>x(P)?P.value=a:null),dismissible:"","hide-confirm":"",onDone:ce},null,8,["open"])]),o("div",He,[o("div",Je,[o("div",Xe,[r(fe),r(H,{name:"slideLeft",mode:"out-in"},{default:B(()=>[n($)?g("",!0):(i(),b("div",Qe,[o("div",Ye,u(e.$t("btn.forgotPassword")),1),o("div",Ze,[o("button",{type:"button",class:V(["flex-1 h-[34px] rounded-[8px] text-[13px] font-medium transition-all active:bg-white/5",n(d)===1?"bg-[#E3BB72]/10 text-[#E3BB72] border border-[#E3BB72]/30 shadow-sm":"text-white/35 border border-transparent"]),onClick:t[3]||(t[3]=a=>j(1))},u(e.$t("usernamePlaceholder")),3),o("button",{type:"button",class:V(["flex-1 h-[34px] rounded-[8px] text-[13px] font-medium transition-all active:bg-white/5",n(d)===2?"bg-[#E3BB72]/10 text-[#E3BB72] border border-[#E3BB72]/30 shadow-sm":"text-white/35 border border-transparent"]),onClick:t[4]||(t[4]=a=>j(2))},u(e.$t("user.phoneNumber")),3)]),o("div",et,[o("div",tt,u(e.$t("info.resetPasswordDesc")),1),r(z,{variant:"glass"},{default:B(()=>[n(d)===1?(i(),R(ve,{key:0,modelValue:n(f),"onUpdate:modelValue":t[5]||(t[5]=a=>x(f)?f.value=a:null),label:e.$t("usernamePlaceholder"),placeholder:e.$t("usernamePlaceholder"),inputmode:"text",autocomplete:"username",enterkeyhint:"go",maxlength:20,onEnter:A},null,8,["modelValue","label","placeholder"])):(i(),R(_e,{key:1,"phone-country-code":n(w),"onUpdate:phoneCountryCode":t[6]||(t[6]=a=>x(w)?w.value=a:null),"phone-number":n(v),"onUpdate:phoneNumber":t[7]||(t[7]=a=>x(v)?v.value=a:null),onPhoneChoiceChanged:ae},null,8,["phone-country-code","phone-number"]))]),_:1}),n(E)?(i(),b("div",ot,[r(z,{label:e.$t("changePassword.verification")},{default:B(()=>[r(he,{ref:"altchaRef",payload:n(h),"onUpdate:payload":t[8]||(t[8]=a=>x(h)?h.value=a:null),remark:"reset_password"},null,8,["payload"])]),_:1},8,["label"])])):g("",!0),n(l)?(i(),R(W,{key:1,msg:n(l),type:"error"},null,8,["msg"])):g("",!0),r(K,{variant:"primary",label:e.$t("btn.next"),disabled:n(E)&&!n(h),loading:n(L),onClick:A},null,8,["label","disabled","loading"])])]))]),_:1}),r(H,{name:"slideLeft",mode:"out-in"},{default:B(()=>[n(y)?(i(),b("div",nt,[o("div",st,[o("div",at,[o("div",lt,[(i(),b("svg",rt,t[11]||(t[11]=[o("rect",{x:"5",y:"3",width:"14",height:"18",rx:"2",stroke:"currentColor","stroke-width":"1.5"},null,-1),o("path",{d:"M9 9h6M9 12h3",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1),o("circle",{cx:"15",cy:"15",r:"2.5",stroke:"currentColor","stroke-width":"1.5"},null,-1),o("path",{d:"M17 17l1.5 1.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1)])))]),o("div",it,u(e.$t("verificationCodePlaceholder")),1),o("div",ut,[J(u(e.$t("info.otpSentTo"))+" ",1),o("span",ct,u(n(T)),1)]),n(C)?(i(),b("div",dt,[t[12]||(t[12]=J(" Ref: ",-1)),o("span",pt,u(n(C)),1)])):g("",!0)]),o("div",mt,[r(be,{ref_key:"otpRef",ref:M,length:6,onComplete:t[9]||(t[9]=a=>_.value=a)},null,512)]),o("div",ft,[o("span",vt,u(e.$t("sendCodeLabel"))+"?",1),o("button",{class:V(["text-[12px] font-medium transition-colors px-1 active:bg-white/5",n(p)?"text-white/20 cursor-not-allowed":"text-[#E3BB72] cursor-pointer"]),disabled:n(p),onClick:de},u(n(p)?n(U):e.$t("sendCodeLabel")),11,_t)]),n(l)?(i(),R(W,{key:0,msg:n(l),type:"error"},null,8,["msg"])):g("",!0),r(K,{variant:"primary",label:e.$t("btn.resetPassword"),loading:n(S),onClick:ue},null,8,["label","loading"])])])):g("",!0)]),_:1})])])])])}}}),Ut=Te(ht,[["__scopeId","data-v-861edd94"]]);export{Ut 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.