PageSourceSearch

https://www.ctmx.live/_nuxt/3.CbK9QLPR.js

js ctmx.live collected 2026-09-27 05:02:18 UTC 3,510 bytes, 1 lines download raw bytes

1var e=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable,n=(a,s,o)=>s in a?e(a,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[s]=o,i=(e,a)=>{for(var s in a||(a={}))l.call(a,s)&&n(e,s,a[s]);if(o)for(var s of o(a))t.call(a,s)&&n(e,s,a[s]);return e};import{_ as r}from"./GamesLogoSlider.CDpl4x0H.js";import{g as c,u,w as g,l as d,G as m,bF as b,aa as f,b0 as p,b5 as v,c8 as y,b4 as w,a3 as j,bN as P,b9 as x,m as h,b1 as _,bY as O,c7 as k,o as L,bE as F,cR as I,c as S}from"./entry.CssAXU4U.js";import{u as C}from"./useTitle.CCHrbDGZ.js";import{L as G}from"./LoginForm.CUQxG7mm.js";import{l as R,b as T,c as U,U as $,$ as z,L as A,a8 as D,X as E,a9 as V,aa as B,u as H}from"./swiper-vue.BQRrVgbi.js";import"./gamePlaceholder.B8_l1uoN.js";import"./Checkbox.VfUhLm8B.js";import"./LineLoginButton.BMoWfjym.js";import"./useLineAuth.DE0EU6Rx.js";const M={class:"login-form-container relative min-h-screen flex items-center justify-center max-w-xs md:max-w-lg mx-auto"},N={class:"login-form-container-bg relative gap-2 flex flex-col"},X={class:"w-full absolute top-0 left-0 inset-0 translate-y-[-20%]"},Y={class:"flex flex-col gap-2"},q=c({__name:"3",setup(e){const{t:o}=u(),l=g();d("locale.setting");const{login:t,fetchUserInfo:n,userInfo:c}=m();b("tel",null);const{cmsSetting:q}=f(p());v();const J=R((()=>y())),K=w();j(),P(),x();const Q=h();_();const W=O(),{captchaPayload:Z,ensureToken:ee}=k("login"),ae=T("login"),se=T(""),oe=T(null);R((()=>L.lightTheme.includes(J.value))),R((()=>2===l.setting.setting.register_setting_type)),R((()=>{var e,a;return(null==(a=null==(e=null==l?void 0:l.data)?void 0:e.setting_items)?void 0:a.find((e=>1===e.status)))||{}})),o("loginPage.login"),o("loginPage.subscribtion");const le=()=>{ae.value="forgotpwd"},te=e=>{(null==e?void 0:e.needVerification)&&(se.value=e.lineId,ae.value="verify")},ne=async()=>{if(!oe.value)return;const e=oe.value.getFormData();await(async e=>{var o,l,t;try{await ee();const n=i((l=i({},e),t={token:(null==(o=Z.value)?void 0:o.token)||(null==e?void 0:e.token)||""},a(l,s(t))),Z.value),r=await W.handleLoginFlow(n);return r&&r.needVerification&&(se.value=r.lineId,ae.value="verify"),r}catch(n){}})({username:e.username,password:e.password})};return F(((e,a,s)=>{K.closeAll(),s()})),U(ae,(e=>{C(o("login"===e?"loginPage.login":"loginPage.subscribtion"))}),{deep:!0,immediate:!0}),(e,a)=>{var s,l,t,n;const i=r,c=S;return z(),$("div",null,[A(i),D("div",M,[D("div",N,[D("div",X,[A(I,{class:""})]),a[1]||(a[1]=D("p",{class:"text-primary text-xl font-bold text-center"},"ยินดีต้อนรับสู่เว็บไซต์",-1)),A(G,{ref_key:"loginFormRef",ref:oe,"is-show-login":!1,"is-show-remember-me":!0,"is-show-forgot-password":!0,onSuccess:te,onForgotPassword:le},null,512),D("div",Y,[A(c,{class:"w-full btn-secondary",label:e.$t("loginPage.login"),disabled:!(null==(l=null==(s=H(oe))?void 0:s.form)?void 0:l.username)||!(null==(n=null==(t=H(oe))?void 0:t.form)?void 0:n.password),type:"btn-secondary",size:"lg",onClick:ne},{default:E((()=>[V(B(H(o)("loginPage.login")),1)])),_:1},8,["label","disabled"]),A(c,{class:"w-full",label:H(o)("loginPage.subscribtion"),type:"btn-secondary",size:"lg",onClick:a[0]||(a[0]=e=>H(Q).isRegisterModal(!0))},{default:E((()=>[V(B(H(o)("loginPage.subscribtion")),1)])),_:1},8,["label"])])])])])}}},[["__scopeId","data-v-fc1deb3b"]]);export{q 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.