(function(t){function e(e){for(var n,i,r=e[0],c=e[1],l=e[2],u=0,d=[];u1&&void 0!==arguments[1]?arguments[1]:"Error";i.a.confirm(t,e,{center:!0,showCancelButton:!1,showConfirmButton:!1,callback:function(){}})}function o(){var t=(navigator.language||navigator.browserLanguage).toLowerCase(),e="zh";return e=t.indexOf("en")>-1?"en":"zh",e}function r(t){var e=new RegExp("[?&]"+t+"=([^&#?]*)(&|#|$)"),a=window.location.href.match(e);return a?a[1]:null}var c={setCookie:function(t,e){var a=7,n=new Date;n.setTime(n.getTime()+24*a*60*60*1e3),n.setTime(n.getTime()+6e4),8080==window.location.port||/^test-|\.webdev2\./.test(window.location.host)?document.cookie=t+"="+escape(e)+";expires="+n.toGMTString():document.cookie=t+"="+escape(e)+";domain=.eosget.io;path=/;expires="+n.toGMTString()},getCookie:function(t){var e,a=new RegExp("(^| )"+t+"=([^;]*)(;|$)");return(e=document.cookie.match(a))?unescape(e[2]):null},delCookie:function(t){var e=t+"=;domain=.eosget.io;path=/";e+=";expires="+new Date(0).toGMTString(),document.cookie=e;e=t+"=;path=/";e+=";expires="+new Date(0).toGMTString(),document.cookie=e},setLangCookie:function(t,e){var a=7,n=new Date;n.setTime(n.getTime()+24*a*60*60*1e3),n.setTime(n.getTime()+6e4),document.cookie=t+"="+escape(e)+";expires="+n.toGMTString(),document.cookie=t+"="+escape(e)+";domain=.eosget.io;path=/;expires="+n.toGMTString()}};function l(t){return Math.ceil(t/13)}function u(t){return(t-1)%13+1}},1:function(t,e){},"1a22":function(t,e,a){"use strict";a("96cf");var n=a("1da1");a("cadf"),a("551c"),a("097d"),a("ac6a"),a("5df3");function i(){return s.apply(this,arguments)}function s(){return s=Object(n["a"])(regeneratorRuntime.mark(function t(){var e,a,n,i;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:for(n in e=[],a=function(t){var a=new Promise(function(e,a){var n=l[t];fetch("https://".concat(n,"/v1/chain/get_info")).then(function(t){e(n)}).catch(function(t){})});e.push(a)},l)a(n);return t.next=5,Promise.race(e);case 5:return i=t.sent,t.abrupt("return",i);case 7:case"end":return t.stop()}},t,this)})),s.apply(this,arguments)}function o(){return r.apply(this,arguments)}function r(){return r=Object(n["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e={},t.next=3,i();case 3:return EOS_HOST=t.sent,e=8080==window.location.port||/^test-|\.webdev2\./.test(window.location.host)?{protocol:"https",blockchain:"eos",port:"443",host:"localnet.eosget.io",chainId:"cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f"}:{protocol:EOS_PROTOCOL,blockchain:"eos",port:EOS_PORT,host:EOS_HOST,chainId:"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906"},t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),r.apply(this,arguments)}function c(t){return{protocol:"https",blockchain:"eos",host:t,port:"",chainId:"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906"}}a.d(e,"b",function(){return o}),a.d(e,"a",function(){return c}),a.d(e,"c",function(){return l});var l={eosplay:"eosjs.eosplay.com",cypherglass:"api.cypherglass.com",eoscannon:"mainnet.eoscannon.io",eosbeijing:"api.eosbeijing.one",eosn:"api.eosn.io",eosys:"rpc.eosys.io",eosnewyork:"api.eosnewyork.io","get-scatter":"nodes.get-scatter.com",proxy:"proxy.eosnode.tools"}},"1e7c":function(t,e,a){"use strict";var n,i=a("2b0e"),s=a("a925"),o={header:{title:"SICBO",balance:"BALANCE",login:"Login",loginOut:"LOGINOUT",room:"ROOM"},table:{title:"All bets",allBet:"All BETS",myBet:"MY BETS",hugeWin:"HUGE WINS",topPlayer:"TOP BETTORS",history:"HISTORY",col1:"Nper",col2:"Punters",col3:"The lottery",col4:"Betting",col5:"Win",col6:"Bettor",col7:"Wagered",col8:"Bet content",moneyState:["Ing","Done","Transfer"],winState:["P","B","T","PP","BP"],userState:["P","B"],playerWin:"P",bankerWin:"B",playerPair:"PP",bankerPair:"BP",tie:"T",result:"result",fairtab1:"type",fairtab2:"block id",fairtab3:"block number",fairTitle:"fair",resultTitle:"result"},wallet:{title:"Automatic bet Details",tabList:["Withdraw","Record"],tip1:"Automatically bet, does not consume cpu resources. Withdraw three times a day, automatically withdraw EOS without any behavior in 12 hours.",tip1m:"Automatic bet does not consume cpu resources, can be returned 3 times a day, no betting behavior within 12 hours, automatically returned to EOS.",tip2:"If a player does not make a bet within 12 hours , all EOS chips of this player will be automatically refunded to the address which the EOS token is from",tip3:"Maximun amount to withdraw",tip4:"Time(s) left to withdraw today",tip5:"Times",tip6:"Display transaction records of the latest 3 months",tip7:"Deposit",tip8:"Insufficient EOS tokens",get1:"Get",holder1:"Amount",holder2:"Amount",btnConfirm:"Confirm",typeMap:{bet:"bet",win:"win",deposit:"deposit",withdraw:"withdraw",autobet:"bet"}},gt:{title:"GT Coin",text1:".GT Coin(short for GT in the below) is a game token issued by the EOSGET, of which the total supply is 100,000,000.",text2:".GTs can be “mined” by a series of operations in the game and they are only circulated in the EOSGET for now.",text3:".GT holders can either trade GTs for stakes to get income distribution or sell GTs to get the EOS by the official repurchase smart contract. ",text4:".And the price of repurchase is dynamicly calculated by the Bancor protocal."},bonus:{title1:"GT Price(Y = GT Price,X = Xth/3rd/2nd latest transaction)",title2:"Current Dividend Pool",title3:"Repurchase Price of GT",title4:"My Dividend",title5:"GT Staked in Total",tip1:"Next Dividend",tip2:"My next dividend",tip3:"per 10k(Estimate)",tip4:"Cumulative dividend",tip5:"Repurchase Price",tip6:"My GT",tip7:"Available",tip8:"Staked",tip9:"Total Stake",tip10:"Starting Time",tip11:"Status",tip12:"Unstake Quantity",tip13:"Still Need",status1:["Processing","Done"],intro1:"Fluctuates depending on the platform earnings",intro2:"Settled once a day, distribute dividends according to the ratio of stake.",intro3:"has been staked, the number of which is ",intro4:"It takes 24 hours to cancel the stake.",btn1:"Retrieve GT",btn2:"Receive Dividend",btn3:"Unstake",btn4:"Stake",btn5:"Re-stake",alert1:"Dividend Pool Introduction",detail1:"When the platform has any income, the dividend portion will be directly transferred to the dividend pool for allocation, every 24 hours, each time the dividend is 50% of the current dividend pool, and the remaining 50% will accumulate into the next dividend pool.",alert2:"Stake GT",detail2:"You can stake at any time and dividend distribution is according to the ratio of stake.(Dividend will be distributed hourly.) The staked GT cannot be used. You can cancel at any time. It takes 24 hours to cancel the stake and you will not recive any dividend.",gtWarn:"Each repurchase can only repurchase up to 1% of the GT circulation.",eosTips:"Dividend temporarily suspend,will be back with a better plan"},reward:{title1:"Promotion Reward",tip1:"Total Reward",tip2:"Your Invitation URL",tip3:"Reward",tip4:"Date",tip5:"Your friends",tip6:"Total Bet",tip7:"Commission Rate",tip8:"Whether it is the first time to bet or not",tip9:"Token Reward",tip10:"Copy Successfully!",btn1:"Fetch",btn2:"Copy",alert1:"Promotion Instruction",detail1:"Promotion URL can be created on the page. You can get 0.2% of each bet of the invited players.(This applies to all the tokens.) You can get an extra amount of 5.0000GT on the first bet of the invited players. The promotion reward will be sent to the player's acount immediately. And the total reward can be checked on the promotion page. ",style:"e",successTip:"Successfully received:"},fair:{title:"Fair gambling",order1:{text1:"The draw of Baccarat is based on the 80th to 85th blocks behind the block where the game is created. The hash of the 70th to 75th blocks correspond to the cards of Player 1, Banker 1, Player 2, Banker 2, Player 3, Banker 3 respectively;",text2:"Each game will send up to six cards and each card will be drawn based on the block hash;",text3:"The first character of 1~d from the right to the left of the block hash determines the card value, where 1~9, a, b, c, d represents the 1~9, 10, J, Q, K of the card respectively;",text4:"The second character of 0~3 from right to left determines the card color, where 0~3 represents Diamond, Club, Heart and Spade respectively;",text5:'For example, if the block hash value is "fe640ffe2c3bcb74c4b2a40dd199", the corresponding card is 9 club.'},order2:{text1:"This game is based on EOS smart contract development with open source code.Many strict internal tests and professional safety audit have been conducted;",text2:'Source: https://github.com/eosioget/dice'},order3:"Contract code has no way to cheat;",order4:"Various predictable border tests have been conducted to ensure that there are bugs that will be hacked;",order5:"Game might lead to loss or profit of EOS asset. Players take risks themslves;",order6:"Control yourself. Play reasonably and live healthily;"},nav:{nav1:"Game",nav2:"Dividend",nav3:"Promotion Reward",nav4:"White Paper",nav5:"Lucky Draw"},auction:{title:"Auction",lastPrice:"Final bid",text1:"The last round win",text2:"use",text3:"win",text4:"Participate in the auction(125% of the final bid)",text5:"The ",text6:"Congratulations on being the winner of the ",text7:"auction you participated in has a new bid!",text8:"Return 105% of your bid:",text9:"auction!",text10:"The bonus of this auction is",confirmBtn:"confirm",takeBtn:"Click to receive",explain0:"The auction is in the test stage. At present, when the auction pool reaches 50EOS after last auction, the next auction will start.",explain1:"7.5% of this platform's real-time profit will continue to accumulate into the auction prize pool (costs out of the team, does not affect the dividend and buyback), according to the prize pool will accumulate transactions. The user uses the GT to bid, and the highest bidder within 15 minutes get the Prize Pool.When prize pool reaches 50EOS after last auction, the next auction will automaticly start.HAVE FUN!",explain2:"The starting amount is 100GT, and each bid must be at least 25% higher than the current maximum price. Whenever there is a new bid, 105% of the GT of the previous bidder will be returned.",explain3:"Whenever there is a new bid, the countdown is refreshed. The countdown time is 15 minutes.",explain4:"All GTs recovered through the auction are reinvested in the pool.",success:"Successful bidding",reward:"Successful receipt",modalTips:"Auction start when PRIZE reaches 50EOS",ready:"preparing"},rules:{title1:"Game Rules",content1:"1. Choose a Box\n Choose a Box from these 3 Boxes: 1 EOS, 5 EOS, 20 EOS. Players need to deposit the specified amount of EOS before playing a game.\n2. EOS Deposit & Balance\n The EOS gained in a game will be automatically added to the balance and players can play any game with the EOS in the balance. Players can deposit EOS in their balance. Also, they can withdraw the EOS from the balance at any time. Be aware of that one can withdraw up to 10 times a day.\n3. Treasure Box\n Each treasure Box contains 5 rewards. The gained EOS will be deposited directly in your balance.\n4. The Cursed One\n The one who gets the minimum EOS will be cursed by the dragon and lose his EOS deposited for this game. His lost EOS will be the new BOX.\n5. Playing is Mining\n Each treasure chest contains a number of GT and open the chest will be rewarded with GT. The current ratio of EOS to GT is 1:3, which means 5 players will share 3 GT when they joined a 1-EOS game.",title2:"About GT",content2:"· GT Coin(short for GT in the below) is a game token issued by the EOSGET, of which the total supply is 100,000,000. GT can be “mined” by a series of operations in the game and they are only circulated in the EOSGET for now.\n· GT holders can either pledge GT for stakes to get dividend or sell GT to get the EOS by the official repurchase smart contract.\n· The price of repurchase is dynamically calculated by the Bancor protocol. ",title3:"Balance",content3:"The EOS gained in the BOX games will be automatically added to the balance. You can withdraw the EOS from the balance at any time.\n Players can deposit their EOS in the balance. Playing any SICBO or BOX game using EOS in the balance will not consume the resources of CPU, RAM, etc.\n If one does not play any game within 12 hours, his EOS in the balance will be sent back to his account automatically."},live:{tab:"Live",text1:"gained",text2:"seconds grabbed ",text3:"cursed by the dragon. His treasure will be the new BOX. ",text4:"grabbed"},mybox:{tab:"My Box",item1:"Time",item2:"Box",item3:"Reward"},rank:{tab:" Leaderboard ",item1:" Ranking",item2:"Player",item3:"Total Reward",item4:"GT Reward"},modal:{title:"游戏规则",text1:"玩家押註三個在骰蠱中轉動的骰子的旋轉結果。您可以同時押註在桌面上的壹個或多個數字。遊戲的牌桌分割成幾部分押註“區域”,每壹個區域代表不同類的骰子結果或組合。",text2:"遊戲開始時 ,放置籌碼在桌面上任何地方代表壹個或多個骰子組合。下註完成後,裝有骰子的骰蠱將開始旋轉, 打開骰蠱,顯示結果。",text3:{title:"大小、圍骰、全圍說明",tip1:"(1)大:總點數為11至17(遇到圍骰莊家通吃;1賠1倍;",tip2:"(2)小:總點數為4至10(遇到圍骰莊家通吃);1賠1倍;",tip3:"(3)圍骰:投註指定的骰子,壹定開出3顆所投註的骰子;1賠185;",tip4:"(4)全圍:顆骰子都壹樣;1賠30;"},text4:{title:"下註在單壹點數",tip1:"(1)出現單骰:投註每顆骰子1至6指定的點數,點數出現1次;1賠1;",tip2:"(2)對子(雙骰):投註指定的雙骰(如雙1點),至少開出2顆所投註的骰子;1賠10;"},text5:{title:"點數總和",tip1:"(1)4或17點:總和為4或17點;1賠60;",tip2:"(2)5或16點:總和為5或16點;1賠30;",tip3:"(3)6或15點:總和為6或15點;1賠17;",tip4:"(4)7或14點:總和為7或14點;1賠12;",tip5:"(5)8或13點:總和為8或13點;1賠8;",tip6:"(6)9,10,11,12點:總和為9,10,11,或12點;1賠6;"},text6:{title:"單/雙",tip1:"(1)單:總點數為5,7,9,11,13,15,17點(遇到圍骰莊家通吃;1賠1);",tip2:"(2)雙:總點數為4,6,8,10,12,14,16點(遇到圍骰莊家通吃;1賠1);"}},game:{online:"Online",gameBg:"Game Background",text1:"",best:"The Luckiest",bad:"Provide next BOX",take:"Grab",takeing:"Grabing...",opening:"the box is opening...",detail:{text1:"",text2:" th Box ",text3:" provided",text5:"Gain",text6:"You have joined sucessfully",text7:" left. EOS will be sent back if the BOX is not open within this time.",text8:"You have grabbed the Box successfully",text9:"Grab"},swiper:{text1:"Joined",text2:"Opening",text3:"Opened"},header:{text1:"Balance",text2:"Withdraw",text3:"Game Rules",text4:"Deposit"}},box:{name1:"Goblin Cave",name2:"Sacral Lord",name3:"Dragon Treasure",text:"Box"},money:{title:"Balance",content:"The EOS gained in the SICBO games will be automatically added to the balance. You can withdraw the EOS from the balance at any time.\nPlayers can deposit their EOS in the balance. Playing any SICBO or BOX game using EOS in the balance will not consume the resources of CPU, RAM, etc.\nIf one does not play any game within 12 hours, his EOS in the balance will be sent back to his account automatically."},popupCharge:{title1:"Deposit",content1:"Pre-deposit EOS to enjoy all games on the platform without CPU",content2:"One can withdraw up to 10 times a day. If he does not play any game within 12 hours, his EOS in the balance will be sent back to his account automatically",content3:"Withdraw up to 10 times a day. Left ",text1:"Balance",btn1:"Confirm",btn2:"Details",btn3:"Withdraw"},popupDetail:{title1:"Details",content1:"Transactions of Latest 3 months",item1:"Opening Records",item2:"Balance",item3:"Flow Descriptions",filter:{all:"All details",box:"Box details",sicbo:"Sicbo details"},global:{deposit:"Deposit",withdraw:"Withdraw",vip_return:"VIP Return",luckdraw:"Lottery"},box:{win:"Open a Box",return:"Return Deposit",pledge:"Box Deposit"},sicbo:{win:"Win",bet:"Bet",autobet:"Auto Bet"}},vip:{title:"VIP System",intro:"Becoming an EOSGET VIP member, you will instantly receive a lot of rewards based on your VIP level when you make a bet in any game on the EOSGET! The higher the level, the bigger the reward! After reaching the specified VIP level, you will also receive a certain amount of GT airdrop. EOS rewards will be instantly paid to your balance as soon as you make your bets.",tips:"Attention: the bet amount of Sicbo games is calculated based on each bet, while the bet amount of Box games is calculated based on 1/5 of the deposited EOS for each Box game.`",text1:"Remaining",text2:"to reach",tab1:"Level",tab2:"Wager in Total",tab3:"Return Percentage",tab4:"Return"},lottery:{title:"Lucky Draw",text1:"Remaining Draws",text2:"Opening",text3:"Draw",text4:"Get a free lucky draw every day! When you place a bet which is ≥1EOS each time, you can get another chance for the lucky draw. One may accumulate 10 chances at most for the lucky draw.",text5:"Lucky number"},ftips1:"Reward and deposit will be returned to the balance",pageTitle:"Baccarat",fairBtn:"fair",moreBet:"You can bet up to 100",noBet:"You haven't bet yet",successBet:"Please wait for the prize draw",failBet:"Bet failed, please bet again",waiting:"In the lottery, please wait a moment",newGame:"The new game begins",noMoney:"Lack of balance",cpuTip:"Error",weitou:"TRIPLE",state0:"(Confirming)",state1:"(Transfering)",state2:"(Success)",state3:"(Lost)",importBet:"Please input chips",preventBet:"No bets during the opening season",installScatter:"Please install the scatter",systemWarning:"System under maintenance! Please try again later.We will repay the PAYOUT after the maintenance.",commentWarning:"Comments can only be made after bets",commentWarning1:"Enter 20 characters at most",loading:"Loading...",sendSuccess:"Send success",sendFail:"Fail in send",commentPlaceholder:"Comment here",noResult:"No one bets, start the next game",betLimit:"Big,Small,Single and double should start from 0.5Eos",walletLogin:"Need to verify identity in order to use the wallet",gtTips:"Bet 1EOS can get ",autoBet:"Auto Bet",autoBeting:"Auto Beting",cpuLimitWarning:"Your current CPU is insufficient, please pledge more EOS. Or play through automatic betting without consuming resources such as CPU",noOpenTip:"Not yet open",footer:"Disclaimer: Anyone under the age of 18 may not engage in gambling. The game may cause EOS asset profit and loss, the player must take the risk; control yourself. Reasonable game, healthy life.There are no intents in this article to induce anyone to violate any local, state, or national laws. The sole responsibility of the player is to refer to laws and regulations within the jurisdiction to ensure the legality of the act."},r=o,c=(a("cadf"),a("551c"),a("097d"),{header:{title:"骰 寶",balance:"余額",login:"登錄",loginOut:"退出",room:"房間"},table:{title:"所有投註",allBet:"投注直播",myBet:"我的下註",hugeWin:"巨額獎金",topPlayer:"頂級投註者",history:"往期開獎",col1:"期數",col2:"投註者",col3:"投註",col4:"贏",col5:"開獎結果",col6:"投註者",col7:"總投註",col8:"下注内容",moneyState:["进行中","已结算","已转账"],winState:["闲赢","庄赢","和","闲对","庄对"],userState:["闲","庄"],playerWin:"闲赢",bankerWin:"庄赢",playerPair:"闲对",bankerPair:"庄对",tie:"和",result:"结果",fairtab1:"派牌",fairtab2:"區塊id",fairtab3:"區塊號碼",fairTitle:"公平驗證",resultTitle:"開獎結果"},wallet:{title:"自動下註明細",tabList:["提現","明細"],tip1:"先確定計劃投入額,確定後的金額可參與自動下注,並不消耗cpu資源。每天可退回3次,12小時內沒有下注行為,自動退回EOS。",tip1m:"自動下注不消耗cpu資源,每天可退回3次,12小時內沒有下注行為,自動退回EOS。",tip2:"EOS籌碼每天可提現3次,無需任何附加費用,玩家12小時內沒有下注行為,賬戶內所有EOS籌碼自動退還至充值賬戶。",tip3:"最大可提現",tip4:"今天剩餘提現次數",tip5:"次",tip6:"顯示最近3個月的交易記錄",tip7:"充值",tip8:"你的EOS數量不足",get1:"獲取",holder1:"请輸入兑换数量",holder2:"輸入提取的EOS數量",btnConfirm:"確定",typeMap:{bet:"下注",win:"開獎",deposit:"兌換",withdraw:"退回",autobet:"下注"}},bonus:{title1:"GT價格(Y = GT價格,X = 最近第X次交易)",title2:"當前分紅池累計",title3:"GT回收價值",title4:"我的紅利",title5:"GT 質押總量",tip1:"下次分紅時間",tip2:"我的下次分紅",tip3:"每萬GT下次分紅",tip4:"累計分紅",tip5:"回收价",tip6:"可回收GT",tip7:"可質押",tip8:"已質押",tip9:"占總質押",tip10:"開始時間",tip11:"狀態",tip12:"贖回數量",tip13:"尚需",status1:["贖回中","已完成"],intro1:"根據平台收益情況進行變動",intro2:"每天結算一次,依質押比例進行紅利分配",intro3:"的GT已質押,共發行",intro4:"解除質押需要24小時",btn1:"回收GT",btn2:"領取分紅",btn3:"贖回",btn4:"質押",btn5:"重新質押",alert1:"分紅池說明",detail1:"當平台擁有任何收入,紅利部分將會直接撥入分紅池等待分配,每24小時進行壹次,每次分紅當前分紅池金額的50%,剩余50%累積進入下期分紅池。",alert2:"質押GT",detail2:"您可以随时质押,系统将会依您所质押的量进行利润分配(满1小时进行分配)。质押后将会被锁定,无法交易和使用,您可以随时解押,需要24小时完成解押,期间不能获得利润分配。",gtWarn:"每次回購最多只能回購GT發行量的 1%",eosTips:"分红暂停,优化后将重新上线"},reward:{title1:"推廣獎勵",tip1:"你的獎勵總額",tip2:"你的推廣鏈接",tip3:"獎勵",tip4:"日期",tip5:"推薦玩家",tip6:"下注金額",tip7:"佣金率",tip8:"是否首次下注",tip9:"獲得代幣獎勵",tip10:"成功複製推廣鏈接!",btn1:"領取",btn2:"複製",alert1:"推廣說明",detail1:"推广链接可通过页面直接生成,推荐新玩家参与游戏,可获得邀请玩家0.2%投注额(所有代币适用),首投再加5.0000GT,推荐关系永久绑定,一次推荐终身受益,推广奖励实时转入玩家账户,推广奖励页面可查看累计推荐奖励。",style:"",successTip:"成功領取:"},fair:{title:"公平博彩",order1:{text1:"Baccarat以创建游戏所在区块后面的第80至85个区块哈希值作为开奖依据,第80至85个区块哈希值分别对应闲1、庄1、闲2、庄2、闲3、庄3的派牌;",text2:"每局最多会派六张牌,每一张牌都由一个区块哈希值作为开奖依据;",text3:"我们利用区块哈希值的从右到左第一个1~d范围的字符来决定对应牌的牌面值,其中1~9、a、b、c、d分别代表牌面值1~9、10、J、Q、K;",text4:"接着利用从右往左第二个0~3范围的字符来决定花色,其中0~3分别代表方块、梅花、红桃、黑桃;",text5:"例如,区块哈希值为“fe640ffe2c3bcb74c4b2a40dd199”,则对应的牌为梅花9。"},order2:{text1:"本遊戲基於EOS智能合約開發,代碼開源。經過了多輪嚴密的內測和專業的安全審計;",text2:'程式碼:https://github.com/eosioget/dice'},order3:"合約代碼無任何後門方法;",order4:"進行過各種可預見的邊界測試,確保沒有讓黑客有機可乘的代碼漏洞;",order5:"遊戲可能會造成EOS資產盈虧情況,玩家需自擔風險;",order6:"控制您自己。合理遊戲,健康生活;"},gt:{title:"GT遊戲幣說明",text1:".GT Coin(以下寫作“GT”)是EOSGET遊戲平臺發行的遊戲代幣。",text2:".平臺計劃總供應量100,000,000 GT,GT僅可通過平臺內的各種遊戲行為挖礦獲取",text3:".玩家獲得GT後,可選擇將GT質押兌換為股權憑證,參與EOSGET平臺遊戲利潤分紅;或者通過官方的回購智能合約出售GT,獲得對應的EOS。",text4:".GT回購智能合約根據班科協議算法動態計算當前回購價格。"},nav:{nav1:"遊戲",nav2:"分紅&回購",nav3:"推廣獎勵",nav4:"白皮書",nav5:"抽獎"},auction:{title:"競拍",lastPrice:"最後出價",text1:"上一輪獲勝",text2:"使用",text3:"赢得",text4:"參與競拍(最後出價的125%)",text5:"你參與的第",text6:"恭喜你成為第",text7:"次競拍已有新出價!",text8:"現返還你出價額的105%,即",text9:"次競拍的獲勝者",text10:"本期獎金為",confirmBtn:"確認",takeBtn:"點擊領取",explain0:"競拍處於測試階段,上一輪競拍結束後,獎池累計達到50EOS,自動開發新一輪競拍。",explain1:"平台實时利潤的7.5%將持續累積入競拍獎池(從團隊費用中出,不影響分紅和回購金額),獎池會根據交易情況累積。用戶使用GT進行競拍,15分鐘內出價最高者獲得當前競拍獎池的EOS,當獎池資金累積滿50EOS自動開啟下壹輪競拍。歡迎大家體驗!",explain2:"起拍金額為100GT,每次出價需比當前最高價至少高25%。每當有新出價,將返還上一位出價者105%的GT。",explain3:"每當有一個新的出價,則刷新倒計時。倒計時時間為15分鐘。",explain4:"所有通過競拍活動回收的GT,重新投入到礦池中。",success:"競拍成功",reward:"領取成功",modalTips:"獎池累積滿50EOS自動開啟壹輪競拍",ready:"準備中"},rules:{title1:"遊戲規則",content1:"1. 選擇專場\n 選擇 1 EOS,5 EOS,20 EOS 專場,玩家需要先投入指定金額後方可進行遊戲。\n2. EOS充值&余額\n 遊戲獲得的EOS會自動累積到余額,玩家可使用余額繼續進行遊戲。余額支持充值,玩家可隨時提現余額回到自己的EOS賬戶,每天每人可提現10次。\n3. 開始搶寶箱\n 每個寶箱包含 5 份獎勵,先搶先得。搶到的 EOS 將直接存入您的余額中。\n4. 最小發起下壹個\n 每個寶箱搶到 EOS 額度最小的玩家,將自動扣除相應場次的 EOS,作為下壹個寶箱的發起資金。\n5. 搶寶箱即挖礦\n 每個寶箱包含數量不等GT,搶寶箱即挖礦。挖礦空投GT比例以平臺公告為準,當前比例為1:3,即5位玩家參與1EOS場寶箱搶奪,完成後瓜分3GT。",title2:"GT遊戲幣說明",content2:"· GT Coin(以下寫作“GT”)是EOSGET遊戲平臺發行的遊戲代幣。\n· 平臺計劃總供應量100,000,000 GT,GT僅可通過平臺內的各種遊戲行為挖礦獲取,目前GT僅在平臺內流通(暫定)。\n· 玩家獲得GT後,可選擇將GT質押兌換為股權憑證,參與EOSGET平臺遊戲利潤分紅;或者通過官方的回購智能合約出售GT,獲得對應的EOS。\n· GT回購智能合約根據班科協議算法動態計算當前回購價格。",title3:"余額說明",content3:"玩BOX遊戲獲得的EOS將自動累積到余額,余額可隨時提現至您的EOS賬戶。\n玩家也可以主動充值余額到平臺,使用余額暢玩SICBO或BOX遊戲將不消耗玩家的CPU等資源。\n若玩家12小時內沒有遊戲行為,余額會自動返還至您的EOS賬戶。"},live:{tab:"手氣直播",text1:"獲得",text2:"秒搶完",text3:"被巨龍詛咒,其財富遺落成為新的寶箱",text4:"搶到了"},mybox:{tab:"我的寶箱",item1:"時間",item2:"寶箱",item3:"收穫"},rank:{tab:"排行榜",item1:"排名",item2:"玩家",item3:"寶箱總獎金",item4:"獲得GT"},modal:{title:"游戏规则",text1:"玩家押註三個在骰蠱中轉動的骰子的旋轉結果。您可以同時押註在桌面上的壹個或多個數字。遊戲的牌桌分割成幾部分押註“區域”,每壹個區域代表不同類的骰子結果或組合。",text2:"遊戲開始時 ,放置籌碼在桌面上任何地方代表壹個或多個骰子組合。下註完成後,裝有骰子的骰蠱將開始旋轉, 打開骰蠱,顯示結果。",text3:{title:"大小、圍骰、全圍說明",tip1:"(1)大:總點數為11至17(遇到圍骰莊家通吃;1賠1倍;",tip2:"(2)小:總點數為4至10(遇到圍骰莊家通吃);1賠1倍;",tip3:"(3)圍骰:投註指定的骰子,壹定開出3顆所投註的骰子;1賠185;",tip4:"(4)全圍:顆骰子都壹樣;1賠30;"},text4:{title:"下註在單壹點數",tip1:"(1)出現單骰:投註每顆骰子1至6指定的點數,點數出現1次;1賠1;",tip2:"(2)對子(雙骰):投註指定的雙骰(如雙1點),至少開出2顆所投註的骰子;1賠10;"},text5:{title:"點數總和",tip1:"(1)4或17點:總和為4或17點;1賠60;",tip2:"(2)5或16點:總和為5或16點;1賠30;",tip3:"(3)6或15點:總和為6或15點;1賠17;",tip4:"(4)7或14點:總和為7或14點;1賠12;",tip5:"(5)8或13點:總和為8或13點;1賠8;",tip6:"(6)9,10,11,12點:總和為9,10,11,或12點;1賠6;"},text6:{title:"單/雙",tip1:"(1)單:總點數為5,7,9,11,13,15,17點(遇到圍骰莊家通吃;1賠1);",tip2:"(2)雙:總點數為4,6,8,10,12,14,16點(遇到圍骰莊家通吃;1賠1);"}},game:{online:"在線",gameBg:"遊戲背景",text1:"場",best:"手氣最佳",bad:"提供下個寶箱",take:"搶奪",takeing:"搶奪中...",opening:"開箱中...",detail:{text1:"第",text2:"期寶箱由",text3:"提供",text5:"獲得",text6:"妳已成功參與",text7:"時間內寶箱未被搶完,系統將會退回EOS到余額",text8:"妳已成功搶奪寶箱",text9:"搶奪"},swiper:{text1:"已參與",text2:"開獎中",text3:"已開獎"},header:{text1:"余額",text2:"提現",text3:"遊戲規則",text4:"充值"}},box:{name1:"哥布林洞窟",name2:"骸骨領主",name3:"巨龍寶藏",text:"寶箱"},money:{title:"余額說明",content:"玩SICBO遊戲獲得的EOS將自動累積到余額,余額可隨時提現至您的EOS賬戶。\n玩家也可以主動充值余額到平臺,使用余額暢玩SICBO或BOX遊戲將不消耗玩家的CPU等資源。\n若玩家12小時內沒有遊戲行為,余額會自動返還至您的EOS賬戶。"},popupCharge:{title1:"充值",content1:"預充值EOS參與平臺所有遊戲",content2:"每天可提現10次,12小時未進行遊戲,系統將自動退還給玩家",content3:"每天可提現10次,剩余",text1:"余額",btn1:"確認充值",btn2:"查看明細",btn3:"提現"},popupDetail:{title1:"查看明細",content1:"顯示最近三個月的交易記錄",item1:"開箱記錄",item2:"流水明細",item3:"余額",filter:{all:"所有明細",box:"Box明細",sicbo:"Sicbo明細"},global:{deposit:"充值",withdraw:"提現",vip_return:"VIP返利",luckdraw:"抽奖"},box:{win:"開寶箱",return:"退回抵押金",pledge:"寶箱抵押金"},sicbo:{win:"胜利",bet:"下注",autobet:"自动下注"}},vip:{title:"VIP系统",intro:"成為EOS GET VIP會員,當您在我們平臺任何壹個遊戲下註時,即可按您 VIP 級數返回投註獎勵!等級越高,獎勵越高!達到指定VIP等級後,還將收到壹定對應數量的GT空投獎勵。EOS獎勵將於您投註時,實時發放到您的余額裏。",tips:"註:Sicbo遊戲根據每局的下註金額計算投註額度。BOX遊戲根據參與場次門檻金額的1/5計算單次投註額進行累積。",text1:"還差",text2:"升級為",tab1:"等級",tab2:"累计投注",tab3:"返利比例",tab4:"返利"},lottery:{title:"幸運抽獎",text1:"剩余抽獎次數",text2:"抽獎中",text3:"抽獎",text4:"每天可獲得壹次免費抽獎機會!當您每次投註≥1EOS,即可額外獲得壹次免費抽獎機會!最多可累積10次。",text5:"幸運數"},ftips1:"開寶箱和退回抵押金的EOS會放入余額裏",pageTitle:"百家樂",fairBtn:"公平",moreBet:"最多可下注100",noBet:"你还没有进行下注",successBet:"下注成功,请等候开奖",failBet:"下注失败,请重新下注",waiting:"开奖中,请稍等...",noMoney:"余额不足",installScatter:"请安装scatter插件",systemWarning:"系統資源維護中,請稍後再嘗試遊戲,維護完成後將補發開獎獎勵",loading:"正在加载...",sendSuccess:"发送成功",sendFail:"发送失败",walletLogin:"需要驗證身份",autoBet:"自動下註",autoBeting:"自動下註中",cpuLimitWarning:"您當前CPU不足,請質押更多EOS。或通過自動下註進行遊戲可不消耗CPU等資源",noOpenTip:"暫未開放",footer:"免責聲明:任何未滿十八周歲的人員均不得進行博彩。遊戲可能會造成EOS資產盈虧情況,玩家需自擔風險;控制您自己。合理遊戲,健康生活。本文中無任何誘使任何人違反任何地方、州、國家法律的意圖。玩家的唯壹責任是參考管轄範圍內的法律法規,以確保行為的合法性。"}),l=c,u=a("ade3"),d=(n={header:{title:"식보",balance:"잔액",login:"로그인",loginOut:"로그아웃",room:"방"},wallet:{title:"자동 내기 세부 정보",tabList:["인출","명세"],tip1:"먼저 계획된 투자 금액을 결정하고 결정된 금액은 자동 베팅에 참여할 수 있으며 CPU 리소스를 소비하지 않습니다. 하루에 3 번, 12 시간 이내에 도박 행위를하지 않고 자동으로 EOS로 돌아갑니다.",tip1m:"자동 베팅은 CPU 리소스를 소비하지 않으며 하루에 3 번, 12 시간 내에 베팅 행위를하지 않고 자동으로 EOS로 반환됩니다.",tip2:"EOS 칩은 일일 최대 3회 인출 가능하며 다른 부가비용은 없습니다. 12시간 내로 베팅 안 한 칩은 자동으로 충전계정에 환불됩니다.",tip3:"최대 인출 금액",tip4:"오늘 남은 횟수",tip5:"차",tip6:"3개월간 거래기록 조회",tip7:"충전",tip8:"EOS가 부족합니다",get1:"회득",holder1:"칩 입력",holder2:"인출할 EOS 칩 수량을 입력하세요",btnConfirm:"확인",typeMap:{bet:"베팅",win:"승리",deposit:"충전",withdraw:"반환",autobet:"베팅"}},gt:{title:"GT Coin",text1:".GT Coin(간략해서“GT”)은 EOSGET 게임플랫폼의 게임용 토큰입니다.총 100,000,000 GT 토큰은 플랫폼의 .",text2:".게임을 통해 획득 가능하며 현재는 GT플랫폼에 한해서 유통 가능합니다(임시).",text3:".사용자는 GT 코인 획득 후 GT저당을 주주증권으로 교환하여 EOSGET게임플랫폼 이익을 배당 받을 수 있습니다.",text4:".또는 공식 홈페이지의 스마트 계약 회수를 통하여 GT코인을 거래하여 대등한 EOS를 획득 가능합니다.",text5:".GT스마트 계약 회수 시스템은 반과 협의 산법으로 회수 가격을 유동적으로 결정합니다."},nav:{nav1:"게임",nav2:"보너스",nav3:"홍보보상",nav4:"백서",nav5:"복권"},auction:{title:"경매",lastPrice:"최종 입찰가",text1:"마지막 라운드에서 이기기",text2:"사용",text3:"승리",text4:"경매 참가(125의 마지막 입찰)",text5:"참여하신 제",text6:"축하드립니다. 제",text7:"次競拍已有新出價!",text8:"차 경매에 새로운 입찰이 생겼습니다!자신 입찰 가격의 105%를 돌려드립니다. 즉 ",text9:"차 경매 입찰에 성공하셨습니다.",text10:"이번 회차 보너스",confirmBtn:"확인",takeBtn:"받을 수 클릭",explain0:"The auction is in the test stage. At present, when the auction pool reaches 50EOS after last auction, the next auction will start.",explain1:"7.5% of this platform's real-time profit will continue to accumulate into the auction prize pool (costs out of the team, does not affect the dividend and buyback), according to the prize pool will accumulate transactions. The user uses the GT to bid, and the highest bidder within 15 minutes get the Prize Pool.When prize pool reaches 50EOS after last auction, the next auction will automaticly start.HAVE FUN!",explain2:"The starting amount is 100GT, and each bid must be at least 25% higher than the current maximum price. Whenever there is a new bid, 105% of the GT of the previous bidder will be returned.",explain3:"Whenever there is a new bid, the countdown is refreshed. The countdown time is 15 minutes.",explain4:"All GTs recovered through the auction are reinvested in the pool.",success:"성공적인 입찰",reward:"성공적인 영수증",modalTips:"50EOS 하나 자동으로 열 입찰 라운드에 걸쳐 점진적 축적",ready:"준비 중"},rules:{title1:"Game Rules",content1:"1. Choose a Box\n Choose a Box from these 3 Boxes: 1 EOS, 5 EOS, 20 EOS. Players need to deposit the specified amount of EOS before playing a game.\n 2. EOS Deposit & Balance\n The EOS gained in a game will be automatically added to the balance and players can play any game with the EOS in the balance. Players can deposit EOS in their balance. Also, they can withdraw the EOS from the balance at any time. Be aware of that one can withdraw up to 10 times a day.\n 3. Treasure Box\n Each treasure Box contains 5 rewards. The gained EOS will be deposited directly in your balance.\n 4. The Cursed One\n The one who gets the minimum EOS will be cursed by the dragon and lose his EOS deposited for this game. His lost EOS will be the new BOX.\n 5. Playing is Mining\n Each treasure chest contains a number of GT and open the chest will be rewarded with GT. The current ratio of EOS to GT is 1:3, which means 5 players will share 3 GT when they joined a 1-EOS game.",title2:"About GT",content2:"· GT Coin(short for GT in the below) is a game token issued by the EOSGET, of which the total supply is 100,000,000. GT can be “mined” by a series of operations in the game and they are only circulated in the EOSGET for now.\n · GT holders can either pledge GT for stakes to get dividend or sell GT to get the EOS by the official repurchase smart contract.\n · The price of repurchase is dynamically calculated by the Bancor protocol. ",title3:"Balance",content3:"The EOS gained in the BOX games will be automatically added to the balance. You can withdraw the EOS from the balance at any time.\n Players can deposit their EOS in the balance. Playing any SICBO or BOX game using EOS in the balance will not consume the resources of CPU, RAM, etc.\n If one does not play any game within 12 hours, his EOS in the balance will be sent back to his account automatically."},live:{tab:"Live",text1:"gained",text2:"seconds grabbed ",text3:"cursed by the dragon. His treasure will be the new BOX. ",text4:"grabbed"},mybox:{tab:"My Box",item1:"Time",item2:"Box",item3:"Reward"},rank:{tab:" Leaderboard ",item1:" Ranking",item2:"Player",item3:"Total Reward",item4:"GT Reward"},game:{online:"Online",gameBg:"Game Background",text1:"",best:"The Luckiest",bad:"Provide next BOX",take:"Grab",takeing:"Grabing...",opening:"the box is opening...",detail:{text1:"",text2:" th Box ",text3:" provided",text5:"Gain",text6:"You have joined sucessfully",text7:" left. EOS will be sent back if the BOX is not open within this time.",text8:"You have grabbed the Box successfully",text9:"Grab"},swiper:{text1:"Joined",text2:"Opening",text3:"Opened"},header:{text1:"Balance",text2:"Withdraw",text3:"Game Rules",text4:"Deposit"}},box:{name1:"Goblin Cave",name2:"Sacral Lord",name3:"Dragon Treasure",text:"Box"},popupCharge:{title1:"Deposit",content1:"Pre-deposit EOS to enjoy all games on the platform without CPU",content2:"One can withdraw up to 10 times a day. If he does not play any game within 12 hours, his EOS in the balance will be sent back to his account automatically",content3:"Up to 10 times a day. Left",text1:"Balance",btn1:"Confirm",btn2:"Details",btn3:"Withdraw"},popupDetail:{title1:"Details",content1:"Transactions of Latest 3 months",item1:"Opening Records",item2:"Balance",item3:"Flow Descriptions",filter:{all:"All details",box:"Box details",sicbo:"Sicbo details"},global:{deposit:"Deposit",withdraw:"Withdraw",vip_return:"VIP Return",luckdraw:"Lottery"},box:{win:"Open a Box",return:"Return Deposit",pledge:"Box Deposit"},sicbo:{win:"Win",bet:"Bet",autobet:"Auto Bet"}},vip:{title:"VIP System",intro:"Becoming an EOSGET VIP member, you will instantly receive a lot of rewards based on your VIP level when you make a bet in any game on the EOSGET! The higher the level, the bigger the reward! After reaching the specified VIP level, you will also receive a certain amount of GT airdrop. EOS rewards will be instantly paid to your balance as soon as you make your bets.",tips:"Attention: the bet amount of Sicbo games is calculated based on each bet, while the bet amount of Box games is calculated based on 1/5 of the deposited EOS for each Box game.`",text1:"Remaining",text2:"to reach",tab1:"Level",tab2:"Wager in Total",tab3:"Return Percentage",tab4:"Return"},lottery:{title:"Lucky Draw",text1:"Remaining Draws",text2:"Opening",text3:"Draw",text4:"Get a free lucky draw every day! When you place a bet which is ≥1EOS each time, you can get another chance for the lucky draw. One may accumulate 10 chances at most for the lucky draw.",text5:"Lucky number"},ftips1:"Reward and deposit will be returned to the balance",pageTitle:"BOX",fairBtn:"공평",moreBet:"쵀대 베팅수100",noBet:"베팅해주세요",successBet:"베팅 성공,잠시 후 결과발표",failBet:"베팅실패, 다시 베팅해주세요",waiting:"발표 중,잠시 대기해주세요...",newGame:"새로운 회차 시작",noMoney:"잔액부족"},Object(u["a"])(n,"pageTitle","식보"),Object(u["a"])(n,"cpuTip","오류"),Object(u["a"])(n,"weitou","스페시픽 트리플"),Object(u["a"])(n,"state0","【확인중】"),Object(u["a"])(n,"state1","【이체중】"),Object(u["a"])(n,"state2","【이체성공】"),Object(u["a"])(n,"state3","【거래실패】"),Object(u["a"])(n,"importBet","베팅할 포커 칩스를 입력하세요"),Object(u["a"])(n,"preventBet","발표중 베팅금지"),Object(u["a"])(n,"installScatter","scatter플러그 인 설치해주세요"),Object(u["a"])(n,"systemWarning","시스템 점검중,잠시 후 시도해보세요.완료 후 미결산 보상지급"),Object(u["a"])(n,"commentWarning","베팅 후 글쓰기 가능합니다"),Object(u["a"])(n,"commentWarning1","최대 20글자까지 가능"),Object(u["a"])(n,"loading","로딩중..."),Object(u["a"])(n,"sendSuccess","발신성공"),Object(u["a"])(n,"sendFail","발신실패"),Object(u["a"])(n,"commentPlaceholder","글쓰기 가능"),Object(u["a"])(n,"noResult","베팅 없음, 다음 판 시작"),Object(u["a"])(n,"betLimit","빅스몰 베팅,홀짝수 최소 베팅 1EOS"),Object(u["a"])(n,"walletLogin","인증후 캐시백 사용가능."),Object(u["a"])(n,"gtTips","1EOS 베팅시 획득"),Object(u["a"])(n,"autoBet","자동 베팅"),Object(u["a"])(n,"autoBeting","자동 도박"),Object(u["a"])(n,"cpuLimitWarning","현재 CPU가 부족합니다. 더 많은 EOS를 약속하십시오. 또는 CPU와 같은 자원을 소비하지 않고 자동 베팅을 통해 게임하십시오."),Object(u["a"])(n,"noOpenTip","아직 열지 않았다"),Object(u["a"])(n,"footer","면책 조항 : 18 세 미만인 사람은 도박을 할 수 없습니다. 게임은 EOS 자산 손익을 초래할 수 있으며 플레이어는 위험 부담을 져야하며 자신을 제어해야합니다. 합리적인 게임, 건강한 삶. 이 기사에서 지역, 주 또는 국가 법률을 위반하는 사람을 유도 할 의도는 없습니다. 플레이어의 유일한 책임은 관할권 내에있는 법률 및 규정을 참조하여 해당 법령의 적법성을 보장하는 것입니다."),n),h=d,p=a("0e0b");i["default"].use(s["a"]);var m={en:r,zh:l,kr:h},f=p["a"].getCookie("eosget_lang")||Object(p["b"])(),b=new s["a"]({locale:f,messages:m});e["a"]=b},2:function(t,e){},"22ae":function(t,e,a){},"29d9":function(t,e,a){},"2a64":function(t,e,a){"use strict";var n=a("630a"),i=a.n(n);i.a},"2ada":function(t,e,a){"use strict";var n=a("4d37"),i=a.n(n);i.a},"2d82":function(t,e,a){"use strict";var n=a("7149"),i=a.n(n);i.a},"2fa0":function(t,e,a){},3:function(t,e){},"365c":function(t,e,a){"use strict";a("5df3");var n=a("3835"),i=(a("ac6a"),a("96cf"),a("1da1")),s=(a("f751"),a("7f7f"),a("9e1f"),a("450d"),a("6ed5")),o=a.n(s),r=a("bc3a"),c=a.n(r),l=a("4328"),u=a.n(l),d=a("0e0b"),h=a("4360"),p="";p=8080==window.location.port||/test|webdev/.test(location.host)?"https://test-bptp.eosget.io":"//baccarat.eosget.io";var m=c.a.create({baseURL:p,headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){return t=u.a.stringify(t),t}],transformResponse:[],withCredentials:!0});function f(t){var e={account:d["a"].getCookie("account")||h["a"].state.account.name,player:d["a"].getCookie("account")||h["a"].state.account.name,token:d["a"].getCookie("token")||""};return"post"==t.method?t.data=Object.assign(t.data,e):"get"==t.method&&(t.params=Object.assign(t.params,e)),t}function b(t){return g.apply(this,arguments)}function g(){return g=Object(i["a"])(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,a){var n;e?h["a"].state.eos.getAccount(e).then(function(e){var a=JSON.parse(JSON.stringify(e.permissions));a.forEach(function(t){"active"==t.perm_name&&(n=t.required_auth.keys[0].key)}),t(n)}):a("account is not define")}));case 1:case"end":return t.stop()}},t,this)})),g.apply(this,arguments)}function v(t){return w.apply(this,arguments)}function w(){return w=Object(i["a"])(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,a){I.user.getRandom({account:e}).then(function(e){t(e.data.data)})}));case 1:case"end":return t.stop()}},t,this)})),w.apply(this,arguments)}function y(){return C.apply(this,arguments)}function C(){return C=Object(i["a"])(regeneratorRuntime.mark(function t(){var e,a,i,s,o,r;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=h["a"].state.account,a=e.name,t.next=4,Promise.all([v(a),b(a)]);case 4:return i=t.sent,s=Object(n["a"])(i,2),o=s[0],r=s[1],t.abrupt("return",new Promise(function(t,a){h["a"].state.scatter.getArbitrarySignature(r,o,"Need Login").then(function(n){var i={account:e.name,sign:n,pubkey:r,data:o};I.user.login(i).then(function(e){var n=e.data;if(1==n.result){var i=n.data.account,s=n.data.token;d["a"].setCookie("account",i),d["a"].setCookie("token",s),t(n)}else a(n.msg)})}).catch(function(t){a(t)})}));case 9:case"end":return t.stop()}},t,this)})),C.apply(this,arguments)}m.interceptors.request.use(function(t){return t.needLogin?"NO_LOGINING"!=h["a"].state.account?f(t):void h["a"].dispatch("doScatterLogin").then(function(e){return f(t)}):t},function(t){return Promise.reject(t)}),m.interceptors.response.use(function(t){return 1===t.data.result||-90001==t.data.code?Promise.resolve(t):-5===t.data.code?(y(),Promise.resolve(t)):(o.a.confirm(t.data.msg,"Error",{center:!0,showCancelButton:!1,showConfirmButton:!1,callback:function(){}}),Promise.reject(t))},function(t){return Promise.reject(t)});var k=m,O={getInfo:function(t){return k.get("baccarat/gameInfo",{params:t})},getResult:function(t){return k.get("baccarat/gameResult",{params:t})},sendTrxId:function(t){return k.post("baccarat/transaction",t)},getSetup:function(t){return k.get("autobet/getsetup",{params:t})},setAutoBet:function(t){return k.post("autobet/setup",t)},stopAutoBet:function(t){return k.post("autobet/ctrl",t)},balanceBet:function(t){return k.post("baccarat/balanceBet",t)},getBalance:function(t){return k.get("baccarat/gameInfo",{params:t})}},_=(a("cadf"),a("551c"),a("097d"),"");_="8080"===window.location.port||/^test-|\.webdev2\./.test(window.location.host)?"//test-dice.eosget.io":/^new-/.test(window.location.host)?"//new-dice.eosget.io":"//dice.eosget.io";var x=c.a.create({baseURL:_,headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){return t=u.a.stringify(t),t}],transformResponse:[],withCredentials:!0});function S(t){var e={account:d["a"].getCookie("account")||h["a"].state.account.name,player:d["a"].getCookie("account")||h["a"].state.account.name,token:d["a"].getCookie("token")||""};return"post"===t.method?t.data=Object.assign(t.data,e):"get"===t.method&&(t.params=Object.assign(t.params,e)),t}x.interceptors.request.use(function(t){return t.needLogin?"NO_LOGINING"!==h["a"].state.account?S(t):void h["a"].dispatch("doScatterLogin").then(function(e){return S(t)}):t},function(t){return Promise.reject(t)}),x.interceptors.response.use(function(t){return 1===t.data.result||-90001===t.data.code?Promise.resolve(t):-5!==t.data.code?(o.a.confirm(t.data.msg,"Error",{center:!0,showCancelButton:!1,showConfirmButton:!1,callback:function(){}}),Promise.reject(new Error(t.data.msg))):void h["a"].dispatch("doGameLogin").then(function(){return Promise.resolve(t)}).catch(function(t){return Promise.reject(t)})},function(t){return Promise.reject(t)});var E=x,T={getAuctionInfo:function(t){return E.get("Auction/prizePool",{params:t})},takeReward:function(t){return E.get("Auction/takeReward",{params:t})},sendTrx:function(t){return E.post("Auction/auctionTrx ",t)},toggleReadTip:function(t){return E.get("Auction/toggleReadTip",{params:t})}},A={getRandom:function(t){return E.get("user/random",{params:t})},login:function(t){return E.post("user/login",t)},getVipInfo:function(t){return E.request({url:"user/vipInfo",method:"get",needLogin:!0,params:t})}},G={deposit:function(t){return E.request({url:"eos/deposit",method:"post",needLogin:!0,data:t})},withDraw:function(t){return E.request({url:"eos/withDraw",method:"post",needLogin:!0,data:t})},getLeftTimes:function(t){return E.request({url:"eos/leftTimes",method:"get",needLogin:!0,params:t})},getBalanceLog:function(t){return E.request({url:"eos/balanceLog",method:"get",needLogin:!0,params:t})},sendLuckTrx:function(t){return E.request({url:"eos/luckdrawReport",method:"post",data:t})},getLuckInfo:function(t){return E.request({url:"eos/luckdrawInfo",method:"get",params:t})},sendWithDraw:function(t){return E.request({url:"eos/withdrawReport",method:"post",data:t})},getInfo:function(t){return E.request({url:"eos/info",method:"get",params:t})}},B={getAllBets:function(t){return k.get("baccarat/offers",{params:t})},getHistory:function(t){return k.get("baccarat/historyResult",{params:t})},getMyOffers:function(t){return k.get("baccarat/playerOffers",{params:t})},getBigPrize:function(t){return k.get("baccarat/rank",{params:t})},getTopPlayer:function(t){return k.get("baccarat/topPlayer",{params:t})}},I=e["a"]={game:O,auction:T,user:A,table:B,eos:G}},3970:function(t,e,a){},4:function(t,e){},4360:function(t,e,a){"use strict";a("cadf"),a("551c"),a("097d");var n=a("2b0e"),i=a("2f62"),s=a("5fe9"),o=a.n(s),r={setScatter:function(t,e){t.scatter=e},setEos:function(t,e){t.eos=e},setAccount:function(t,e){t.account=e,window.EOS_VUE.$getEosInfo()},setToAccount:function(t,e){t.toAccount=e},setBalance:function(t,e){t.balance=e,window.EOS_VUE.$getCoin({coin:{balance:t.balance}})},setMoney:function(t,e){t.money=e,window.EOS_VUE.$getCoin({coin:{money:t.money}})},setGt:function(t,e){t.gt=e,window.EOS_VUE.$getCoin({coin:{gt:t.gt}})},updateBalance:function(t,e){t.balance=o.a.plus(t.balance,e),window.EOS_VUE.$getCoin({coin:{balance:t.balance}})},updateMoney:function(t,e){t.money=o.a.plus(t.money,e),window.EOS_VUE.$getCoin({coin:{money:t.money}})},updateGt:function(t,e){t.gt=o.a.plus(t.gt,e),window.EOS_VUE.$getCoin({coin:{gt:t.gt}})},setMainnet:function(t,e){t.mainnet=e},setAuction:function(t,e){t.auctionInfo=e},setNewOpen:function(t,e){t.newOpen=e},setNewGame:function(t,e){t.newGame=e},setNewOffer:function(t,e){t.newOffer=e},setNewPlayer:function(t,e){t.newPlayer=e},setNewClose:function(t,e){t.newClose=e},setInvitee:function(t,e){t.invitee=e},setGTError:function(t,e){t.gtErrorCount=e},setEOSError:function(t,e){t.eosErrorCount=e},setLimit:function(t,e){t.limit={cpu:e.cpu,net:e.net}},setPublicKey:function(t,e){t.publicKey=e}},c=(a("ac6a"),a("a481"),a("c5f6"),a("3835")),l=(a("7514"),a("7f7f"),a("96cf"),a("1da1")),u=a("365c"),d=a("0e0b"),h=a("1a22"),p=a("d3b7"),m=a.n(p),f={setScatter:function(t,e){var a=t.commit;return a("setScatter",e)},setEos:function(t,e){var a=t.commit;return a("setEos",e)},setAccount:function(t,e){var a=t.commit;return a("setAccount",e)},doDeposit:function(){var t=Object(l["a"])(regeneratorRuntime.mark(function t(e,a){var n,i,s,r,c,l,h,p;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.commit,i=e.state,!d["a"].getCookie("account")||!d["a"].getCookie("token")){t.next=5;break}s="deposit",t.next=9;break;case 5:return t.next=7,u["a"].user.getRandom({account:i.account.name});case 7:r=t.sent,s="deposit|"+r.data.data;case 9:c=i.account.name,l=i.toAccount,h=a.amount.toFixed(4)+" EOS",p={authorization:["".concat(c,"@").concat(i.account.authority)]},window.EOS.transfer(c,l,h,s,p).then(function(t){var e={transaction_id:t.transaction_id,block_num:t.processed.block_num?t.processed.block_num:"",player:c,amount:o.a.times(a.amount,1e4),appid:i.appid};u["a"].eos.deposit(e).then(function(t){var e=t.data;if(0===e.code){var i=o.a.times(a.amount,1e4);n("updateBalance",-i),n("updateMoney",i),a.callback&&a.callback()}else Object(d["d"])(e.msg)}).catch(function(t){Object(d["d"])(t),a.cancel&&a.cancel()})}).catch(function(t){if(a.cancel&&a.cancel(),"signature_rejected"!==t.type){var e=JSON.parse(t),n=e.error.details;Object(d["d"])(n[0].message)}});case 14:case"end":return t.stop()}},t,this)}));return function(e,a){return t.apply(this,arguments)}}(),doScatterLogin:function(){var t=Object(l["a"])(regeneratorRuntime.mark(function t(e,a){var n,i,s,o,r,c;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.dispatch,i=e.commit,s=e.state,s.scatter){t.next=5;break}Object(d["d"])("Please install the scatter","Scatter"),t.next=20;break;case 5:return t.next=7,Object(h["b"])().catch(function(t){return Object(d["d"])(t.message),Promise.reject(t)});case 7:return o=t.sent,i("setMainnet",EOS_HOST),t.next=11,s.scatter.getIdentity({accounts:[o]}).catch(function(t){return Object(d["d"])(t.message),Promise.reject(t)});case 11:r=t.sent,c=r.accounts.find(function(t){return"eos"===t.blockchain}),i("setAccount",c),d["a"].getCookie("account")!==c.name&&d["a"].delCookie("account"),window.EOS=s.scatter.eos(o,m.a,{}),n("getUserEOS"),n("getUserGT"),n("getAccount"),this.limitTimer=setInterval(function(){n("getAccount")},6e4);case 20:case"end":return t.stop()}},t,this)}));return function(e,a){return t.apply(this,arguments)}}(),doScatterLoginOut:function(t,e){var a=t.commit,n=t.state;d["a"].delCookie("account"),d["a"].delCookie("token"),n.scatter.logout(),clearInterval(this.limitTimer),a("setAccount","NO_LOGINING"),a("setBalance",0),a("setMoney",0),a("setGt",0)},getUserEOS:function(t,e){var a=t.dispatch,n=t.commit,i=t.state;return new Promise(function(t,e){window.EOS.getCurrencyBalance("eosio.token",i.account.name,"EOS").then(function(e){var a=Object(c["a"])(e,1),i=a[0],s=Number(i.replace(/\sEOS/,"")).toFixed(4);s=o.a.times(s,1e4),n("setBalance",s),n("setEOSError",0),t()}).catch(function(t){n("setEOSError",i.eosErrorCount+1),i.eosErrorCount<=5&&setTimeout(function(){a("getUserEOS")},1e3*i.eosErrorCount),e(t)})})},getUserGT:function(t,e){var a=t.dispatch,n=t.commit,i=t.state;return new Promise(function(t,e){window.EOS.getCurrencyBalance("eosgetgtoken",i.account.name,"GT").then(function(e){var a=Object(c["a"])(e,1),i=a[0],s=0;i&&(s=Number(i.replace(/\sGT/,""))),n("setGt",s),n("setGTError",0),t()}).catch(function(t){n("setGTError",i.gtErrorCount+1),i.gtErrorCount<=5&&setTimeout(function(){a("getUserGT")},1e3*i.gtErrorCount),e(t)})})},getAccount:function(t,e){var a=t.commit,n=t.state;return new Promise(function(t,e){window.EOS.getAccount(n.account.name).then(function(e){e.cpu_limit&&e.net_limit&&a("setLimit",{cpu:e.cpu_limit.used/e.cpu_limit.max,net:e.net_limit.used/e.net_limit.max});var n=JSON.parse(JSON.stringify(e.permissions));n.forEach(function(t){if("active"===t.perm_name){var e=t.required_auth.keys[0].key;a("setPublicKey",e)}}),t(e)}).catch(function(t){e(t)})})},doGameLogin:function(){var t=Object(l["a"])(regeneratorRuntime.mark(function t(e,a){var n,i,s,o,r;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.dispatch,e.commit,i=e.state,i.account&&"NO_LOGINING"!==i.account){t.next=6;break}return t.next=4,n("doScatterLogin");case 4:t.next=16;break;case 6:if(!d["a"].getCookie("account")||!d["a"].getCookie("token")){t.next=10;break}return t.abrupt("return",Promise.resolve());case 10:return t.next=12,u["a"].user.getRandom({account:i.account.name});case 12:return s=t.sent,o=s.data.data,r=i.publicKey,t.abrupt("return",new Promise(function(t,e){i.scatter.getArbitrarySignature(r,o,"Need Login").then(function(a){var n={account:i.account.name,sign:a,pubkey:r,data:o};u["a"].user.login(n).then(function(a){var n=a.data;if(1===n.result){var i=n.data.account,s=n.data.token;d["a"].setCookie("account",i),d["a"].setCookie("token",s),t(n)}else e(new Error(n.msg))})}).catch(function(t){e(t)})}));case 16:case"end":return t.stop()}},t,this)}));return function(e,a){return t.apply(this,arguments)}}(),getNewGame:function(t){var e=t.state;e.update+=1}};n["default"].use(i["a"]);var b={scatter:null,eos:null,account:"",toAccount:"eosgetbaccar",balance:0,money:null,gt:0,mainnet:"",auctionInfo:null,newOpen:null,newGame:null,newOffer:null,newPlayer:null,newClose:null,invitee:"",appid:"baccarat",gtErrorCount:0,eosErrorCount:0,limit:{},publicKey:null,update:0};e["a"]=new i["a"].Store({state:b,mutations:r,actions:f})},"4bb3":function(t,e,a){"use strict";var n=a("f17b"),i=a.n(n);i.a},"4d37":function(t,e,a){},"55db":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUYwRUYzNUFFN0JBMTFFODkwOUQ5NUU2MUY5RjBFNDAiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUYwRUYzNTlFN0JBMTFFODkwOUQ5NUU2MUY5RjBFNDAiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MUU2MTc4ODVEQjVBMTFFODg0RTZDQjlFNTlFQzMxODIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MUU2MTc4ODZEQjVBMTFFODg0RTZDQjlFNTlFQzMxODIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4N1m+2AAACzElEQVR42mRT30uTYRR+vh/7pm7Oykzb0LCZFREtodqFXbgrqehOJDAQLOsiI6jLIPoD8kKFGDgqyjTzxgq6CIxKIywkiJAiFKvp0v1qv7dv3/t23rmJ1YEHzne+55z3vM85r8Twnx0hnCW0EnYXYwuEacIDwuxmshSrdm7+vk24WPAUGYgnwdMxSFXbAc0EsMJx3g2OKBC2u0r+FKGt4KkquH8Z3F4HteMUjFfvIH1bAizlJe5Lgkc4cjHg3UiWJPDgGni9A1vePoXt1k3wnA6k0tQBL/wvcr2lAi7Ici90IoUiQCIJlorB6uuHUbcDumFA2+tEXv8O9msVzP8ToFghBzgsClxCJgPU1oAddYFzDg4NfGvV+lUWlmBUWlAx4EXl9CSUni6wtRCQzYpu+kAazIdN9TzsPsmzyRTPfZrniUEfj9wf5xl/gIcvXOPx3zGuU+VUMsmFxX0jPKjU8nDtwQUhYhzJtNWQGLaFv0AXSlOLucFhJF+8BqpsMLtdKGtqguxugbSyivS9UeTHnkHO6el1Ea0VkKIRxDp7odL4ZE2D3O4BC4bApt7AiCWQI32yl68j7j6BfP8QSUCpZk1SKZ1UwT7ZXo/84yeIHfND8bSCNTeioqsDxkoAmsMBS3cn0qEQcmMPoTiaSjuxJjqYIeUK81DrdsKYfQ5eZob50AGUX+mFdrodJucu5AKr0PrOQXUfBxcirtuMKDBUcA0GIxyB2nkethtXIe9vhmgvPzCM/OevUGuqIZloKvm/ln9IcD4SfLQkPVAkSHuc0H8sQ06nkRoeARufQGZikk5uoWoGjA9zUKhTskeig9IqyzTT9xJHC4tGwSwWIuuQIkEo9gZwurvR2EAUCbI/ANgq50gD8ejY5sekEeMu/TgDsbrCzBotiyiv0MNKgDaMkq2jNOZu8nIFDvsfbYQ7hEVCtIjFYszzL/+PAAMA+Is/4Kr4KjkAAAAASUVORK5CYII="},"56d7":function(t,e,a){"use strict";a.r(e);a("cadf"),a("551c"),a("097d");var n=a("2b0e"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[a("game-nav"),a("div",{staticClass:"game-wrap"},[a("game-main")],1),a("game-table"),a("mod-footer")],1)},s=[],o=(a("96cf"),a("1da1")),r=a("be94"),c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"game-top-nav"},[n("div",{staticClass:"top-nav-container"},[n("div",{staticClass:"left-side"},[t._m(0),n("div",{staticClass:"game-link"},[n("a",{staticClass:"link-item",attrs:{href:t.diceUrl}},[n("i",{staticClass:"sicbo-icon"}),t._v("SICBO\n ")]),n("a",{staticClass:"link-item",attrs:{href:t.k3Url}},[n("i",{staticClass:"k3-icon"}),t._v("K3\n ")]),t._m(1)])]),n("div",{staticClass:"right-side"},[t.account.name&&null!==t.doughnutData.cpu?n("a",{staticClass:"doughnut-link",attrs:{target:"_blank",href:"https://eospark.com/MainNet/account/"+t.account.name}},[n("div",{staticClass:"nav-doughnut"},[n("doughnut",{attrs:{"chart-data":t.doughnutData.cpu,width:46,height:46}}),n("span",[t._v(t._s(t.doughnutData.cpu.showText))]),n("em",[t._v("CPU")])],1)]):t._e(),"zh"==t.$i18n.locale?n("a",{staticClass:"nav-icon help-icon",attrs:{target:"_blank",href:"https://t.me/eosgetdice"}}):n("a",{staticClass:"nav-icon help-icon",attrs:{target:"_blank",href:"https://t.me/eosgetsicboen"}}),n("a",{staticClass:"game-router-link",attrs:{href:"javascript:"},on:{click:function(e){t.lotteryShow=!0}}},[t._v(t._s(t.$t("nav.nav5")))]),n("a",{staticClass:"game-router-link",attrs:{href:"javascript:"},on:{click:t.showVip}},[t._v("VIP")]),n("a",{staticClass:"game-router-link",attrs:{href:"https://dice.eosget.io/#/bonus"}},[t._v(t._s(t.$t("nav.nav2")))]),n("a",{staticClass:"game-router-link",attrs:{href:"https://dice.eosget.io/#/reward/baccarat"}},[t._v(t._s(t.$t("nav.nav3")))]),n("a",{staticClass:"game-router-link",attrs:{target:"_blank",href:"zh"==t.$i18n.locale?"https://dice.eosget.io/whitePaper/whitePaper_zh.pdf":"https://dice.eosget.io/whitePaper/whitePaper_en.pdf"}},[t._v(t._s(t.$t("nav.nav4")))]),n("div",{staticClass:"lang"},["zh"==t.lang?[n("img",{staticClass:"flag",attrs:{src:a("55db"),alt:""}}),n("span",[t._v("中文")])]:t._e(),"en"==t.lang?[n("img",{staticClass:"flag",attrs:{src:a("0c6d"),alt:""}}),n("span",[t._v("ENG")])]:t._e(),"kr"==t.lang?[n("img",{staticClass:"flag",attrs:{src:a("d21d"),alt:""}}),n("span",[t._v("한글")])]:t._e(),n("i",{staticClass:"arrow-down"}),n("div",{staticClass:"lang-change"},t._l(t.langArr,function(e,a){return n("div",{key:a,staticClass:"lang-item",on:{click:function(a){t.changeLocale(e)}}},[n("i",{staticClass:"zh-logo",class:e+"-logo"}),"zh"==e?[t._v("中文")]:t._e(),"en"==e?[t._v("ENG")]:t._e(),"kr"==e?[t._v("한글")]:t._e()],2)}))],2),t.account.name?n("new-work"):t._e(),"NO_LOGINING"==t.account||""==t.account?n("div",{staticClass:"login-btn",on:{click:t.doScatterLogin}},[n("i",{staticClass:"login-circle"}),t._v("\n "+t._s(t.$t("header.login"))+"\n ")]):n("div",{staticClass:"login-user-name"},[t._v("\n "+t._s(t.account.name)+"\n "),n("i",{staticClass:"arrow-down"}),n("span",{staticClass:"loginout-btn",on:{click:t.doScatterLoginOut}},[t._v(t._s(t.$t("header.loginOut")))])])],1)])]),n("div",{staticClass:"game-moblie-nav"},[n("i",{staticClass:"moblie-nav-icon nav-icon",on:{click:function(e){t.mobNavShow=!0}}}),n("i",{directives:[{name:"show",rawName:"v-show",value:t.mobNavShow,expression:"mobNavShow"}],staticClass:"moblie-nav-close nav-icon",on:{click:function(e){t.mobNavShow=!1}}}),n("div",{staticClass:"game-select-list"},[n("div",{staticClass:"title",on:{click:function(e){t.gameListShow=!t.gameListShow}}},[n("img",{staticClass:"baccarat-logo",attrs:{src:a("ce4e"),alt:""}}),n("i",{staticClass:"white-arrow-down"})]),n("transition",{attrs:{name:"msgbox-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.gameListShow,expression:"gameListShow"}],staticClass:"game-list"},[n("a",{staticClass:"select-list-item",attrs:{href:t.diceUrl}},[n("img",{staticClass:"sicbo-logo",attrs:{src:a("8f71"),alt:""}})]),n("a",{staticClass:"select-list-item",attrs:{href:t.k3Url}},[n("img",{staticClass:"k3-logo",attrs:{src:a("7883"),alt:""}})])])])],1),"NO_LOGINING"==t.account||""==t.account?n("div",{staticClass:"login-btn",on:{click:t.doScatterLogin}},[n("i",{staticClass:"login-circle"}),t._v("\n "+t._s(t.$t("header.login"))+"\n ")]):n("div",{staticClass:"login-user-name"},[n("span",{on:{click:function(e){e.stopPropagation(),t.logoutShow=!t.logoutShow}}},[t._v("\n "+t._s(t.account.name)+"\n "),n("i",{staticClass:"arrow-down"})]),t.logoutShow?n("span",{staticClass:"loginout-btn"},[n("em",{on:{click:t.doScatterLoginOut}},[t._v(t._s(t.$t("header.loginOut")))])]):t._e()]),n("transition",{attrs:{name:"msgbox-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mobNavShow,expression:"mobNavShow"}],staticClass:"nav-list"},[n("a",{staticClass:"list-item",attrs:{href:"https://www.eosget.io/"}},[n("img",{staticClass:"eos-get-icon",attrs:{src:a("9dbf")}}),t._v("EOS GET\n ")]),n("a",{staticClass:"list-item",attrs:{href:"javascript:"},on:{click:function(e){t.lotteryShow=!0}}},[t._v(t._s(t.$t("nav.nav5")))]),n("a",{staticClass:"list-item",attrs:{href:"javascript:"},on:{click:t.showVip}},[t._v("VIP")]),n("a",{staticClass:"list-item",attrs:{href:"https://dice.eosget.io/#/bonus"}},[t._v(t._s(t.$t("nav.nav2")))]),n("a",{staticClass:"list-item",attrs:{href:"https://dice.eosget.io/#/reward/baccarat"}},[t._v(t._s(t.$t("nav.nav3")))]),n("a",{staticClass:"list-item",attrs:{href:"zh"==t.$i18n.locale?"https://dice.eosget.io/whitePaper/whitePaper_zh.pdf":"https://dice.eosget.io/whitePaper/whitePaper_en.pdf"}},[t._v(t._s(t.$t("nav.nav4")))]),t._l(t.langArr,function(e,i){return n("div",{key:i,staticClass:"list-item",class:{current:e==t.lang},on:{click:function(a){t.changeLocale(e)}}},[n("i",{staticClass:"zh-logo",class:e+"-logo"}),"zh"==e?[n("img",{staticClass:"flag",attrs:{src:a("55db"),alt:""}}),t._v("中文\n ")]:t._e(),"en"==e?[n("img",{staticClass:"flag",attrs:{src:a("0c6d"),alt:""}}),t._v("ENG\n ")]:t._e(),"kr"==e?[n("img",{staticClass:"flag",attrs:{src:a("d21d"),alt:""}}),t._v("한글\n ")]:t._e()],2)}),n("div",{staticClass:"list-item"},[n("img",{staticClass:"tel-icon",attrs:{src:a("ff1b"),alt:""}})])],2)])],1),t.lotteryShow?n("mod-lottery",{on:{"visible:lottery":function(e){t.lotteryShow=!1}}}):t._e()],1)},l=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"logo-link",attrs:{target:"_blank",href:"https://www.eosget.io/"}},[n("img",{staticClass:"logo",attrs:{src:a("9dbf"),alt:""}}),n("span",{staticClass:"game-title"},[t._v("EOS GET")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a",{staticClass:"link-item current"},[a("i",{staticClass:"baccarat-icon"}),t._v("BACCARAT\n ")])}],u=a("0e0b"),d=a("2f62"),h=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"msgbox-fade"}},[a("div",{staticClass:"popup-wrap mod-lottery"},[a("div",{staticClass:"popup-modal"}),a("div",{staticClass:"popup-box"},[a("div",{staticClass:"popup-hd"},[a("div",{staticClass:"popup-hd-title"},[a("em",[t._v(t._s(t.$t("lottery.title")))])]),a("span",{staticClass:"popup-close",on:{click:function(e){t.$emit("visible:lottery")}}})]),a("div",{staticClass:"popup-bd"},[a("div",{staticClass:"lottery-wrap"},[a("p",{staticClass:"left-time"},[t._v(t._s(t.$t("lottery.text1"))+":"+t._s(t.leftTimes))]),t.rewardList.length?a("div",{staticClass:"lottery-wheel"},[a("div",{staticClass:"wheel",style:{transform:"rotate("+t.rotateDeg+"deg)"}},t._l(t.rewardList,function(e,n){return a("div",{key:n,staticClass:"rotate-box"},[a("div",{staticClass:"wheel-item"},[a("span",{staticClass:"amount"},[t._v(t._s(e))]),a("i",{staticClass:"gold-eos-icon"})])])})),0==t.ttl?a("div",{staticClass:"lottery-btn",class:{"lottery-btn-small":t.isRotating},on:{click:t.runLottery}},[t._v("\n "+t._s(t.isRotating?t.$t("lottery.text2"):t.$t("lottery.text3"))+"\n ")]):-1==t.ttl?a("div",{staticClass:"lottery-btn disabled"},[t._v(t._s(t.$t("lottery.text3")))]):a("div",{staticClass:"lottery-btn disabled time-count-down"},[t._v(t._s(t.timeStr))])]):t._e(),a("transition",{attrs:{name:"msgbox-fade"}},[t.luckResult?a("div",{staticClass:"lottery-result"},[a("div",{staticClass:"num"},[t._v(t._s(t.$t("lottery.text5"))+":"+t._s(t.luckResult.luckdraw_num))]),a("div",{staticClass:"lottery-fair"},[a("span",{staticClass:"title"},[t._v(t._s(t.$t("lottery.text5")))]),a("a",{staticClass:"fair-num",attrs:{target:"_blank",href:"https://eospark.com/block/"+t.luckResult.next_block_num}},[t._v(t._s(t.luckResult.next_block_num))]),a("a",{staticClass:"hash",attrs:{target:"_blank",href:"https://eospark.com/block/"+t.luckResult.next_block_num},domProps:{innerHTML:t._s(t.luckHash)}})]),a("div",{staticClass:"lottery-fair"},[a("span",{staticClass:"title"},[t._v(t._s(t.$t("lottery.text3")))]),a("a",{staticClass:"fair-num",attrs:{target:"_blank",href:"https://eospark.com/tx/"+t.luckResult.trx_id}},[t._v(t._s(t.luckResult.draw_block_num))]),a("a",{staticClass:"hash",attrs:{target:"_blank",href:"https://eospark.com/tx/"+t.luckResult.trx_id}},[t._v("..."+t._s(t.luckResult.trx_id.substring(t.luckResult.trx_id.length-30,t.luckResult.trx_id.length)))])])]):t._e()]),a("p",{staticClass:"lottery-tips"},[t._v(t._s(t.$t("lottery.text4")))])],1)])])])])},p=[],m=(a("ac6a"),a("28a5"),a("6b54"),a("7f7f"),a("365c")),f={name:"lottery",data:function(){return{rewardList:[],rotateDeg:60,isRotating:!1,leftTimes:0,ttl:0,luckResult:null,timeStr:""}},computed:Object(r["a"])({identity:function(){return{authorization:["".concat(this.account.name,"@").concat(this.account.authority)]}},luckHash:function(){if(this.luckResult){for(var t=this.luckResult.next_block_id,e=this.luckResult.luckdraw_num.toString(),a=t.substring(t.length-30,t.length),n=a.split(""),i=e.length,s=0,o=n.length-1;o>=0;o--){var r=n[o];if(e.indexOf(r)>-1&&s");n.splice(o,1,c),s++}}return"..."+n.join("")}return""}},Object(d["d"])({eos:function(t){return t.eos},account:function(t){return t.account}})),methods:{runLottery:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){var e,a,n=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(this.$showLoading(),e=function(t){m["a"].eos.sendLuckTrx(t).then(function(t){var e=t.data;if(n.$hideLoading(),0==e.code){var a=e.data.luckdraw_amount_int/1e4,i=n.rewardList.indexOf(a.toString());n.rotateDeg=1800+60*i,n.isRotating=!0,setTimeout(function(){n.isRotating=!1,n.luckResult=e.data,n.$store.commit("updateBalance",e.data.luckdraw_amount_int),n.leftTimes--,n.ttl=3600,n.timer=setInterval(function(){n.updateTime()},1e3)},3500)}}).catch(function(t){n.$hideLoading()})},!this.$isLogin()){t.next=6;break}a="luckdraw",t.next=10;break;case 6:return t.next=8,this.$getRandom();case 8:t.t0=t.sent,a="luckdraw|"+t.t0;case 10:window.EOS.contract("eosgetadmin1").then(function(t){t.luckdraw(n.account.name,a,n.identity).then(function(t){e({transaction_id:t.transaction_id,block_num:t.processed.block_num?t.processed.block_num:""})}).catch(function(t){if(n.$hideLoading(),"signature_rejected"!==t.type){var e=JSON.parse(t),a=e.error.details;Object(u["d"])(a[0].message)}})});case 11:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),updateTime:function(){if(this.ttl>0){var t=this.ttl,e=Math.floor(t%3600/60);e=e<10?"0"+e:e;var a=Math.floor(t%3600%60);a=a<10?"0"+a:a,this.timeStr="".concat(e,":").concat(a),this.ttl-=1,0==this.ttl&&clearInterval(this.timer)}},getLuckInfo:function(){var t=this;m["a"].eos.getLuckInfo({player:this.account.name}).then(function(e){var a=e.data;t.leftTimes=a.data.times,t.ttl=a.data.limit;var n=a.data.reward_conf;n.forEach(function(e){t.rewardList.push(e.formatAmount.toFixed(4))}),t.ttl>0&&(t.timer=setInterval(function(){t.updateTime()},1e3))})},beforeDestroy:function(){this.timer&&clearInterval(this.timer)}},created:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(this.account.name){t.next=3;break}return t.next=3,this.$parent.login();case 3:this.getLuckInfo();case 4:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},b=f,g=(a("2d82"),a("2877")),v=Object(g["a"])(b,h,p,!1,null,null,null);v.options.__file="index.vue";var w=v.exports,y={name:"gameNav",data:function(){return{lang:"",langArr:["zh","en"],isMoblie:/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent),refreshTimer:null,refreshInterval:3e3,doughnutData:{cpu:null,net:null},mobNavShow:!1,lotteryShow:!1,logoutShow:!1,gameListShow:!1}},components:{doughnut:function(){return a.e("chunk-0465d832").then(a.bind(null,"b7dd"))},newWork:function(){return a.e("chunk-4d9e0cd2").then(a.bind(null,"859c"))},modLottery:w},computed:Object(r["a"])({},Object(d["d"])({account:function(t){return t.account},limit:function(t){return t.limit},invitee:function(t){return t.invitee}}),{diceUrl:function(){return this.invitee?"https://dice.eosget.io/?a=".concat(this.invitee):"https://dice.eosget.io/"},boxUrl:function(){return this.invitee?"https://box.eosget.io/?a=".concat(this.invitee):"https://box.eosget.io/"},k3Url:function(){return this.invitee?"https://k3.eosget.io/?a=".concat(this.invitee):"https://k3.eosget.io/"},baccaratUrl:function(){return this.invitee?"https://baccarat.eosget.io/?a=".concat(this.invitee):"https://baccarat.eosget.io/"}}),watch:{limit:function(t){t.cpu&&t.net&&this.initDoughnut(t.cpu.toFixed(2),t.net.toFixed(2))}},methods:Object(r["a"])({},Object(d["c"])(["setInvitee"]),Object(d["b"])(["doScatterLogin","doScatterLoginOut","getUserEOS","getUserGT"]),{changeLocale:function(t){this.$i18n.locale=t,u["a"].setCookie("eosget_lang",t),localStorage.setItem("eosget_lang",t),this.lang=t,document.title=this.$t("pageTitle"),document.getElementById("__gameIframe__").contentWindow.postMessage({lang:t},"*")},initDoughnut:function(t,e){var a=["#39cd6d","#ff3434"];t*=100,t<80?this.doughnutData.cpu=null:(100,this.doughnutData.cpu={datasets:[{data:t>100?[100,0]:[t,100-t],backgroundColor:[t>=80?a[1]:a[0],"#e5e9f2"],borderWidth:0}],labels:["Point","Other"],showText:t.toFixed(0)+"%"})},showVip:function(){this.$showVip()}}),created:function(){var t=this;document.body.addEventListener("click",function(){t.logoutShow&&(t.logoutShow=!1)}),this.lang=u["a"].getCookie("eosget_lang")||Object(u["b"])();var e=Object(u["c"])("a");e&&this.setInvitee(e)}},C=y,k=(a("b895"),Object(g["a"])(C,c,l,!1,null,null,null));k.options.__file="gameNav.vue";var O=k.exports,_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"gameContainer"},[a("iframe",{ref:"gameIframe",staticStyle:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%",border:"none"},attrs:{src:t.iframeUrl,id:"__gameIframe__",width:"100%",height:"0"}})])},x=[],S={name:"gameMain",data:function(){return{iframeUrl:""!==window.location.port?"http://172.16.14.9:3000/index.html":"/game/index.html"}}},E=S,T=(a("2a64"),Object(g["a"])(E,_,x,!1,null,null,null));T.options.__file="gameMain.vue";var A=T.exports,G=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"rank-table",class:{"td-underline":!t.isMoblie}},[a("div",{staticClass:"table-nav"},[a("button",{class:{active:1==t.curTab},on:{click:function(e){t.curTab=1}}},[t._v(t._s(t.$t("table.allBet")))]),t.account.name?a("button",{class:{active:2==t.curTab},on:{click:function(e){t.curTab=2}}},[t._v(t._s(t.$t("table.myBet")))]):t._e(),a("button",{class:{active:3==t.curTab},on:{click:function(e){t.curTab=3}}},[t._v(t._s(t.$t("table.hugeWin")))])]),a("div",{staticClass:"game-table-bg"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.curTab,expression:"curTab == 1"}]},[a("table",{class:{"en-lang":"en"==t.$i18n.locale}},[a("thead",[a("th",[t._v(t._s(t.$t("table.col1")))]),a("th",[t._v(t._s(t.$t("table.col2")))]),a("th",[t._v(t._s(t.$t("table.col3")))]),a("th",[t._v(t._s(t.$t("table.col4")))]),a("th",[t._v(t._s(t.$t("table.col5")))])]),t.allBetList.length?a("tbody",t._l(t.allBetList,function(e,n){return a("tr",{key:n},[a("td",[a("a",{staticClass:"link",on:{click:function(a){a.preventDefault(),t.$showValidate(e)}}},[t._v(t._s(e.game_id))])]),a("td",[a("i",{staticClass:"vip-level",class:"icon-level"+e.vip_level}),a("span",{staticClass:"player-name"},[a("a",{staticClass:"link",attrs:{href:"https://eospark.com/MainNet/account/"+e.player,target:"_blank"}},[t._v(t._s(e.player))])])]),a("td",[a("a",{staticClass:"link",attrs:{target:"_blank",href:"https://eospark.com/tx/"+e.transfer_trx_id}},[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"type"},[t._v(t._s((e.offerall_int/1e4).toFixed(4)))])])]),a("td",[e.win_int>0?[e.result_trx_id?[a("a",{staticClass:"link win-amount",attrs:{target:"_blank",href:"https://eospark.com/tx/"+e.result_trx_id}},[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"money"},[t._v(t._s((e.win_int/1e4).toFixed(4)))])])]:[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"money"},[t._v(t._s((e.win_int/1e4).toFixed(4)))])]]:t._e()],2),a("td",[a("a",{staticClass:"link",attrs:{target:"_blank"},on:{click:function(a){a.preventDefault(),t.$showValidate(e)}}},[a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.winState["+e.reveal_info.win+"]")))]),e.reveal_info.playerPair?a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.playerPair")))]):t._e(),e.reveal_info.bankerPair?a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.bankerPair")))]):t._e()])])])})):t._e()]),a("div",{staticClass:"moblie-list"},t._l(t.allBetList,function(e,n){return a("div",{key:n,staticClass:"list-item",on:{click:function(a){a.preventDefault(),t.$showValidate(e)}}},[a("div",{staticClass:"top"},[a("i",{staticClass:"vip-level",class:"icon-level"+e.vip_level}),t._v("\n "+t._s(e.player)+"\n "),a("span",{staticClass:"amount"},[t._v("\n "+t._s(t.$t("table.col3"))+":\n "),a("i",{staticClass:"game-eos-icon"}),t._v("\n "+t._s(e.offerall_int/1e4)+" ("+t._s(e.offertype.map(function(e){return t.$t("table.winState["+e+"]")}).join(","))+")\n ")])]),a("div",{staticClass:"content"},[a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.result"))+":")]),a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.winState["+e.reveal_info.win+"]")))]),e.reveal_info.playerPair?a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.playerPair")))]):t._e(),e.reveal_info.bankerPair?a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.bankerPair")))]):t._e(),e.win_int>0?a("div",{staticClass:"right"},[t._v("\n "+t._s(t.$t("table.col4"))+":\n "),a("i",{staticClass:"game-eos-icon"}),a("em",[t._v(t._s(e.win_int/1e4))])]):t._e()]),a("div",{staticClass:"bottom"},[a("div",{staticClass:"time"},[t._v(t._s(e.game_id))])])])}))]),a("div",{directives:[{name:"show",rawName:"v-show",value:2==t.curTab,expression:"curTab == 2"}]},[a("table",{class:{"en-lang":"en"==t.$i18n.locale}},[a("thead",[a("th",[t._v(t._s(t.$t("table.col1")))]),a("th",[t._v(t._s(t.$t("table.col8")))]),a("th",[t._v(t._s(t.$t("table.col3")))]),a("th",[t._v(t._s(t.$t("table.col4")))]),a("th",[t._v(t._s(t.$t("table.col5")))])]),t.myBetList.length?a("tbody",t._l(t.myBetList,function(e,n){return a("tr",{key:n},[a("td",[a("a",{staticClass:"link",on:{click:function(a){a.preventDefault(),t.$showValidate(e)}}},[t._v(t._s(e.game_id))])]),a("td",t._l(e.offertype,function(e,n){return a("span",{key:n,staticClass:"offer-result"},[t._v(t._s(t.$t("table.winState["+e+"]")))])})),a("td",[a("a",{staticClass:"link",attrs:{target:"_blank",href:"https://eospark.com/tx/"+e.transfer_trx_id}},[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"type"},[t._v(t._s((e.offerall_int/1e4).toFixed(4)))])])]),a("td",[e.win_int>0?[e.result_trx_id?[a("a",{staticClass:"link win-amount",attrs:{target:"_blank",href:"https://eospark.com/tx/"+e.result_trx_id}},[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"money"},[t._v(t._s((e.win_int/1e4).toFixed(4)))])])]:[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"money"},[t._v(t._s((e.win_int/1e4).toFixed(4)))])]]:t._e()],2),a("td",[a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.winState["+e.reveal_info.win+"]")))]),e.reveal_info.playerPair?a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.playerPair")))]):t._e(),e.reveal_info.bankerPair?a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.bankerPair")))]):t._e()])])})):t._e()]),a("div",{staticClass:"moblie-list"},t._l(t.myBetList,function(e,n){return a("div",{key:n,staticClass:"list-item",on:{click:function(a){a.preventDefault(),t.$showValidate(e)}}},[a("div",{staticClass:"top"},[t._v("\n "+t._s(e.game_id)+"\n "),a("span",{staticClass:"amount"},[t._v("\n "+t._s(t.$t("table.col3"))+":\n "),a("i",{staticClass:"game-eos-icon"}),t._v("\n "+t._s(e.offerall_int/1e4)+" ("+t._s(e.offertype.map(function(e){return t.$t("table.winState["+e+"]")}).join(","))+")\n ")])]),a("div",{staticClass:"content"},[a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.result"))+":")]),a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.winState["+e.reveal_info.win+"]")))]),e.reveal_info.playerPair?a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.playerPair")))]):t._e(),e.reveal_info.bankerPair?a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.bankerPair")))]):t._e(),e.win_int>0?a("div",{staticClass:"right"},[t._v("\n "+t._s(t.$t("table.col4"))+":\n "),a("i",{staticClass:"game-eos-icon"}),a("em",[t._v(t._s(e.win_int/1e4))])]):t._e()])])}))]),a("div",{directives:[{name:"show",rawName:"v-show",value:3==t.curTab,expression:"curTab == 3"}]},[a("table",{class:{"en-lang":"en"==t.$i18n.locale}},[a("thead",[a("th",[t._v(t._s(t.$t("table.col1")))]),a("th",[t._v(t._s(t.$t("table.col2")))]),a("th",[t._v(t._s(t.$t("table.col5")))]),a("th",[t._v(t._s(t.$t("table.col3")))]),a("th",[t._v(t._s(t.$t("table.col4")))])]),t.hugeWinList.length?a("tbody",t._l(t.hugeWinList,function(e,n){return a("tr",{key:n},[a("td",[a("a",{staticClass:"link",on:{click:function(a){a.preventDefault(),t.$showValidate(e)}}},[t._v(t._s(e.game_id))])]),a("td",[a("i",{staticClass:"vip-level",class:"icon-level"+e.vip_level}),a("span",{staticClass:"player-name"},[a("a",{staticClass:"link",attrs:{href:"https://eospark.com/MainNet/account/"+e.player,target:"_blank"}},[t._v(t._s(e.player))])])]),a("td",[a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.winState["+e.reveal_info.win+"]")))]),e.reveal_info.playerPair?a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.playerPair")))]):t._e(),e.reveal_info.bankerPair?a("span",{staticClass:"result"},[t._v(t._s(t.$t("table.bankerPair")))]):t._e()]),a("td",[e.win_int>0?[a("a",{staticClass:"link",attrs:{target:"_blank",href:"https://eospark.com/tx/"+e.transfer_trx_id}},[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"type"},[t._v(t._s((e.offerall_int/1e4).toFixed(4)))])])]:t._e()],2),a("td",[e.result_trx_id?[a("a",{staticClass:"link win-amount",attrs:{target:"_blank",href:"https://eospark.com/tx/"+e.result_trx_id}},[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"money"},[t._v(t._s((e.win_int/1e4).toFixed(4)))])])]:[a("i",{staticClass:"money-icon"}),a("span",{staticClass:"money"},[t._v(t._s((e.win_int/1e4).toFixed(4)))])]],2)])})):t._e()]),a("div",{staticClass:"moblie-list"},t._l(t.hugeWinList,function(e,n){return a("div",{key:n,staticClass:"list-item",on:{click:function(a){a.preventDefault(),t.$showValidate(e)}}},[a("div",{staticClass:"top"},[a("i",{staticClass:"vip-level",class:"icon-level"+e.vip_level}),t._v("\n "+t._s(e.player)+"\n "),a("span",{staticClass:"amount"},[t._v("\n "+t._s(t.$t("table.col3"))+":\n "),a("i",{staticClass:"game-eos-icon"}),t._v("\n "+t._s(e.offerall_int/1e4)+" ("+t._s(e.offertype.map(function(e){return t.$t("table.winState["+e+"]")}).join(","))+")\n ")])]),a("div",{staticClass:"content"},[a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.result"))+":")]),a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.winState["+e.reveal_info.win+"]")))]),e.reveal_info.playerPair?a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.playerPair")))]):t._e(),e.reveal_info.bankerPair?a("span",{staticClass:"type"},[t._v(t._s(t.$t("table.bankerPair")))]):t._e(),e.win_int>0?a("div",{staticClass:"right"},[t._v("\n "+t._s(t.$t("table.col4"))+":\n "),a("i",{staticClass:"game-eos-icon"}),a("em",[t._v(t._s(e.win_int/1e4))])]):t._e()]),a("div",{staticClass:"bottom"},[a("div",{staticClass:"time"},[t._v(t._s(e.game_id))])])])}))]),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoadMore,expression:"isLoadMore"}],staticClass:"load-more"},[t._v(t._s(t.$t("loading")))])])])},B=[],I=(a("20d6"),a("2909")),P=a("9619"),N={name:"gameTable",data:function(){return{list:[],curTab:1,allBetList:[],myBetList:[],hugeWinList:[],allBetNext:null,myBetNext:null,bigPrizeTot:null,isLoadMore:!1,canLoadMore:[!0,!0,!0],gameid:""}},computed:{update:function(){return this.$store.state.update},account:function(){return this.$store.state.account},isMoblie:function(){return this.$store.state.isMoblie}},watch:{update:function(){var t=this;setTimeout(function(){t.getNewAllBets(),2==t.curTab&&t.getNewMyOffers()},1e3)},account:function(t){t.name||2!=this.curTab||(this.curTab=1)},curTab:function(t){2==t&&(this.myBetNext=null,n["default"].set(this.canLoadMore,"1",!0),this.getMyOffers())}},methods:{getAllBets:function(){var t=this;if(this.canLoadMore[0])return m["a"].table.getAllBets({next:this.allBetNext}).then(function(e){var a=e.data;if(0===a.code){var n,i=a.data.list.length;i&&(t.allBetNext=a.data.list[i-1].id),(n=t.allBetList).push.apply(n,Object(I["a"])(t.formatAllData(a.data.list))),t.canLoadMore[0]=a.data.more}})},getNewAllBets:function(){var t=this;return m["a"].table.getAllBets().then(function(e){var a=e.data;if(0===a.code){var n,i=t.getRemovalData(t.allBetList,a.data.list);(n=t.allBetList).unshift.apply(n,Object(I["a"])(t.formatAllData(i)))}})},getMyOffers:function(){var t=this;if(this.canLoadMore[1])return m["a"].table.getMyOffers({player:this.account.name,next:this.myBetNext}).then(function(e){var a=e.data;if(0===a.code){var n;null==t.myBetNext&&(t.myBetList=[]);var i=a.data.list.length;i&&(t.myBetNext=a.data.list[i-1].id),(n=t.myBetList).push.apply(n,Object(I["a"])(t.formMyData(a.data.list))),t.canLoadMore[1]=a.data.more}})},getNewMyOffers:function(){var t=this;return m["a"].table.getMyOffers({player:this.account.name}).then(function(e){var a=e.data;if(0===a.code){var n,i=t.getRemovalData(t.myBetList,a.data.list);(n=t.myBetList).unshift.apply(n,Object(I["a"])(t.formMyData(i)))}})},getBigPrize:function(){var t=this;if(this.canLoadMore[2])return m["a"].table.getBigPrize({page:this.bigPrizeTot}).then(function(e){var a,n=e.data;(t.bigPrizeTot++,0===n.code)&&((a=t.hugeWinList).push.apply(a,Object(I["a"])(t.formatAllData(n.data.list))),t.canLoadMore[2]=n.data.more)})},formMyData:function(t){var e=t.map(function(t){if(t.game_info.reveal_info){var e=t.offertype.split("|");return{game_id:t.game_id,reveal_info:t.game_info.reveal_info,offerall_int:t.offerall_int,win_int:t.win_int,state:t.state,game_state:t.game_info.game_state,offertype:e,transfer_trx_id:t.transfer_trx_id,result_trx_id:t.result_trx_id}}}).filter(function(t){return t});return e},formatAllData:function(t){var e=t.map(function(t){if(t.game_info.reveal_info){var e=t.offertype.split("|");return{game_id:t.game_id,reveal_info:t.game_info.reveal_info,player:t.player,offerall_int:t.offerall_int,win_int:t.win_int,state:t.state,vip_level:t.vip_level,game_state:t.game_info.game_state,offertype:e,transfer_trx_id:t.transfer_trx_id,result_trx_id:t.result_trx_id}}}).filter(function(t){return t});return e},loadMore:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(this.isLoadMore=!0,1!=this.curTab){t.next=6;break}return t.next=4,this.getAllBets();case 4:t.next=14;break;case 6:if(2!=this.curTab){t.next=11;break}return t.next=9,this.getMyOffers();case 9:t.next=14;break;case 11:if(3!=this.curTab){t.next=14;break}return t.next=14,this.getBigPrize();case 14:this.isLoadMore=!1;case 15:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),handleScroll:function(){var t=this,e=document.documentElement.scrollTop;return this.scrollFun=Object(P["debounce"])(100,function(){var a=document.documentElement.scrollTop;if(a-e>0){var n=window.scrollY,i=window.innerHeight,s=document.body.scrollHeight;n+i+500>=s&&(t.isLoadMore||t.loadMore())}e=a}),this.scrollFun},getRemovalData:function(t,e){if(0===t.length)return e;var a=e.findIndex(function(e){return e.id===t[0].id});return null!==a?e.slice(0,a):e}},mounted:function(){window.addEventListener("scroll",this.handleScroll())},created:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getAllBets();case 2:if(!this.account.name){t.next=5;break}return t.next=5,this.getMyOffers();case 5:return t.next=7,this.getBigPrize();case 7:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),beforeDestroy:function(){window.removeEventListener("scroll",this.scrollFun)}},M=N,R=(a("5b94"),Object(g["a"])(M,G,B,!1,null,null,null));R.options.__file="table.vue";var L=R.exports,j=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mod-footer"},[a("span",{staticClass:"copyright"},[t._v("copyright © 2018,EOSGET.")]),a("div",{staticClass:"text"},[t._v(t._s(t.$t("footer")))])])},D=[],U={name:"gameFooter"},Y=U,z=(a("4bb3"),Object(g["a"])(Y,j,D,!1,null,null,null));z.options.__file="modFooter.vue";var W=z.exports,Z=a("d3b7"),F=a.n(Z),Q=a("76b0"),V=a.n(Q),J=a("876a"),H=a.n(J);V.a.plugins(new H.a);var X={name:"App",data:function(){return{connectTimes:0}},components:{gameNav:O,gameMain:A,GameTable:L,modFooter:W},methods:Object(r["a"])({},Object(d["b"])(["setScatter","setAccount","doScatterLogin"]),{connect:function(){var t=this,e={initTimeout:2e4};V.a.scatter.connect("EOSGET_BACCRAT",e).then(function(e){e?(t.setScatter(V.a.scatter),window.__MeeChat&&window.__MeeChat.setScatterJS(V.a),window.__MeeChat&&window.__MeeChat.setEos(F.a),window.ScatterJS=null,t.doScatterLogin()):(t.connectTimes++,t.connectTimes<=3?setTimeout(function(){t.connect()},1e3):(Object(u["d"])(t.$t("installScatter"),"Scatter"),t.setAccount("NO_LOGINING")))})}}),created:function(){var t=Object(o["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:this.connect();case 1:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),mounted:function(){document.title=this.$t("pageTitle")}},$=X,K=(a("5c0b"),Object(g["a"])($,i,s,!1,null,null,null));K.options.__file="App.vue";var q=K.exports,tt=a("4360"),et=a("1e7c"),at=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"toast",domProps:{innerHTML:t._s(t.text)}})])},nt=[],it=(a("097e"),{}),st=Object(g["a"])(it,at,nt,!1,null,null,null);st.options.__file="toast.vue";var ot,rt=st.exports,ct=n["default"].extend(rt);function lt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2500;ot?(ot.show=!0,ot.text=t):(ot=new ct({el:document.createElement("div"),data:function(){return{text:t,show:!0}}}),document.body.appendChild(ot.$el)),e&&setTimeout(function(){ot.show=!1},a)}function ut(){ot&&(ot.show=!1)}function dt(){n["default"].prototype.$showTips=lt,n["default"].prototype.$hideTips=ut}var ht=dt,pt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"mod-loading"},[a("i",{staticClass:"icon loading-icon"})])])},mt=[],ft=(a("a62a"),{}),bt=Object(g["a"])(ft,pt,mt,!1,null,null,null);bt.options.__file="loading.vue";var gt,vt=bt.exports,wt=n["default"].extend(vt);function yt(){gt?gt.show=!0:(gt=new wt({el:document.createElement("div"),data:function(){return{show:!0}}}),document.body.appendChild(gt.$el))}function Ct(){gt&&(gt.show=!1)}function kt(){n["default"].prototype.$showLoading=yt,n["default"].prototype.$hideLoading=Ct}var Ot=kt,_t=(a("5df3"),a("3835")),xt=(a("7514"),a("1a22")),St={install:function(t,e){var a=e.state;t.prototype.$getPubKey=function(){return new Promise(function(t,e){var n,i=a.account;i?a.eos.getAccount(i.name).then(function(e){var a=JSON.parse(JSON.stringify(e.permissions));a.forEach(function(t){"active"==t.perm_name&&(n=t.required_auth.keys[0].key)}),t(n)}):e("account is not define")})},t.prototype.$getRandom=function(){var t=a.account;return new Promise(function(e,a){m["a"].user.getRandom({account:t.name}).then(function(t){e(t.data.data)}).catch(a)})},t.prototype.$login=Object(o["a"])(regeneratorRuntime.mark(function t(){var n,i,s,o,r,c,l,d,h=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(a.account.name){t.next=17;break}return t.next=3,Object(xt["b"])();case 3:return n=t.sent,t.prev=4,t.next=7,a.scatter.login({accounts:[n]});case 7:return i=t.sent,s=i.accounts.find(function(t){return"eos"===t.blockchain}),e.dispatch("setAccount",s),e.dispatch("setEos",a.scatter.eos(n,F.a,{})),t.abrupt("return",Promise.resolve());case 14:return t.prev=14,t.t0=t["catch"](4),t.abrupt("return",Promise.reject());case 17:if(!u["a"].getCookie("account")||!u["a"].getCookie("token")){t.next=21;break}return t.abrupt("return",Promise.resolve());case 21:return t.prev=21,o=a.account,t.next=25,Promise.all([this.$getRandom(),this.$getPubKey()]);case 25:return r=t.sent,c=Object(_t["a"])(r,2),l=c[0],d=c[1],t.abrupt("return",new Promise(function(t,e){a.scatter.getArbitrarySignature(d,l,h.$t("walletLogin")).then(function(a){var n={account:o.name,sign:a,pubkey:d,data:l};m["a"].user.login(n).then(function(a){var n=a.data;if(1==n.result){var i=n.data.account,s=n.data.token;u["a"].setCookie("account",i),u["a"].setCookie("token",s),t(n)}else e(n.msg)})}).catch(function(t){e(t)})}));case 32:t.prev=32,t.t1=t["catch"](21),Promise.reject(t.t1);case 35:case"end":return t.stop()}},t,this,[[4,14],[21,32]])}))}},Et=St,Tt={install:function(t,e){var a=e.state;t.prototype.gameIframe=function(){return document.getElementById("__gameIframe__")},t.prototype.$scatterLogin=Object(o["a"])(regeneratorRuntime.mark(function t(){var a=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch("doScatterLogin").then(function(t){a.gameIframe().contentWindow.postMessage({login:t},"*")});case 2:case"end":return t.stop()}},t,this)})),t.prototype.$isLogin=function(){return u["a"].getCookie("account")&&u["a"].getCookie("token")},t.prototype.$isScatterLogin=function(){return null!=a.account&&"NO_LOGINING"!=a.account},t.prototype.$getEosInfo=function(){this.$isScatterLogin()?this.gameIframe().contentWindow.postMessage({login:a.account},"*"):this.gameIframe().contentWindow.postMessage({logout:!0},"*")},t.prototype.$getCoinData=function(){this.$isScatterLogin()&&this.gameIframe().contentWindow.postMessage({coin:{balance:a.balance,money:a.money,gt:a.gt}},"*")},t.prototype.$getCoin=function(t){this.$isScatterLogin()&&this.gameIframe().contentWindow.postMessage(t,"*")},t.prototype.$doDeposit=function(t,e,n){var i=this,s=a.account.name,o=a.toAccount,r=e.toFixed(4)+" EOS",c={authorization:["".concat(s,"@").concat(a.account.authority)]},l=a.invitee||0,d="baccarat|".concat(t,"|").concat(l).concat(n);window.EOS.transfer(s,o,r,d,c).then(function(o){var r={doDeposit:!0,transaction_id:o.transaction_id,block_num:o.processed.block_num?o.processed.block_num:"",player:s,amount:e,appid:a.appid,fullmemo:d,gameId:t,memo:n};i.gameIframe().contentWindow.postMessage(r,"*")}).catch(function(t){if(i.gameIframe().contentWindow.postMessage({doDepositFail:!0},"*"),"signature_rejected"!=t.type){var e=JSON.parse(t),a=e.error.details;Object(u["d"])(a[0].message)}})},t.prototype.$getNewGame=function(){e.dispatch("getNewGame")},t.prototype.$gameLoaded=function(){function t(){var t={group_id:10001};return/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)?window.innerHeight>=window.innerWidth?(t.bottom=0,t.left=0,t.height="66%",t.width="100%",t.show=!1):(t.bottom=0,t.left=0,t.height="100%",t.width="60%",t.show=!1):(t.bottom=10,t.right=10,t.height=500,t.width=300,t.show=!0),t}function e(){var e=t();delete e.show,window.__MeeChat.resize(e)}console.log("init chat"),window.__MeeChat.init(t()),e(),window.addEventListener("orientationchange",e),window.addEventListener("resize",e)}}},At=Tt,Gt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.modalShow,expression:"modalShow"}],staticClass:"modal-mask"},[a("div",{staticClass:"pub-border-wrapper"},[a("div",{staticClass:"overflow-modal rule-modal"},[a("i",{staticClass:"close-icon",on:{click:t.closeMdoal}}),a("div",{staticClass:"title"},[t._v(t._s(t.$t("modal.title")))]),a("div",{staticClass:"game-modal"},[a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("1.")]),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("modal.text1")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("2.")]),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("modal.text2")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("3.")]),a("div",{staticClass:"text-wrap"},[a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text3.title")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text3.tip1")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text3.tip2")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text3.tip3")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text3.tip4")))])])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("4.")]),a("div",{staticClass:"text-wrap"},[a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text4.title")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text4.tip1")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text4.tip2")))])])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("5.")]),a("div",{staticClass:"text-wrap"},[a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text5.title")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text5.tip1")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text5.tip2")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text5.tip3")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text5.tip4")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text5.tip5")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text5.tip6")))])])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("6.")]),a("div",{staticClass:"text-wrap"},[a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text6.title")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text6.tip1")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("modal.text6.tip2")))])])])])])])])]),a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.fairShow,expression:"fairShow"}],staticClass:"modal-mask"},[a("div",{staticClass:"pub-border-wrapper"},[a("div",{staticClass:"overflow-modal"},[a("div",{staticClass:"title"},[t._v(t._s(t.$t("fair.title")))]),a("i",{staticClass:"close-icon",on:{click:t.closeFair}}),a("div",{staticClass:"game-modal"},[a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("1.")]),a("div",{staticClass:"text-wrap"},[a("p",{staticClass:"text"},[t._v(t._s(t.$t("fair.order1.text1")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("fair.order1.text2")))]),a("p",{staticClass:"text"},[t._v(t._s(t.$t("fair.order1.text3")))]),a("p",{staticClass:"text",domProps:{innerHTML:t._s(t.$t("fair.order1.text4"))}}),a("p",{staticClass:"text",domProps:{innerHTML:t._s(t.$t("fair.order1.text5"))}})])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("2.")]),a("div",{staticClass:"text-wrap"},[a("p",{staticClass:"text"},[t._v(t._s(t.$t("fair.order2.text1")))]),a("p",{staticClass:"text",domProps:{innerHTML:t._s(t.$t("fair.order2.text2"))}})])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("3.")]),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("fair.order3")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("4.")]),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("fair.order4")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("5.")]),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("fair.order5")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"},[t._v("6.")]),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("fair.order6")))])])])])])])]),a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.countShow,expression:"countShow"}],staticClass:"modal-mask"},[a("div",{staticClass:"pub-border-wrapper"},[a("div",{staticClass:"overflow-modal"},[a("div",{staticClass:"title"},[t._v(t._s(t.$t("money.title")))]),a("i",{staticClass:"close-icon",on:{click:t.closeCount}}),a("div",{staticClass:"game-modal"},[a("div",{staticClass:"list-item"},[a("pre",{staticClass:"pre-item"},[t._v(t._s(t.$t("money.content")))])])])])])])]),a("transition",{attrs:{name:"fade"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.gtShow,expression:"gtShow"}],staticClass:"modal-mask"},[a("div",{staticClass:"pub-border-wrapper"},[a("div",{staticClass:"overflow-modal"},[a("div",{staticClass:"title"},[t._v(t._s(t.$t("gt.title")))]),a("i",{staticClass:"close-icon",on:{click:t.closeGt}}),a("div",{staticClass:"game-modal"},[a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"}),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("gt.text1")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"}),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("gt.text2")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"}),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("gt.text3")))])]),a("div",{staticClass:"list-item"},[a("span",{staticClass:"order"}),a("p",{staticClass:"item-text"},[t._v(t._s(t.$t("gt.text4")))])])])])])])])],1)},Bt=[],It={name:"gameModal",props:{},data:function(){return{modalShow:!1,fairShow:!1,countShow:!1,gtShow:!1}},methods:{closeMdoal:function(){this.modalShow=!1},closeFair:function(){this.fairShow=!1},closeCount:function(){this.countShow=!1},closeGt:function(){this.gtShow=!1}},created:function(){}},Pt=It,Nt=(a("924f"),Object(g["a"])(Pt,Gt,Bt,!1,null,null,null));Nt.options.__file="modal.vue";var Mt=Nt.exports;Mt.install=function(t,e){var a,n=t.extend(Mt);t.prototype.$showRule=function(){a&&(document.body.removeChild(a.$el),a=null),a=new n({el:document.createElement("div"),computed:{$store:function(){return e}},data:function(){return{modalShow:!0}},i18n:et["a"]}),document.body.appendChild(a.$el)},t.prototype.$showFair=function(){a&&(document.body.removeChild(a.$el),a=null),a=new n({el:document.createElement("div"),computed:{$store:function(){return e}},data:function(){return{fairShow:!0}},i18n:et["a"]}),document.body.appendChild(a.$el)},t.prototype.$showCount=function(){a&&(document.body.removeChild(a.$el),a=null),a=new n({el:document.createElement("div"),computed:{$store:function(){return e}},data:function(){return{countShow:!0}},i18n:et["a"]}),document.body.appendChild(a.$el)},t.prototype.$showGt=function(){a&&(document.body.removeChild(a.$el),a=null),a=new n({el:document.createElement("div"),computed:{$store:function(){return e}},data:function(){return{gtShow:!0}},i18n:et["a"]}),document.body.appendChild(a.$el)}};var Rt=Mt,Lt=a("4eb5"),jt=a.n(Lt),Dt=a("5c7d"),Ut=a("4a35"),Yt=a("ed66"),zt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"msgbox-fade"}},[t.visible?a("div",{staticClass:"pub-modal"},[a("div",{staticClass:"mask"}),a("div",{staticClass:"modal validate-modal"},[a("i",{staticClass:"close-icon",on:{click:function(e){t.visible=!1}}}),a("div",{staticClass:"validate-title"},[a("span",[t._v(t._s(t.resultData.game_id))])]),a("div",{staticClass:"content"},[a("div",{staticClass:"validate-poker-wrapper"},[a("section",{staticClass:"player"},[a("h3",{staticClass:"result"},[t._v("\n "+t._s(t.$t("table.userState[0]"))+"\n "),a("span",[t._v(t._s(t.playerPoint))])]),a("ul",{staticClass:"poker-list left"},t._l(t.myPokerClass,function(t,e){return a("li",{key:e,staticClass:"poker-item",class:[t,0===e?"left-last":""]})}))]),a("section",{staticClass:"banker"},[a("h3",{staticClass:"result"},[t._v("\n "+t._s(t.$t("table.userState[1]"))+"\n "),a("span",[t._v(t._s(t.bankerPoint))])]),a("ul",{staticClass:"poker-list right"},t._l(t.bankerPokerClass,function(t,e){return a("li",{key:e,staticClass:"poker-item",class:[t,2===e?"right-last":""]})}))]),a("div",{staticClass:"validate-result"},[a("span",{staticClass:"text"},[t._v(t._s(t.$t("table.resultTitle")))]),a("ul",{staticClass:"result-list"},[a("li",{staticClass:"result-item"},[t._v(t._s(t.$t("table.winState["+t.win+"]")))]),t.playerPair?a("li",{staticClass:"result-item"},[t._v(t._s(t.$t("table.winState[3]")))]):t._e(),t.bankerPair?a("li",{staticClass:"result-item"},[t._v(t._s(t.$t("table.winState[4]")))]):t._e()])])]),a("div",{staticClass:"validate-fair-warpper"},[a("header",[a("p",{staticClass:"fair-text"},[t._v(t._s(t.$t("table.fairTitle")))]),a("i",{staticClass:"icon-question",on:{click:t.$showFair}})]),a("section",{staticClass:"fair-main"},[a("nav",{staticClass:"fair-nav"},[a("div",{staticClass:"item-1"},[t._v(t._s(t.$t("table.fairtab1")))]),a("div",{staticClass:"item-2"},[t._v(t._s(t.$t("table.fairtab2")))]),a("div",{staticClass:"item-3"},[t._v(t._s(t.$t("table.fairtab3")))])]),a("ul",{staticClass:"fair-list"},t._l(t.fairList,function(e,n){return a("li",{key:n,staticClass:"fair-item"},[a("div",{staticClass:"item-1"},[t._v(t._s(t.$t("table.userState["+e.state+"]"))+" "+t._s(e.index))]),a("div",{staticClass:"item-2"},[a("a",{staticClass:"link",attrs:{target:"_blank",href:"https://eospark.com/block/"+e.blockNum},domProps:{innerHTML:t._s(e.parseHtml)}})]),a("div",{staticClass:"item-3"},[a("a",{staticClass:"link",attrs:{target:"_blank",href:"https://eospark.com/block/"+e.blockNum}},[t._v(t._s(e.blockNum))])])])}))])])])])]):t._e()])},Wt=[],Zt=(a("1c4c"),a("a481"),{name:"validatePopup",data:function(){return{myPokerClass:[],bankerPokerClass:[],fairList:[],playerPoint:0,bankerPoint:0,win:0,playerPair:!1,bankerPair:!1,blockhtml:""}},computed:{},methods:{parseBlockId:function(t){var e=t.blockId,a=t.poker;e=encodeURIComponent(e);var n=["a","b","c","d","e"],i="".concat((a-1)%13+1);i=parseInt(i)>=10?n[parseInt(i)-10]:i;var s="".concat(Math.floor(a/13)),o=e.length,r=0,c=[];while(o>=0){var l=e.charAt(o);!1!==/[0-9a-e]/.test(l)?(0===r&&l===i?(c.push(o),r=1):1===r&&l===s&&(c.push(o),r=2,o=-1),o--):o--}var u=e,d=c.map(function(t){return e.charAt(t)}),h=["!","@"];c.forEach(function(t,e){u=u.slice(0,t)+h[e]+u.slice(t+1)});var p=26,m=u.length,f=u.slice(m-p),b="...".concat(f,"");return h.forEach(function(t,e){b=b.replace(t,''.concat(d[e],""))}),b}},mounted:function(){var t=this,e=this.resultData.reveal_info,a=e.playerPoint,n=e.bankerPoint,i=e.win,s=e.playerPair,o=e.bankerPair,r=e.blockInfo,c=e.revealBlockNum,l=Array.from(e.player);l.reverse().forEach(function(e,a){t.myPokerClass[a]="poker-".concat(Object(u["e"])(e),"-").concat(Object(u["f"])(e))}),e.banker.forEach(function(e,a){t.bankerPokerClass[a]="poker-".concat(Object(u["e"])(e),"-").concat(Object(u["f"])(e))}),this.playerPoint=a,this.bankerPoint=n,this.win=i,this.playerPair=s,this.bankerPair=o;for(var d=0,h=Math.max(r.player.length,r.banker.length);d