(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["hall_poker~hall_slot_machine~lobby_card~lobby_fish~lobby_home~lobby_home_4_1~lobby_live~lobby_lotter~aef94bb7"],{"0e0e":function(t,e,i){},"229e":function(t,e,i){"use strict";var s=i("8dd9"),o=i("90a2"),n=(i("14d9"),function(){var t=this,e=t._self._c;return t.isShowRecentlyBet?e("div",{directives:[{def:o["a"],name:"intersect",rawName:"v-intersect",value:t.onVisibilityChange,expression:"onVisibilityChange"}],staticClass:"recently-bet-wrapper"},[t.$SkinVariable.is96Skin?e("div",{staticClass:"tag-toolbar d-flex align-center"},[e("svg-icon",{staticClass:"text-22",attrs:{icon:"SvgRecent"}}),e("span",{staticClass:"ml-1 tag-name-96"},[t._v(" "+t._s(t.LangUtil("近期投注")))])],1):e("div",{staticClass:"font-weight-bold mb-4",class:t.$mobile?"text-16":"text-20"},[e("svg-icon",{staticClass:"mr-1",attrs:{icon:"game_list_history"}}),t._v(" "+t._s(t.LangUtil("近期投注"))+" ")],1),e(s["a"],{staticClass:"table-container",attrs:{color:t.$SkinVariable.is96Skin?"transparent":"line04"}},[e(s["a"],{staticClass:"rounded-t d-flex",attrs:{color:t.$SkinVariable.is96Skin?"transparent":"line04",height:"56"}},t._l(t.title_list,(function(i,s){return e("div",{key:`${i}_${s}`,staticClass:"header-cell text02--text"},[t._v(t._s(t.LangUtil(i)))])})),0),t.myProxy.pageData.list.length>0?e("div",{staticClass:"table-body",on:{mouseenter:t.onStopScroll,mouseleave:t.onStartScroll,touchstart:t.onStopScroll,touchend:t.onStartScroll,"&wheel":function(e){return t.onWheel.apply(null,arguments)}}},[e("div",{ref:"tableRowsContainer",staticClass:"table-rows-container"},[e("RecycleScroller",{ref:"scroller",staticClass:"scroller",attrs:{items:t.myProxy.pageData.list,"item-size":52,"min-item-size":20,prerender:20,"key-field":"order_no",buffer:20},scopedSlots:t._u([{key:"default",fn:function({item:i}){return[e("div",{staticClass:"table-row",class:[t.getRowColorClass(i),{"cursor-pointer":t.$SkinVariable.is96Skin&&t.$mobile}],on:{click:function(e){t.$SkinVariable.is96Skin&&t.$mobile&&t.$router.push(t.getOrderDetailRouter(i))}}},[t.$SkinVariable.is96Skin&&t.$mobile?e("div",{staticClass:"body-cell",class:{"flex-start":t.$SkinVariable.is96Skin},attrs:{title:i.vendor_product_name}},[e("div",{staticClass:"d-flex align-center overflow-hidden"},[e("svg-icon",{class:t.$mobile?"text-14 mr-1":"text-18 mr-2",attrs:{icon:"c"+i.vendor_type}}),e("div",{staticClass:"oneline"},[t._v(t._s(i.vendor_product_name))])],1)]):e("router-link",{staticClass:"body-cell cursor-pointer",class:{"flex-start":t.$SkinVariable.is96Skin},attrs:{to:t.getOrderDetailRouter(i),title:i.vendor_product_name}},[e("div",{staticClass:"d-flex align-center overflow-hidden"},[e("svg-icon",{class:t.$mobile?"text-14 mr-1":"text-18 mr-2",attrs:{icon:"c"+i.vendor_type}}),e("div",{staticClass:"underline oneline"},[t._v(t._s(i.vendor_product_name))])],1)]),e("div",{staticClass:"body-cell overflow-visible"},[t.$SkinVariable.is96Skin?t._e():e("div",{staticClass:"vip-wrapper"},[e("img",{staticClass:"vip-image",attrs:{src:t.getVipImage(i.vip_level),alt:i.vip_level,title:i.vip_level}}),e("div",{staticClass:"vip-level",style:{color:t.vipTextColor(i.vip_level)}},[t._v(t._s(i.vip_level))])]),e("span",{staticClass:"mr-1 oneline",class:{"text02--text":t.$mobile}},[t._v(t._s(i.username))])]),t.$mobile?t._e():e("div",{staticClass:"body-cell text02--text",class:{"flex-end":t.$SkinVariable.is96Skin}},[e("span",[t._v(t._s(t.formatAmount(i.bet_gold_coin,i.coin_name_unique)))]),e("img",{staticClass:"ml-1",attrs:{src:t.getCoinImage(i.coin_name_unique),height:"20",alt:i.coin_name_unique,title:i.coin_name_unique}})]),e("div",{staticClass:"body-cell overflow-visible"},[e("span",{staticClass:"mr-1 oneline",class:{"text02--text":t.$mobile}},[t._v(t._s(t.getMultiplier(i))+"x")]),t.getHotImage(i)?e("img",{staticStyle:{position:"relative",top:"-2px"},attrs:{src:t.getHotImage(i),height:t.$mobile?"14":"20",alt:"hot",title:"hot"}}):t._e()]),e("div",{staticClass:"body-cell overflow-visible",class:{"text02--text":!t.$SkinVariable.is96Skin,"flex-end":t.$SkinVariable.is96Skin,"red--text":t.isProfit(i)<0&&t.$SkinVariable.is96Skin,"green--text":t.isProfit(i)>0}},[e("span",{staticClass:"mr-1 oneline"},[t._v(" "+t._s(t.formatAmount(t.win_gold_coin(i),i.coin_name_unique,!0))+" ")]),e("img",{attrs:{src:t.getCoinImage(i.coin_name_unique),height:t.$mobile?"14":"20",alt:i.coin_name_unique,title:i.coin_name_unique}})]),t.$mobile?t._e():e("div",{staticClass:"body-cell"},[e("router-link",{staticClass:"primary01--text cursor-pointer view-detail-link",attrs:{to:t.getOrderDetailRouter(i),title:i.vendor_product_name}},[t._v(" "+t._s(t.LangUtil("立即查看"))+" "),e("svg-icon",{staticClass:"text-14 ml-1",attrs:{icon:"arrow_right"}})],1)],1)],1)]}}],null,!1,48925147)})],1)]):0==t.myProxy.pageData.list.length?e("ListNodata",{staticClass:"mt-5",style:{scale:t.$mobile?"0.7":"1"},attrs:{height:"30vh"}}):t._e()],1)],1):t._e()}),a=[],l=(i("e9f5"),i("f665"),i("ab43"),i("9ab4")),r=i("5471"),c=i("0a4c"),_=i("1b40"),d=i("ce7c"),u=i("c102"),h=i("8f58"),g=i("e2c7"),v=i("f95d"),m=i("91ff"),b=i("cffa"),p=i("dc9f"),f=i("2c20"),S=i("2c00"),y=i("1a50");let C=class extends r["a"]{constructor(){super(...arguments),this.gameProxy=Object(S["a"])(f["a"]),this.myProxy=this.getProxy(g["a"]),this.clientConfig=Object(u["a"])().getClientConfig(),this.autoScrollAnimationId=null,this.isIntersecting=!1,this.assets={hot_5:i("ae3e"),hot_10:i("0b27"),hot_20:i("8a81"),hot_5_en:i("63c7"),hot_10_en:i("662d"),hot_20_en:i("a792")},this.vipMap=p["a"].VipMap,this.GameRankProxy=this.getProxy(c["a"]),this.scrollTween=null,this.updateIntersecting=m["a"].debounce((function(t){this.isIntersecting=t,t?this.startAutoScroll():this.onStopScroll()}),100)}get title_list(){return this.$mobile?["游戏","玩家","倍率","利润"]:["游戏","玩家","投注金额","倍率","利润",""]}get isShowRecentlyBet(){return"skin013_10"!=this.$core.skin&&1==this.clientConfig.gamehistory}win_gold_coin(t){const e=t.vendor_id==h["a"].EnumVendorId.DEU_LOBBY?t.game_info.gold:t.win_gold_coin;return"string"===typeof e?parseFloat(e):e||0}get contain_game_info(){const t=0==this.vendor_ids.length&&0==this.vendor_types.length;return this.vendor_ids.includes(h["a"].EnumVendorId.DEU_LOBBY)||t||this.vendor_types.includes(d["a"].SLOT)?1:0}mounted(){this.myProxy.api_v2_plat_var_bet_recent({vendor_types:JSON.stringify(this.vendor_types),vendor_ids:JSON.stringify(this.vendor_ids),contain_game_info:this.contain_game_info}).then(()=>{this.startAutoScroll()})}beforeDestroy(){this.onStopScroll()}startAutoScroll(){var t;this.onStopScroll();const e=null===(t=this.$refs.scroller)||void 0===t?void 0:t.$el;if(!e)return;const i=e.scrollHeight-e.clientHeight;if(i<=0)return;const s=35,o=i/s;this.scrollTween=b["b"].to(e,{scrollTop:i,duration:o,ease:"linear",repeat:-1,repeatDelay:1,onRepeat:()=>{b["b"].set(e,{scrollTop:0})}})}onStartScroll(){this.startAutoScroll()}onStopScroll(){this.scrollTween&&(this.scrollTween.kill(),this.scrollTween=null)}onWheel(t){window.scrollBy(0,t.deltaY)}getRowColorClass(t){const e=this.myProxy.pageData.list.indexOf(t),i=e%2;return this.$SkinVariable.is96Skin?0==i?"bg212123 rounded16":"":0==i?"bgcolor2":"bgcolor1"}getCoinSymbol(t){return Object(u["a"])().getBlockCoins()[t].symbol}getCoinImage(t){return this.$SkinVariable.is96Skin&&"USD"!==t&&"EUR"!==t?v["a"].getImageUrl({url:Object(u["a"])().getBlockCoins()["USDT"].icon,w:this.$mobile?14:20}):v["a"].getImageUrl({url:Object(u["a"])().getBlockCoins()[t].icon,w:this.$mobile?14:20})}vipImgLevel(t){return this.getVipImgLevel(t)}getVipImage(t){var e;const i=this.vipImgLevel(t);return(null===(e=this.vipMap[i])||void 0===e?void 0:e.img)||this.vipMap[0].img}vipTextColor(t){const e=Math.floor((t-1)/h["a"].VIP_LV_COUNT);switch(e){case 0:return"#ffd7ba";case 1:return"#d6e8ff";case 2:return"#ffdfac";case 3:return"#fbd7ff";default:return"#ffd7ba"}}getHotImage(t){var e;const i={20:{iconAsset:this.assets.hot_20,iconAsset_en:this.assets.hot_20_en},10:{iconAsset:this.assets.hot_10,iconAsset_en:this.assets.hot_10_en},5:{iconAsset:this.assets.hot_5,iconAsset_en:this.assets.hot_5_en}},s=(null===(e=Object.keys(i).map(Number).sort((t,e)=>e-t).find(e=>parseFloat(this.getMultiplier(t))>=e))||void 0===e?void 0:e.toString())||"5",{iconAsset:o,iconAsset_en:n}=i[s];return parseFloat(this.getMultiplier(t))>=5?"zh_TW"===core.lang||"zh_CN"===core.lang?o:n:""}formatAmount(t,e,i=!1){return y["a"].convertAndFormat(t,e,this.$core.main_coin,{decimals:2,thousands:!0,showSymbol:!this.$SkinVariable.is96Skin,showSign:i})}getMultiplier(t){let e=t.bet_gold_coin,i=t.win_gold_coin;var s,o;t.vendor_id==h["a"].EnumVendorId.DEU_LOBBY&&t.game_info&&(e=null===(s=t.game_info)||void 0===s?void 0:s.all_bet,i=null===(o=t.game_info)||void 0===o?void 0:o.gold);const n=parseFloat(e),a=parseFloat(i);if(0===n)return"0.00x";const l=Math.abs((n+a)/n);return l.toFixed(2)}isProfit(t){const e=this.win_gold_coin(t);return e}getOrderDetailRouter(t){return{name:"bet_order_detail",params:{order_no:t.order_no,data:t}}}onVisibilityChange(t,e,i){this.updateIntersecting(i)}checkLv(t){return t>40?40:t<=0?1:t}getVipImgLevel(t){const e=this.checkLv(t);return e<0?0:e>30?3:Math.floor((e-1)/h["a"].VIP_LV_COUNT)}};Object(l["a"])([Object(_["d"])({default:()=>[]})],C.prototype,"vendor_types",void 0),Object(l["a"])([Object(_["d"])({default:()=>[]})],C.prototype,"vendor_ids",void 0),C=Object(l["a"])([_["a"]],C);var k=C,x=k,w=(i("5d9f"),i("2877")),$=Object(w["a"])(x,n,a,!1,null,"3802af33",null);e["a"]=$.exports},"5d9f":function(t,e,i){"use strict";i("0e0e")}}]);