1import{e as O,f as D,m as q,B as u,g as d,U as H,L as K,c as I,b as i,a as t,i as j,O as b,h as s,V as z,R as F,t as J,N as W,o as m,j as Q,n as X,_ as Y}from"./OxIcw8id.js";import{H as Z}from"./BofUd4eO.js";import{u as ee}from"./fbT3jpt2.js";import{B as se,I as te}from"./Uy1T3CgA.js";import{I as oe}from"./DU0tp0ew.js";import{E as ae}from"./BZQCf3yN.js";import{s as re}from"./DVTaE1t8.js";import"./BF8BneKt.js";import"./DZXlDvG6.js";import"./BvrpIecR.js";import"./CFZq-rpI.js";import"./B9Oh1ALQ.js";const ne={class:"page-container"},ie={class:"signup-verify-field"},le={class:"support-info"},ce={class:"form"},ue=["disabled"],de={key:1,class:"timer-text"},me=O({__name:"verify",setup(fe){const o=D(),{$isAdult:k,$customGtag:x,$convertUrl:w,$setRefreshToken:A,$setIsLoginWithGoogle:C}=q(),f=Q(),L=w("/settings/username"),a=u(""),l=u(""),r=u(0),p=ee(),g=d(()=>p.verifyErrorMessage.value),R=d(()=>o.getIsLoading||!a.value||!!g.value),V=d(()=>o.getIsLoading||r.value>0),B=W(),{fetchActivate:T,activateApiResponse:c,signInApiResponse:v,fetchSignIn:U,fetchResendConfirmationCode:E}=H(),{getAuthUser:_,getPassword:S,setAccessToken:$,refreshAccessTokenTimer:N,fetchUser:P,clearPassword:G}=K(),h=async()=>{o.setIsLoading(!0);try{const n={ConfirmationCode:a.value,Username:B.query.username};await T(n);const e={Email:_.email,Password:S};if(typeof c.value!="boolean"){l.value=c.value.status_code===500?"䏿çãªã¨ã©ã¼ãçºçãã¾ãããæéãããã¦ããä¸åº¦ã試ããã ããã":c.value.message,o.setIsLoading(!1);return}await U(e),x("login",{event_category:"user_auth",event_label:"Login",floor:k()?f.public.floorAdult:f.public.floorGeneral}),$(v.value.accessToken),A(v.value.refreshToken),N(),C(JSON.stringify(!1)),G(),await P(),await X({path:L,query:{register:"true"}})}catch(n){console.error("ã¢ã¯ãã£ãã¼ãå¦çã§ã¨ã©ã¼ãçºçãã¾ãã",n)}o.setIsLoading(!1)},M=async()=>{o.setIsLoading(!0),r.value=20;const n=re(()=>{r.value-=1,r.value===0&&clearInterval(n)},1e3);try{await E(_.email)}catch(e){console.error("åéä¿¡å¦çã§ã¨ã©ã¼ãçºçãã¾ãã",e)}o.setIsLoading(!1)};return(n,e)=>(m(),I("div",ne,[i(Z,{text:"æ¤è¨¼ã³ã¼ããå
¥å"}),t("div",ie,[t("div",le,[i(te,{name:"mail.png","sp-width":"64","is-fixed-in-sp":""}),e[2]||(e[2]=t("div",null,[t("p",{class:"text"},"æ¤è¨¼ã³ã¼ããéä¿¡ãã¾ããã"),t("p",{class:"text"},"ã¡ã¼ã«ã«å±ãã6æ¡ã®æ¤è¨¼ã³ã¼ããå
¥åãã¦ãã ããã")],-1))]),s(l)?(m(),j(ae,{key:0,text:s(l)},null,8,["text"])):b("",!0),t("div",ce,[i(oe,{modelValue:s(a),"onUpdate:modelValue":e[0]||(e[0]=y=>F(a)?a.value=y:null),"item-name":"æ¤è¨¼ã³ã¼ã",placeholder:"ä¾ï¼123456","error-text":s(g),onOnBlur:e[1]||(e[1]=y=>s(p).checkVerify(s(a))),onKeydown:z(h,["enter"])},null,8,["modelValue","error-text"])]),i(se,{text:"æ¤è¨¼","is-disabled":s(R),color:"banana",size:"large",onOnClick:h},null,8,["is-disabled"]),t("button",{disabled:s(V),onClick:M},[...e[3]||(e[3]=[t("span",{class:"resend-text"},"æ¤è¨¼ã³ã¼ããåé",-1)])],8,ue),s(r)?(m(),I("p",de,J(`${s(r)}ç§å¾ã«åéä¿¡ã§ãã¾ã`),1)):b("",!0)])]))}}),Ce=Y(me,[["__scopeId","data-v-b366caa6"]]);export{Ce 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.