1import{_ as e}from'./AppHeader.vue_vue_type_script_setup_true_lang-BBSFNGRg.js';/* empty css */import{f as a,u as s,c as t}from'./use-helper-0uaKdRkp.js';import{u as r,a7 as i,P as o,J as p}from'./router-G8QecHxs.js';import{u as l}from'./use-crypto-CkizMN_8.js';import{l as m,a as n,f as u,N as c,w as d,R as v,k as g,X as f,Y as y,F as _,Z as x,u as j,a1 as w,M as h,U as G}from'./vendor-vue-PrZjxzdu.js';import{a as b}from'./vant-D0wJLC7X.js';import'./index-CrWCx5FQ.js';import'./vendor-utils-C8M3dJTb.js';import'./use-emitter-C_oNMCkI.js';import'./use-user-DNoP8E0n.js';import'./use-secure-DjH-S5Zr.js';import'./use-image-vDNpur_E.js';import'./use-version-yhz4yb9Y.js';import'./use-game-BSxu_11L.js';import'./use-language-JeHkxM7X.js';/* empty css */import'./GoBackButton.vue_vue_type_script_setup_true_lang-CpalaY3X.js';const k={class:'game-center-list-page page-content has-header'},z={class:'flex w-full flex-wrap justify-evenly pb-1'},C=['onClick'],L={class:'flex w-[50%] items-center'},q=['src','alt'],P={class:'w-[50%] flex-col text-center'},T={class:'font-bold'},U={class:'text-[13px] text-gray-600'},A=m({__name:'index',setup(m){const{getRealGameList:A,realGameList:B}=a(),{encodeUrlQueryString:H}=l(),{encryptGameUrl:R}=s(),{openLoginPopup:Z}=t(),F=r(),J=c(),M=h(),N=n(''),{goToGame:Q}=a(),S=u((()=>{var e;return null==(e=J.params)?void 0:e.gameCenterCategory})),X=[{name:'\u89c6\u8baf\u4f53\u80b2',category:i.zrsx},{name:'\u68cb\u724c\u7535\u5b50',category:i.qpdz},{name:'\u6355\u9c7c\u6e38\u620f',category:i.catchfish},{name:'\u7535\u5b50\u6e38\u620f',category:i.eGame},{name:'\u68cb\u724c\u6e38\u620f',category:i.chess},{name:'\u7535\u5b50\u7ade\u6280',category:i.esport}].map((e=>({...e})));d((()=>S.value),(async()=>{const e=X.find((e=>e.category===S.value));e&&(N.value=e.name),S.value===i.zrsx?await A([p.real,p.sport]):S.value===i.qpdz?await A([p.card,p.game,p.fish]):S.value===i.catchfish?await A([p.fish]):S.value===i.eGame?await A([p.game]):S.value===i.chess?await A([p.card]):S.value===i.esport&&await A([p.esport])}),{immediate:!0});return(a,s)=>(G(),v(_,null,[g(e,null,{default:y((()=>[f('span',null,w(j(N)),1)])),_:1}),f('div',k,[f('div',z,[(G(!0),v(_,null,x(j(B),((e,s)=>(G(),v('div',{key:s,class:'game-item mt-1 flex w-[46%] items-center rounded-md bg-[var(--home-element-bg)] p-1',onClick:a=>(async e=>{if(!e.supportTrial&&F.isTest)return b('\u8bd5\u73a9\u8d26\u53f7\u65e0\u6cd5\u8fdb\u5165\u6b64\u6e38\u620f'),Z();await Q(e.id??'',void 0,(async a=>{const s=H(a);e.isPopup?M.push({name:o.GameList,params:{id:e.id},query:{title:e.title}}):a&&window.open(R.value?s:a)}))})(e)},[f('div',L,[f('img',{src:e.pic,alt:e.title,class:'h-[65px] w-[65px] max-w-[65px]'}
1,null,8,q)]),f('div',P,[f('p',T,w(e.title),1),f('p',U,w(a.$t('app.playnow','\u7acb\u5373\u6e38\u620f')),1)])],8,C)))),128))])])],64))}});export{A 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.