www.99brl2.com
Open in
urlscan Pro
163.181.130.190
Public Scan
Submitted URL: http://www.99brl2.com/assets/home@theme=2.776a833efd0340c6c2d9.js
Effective URL: https://www.99brl2.com/assets/home@theme=2.776a833efd0340c6c2d9.js
Submission: On August 23 via api from US — Scanned from DE
Effective URL: https://www.99brl2.com/assets/home@theme=2.776a833efd0340c6c2d9.js
Submission: On August 23 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
(self.webpackChunkmy_vue_app=self.webpackChunkmy_vue_app||[]).push([[16274],{66678:function(t,e,i){var r=i(85990);t.exports=function(t){return r(t,4)}},7866:function(t,e,i){"use strict";i.d(e,{Z:function(){return b}});var r,a=i(38821),s=i(88763),o=i(71743),n=i(91475),l=i(12832),c="XFK0iYuGpTEPpLYESUXw",m="CH_xzSEAgdugBdrl1AsX",p="HcPZMxqX6VZ2M6FLvXHe",u="BRM70sWfE4navRUtY5_R",d="F8i5tFbWjmexIj2XG0fe",h="Qedsx9wPsgcISqKIppUJ",g="OHhoTqB6BMU9nYSAlWpT",y="NPT10fC3_2oCDBXYwF_h";let b=(0,a.wA)({name:"Theme1HeaderHoliday"})(r=class extends a.XY{renderHoliday(){const t=this.$createElement,{isWeb:e,hasLogined:i}=(0,n.h)(),r={[s.By.NationalDay]:{width:e?120:140,height:e?67:90,class:p,srcPath:e?"/lobby_asset/festival/{holiday}/common/web/apng_top_jr2.png":"/lobby_asset/festival/{holiday}/common/web/apng_top_jr3.png"},[s.By.MidAutumn]:{width:e?80:230,height:e?70:90,class:i?m:c},[s.By.MotherOfGod2]:{width:150,height:75,class:d},[s.By.MotherOfGod]:{width:e?117:129,height:e?80:89,class:u},[s.By.Dussehra]:{width:140,height:74,class:c},[s.By.HalloweenPurple]:{width:70,height:75,class:h},[s.By.HalloweenBlue]:{width:70,height:75,class:g}},a={width:e?203:230,height:e?80:89,class:y,srcPath:"/lobby_asset/festival/{holiday}/common/web/apng_top_jr_alpha.png"},b=r[l.Z.holidayThemeType]||a,f=b?.srcPath??a.srcPath;return t("apng-canvas",{attrs:{width:b.width,height:b.height,src:`${(0,o.Cj)(f)}`},class:b.class})}render(){const t=arguments[0];return l.Z.isHolidayThemeVisible?this.renderHoliday():t("template")}})||r},87305:function(t,e,i){"use strict";i.d(e,{t:function(){return x},Z:function(){return D}});var r=i(53158),a=i(55433),s=i(12040),o=i(38821),n=i(46851),l=i(91475),c=i(11494),m=i(41095);var p,u,d,h,g,y,b,f,C,w,v,S,I,Z,k,L,T,z,P,_,A,B={"list-one":"uQNZtvR6K74JV8XnzP22","is-fill-height":"EmhWoyq6ztlb1Nca7je3","list-inner":"GxgwkCvttZVowEDMNx4F",empty:"wkUNL_3qHVM6oQrOlBqJ","list-inner-nowrap":"Nib0R8DKezit0jkM21Sc","card-count-1":"h1asW6tFNEwVZrqFKm9Q","card-count-2":"FmosireZHUkYUoq9Rdns","card-count-3":"ICgQGY67ibm3HMijW7FG","card-count-4":"cvxrIpVSFEGTfPWXGmRw","card-count-5":"CCdA9A8uUl5jm7WE2VpY","card-count-6":"xBu5Tg_vaUSQJfPdCT_F","card-count-7":"pdc_1yzxEHUZ7EnyrpFC","card-count-8":"LoT41ysTEPkQq6ivgbQk","card-count-9":"x6H42i9UFDkXQ2LW_D_W","card-count-10":"X3fFX32azbKVCD07avwB",common_bganimation:"eBLBDYdPD08FV9zsVCxB"};const x=class{constructor(...t){const{isWeb:e}=(0,l.h)();e?this.initPC(...t):this.initH5(...t)}};let D=(p=(0,o.wA)({name:"ListOne"}),u=(0,o.tB)({from:"setPagationLayoutStyle",default:null}),d=(0,o.fI)({default:"auto"}),h=(0,o.fI)({default:void 0}),g=(0,o.fI)({default:20}),y=(0,o.fI)({default:20}),b=(0,o.fI)({default:!1}),f=(0,o.fI)({default:!1}),C=(0,o.RL)("listInnerStyle"),w=(0,o.RL)("leftRightSpacing"),v=(0,o.RL)("rootFontSize",{immediate:!0}),p((A=class extends((0,o.Wr)(o.XY,m.Z)){constructor(...t){super(...t),(0,r.Z)(this,"setPagationLayoutStyle",Z,this),(0,r.Z)(this,"width",k,this),(0,r.Z)(this,"rowCardCount",L,this),(0,r.Z)(this,"leftRightSpacing",T,this),(0,r.Z)(this,"topBotSpacing",z,this),(0,r.Z)(this,"isNoWrap",P,this),(0,r.Z)(this,"isEmpty",_,this)}mounted(){this.setPagationByPropsChange()}setPagationByPropsChange(){if(!this.setPagationLayoutStyle)return;const{val:t,unit:e}=this.calculatLocalSize(this.leftRightSpacing);this.setPagationLayoutStyle({width:this.localWidth,gap:`${t}${e}`})}get rootFontSize(){return(0,l.h)().rootFontSize}recalculateGridSizeByRootFontSize(){this.calculateGridSize()}calculateGridSize(){const t=window.getComputedStyle(document.querySelector("html")).fontSize,{val:e}=this.calculatLocalSize(t),i=this.baseUnit/e,{val:r}=this.calculatLocalSize(this.width),{val:a}=this.calculatLocalSize(this.leftRightSpacing),s=(r+a)/this.rowCardCount,o=s/i*100;this.$emit("getGridSize",{widthRem:s,widthPx:o})}get localWidth(){let t;return t="number"==typeof this.width?this.width/this.baseUnit+this.unit:this.width,t}get listInnerStyle(){const t={},{leftRightSpacing:e,topBotSpacing:i}=this,r=this.calculateHalfSpacing(i),a=this.calculateHalfSpacing(e);return t["--cardRowSpacing"]=r,this.rowCardCount||(t["--cardColSpacing"]=a),t.margin=`-${r} -${a}`,t}calculateHalfSpacing(t){const{val:e,unit:i}=this.calculatLocalSize(t);return e/2+i}calculatLocalSize(t){const e={val:0,unit:""};return"number"==typeof t?(e.val=t/this.baseUnit,e.unit=this.unit):/^\d+(\.\d+)?(rem|px)/.test(t)&&(e.unit=t.replace(/[0-9.]/g,""),e.val=parseFloat(t.replace(/(px|rem)/g,""))),e}render(){const t=arguments[0],{rowCardCount:e}=this;return!this.isEmpty&&this.$slots?.default?t("div",{class:{[B["list-one"]]:!0},style:{width:this.localWidth}},[t("div",{style:this.listInnerStyle,class:{[B["list-inner"]]:!0,[n.CM.CssClassName.Lobby.CardScrollWrapList]:!0,[B["list-inner-nowrap"]]:this.isNoWrap,[B[`card-count-${e}`]]:Boolean(e)}},[this.$slots?.default])]):t(c.Z,{class:[B.empty,B.empty,B.empty,"empty"]})}},(0,a.Z)(A,"OccupiedEmpty",c.Z),I=A,Z=(0,s.Z)(I.prototype,"setPagationLayoutStyle",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,s.Z)(I.prototype,"width",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,s.Z)(I.prototype,"rowCardCount",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,s.Z)(I.prototype,"leftRightSpacing",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,s.Z)(I.prototype,"topBotSpacing",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,s.Z)(I.prototype,"isNoWrap",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,s.Z)(I.prototype,"isEmpty",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(I.prototype,"setPagationByPropsChange",[C,w],Object.getOwnPropertyDescriptor(I.prototype,"setPagationByPropsChange"),I.prototype),(0,s.Z)(I.prototype,"recalculateGridSizeByRootFontSize",[v],Object.getOwnPropertyDescriptor(I.prototype,"recalculateGridSizeByRootFontSize"),I.prototype),S=I))||S)},11494:function(t,e,i){"use strict";i.d(e,{Z:function(){return y}});var r,a,s,o,n,l=i(53158),c=i(12040),m=i(38821),p=i(7174),u=i(95692),d=i(96309),h=i(58217),g="cCoRStWaFNFNLpurUiT_";let y=(r=(0,m.wA)({name:"OccupiedEmpty"}),a=(0,m.fI)(),r((o=class extends m.XY{constructor(...t){super(...t),(0,l.Z)(this,"description",n,this)}render(){const t=arguments[0],{t:e}=(0,h.QT)(),{gameListLoading:i}=(0,d.g)();return i?t("div",{class:g}):t(p.HY.Tsx,{class:g,attrs:{description:this.description||e("lobby.game.empty"),image:t(u.h)}})}},n=(0,c.Z)(o.prototype,"description",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=o))||s)},33032:function(t,e,i){"use strict";i.d(e,{Z:function(){return Y}});var r,a,s,o,n,l,c,m,p,u,d,h,g,y,b,f,C,w,v,S=i(53158),I=i(55433),Z=i(12040),k=i(38821),L=i(2046),T=i(34731),z=i(6507),P=i(46851),_=i(35550),A=i(71743),B=i(58217),x=i(91475),D="gZWNp8yfCa84SbK1isUh",G="wY5cQRReU5XF7mcZOsb4",O="B8h34J8oKdTmI8VELwQ3",M="O4Exl7jFIyjCQGk0s0Sv",F="WFgu2pa99tD_NlYB8xOo",H="lk2OxhaBJDBCva3nISZB",N="plO6pIFSxKrt8aVT2EX4",R="wktjOaCrpzqHHOxI5yTA",E="v5xQIYMIIMxyM1eJJSwE",U="H87B4axJGqNd_9cwzGfc",V="SeDomwcGzD2t8x0zphzR",W="FdnK8RvedNix97XLNlIT",$="TZvEr2Cdg_SKGz9SL_gj";let Y=(r=(0,k.wA)({name:"Pagation"}),a=(0,k.fI)({default:1}),s=(0,k.fI)(),o=(0,k.fI)({default:0}),n=(0,k.fI)({default:!1}),l=(0,k.fI)({default:[]}),c=(0,k.fI)({default:0}),m=(0,k.DF)("setPagationLayoutStyle"),p=(0,L.Debounce)(100),u=(0,L.Bind)(),d=(0,L.delay)(1e3),r((g=class extends k.XY{constructor(...t){super(...t),(0,S.Z)(this,"cardCount",y,this),(0,S.Z)(this,"gameCategoryId",b,this),(0,S.Z)(this,"stepWidth",f,this),(0,S.Z)(this,"noTitle",C,this),(0,S.Z)(this,"listData",w,this),(0,S.Z)(this,"displayDataSize",v,this),(0,I.Z)(this,"gridLayoutStyle",{width:"initial",gap:"initial"}),(0,I.Z)(this,"currentData",[]),(0,I.Z)(this,"isDragging",!1),(0,I.Z)(this,"startX",0),(0,I.Z)(this,"isLeft",!0),(0,I.Z)(this,"isRight",!1),(0,I.Z)(this,"isLoading",!1)}setLayoutStyle(t){this.gridLayoutStyle=t}get step(){return this.stepWidth?this.stepWidth:this.container.offsetWidth}mounted(){this.initContainer()}updated(){this.setMinStep()}caculateList(){this.listData.length>this.displayDataSize&&this.listData.length%this.displayDataSize!=0&&(this.listData=[...this.listData,...this.listData.slice(0,this.displayDataSize-this.listData.length%this.displayDataSize)]);const t=Math.ceil(this.listData.length/this.displayDataSize);return new Array(t).fill("")}initContainer(){this.$nextTick((()=>{this.container=this.$el.querySelector(".scroll-pagation-container-inner"),this.container.addEventListener("scroll",this.scrollChange),this.setScrollStatus(),this.setMinStep()}))}setMinStep(){this.$nextTick((()=>{const t=this.$el.querySelectorAll(`.${P.CM.CssClassName.Lobby.CardScrollWrapList}`);for(let e=0;e<t.length;e++){const i=t[e];if(!i.style.cssText.includes("grid-template-columns")){const t=`grid-template-columns: repeat(${this.cardCount}, 1fr);`;i.style.cssText+=t}}}))}beforeDestroy(){this.removeEvtListener(),this.container.removeEventListener("scroll",this.scrollChange)}scrollChange(){this.setScrollStatus()}setScrollStatus(){this.isRight=this.container.scrollLeft+this.container.clientWidth>=this.container.scrollWidth-80,this.isLeft=this.container.scrollLeft<=80}mousedownHandler(t){this.isLoading||(this.isDragging=!0,this.startX=t.clientX,this.container.style.cursor="grabbing")}mousemoveHandler(t){if(!this.isDragging||this.isLoading)return;const e=t.clientX-this.startX;this.container.scrollLeft-=e}mouseupHandler(){this.isDragging=!1,this.container.style.cursor="grab"}removeEvtListener(){this.container.removeEventListener("mousedown",this.mousedownHandler),this.container.removeEventListener("mousemove",this.mousemoveHandler),this.container.removeEventListener("mouseup",this.mouseupHandler)}toLeftOrRight(t){this.container&&(t&&!this.isRight&&(this.container.scrollLeft+=this.step),t||this.isLeft||(this.container.scrollLeft-=this.step),this.setScrollStatus())}renderTitle(){const t=this.$createElement,{t:e}=(0,B.QT)(),i="comm_icon_fy_jt";return t("div",{class:[F,"titleWrap"]},[t("div",{class:H},[!this.noTitle&&(this.$scopedSlots.title?this.$scopedSlots.title?.():t("div",{class:W},[t("div",{class:[$,"leftTitle"]},[(new _.C).getGameCategoryImg(this.gameCategoryId,!0),(0,x.h)().isCn&&e("lobby.game.menue")])]))]),this.$scopedSlots.holidayApng?.(),this.listData.length>0&&(this.$scopedSlots.pagation?this.$scopedSlots.pagation?.():t("div",{class:[N,"pagation"]},[t("span",{class:{[R]:!0,[U]:this.isLoading||this.isLeft},on:{click:()=>{this.toLeftOrRight()}}},[t("icon-sprite",{attrs:{sprite:(0,A.T9)(i)}})]),t("span",{class:V,on:{click:()=>this.gameCategoryId===T.ck.Hot?z.Nh.goSubGameHotPage():z.Nh.goSubGamePage(this.gameCategoryId,`${this.gameCategoryId}${T.Jj}`)}},[e("lobby.game.loadingAll")]),t("span",{class:{[E]:!0,[U]:this.isLoading||this.isRight},on:{click:()=>{this.toLeftOrRight(!0)}}},[t("icon-sprite",{attrs:{sprite:(0,A.T9)(i)}})])]))])}render(){const t=arguments[0];return t("div",{class:D},[this.$scopedSlots.toTitle?.(),this.renderTitle(),this.$scopedSlots.topContent?.(),t("div",{class:[G,"scroll-pagation-container"]},[t("div",{class:O},[t("div",{style:this.gridLayoutStyle,class:[M,"scroll-pagation-container-inner"]},[this.$scopedSlots?.gameListBox?.({data:this.listData,tempArr:this.caculateList()}),this.$scopedSlots.content?.()])])])])}},y=(0,Z.Z)(g.prototype,"cardCount",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,Z.Z)(g.prototype,"gameCategoryId",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,Z.Z)(g.prototype,"stepWidth",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,Z.Z)(g.prototype,"noTitle",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,Z.Z)(g.prototype,"listData",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,Z.Z)(g.prototype,"displayDataSize",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,Z.Z)(g.prototype,"setLayoutStyle",[m],Object.getOwnPropertyDescriptor(g.prototype,"setLayoutStyle"),g.prototype),(0,Z.Z)(g.prototype,"scrollChange",[p,u],Object.getOwnPropertyDescriptor(g.prototype,"scrollChange"),g.prototype),(0,Z.Z)(g.prototype,"setScrollStatus",[d],Object.getOwnPropertyDescriptor(g.prototype,"setScrollStatus"),g.prototype),h=g))||h)},38781:function(t,e,i){"use strict";i.d(e,{VB:function(){return Rt.Z},Ys:function(){return ye},uw:function(){return Ke},C1:function(){return js},KC:function(){return wn}});var r=i(53158),a=i(55433),s=i(12040),o=i(38821),n=i(34731),l=i(7174),c=i(71743),m=i(91475);let p,u;!function(t){t.Vertical="vertical",t.Square="square",t.Landscape="landscape"}(p||(p={})),function(t){t.Game="game",t.Platform="platform"}(u||(u={}));const d=(t,e,i)=>{let r={};if(i){r={...i};for(const i in r)"function"==typeof r[i]&&(i.startsWith("handle")||(r[i]=r[i](t,e)))}return r};var h=i(6507),g=i(39362),y=i(65074),b=i(31283),f=i(90803);const C=(t,e)=>{throw new Error("并未扩展【GameItem】的样式渲染!")},w=(t,e)=>{throw new Error("并未扩展【AnchorHot】的样式渲染!")},v=(t,e)=>{const i={imgUrl:t.platformIcon,isCompleteImage:!0,inCardRenderCategory:u.Platform,isCustomIcon:t.isCustomIcon,isImgBackgroundOpacity:t.isImgBackgroundOpacity,gameName:t.brand,logoUrl:t.platformLogo,description:t.slogan,categoryId:t.gameCategoryId,isMaintain:t.maintainStatus,isShowFavorited:!1,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},r=d(t,i,e);return Object.assign(i,r)},S=(t,e)=>{const{imgUrl:i,isCompleteImage:r}=(()=>{const e={},{gameIconLarge:i,largeIcon:r,gameIcon:a}=t;return Boolean(t.customLargeIcon)?(e.imgUrl=r||i,e.isCompleteImage=!0):(e.imgUrl=i||r||a,e.isCompleteImage=!1),e})(),a={imgUrl:i,isCompleteImage:r,inCardRenderCategory:u.Platform,gameName:t.brand||t.gameName,logoUrl:t.logo,description:t.slogan,status:t.recommendStatus?"remenber":void 0,categoryId:t.gameCategoryId,isMaintain:t.maintainStatus,isShowFavorited:!1,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},s=d(t,a,e);return Object.assign(a,s)};var I,Z,k,L,T,z,P,_,A,B,x,D,G,O,M,F,H,N,R,E,U,V,W,$,Y,X,j,K,q,Q,J,tt,et,it,rt,at,st,ot,nt,lt,ct,mt,pt,ut,dt;let ht=(I=(0,o.wA)({name:"BasePropsConfig"}),Z=(0,o.fI)({default:p.Landscape}),k=(0,o.fI)(),L=(0,o.fI)(),T=(0,o.fI)(),z=(0,o.fI)(),P=(0,o.fI)(),_=(0,o.fI)(),A=(0,o.fI)(),B=(0,o.fI)(),x=(0,o.fI)(),D=(0,o.fI)({default:!1}),G=(0,o.fI)({default:!1}),O=(0,o.fI)({default:!1}),M=(0,o.fI)({default:!1}),F=(0,o.fI)({default:!0}),H=(0,o.fI)(),N=(0,o.fI)({default:!1}),R=(0,o.fI)(),E=(0,o.fI)(),U=(0,o.fI)(),V=(0,o.DF)("cardProps"),I((dt=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"inCardShape",Y,this),(0,r.Z)(this,"inCardRenderCategory",X,this),(0,r.Z)(this,"status",j,this),(0,r.Z)(this,"isFavorited",K,this),(0,r.Z)(this,"gameName",q,this),(0,r.Z)(this,"description",Q,this),(0,r.Z)(this,"imgUrl",J,this),(0,r.Z)(this,"logoUrl",tt,this),(0,r.Z)(this,"isJackpot",et,this),(0,r.Z)(this,"bgImg",it,this),(0,r.Z)(this,"isMaintain",rt,this),(0,r.Z)(this,"isCompleteImage",at,this),(0,r.Z)(this,"isCustomIcon",st,this),(0,r.Z)(this,"isImgBackgroundOpacity",ot,this),(0,r.Z)(this,"isShowFavorited",nt,this),(0,r.Z)(this,"categoryId",lt,this),(0,r.Z)(this,"isAtSwiper",ct,this),(0,r.Z)(this,"atSwiperDomId",mt,this),(0,r.Z)(this,"handleClickCard",pt,this),(0,r.Z)(this,"handleClickFavorIcon",ut,this)}get cardProps(){return this.$props}render(){return this.$slots.default}},(0,a.Z)(dt,"getProps",((t,e)=>g.w.isThisType(t)?v(t,e):f.Z.isThisType(t)?C(t,e):b.Z.isThisType(t)?w(t,e):S(t,e))),$=dt,Y=(0,s.Z)($.prototype,"inCardShape",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,s.Z)($.prototype,"inCardRenderCategory",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,s.Z)($.prototype,"status",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,s.Z)($.prototype,"isFavorited",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,s.Z)($.prototype,"gameName",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,s.Z)($.prototype,"description",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,s.Z)($.prototype,"imgUrl",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tt=(0,s.Z)($.prototype,"logoUrl",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),et=(0,s.Z)($.prototype,"isJackpot",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),it=(0,s.Z)($.prototype,"bgImg",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),rt=(0,s.Z)($.prototype,"isMaintain",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),at=(0,s.Z)($.prototype,"isCompleteImage",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),st=(0,s.Z)($.prototype,"isCustomIcon",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ot=(0,s.Z)($.prototype,"isImgBackgroundOpacity",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nt=(0,s.Z)($.prototype,"isShowFavorited",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),lt=(0,s.Z)($.prototype,"categoryId",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ct=(0,s.Z)($.prototype,"isAtSwiper",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mt=(0,s.Z)($.prototype,"atSwiperDomId",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=(0,s.Z)($.prototype,"handleClickCard",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ut=(0,s.Z)($.prototype,"handleClickFavorIcon",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)($.prototype,"cardProps",[V],Object.getOwnPropertyDescriptor($.prototype,"cardProps"),$.prototype),W=$))||W);var gt,yt,bt,ft,Ct,wt={"box-cut":"IU5SQmUrwh6_uAHMV52T","will-cut":"nHGxJOHzFe1VGOsQNUZA","type-vertical-default":"_DpYb3y9TtSv8Eg66q5M","is-recommend":"cls7ciT0NVTrFz1nG2E9","type-square-default":"gAY68UQc6PVCCCvgByA5","type-landscape-default":"z_cmxRWbtW2D6fwd30Gp",common_bganimation:"tULjFFc2ijDcT7V8z113"};const vt=window.abcdefg_open;let St=(gt=(0,o.wA)({name:"BoxCut"}),yt=(0,o.tB)(),gt((ft=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",Ct,this)}render(){const t=arguments[0],{inCardShape:e,status:i}=this.cardProps;return t("div",{attrs:{"data-cardInfo":vt?JSON.stringify(this.cardProps).replace(/"/g,"'"):void 0},class:{"box-cut":!0,[wt["box-cut"]]:!0,[wt[`type-${e}-default`]]:!0,[wt["is-recommend"]]:Boolean(i)}},[t("div",{class:[wt["will-cut"],"theme-will-cut","will-cut"]},[this.$slots?.default,this.$scopedSlots?.cutSuspense?.()]),this.$scopedSlots?.unCutSuspense?.()])}},Ct=(0,s.Z)(ft.prototype,"cardProps",[yt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),bt=ft))||bt);var It,Zt,kt,Lt,Tt,zt=i(58217),Pt=i(53579),_t={"mask-maintain":"fFW_uHsQoM95EC6sknGg","maintain-icon":"Er8QIwLLUvfiq7yndXjL","type-square-default":"PFBoZQRLbt9tF49i2BHc","type-vertical-default":"IKpWpX2P3AJNL_m_Rnpy","type-landscape-default":"h91nHCL6ZokvE8f4za9h",common_bganimation:"DNvsgLoUcU7kWGJN9aaj"};let At=(It=(0,o.wA)({name:"MaskMaintain"}),Zt=(0,o.tB)(),It((Lt=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",Tt,this)}get iconUrl(){const{homeLayoutInfos:t}=(0,m.h)();return`/lobby_asset/common/common/home/img_whz_style_${t?.commonConfig?.gameMaintenanceType||"1"}.png`}render(){const t=arguments[0],{t:e}=(0,zt.QT)(),{inCardShape:i,isAtSwiper:r,atSwiperDomId:a}=this.cardProps;return t("div",{class:{[_t["mask-maintain"]]:!0,[_t[`type-${i}-default`]]:!0},on:{click:t=>{t.stopPropagation(),Pt.Z.message({type:"warning",content:e("lobby.game.gameMaintainText")})}}},[t("my-img",{attrs:{options:{type:"div",lazy:!r,immediate:r},syncGroupsSrc:r,syncGroupsWrapId:a,src:this.iconUrl},class:[_t["maintain-icon"],"maintain-icon"]})])}},Tt=(0,s.Z)(Lt.prototype,"cardProps",[Zt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),kt=Lt))||kt);var Bt,xt,Dt,Gt,Ot,Mt,Ft,Ht,Nt={"landscape-left-right":"qfLD4MqwXf4cHc9IQlSj","size-default":"NSyb3DPjAuYcjZaglvw_","item-main":"hH3ZA7JzyDXI58Tosn_I","size-small":"XGUstYbedJR87xLneycn","main-content":"vZw8Qvuu63JqVulQEtq6","icon-back-ground":"Qobg6qsHChgbgfUNi_us","main-content-gaming":"kFv1YqkCiwBZydrrH_Sf","introduce-content-gaming":"f1GcljvwCLBxL_EYbMPd","gaming-warp":"bDb8bja3wLWYxhONeduA","gaming-image":"YorTAx6VYSb_JFSaKg0h",logo:"SdlrQATvNj9FbQlCgEni",arrow:"DWuwZxYM_DJfruB2EFOo",name:"jWtirmFGwYUClSHKLCYw","hover-name":"B0vLRmCKs9MeNE0hFpom","arrow-hover":"cJm6AEXosI_mpMgNtYOJ","introduce-content-gaming-hover":"plpqcMCrHcDxnMROB2Kg","introduce-gaming":"zjDffcL7FvMpfqtr1hKl","advertisement-image":"xWE_GNMa6s8iNknCtKzw","assembled-box":"NZWj0NdNjWwvSS_ah4FA","introduce-left":"ixpWzO1WC9sHVFz8YWVv",icon:"r2n3V2tEAmlV1VZWZHmD","icon-hover":"bhNUKz83_cQd4exbJd9a","introduce-right":"vKzAYGg6qeJZeTOWV2WT","label-game-status":"Jj32agTFPLwR8hkUdBbI","item-main-gaming":"w3APKeZJHlv7222uODDY","item-main-lottery":"ZGN1UHlOGPZE1ltegyk0","introduce-lottery":"J9EneWhuBAUPT0zi1R8n","introduce-content-lottery":"kSi5wofzX6zFxomtsBpg","content-lottery":"DdVQbITOog5cgocPIdUF","lottery-warp":"HNGcdfH9PIXooqQqtorK","item-main-sport":"yeFp8m_54bhyvbTh1Zev","introduce-sport":"MZDYcNDxhUxEcxMBecJW","introduce-content-sport":"MAzPItEWwdVmFuu1S8lH","content-sport":"BPsmvYjwYVr3gW9aGFew","sport-warp":"TitQKHgDd7gMLGlmcmkg","border-active":"Rfbk57XT1fzx48zWMETy","bg-active":"V3G1OCVxMgnawWX6VVd1",copywriting:"VFpM6kAC7S7e0raYElmA","show-bonus-pool":"SWYfxx1HSIvwpkBHOKFZ",description:"XkQs5i1W9RQBfcg91C1N","bonus-pool":"dICwZzvJlRIeJz9LaNdi",headline:"vZ5ScxaUq2xyeMzewRvB",common_bganimation:"dXDgk9BXWPaNRCyjv5Ch"};Bt=(0,o.wA)({name:"GalaxyLandscape"}),xt=(0,o.fI)({default:!1}),Dt=(0,o.fI)({default:"default"}),Bt((Ht=class extends((0,o.Wr)(o.XY,ht)){constructor(...t){super(...t),(0,r.Z)(this,"isIconBackGround",Mt,this),(0,r.Z)(this,"mySize",Ft,this),(0,a.Z)(this,"hover",!1)}renderCardWrapper(t){const e=this.$createElement,{isMaintain:i,mySize:r,isAtSwiper:a,atSwiperDomId:s}=this,{isWeb:o}=(0,m.h)();return e("div",{class:Nt["landscape-left-right"],on:{mouseenter:()=>this.hover=!0,mouseleave:()=>this.hover=!1}},[e("my-img",{attrs:{options:{type:"div",lazy:!a,immediate:a},src:"",syncGroupsSrc:a,syncGroupsWrapId:s},class:{[Nt["item-main"]]:!0,[Nt[`size-${r}`]]:!0,[Nt["item-main-gaming"]]:this.categoryId===n.ck.Gaming,[Nt["item-main-sport"]]:this.categoryId===n.ck.Sports,[Nt["item-main-lottery"]]:this.categoryId===n.ck.Lottery,[Nt["border-active"]]:this.categoryId===n.ck.Lottery&&this.hover,[Nt["bg-active"]]:this.categoryId===n.ck.Sports&&this.hover},on:{click:()=>this.$emit("click")}},[e(St,{attrs:{cssVarManagerMust:{"--box-cut-border-radius":o?"0":"0.2rem","--box-cut-border-width":o?"0":"2px","--box-cut-box-shadow":o?"none":"var(--theme-aside-box-shadow)"}}},[t,e("template",{slot:"cutSuspense"},[i&&e(At)])])])])}renderGamingContent(){const t=this.$createElement,{gameName:e,imgUrl:i,logoUrl:r,isIconBackGround:a}=this;return t("div",{class:{[Nt["main-content-gaming"]]:!0,[Nt["assembled-box"]]:!0,[Nt["icon-back-ground"]]:a}},[t("my-img",{attrs:{options:{type:"div"},src:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_dj_ddt.png"},class:Nt["introduce-gaming"]},[t("my-img",{class:Nt["advertisement-image"],attrs:{src:i,options:{type:"div"}}})]),t("div",{class:{[Nt["introduce-content-gaming"]]:!0,[Nt["introduce-content-gaming-hover"]]:this.hover}},[t("div",{class:{[Nt["gaming-warp"]]:!0}},[t("div",{class:{[Nt["gaming-image"]]:!0}},[r&&t("my-img",{attrs:{width:46,height:46,src:r,options:{type:"div"}},class:Nt.logo}),t("div",{class:[Nt.name,this.hover?Nt["hover-name"]:""]},[e]),t(l.JO.Tsx,{class:{[Nt.arrow]:!0,[Nt["arrow-hover"]]:this.hover},attrs:{component:{functional:!0,render:()=>t("icon-sprite",{attrs:{sprite:(0,c.T9)("icon_dt_dj_go")}})}}})])])])])}renderRealContent(){const t=this.$createElement,{gameName:e,description:i,imgUrl:r,logoUrl:a,isJackpot:s,isIconBackGround:o}=this;return t("div",{class:{[Nt["main-content"]]:!0,[Nt["assembled-box"]]:!0,[Nt["icon-back-ground"]]:o}},[t("my-img",{attrs:{options:{type:"div"},src:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_zr_ddt.png"},class:Nt["introduce-right"]},[t("my-img",{class:Nt["advertisement-image"],attrs:{src:r}})]),t("div",{class:Nt["introduce-left"]},[t("icon-sprite",{class:{[Nt.icon]:!0,[Nt["icon-hover"]]:this.hover},attrs:{sprite:(0,c.T9)("btn_zr")}}),t("div",{class:{[Nt.copywriting]:!0,[Nt["show-bonus-pool"]]:s}},[t("div",{class:Nt.headline},[a&&t("my-img",{class:Nt.logo,attrs:{src:a}}),t("div",{class:[Nt.name,this.hover?Nt["hover-name"]:""]},[e])]),t("div",{class:Nt.description},[i])])])])}renderLotteryContent(){const t=this.$createElement,{gameName:e,imgUrl:i,logoUrl:r,isIconBackGround:a}=this;return t("div",{class:{[Nt["introduce-content-lottery"]]:!0,[Nt["assembled-box"]]:!0,[Nt["icon-back-ground"]]:a}},[t("my-img",{attrs:{options:{type:"div"},src:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_cp_ddt.png"},class:Nt["introduce-lottery"]},[t("my-img",{class:Nt["advertisement-image"],attrs:{src:i}})]),t("div",{class:{[Nt["content-lottery"]]:!0}},[t("div",{class:{[Nt["lottery-warp"]]:!0}},[t("div",{class:[Nt.name,this.hover?Nt["hover-name"]:""]},[e]),r&&t("my-img",{attrs:{width:46,src:r},class:Nt.logo})])])])}renderSportContent(){const t=this.$createElement,{gameName:e,imgUrl:i,logoUrl:r,isIconBackGround:a}=this;return t("div",{class:{[Nt["introduce-content-sport"]]:!0,[Nt["assembled-box"]]:!0,[Nt["icon-back-ground"]]:a}},[t("my-img",{attrs:{options:{type:"div"},src:"/lobby_asset/{layout}-{bg}-{skin}/web/home/bg_ty_rktb.png"},class:Nt["introduce-sport"]},[t("my-img",{class:Nt["advertisement-image"],attrs:{src:i}})]),t("div",{class:{[Nt["content-sport"]]:!0}},[t("div",{class:{[Nt["sport-warp"]]:!0}},[r&&t("my-img",{attrs:{width:46,src:r},class:Nt.logo}),t("div",{class:[Nt.name,this.hover?Nt["hover-name"]:""]},[e])])])])}renderContent(){const{categoryId:t}=this;return t===n.ck.Real?this.renderRealContent():t===n.ck.Gaming?this.renderGamingContent():t===n.ck.Lottery?this.renderLotteryContent():t===n.ck.Sports?this.renderSportContent():this.renderGamingContent()}render(){return this.renderCardWrapper(this.renderContent())}},(0,a.Z)(Ht,"getProps",ht.getProps),Ot=Ht,Mt=(0,s.Z)(Ot.prototype,"isIconBackGround",[xt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ft=(0,s.Z)(Ot.prototype,"mySize",[Dt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Gt=Ot));var Rt=i(87305);class Et{static getInstance(){return Et.instance||(Et.instance=new Et),Et.instance}constructor(){this.bgPrePath="/lobby_asset/{layout}-{bg}-{skin}/web/home",this.noBgPrePath="/lobby_asset/{layout}-{bg}-common/web/home",this.bgImgMapper={[n.ck.Fish]:"/img_bg1_by.png",[n.ck.Lottery]:"/img_bg1_cp.png",[n.ck.Electronic]:"/img_bg1_dz.png",[n.ck.BlockChain]:"/img_bg1_qp-zr.png",[n.ck.Chess]:"/img_bg1_qp-zr.png",[n.ck.Real]:"/img_bg1_qp-zr.png",[n.ck.Sports]:"/img_bg1_by.png",[n.ck.Gaming]:"/img_bg1_by.png",[n.ck.Cockfighting]:"/img_bg1_qp-zr.png"}}static getBgImg(t,e=!0){try{const i=this.getInstance();return(e?i.bgPrePath:i.noBgPrePath)+i.bgImgMapper[t]}catch(i){return""}}}var Ut,Vt,Wt,$t,Yt,Xt="B2sbqHs25GEb7gTlHuAr",jt="GI7HW_KYGFUGWvsqzBRx",Kt="T0_ZZEQjLqf2QuL3C1DZ",qt="oP0o7CyudT6eQb7VLPT5",Qt="QY3M1Ti7e9K3q5YGzMaJ",Jt="M2jH4FHP5DfiUNlWcYJt";let te=(Ut=(0,o.wA)({name:"AdvertiseImgBox"}),Vt=(0,o.tB)("cardProps"),Ut(($t=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",Yt,this)}renderFloorsBackground(t){const e=this.$createElement,{bgImg:i,categoryId:r,isImgBackgroundOpacity:a}=this.cardProps;return e("my-img",{class:{[Xt]:!0,[Jt]:a,[Qt]:a},attrs:{options:{type:"div"},src:i||Et.getBgImg(r)}},[t])}renderAdvertiseImg(){const t=this.$createElement,{imgUrl:e,gameName:i,isCustomIcon:r,isImgBackgroundOpacity:a}=this.cardProps;return t("my-img",{class:{[jt]:!0,[Jt]:!a,[Qt]:!a},attrs:{src:e,options:{type:"div"}},on:{click:()=>this.$emit("click")}},[!r&&t("div",{class:{[Kt]:!0,[qt]:a}},[i]),this.$slots.default])}render(){const{isImgBackgroundOpacity:t}=this.cardProps;return t?this.renderFloorsBackground(this.renderAdvertiseImg()):this.renderAdvertiseImg()}},Yt=(0,s.Z)($t.prototype,"cardProps",[Vt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Wt=$t))||Wt);var ee,ie,re,ae,se,oe={"outer-box":"QBBSvmwX4NqTGzC4qqcU","outer-box-main":"fFytC0TE_zACjXUNB2h9","type-default":"Tiz1DBYLWM1Zf6ldDvSY","is-recommend":"i0DwQwiVa78QLAB8n968",common_bganimation:"zpJKTs46PWxZX1I6lshP"};let ne=(ee=(0,o.wA)({name:"OuterBox"}),ie=(0,o.tB)(),ee((ae=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",se,this)}render(){const t=arguments[0],{status:e,isAtSwiper:i,atSwiperDomId:r}=this.cardProps;return t("div",{class:{[oe["outer-box"]]:!0,[oe["type-default"]]:!0,[oe["is-recommend"]]:Boolean(e)}},[t("my-img",{attrs:{options:{type:"div",lazy:!i,immediate:i},src:"",syncGroupsSrc:i,syncGroupsWrapId:r,role:"OuterBox"},on:{click:()=>this.$emit("click")},class:{[oe["outer-box-main"]]:!0,"outer-box-main":!0}},[this.$slots.default])])}},se=(0,s.Z)(ae.prototype,"cardProps",[ie],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=ae))||re);var le,ce,me,pe,ue,de,he={"landscape-left-right":"ccXLMbc69hoUikM81AID","type-default":"SY7Q6krL98RV5Pq4xx7Q","type-small":"MmcEoYfeUfkeGw6LRBt3",common_bganimation:"NsCJDwVIsmdwJ8JyaQqv"};let ge;!function(t){t.Default="default",t.Small="small"}(ge||(ge={}));let ye=(le=(0,o.wA)({name:"LandscapeLeftRight"}),ce=(0,o.fI)({default:"default"}),le((de=class extends((0,o.Wr)(o.XY,ht)){constructor(...t){super(...t),(0,r.Z)(this,"cssSizeType",ue,this)}render(){const t=arguments[0],{cssSizeType:e}=this,{isMaintain:i}=this.cardProps;return t(ne,{class:{"landscape-left-right":!0,[he["landscape-left-right"]]:!0,[he[`type-${e}`]]:!0},on:{click:this.handleClickCard}},[t(te,[i&&t(At)])])}},(0,a.Z)(de,"CssSizeType",ge),(0,a.Z)(de,"getProps",ht.getProps),pe=de,ue=(0,s.Z)(pe.prototype,"cssSizeType",[ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=pe))||me);var be,fe,Ce,we,ve,Se,Ie,Ze,ke,Le,Te,ze,Pe,_e,Ae,Be,xe,De,Ge,Oe,Me,Fe,He,Ne=i(70753),Re=i(35550),Ee=i(46930),Ue="K9K8Eq3vZvIlaRqDoqsw",Ve="bkAYznjEc9hUqGQh_a3S",We="WGAruokZzpTWkHI2SQ9G",$e="kQtvRRirB33JTKwlSb26",Ye="Rq6JW4WAqbtm3fFY6ODO",Xe="kS3Gti9ry8gUFnr96kxk",je="YFGZOO3SAAX4aXOk87SL";let Ke=(be=(0,o.wA)({name:"LoadMorePagination"}),fe=(0,o.fI)(Ee.ZP.number),Ce=(0,o.fI)({default:-9527}),we=(0,o.fI)(Ee.ZP.string),ve=(0,o.fI)(Ee.ZP.number.def(0)),Se=(0,o.fI)(Ee.ZP.array.def([])),Ie=(0,o.fI)(Ee.ZP.func.def(void 0)),Ze=(0,o.fI)(Ee.ZP.looseBool.def(!1)),ke=(0,o.RL)("hiddenLoadMore"),Le=(0,Ne.WY)(),Te=(0,Ne.K4)(),ze=(0,o.RL)("mainStore.language",{immediate:!0}),Pe=(0,o.RL)("mainStore.userInfos.currency",{immediate:!0}),_e=(0,o.RL)("mainStore.hasLogined",{immediate:!0}),be((Be=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"total",xe,this),(0,r.Z)(this,"gameCategoryId",De,this),(0,r.Z)(this,"platformName",Ge,this),(0,r.Z)(this,"pageSize",Oe,this),(0,r.Z)(this,"listData",Me,this),(0,r.Z)(this,"fetchData",Fe,this),(0,r.Z)(this,"hiddenLoadMore",He,this),(0,a.Z)(this,"gameList",[]),(0,a.Z)(this,"current",1),(0,a.Z)(this,"isLoading",!1),(0,a.Z)(this,"mainStore",(0,m.h)())}get currentData(){let t;return t=this.fetchData?[...this.listData,...this.gameList]:[...this.listData],t.slice(0,this.pageSize*this.current)}get loadMoreStatus(){return this.total>this.currentData.length&&!this.hiddenLoadMore}resetCurrent(t,e){e||t===e||(this.current=1)}async onLoadMore(){if(this.fetchData){this.isLoading=!0;try{const{gameList:t}=await this.fetchData(this.current+1);this.gameList.push(...t),this.current+=1}catch(t){throw new Error("Fetching data failed!")}finally{this.isLoading=!1}}else this.current+=1}onClickLoad(){this.isLoading||this.onLoadMore()}onStatusChanged(){this.gameList=[],this.current=1,this.isLoading=!1}renderTitle(){const t=this.$createElement,{t:e}=(0,zt.QT)();return this.$scopedSlots.title?this.$scopedSlots.title?.():-9527!==this.gameCategoryId&&t("div",{class:[$e,"titleWrap"]},[t("div",{class:[Ye,"leftTitle"]},[(new Re.C).getGameCategoryImg(this.gameCategoryId,!0),this.mainStore.isCn&&e("lobby.game.menue")]),this.$scopedSlots.holidayApng?.(),this.$scopedSlots.all?this.$scopedSlots.all?.():t("div",{class:[Xe,"rightText"]},[t("div",{class:je,on:{click:()=>h.Nh.goSubGamePage(this.gameCategoryId,`${this.gameCategoryId}${n.Jj}`)}},[e("lobby.game.loadingAll")])])])}render(){const t=arguments[0],{t:e}=(0,zt.QT)(),{total:i,platformName:r}=this;return t("section",{class:[Ue,"load-more-pagination"]},[this.renderTitle(),this.$scopedSlots?.gameListBox?.({data:this.currentData}),this.loadMoreStatus&&(this.isLoading?t("div",{class:Ve},[e("lobby.common.tips.loadingTip")]):t("div",{class:[Ve,"scroll-down"]},[e("lobby.game.loadingInfo",{total:i,type:r,count:this.currentData.length}),t("div",{class:[We,"scroll-text"],on:{click:this.onClickLoad}},[e("lobby.game.loadingMore"),t("icon-sprite",{attrs:{sprite:(0,c.T9)("comm_icon_jzgd")}})])]))])}},xe=(0,s.Z)(Be.prototype,"total",[fe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),De=(0,s.Z)(Be.prototype,"gameCategoryId",[Ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ge=(0,s.Z)(Be.prototype,"platformName",[we],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Oe=(0,s.Z)(Be.prototype,"pageSize",[ve],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Me=(0,s.Z)(Be.prototype,"listData",[Se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fe=(0,s.Z)(Be.prototype,"fetchData",[Ie],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),He=(0,s.Z)(Be.prototype,"hiddenLoadMore",[Ze],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(Be.prototype,"resetCurrent",[ke],Object.getOwnPropertyDescriptor(Be.prototype,"resetCurrent"),Be.prototype),(0,s.Z)(Be.prototype,"onClickLoad",[Le,Te],Object.getOwnPropertyDescriptor(Be.prototype,"onClickLoad"),Be.prototype),(0,s.Z)(Be.prototype,"onStatusChanged",[ze,Pe,_e],Object.getOwnPropertyDescriptor(Be.prototype,"onStatusChanged"),Be.prototype),Ae=Be))||Ae);var qe,Qe,Je,ti,ei,ii,ri,ai,si,oi,ni,li,ci,mi,pi,ui,di="_8MX7BIWYERmFwjzugL5w";qe=(0,o.wA)({name:"ScrollPagination"}),Qe=(0,o.fI)(Ee.ZP.number.def(6)),Je=(0,o.fI)(Ee.ZP.number.def(1)),ti=(0,o.fI)(Ee.ZP.number.def(0)),ei=(0,o.fI)(Ee.ZP.bool.def(!0)),ii=(0,o.Rl)(),ri=(0,Ne.WY)(),ai=(0,Ne.Xo)(300),si=(0,o.y1)("handleAll"),qe((ni=class extends o.XY{constructor(...t){super(...t),(0,a.Z)(this,"atStart",!0),(0,a.Z)(this,"atEnd",!1),(0,a.Z)(this,"scrollWidth",0),(0,a.Z)(this,"scrollLeft",0),(0,r.Z)(this,"cardCounts",li,this),(0,r.Z)(this,"stepWidth",ci,this),(0,r.Z)(this,"containerWidth",mi,this),(0,r.Z)(this,"isPageNation",pi,this),(0,r.Z)(this,"myscrollRef",ui,this)}scrollChange(t){this.scrollWidth=t.scrollWidth,this.scrollLeft=t.x,this.setStatEndStatus(t.x)}get isWeb(){return(0,m.h)().isWeb}scrollPageTo(t){if(!this.containerWidth||!this.stepWidth)return;const e=this.stepWidth*this.cardCounts;let i=0;"right"===t?(i=this.scrollLeft+e,i=i>this.scrollWidth?this.scrollWidth:i):(i=this.scrollLeft-e,i=i<0?0:i),this.myscrollRef?.scrollTo({x:i})}setStatEndStatus(t){this.atEnd=t>=this.scrollWidth-this.stepWidth*this.cardCounts,this.atStart=t<=0}onHandleAll(t){return t}render(){const t=arguments[0],{t:e}=(0,zt.QT)();return t("section",{class:[di,"scroll-pagination"]},[t("div",{class:"head"},[t("div",{class:"leftTitle"},[this.$slots.title]),this.isPageNation&&t("div",{class:"stakeController"},[t("div",{class:["toLeft",this.atStart?"isLeft":""],on:{click:()=>this.scrollPageTo("left")}},[this.$slots.buttonPrev||this.$scopedSlots.buttonPrev||t("icon-sprite",{attrs:{sprite:(0,c.T9)("comm_icon_jt")}})]),t("div",{class:"total",on:{click:this.onHandleAll}},[e("lobby.game.loadingAll")]),t("div",{class:["toRight",this.atEnd?"isRight":""],on:{click:()=>this.scrollPageTo("right")}},[this.$slots.buttonNext||this.$scopedSlots.buttonNext||t("icon-sprite",{attrs:{sprite:(0,c.T9)("comm_icon_jt")}})])])]),this.isPageNation?t("my-scroll",{ref:"myscrollRef",attrs:{direction:"x",dragable:!0,stepWidth:this.stepWidth,trigger:"none"},on:{scrollChange:this.scrollChange}},[t("div",{class:"gameListWrap"},[this.$slots.default])]):t("div",{class:"gameListWrap"},[this.$slots.default])])}},li=(0,s.Z)(ni.prototype,"cardCounts",[Qe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ci=(0,s.Z)(ni.prototype,"stepWidth",[Je],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mi=(0,s.Z)(ni.prototype,"containerWidth",[ti],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pi=(0,s.Z)(ni.prototype,"isPageNation",[ei],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ui=(0,s.Z)(ni.prototype,"myscrollRef",[ii],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(ni.prototype,"scrollChange",[ri,ai],Object.getOwnPropertyDescriptor(ni.prototype,"scrollChange"),ni.prototype),(0,s.Z)(ni.prototype,"onHandleAll",[si],Object.getOwnPropertyDescriptor(ni.prototype,"onHandleAll"),ni.prototype),oi=ni));var hi=i(59890),gi=i(96309);const yi=(t,e)=>{const i=(0,gi.g)(),{isShowFavorited:r,isFavorited:a}=(()=>{const{gameId:e,maintainStatus:r}=t,{currentAllFavoriteList:a}=i,s=Boolean(e&&!!a&&!r),o=a?.includes(e);return{isShowFavorited:s,isFavorited:o}})(),s={imgUrl:t.gameIcon,isCompleteImage:!0,inCardRenderCategory:u.Game,isCustomIcon:t.isCustomIcon,isImgBackgroundOpacity:t.isImgBackgroundOpacity,logoUrl:t.platformId===hi.YH||n.Aw.includes(t.gameCategoryId)?t.isCombinate||t.isCustomIcon?"":t.platformLogo:"",gameName:t.gameName,status:t.recommendStatus?"remenber":void 0,isMaintain:t.maintainStatus,isShowFavorited:r,isFavorited:a,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},o=d(t,s,e);return Object.assign(s,o)},bi=(t,e)=>{const i={inCardRenderCategory:u.Game,imgUrl:t.gameIcon,gameName:t.gameName,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},r=d(t,i,e);return Object.assign(i,r)},fi=(t,e)=>{const i=(0,gi.g)(),{isShowFavorited:r,isFavorited:a}=(()=>{const{gameId:e,maintainStatus:r}=t,{currentAllFavoriteList:a}=i,s=Boolean(e&&!!a&&!r),o=a?.includes(e);return{isShowFavorited:s,isFavorited:o}})(),s={imgUrl:t.platformIcon,isCompleteImage:!0,inCardRenderCategory:u.Platform,isCustomIcon:t.isCustomIcon,isImgBackgroundOpacity:t.isImgBackgroundOpacity,gameName:t.brand,logoUrl:t.platformLogo,isMaintain:t.maintainStatus,isShowFavorited:r,isFavorited:a,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},o=d(t,s,e);return Object.assign(s,o)},Ci=(t,e)=>{const i=(0,gi.g)(),{imgUrl:r,isCustomIcon:a}=(()=>{const e={},{gameIconLarge:i,largeIcon:r,gameIcon:a}=t;return Boolean(t.customLargeIcon)?(e.imgUrl=a||i||r,e.isCustomIcon=!0):Boolean(t.isCompositePictureHot)?(e.imgUrl=t.compositePictureHotIcon,e.isCustomIcon=!0):(e.imgUrl=i||r||a,e.isCustomIcon=!1),e})(),{logoUrl:s}={logoUrl:t.platformId===hi.YH||n.Aw.includes(t.gameCategoryId)||!t.gameId?t.logo:void 0},{isShowFavorited:o,isFavorited:l}=(()=>{const{gameId:e,maintainStatus:r}=t,{currentAllFavoriteList:a}=i,s=Boolean(e&&!!a&&!r),o=a?.includes(e);return{isShowFavorited:s,isFavorited:o}})(),c={imgUrl:r,isCustomIcon:a,isCompleteImage:!0,logoUrl:s,gameName:t.gameName||t?.brand||"",status:t.recommendStatus?"remenber":void 0,isMaintain:t.maintainStatus,isShowFavorited:o,isFavorited:l,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},m=d(t,c,e);return Object.assign(c,m)};var wi,vi,Si,Ii,Zi,ki,Li,Ti,zi,Pi,_i,Ai,Bi,xi,Di,Gi,Oi,Mi,Fi,Hi,Ni,Ri,Ei,Ui,Vi,Wi,$i,Yi,Xi,ji,Ki,qi,Qi,Ji,tr,er,ir;let rr=(wi=(0,o.wA)({name:"BasePropsConfig"}),vi=(0,o.fI)({default:p.Square}),Si=(0,o.fI)(),Ii=(0,o.fI)(),Zi=(0,o.fI)(),ki=(0,o.fI)(),Li=(0,o.fI)(),Ti=(0,o.fI)(),zi=(0,o.fI)(),Pi=(0,o.fI)({default:!1}),_i=(0,o.fI)({default:!1}),Ai=(0,o.fI)({default:!1}),Bi=(0,o.fI)({default:!0}),xi=(0,o.fI)({default:!1}),Di=(0,o.fI)(),Gi=(0,o.fI)(),Oi=(0,o.fI)(),Mi=(0,o.DF)("cardProps"),wi((ir=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"inCardShape",Ni,this),(0,r.Z)(this,"inCardRenderCategory",Ri,this),(0,r.Z)(this,"status",Ei,this),(0,r.Z)(this,"isFavorited",Ui,this),(0,r.Z)(this,"gameName",Vi,this),(0,r.Z)(this,"imgUrl",Wi,this),(0,r.Z)(this,"logoUrl",$i,this),(0,r.Z)(this,"isMaintain",Yi,this),(0,r.Z)(this,"isCompleteImage",Xi,this),(0,r.Z)(this,"isCustomIcon",ji,this),(0,r.Z)(this,"isImgBackgroundOpacity",Ki,this),(0,r.Z)(this,"isShowFavorited",qi,this),(0,r.Z)(this,"isAtSwiper",Qi,this),(0,r.Z)(this,"atSwiperDomId",Ji,this),(0,r.Z)(this,"handleClickCard",tr,this),(0,r.Z)(this,"handleClickFavorIcon",er,this)}get cardProps(){return this.$props}render(){return this.$slots.default}},(0,a.Z)(ir,"getProps",((t,e)=>g.w.isThisType(t)?fi(t,e):f.Z.isThisType(t)?yi(t,e):b.Z.isThisType(t)?bi(t,e):Ci(t,e))),Hi=ir,Ni=(0,s.Z)(Hi.prototype,"inCardShape",[vi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ri=(0,s.Z)(Hi.prototype,"inCardRenderCategory",[Si],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ei=(0,s.Z)(Hi.prototype,"status",[Ii],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ui=(0,s.Z)(Hi.prototype,"isFavorited",[Zi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Vi=(0,s.Z)(Hi.prototype,"gameName",[ki],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Wi=(0,s.Z)(Hi.prototype,"imgUrl",[Li],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$i=(0,s.Z)(Hi.prototype,"logoUrl",[Ti],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Yi=(0,s.Z)(Hi.prototype,"isMaintain",[zi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xi=(0,s.Z)(Hi.prototype,"isCompleteImage",[Pi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ji=(0,s.Z)(Hi.prototype,"isCustomIcon",[_i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ki=(0,s.Z)(Hi.prototype,"isImgBackgroundOpacity",[Ai],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qi=(0,s.Z)(Hi.prototype,"isShowFavorited",[Bi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qi=(0,s.Z)(Hi.prototype,"isAtSwiper",[xi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ji=(0,s.Z)(Hi.prototype,"atSwiperDomId",[Di],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tr=(0,s.Z)(Hi.prototype,"handleClickCard",[Gi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),er=(0,s.Z)(Hi.prototype,"handleClickFavorIcon",[Oi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(Hi.prototype,"cardProps",[Mi],Object.getOwnPropertyDescriptor(Hi.prototype,"cardProps"),Hi.prototype),Fi=Hi))||Fi);var ar=i(24482);var sr,or,nr,lr,cr,mr,pr={"fallback-background":"GeqPuuNV4CBoTncFQZf_","type-square-default":"Cnw0GMBYV1VhjrZcYZPb","type-vertical-default":"ok3P6yAYvaxjz4APivCT","type-landscape-default":"j7gHIdWJjrHgBgWk7Cr0",common_bganimation:"ToaMm0WgFdBQ5lknaCRr"};let ur=(sr=(0,o.wA)({name:"FallbackBackground"}),or=(0,o.tB)(),sr((mr=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",cr,this)}render(){const t=arguments[0],{inCardShape:e}=this.cardProps;return t("icon-sprite",{class:{"fallback-background":!0,[pr["fallback-background"]]:!0,[pr[`type-${e}-default`]]:!0},attrs:{sprite:(0,c.T9)("img_mryx_card")}})}},(0,a.Z)(mr,"ExhibitFallbackBg",class{constructor(){(0,a.Z)(this,"_isShow",!0),(0,a.Z)(this,"setIsShowBgByAdvertiser",(t=>{t===ar.X.Success?this._isShow=!1:this._isShow=!0}))}get isShow(){return this._isShow}}),lr=mr,cr=(0,s.Z)(lr.prototype,"cardProps",[or],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nr=lr))||nr);var dr=i(77823);class hr extends dr.${}class gr extends hr{constructor(...t){super(...t),(0,a.Z)(this,"cssType","heart-default")}initPC(){return this["--favorited-icon-top"]="initial",this["--favorited-icon-right"]="initial",this["--favorited-icon-bottom"]="-0.01rem",this["--favorited-icon-left"]="-0.01rem",this}initH5(){return this["--favorited-icon-top"]="initial",this["--favorited-icon-right"]="initial",this["--favorited-icon-bottom"]="-0.01rem",this["--favorited-icon-left"]="-0.01rem",this}}class yr extends hr{constructor(...t){super(...t),(0,a.Z)(this,"cssType","rectangle-star")}initPC(){return this["--favorited-icon-top"]="0.02rem",this["--favorited-icon-right"]="0.02rem",this["--favorited-icon-bottom"]="initial",this["--favorited-icon-left"]="initial",this}initH5(){return this["--favorited-icon-top"]="0.02rem",this["--favorited-icon-right"]="0.02rem",this["--favorited-icon-bottom"]="initial",this["--favorited-icon-left"]="initial",this}}class br extends dr.${}class fr extends br{constructor(...t){super(...t),(0,a.Z)(this,"cssType","default")}initPC(){return this["--favorited-icon-side"]="0.34rem",this}initH5(){return this["--favorited-icon-side"]="0.4rem",this}}class Cr extends br{constructor(...t){super(...t),(0,a.Z)(this,"cssType","small")}initPC(){return this["--favorited-icon-side"]="0.3rem",this}initH5(){return this["--favorited-icon-side"]="0.4rem",this}}const wr=({style:t,cssMap:e={},isRecursive:i=!1})=>{for(const r in e)"string"==typeof e[r]?t.setProperty(r,e[r]):"[object Object]"===Object.prototype.toString.call(e[r])&&i&&wr({style:t,cssMap:e[r],isRecursive:i})};var vr,Sr,Ir,Zr,kr,Lr,Tr,zr,Pr,_r;let Ar=(vr=(0,o.wA)({name:"BaseCssVarInject"}),Sr=(0,o.r8)({from:"compCssVarMapper",default:()=>({})}),Ir=(0,o.fI)(),Zr=(0,o.fI)(),kr=(0,o.RL)("cssControl",{immediate:!0}),vr((Tr=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"compCssVarMapper",zr,this),(0,r.Z)(this,"cssVarManager",Pr,this),(0,r.Z)(this,"cssVarManagerMust",_r,this)}get cssControl(){let t=this.$options.name||"";t=t.charAt(0).toLowerCase()+t.slice(1);const e=this.compCssVarMapper?.[t];return void 0!==e?Object.assign({from:"father"},e,this.cssVarManagerMust):Object.assign({from:"self"},this.cssVarManager,this.cssVarManagerMust)}get finialCssType(){return this.cssControl.cssType}watchCssControl(){this.$nextTick((()=>{const t=this.$el;if(!t)return console.error("<BaseCssVarInject> not possess Dom");let e=!1;const{from:i,cssType:r,...a}=this.cssControl;if("father"===i&&r&&(e=!0),"self"===i&&(e=!0),!e)return;const s=t.style;wr({style:s,cssMap:a,isRecursive:!1})}))}},zr=(0,s.Z)(Tr.prototype,"compCssVarMapper",[Sr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Pr=(0,s.Z)(Tr.prototype,"cssVarManager",[Ir],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_r=(0,s.Z)(Tr.prototype,"cssVarManagerMust",[Zr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(Tr.prototype,"watchCssControl",[kr],Object.getOwnPropertyDescriptor(Tr.prototype,"watchCssControl"),Tr.prototype),Lr=Tr))||Lr);var Br,xr,Dr,Gr,Or,Mr,Fr,Hr,Nr,Rr,Er,Ur,Vr,Wr={"circle-star":"UZxxoK3X7xMTblVB7sz7","img-div":"N_8LU4WqO5Vbq9iUJUZV","type-default":"t6quH_r14SECl9HxV9_0","type-small":"S6yQbeCLBIJqEkXPLGP9",common_bganimation:"J7uZHiqnj5tsUsnpsLAp"};let $r=(Br=(0,o.wA)({name:"CircleStar31"}),xr=(0,o.r8)(),Dr=(0,o.tB)(),Gr=(0,o.fI)({default:!0}),Or=(0,o.fI)({default:"/lobby_asset/{layout}-{bg}-{skin}/common/home/"}),Mr=(0,o.RL)("isFavorited"),Br((Vr=class extends((0,o.Wr)(o.XY,Ar)){constructor(...t){super(...t),(0,r.Z)(this,"isFavorited",Nr,this),(0,r.Z)(this,"cardProps",Rr,this),(0,r.Z)(this,"isUsableAnimation",Er,this),(0,r.Z)(this,"rootPath",Ur,this),(0,a.Z)(this,"isShowAnimation",!1)}changeIsShowAnimation(t,e){this.isShowAnimation=!0===t&&!1===e}get collectedIcon(){const t=this.$createElement,{isAtSwiper:e,atSwiperDomId:i}=this.cardProps;return t("my-img",{attrs:{options:{lazy:!e,immediate:e,type:"div"},syncGroupsSrc:e,syncGroupsWrapId:i,src:this.rootPath+"btn_sc_on.png"},class:Wr["img-div"]})}render(){const t=arguments[0],{isAtSwiper:e,atSwiperDomId:i}=this.cardProps;return t("div",{class:{[Wr["circle-star"]]:!0,[Wr[`type-${this.finialCssType}`]]:Boolean(this.finialCssType)}},[this.isFavorited?this.collectedIcon:t("my-img",{attrs:{options:{lazy:!e,immediate:e,type:"div"},syncGroupsSrc:e,syncGroupsWrapId:i,src:this.rootPath+"btn_sc_off.png"},class:Wr["img-div"]})])}},(0,a.Z)(Vr,"getCircleStarDefault",(()=>new fr)),(0,a.Z)(Vr,"getCircleStarSmall",(()=>new Cr)),Hr=Vr,Nr=(0,s.Z)(Hr.prototype,"isFavorited",[xr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Rr=(0,s.Z)(Hr.prototype,"cardProps",[Dr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Er=(0,s.Z)(Hr.prototype,"isUsableAnimation",[Gr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ur=(0,s.Z)(Hr.prototype,"rootPath",[Or],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(Hr.prototype,"changeIsShowAnimation",[Mr],Object.getOwnPropertyDescriptor(Hr.prototype,"changeIsShowAnimation"),Hr.prototype),Fr=Hr))||Fr);var Yr,Xr,jr,Kr,qr,Qr="KcmF7_v1sNNPETJlRClM";let Jr=(Yr=(0,o.wA)({name:"IconAnimation"}),Xr=(0,o.fI)(),Yr((Kr=class extends((0,o.Wr)(o.XY,Ar)){constructor(...t){super(...t),(0,r.Z)(this,"iconUrl",qr,this)}render(){return(0,arguments[0])("apng-canvas",{class:Qr,attrs:{src:this.iconUrl,numPlays:1}})}},qr=(0,s.Z)(Kr.prototype,"iconUrl",[Xr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),jr=Kr))||jr);var ta,ea,ia,ra,aa,sa,oa,na,la,ca,ma={"circle-star":"IXs24Sy2NCNls_5ZS7QK","img-div":"VhxSaUzV0QTXE5yCsmhk","type-vertical":"sHPKTndijdqNRH3F324g","type-square":"xDdvC3cUGTm6TtkqLmyL","type-landscape":"uQ_fLlfBKosWBjuiUIuO",common_bganimation:"C0piWxaT1G1Graj2lmpj"};let pa=(ta=(0,o.wA)({name:"CircleStar"}),ea=(0,o.r8)(),ia=(0,o.tB)(),ra=(0,o.fI)({default:!0}),aa=(0,o.RL)("isFavorited"),ta((oa=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"isFavorited",na,this),(0,r.Z)(this,"cardProps",la,this),(0,r.Z)(this,"isUsableAnimation",ca,this),(0,a.Z)(this,"isShowAnimation",!1)}changeIsShowAnimation(t,e){this.isShowAnimation=!0===t&&!1===e}get collectedIcon(){const t=this.$createElement,{isAtSwiper:e}=this.cardProps;if(this.isShowAnimation&&!e&&this.isUsableAnimation)return t(Jr,{attrs:{cssVarManagerMust:{"--icon-animation-transform":"scale(1.7)"},iconUrl:"/lobby_asset/common/web/home/bookmark_star_2.png"}});{const{isAtSwiper:e,atSwiperDomId:i}=this.cardProps;return t("my-img",{attrs:{options:{lazy:!e,immediate:e,type:"div"},syncGroupsSrc:e,syncGroupsWrapId:i,src:"/lobby_asset/common/web/home/btn_sc_on_2.png"},class:ma["img-div"]})}}render(){const t=arguments[0],{isAtSwiper:e,atSwiperDomId:i,inCardShape:r}=this.cardProps;return t("div",{class:{[ma["circle-star"]]:!0,[ma[`type-${r}`]]:!0}},[this.isFavorited?this.collectedIcon:t("my-img",{attrs:{options:{lazy:!e,immediate:e,type:"div"},syncGroupsSrc:e,syncGroupsWrapId:i,src:"/lobby_asset/common/web/home/btn_sc_off_2.png"},class:ma["img-div"]})])}},na=(0,s.Z)(oa.prototype,"isFavorited",[ea],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),la=(0,s.Z)(oa.prototype,"cardProps",[ia],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ca=(0,s.Z)(oa.prototype,"isUsableAnimation",[ra],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(oa.prototype,"changeIsShowAnimation",[aa],Object.getOwnPropertyDescriptor(oa.prototype,"changeIsShowAnimation"),oa.prototype),sa=oa))||sa);class ua extends dr.${}class da extends ua{constructor(...t){super(...t),(0,a.Z)(this,"cssType","default")}initPC(){return this["--favorited-icon-side"]="0.36rem",this}initH5(){return this["--favorited-icon-side"]="0.48rem",this}}var ha,ga,ya,ba,fa,Ca,wa,va={"lone-star":"bphRrrsH6Piqq0juOma5","img-div":"FwNpApw8fWJ3RqwGmgSQ","type-default":"YV2Egv6rOsjA7emIQoAO",common_bganimation:"LzoItZJnRIBLZhvB5NrU"};let Sa=(ha=(0,o.wA)({name:"LoneStar"}),ga=(0,o.r8)(),ya=(0,o.RL)("isFavorited"),ha((wa=class extends((0,o.Wr)(o.XY,Ar)){constructor(...t){super(...t),(0,r.Z)(this,"isFavorited",Ca,this),(0,a.Z)(this,"isShowAnimation",!1)}changeIsShowAnimation(t,e){this.isShowAnimation=!0===t&&!1===e}get collectedIcon(){const t=this.$createElement;return this.isShowAnimation?t(Jr,{attrs:{cssVarManagerMust:{"--icon-animation-transform":"scale(1.4)"},iconUrl:"/lobby_asset/common/web/home/bookmark_star_1.png"}}):t("my-img",{class:va["img-div"],attrs:{src:"/lobby_asset/common/common/home/btn_sc_on.png",options:{type:"div"}}})}render(){const t=arguments[0];return t("div",{class:{[va["lone-star"]]:!0,[va[`type-${this.finialCssType}`]]:Boolean(this.finialCssType)}},[this.isFavorited?this.collectedIcon:t("my-img",{class:va["img-div"],attrs:{src:"/lobby_asset/common/common/home/btn_sc_off.png",options:{type:"div"}}})])}},(0,a.Z)(wa,"getLoneStarDefault",(()=>new da)),fa=wa,Ca=(0,s.Z)(fa.prototype,"isFavorited",[ga],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(fa.prototype,"changeIsShowAnimation",[ya],Object.getOwnPropertyDescriptor(fa.prototype,"changeIsShowAnimation"),fa.prototype),ba=fa))||ba);class Ia extends dr.${}class Za extends Ia{constructor(...t){super(...t),(0,a.Z)(this,"cssType","default")}initPC(){return this["--favorited-icon-width"]="0.44rem",this["--favorited-icon-height"]="0.27rem",this["--favorited-icon-font-size"]="0.16rem",this}initH5(){return this["--favorited-icon-width"]="0.63rem",this["--favorited-icon-height"]="0.38rem",this["--favorited-icon-font-size"]="0.19rem",this}}class ka extends Ia{constructor(...t){super(...t),(0,a.Z)(this,"cssType","small")}initPC(){return this["--favorited-icon-width"]="0.44rem",this["--favorited-icon-height"]="0.27rem",this["--favorited-icon-font-size"]="0.16rem",this}initH5(){return this["--favorited-icon-width"]="0.47rem",this["--favorited-icon-height"]="0.28rem",this["--favorited-icon-font-size"]="0.19rem",this}}var La,Ta,za,Pa,_a,Aa,Ba={"rectangle-star":"GPSxGs7sdANqDOPfTjmc","is-favorited":"ph7mOmycTWqhfCXyCVOA","type-default":"fRjqn261F5g8gCeplr9V","type-small":"QnEkt0ggikyCXENcCQMD",common_bganimation:"OBv5l2NPXoboJ5zdKmLV"};let xa=(La=(0,o.wA)({name:"RectangleStar"}),Ta=(0,o.r8)(),La((Aa=class extends((0,o.Wr)(o.XY,Ar)){constructor(...t){super(...t),(0,r.Z)(this,"isFavorited",_a,this)}render(){const t=arguments[0];return t("div",{class:{[Ba["rectangle-star"]]:!0,[Ba[`type-${this.finialCssType}`]]:Boolean(this.finialCssType),[Ba["is-favorited"]]:this.isFavorited}},[t("icon-sprite",{attrs:{sprite:(0,c.T9)("icon_dt_sc2")}})])}},(0,a.Z)(Aa,"getTriangleHeartDefault",(()=>new Za)),(0,a.Z)(Aa,"getTriangleHeartSmall",(()=>new ka)),Pa=Aa,_a=(0,s.Z)(Pa.prototype,"isFavorited",[Ta],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),za=Pa))||za);class Da extends dr.${}class Ga extends Da{constructor(...t){super(...t),(0,a.Z)(this,"cssType","default")}initPC(){return this["--favorited-icon-side"]="0.74rem",this}initH5(){return this["--favorited-icon-side"]="0.6rem",this}}var Oa,Ma,Fa,Ha,Na,Ra,Ea={"triangle-heart":"RHPXTSv7dzyUBHndHypJ","img-div":"BA3PrwK7LnBGLObcV3Aa","type-default":"zc3kj4MhMNlWaSU96iXA",common_bganimation:"kHYJt0l6IL_pTj2ClrT5"};let Ua=(Oa=(0,o.wA)({name:"TriangleHeart"}),Ma=(0,o.r8)(),Oa((Ra=class extends((0,o.Wr)(o.XY,Ar)){constructor(...t){super(...t),(0,r.Z)(this,"isFavorited",Na,this)}render(){const t=arguments[0],e=this.isFavorited?"/lobby_asset/{layout}-{bg}-{skin}/common/home/icon_dt_sc1.png":"/lobby_asset/{layout}-{bg}-{skin}/common/home/icon_dt_sc.png";return t("div",{class:{[Ea["triangle-heart"]]:!0,[Ea[`type-${this.finialCssType}`]]:Boolean(this.finialCssType)}},[t("my-img",{class:Ea["img-div"],attrs:{src:e,options:{type:"div"}}})])}},(0,a.Z)(Ra,"getTriangleHeartDefault",(()=>new Ga)),Ha=Ra,Na=(0,s.Z)(Ha.prototype,"isFavorited",[Ma],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fa=Ha))||Fa);var Va,Wa,$a,Ya,Xa,ja,Ka,qa,Qa,Ja={"type-star-default":"oU98oed_cZkoW0SxJRQe","type-heart-default":"aAk_dnyw8GCPqxeJPdCg","type-circle-default":"w2a7fQZqkHLEqS4qyqTY","type-circle-small":"XzCemJIcfRIRnTo4gHbZ","type-rectangle-star":"JWTrnyZoUHjMHkGGyTSm","favorited-icon":"rQ13hS2C2xOiatmUjuvy","click-area":"iZlS6P7YvRGYw9Ip1xAI",common_bganimation:"x_BiL9hXH22wc6Flvw_r"};let ts=(Va=(0,o.wA)({name:"FavoriteIcon"}),Wa=(0,o.fI)({default:!1}),$a=(0,o.F1)(),Ya=(0,o.fI)({default:!1}),Va((Qa=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"forbidClick",Ka,this),(0,r.Z)(this,"isFavorited",qa,this)}render(){const t=arguments[0],{forbidClick:e}=this;return t("div",{attrs:{role:"FavoriteIcon"},class:{[Ja["favorited-icon"]]:!0,[Ja["type-star-default"]]:!0},on:{click:t=>{t.stopPropagation(),e||this.$emit("click",this.isFavorited)}}},[t("div",{class:Ja["click-area"]},[this.$slots.default])])}},(0,a.Z)(Qa,"getCssVarHeartDefault",(()=>new gr)),(0,a.Z)(Qa,"getCssVarRectangle",(()=>new yr)),(0,a.Z)(Qa,"CircleStar",pa),(0,a.Z)(Qa,"CircleStar31",$r),(0,a.Z)(Qa,"TriangleHeart",Ua),(0,a.Z)(Qa,"LoneStar",Sa),(0,a.Z)(Qa,"RectangleStar",xa),ja=Qa,Ka=(0,s.Z)(ja.prototype,"forbidClick",[Wa],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qa=(0,s.Z)(ja.prototype,"isFavorited",[$a,Ya],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xa=ja))||Xa);var es,is,rs,as,ss,os={"game-name":"kXDK0ysXNcEV0AP33LlJ","game-name-inner":"qHc6o27P7xGLyvxQDijx","type-game-default":"O8r1pxpgaW1Wd1QoPbLO","type-platform-default":"U1WCkEy9uH9Nz3VqpPgT",common_bganimation:"phYuVV9UsU8Pfj_MYkwF"};let ns=(es=(0,o.wA)({name:"GameNameNormal"}),is=(0,o.tB)(),es((as=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",ss,this)}render(){const t=arguments[0],{inCardRenderCategory:e,gameName:i}=this.cardProps;return t("div",{class:{"game-name":!0,[os["game-name"]]:!0,[os[`type-${e}-default`]]:!0}},[t("div",{class:{"game-name-inner":!0,[os["game-name-inner"]]:!0}},[i])])}},ss=(0,s.Z)(as.prototype,"cardProps",[is],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),rs=as))||rs);var ls,cs,ms,ps,us,ds={"label-game-status":"gy98qRcKCBtFIJuUTF8N","type-vertical-default":"s9zgMlDwYEPB3ld0joSd","type-square-default":"Wc8rJcIQDBe7ZklbanXu","type-landscape-default":"TGHmwlVvQDkxKOqKVTMj",common_bganimation:"f6T3WNV8GAkjZjve_cX4"};let hs=(ls=(0,o.wA)({name:"LabelGameStatus"}),cs=(0,o.tB)(),ls((ps=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",us,this)}render(){const t=arguments[0],{inCardShape:e}=this.cardProps;return t("my-img",{class:{"label-game-status":!0,[ds["label-game-status"]]:!0,[`type-${e}-default`]:!0,[ds[`type-${e}-default`]]:!0},attrs:{src:"/lobby_asset/common/common/home/img_game_tj_1.png"}})}},us=(0,s.Z)(ps.prototype,"cardProps",[cs],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ms=ps))||ms);var gs,ys,bs,fs,Cs,ws={"outer-box":"E05NteD1vc0gOut5Gs_g","outer-box-main":"UAKuFqNRNdcJo8q6HLUk","type-default":"EPQ3wDJPZvv5PGWEKlyR",common_bganimation:"dQB0kNy3rnp23JImn_ub"};let vs=(gs=(0,o.wA)({name:"OuterBox"}),ys=(0,o.tB)(),gs((fs=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",Cs,this)}render(){const t=arguments[0],{isAtSwiper:e,atSwiperDomId:i}=this.cardProps;return t("div",{class:{[ws["outer-box"]]:!0,[ws["type-default"]]:!0}},[t("my-img",{attrs:{options:{type:"div",lazy:!e,immediate:e},src:"",role:"OuterBox",syncGroupsSrc:e,syncGroupsWrapId:i},on:{click:()=>this.$emit("click")},class:{[ws["outer-box-main"]]:!0,"outer-box-main":!0}},[this.$slots.default])])}},Cs=(0,s.Z)(fs.prototype,"cardProps",[ys],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),bs=fs))||bs);var Ss,Is,Zs,ks,Ls,Ts="_TP8Rtsy9lNsVqnETmoc",zs="ymBxiDlNFuhG407wKglz",Ps="OO4vKnL46hg80HXLgmdt";let _s=(Ss=(0,o.wA)({name:"AdvertisementBox"}),Is=(0,o.tB)(),Ss((ks=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",Ls,this)}renderFloorsBackground(t){return(0,this.$createElement)("div",{class:{[Ts]:!0,[Ps]:!0}},[t])}renderAdvertiseImg(){const t=this.$createElement,{imgUrl:e,isAtSwiper:i,atSwiperDomId:r}=this.cardProps;return t("my-img",{class:{"advertise-img-box-core":!0,[zs]:!0,[Ps]:!0},attrs:{options:{type:"div",lazy:!i,immediate:i},syncGroupsSrc:i,syncGroupsWrapId:r,src:e},on:{loadedResult:t=>this.$emit("loadedResult",t),click:()=>this.$emit("click")}},[this.$slots.default])}render(){const{isImgBackgroundOpacity:t}=this.cardProps;return t?this.renderFloorsBackground(this.renderAdvertiseImg()):this.renderAdvertiseImg()}},Ls=(0,s.Z)(ks.prototype,"cardProps",[Is],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Zs=ks))||Zs);var As,Bs,xs,Ds,Gs,Os="hoDM3hisYBMQHocvEuGb",Ms="SXnDrCro07gubxhRHaeZ",Fs="pjT8ie9RVkssLZO3c0Ia";let Hs=(As=(0,o.wA)({name:"BoxCut"}),Bs=(0,o.tB)(),As((Ds=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",Gs,this)}render(){const t=arguments[0],{status:e}=this.cardProps;return t("div",{class:{"box-cut":!0,[Os]:!0,[Ms]:!0,[Fs]:Boolean(e)}},[this.$slots.default])}},Gs=(0,s.Z)(Ds.prototype,"cardProps",[Bs],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),xs=Ds))||xs);var Ns,Rs,Es,Us,Vs,Ws,$s={"square-below-name":"wIgKYGP7ff_B_gaSSbRe","type-default":"zowKH4FlSp1Sbe4zS5zq","type-small":"GQZ3f6z4_nT_EVTT0UK0",common_bganimation:"FOZi4tm6ou94KnZSTSq_"};const Ys=ur.ExhibitFallbackBg;let Xs;!function(t){t.Default="default",t.Small="small"}(Xs||(Xs={}));let js=(Ns=(0,o.wA)({name:"SquareBelowName"}),Rs=(0,o.fI)({default:"default"}),Ns((Ws=class extends((0,o.Wr)(o.XY,rr)){constructor(...t){super(...t),(0,r.Z)(this,"cssSizeType",Vs,this),(0,a.Z)(this,"exhibitFallbackBg",new Ys)}render(){const t=arguments[0],{cssSizeType:e}=this,{isFavorited:i,isMaintain:r,isShowFavorited:a}=this.cardProps,{status:s}=this.cardProps;return t(vs,{class:{"square-below-name":!0,[$s["square-below-name"]]:!0,[$s[`type-${e}`]]:!0},on:{click:this.handleClickCard}},[t(Hs,[t(_s,{on:{loadedResult:this.exhibitFallbackBg.setIsShowBgByAdvertiser}}),this.exhibitFallbackBg.isShow&&t(ur),s&&(this.$scopedSlots.labelGameStatus?.()||t(hs)),r&&t(At),a&&t(ts,{attrs:{isFavorited:i},on:{click:this.handleClickFavorIcon}},[t(ts.CircleStar)])]),t(ns)])}},(0,a.Z)(Ws,"CssSizeType",Xs),(0,a.Z)(Ws,"getProps",rr.getProps),Us=Ws,Vs=(0,s.Z)(Us.prototype,"cssSizeType",[Rs],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Es=Us))||Es);var Ks,qs,Qs,Js,to,eo="jt66l9d4XF9lxDgHhNBg",io="SSCvR0ThDDvY9IbWEKJp",ro="QGXWS_H4lrGNaJ4SC25t";let ao=(Ks=(0,o.wA)({name:"AdvertisementBox"}),qs=(0,o.tB)(),Ks((Js=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",to,this)}renderFloorsBackground(t){return(0,this.$createElement)("div",{class:{[eo]:!0,[ro]:!0}},[t])}renderAdvertiseImg(){const t=this.$createElement,{imgUrl:e,isAtSwiper:i,atSwiperDomId:r}=this.cardProps;return t("my-img",{class:{"advertisement-box":!0,[io]:!0,[ro]:!0},attrs:{options:{type:"div",lazy:!i,immediate:i},syncGroupsSrc:i,syncGroupsWrapId:r,src:e},on:{loadedResult:t=>this.$emit("loadedResult",t),click:()=>this.$emit("click")}},[this.$slots.default])}render(){const{isImgBackgroundOpacity:t}=this.cardProps;return t?this.renderFloorsBackground(this.renderAdvertiseImg()):this.renderAdvertiseImg()}},to=(0,s.Z)(Js.prototype,"cardProps",[qs],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qs=Js))||Qs);var so=i(6927);const oo=(t,e)=>{const i={...(()=>{const{gameId:e,maintainStatus:i}=t,{currentAllFavoriteList:r}=(0,gi.g)(),a=Boolean(e&&!!r&&!i),s=r?.includes(e);return{isShowFavorited:a,isFavorited:s}})(),isCompleteImage:!0,inCardRenderCategory:u.Game,isCustomIcon:t.isCustomIcon,isImgBackgroundOpacity:t.isImgBackgroundOpacity,imgUrl:t.gameIcon,logoUrl:t.platformLogo,categoryId:t.gameCategoryId,platformId:t.platformId,status:t.recommendStatus?"remenber":void 0,isMaintain:t.maintainStatus,gameName:t.gameName,secondaryName:t.platformName,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},r=d(t,i,e);return Object.assign(i,r)},no=(t,e)=>{const i={inCardRenderCategory:u.Game,imgUrl:t.gameIcon,gameName:"",handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},r=d(t,i,e);return Object.assign(i,r)},lo=(t,e)=>{const i={...(()=>{const{gameId:e,maintainStatus:i}=t,{currentAllFavoriteList:r}=(0,gi.g)(),a=Boolean(e&&!!r&&!i),s=r?.includes(e);return{isShowFavorited:a,isFavorited:s}})(),inCardRenderCategory:u.Platform,logoUrl:t.platformLogo,imgUrl:t.platformIcon,categoryId:t.gameCategoryId,platformId:t.platformId,isCompleteImage:!0,isCustomIcon:t.isCustomIcon,isImgBackgroundOpacity:t.isImgBackgroundOpacity,isMaintain:t.maintainStatus,gameName:t.brand,secondaryName:t.platformName,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},r=d(t,i,e);return Object.assign(i,r)},co=(t,e)=>{const i={...(()=>{const{gameIconLarge:e,largeIcon:i,gameIcon:r}=t,a={};return Boolean(t.customLargeIcon)?a.imgUrl=r||e||i:a.imgUrl=e||r||i,a})(),...(()=>{const{gameId:e,gameCategoryId:i,logo:r,platformIcon:a}=t;return{logoUrl:!e||so.aZ.includes(i)?r:a}})(),...(()=>{const{gameId:e,maintainStatus:i}=t,{currentAllFavoriteList:r}=(0,gi.g)(),a=Boolean(e&&!!r&&!i),s=r?.includes(e);return{isShowFavorited:a,isFavorited:s}})(),isCompleteImage:!0,isCustomIcon:Boolean(t.customLargeIcon),categoryId:t.gameCategoryId,platformId:t.platformId,status:t.recommendStatus?"remenber":void 0,isMaintain:t.maintainStatus,gameName:t.gameName||t.brand,secondaryName:t.platformName,handleClickCard:()=>y.Xr.openGame(t),handleClickFavorIcon:()=>h.vt.collectGame(t)},r=d(t,i,e);return Object.assign(i,r)};var mo,po,uo,ho,go,yo,bo,fo,Co,wo,vo,So,Io,Zo,ko,Lo,To,zo,Po,_o,Ao,Bo,xo,Do,Go,Oo,Mo,Fo,Ho,No,Ro,Eo,Uo,Vo,Wo,$o,Yo,Xo,jo,Ko,qo,Qo,Jo,tn,en;let rn=(mo=(0,o.wA)({name:"BasePropsConfig"}),po=(0,o.fI)({default:p.Vertical}),uo=(0,o.fI)(),ho=(0,o.fI)(),go=(0,o.fI)(),yo=(0,o.fI)(),bo=(0,o.fI)(),fo=(0,o.fI)(),Co=(0,o.fI)(),wo=(0,o.fI)(),vo=(0,o.fI)(),So=(0,o.fI)({default:!1}),Io=(0,o.fI)({default:!1}),Zo=(0,o.fI)({default:!1}),ko=(0,o.fI)({default:!1}),Lo=(0,o.fI)({default:!0}),To=(0,o.fI)({default:!1}),zo=(0,o.fI)({default:!1}),Po=(0,o.fI)(),_o=(0,o.fI)(),Ao=(0,o.fI)(),Bo=(0,o.DF)("cardProps"),mo((en=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"inCardShape",Go,this),(0,r.Z)(this,"inCardRenderCategory",Oo,this),(0,r.Z)(this,"status",Mo,this),(0,r.Z)(this,"isFavorited",Fo,this),(0,r.Z)(this,"gameName",Ho,this),(0,r.Z)(this,"secondaryName",No,this),(0,r.Z)(this,"imgUrl",Ro,this),(0,r.Z)(this,"logoUrl",Eo,this),(0,r.Z)(this,"categoryId",Uo,this),(0,r.Z)(this,"platformId",Vo,this),(0,r.Z)(this,"isMaintain",Wo,this),(0,r.Z)(this,"isCompleteImage",$o,this),(0,r.Z)(this,"isCustomIcon",Yo,this),(0,r.Z)(this,"isImgBackgroundOpacity",Xo,this),(0,r.Z)(this,"isShowFavorited",jo,this),(0,r.Z)(this,"isHoverMove",Ko,this),(0,r.Z)(this,"isAtSwiper",qo,this),(0,r.Z)(this,"atSwiperDomId",Qo,this),(0,r.Z)(this,"handleClickCard",Jo,this),(0,r.Z)(this,"handleClickFavorIcon",tn,this)}get cardProps(){return this.$props}render(){return this.$slots.default}},(0,a.Z)(en,"getProps",((t,e)=>g.w.isThisType(t)?lo(t,e):f.Z.isThisType(t)?oo(t,e):b.Z.isThisType(t)?no(t,e):co(t,e))),Do=en,Go=(0,s.Z)(Do.prototype,"inCardShape",[po],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Oo=(0,s.Z)(Do.prototype,"inCardRenderCategory",[uo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Mo=(0,s.Z)(Do.prototype,"status",[ho],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fo=(0,s.Z)(Do.prototype,"isFavorited",[go],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ho=(0,s.Z)(Do.prototype,"gameName",[yo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),No=(0,s.Z)(Do.prototype,"secondaryName",[bo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ro=(0,s.Z)(Do.prototype,"imgUrl",[fo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Eo=(0,s.Z)(Do.prototype,"logoUrl",[Co],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Uo=(0,s.Z)(Do.prototype,"categoryId",[wo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Vo=(0,s.Z)(Do.prototype,"platformId",[vo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Wo=(0,s.Z)(Do.prototype,"isMaintain",[So],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$o=(0,s.Z)(Do.prototype,"isCompleteImage",[Io],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Yo=(0,s.Z)(Do.prototype,"isCustomIcon",[Zo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xo=(0,s.Z)(Do.prototype,"isImgBackgroundOpacity",[ko],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),jo=(0,s.Z)(Do.prototype,"isShowFavorited",[Lo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ko=(0,s.Z)(Do.prototype,"isHoverMove",[To],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qo=(0,s.Z)(Do.prototype,"isAtSwiper",[zo],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qo=(0,s.Z)(Do.prototype,"atSwiperDomId",[Po],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jo=(0,s.Z)(Do.prototype,"handleClickCard",[_o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tn=(0,s.Z)(Do.prototype,"handleClickFavorIcon",[Ao],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(Do.prototype,"cardProps",[Bo],Object.getOwnPropertyDescriptor(Do.prototype,"cardProps"),Do.prototype),xo=Do))||xo);var an,sn,on,nn,ln,cn={"game-platform-name":"uBKsRUH0jiHunu7Md3wK","name-inner":"vyJOQO76ijmamNiW1_eF","type-platform":"vNWyLynspBVZylqRVHqF","type-game":"kqZpKoUEqcNuiJBkhmo5",common_bganimation:"oA6CUbp3HTOojFByWHrU"};let mn=(an=(0,o.wA)({name:"GamePlatformName"}),sn=(0,o.tB)(),an((nn=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",ln,this)}render(){const t=arguments[0],{inCardRenderCategory:e,gameName:i}=this.cardProps;return t("div",{class:{"game-platform-name":!0,[cn["game-platform-name"]]:!0,[cn[`type-${e}`]]:!0}},[t("div",{class:cn["name-inner"]},[i])])}},ln=(0,s.Z)(nn.prototype,"cardProps",[sn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),on=nn))||on);var pn,un,dn,hn,gn,yn,bn={"vertical-bottom-name":"EbOSN8UZBHz4ViwOM_EC","type-default":"LIOo_DCzovzhuwgnmKWt","type-small":"PTEXdfvQ7jt_q07mfTPB",common_bganimation:"mI8PJZTYn8xeUAikURoH"};const fn=ur.ExhibitFallbackBg;let Cn;!function(t){t.Default="default",t.Small="small"}(Cn||(Cn={}));let wn=(pn=(0,o.wA)({name:"VerticalBottomName"}),un=(0,o.fI)({default:"default"}),pn((yn=class extends((0,o.Wr)(o.XY,rn)){constructor(...t){super(...t),(0,r.Z)(this,"cssSizeType",gn,this),(0,a.Z)(this,"exhibitFallbackBg",new fn)}renderGameName(){const t=this.$createElement,{isCustomIcon:e}=this.cardProps;if(!e)return this.$scopedSlots.gameName?this.$scopedSlots.gameName():t(mn)}render(){const t=arguments[0],{isMaintain:e,isFavorited:i,isShowFavorited:r}=this.cardProps,{status:a}=this.cardProps,{cssSizeType:s}=this;return t("div",[t(ao,{class:{"vertical-bottom-name":!0,[bn["vertical-bottom-name"]]:!0,[bn[`type-${s}`]]:!0},on:{loadedResult:this.exhibitFallbackBg.setIsShowBgByAdvertiser,click:this.handleClickCard}},[this.exhibitFallbackBg.isShow&&t(ur),this.renderGameName(),a&&(this.$scopedSlots.labelGameStatus?.()||t(hs)),e&&t(At),r&&t(ts,{attrs:{isFavorited:i},on:{click:this.handleClickFavorIcon}},[t(ts.CircleStar)])])])}},(0,a.Z)(yn,"CssSizeType",Cn),(0,a.Z)(yn,"getProps",rn.getProps),hn=yn,gn=(0,s.Z)(hn.prototype,"cssSizeType",[un],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dn=hn))||dn);var vn=i(82492),Sn=i.n(vn);const In=(t,e={})=>{for(const i in t){const r=t[i];"object"==typeof r&&(e[i]=r,In(r,e))}return e};var Zn,kn,Ln,Tn,zn,Pn,_n;let An=(Zn=(0,o.wA)({name:"BaseCssVarProvide"}),kn=(0,o.fI)(),Ln=(0,o.F1)("compCssVarMapper"),Tn=(0,o.RL)("isWeb"),Zn((Pn=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cssVarManager",_n,this)}get isWeb(){return(0,m.h)().isWeb}get localCssVarManager(){const t=this.baseCssVarManager?.(),e=this.cssVarManager?.();return Sn()(t,e)}get compCssVarMapper(){return In(this.localCssVarManager)}bindCssVarInDom(){if(!this.localCssVarManager)return console.error(`没有任何样式绑定到 ${this.$options.name} 上,请检查一下!`);const t=this.$el?.style;wr({style:t,cssMap:this.localCssVarManager,isRecursive:!0})}mounted(){this.bindCssVarInDom()}},_n=(0,s.Z)(Pn.prototype,"cssVarManager",[kn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(Pn.prototype,"compCssVarMapper",[Ln],Object.getOwnPropertyDescriptor(Pn.prototype,"compCssVarMapper"),Pn.prototype),(0,s.Z)(Pn.prototype,"bindCssVarInDom",[Tn],Object.getOwnPropertyDescriptor(Pn.prototype,"bindCssVarInDom"),Pn.prototype),zn=Pn))||zn);var Bn;const xn=(0,o.wA)({name:"CssVarCustom"})(Bn=class extends((0,o.Wr)(An)){render(){return this.$slots.default}})||Bn;class Dn extends dr.${}class Gn extends Dn{constructor(...t){super(...t),(0,a.Z)(this,"cssType","default")}initPC(){return this["--game-name-vertical-padding"]="0.04rem 0.1rem",this["--top-logo-width"]="0.4rem",this["--top-logo-height"]="0.4rem",this["--bottom-name-font-size"]="0.24rem",this}initH5(){return this["--game-name-vertical-padding"]="0.06rem 0.15rem",this["--top-logo-width"]="0.46rem",this["--top-logo-height"]="0.46rem",this["--bottom-name-font-size"]="0.28rem",this}}class On extends Dn{constructor(...t){super(...t),(0,a.Z)(this,"cssType","small")}initPC(){return this["--game-name-vertical-padding"]="0.04rem 0.1rem",this["--top-logo-width"]="0.4rem",this["--top-logo-height"]="0.4rem",this["--bottom-name-font-size"]="0.24rem",this}initH5(){return this["--game-name-vertical-padding"]="0.06rem 0.15rem",this["--top-logo-width"]="0.4rem",this["--top-logo-height"]="0.4rem",this["--bottom-name-font-size"]="0.24rem",this}}var Mn,Fn,Hn,Nn,Rn,En,Un={"type-default":"YbjCX2X_YTAOMwe9V7Lg","type-small":"nOd_OC5dX7ruM5tW2hHQ","game-name-vertical":"Z4tDWx9mPayU9FVuBnGX","top-logo":"gffMgUWUiQ1vHmcv5VG6","bottom-name":"sFocOtg_vnNRTtaDUpRg",common_bganimation:"G_MiSD2mgzRaOIAGhabM"};let Vn=(Mn=(0,o.wA)({name:"GameNameVertical"}),Fn=(0,o.tB)(),Mn((En=class extends((0,o.Wr)(Ar)){constructor(...t){super(...t),(0,r.Z)(this,"cardProps",Rn,this)}get isWeb(){return(0,m.h)().isWeb}render(){const t=arguments[0],{gameName:e,logoUrl:i}=this.cardProps;return t("div",{class:{[Un["game-name-vertical"]]:!0,[Un[`type-${this.finialCssType}`]]:Boolean(this.finialCssType)}},[t("my-img",{class:Un["top-logo"],attrs:{src:i,options:{type:"div"}}}),t("p",{class:Un["bottom-name"]},[e])])}},(0,a.Z)(En,"getCssVarDefault",(()=>new Gn)),(0,a.Z)(En,"getCssVarSmall",(()=>new On)),Nn=En,Rn=(0,s.Z)(Nn.prototype,"cardProps",[Fn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Hn=Nn))||Hn);var Wn;class $n{constructor(){(0,a.Z)(this,"gameNameVertical",Vn.getCssVarDefault())}}var Yn,Xn=(0,o.wA)({name:"CssVarDefault"})(Wn=class extends((0,o.Wr)(An)){constructor(...t){super(...t),(0,a.Z)(this,"baseCssVarManager",(()=>new $n))}render(){return this.$slots.default}})||Wn;class jn{constructor(){(0,a.Z)(this,"gameNameVertical",Vn.getCssVarSmall())}}var Kn,qn,Qn,Jn,tl,el=(0,o.wA)({name:"CssVarSmall"})(Yn=class extends((0,o.Wr)(An)){constructor(...t){super(...t),(0,a.Z)(this,"baseCssVarManager",(()=>new jn))}render(){return this.$slots.default}})||Yn,il={"outer-box":"I0j3dMlo9YRQ_1m4_lri","outer-box-main":"LRxrHAcKt1YWtzEV1AEg","type-vertical-default":"l7Zq8KTizDyeJIG75DwD","is-recommend":"MMmxLIJr6e7odNC67BhY",common_bganimation:"A_OLh1PrUkxDreMW0TwG"};let rl=(Kn=(0,o.wA)({name:"OuterBox"}),qn=(0,o.tB)(),Kn((Jn=class extends((0,o.Wr)(o.XY)){constructor(...t){super(...t),(0,r.Z)(this,"cardProps",tl,this)}render(){const t=arguments[0],{isMaintain:e,isHoverMove:i,isAtSwiper:r,atSwiperDomId:a,status:s}=this.cardProps;return t("div",{class:{[il["outer-box"]]:!0,[il["type-vertical-default"]]:!0,[il["is-recommend"]]:Boolean(s)}},[t("my-img",{attrs:{options:{type:"div",lazy:!r,immediate:r},src:"",role:"OuterBox",syncGroupsSrc:r,syncGroupsWrapId:a},class:{"outer-box-main":!0,[il["outer-box-main"]]:!0,[il["hover-move-top"]]:!e&&i},on:{click:()=>this.$emit("click")}},[this.$slots.default])])}},tl=(0,s.Z)(Jn.prototype,"cardProps",[qn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qn=Jn))||Qn);var al,sl,ol,nl,ll,cl,ml,pl,ul="JyBZ7S13oB0xxImQJXdx";let dl=(al=(0,o.wA)({name:"VirtualBorder"}),sl=(0,o.tB)(),ol=(0,o.fI)({required:!0}),al((pl=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"cardProps",cl,this),(0,r.Z)(this,"borderUrl",ml,this)}render(){const t=arguments[0],{isAtSwiper:e,atSwiperDomId:i}=this.cardProps;return t("my-img",{attrs:{options:{type:"div",lazy:!e,immediate:e},syncGroupsSrc:e,syncGroupsWrapId:i,src:this.borderUrl},class:ul})}},(0,a.Z)(pl,"getBorderUrlCyanBlue",(()=>`/lobby_asset/{layout}-{bg}-common/common/home/${(0,m.h)().isWeb?"img_dt_border_sf":"img_dt_border_yx"}.png`)),(0,a.Z)(pl,"getBorderUrlHK",(()=>"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_border18.png")),(0,a.Z)(pl,"getBorderUrl5021",(()=>"/lobby_asset/{layout}-{bg}-{skin}/web/common/img_dt_border270xz.png")),ll=pl,cl=(0,s.Z)(ll.prototype,"cardProps",[sl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ml=(0,s.Z)(ll.prototype,"borderUrl",[ol],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nl=ll))||nl);var hl,gl;(0,o.wA)({name:"VerticalBottomNameCyanBlue"})((gl=class extends((0,o.Wr)(rn,Ar)){render(){const t=arguments[0],{isMaintain:e,isFavorited:i,isCompleteImage:r,isShowFavorited:a}=this.cardProps,{status:s}=this;return t(rl,{class:{"vertical-bottom-name-cyan-blue":!0},on:{click:this.handleClickCard}},[t(St,[t(ur),t(ao,[!r&&t(Vn)]),t("template",{slot:"cutSuspense"},[s&&t(hs),e&&t(At)]),t("template",{slot:"unCutSuspense"},[t(dl,{attrs:{borderUrl:dl.getBorderUrlCyanBlue()}}),a&&t(ts,{attrs:{isFavorited:i},on:{click:this.handleClickFavorIcon}},[t(ts.CircleStar)])])])])}},(0,a.Z)(gl,"CssVarCustom",xn),(0,a.Z)(gl,"CssVarDefault",Xn),(0,a.Z)(gl,"CssVarSmall",el),(0,a.Z)(gl,"getProps",rn.getProps),hl=gl));var yl,bl,fl,Cl,wl,vl,Sl,Il,Zl,kl,Ll,Tl,zl,Pl={"type-star":"ONl2wNk3cYJX9_YF5xYb","favorited-icon":"RWAKprsiBTSLQn5iDOX1","click-area":"LTACnyxOYwYaPoEkdr6I","type-heart":"ekqfy3ytz_bIetkXRlPj","type-circle":"OaBsV4pb3aGcVgAqNJsk","size-default":"YkHAzHuV4w7_PjDdWHv3","size-small":"QpFPoCy9TKdAsScmNu31","type-block":"oclcdleu_6H7WN9gExA_",isFavorited:"tWW1xJHB6qcvAORL7wvF",common_bganimation:"GS6Bk1G1bKs9YE2zcAGY"};const _l={heart_true:"/lobby_asset/{layout}-{bg}-{skin}/web/home/icon_dt_sc1.png",heart_animation:"",heart_false:"/lobby_asset/{layout}-{bg}-{skin}/common/home/icon_dt_sc.png"};let Al=(yl=(0,o.wA)({name:"FavoriteIcon"}),bl=(0,o.fI)({default:!1}),fl=(0,o.fI)({default:"circle"}),Cl=(0,o.fI)({default:!1}),wl=(0,o.fI)({default:!0}),vl=(0,o.fI)({default:"default"}),yl((Il=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"forbidClick",Zl,this),(0,r.Z)(this,"type",kl,this),(0,r.Z)(this,"isFavorited",Ll,this),(0,r.Z)(this,"useAnimate",Tl,this),(0,a.Z)(this,"state",{animation:!1}),(0,r.Z)(this,"mySize",zl,this)}get favorIcon(){const{type:t,isFavorited:e,useAnimate:i}=this,r=`${t}_${i&&e&&this.state.animation?"animation":e}`;return _l[r]}render(){const t=arguments[0],{forbidClick:e,type:i,isFavorited:r,mySize:a}=this;return t("div",{class:{[Pl["favorited-icon"]]:!0,[Pl[`type-${i}`]]:!0,[Pl[`size-${a}`]]:!0},on:{click:t=>{t.stopPropagation(),this.setState({animation:!r}),e||this.$emit("click",this.isFavorited)}}},[t("div",{class:Pl["click-area"]}),t("icon-sprite",{class:{[Pl.isFavorited]:r},attrs:{sprite:(0,c.T9)("icon_dt_sc2")}})])}},Zl=(0,s.Z)(Il.prototype,"forbidClick",[bl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),kl=(0,s.Z)(Il.prototype,"type",[fl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ll=(0,s.Z)(Il.prototype,"isFavorited",[Cl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Tl=(0,s.Z)(Il.prototype,"useAnimate",[wl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),zl=(0,s.Z)(Il.prototype,"mySize",[vl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Sl=Il))||Sl);var Bl,xl,Dl,Gl,Ol,Ml,Fl,Hl,Nl,Rl,El,Ul,Vl,Wl,$l,Yl,Xl,jl,Kl,ql,Ql,Jl,tc,ec={"vertical-bottom-name":"o95_hTVBXun_c6SJWyba","size-small":"wD1_xvAfvf1Wzw9QivOm","item-main":"gcR4mdrST3Z3GUYz2Lfd","default-img-box":"lfSEfhdH5o5rezu3ImEa","border-img":"SdhiscTDxlYzZXpxzqhm","main-content":"HRUaTjE0PS7Ji0cIoBu0","name-box":"GEUCdJznA54CaKD6ngct","layout-left-right":"ijyAptMNNJbyEGAnxawB","left-logo":"A7RUNYKWS_dX1z6QA7e_","right-name":"xdTjO9N03eOny52SBBJA","layout-top-bottom":"ET9uTsscTxfrGcT80olT","top-name":"J8wLOxUYAfghfNJMD_Qu","bottom-name":"ReWmWq0pmHJ8QAu1XHTT","size-default":"KT4kSoXMIvusZZw0IEA3","play-img":"KIVBJQ6TUarqlJA1A2cM","label-game-status":"sLprm9gT1r81OY966iyO",common_bganimation:"lQrRiJaK5PHn4nNYxbZC"};Bl=(0,o.wA)({name:"verticalBottomNameHK"}),xl=(0,o.fI)(),Dl=(0,o.fI)(),Gl=(0,o.fI)(),Ol=(0,o.fI)(),Ml=(0,o.fI)(),Fl=(0,o.fI)(),Hl=(0,o.fI)({default:!1}),Nl=(0,o.fI)({default:!1}),Rl=(0,o.fI)({default:!0}),El=(0,o.fI)({default:"default"}),Bl((Vl=class extends o.XY{constructor(...t){super(...t),(0,r.Z)(this,"status",Wl,this),(0,r.Z)(this,"isFavorited",$l,this),(0,r.Z)(this,"gameName",Yl,this),(0,r.Z)(this,"secondaryName",Xl,this),(0,r.Z)(this,"imgUrl",jl,this),(0,r.Z)(this,"logoUrl",Kl,this),(0,r.Z)(this,"isMaintain",ql,this),(0,r.Z)(this,"isCompleteImage",Ql,this),(0,r.Z)(this,"isShowFavorited",Jl,this),(0,r.Z)(this,"mySize",tc,this),(0,a.Z)(this,"state",{mainContentLoad:!1})}get gameNameLayoutClass(){const{logoUrl:t,secondaryName:e}=this;return t?"layout-left-right":"layout-top-bottom"}get boxCutRadius(){const{isWeb:t}=(0,m.h)(),{status:e}=this;return new Map([[t&&Boolean(e),"0.1rem 0.14rem 0.14rem 0.14rem"],[t&&!Boolean(e),"0.14rem"],[!t&&Boolean(e),"0.14rem 0.2rem 0.2rem 0.2rem"],[!t&&!Boolean(e),"0.2rem"]]).get(!0)}renderGameNameTopBottom(){const t=this.$createElement,{gameName:e,secondaryName:i}=this;return t("div",{class:{[ec["name-box"]]:!0,[ec["layout-top-bottom"]]:!0}},[t("p",{class:ec["top-name"]},[e]),t("p",{class:ec["bottom-name"]},[i])])}render(){const t=arguments[0],{isMaintain:e,imgUrl:i,isFavorited:r,isCompleteImage:a,isShowFavorited:s,mySize:o}=this,{status:n,boxCutRadius:l}=this;return t("div",{class:ec["vertical-bottom-name"]},[t("my-img",{attrs:{options:{type:"div"},src:""},class:{[ec["item-main"]]:!0,[ec[`size-${o}`]]:!0},on:{click:()=>this.$emit("click")}},[t(St,{attrs:{cutStyle:{borderRadius:l}}},[t("div",{class:{[ec["default-img-box"]]:!0,"default-img-load":!this.state.mainContentLoad&&!!a}},[t("icon-sprite",{attrs:{sprite:(0,c.T9)("img_mryx_card")}})]),t("my-img",{class:{[ec["main-content"]]:!0},attrs:{options:{type:"div"},src:i},on:{loadError:()=>{this.setState({mainContentLoad:!0})}}},[!a&&this.renderGameNameTopBottom()]),t("my-img",{class:ec["border-img"],attrs:{src:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_dt_border18.png",options:{type:"div"}}}),t("template",{slot:"cutSuspense"},[n&&t(hs),!e&&t("my-img",{class:ec["play-img"],attrs:{options:{type:"div"},src:"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_play.png"}}),e&&t(At)]),t("template",{slot:"unCutSuspense"},[s&&t(Al,{attrs:{type:"block",isFavorited:r},on:{click:t=>this.$emit("clickFavorIcon",t)}})])])])])}},Wl=(0,s.Z)(Vl.prototype,"status",[xl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$l=(0,s.Z)(Vl.prototype,"isFavorited",[Dl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Yl=(0,s.Z)(Vl.prototype,"gameName",[Gl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xl=(0,s.Z)(Vl.prototype,"secondaryName",[Ol],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),jl=(0,s.Z)(Vl.prototype,"imgUrl",[Ml],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Kl=(0,s.Z)(Vl.prototype,"logoUrl",[Fl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ql=(0,s.Z)(Vl.prototype,"isMaintain",[Hl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ql=(0,s.Z)(Vl.prototype,"isCompleteImage",[Nl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jl=(0,s.Z)(Vl.prototype,"isShowFavorited",[Rl],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tc=(0,s.Z)(Vl.prototype,"mySize",[El],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ul=Vl));class ic extends dr.${}class rc extends ic{constructor(...t){super(...t),(0,a.Z)(this,"cssType","default")}initPC(){return this["--game-name-vertical-padding"]="0.04rem 0.1rem 0.14rem",this["--top-name-font-size"]="0.2rem",this["--bottom-name-font-size"]="0.14rem",this["--bottom-name-margin-top"]="0.05rem",this}initH5(){return this["--game-name-vertical-padding"]="0.06rem 0.15rem",this["--top-name-font-size"]="0.34rem",this["--bottom-name-font-size"]="0.22rem",this["--bottom-name-margin-top"]="0.08rem",this}}class ac extends ic{constructor(...t){super(...t),(0,a.Z)(this,"cssType","small")}initPC(){return this["--game-name-vertical-padding"]="0.04rem 0.1rem 0.11rem",this["--top-name-font-size"]="0.2rem",this["--bottom-name-font-size"]="0.14rem",this["--bottom-name-margin-top"]="0.05rem",this}initH5(){return this["--game-name-vertical-padding"]="0.06rem 0.15rem 0.11rem",this["--top-name-font-size"]="0.2rem",this["--bottom-name-font-size"]="0.12rem",this["--bottom-name-margin-top"]="0.05rem",this}}var sc,oc,nc,lc,cc,mc,pc={"game-name-vertical":"wlUAc7ejlvCSF4oVuNWw","top-name":"v5mzrKytwszAE8vNg8BT","bottom-name":"PzBuGtASvrCKpBXQgy1A","type-default":"DyTuxVOOLfrYxqqep6hO","type-small":"OFvj0qu16_tZshvBeXt8","type-larger":"vF7oELg0jJG6Om_jdcsJ",common_bganimation:"eivjYFHy7W2G1bZoCPC5"};let uc=(sc=(0,o.wA)({name:"GameNameVertical"}),oc=(0,o.tB)(),sc((mc=class extends((0,o.Wr)(Ar)){constructor(...t){super(...t),(0,r.Z)(this,"cardProps",cc,this)}render(){const t=arguments[0],{gameName:e,secondaryName:i}=this.cardProps;return t("div",{class:{[pc["game-name-vertical"]]:!0,"game-name-vertical":!0,[pc[`type-${this.finialCssType}`]]:Boolean(this.finialCssType)}},[t("p",{class:[pc["top-name"],"top-name"]},[e]),t("p",{class:[pc["bottom-name"],"bottom-name"]},[i])])}},(0,a.Z)(mc,"getCssVarDefault",(()=>new rc)),(0,a.Z)(mc,"getCssVarSmall",(()=>new ac)),lc=mc,cc=(0,s.Z)(lc.prototype,"cardProps",[oc],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nc=lc))||nc);var dc,hc;class gc{constructor(){(0,a.Z)(this,"gameNameVertical",uc.getCssVarDefault()),(0,a.Z)(this,"favoriteIcon",ts.getCssVarRectangle()),(0,a.Z)(this,"triangleHeart",ts.RectangleStar.getTriangleHeartDefault())}}var yc,bc,fc=(0,o.wA)({name:"CssVarDefault"})((hc=class extends((0,o.Wr)(An)){constructor(...t){super(...t),(0,a.Z)(this,"baseCssVarManager",(()=>new gc))}render(){return this.$slots.default}},(0,a.Z)(hc,"CssVarManager",gc),dc=hc))||dc;class Cc{constructor(){(0,a.Z)(this,"gameNameVertical",uc.getCssVarSmall()),(0,a.Z)(this,"favoriteIcon",ts.getCssVarRectangle()),(0,a.Z)(this,"triangleHeart",ts.RectangleStar.getTriangleHeartSmall())}}var wc,vc;const Sc=fc,Ic=(0,o.wA)({name:"CssVarSmall"})((bc=class extends((0,o.Wr)(An)){constructor(...t){super(...t),(0,a.Z)(this,"baseCssVarManager",(()=>new Cc))}render(){return this.$slots.default}},(0,a.Z)(bc,"CssVarManager",Cc),yc=bc))||yc;(0,o.wA)({name:"VerticalHk"})((vc=class extends((0,o.Wr)(rn,Ar)){renderAdvertiseInner(){const t=this.$createElement,{isCompleteImage:e}=this.cardProps;return e?void 0:t(uc,{attrs:{cssVarManager:{cssType:"default"}}})}render(){const t=arguments[0],{isMaintain:e,isFavorited:i,isShowFavorited:r}=this.cardProps,{status:a}=this.cardProps;return window.wgMock.cardLite?t(rl,{attrs:{cssType:"default"},on:{click:this.handleClickCard}},[t(St,[t(ao,{attrs:{cssVarManager:{cssType:"default"}}})])]):t(rl,{attrs:{cssType:"default"},on:{click:this.handleClickCard}},[t(St,[t(ur),t(ao,{attrs:{cssVarManager:{cssType:"default"}}},[this.renderAdvertiseInner()]),t("template",{slot:"cutSuspense"},[a&&t(hs),e&&t(At)]),t("template",{slot:"unCutSuspense"},[t(dl,{attrs:{borderUrl:dl.getBorderUrlHK()}}),r&&t(ts,{attrs:{cssVarManager:{cssType:"rectangle-star"},isFavorited:i},on:{click:this.handleClickFavorIcon}},[t(ts.RectangleStar,{attrs:{cssVarManager:{cssType:"default"}}})])])])])}},(0,a.Z)(vc,"CssVarDefault",Sc),(0,a.Z)(vc,"CssVarSmall",Ic),(0,a.Z)(vc,"getProps",rn.getProps),wc=vc))},6e3:function(t,e,i){"use strict";i.d(e,{Z:function(){return m}});var r,a=i(38821),s=i(88763),o=i(71743),n=i(91475),l=i(12832),c="L58lsd7uWrSVt9rH2iWB";let m=(0,a.wA)({name:"MiddleMenuHoliday"})(r=class extends a.XY{getImage(t,e,i="btn_zc1_jr",r="holidayMain"){return(0,this.$createElement)("my-img",{attrs:{width:t,height:e,options:{type:"div"},src:(0,o.Cj)(`/lobby_asset/festival/{holiday}/common/common/${i}.png`)},class:r})}midAutumnTheme(){const{isStake:t,isEuropeanAmerican:e,is5159:i}=l.Z.currentTheme();return t?[this.getImage(38,30),this.getImage(32,16,"btn_zc1_jr2","holidaySub")]:e||i?[this.getImage(68,54),this.getImage(40,21,"btn_zc1_jr3","holidaySub2")]:this.getImage(75,62)}mobileHolidayDecorate(){const{isTheme34:t,isTheme10:e}=l.Z.currentTheme();switch(l.Z.holidayThemeType){case s.By.MidAutumn:return this.midAutumnTheme();case s.By.NationalDay:return this.getImage(24,29);case s.By.MotherOfGod:return this.getImage(22,28);case s.By.MotherOfGod2:return this.getImage(25,25);case s.By.Dussehra:return[this.getImage(37,43),this.getImage(28,22,"btn_zc1_jr2","holidaySub")];case s.By.HalloweenPurple:return this.getImage(30,20);case s.By.HalloweenBlue:return this.getImage(27,20);default:return t||e?[this.getImage(50,50,"btn_zc1_jr","topLeft"),this.getImage(50,50,"btn_zc1_jr2","holidayNormal")]:this.getImage(50,50,"btn_zc1_jr2","holidayNormal")}}render(){const t=arguments[0],{isWeb:e}=(0,n.h)();return t("div",{class:{[c]:!0,midMenuHolidayWrap:!0,holidayMobile:!e}},[!e&&this.mobileHolidayDecorate()])}})||r},98828:function(t,e,i){"use strict";i.d(e,{Z:function(){return G}});var r,a,s,o,n,l,c,m,p,u,d,h,g,y,b,f,C=i(36568),w=i.n(C),v=i(53158),S=i(55433),I=i(12040),Z=i(38821),k=i(6507),L=i(34731),T=i(96309),z=i(91475),P=i(46930),_=i(6e3),A=i(12832),B=i(13403),x="wAEzyHd6yridmPs3Qf5S",D="NVrNkhWMhrIPQbst3SMg";let G=(r=(0,Z.wA)({name:"MiddleMenu"}),a=(0,Z.fI)({default:!0}),s=(0,Z.fI)({default:!1}),o=(0,Z.fI)({default:()=>[]}),n=(0,Z.fI)({default:!1}),l=(0,Z.fI)({default:!1}),c=(0,Z.fI)(P.ZP.func.def(void 0)),m=(0,Z.y1)("clickItem"),r((u=class extends((0,Z.Wr)(Z.XY)){constructor(...t){super(...t),(0,v.Z)(this,"shouldScroll",d,this),(0,v.Z)(this,"showPagation",h,this),(0,v.Z)(this,"navList",g,this),(0,v.Z)(this,"useLinearGradient",y,this),(0,v.Z)(this,"useIconRegardless",b,this),(0,v.Z)(this,"customClick",f,this),(0,S.Z)(this,"mainStore",(0,z.h)())}get useNavList(){const{gameCategoriesAvailable:t}=(0,T.g)();return this.navList?.length?this.navList:t.length>0?k.xr.completeCustomCategories:[]}onClickItem(t){if(this.customClick)this.customClick(t);else{k.Uk.performLinkAction(t,this.shouldScroll);const{setActiveTabkey:e}=(0,T.g)();e(L.ck.Normal)}return t}render(){const t=arguments[0];return t("div",{class:{[x]:!0,"middle-menu":!0}},[t("div",{class:[D,"mid-nav"]},[t(B.default,w()([{attrs:{navList:this.useNavList,showPagation:this.showPagation,useLinearGradient:this.useLinearGradient,useIconRegardless:this.useIconRegardless},on:{clickItem:t=>this.onClickItem(t)}},{scopedSlots:{...this.$scopedSlots.pagationButton?{pagationButton:t=>this.$scopedSlots.pagationButton?.(t)}:{}}}]),[A.Z.isHolidayThemeVisible&&t(_.Z,{slot:"holiday"})])])])}},d=(0,I.Z)(u.prototype,"shouldScroll",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,I.Z)(u.prototype,"showPagation",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,I.Z)(u.prototype,"navList",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,I.Z)(u.prototype,"useLinearGradient",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,I.Z)(u.prototype,"useIconRegardless",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,I.Z)(u.prototype,"customClick",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,I.Z)(u.prototype,"onClickItem",[m],Object.getOwnPropertyDescriptor(u.prototype,"onClickItem"),u.prototype),p=u))||p)},53030:function(t,e,i){"use strict";i.d(e,{Z:function(){return b}});var r,a,s,o,n,l,c,m=i(55433),p=i(12040),u=i(38821),d=i(34731),h=i(65074),g=i(96309),y=i(91475);let b=(r=(0,u.wA)({name:"CategoryWatchListenerMixin"}),a=(0,u.RL)("language"),s=(0,u.RL)("isLogin"),o=(0,u.RL)("currency"),n=(0,u.RL)("gameCategoryId",{immediate:!0}),r((c=class extends u.XY{constructor(...t){super(...t),(0,m.Z)(this,"gameStore",(0,g.g)()),(0,m.Z)(this,"mainStore",(0,y.h)()),(0,m.Z)(this,"errors",{networkError:!1,retryApi:this.onGameCategoryIdChange})}get currency(){return this.mainStore.userInfos?.currency}get language(){return this.mainStore.language}get isLogin(){return this.mainStore.hasLogined}get gameCategoryId(){return h.$v.gameCategoryId}async setLoadingAndFetch(t){const{setGameListLoading:e}=(0,g.g)();e(!0);let i=!1;t().catch((()=>{i=!0,this.errors={networkError:!0,retryApi:()=>this.setLoadingAndFetch(t)}})).finally((()=>{i||this.errors.networkError&&(this.errors.networkError=!1),e(!1)}))}onGameCategoryIdChange(){const{fetchHotGameList:t,fetchRecentGameList:e,fetchFavoriteGameList:i}=this.gameStore;switch(this.gameCategoryId){case d.ck.Hot:this.setLoadingAndFetch(t);break;case d.ck.Recent:this.setLoadingAndFetch(e);break;case d.ck.Collenct:this.setLoadingAndFetch(i)}}get listData(){const{currentCollectGameList:t,currentHotGameList:e,currentRecentGameList:i}=this.gameStore;switch(this.gameCategoryId){case d.ck.Hot:return e();case d.ck.Collenct:return t();case d.ck.Recent:return i();default:return e()}}},(0,p.Z)(c.prototype,"onGameCategoryIdChange",[a,s,o,n],Object.getOwnPropertyDescriptor(c.prototype,"onGameCategoryIdChange"),c.prototype),l=c))||l)},21860:function(t,e,i){"use strict";i.d(e,{Z:function(){return l}});var r,a=i(38821),s=i(91475),o=i(98828),n="U2lgjJEM_rzLHOJKk2mZ";let l=(0,a.wA)({name:"Theme2MiddleMenu"})(r=class extends a.XY{render(){const t=arguments[0],{isWeb:e}=(0,s.h)();return t(o.Z,{class:n,attrs:{showPagation:!0,showSearch:e},props:{...{...this.$attrs}}})}})||r},43556:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return Zt}});var r=i(55433),a=i(38821),s=i(34731),o=i(62933),n=i(65074),l=i(38781),c=i(29599),m=i(91475);class p extends a.Ie.wA{run(t){const{Vertical:e,Square:i,Landscape:r}=t;return t=>{const a=(0,m.h)()?.homeLayoutInfos?.webGameIcon;if(a===o.p4.VERTICAL_BOTTOM)return e;return{capital:i,following:r}[t]}}}const u=new p,d=u.run.bind(u);var h=i(53663),g=i(36568),y=i.n(g),b=i(53158),f=i(12040),C=i(87305);class w extends C.t{initPC(){return this.width=1160,this.rowCardCount=3,this.leftRightSpacing=20,this.topBotSpacing=20,this}initH5(){return this.width=638,this.rowCardCount=1,this.leftRightSpacing=0,this.topBotSpacing=30,this}}const v=w;var S,I,Z,k,L,T=i(46930);let z=(S=(0,a.wA)({name:"GameListLandscape"}),I=(0,a.fI)(T.ZP.array.def([])),S((k=class extends a.XY{constructor(...t){super(...t),(0,b.Z)(this,"listData",L,this)}get listLayout(){return new v}render(){const t=arguments[0];return t(l.VB,y()([{},{props:this.listLayout}]),[this.listData.map((e=>t(l.Ys,y()([{attrs:{cssSizeType:l.Ys.CssSizeType.Default},key:e.webId},{props:l.Ys.getProps(e)}]))))])}},L=(0,f.Z)(k.prototype,"listData",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=k))||Z);class P extends C.t{initPC(){return this.width=1136,this.rowCardCount=8,this.leftRightSpacing=48,this.topBotSpacing=30,this}initH5(){return this.width=690,this.rowCardCount=4,this.leftRightSpacing=56,this.topBotSpacing=44,this}}const _=P;var A,B,x,D,G;let O=(A=(0,a.wA)({name:"GameListSquare"}),B=(0,a.fI)(T.ZP.array.def([])),A((D=class extends a.XY{constructor(...t){super(...t),(0,b.Z)(this,"listData",G,this)}get listLayout(){return new _}render(){const t=arguments[0];return t(l.VB,y()([{},{props:this.listLayout}]),[this.listData.map((e=>{const i=l.C1.getProps(e);return t(l.C1,y()([{key:e.webId,attrs:{cssSizeType:l.C1.CssSizeType.Default}},{props:i}]))}))])}},G=(0,f.Z)(D.prototype,"listData",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=D))||x);class M extends C.t{initPC(){return this.width=1140,this.rowCardCount=6,this.leftRightSpacing=24,this.topBotSpacing=24,this}initH5(){return this.width=690,this.rowCardCount=3,this.leftRightSpacing=30,this.topBotSpacing=30,this}}const F=M;var H,N,R,E,U,V,W;let $=(H=(0,a.wA)({name:"GameListVertical"}),N=(0,a.fI)(T.ZP.array.def([])),R=(0,a.fI)(T.ZP.bool.def(!1)),H((U=class extends a.XY{constructor(...t){super(...t),(0,b.Z)(this,"listData",V,this),(0,b.Z)(this,"notHotRecentlyCollection",W,this)}get listLayoutConfig(){return new F}render(){const t=arguments[0];return t(l.VB,y()([{},{props:this.listLayoutConfig}]),[this.listData.map((e=>{const i=l.KC.getProps(e);return t(l.KC,y()([{attrs:{cssSizeType:l.KC.CssSizeType.Default},key:e.webId},{props:i}]))}))])}},V=(0,f.Z)(U.prototype,"listData",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,f.Z)(U.prototype,"notHotRecentlyCollection",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=U))||E);var Y,X=i(18376),j=i(21860),K=i(11494),q=i(33032),Q=i(56822),J=i(53030),tt=i(39655),et=i(58164),it=i(51233),rt=i(88763),at=i(71743),st=i(12832),ot="_ID5BER6kGYjZ9tZMtbM",nt="igfUMu4DzAWShdLTivJw",lt="KKnWRh_pAfcFfkwYcdbx",ct="mBXV3MzVN0rqUe2aNQwv";let mt=(0,a.wA)({name:"Theme2HotHoliday"})(Y=class extends a.XY{getImage(t,e,i,r="apng_top_jr_alpha"){return(0,this.$createElement)("apng-canvas",{attrs:{width:t,height:e,src:(0,at.Cj)(`/lobby_asset/festival/{holiday}/common/web/${r}.png`)},class:i})}renderHoliday(){switch(st.Z.holidayThemeType){case rt.By.MidAutumn:return this.getImage(213,84,ot);case rt.By.NationalDay:return this.getImage(133,80,nt,"apng_top_jr3");case rt.By.MotherOfGod:return this.getImage(160,110,lt);case rt.By.MotherOfGod2:return this.getImage(133,80,ct);case rt.By.Dussehra:return this.getImage(160,94,ct);case rt.By.HalloweenPurple:case rt.By.HalloweenBlue:return this.getImage(70,75,ct);default:return this.getImage(213,84,ct)}}render(){const t=arguments[0],{isWeb:e}=(0,m.h)();return!st.Z.isHolidayThemeVisible||e?t("template"):this.renderHoliday()}})||Y;var pt,ut="x9kcHwgvIa95JaWE4iW6",dt="vwuYKuCNAmUF0GsyJhVu",ht="ktsFfYSYj9ntMpYbaS02",gt="Od3ztVldAYo_XN0ceQkS",yt="KoLKQEAJnuXRiuIuKOrQ",bt="UzXo1aWkNtdqosOTMiyr",ft="UOukvFkKhOjatAbLSXq4",Ct="pBHdK15YUk9OU8K1raOY",wt="F49cDNN21DBh1PrKuqu6",vt="zhtDEqmqr6aOwFvu_UTp",St="GDbCeAcWI5CXrVxou2Ex",It="DBjOQg2U065l3eFViVBu";let Zt=(0,a.wA)({name:"EuropeanAmericanPage",components:{CommonBanner:Q.Z.createAsyncComponent({component:()=>Promise.resolve().then(i.bind(i,26875))})}})(pt=class extends((0,a.Wr)(J.Z)){constructor(...t){super(...t),(0,r.Z)(this,"getGameListComponent",(t=>d({Vertical:$,Square:O,Landscape:z})(t)))}get dynamicCardConfig(){const t=n.xP.getGameCategoryItem(s.ck.Hot);return{dataNum:n.$v.isIconStyleSquare?4*(t?.appSquare||3):3*(t?.appVertical||3)}}getPlatformCardCount(){return n.$v.isIconStyleVertical?3:1}getHotCardCount(){return n.$v.isIconStyleVertical?3:4}get useScroll(){const{homeLayoutInfos:t}=this.mainStore;return t?.commonConfig?.turnPageType===o.el.HandScroll}renderDynamicGameBox(t,e){const i=this.$createElement,r=e===s.ck.Hot,a=this.getGameListComponent("capital");return this.useScroll?i("div",{class:bt},[i(tt.default,{attrs:{place:"popular"},class:"popular-jackpot-box"}),r&&i(mt,{class:"theme2-hot-holiday"}),i(q.Z,{attrs:{gameCategoryId:e,cardCount:this.getHotCardCount(),displayDataSize:this.dynamicCardConfig.dataNum,listData:t},scopedSlots:{gameListBox:({data:t,tempArr:e})=>i(et.Z,{on:{retry:this.errors.retryApi},attrs:{displayType:et.F.ListData,isTimeoutError:this.errors.networkError,loading:this.gameStore.gameListLoading},class:{[ft]:!this.errors.networkError}},[e.length>0?e.map(((e,r)=>i(a,{attrs:{listData:t.slice(r*this.dynamicCardConfig.dataNum,(r+1)*this.dynamicCardConfig.dataNum),listLayout:"home"},key:r}))):i(K.Z)])}},[i("template",{slot:"topContent"},[i(tt.default,{attrs:{place:"platformTop",gameCategoryId:e}})])])]):i("div",{class:bt},[i(tt.default,{attrs:{place:"popular"},class:"popular-jackpot-box"}),r&&i(mt,{class:"theme2-hot-holiday"}),i(l.uw,{attrs:{total:t.length,platformName:n.xP.getGameCategoryItemName(e)||"",pageSize:this.dynamicCardConfig.dataNum,listData:t,gameCategoryId:e},scopedSlots:{gameListBox:({data:t})=>i("div",{class:{[ht]:n.$v.isIconStyleSquare,[gt]:n.$v.isIconStyleVertical}},[i(tt.default,{attrs:{place:"platformTop",gameCategoryId:e}}),i(et.Z,{on:{retry:this.errors.retryApi},attrs:{displayType:et.F.ListData,isTimeoutError:this.errors.networkError,loading:this.gameStore.gameListLoading}},[i(a,{attrs:{listData:t,listLayout:"home"}})])])}},[i("div",{slot:"all"})])])}renderPlatformGameBox(t,e,i=0){const r=this.$createElement,a=this.getGameListComponent("following");return this.useScroll?r("div",{class:{[Ct]:!0,[St]:!n.$v.isIconStyleVertical},attrs:{id:`anchor${e}`}},[r(q.Z,{attrs:{gameCategoryId:e,cardCount:this.getPlatformCardCount(),displayDataSize:i,listData:t},scopedSlots:{gameListBox:({data:t,tempArr:e})=>e.length>0?e.map(((e,s)=>r(a,{attrs:{listData:t.slice(s*i,(s+1)*i),notHotRecentlyCollection:!0,listLayout:"home"},key:s}))):r(K.Z)}},[r("template",{slot:"topContent"},[r(tt.default,{attrs:{place:"platformTop",gameCategoryId:e}})])])]):r("div",{class:Ct,attrs:{id:`anchor${e}`}},[r(l.uw,{attrs:{total:t.length,platformName:n.xP.getGameCategoryItemName(e)||"",pageSize:i,listData:t,gameCategoryId:e},scopedSlots:{gameListBox:({data:t})=>r("div",{class:{[gt]:n.$v.isIconStyleVertical,[yt]:n.$v.isIconStyleSquare}},[r(tt.default,{attrs:{place:"platformTop",gameCategoryId:e}}),r(a,{attrs:{listData:t,notHotRecentlyCollection:!0}})])}})])}renderPlatformGameBox2(t){const e=this.$createElement,{list:i,gameCategoryId:r,gameCategoryName:a,display:s}=t,o=n.xP.getGameCategoryItem(r),c=1*(o?.appSquare||6),m=3*(o?.appVertical||2),p=n.$v.isIconStyleVertical?m:c;if(!s||!p||!i?.length)return e("template");const u=this.getGameListComponent("following"),d=n.$v.isChinese?a.replace(/\s/g,""):a;return e("div",{class:Ct},[e(l.uw,{attrs:{total:i.length,platformName:d,pageSize:p,listData:i,gameCategoryId:r},scopedSlots:{gameListBox:({data:t})=>e("div",{class:{[gt]:n.$v.isIconStyleVertical,[yt]:n.$v.isIconStyleSquare}},[e(tt.default,{attrs:{place:"platformTop",gameCategoryId:r}}),e(u,{attrs:{listData:t,notHotRecentlyCollection:!0}})])}})])}get isOtherMenu(){return[s.ck.Collenct,s.ck.Recent,s.ck.Demo].includes(this.gameCategoryId)}renderGameBody(){const t=this.$createElement,{currentPlatformGameList:e}=this.gameStore;return[t(c.oh,{attrs:{positionType:"absolute",scrollElement:"#home-scroll-box .my-scrollbar-wrap",hideConfig:{referenceElement:"#anchor-wrapper",distance:"-0.94rem"}},key:"theme2-middleMenu"},[t("div",{attrs:{id:"middle-menu"}},[t(j.Z)])]),t("div",{class:dt,attrs:{id:"anchor-wrapper"},key:"anchor-wrapper"},[t(c.fA,[this.renderDynamicGameBox(this.listData,this.isOtherMenu?this.gameCategoryId:s.ck.Hot),!this.isOtherMenu&&e.map((t=>this.renderPlatformGameBox(t.totalData,t.key,t.dataNum)))])])]}render(){const t=arguments[0],{isWgSportShowHome:e}=(0,h.P)();return t("div",{class:wt},[t("common-banner"),t(tt.default,{class:vt,attrs:{place:"marquee"}}),t(X.Z,{class:It}),t(tt.default,{class:vt,attrs:{place:"middlMenu"}}),t("div",{class:ut,attrs:{id:"anchor-menu"}},[e?t(it.Z,[this.renderGameBody()]):this.renderGameBody()]),t(tt.default,{attrs:{place:"footer"}})])}})||pt},32425:function(t,e,i){"use strict";i.d(e,{Z:function(){return y}});var r,a,s,o,n,l=i(36568),c=i.n(l),m=i(53158),p=i(12040),u=i(38821),d=i(89403),h=i(73348);class g extends h.t{initPC(){return this.width=1200,this.rowCardCount=3,this.leftRightSpacing=20,this.topBotSpacing=20,this}initH5(){return this.width=690,this.rowCardCount=1,this.leftRightSpacing=0,this.topBotSpacing=30,this}}let y=(r=(0,u.wA)({name:"GameListLandscape"}),a=(0,u.fI)({default:()=>[]}),r((o=class extends u.XY{constructor(...t){super(...t),(0,m.Z)(this,"listData",n,this)}get localListLayout(){return new g}render(){const t=arguments[0];return t(d.Ys.CssVarDefault,[t(d.VB,c()([{},{props:this.localListLayout}]),[this.listData.map((e=>t(d.Ys,c()([{key:e.webId},{props:d.Ys.getProps(e)}]))))])])}},n=(0,p.Z)(o.prototype,"listData",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=o))||s)},49572:function(t,e,i){"use strict";i.d(e,{Z:function(){return x}});var r=i(36568),a=i.n(r),s=i(53158),o=i(12040),n=i(38821),l=i(89403),c=i(73348);class m extends c.t{initPC(){return this.width=1176,this.rowCardCount=8,this.leftRightSpacing=48,this.topBotSpacing=30,this}initH5(){return this.width=670,this.rowCardCount=4,this.leftRightSpacing=56,this.topBotSpacing=44,this}}class p extends c.t{initPC(){return this.width=1136,this.rowCardCount=8,this.leftRightSpacing=48,this.topBotSpacing=30,this}initH5(){return this.width=690,this.rowCardCount=4,this.leftRightSpacing=56,this.topBotSpacing=44,this}}class u extends c.t{initPC({isHotRecentCollectPlatformCard:t}){return t?(this.width=1154,this.rowCardCount=8,this.leftRightSpacing=48,this.topBotSpacing=20):(this.width=970,this.rowCardCount=6,this.leftRightSpacing=74,this.topBotSpacing=30),this}initH5({isHotRecentCollectPlatformCard:t}){return t?(this.width=660,this.rowCardCount=4,this.leftRightSpacing=30,this.topBotSpacing=44):(this.width=500,this.rowCardCount=3,this.leftRightSpacing=56,this.topBotSpacing=44),this}}var d,h,g,y,b,f,C,w,v,S,I,Z,k,L,T,z=i(7e3),P=i(65074),_=i(4441),A=i(91475),B="O5xSf7GJqUJt1rHAucw8";let x=(d=(0,n.wA)({name:"GameListSquare"}),h=(0,n.fI)({default:()=>[]}),g=(0,n.fI)(),y=(0,n.fI)(),b=(0,n.fI)({default:0}),f=(0,n.fI)({default:0}),C=(0,n.fI)({default:!1}),d((v=class extends n.XY{constructor(...t){super(...t),(0,s.Z)(this,"listData",S,this),(0,s.Z)(this,"listLayout",I,this),(0,s.Z)(this,"isAllHotGame",Z,this),(0,s.Z)(this,"cardCount",k,this),(0,s.Z)(this,"displayDataSize",L,this),(0,s.Z)(this,"isFirstPage",T,this)}get localListLayout(){return new{home:m,subGame:u,seach:p,embedded:p}[this.listLayout]({isHotRecentCollectPlatformCard:P.$v.isSpecialPlatformGameCatgory||this.isAllHotGame})}get getBoxCutRadius(){const{isWeb:t}=(0,A.h)();return(0,z.Q)(t,z.Q.mapperSquare)}get verticalCardCount(){return this.cardCount??0}get verticalCardTotal(){return this.displayDataSize??0}get VerticalBox(){return Array.from({length:this.verticalCardCount}).map((()=>({id:(0,_.M)()})))}get verticalDisplayCard(){return Math.ceil(this.verticalCardTotal/this.verticalCardCount)}get isShowVerticalBox(){return"home"===this.listLayout&&(!(this.verticalCardTotal!==this.listData.length||!this.isFirstPage)||!this.isFirstPage)}render(){const t=arguments[0];return t(l.C1.CssVarDefault,[t(l.VB,a()([{},{props:this.localListLayout}]),[this.isShowVerticalBox?this.VerticalBox.map(((e,i)=>t("div",{class:B,key:e.id},[this.listData.slice(i*this.verticalDisplayCard,(i+1)*this.verticalDisplayCard).map((e=>{const i=l.C1.getProps(e),r=this.getBoxCutRadius(i.status);return t(l.C1,a()([{key:e.webId,attrs:{cssVarManagerMust:{boxCut:{"--box-cut-border-radius":r},maskMaintain:{"--mask-maintain-border-radius":r}}}},{props:i}]))}))]))):this.listData.map((e=>{const i=l.C1.getProps(e),r=this.getBoxCutRadius(i.status);return t(l.C1,a()([{key:e.webId,attrs:{cssVarManagerMust:{boxCut:{"--box-cut-border-radius":r},maskMaintain:{"--mask-maintain-border-radius":r}}}},{props:i}]))}))])])}},S=(0,o.Z)(v.prototype,"listData",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,o.Z)(v.prototype,"listLayout",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,o.Z)(v.prototype,"isAllHotGame",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,o.Z)(v.prototype,"cardCount",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,o.Z)(v.prototype,"displayDataSize",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,o.Z)(v.prototype,"isFirstPage",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=v))||w)},29822:function(t,e,i){"use strict";i.d(e,{Z:function(){return x}});var r=i(36568),a=i.n(r),s=i(53158),o=i(12040),n=i(38821),l=i(89403),c=i(73348);class m extends c.t{initPC(){return this.width=1200,this.rowCardCount=6,this.leftRightSpacing=18,this.topBotSpacing=24,this}initH5(){return this.width=690,this.rowCardCount=3,this.leftRightSpacing=30,this.topBotSpacing=24,this}}class p extends c.t{initPC(){return this.width=1200,this.rowCardCount=6,this.leftRightSpacing=18,this.topBotSpacing=50,this}initH5(){return this.width=690,this.rowCardCount=3,this.leftRightSpacing=30,this.topBotSpacing=40,this}}class u extends c.t{initPC(t){return t?(this.width=1200,this.rowCardCount=6,this.leftRightSpacing=18,this.topBotSpacing=50):(this.width=997,this.rowCardCount=5,this.leftRightSpacing=18,this.topBotSpacing=50),this}initH5(t){return t?(this.width=690,this.rowCardCount=3,this.leftRightSpacing=30,this.topBotSpacing=40):(this.width=520,this.rowCardCount=3,this.leftRightSpacing=30,this.topBotSpacing=40),this}}var d=i(65074),h=i(91475);const g=()=>{const{isWeb:t}=(0,h.h)();return t?y():b()},y=()=>({maskMaintain:{"--mask-maintain-border-radius":"0","--maintain-circle-width":"0.84rem","--maintain-circle-height":"0.84rem","--maintain-text-margin-top":"0.22rem","--maintain-text-font-size":"0.2rem"}}),b=()=>({maskMaintain:{"--mask-maintain-border-radius":"0","--maintain-circle-width":"1.03rem","--maintain-circle-height":"1.03rem","--maintain-text-margin-top":"0.2rem","--maintain-text-font-size":"0.25rem"},outerBox:{"--hover-move-top-translateY":"0"}});var f,C,w,v,S,I,Z,k,L,T,z,P,_,A=i(4441),B="bT0L0hkdgJEkAtCvlEmX";let x=(f=(0,n.wA)({name:"GameListVertical"}),C=(0,n.fI)({default:()=>[]}),w=(0,n.fI)(),v=(0,n.fI)({default:0}),S=(0,n.fI)({default:0}),I=(0,n.fI)({default:!1}),f((k=class extends n.XY{constructor(...t){super(...t),(0,s.Z)(this,"listData",L,this),(0,s.Z)(this,"listLayout",T,this),(0,s.Z)(this,"cardCount",z,this),(0,s.Z)(this,"displayDataSize",P,this),(0,s.Z)(this,"isFirstPage",_,this)}get localListLayout(){return new{home:m,subGame:u,seach:p,embedded:p}[this.listLayout](d.$v.isSpecialPlatformGameCatgory)}get DynamicCssVarComponent(){const{isWeb:t}=(0,h.h)();return"subGame"===this.listLayout?t||d.$v.isSpecialPlatformGameCatgory?l.KC.CssVarLarger:l.KC.CssVarSmall:l.KC.CssVarLarger}get verticalCardCount(){return this.cardCount??0}get verticalCardTotal(){return this.displayDataSize??0}get VerticalBox(){return Array.from({length:this.verticalCardCount}).map((()=>({id:(0,A.M)()})))}get verticalDisplayCard(){return Math.ceil(this.verticalCardTotal/this.verticalCardCount)}get isShowVerticalBox(){return"home"===this.listLayout&&(!(this.verticalCardTotal!==this.listData.length||!this.isFirstPage)||!this.isFirstPage)}render(){const t=arguments[0],{DynamicCssVarComponent:e}=this;return t(e,{attrs:{cssVarManager:g}},[t(l.VB,a()([{},{props:this.localListLayout}]),[this.isShowVerticalBox?this.VerticalBox.map(((e,i)=>t("div",{class:B,key:e.id},[this.listData.slice(i*this.verticalDisplayCard,(i+1)*this.verticalDisplayCard).map((e=>{const i=l.KC.getProps(e);return t(l.KC,a()([{key:e.webId},{props:i}]))}))]))):this.listData.map((e=>{const i=l.KC.getProps(e);return t(l.KC,a()([{key:e.webId},{props:i}]))}))])])}},L=(0,o.Z)(k.prototype,"listData",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,o.Z)(k.prototype,"listLayout",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,o.Z)(k.prototype,"cardCount",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,o.Z)(k.prototype,"displayDataSize",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,o.Z)(k.prototype,"isFirstPage",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=k))||Z)},14361:function(t,e,i){"use strict";i.d(e,{Z:function(){return b}});var r,a=i(38821),s=i(46851),o=i(71743),n=i(1507),l=i(58217),c=i(91475),m="cQnRtLJoH0rJ1awgJP3H",p="anuuwcGeP0nnQQN5cvFF",u="v0vHLNTf2g4y4B7j6m3R",d="jmeAul5CbV3ycz5wjKIV",h="Mg5g5w7xANX3gflUIXKm",g="v6ObqnO8uUM9f0m8cmoF",y="DJbky8wUzGxNXCnTLH_F";let b=(0,a.wA)({name:"DownLoadApp"})(r=class extends a.XY{get isNoBg(){const{siteInfos:t}=(0,c.h)();return t?.backgroundColor===n.sZ.ThemeSkinBg.NO_BG}get downloadBtnImg(){return this.isNoBg?"/lobby_asset/{layout}-{bg}-common/web/home/btn_db_xz.png":"/lobby_asset/{layout}-{bg}-{skin}/web/home/btn_db_xz.png"}render(){const t=arguments[0],{t:e}=(0,l.QT)();return t("div",{class:m},[t("div",{class:p},[t("icon-sprite",{class:u,attrs:{useSkeleton:!0,sprite:(0,o.T9)("icon_dtfl_app_0")}}),t("span",[e("lobby.tabbar.download")])]),t("my-img",{attrs:{src:(0,o.Cj)(this.isNoBg?"/lobby_asset/{layout}-{bg}-common/web/home/img_sy_appxz.png":"/lobby_asset/{layout}-{bg}-{skin}/web/home/img_sy_appxz.png")}}),t("div",{class:d},[t("my-img",{attrs:{src:this.downloadBtnImg,useSkeleton:!0,options:{immediate:!0,lazy:!1,type:"div"}},class:h,on:{click:()=>s.xN.dispatch({type:"download_app"})}},[t("my-img",{attrs:{height:40,src:"/lobby_asset/common/web/home/comm_icon_xz-android.png"}}),t("p",[t("span",[e("lobby.theme28_dz.download.getItOn")]),t("span",[e("lobby.theme28_dz.download.googleText")])])]),t("my-img",{attrs:{src:this.downloadBtnImg,useSkeleton:!0,options:{immediate:!0,lazy:!1,type:"div"}},class:h,on:{click:()=>s.xN.dispatch({type:"download_app"})}},[t("icon-sprite",{class:[g,this.isNoBg?y:""],attrs:{useSkeleton:!0,sprite:(0,o.T9)("comm_icon_xz-ios")}}),t("p",[t("span",[e("lobby.theme28_dz.download.getItOn")]),t("span",[e("lobby.theme28_dz.download.appText")])])])])])}})||r},11052:function(t,e,i){"use strict";i.d(e,{Z:function(){return m}});var r,a=i(38821),s=i(34731),o=i(6507),n=i(96309),l=i(98828),c="C43oIyeKUKpoBAybZIVi";let m=(0,a.wA)({name:"Theme28MiddleMenu"})(r=class extends a.XY{onClickItem(t){[s.ck.Recent,s.ck.Collenct].includes(t.gameCategoryId)?o.Nh.goSearchGamePage():o.Uk.performLinkAction(t,!0);const{setActiveTabkey:e}=(0,n.g)();e(s.ck.Normal)}render(){return(0,arguments[0])(l.Z,{class:c,attrs:{useIconRegardless:!0,customClick:t=>this.onClickItem(t)}})}})||r},19072:function(t,e,i){"use strict";i.d(e,{Z:function(){return m}});var r,a=i(38821),s=i(7174),o=i(35829),n=i(71743),l=i(58217),c="g0pguj1NyXLERAaKMMRw";let m=(0,a.wA)({name:"SearchBar"})(r=class extends a.XY{render(){const t=arguments[0],{t:e}=(0,l.QT)();return t("div",{on:{click:()=>{this.$router.push({name:o.x4.GAME_SEARCH})}},class:[c,"search-bar"]},[t("p",{class:"txt"},[e("lobby.game.galaxyGold.searchTip")]),t("div",{class:"search-btn"},[t(s.JO.Tsx,{attrs:{component:{functional:!0,render:()=>t("icon-sprite",{attrs:{standalone:(0,n.x_)("icon_top_ss")}})}}})])])}})||r},47032:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return A}});var r,a=i(38821),s=i(29599),o=i(68809),n=i(24759),l=i(14361),c=i(34731),m=i(65074),p=i(71743),u=i(96309),d=i(93569),h=i(32425),g=i(49572),y=i(29822),b=i(88343),f=i(127),C=i(73389),w=i(7866),v="TyyRVJAHPn2kfzQzPYtm",S="jh9KfgB1BIiSUsQBGMLf",I="dj_k8VlCNhanwT9XLXfQ",Z="HFH6QJQAVwMJXO6BQCXM";let k=(0,a.wA)({name:"Theme28GameCards"})(r=class extends((0,a.Wr)(d.Z)){renderVerticalDynamicGameBox(t,e,i){const r=this.$createElement,a=C.Z.gameMenu[e].normalSingle,s=r("icon-sprite",{attrs:{standalone:a}}),o=e===c.ck.Hot?"anchor9999":`anchor${e}`;return r("div",{class:S,attrs:{id:o}},[r(f.Z,{attrs:{gameCategoryId:e,cardCount:3,displayDataSize:i,listData:t,isFillCards:!1,allBtnLeft:!0},scopedSlots:{gameListBox:({data:t,tempArr:a})=>a.length>0?a.map(((a,s)=>r(y.Z,{attrs:{cardCount:3,displayDataSize:i,gameCategoryId:e,isFirstPage:0===s,listData:t.slice(s*i,(s+1)*i),listLayout:"home"}}))):r(b.Z),holidayApng:()=>e===c.ck.Hot?r(w.Z):null,customerPageIcon:()=>r("icon-sprite",{attrs:{sprite:(0,p.T9)("comm_icon_fy_jt")}})}},[r("div",{class:I,slot:"title"},[r("div",{class:[Z,"leftTitle"]},[s,r("span",[this.getGameCategoryItemName(e)])])])])])}renderSquareDynamicGameBox(t,e,i){const r=this.$createElement,a=C.Z.gameMenu[e].normal,s=r("icon-sprite",{attrs:{sprite:a}}),o=e===c.ck.Hot?4:1,n=e===c.ck.Hot?"anchor9999":`anchor${e}`,l=e===c.ck.Hot?g.Z:h.Z;return r("div",{class:S,attrs:{id:n}},[r(f.Z,{attrs:{gameCategoryId:e,cardCount:o,displayDataSize:i,listData:t,allBtnLeft:!0},scopedSlots:{gameListBox:({data:t,tempArr:a})=>a.length>0?a.map(((a,s)=>r(l,{attrs:{gameCategoryId:e,cardCount:o,displayDataSize:i,isFirstPage:0===s,listData:t.slice(s*i,(s+1)*i),listLayout:"home"}}))):r(b.Z),holidayApng:()=>e===c.ck.Hot?r(w.Z):null,customerPageIcon:()=>r("icon-sprite",{attrs:{sprite:(0,p.T9)("comm_icon_fy_jt")}})}},[r("div",{class:I,slot:"title"},[r("div",{class:[Z,"leftTitle"]},[s,r("span",[this.getGameCategoryItemName(e)])])])])])}get hotDataNum(){const t=m.xP.getGameCategoryItem(c.ck.Hot);return{dataNum:m.$v.isIconStyleSquare?4*(t?.appSquare||3):3*(t?.appVertical||3)}}render(){const t=arguments[0],{currentPlatformGameList:e}=(0,u.g)();return t("div",{class:v,attrs:{id:"anchor-wrapper"},key:"anchor-wrapper-theme28"},[this.isVerticalBottom?t(s.fA,[this.renderVerticalDynamicGameBox(this.listData,this.isOtherMenu?this.gameCategoryId:c.ck.Hot,this.hotDataNum.dataNum),!this.isOtherMenu&&e.map((t=>this.renderVerticalDynamicGameBox(t.totalData,t.key,t.dataNum)))]):t(s.fA,[this.renderSquareDynamicGameBox(this.listData,this.isOtherMenu?this.gameCategoryId:c.ck.Hot,this.hotDataNum.dataNum),!this.isOtherMenu&&e.map((t=>this.renderSquareDynamicGameBox(t.totalData,t.key,t.dataNum)))])])}})||r;var L,T=i(11052),z=i(19072),P=i(12832),_="oEXczbTkXtcyI32NmT54";let A=(0,a.wA)({name:"Theme28HomeH5"})(L=class extends a.XY{get bannerList(){return(0,o.UL)()}render(){const t=arguments[0];return t("div",{class:_},[t(s.$C,{scopedSlots:{leftIcon:()=>t("my-img",{attrs:{options:{useWebpOnly:(0,n.wH)()},src:P.Z.isNoBg?"/lobby_asset/{layout}-{bg}-common/web/home/icon_dt_pmd.png":"/lobby_asset/{layout}-{bg}-{skin}/web/home/icon_dt_pmd.png"}})}}),t(s.eC,{attrs:{dataList:this.bannerList,styleConfig:{borderRedius:0,commonModeCardWidth:750}}}),t(z.Z),t("div",{attrs:{id:"anchor-menu"}},[t(s.oh,{attrs:{offsetTop:"0.16rem",positionType:"absolute",scrollElement:"#home-scroll-box .my-scrollbar-wrap",hideConfig:{referenceElement:"#anchor-wrapper",distance:"-0.94rem"}}},[t("div",{attrs:{id:"middle-menu"}},[t(T.Z)])]),t(k),t(l.Z)])])}})||L},7e3:function(t,e,i){"use strict";i.d(e,{Q:function(){return r}});const r=(t,e)=>{const{pc_exist:i,pc_none:r,h5_exist:a,h5_none:s}=e,o={true_true:i,true_false:r,false_true:a,false_false:s};return e=>o[`${t}_${Boolean(e)}`]};r.mapperSquare={pc_exist:"0.1rem 0.18rem 0.18rem 0.18rem",pc_none:"0.18rem",h5_exist:"0.14rem 0.22rem 0.22rem 0.22rem",h5_none:"0.22rem"},r.mapperVertical={pc_exist:"0.1rem 0.2rem 0.2rem 0.2rem",pc_none:"0.2rem",h5_exist:"0.14rem 0.2rem 0.2rem 0.2rem",h5_none:"0.2rem"}},88343:function(t,e,i){"use strict";i.d(e,{Z:function(){return y}});var r,a,s,o,n,l=i(53158),c=i(12040),m=i(38821),p=i(7174),u=i(95692),d=i(96309),h=i(58217),g="dfexY4VbKS9kB9S49AE3";let y=(r=(0,m.wA)({name:"OccupiedEmpty"}),a=(0,m.fI)(),r((o=class extends m.XY{constructor(...t){super(...t),(0,l.Z)(this,"description",n,this)}render(){const t=arguments[0],{t:e}=(0,h.QT)(),{gameListLoading:i}=(0,d.g)();return i?t("div",{class:g}):t(p.HY.Tsx,{class:g,attrs:{description:this.description||e("lobby.modal.notOpen"),image:t(u.h,{attrs:{width:260,height:260}})}})}},n=(0,c.Z)(o.prototype,"description",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=o))||s)},8648:function(t,e,i){"use strict";i.d(e,{Z:function(){return a}});const r={retry:5,interval:3e3};class a{constructor(t,e=r){this.url=t,this.es=null,this.options=e,this.retry=e.retry,this.timer=null}_onOpen(){}_onMessage(t){return e=>{let i;this.retry=this.options.retry;try{i=JSON.parse(e.data)}catch(r){}"function"==typeof t&&t(i)}}_onError(t,e){return()=>{this.es&&(this._removeAllEvent(t,e),this.unsunscribe()),this.retry>0?this.timer=window.setTimeout((()=>{this.subscribe(t,e)}),this.options.interval):this.retry--}}_removeAllEvent(t,e){this.es?.removeEventListener("open",this._onOpen),this.es?.removeEventListener(t,this._onMessage(e)),this.es?.removeEventListener("error",this._onError(t,e))}subscribe(t,e){switch(this.es=this.es??new EventSource(this.url),t){case"message":this.es.addEventListener(t,this._onMessage(e));break;case"error":case"open":this.es.addEventListener(t,e)}}unsunscribe(){this.es&&(this.es.close(),this.es=null),this.timer&&clearTimeout(this.timer)}}},76769:function(t,e,i){"use strict";i.d(e,{Z:function(){return P}});var r,a,s,o,n,l,c,m,p,u,d,h,g,y=i(55433),b=i(12040),f=i(38821),C=i(20360),w=i(85094),v=i(96309),S=i(58217),I=i(91475),Z=i(53663),k=i(8648),L="BINup54Moq2YCRxnq_yF",T="MpaCh4l5Lct1PNCq2D1w",z="Kn3M43tUKNEEfC28QETt";let P=(r=(0,f.wA)({name:"MarketsCategory"}),a=(0,f.RL)("currentCategory"),s=(0,f.RL)("sportKey"),o=(0,f.RL)("state.rollingSports"),n=(0,f.RL)("sportKey"),l=(0,f.RL)("state.championSports"),c=(0,f.RL)("sportKey"),m=(0,f.RL)("state.passLeveSports"),p=(0,f.RL)("sportsStore.sabaToken"),u=(0,f.RL)("sportsStore.sabaToken"),d=(0,f.RL)("sportsStore.sabaToken"),r((g=class extends f.XY{constructor(...t){super(...t),(0,y.Z)(this,"state",{rollingSports:[],championSports:[],passLeveSports:[]}),(0,y.Z)(this,"sportsStore",(0,Z.P)()),(0,y.Z)(this,"currentCategory",this.marketCategory)}get marketCategory(){return this.sportsStore.marketCategory}get categoryToCount(){return this.sportsStore.categoryToCount}get sportKey(){return this.sportsStore.sportKey}get collectLeagueList(){return this.sportsStore.collectLeagueList}get getSelfSportAndSabaStatus(){const{getSelfSportMaintainStatus:t}=(0,v.g)(),{sabaMaintenance:e}=(0,I.h)();return t||e}mounted(){this.getRollingAndTodayCount(),this.getChampionAndMorningCount(),this.getPassLeveCount()}get sportTypeList(){return Object.values(C.q$).map((t=>Number(t)))}onCategoryChange(){const{setMarketCategory:t}=this.sportsStore;t(this.currentCategory)}calcRollingCount(){const t=this.state.rollingSports.find((t=>t.sportType===this.sportsStore.sportKey)),e=t?.liveGameCount??0,i=(t?.gameCount??0)+(t?.liveGameCount??0);this.sportsStore.updateCategoryToCount({rolling:e,today:i})}calcChampionCount(){const t=this.state.championSports.find((t=>t.sportType===this.sportsStore.sportKey)),e=t?.gameCount??0,i=t?.outrightGame??0;this.sportsStore.updateCategoryToCount({champion:i,morning:e})}calcPassLeveCount(){const t=this.state.passLeveSports.find((t=>t.sportType===this.sportsStore.sportKey))?.parlayGame??0;this.sportsStore.updateCategoryToCount({passLeve:t})}getRollingAndTodayCount(){if(this.sportsStore.sabaUrl&&this.sportsStore.sabaToken&&!this.getSelfSportAndSabaStatus){const t=(0,w.iq)(C.AO.Rolling),e=`from=${t.from}&until=${t.until}`;this.rollingAndTodaySSE&&this.rollingAndTodaySSE.unsunscribe(),this.rollingAndTodaySSE=new k.Z(`${this.sportsStore.sabaUrl}/sports/stream/v1/GetSports?token=${this.sportsStore.sabaToken}&${e}`),this.rollingAndTodaySSE.subscribe("message",(t=>{if(!t)return;const{add:e,change:i,remove:r}=t?.payload?.sports||{};let{rollingSports:a}=this.state;e?.length&&(a=a.concat(e)),i?.length&&(a=a?.map((t=>{const e=i.find((e=>e.sportType===t.sportType));return e?{...t,...e}:t}))),r?.length&&(a=a?.filter((t=>!r.includes(t.sportType)))),this.setState({rollingSports:a})}))}}getChampionAndMorningCount(){if(this.sportsStore.sabaUrl&&this.sportsStore.sabaToken&&!this.getSelfSportAndSabaStatus){const t=(0,w.iq)(C.AO.Morning),e=`from=${t.from}&until=${t.until}`;this.championAndMorningSSE&&this.championAndMorningSSE.unsunscribe(),this.championAndMorningSSE=new k.Z(`${this.sportsStore.sabaUrl}/sports/stream/v1/GetSports?token=${this.sportsStore.sabaToken}&${e}`),this.championAndMorningSSE.subscribe("message",(t=>{if(!t)return;const{add:e,change:i,remove:r}=t?.payload?.sports||{};let{championSports:a}=this.state;e?.length&&(a=a.concat(e)),i?.length&&(a=a?.map((t=>{const e=i.find((e=>e.sportType===t.sportType));return e?{...t,...e}:t}))),r?.length&&(a=a?.filter((t=>!r.includes(t.sportType)))),this.setState({championSports:a})}))}}getPassLeveCount(){if(this.sportsStore.sabaUrl&&this.sportsStore.sabaToken&&!this.getSelfSportAndSabaStatus){const t=(0,w.iq)(C.AO.PassLeve),e=`from=${t.from}&until=${t.until}`;this.passLeveSSE&&this.passLeveSSE.unsunscribe(),this.passLeveSSE=new k.Z(`${this.sportsStore.sabaUrl}/sports/stream/v1/GetSports?token=${this.sportsStore.sabaToken}&${e}`),this.passLeveSSE.subscribe("message",(t=>{if(!t)return;const{add:e,change:i,remove:r}=t?.payload?.sports||{};let{passLeveSports:a}=this.state;e?.length&&(a=a.concat(e)),i?.length&&(a=a?.map((t=>{const e=i.find((e=>e.sportType===t.sportType));return e?{...t,...e}:t}))),r?.length&&(a=a?.filter((t=>!r.includes(t.sportType)))),this.setState({passLeveSports:a})}))}}get handicapTabTypeList(){const{t:t}=(0,S.QT)();return[{type:C.AO.Today,title:e=>t("lobby.selfoperatedGames.sports.todayCount",{count:0===e?"...":e})},{type:C.AO.Rolling,title:e=>t("lobby.selfoperatedGames.sports.rollingCount",{count:0===e?"...":e})},{type:C.AO.Morning,title:e=>t("lobby.selfoperatedGames.sports.morningCount",{count:0===e?"...":e})},{type:C.AO.PassLeve,title:e=>t("lobby.selfoperatedGames.sports.passLevelCount",{count:0===e?"...":e})},{type:C.AO.Champion,title:e=>t("lobby.selfoperatedGames.sports.championCount",{count:0===e?"...":e})},{type:C.AO.FocusOn,title:e=>t("lobby.selfoperatedGames.sports.focusOnCount",{count:e})}]}render(){const t=arguments[0];return t("my-scroll",{attrs:{height:"auto",direction:"x",trigger:"none",dragable:!0},class:L},[this.handicapTabTypeList.map((e=>{let i=this.categoryToCount[e.type];return e.type===C.AO.FocusOn&&(i=this.collectLeagueList?.length??0),t("span",{class:{[T]:!0,[z]:this.currentCategory===e.type},key:e.type,on:{click:()=>{this.currentCategory=e.type}}},[e.title(i)])}))])}},(0,b.Z)(g.prototype,"onCategoryChange",[a],Object.getOwnPropertyDescriptor(g.prototype,"onCategoryChange"),g.prototype),(0,b.Z)(g.prototype,"calcRollingCount",[s,o],Object.getOwnPropertyDescriptor(g.prototype,"calcRollingCount"),g.prototype),(0,b.Z)(g.prototype,"calcChampionCount",[n,l],Object.getOwnPropertyDescriptor(g.prototype,"calcChampionCount"),g.prototype),(0,b.Z)(g.prototype,"calcPassLeveCount",[c,m],Object.getOwnPropertyDescriptor(g.prototype,"calcPassLeveCount"),g.prototype),(0,b.Z)(g.prototype,"getRollingAndTodayCount",[p],Object.getOwnPropertyDescriptor(g.prototype,"getRollingAndTodayCount"),g.prototype),(0,b.Z)(g.prototype,"getChampionAndMorningCount",[u],Object.getOwnPropertyDescriptor(g.prototype,"getChampionAndMorningCount"),g.prototype),(0,b.Z)(g.prototype,"getPassLeveCount",[d],Object.getOwnPropertyDescriptor(g.prototype,"getPassLeveCount"),g.prototype),h=g))||h)},85094:function(t,e,i){"use strict";i.d(e,{DL:function(){return C},F8:function(){return L},Ic:function(){return B},QO:function(){return v},Rn:function(){return P},Si:function(){return y},Sl:function(){return g},To:function(){return _},WT:function(){return k},YK:function(){return T},ac:function(){return b},iq:function(){return f},j2:function(){return Z},kC:function(){return S},pU:function(){return h},pl:function(){return A},sf:function(){return d},xA:function(){return I},y4:function(){return w}});var r=i(66678),a=i.n(r),s=i(50361),o=i.n(s),n=i(20360),l=i(50644),c=i(34068),m=i(58217),p=i(53663),u=i(56343);const d=[n.Im.Handicap,n.Im.OneXHandicap,n.Im.TwoXHandicap,n.Im.MatchPointHandicap],h=[n.Im.OverUnder,n.Im.OneXOverUnder,n.Im.TwoXOverUnder],g=[n.Im.FTp1X2,n.Im.OneFtp1x2,n.Im.TwoFtp1x2],y=[n.Im.MoneyLine,n.Im.OneMoneyLine],b=t=>{const e=o()(t.events),i=t?.markets;return e.forEach((t=>{t.markets=i?.filter((e=>t.eventId===e.eventId))})),e},f=t=>{const e=t=>{const e=u.Z.moment().utcOffset()/60;return u.Z.moment(t).add(-e,"hour").format("YYYY-MM-DDTHH:mm:ss")};switch(t){case n.AO.Champion:case n.AO.Morning:return{from:e(u.Z.moment().toDate()),until:e(u.Z.moment().add(30,"day").toDate())};case n.AO.Rolling:case n.AO.Today:return{from:e(u.Z.moment().startOf("day").subtract(6,"hour").toDate()),until:e(u.Z.moment().endOf("day").toDate())};case n.AO.PassLeve:return{from:e(u.Z.moment().subtract(6,"hour").toDate()),until:e(u.Z.moment().add(30,"day").toDate())};default:return{from:e(u.Z.moment().subtract(30,"day").toDate()),until:e(u.Z.moment().add(30,"day").toDate())}}},C=t=>{const e=Math.floor(t/60),i=t%60;return`${String(e).padStart(2,"0")}:${String(i).padStart(2,"0")}`},w=(t,e="YYYY-MM-DD HH:mm:ss")=>u.Z.moment.utc(t,"YYYY-MM-DDTHH:mm:ss.SSS").local().format(e),v=t=>u.Z.moment.utc(t).locale().valueOf(),S=t=>{let e=[];return a()(t)?.forEach(((t,i)=>{if(t.selections.forEach((e=>{e.marketId=t.marketId,e.eventId=t.eventId})),0===i)e.push(t);else{const i=e.filter((e=>{if(t.betType===e.betType)return e.selections=e.selections.concat(t.selections),e.selections=e.selections.filter(((t,e,i)=>i.findIndex((e=>e.point===t.point&&e.key===t.key))===e)),!0}));0===i.length&&e.push(t)}})),e=e.sort(((t,e)=>D(t.betType)-D(e.betType))),e},I=t=>{t.forEach((t=>{const{betType:e,selections:i,marketStatus:r}=t;r!==l.$.running&&(t.marketIsDisabled=!0),[n.Im.Handicap,n.Im.OneXHandicap,n.Im.TwoXHandicap].includes(e)&&i.forEach((t=>{L(t.point)})),i.forEach((t=>{(t=>{k(t)<=0&&(t.selectionPriceIsDisabled=!0)})(t)})),(t=>{const{t:e}=(0,m.QT)();t.forEach((t=>{t.key===n.cY&&(t.keyName=e("lobby.selfoperatedGames.markets.AOSToOther"))}))})(i)}))},Z=t=>{const e=[],i=[];return t.forEach((t=>{e.includes(t.betType)||(e.push(t.betType),i.push({value:t.betType.toString(),label:t.betTypeName}))})),i},k=t=>{const{handicapAreasKey:e}=(0,p.P)(),i=t.oddsPrice[e===n.H8.Europe?"decimalPrice":"hongKongPrice"];return Number(i.toFixed(2))},L=t=>{let e="";return t?.toString().includes(".25")||t?.toString().includes(".75")?(e=`${Math.abs(t)-.25}/${Math.abs(t)+.25}`,t<0&&(e="-"+e)):e=t?.toString()||"",e},T=t=>z().find((e=>{if("number"==typeof e.thirdKey)return e.thirdKey===t;{const i=e.thirdKey.split("-");return i[0]===t.toString()||i[1]===t.toString()}})),z=()=>{const{t:t}=(0,m.QT)();return[{thirdKey:n.Im.Handicap,name:t("lobby.selfoperatedGames.markets.handicap"),key:n.y5.HANDICA},{thirdKey:n.Im.OneXHandicap,name:t("lobby.selfoperatedGames.markets.handicapUp"),key:n.y5.HANDICA},{thirdKey:n.Im.TwoXHandicap,name:t("lobby.selfoperatedGames.markets.handicapDown"),key:n.y5.HANDICA},{thirdKey:n.Im.OverUnder,name:t("lobby.selfoperatedGames.markets.bigsmall"),key:n.y5.OverUnder},{thirdKey:n.Im.OneXOverUnder,name:t("lobby.selfoperatedGames.markets.bigsmallUp"),key:n.y5.OverUnder},{thirdKey:n.Im.TwoXOverUnder,name:t("lobby.selfoperatedGames.markets.bigsmallDown"),key:n.y5.OverUnder},{thirdKey:n.Im.FTp1X2,name:t("lobby.selfoperatedGames.markets.winDrawLose"),key:n.y5.SINGLE_DOUBLE},{thirdKey:n.Im.OneFtp1x2,name:t("lobby.selfoperatedGames.markets.winDrawLoseUp"),key:n.y5.SINGLE_DOUBLE},{thirdKey:n.Im.TwoFtp1x2,name:t("lobby.selfoperatedGames.markets.winDrawLoseDown"),key:n.y5.SINGLE_DOUBLE},{thirdKey:n.Im.score,name:t("lobby.selfoperatedGames.markets.score"),key:n.y5.SCORE},{thirdKey:n.Im.scoreUp,name:t("lobby.selfoperatedGames.markets.scoreUp"),key:n.y5.SCORE},{thirdKey:n.Im.scoreDown,name:t("lobby.selfoperatedGames.markets.scoreDown"),key:n.y5.SCORE},{thirdKey:n.Im.HalfAndFullCorrectScore,name:t("lobby.selfoperatedGames.markets.HalfAndFullCorrectScore"),key:n.y5.SCORE},{thirdKey:n.Im.HalfAndFullCorrectScore1,name:t("lobby.selfoperatedGames.markets.HalfAndFullCorrectScore1"),key:n.y5.SCORE},{thirdKey:n.Im.singleDouble,name:t("lobby.selfoperatedGames.markets.singleDouble"),key:n.y5.SINGLE_DOUBLE},{thirdKey:n.Im.singleDoubleUp,name:t("lobby.selfoperatedGames.markets.singleDoubleUp"),key:n.y5.SINGLE_DOUBLE},{thirdKey:n.Im.singleDoubleDown+"-"+n.Im.singleDoubleDown2,name:t("lobby.selfoperatedGames.markets.singleDoubleDown"),key:n.y5.SINGLE_DOUBLE},{thirdKey:n.Im.doubleChance,name:t("lobby.selfoperatedGames.markets.doubleChance"),key:n.y5.DOUBLE_CHANCE},{thirdKey:n.Im.doubleChanceUp+"-"+n.Im.doubleChanceUp2,name:t("lobby.selfoperatedGames.markets.doubleChanceUp"),key:n.y5.DOUBLE_CHANCE},{thirdKey:n.Im.doubleChanceDown+"-"+n.Im.doubleChanceDown2,name:t("lobby.selfoperatedGames.markets.doubleChanceDown"),key:n.y5.DOUBLE_CHANCE},{thirdKey:n.Im.totalGoal,name:t("lobby.selfoperatedGames.markets.totalGoal"),key:n.y5.TOTAL_GOAL},{thirdKey:n.Im.totalGoalUp,name:t("lobby.selfoperatedGames.markets.totalGoalUp"),key:n.y5.TOTAL_GOAL},{thirdKey:n.Im.rightTotalGoal,name:t("lobby.selfoperatedGames.markets.rightTotalGoal"),key:n.y5.TOTAL_GOAL},{thirdKey:n.Im.rightHomeTotalGoal,name:t("lobby.selfoperatedGames.markets.rightHomeTotalGoal"),key:n.y5.TOTAL_GOAL},{thirdKey:n.Im.rightAwayTotalGoal,name:t("lobby.selfoperatedGames.markets.rightAwayTotalGoal"),key:n.y5.TOTAL_GOAL},{thirdKey:n.Im.rightTotalGoalUp,name:t("lobby.selfoperatedGames.markets.rightTotalGoalUp"),key:n.y5.TOTAL_GOAL},{thirdKey:n.Im.rightTotalGoalDown,name:t("lobby.selfoperatedGames.markets.rightTotalGoalDown"),key:n.y5.TOTAL_GOAL},{thirdKey:n.Im.zeroLose,name:t("lobby.selfoperatedGames.markets.zeroLose"),key:n.y5.ZERO_LOSE},{thirdKey:n.Im.zeroLoseWinner,name:t("lobby.selfoperatedGames.markets.zeroLoseWinner"),key:n.y5.ZERO_LOSE},{thirdKey:n.Im.halfAll,name:t("lobby.selfoperatedGames.markets.halfAll"),key:n.y5.HALF_ALL},{thirdKey:n.Im.special,name:t("lobby.selfoperatedGames.markets.special"),key:n.y5.SPECIAL},{thirdKey:n.Im.winLose,name:t("lobby.selfoperatedGames.markets.winLose"),key:n.y5.WIN_LOSE}]},P=t=>{const e=[],i=[];return function r(a,s){s>=2&&e.push(i.slice());for(let e=a;e<t.length;e++)i.push(t[e]),r(e+1,s+1),i.pop()}(0,0),e},_=(t,e)=>{const i=[];return function r(a,s){s.length===e&&i.push(s.slice());for(let e=a;e<t.length;e++)s.push(t[e]),r(e+1,s),s.pop()}(0,[]),i},A=/^0/,B=t=>(0,c.T1)(t,0),x={1:1,7:1,17:1,3:2,8:2,18:2,5:3,15:3,177:3,413:4,414:4,405:4,2:5,12:5,184:5,428:5,24:6,151:6,410:6,186:6,431:6,6:7,126:7,159:7,161:7,162:7,179:7,187:7,13:8,27:8,16:9,20:10},D=function(t){return t in x?x[t]:10}},51233:function(t,e,i){"use strict";i.d(e,{Z:function(){return y}});var r,a=i(55433),s=i(38821),o=i(20360),n=i(29599),l=i(53663),c=i(76382),m=i(76769),p=i(56822),u=i(12832),d=i(99483),h="D_4S6dcSuOlphq_hqikD",g="Q3XLBYHxujyRcZP86GKB";let y=(0,s.wA)({name:"SportGameHome",components:{SelfoperatedGamesSports:p.Z.createAsyncComponent({component:()=>i.e(12751).then(i.bind(i,27380))})}})(r=class extends s.XY{constructor(...t){super(...t),(0,a.Z)(this,"sportsStore",(0,l.P)())}mounted(){const{setSportKey:t}=(0,l.P)();this.$route.query.sportType?t(Number(this.$route.query.sportType)):u.Z.currentTheme().isTheme29||t(o.qg.Casino)}get isShowMiddleMenu(){const{sportKey:t}=(0,l.P)();return t===o.qg.Casino}get hideConfig(){return this.isShowMiddleMenu?{referenceElement:""}:{referenceElement:"#selfoperatedGamesSports2",compareDirect:"bottom",referenceSide:"bottom",stickySide:"bottom",distance:"-4rem"}}render(){const t=arguments[0];return t("section",[t(n.oh,{attrs:{isStickyEnable:!this.isShowMiddleMenu,positionType:"absolute",scrollElement:"#home-scroll-box .my-scrollbar-wrap",isDynamicContent:!1,hideConfig:this.hideConfig},class:[h,this.isShowMiddleMenu?"show-middle-menu":""]},[t(d.Z),!this.isShowMiddleMenu&&this.sportsStore.ipAccess&&t(m.Z,{class:g})]),t("div",{attrs:{id:"selfoperatedGamesSports2"},style:{minHeight:this.isShowMiddleMenu?"initial":"4.1rem"}},[!this.isShowMiddleMenu&&this.sportsStore.ipAccess?t("selfoperated-games-sports"):!this.isShowMiddleMenu&&t(c.Z)]),this.isShowMiddleMenu&&this.$slots.default])}})||r},99483:function(t,e,i){"use strict";i.d(e,{w:function(){return h},Z:function(){return g}});var r,a=i(55433),s=i(38821),o=i(46851),n=i(35829),l=i(58217),c=i(53663),m=i(36476),p="fzWwjIeHZnq0nMkeCxrg",u="Qpz8hyaIuCoF4Xh_PorQ",d="DXXS10m47ePAPi4FeQ7d";const h=0;let g=(0,s.wA)({name:"SportsMiddleMenu"})(r=class extends s.XY{constructor(...t){super(...t),(0,a.Z)(this,"sportsStore",(0,c.P)())}get sportList(){return[{icon:"/lobby_asset/{layout}-{bg}-common/common/home/icon_ylc.png",sportName:"lobby.footer.quickJump.recreationCity",sportType:h},...this.sportsStore.sportList]}onClickItem(t){const{setSportKey:e}=this.sportsStore;o.xN.dispatch({type:"DO_HOME_SCROLL",payload:{duration:500}}),e(t.sportType),this.$router.replace({name:n.x4.GAME,query:{sportType:String(t.sportType)}})}get renderTabs(){const t=this.$createElement,{t:e}=(0,l.QT)();return t(m.Z,{attrs:{needAutoCenter:!1,itemListWrapperClassName:p,tabsTransparent:!0,itemHeight:110,isScrollX:!0,itemSpace:10,persistedActiveName:"",resizeLineBaseDom:t=>t.querySelector(".sportsName"),soleId:"selfsportsBalls2",renderList:this.sportList.map((i=>({value:i.sportType,label:()=>t("div",{class:u,on:{click:()=>this.onClickItem(i)}},[t("my-img",{attrs:{src:i.icon,width:55},class:d}),t("span",{class:"sportsName"},[e(i.sportName)])])}))),showHoverTips:!1,value:this.sportsStore.sportKey}})}render(){return this.renderTabs}})||r}}]);