PageSourceSearch

https://www.goat77b.com/_nuxt/index-89d68cb0-179092878.js

js goat77b.com collected 2026-10-05 03:19:46 UTC 4,948 bytes, 2 lines download raw bytes

1import{_ as Q}from"./MerchantMarqueeAnnounce-11db7979-179092878.js";import{c as X,n as Z,A as ee,a as ae,u as re,z as se,o as te,x as oe}from"./entry-f63cb443-179092878.js";import{_ as ne}from"./MerchantHome-438e8bab-179092878.js";import{_ as ie}from"./AppModal-4d4cc4f8-179092878.js";import{P as le,W as ce,aH as de,w as ue,a as me,ab as s,ac as t,B as r,aD as h,aE as $,av as c,ah as d,az as C,aA as E,af as A,ay as k,N as I,e as m,r as G,M as pe}from"./vendor-nuxt-8f7c6603-179092878.js";import{_ as _e}from"./app_tag-f4968973-179092878.js";import"./vendor-swiper-0072353e-179092878.js";import"./CardSlider-b37bae53-179092878.js";import"./PaginationGame-aa0853d0-179092878.js";import"./MerchantHomeGameContainerMobile-e8efc65b-179092878.js";import"./MerchantFooterSEO-f7ed42f1-179092878.js";import"./PasswordInput-4df9549e-179092878.js";const ge={class:"h-full"},ve={class:"container"},fe={class:"relative py-5"},ye={key:0,class:"egames_img is_jw8_special"},be={key:2,class:"game_box relative"},he={key:0,class:"loading_bg !z-20"},ke=["onClick","aria-label"],we={class:"egames-provider-box"},Me=["src","alt"],Ne=["src","alt"],xe={key:0,class:"ratio-info-text"},De={key:3,class:"game_box relative"},Se={__name:"MerchantEgames",setup(R){const{isMobile:p}=le(),_=pe(),i=Z(),g=ee(),v=ae(),w=re(),l=se(),{$pub:u,$resolveUrl:M}=I(),{locale:N,locales:x}=ce(),{localeCurrency:D}=te(),B=de(()=>{l.ready&&(!v.loggedIn||v.loggedIn&&w.ready)&&(g.getGames("egames"),B())},{flush:"post"});ue(()=>v.loggedIn,()=>{g.getGames("egames")});const H=e=>e?M(`{d}game/games/egames/${e.toUpperCase()}/DD.webp`):u("/img/logo.png"),P=e=>e?M(`{d}game/provider-dropdown/${e.toUpperCase()}.webp`):u("/img/logo.png");me(()=>{p||window.scrollTo(0,0)});const U=m(()=>{if(l.ready&&g.egames&&g.egames.ready&&g.egames.list&&l.data&&l.data.egames){var e=[],a=l.data.egames.filter(o=>o.mobile_status=="1");for(let o=0;o<a.length;o++)e.push(a[o]);return e}return[]}),{$api:T,$toast:V}=I(),y=G(!1),b=G({provider:"",provider_name:"-",username:"-",password:"-",url:"-",provider_data:null}),j=async e=>{if(!v.loggedIn){i.loginModal=!0;return}if(i.loadingGame!=!0){if(i.loadingGame=!0,!v.loggedIn&&e.url&&e.url!="")b.value={provider:e.providerName.toUpperCase(),provider_name:e.display_name,username:"",password:"",url:e.url,provider_data:e};else{const a=await T("mobile/mobile-login",{provider_id:e.id,currency:D.value});if(!a.status){i.loadingGame=!1,V(!1,a.msg);return}b.value={provider:e.providerName.toUpperCase(),provider_name:e.display_name,username:a.data.username,password:a.data.password,url:a.data.url,play_link:a.data.play_link,provider_data:e}}y.value=!0,i.loadingGame=!1}},S=m(()=>{var a;if(_.public.MERCHANT=="jw8"&&x.value&&N.value){var e=(a=x.value.find(o=>o.code==N.value))==null?void 0:a.currency;return!!(e&&e=="MYR"||e&&e=="SGD")}return!1}),z=m(()=>S.value||_.public.MERCHANT=="dis88"?u("/img/category_background/bg_egames.webp"):u("/img/bg_egames.webp")),L=m(()=>!!(S.value||_.public.MERCHANT=="dis88")),O=m(()=>{var o;const e=_.public.MERCHANT,a=(o=w.data)==null?void 0:o.currency;return e==="jw8"&&a==="IDR"||e==="champ191"&&["IDR","VND"].includes(a)}),W=m(()=>({background:i.vpn_tag_color,padding:"4px"}));return(e,a)=>{const o=Q,q=oe,F=ne,Y=ie;return s(),t("div",ge,[r(p)?d("",!0):(s(),t("div",{key:0,class:"h-full bg-cover bg-center",style:h(`background-image: url(${r(z)})`)},[$(o),c("div",ve,[c("div",fe,[r(L)?(s(),t("div",ye)):(s(),t("div",{key:1,class:"egames_img",style:h(`background-image: url(${r(u)("/img/egames_img.webp")})`)},null,4)),r(l).ready?(s(),t("div",be,[r(i).loadingGame?(s(),t("div",he,[$(q)])):d("",!0),(s(!0),t(C,null,E(r(U),(n,J)=>(s(),t("div",{key:J,class:"relative"},[c("button",{onClick:f=>j(n),type:"button",class:"btn_egames","aria-label":`${n.providerName}`},[a[1]||(a[1]=c("div",{class:"btn_egames_aspect_ratio"},null,-1)),c("div",we,[c("img",{class:"egames-provider-img",src:H(n.providerName),alt:`${n.providerName}_GAME`},null,8,Me),c("img",{class:"egames-provider-logo",src:P(n.providerName),alt:`${n.providerName}_LOGO`},null,8,Ne)])],8,ke),r(l).meta[n.category][n.providerName]&&r(l).meta[n.category][n.providerName].show_vpn==1?(s(),t("img",{key:0,class:"vpn_tag select-none",draggable:"false",src:_e,alt:"vpn_tag",style:h(r(W))},null,4)):d("",!0),r(O)?(s(!0),t(C,{key:1},E(r(l).data.egames,(f,K)=>(s(),t("div",{key:K},[f.providerName==n.providerName&&f.ratio?(s(),t("div",xe,A(r(D))+" "+A(f.ratio)+" = 1",1)):d("",!0)]))),128)):d("",!0)]))),128))])):(s(),t("div",De,[...a[2]||(a[2]=[c("div",{class:"skeleton h-[200px] w-full"},null,-1)])]))])])],4)),r(p)?(s(),k(F,{key:1,category:"egames"})):d("",!0),r(p)?d("",!0):(s(),k(Y,{key:2,show:r(y),appModalData:r(b),onClose:a[0]||(a[0]=n=>y.value=!1)},null,8,["show","appModalData"]))])}}},$e=X(Se,[["__scopeId","data-v-7ca7da40"]]),je={__name:"index",setup(R){return(p,_)=>{const i=$e;return s(),k(i)}}};export{je as default};
2//# sourceMappingURL=index-89d68cb0-179092878.js.map

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.