1import{l as h,m as w,n as m,M as b,u as R,N as _,o as P,f as A,a as y,b as o,h as u,p,q as S,J as E,P as s}from"./zGN25SIG.js";const k={class:"bg-[#1c1c1e] h-full"},v={class:"loading-overlay"},L={class:"flex justify-center items-center"},I=["src"],q={__name:"login",setup(U){const{setLocale:c}=h(),n=w(),l=m();l.setAuthenticated(!1);const a=b(),d=R(),r=_(),g=async()=>{n.setEmbedMode(!0);const{ott:t,lang:i}=d.query;if(!t)return a.replace(r({name:"login"}));const{succ:f,data:e}=await E.quickPayLogin(t);if(!f)return a.replace(r({name:"login"}));await l.setAuthenticated(!0,e.token,e.user,e.orgId),i?await c(i):await c(l.activeLanguage),n.setEmbedMode(!0,e.action,i),e.action==="deposit"?await a.replace({path:"/"+s.DEPOSIT}):e.action==="withdraw"?await a.replace({path:"/"+s.WITHDRAWAL}):e.action==="history"?await a.replace({path:"/"+s.HISTORY}):e.action==="rank"?await a.replace({path:"/"+s.RANK}):e.action==="ucoin"?await a.replace({path:"/"+s.REWARDS}):e.action==="reward"?await a.replace({path:"/"+s.REWARDS}):e.action==="referral"?await a.replace({path:"/"+s.REFERRAL}):window.close()};return P(()=>{g()}),(t,i)=>(y(),A("div",{class:"w-full h-full bg-cover bg-center",style:S({backgroundImage:`url(${("getPublicUrl"in t?t.getPublicUrl:u(p))("/images/login-backdrop.webp")})`})},[o("div",k,[o("div",v,[o("div",L,[o("img",{src:("getPublicUrl"in t?t.getPublicUrl:u(p))("/images/play-loading.gif"),alt:"Loading",class:"max-w-[420px]"},null,8,I)])])])],4))}};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.