<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-18ff6fc7"],{"02de":function(t,e,i){"use strict";function a(t){var e=window.getComputedStyle(t),i="none"===e.display,a=null===t.offsetParent&amp;&amp;"fixed"!==e.position;return i||a}i.d(e,"a",(function(){return a}))},"2bb1":function(t,e,i){"use strict";var a=i("c31d"),n=i("d282"),o=i("9884"),s=Object(n["a"])("swipe-item"),r=s[0],c=s[1];e["a"]=r({mixins:[Object(o["a"])("vanSwipe")],data:function(){return{offset:0,inited:!1,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,i=e.size,a=e.vertical;return i&amp;&amp;(t[a?"height":"width"]=i+"px"),this.offset&amp;&amp;(t.transform="translate"+(a?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.inited,i=this.parent,a=this.mounted;if(!i.lazyRender||e)return!0;if(!a)return!1;var n=i.activeIndicator,o=i.count-1,s=0===n&amp;&amp;i.loop?o:n-1,r=n===o&amp;&amp;i.loop?0:n+1,c=t===n||t===s||t===r;return c&amp;&amp;(this.inited=!0),c}},render:function(){var t=arguments[0];return t("div",{class:c(),style:this.style,on:Object(a["a"])({},this.$listeners)},[this.shouldRender&amp;&amp;this.slots()])}})},4598:function(t,e,i){"use strict";(function(t){i.d(e,"b",(function(){return c})),i.d(e,"a",(function(){return l}));var a=i("a142"),n=Date.now();function o(t){var e=Date.now(),i=Math.max(0,16-(e-n)),a=setTimeout(t,i);return n=e+i,a}var s=a["g"]?t:window,r=s.requestAnimationFrame||o;s.cancelAnimationFrame||s.clearTimeout;function c(t){return r.call(s,t)}function l(t){c((function(){c(t)}))}}).call(this,i("c8ba"))},"4b0a":function(t,e,i){"use strict";i("68ef"),i("786d")},5596:function(t,e,i){"use strict";var a=i("d282"),n=i("02de"),o=i("1325"),s=i("4598"),r=i("482d"),c=i("3875"),l=i("9884"),h=i("5fbe"),u=Object(a["a"])("swipe"),m=u[0],d=u[1];e["a"]=m({mixins:[c["a"],Object(l["b"])("vanSwipe"),Object(h["a"])((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t&gt;0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t={transitionDuration:(this.swiping?0:this.duration)+"ms",transform:"translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)"};if(this.size){var e=this.vertical?"height":"width",i=this.vertical?"width":"height";t[e]=this.trackSize+"px",t[i]=this[i]?this[i]+"px":""}return t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&amp;&amp;(t=+this.initialSwipe),this.$el&amp;&amp;!Object(n["a"])(this.$el)){clearTimeout(this.timer);var e={width:this.$el.offsetWidth,height:this.$el.offsetHeight};this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=+this.width||e.width,this.computedHeight=+this.height||e.height,this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&amp;&amp;(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&amp;&amp;this.swiping&amp;&amp;(this.touchMove(t),this.isCorrectDirection&amp;&amp;(Object(o["c"])(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&amp;&amp;this.swiping){var t=this.size,e=this.delta,i=Date.now()-this.touchStartTime,a=e/i,n=Math.abs(a)&gt;.25||Math.abs(e)&gt;t/2;if(n&amp;&amp;this.isCorrectDirection){var o=this.vertical?this.offsetY:this.offsetX,s=0;s=this.loop?o&gt;0?e&gt;0?-1:1:0:-Math[e&gt;0?"ceil":"floor"](e/t),this.move({pace:s,emitChange:!0})}else e&amp;&amp;this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,i=this.count,a=this.maxCount;return t?this.loop?Object(r["b"])(e+t,-1,i):Object(r["b"])(e+t,0,a):e},getTargetOffset:function(t,e){void 0===e&amp;&amp;(e=0);var i=t*this.size;this.loop||(i=Math.min(i,-this.minOffset));var a=e-i;return this.loop||(a=Object(r["b"])(a,this.minOffset,0)),a},move:function(t){var e=t.pace,i=void 0===e?0:e,a=t.offset,n=void 0===a?0:a,o=t.emitChange,s=this.loop,r=this.count,c=this.active,l=this.children,h=this.trackSize,u=this.minOffset;if(!(r&lt;=1)){var m=this.getTargetActive(i),d=this.getTargetOffset(m,n);if(s){if(l[0]&amp;&amp;d!==u){var f=d&lt;u;l[0].offset=f?h:0}if(l[r-1]&amp;&amp;0!==d){var g=d&gt;0;l[r-1].offset=g?-h:0}}this.active=m,this.offset=d,o&amp;&amp;m!==c&amp;&amp;this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(s["a"])((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(s["a"])((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var i=this;void 0===e&amp;&amp;(e={}),this.correctPosition(),this.resetTouchStatus(),Object(s["a"])((function(){var a;a=i.loop&amp;&amp;t===i.count?0===i.active?0:t:t%i.count,e.immediate?Object(s["a"])((function(){i.swiping=!1})):i.swiping=!1,i.move({pace:a-i.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active&lt;=-1&amp;&amp;this.move({pace:this.count}),this.active&gt;=this.count&amp;&amp;this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;e&gt;0&amp;&amp;this.count&gt;1&amp;&amp;(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},genIndicator:function(){var t=this,e=this.$createElement,i=this.count,a=this.activeIndicator,n=this.slots("indicator");return n||(this.showIndicators&amp;&amp;i&gt;1?e("div",{class:d("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(i)).map((function(i,n){return e("i",{class:d("indicator",{active:n===a}),style:n===a?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:d()},[t("div",{ref:"track",style:this.trackStyle,class:d("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}})},"57c8":function(t,e,i){"use strict";i("5da0")},"5da0":function(t,e,i){},"6c29":function(t,e,i){"use strict";i.r(e);i("b0c0");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"gameDetail"},[e("k-header-back"),e("div",{staticClass:"game-content"},[e("div",{staticClass:"nav-bar"},[e("span",{on:{click:function(e){return t.onFlag()}}},[t._v(t._s(t.getFlag()))]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",[t._v(t._s(t.playGameItem.name))])]),e("div",{staticClass:"playContent"},[e("div",{staticClass:"gamee-base"},[e("img",{attrs:{src:t.playGameItem.img,alt:""}}),e("div",{staticClass:"gameInfo"},[e("div",{staticClass:"name"},[t._v(t._s(t.playGameItem.name))])]),e("span",{staticClass:"close",on:{click:function(e){return t.playClose()}}},[e("i",{staticClass:"iconfont icon-close"})])]),e("div",{staticClass:"btn"},[t.isShowDemo(t.playGameItem)?e("span",{directives:[{name:"preventReClick",rawName:"v-preventReClick"}],on:{click:function(e){return t.toGameDemo(t.playGameItem.url,t.playGameItem.id,t.playGameItem.demoId,t.playGameItem.playMode,t.playGameItem.isPartnerGame)}}},[t._v(t._s(t.$language.demo))]):t._e(),e("span",{directives:[{name:"preventReClick",rawName:"v-preventReClick"}],staticClass:"mode",class:{"mode-max":!t.isShowDemo(t.playGameItem)},on:{click:function(e){return t.toGame(t.playGameItem.url,t.playGameItem.id,t.playGameItem.isPartnerGame,{demoGameId:t.playGameItem.demoId,playMode:t.playGameItem.playMode})}}},[e("i",{staticClass:"iconfont icon-tubiao207",staticStyle:{"margin-right":"0.08rem"}}),t._v(t._s(t.$language.playNow))])])]),e("div",{staticClass:"recommend"},[e("GameSwipe",{key:"data_"+t.i,attrs:{gameData:t.gameData,num:t.gameData.showNum,sum:t.totalNum,autoplay:3e3},on:{"on-click-game":t.playShowFn,"on-more":t.toGameList}})],1)])],1)},n=[],o=(i("b64b"),i("caad"),i("2532"),i("14d9"),i("e9c4"),i("99af"),i("e323"),i("d401"),i("0d03"),i("d3b7"),i("25f0"),i("53ca")),s=i("5530"),r=i("cf45"),c=i("bd61"),l=i("ec0a"),h={name:"GemeDetail",components:{KHeaderBack:c["a"],GameSwipe:l["a"]},props:{},computed:Object(s["a"])({},Vuex.mapGetters(["currency","countryData","limitDisplayVirtual","gameToDemo"])),data:function(){return{playGameItem:null,gameData:{title:"Recomendados",iconLeft:"-.25rem",tag:"jogos",flag:"111",showNum:3,sum:0,data:[]},pageNum:1,pageSize:12,flag:"111",totalNum:0,flagList:[{title:"P9GAME",flag:"110"},{title:"Recomendados",flag:"111"},{title:"Spin",flag:"107"},{title:"Slots",flag:"103"},{title:"Table",flag:"108"},{title:"Instant",flag:"109"},{title:"Providers",flag:"109"},{title:"Live",flag:"112"},{title:"PG Soft",flag:"113"}]}},created:function(){var t=window.localStorage.getItem("gameDetailData");this.playGameItem=JSON.parse(t),window.addEventListener("gameDetailData",this.handleStorageEvent),this.getData()},beforeDestroy:function(){window.removeEventListener("gameDetailData",this.handleStorageEvent)},methods:{handleStorageEvent:function(t){this.playGameItem=JSON.parse(t.detail.storage)},onFlag:function(){for(var t=this.flag,e=0;e&lt;this.flagList.length;e++)if(this.playGameItem.flag.includes(this.flagList[e].flag)){t=this.flagList[e].flag;break}this.$router.push({name:"gameList",query:{flag:t}})},getFlag:function(){for(var t=0;t&lt;this.flagList.length;t++)if(this.playGameItem.flag.includes(this.flagList[t].flag))return this.flagList[t].title},getData:function(){var t=this;this.$get({url:"kaya/c5/games",params:{cc:this.country,pageNum:this.pageNum,pageSize:this.pageSize,flag:this.flag}}).then((function(e){1==t.pageNum&amp;&amp;(t.gameData.data=e.data.games,t.totalNum=e.data.total)}))},isShowDemo:function(t){return!!t.demoId},playShowFn:function(t){window.localStorage.setItem("gameDetailData",JSON.stringify(t)),this.$router.push({name:"gameDetail"}),this.playGameItem=t},playClose:function(){var t=window.sessionStorage,e=t.getItem("count");1==e?this.$router.push({name:"Home"}):this.$router.go(-1)},toGameDemo:function(t,e,i,a,n){if(1!=n){if(Object(r["g"])({eventName:"game_click_demo"}),t&amp;&amp;i){if(!localStorage.getItem("demoGameToken")){var o="demo#".concat(Math.random().toString(36).substr(2,5)+ +new Date).concat(this.countryData.code);localStorage.setItem("demoGameToken",o)}var s=a||0;this.$router.push({name:"Game",query:{url:"".concat(t,"/?sid=").concat(Object(r["k"])(i,"demoGameToken"),"&amp;gameId=").concat(i,"&amp;mode=demo"),playMode:s}})}}else this.toPartnerGame({gameId:e,demo:1,data:{playMode:a}})},toGameToDemo:function(t){var e=t.url,i=t.demoGameId,a=t.playMode;if(!localStorage.getItem("demoGameToken")){var n="demo#".concat(Math.random().toString(36).substr(2,5)+ +new Date).concat(this.countryData.code);localStorage.setItem("demoGameToken",n)}var o=a||0;this.$router.push({name:"Game",query:{url:"".concat(e,"/?sid=").concat(Object(r["k"])(i),"&amp;gameId=").concat(i),playMode:o}})},toGame:function(t,e,i){var a=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:{};1!=i?t&amp;&amp;e&amp;&amp;(Object(r["g"])({eventName:"home_click"}),Object(r["g"])({eventName:"game_click"}),localStorage.getItem("token")?this.gameToDemo?this.toGameToDemo({url:t,gameId:e,demoGameId:a.demoGameId,playMode:a.playMode,type:i}):this.$router.push({name:"Game",query:{url:"".concat(t,"/?sid=").concat(Object(r["k"])(e),"&amp;gameId=").concat(e),gameId:e}}):this.$router.push({name:"Login"})):this.toPartnerGame({gameId:e,demo:0,auth:!0,data:a})},toPartnerGame:function(t){var e=this,i=t.gameId,a=t.demo,n=t.auth,s=void 0!==n&amp;&amp;n,c=t.data,l=void 0===c?{}:c;this.$post({url:"kaya/thirdGame/launchUrl",loading:!0,auth:s,data:{gameId:i,demo:a,host:location.origin,backUrl:location.origin+"/pg/callback.html",launchMode:"html",mobile:Object(r["y"])()?0:1}}).then((function(t){t.data&amp;&amp;("object"==Object(o["a"])(t.data)?"html"==t.data.launchMode&amp;&amp;(localStorage.setItem("pgHtml",t.data.data),e.$router.push({name:"PartnerGame",query:{url:"/pg/partner.html",playMode:l.playMode}})):e.playGameItem.thirdChannel&amp;&amp;7==e.playGameItem.thirdChannel?location.href="/partnerGamePG.html?url="+t.data:e.playGameItem.thirdChannel&amp;&amp;e.playGameItem.thirdChannel&lt;7?e.$router.push({name:"PartnerGame",query:{url:t.data}}):14==e.playGameItem.thirdChannel?e.$router.push({name:"PartnerPageGame",query:{url:t.data,playMode:l.playMode}}):location.href=t.data)}))}}},u=h,m=(i("57c8"),i("2877")),d=Object(m["a"])(u,a,n,!1,null,"ed888280",null);e["default"]=d.exports},7844:function(t,e,i){"use strict";i("68ef"),i("8270")},"786d":function(t,e,i){},8270:function(t,e,i){}}]);</pre></body></html>