var _0xee46=["language","userLanguage","null","","prepend","after"," > div:nth-child(",")","command","auth","game_status","cash_out","error","broadcast","last_win","waiting","started","update","busted","chips","chat","play","finish","cancel","mute","top_winners","uid","cashin","amount","cashout","val",".game-amount","toFixed",".cashout-amount","∞","im_in_game","name","push","players","length","sort","splice","remove",".usid-","<div class="c-yellow usr-row usid-","" data="",""><div class="col col-1">","</div><div class="col col-2">-</div><div class="col col-3">","</div><div class="col col-5">-</div><div class="clear"></div></div>",":visible","is","#desktop-right-panels","children","#desktop-users","#mobile-users",".history-container .table-body .crash-row","current","html",".h-col-2","first",".h-col-3","won",".h-col-4","winners","<div class="c-green usr-row usid-","</div><div class="col col-2">","</div><div class="col col-3">","</div><div class="col col-5">","</div><div class="clear"></div></div>","photo","currency","admin","default_amount","photo_image","onload","src","attr",".profile_photo","onerror",".user-name",".chips-amount","lobby_screen",".top_left_chips","desktop","mobile","game_screen","status","time","setWaiting","setPlaying","setBusted","maximum_text","crash_top_winners","data","i","winner_text"," @","loser_text","other_text",".chat-container",".users-list-container",".history-container .table-body","chats","<div class="chat-row"><div><span>","</span></div><div class="txt">","text","</div></div>","<a href="javascript:;
" class="mute-user-button" data="","" style="text-decoration: none;
text-align: center;
display:inline-block;
background: red;
color: #fff;
font-weight: bold;
width: 16px;
height: 16px;
border-radius: 8px;
padding: 2px;
margin: 4px;
">x</a><span style="color: #000;
">
","
</span>","<div class="chat-row chat-uid-",""><div><span>","</span></div><div class="txt" style="color: red;
font-size: 14px;
">","append","scrollTop","scrollHeight","prop","crashes","crash","<div class="crash-row"><div class="col bold h-col-1 ","c-green","c-red","">","</div><div class="col h-col-2">-</div><div class="col h-col-3">-</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">","md5","</a></div><div class="col h-col-6"><a href="javascript:;
" class="show-code">","hash","</a></div><div class="clear"></div></div>",".crash-","<div class="crash-row crash-",""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">-</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">","</a></div><div class="col h-col-6">-</div><div class="clear"></div></div>","autoplay","join",",","split",,"-",""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">","</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">"," .h-col-3","last","each",".users-list-container .usr-row","addClass",".users-list-container .c-yellow","c-yellow","removeClass"," .h-col-1","<a href="javascript:;
" class="show-code">","</a>"," .h-col-6",".chat-container .chat-row","height",".chat-panel .container",".chat-uid-","message","{
name
}
","replace","last_winner","{
amount
}
","#last_winner","css","show","animate","shift","start","click","unbind",".mute-user-button","</span>","parent",".txt","find","<font style='font-size:20px;
'><font style='font-weight: bold;
'>","</font> (",")<br>","</font>","warning","#DD6B55","okey",".show-code","hide",".screen","#",".background","width","loading_screen","set_game","load","getTime","setTime",";
expires=","toGMTString","cookie","=",";
path=/",";
"," ","charAt","substring","indexOf","lang","device","game","reload","location","fail","object","parse","result","done","post","OK","<font style='font-size:20px;
'>","/api/user/casino/language","main_disconnect",".lang_31","main_connect_again",".lang_32","landscape",".lang_46","crash_play",".lang_57","crash_rules",".lang_60","crash_fair",".lang_61","crash_exit",".lang_62","crash_betpanel",".lang_63","crash_amount",".lang_64","crash_autocashout",".lang_65","crash_placebet",".lang_66","crash_history",".lang_67","crash_chat",".lang_68","crash_players",".lang_69","crash_user",".lang_70","crash_bet",".lang_71","crash_profit",".lang_72","crash_crash",".lang_73","crash_md5",".lang_74","crash_hash",".lang_75",".lang_80","nextround_text","crash_next","busted_title","crash_busted","javascript","assets","list","image","assets/back.png","assets/button_red.png?","assets/exit.png","assets/home.png","assets/lamp-light.png","assets/lamp.png","assets/landscape.png","assets/placeholder.png","assets/screen-light.png","assets/screen.png","assets/zoomout.png","clean_name","/","total_assets",".loading_bar","#loading_indicator","url","type","sound","onloadeddata","get","substr","formatMoney","prototype","abs","$1","slice","ios","assets/sounds/",".mp3","seekTo","sound_","getElementById","readyState","currentTime","connfix","ws://","wss://","toUTCString","close","onopen","onmessage","onclose","disconnect_screen","stringify","send","token","disabled","removeAttr",".range-slide","rangeslider","cashin_amount","place-bet-cashout",".place-bet","place-bet-passive","place-bet-cancel","crash_cancel","crash_cashout","<br><span class='cashout-amount-text'>0</span>","<br><span style='font-size: 12px;
'>","crash_join_next","width: 0%;
",".status-red-bar",".status-green-bar","width: 100%;
",".status-yellow-bar","width: ","%;
","<div class="c-red usr-row usid-","error-box",".cashout-amount-box","graph","init","/api/user/casino/auth","ok","bets","address",".home_button",".refresh_button","cash_in","#play_button",".cashout-button",".game-amount-box","keyup","input",".rangeslider__handle","nextSibling","target","value","on","#chat-input-text",".chat-send","tab-active",".game-bottom .tab-container .tab-active",".history-button",".game-bottom .other-panels .user-container",".game-bottom .chat-panel",".game-bottom .other-panels .history-container",".game-bottom .other-panels",".chat-button",".players-button",".user-container .table-body",".make-double","resize","ready","start_time","started_time","time_passed","current_amount","texts","Max profit: {
amount
}
BTC","Winner bonus: {
amount
}
BTC","Loser bonus: {
amount
}
BTC","Next round in {
time
}
s","Busted","warning_text","busted_amount","busted_text","time_part","amount_part","graph_part","canvas_size","coors","dark_style","setLanguage","maximum","winner","loser","nextround","setAmounts","setWarning","canvas","context","2d","getContext","rtimer","render","requestAnimationFrame","devicePixelRatio","webkitBackingStorePixelRatio","mozBackingStorePixelRatio","msBackingStorePixelRatio","oBackingStorePixelRatio","backingStorePixelRatio","style","px","scale","clearRect","draw","origin","info","profit","axis","drawAxis","drawMaximum","drawAxisLabels","drawWaiting","drawGraph","drawAmount","price",".cashout-amount-text","drawBusted","drawWarning","lineWidth","strokeStyle","#b0b3c1","#7f7f7f","beginPath","x","moveTo","y","lineTo","stroke","closePath","fillStyle","#555","textAlign","left","font","px Barlow","y1","fillText","#69ca5e","y2","#e27474","y3","#6ca7d2","y4","0.0","#ccc","center","{
time
}
","#fff","#000","ceil","ty","ly","right","pow","tx","th","lx","#408609","#c3b407","black","@ ","red","line1","line2","rgba(0,0,0,0.4)","rect","fill","by","bh","#graph-container","#graph",".game-controls","calc(100% - ","px)",".game-bottom"];
var userLang=navigator[_0xee46[0]]|| navigator[_0xee46[1]],language,game_assets,user_data= new Object,game_data= new Object({
status:_0xee46[2],cashin:!1,amount:0,cashout:0,winners:[],players:[],autoplay:!1
}
),top_winners=[],last_winners=[],last_winners_bussy=!1,screen_size= new Object,socket_connection,active_screen=_0xee46[3],mute_audios=!1,last_screen_type=_0xee46[3];
if(void(0)=== debug_level){
var debug_level=0
};
insertAtIndex= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
0== _0x2e5fxf?$(_0x2e5fx10)[_0xee46[4]](_0x2e5fx11):$(_0x2e5fx10+ _0xee46[6]+ _0x2e5fxf+ _0xee46[7])[_0xee46[5]](_0x2e5fx11)
}
,data_from_socket= function(_0x2e5fxf){
var _0x2e5fx10=null!= _0x2e5fxf[_0xee46[8]]?_0x2e5fxf[_0xee46[8]]:_0xee46[3];
_0xee46[9]== _0x2e5fx10&& game_auth(_0x2e5fxf),_0xee46[10]== _0x2e5fx10&& game_status(_0x2e5fxf),_0xee46[11]== _0x2e5fx10&& game_cash_out(_0x2e5fxf),_0xee46[12]== _0x2e5fx10&& game_error(_0x2e5fxf),_0xee46[13]== _0x2e5fx10&& game_broadcast(_0x2e5fxf),_0xee46[14]== _0x2e5fx10&& game_last_win(_0x2e5fxf),_0xee46[15]== _0x2e5fx10&& game_waiting(_0x2e5fxf),_0xee46[16]== _0x2e5fx10&& game_started(_0x2e5fxf),_0xee46[17]== _0x2e5fx10&& game_update(_0x2e5fxf),_0xee46[18]== _0x2e5fx10&& game_busted(_0x2e5fxf),_0xee46[19]== _0x2e5fx10&& game_chips(_0x2e5fxf),_0xee46[20]== _0x2e5fx10&& game_chat(_0x2e5fxf),_0xee46[21]== _0x2e5fx10&& game_play(_0x2e5fxf),_0xee46[22]== _0x2e5fx10&& game_finish(_0x2e5fxf),_0xee46[23]== _0x2e5fx10&& game_cancel(_0x2e5fxf),_0xee46[24]== _0x2e5fx10&& game_mute(_0x2e5fxf),_0xee46[25]== _0x2e5fx10&& game_top_winners(_0x2e5fxf)
}
,game_play= function(_0x2e5fxf){
if(user_data[_0xee46[26]]== _0x2e5fxf[_0xee46[26]]&& (game_data[_0xee46[27]]= !0,game_data[_0xee46[28]]= _0x2e5fxf[_0xee46[28]],game_data[_0xee46[29]]= _0x2e5fxf[_0xee46[29]],$(_0xee46[31])[_0xee46[30]](chip_format_no_symbol(game_data[_0xee46[28]])),$(_0xee46[33])[_0xee46[30]]((game_data[_0xee46[29]]/ 100)[_0xee46[32]](2)),1e6== game_data[_0xee46[29]]&& $(_0xee46[33])[_0xee46[30]](_0xee46[34]),update_button(),gameCanvas[_0xee46[35]]= !0),game_data[_0xee46[38]][_0xee46[37]]({
uid:_0x2e5fxf[_0xee46[26]],amount:_0x2e5fxf[_0xee46[28]],name:_0x2e5fxf[_0xee46[36]],cashout:_0x2e5fxf[_0xee46[29]]
}
),game_data[_0xee46[38]][_0xee46[39]]> MAX_USER_CNT){
game_data[_0xee46[38]]= game_data[_0xee46[38]][_0xee46[40]](compareByAmount);
var _0x2e5fx10=game_data[_0xee46[38]][_0xee46[41]](MAX_USER_CNT);
for(i in _0x2e5fx10){
$(_0xee46[43]+ _0x2e5fx10[i][_0xee46[26]])[_0xee46[42]]()
}
};
prepare_users_stats();
var _0x2e5fx11=_0xee46[44]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[45]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[46]+ _0x2e5fxf[_0xee46[36]]+ _0xee46[47]+ chip_format_no_symbol(_0x2e5fxf[_0xee46[28]])+ _0xee46[48],_0x2e5fx12=game_data[_0xee46[38]][_0xee46[40]](compareByAmount);
for(i in _0x2e5fx12){
if(_0x2e5fx12[i][_0xee46[26]]== _0x2e5fxf[_0xee46[26]]){
var _0x2e5fx13=i;
$(_0xee46[51])[_0xee46[50]](_0xee46[49])?_0x2e5fx13> $(_0xee46[53])[_0xee46[52]]()[_0xee46[39]]?prepare_user_list():insertAtIndex(_0x2e5fx13,_0xee46[53],_0x2e5fx11):_0x2e5fx13> $(_0xee46[54])[_0xee46[52]]()[_0xee46[39]]?prepare_user_list():insertAtIndex(_0x2e5fx13,_0xee46[54],_0x2e5fx11);
break
}
}
}
,game_finish= function(_0x2e5fxf){
user_data[_0xee46[26]]== _0x2e5fxf[_0xee46[26]]&& (game_data[_0xee46[27]]= !1,gameCanvas[_0xee46[35]]= !1,update_button(),0< $(_0xee46[55])[_0xee46[39]]&& ($(_0xee46[55])[_0xee46[59]]()[_0xee46[52]](_0xee46[58])[_0xee46[57]]((_0x2e5fxf[_0xee46[56]]/ 100)[_0xee46[32]](2)),$(_0xee46[55])[_0xee46[59]]()[_0xee46[52]](_0xee46[60])[_0xee46[57]](chip_format_no_symbol(_0x2e5fxf[_0xee46[28]])),$(_0xee46[55])[_0xee46[59]]()[_0xee46[52]](_0xee46[62])[_0xee46[57]](chip_format_no_symbol(_0x2e5fxf[_0xee46[61]]- _0x2e5fxf[_0xee46[28]]))));
var _0x2e5fx10=!1;
for(i in game_data[_0xee46[38]]){
if(game_data[_0xee46[38]][i][_0xee46[26]]== _0x2e5fxf[_0xee46[26]]){
_0x2e5fx10= !0,game_data[_0xee46[38]][_0xee46[41]](i,1);
break
}
};
if(!_0x2e5fx10){
return !1
};
game_data[_0xee46[63]][_0xee46[37]]({
uid:_0x2e5fxf[_0xee46[26]],amount:_0x2e5fxf[_0xee46[28]],cashout:_0x2e5fxf[_0xee46[56]],won:_0x2e5fxf[_0xee46[61]],name:_0x2e5fxf[_0xee46[36]]
}
),prepare_users_stats(),$(_0xee46[43]+ _0x2e5fxf[_0xee46[26]])[_0xee46[42]]();
var _0x2e5fx11=_0xee46[64]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[45]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[46]+ _0x2e5fxf[_0xee46[36]]+ _0xee46[65]+ (_0x2e5fxf[_0xee46[56]]/ 100)[_0xee46[32]](2)+ _0xee46[66]+ chip_format_no_symbol(_0x2e5fxf[_0xee46[28]])+ _0xee46[67]+ chip_format_no_symbol(_0x2e5fxf[_0xee46[61]]- _0x2e5fxf[_0xee46[28]])+ _0xee46[68],_0x2e5fx12=game_data[_0xee46[63]][_0xee46[40]](compareByCashout);
for(i in _0x2e5fx12){
if(_0x2e5fx12[i][_0xee46[26]]== _0x2e5fxf[_0xee46[26]]){
var _0x2e5fx13=game_data[_0xee46[38]][_0xee46[39]]+ i;
$(_0xee46[51])[_0xee46[50]](_0xee46[49])?_0x2e5fx13> $(_0xee46[53])[_0xee46[52]]()[_0xee46[39]]?prepare_user_list():insertAtIndex(_0x2e5fx13,_0xee46[53],_0x2e5fx11):_0x2e5fx13> $(_0xee46[54])[_0xee46[52]]()[_0xee46[39]]?prepare_user_list():insertAtIndex(_0x2e5fx13,_0xee46[54],_0x2e5fx11);
break
}
}
}
,game_cancel= function(_0x2e5fxf){
for(i in user_data[_0xee46[26]]== _0x2e5fxf[_0xee46[26]]&& (game_data[_0xee46[27]]= !1,gameCanvas[_0xee46[35]]= !1,update_button()),game_data[_0xee46[38]]){
if(game_data[_0xee46[38]][i][_0xee46[26]]== _0x2e5fxf[_0xee46[26]]){
game_data[_0xee46[38]][_0xee46[41]](i,1);
break
}
};
prepare_users_stats(),$(_0xee46[43]+ _0x2e5fxf[_0xee46[26]])[_0xee46[42]]()
}
,game_auth= function(_0x2e5fxf){
user_data[_0xee46[26]]= _0x2e5fxf[_0xee46[26]],user_data[_0xee46[36]]= _0x2e5fxf[_0xee46[36]],user_data[_0xee46[69]]= _0x2e5fxf[_0xee46[69]],user_data[_0xee46[19]]= _0x2e5fxf[_0xee46[19]],user_data[_0xee46[70]]= _0x2e5fxf[_0xee46[70]],user_data[_0xee46[71]]= null!= _0x2e5fxf[_0xee46[71]]&& _0x2e5fxf[_0xee46[71]],$(_0xee46[31])[_0xee46[30]](chip_format_no_symbol(_0x2e5fxf[_0xee46[72]])),_0xee46[3]!= user_data[_0xee46[69]]&& (user_data[_0xee46[73]]= new Image,user_data[_0xee46[73]][_0xee46[74]]= function(){
$(_0xee46[77])[_0xee46[76]](_0xee46[75],user_data[_0xee46[69]])
}
,user_data[_0xee46[73]][_0xee46[78]]= function(){
}
,user_data[_0xee46[73]][_0xee46[75]]= user_data[_0xee46[69]]),$(_0xee46[79])[_0xee46[57]](user_data[_0xee46[36]]),$(_0xee46[80])[_0xee46[57]](short_chip_format(user_data[_0xee46[19]])),change_screen(_0xee46[81])
}
,game_status= function(_0x2e5fxf){
if(null!= _0x2e5fxf[_0xee46[19]]&& (user_data[_0xee46[19]]= _0x2e5fxf[_0xee46[19]],$(_0xee46[82])[_0xee46[57]](short_chip_format(user_data[_0xee46[19]]))),gameCanvas[_0xee46[35]]= !1,last_screen_type= $(_0xee46[51])[_0xee46[50]](_0xee46[49])?_0xee46[83]:_0xee46[84],fadein_screen(_0xee46[85]),resize_screen(),_0xee46[15]== _0x2e5fxf[_0xee46[86]]){
game_data[_0xee46[86]]= _0xee46[15],gameCanvas[_0xee46[88]](_0x2e5fxf[_0xee46[87]])
}
else {
if(_0xee46[16]== _0x2e5fxf[_0xee46[86]]){
game_data[_0xee46[86]]= _0xee46[16],gameCanvas[_0xee46[89]](_0x2e5fxf[_0xee46[87]])
}
else {
if(_0xee46[18]== _0x2e5fxf[_0xee46[86]]){
game_data[_0xee46[86]]= _0xee46[18];
var _0x2e5fx10=(_0x2e5fxf[_0xee46[28]]/ 100)[_0xee46[32]](2);
gameCanvas[_0xee46[90]](_0x2e5fx10,_0x2e5fxf[_0xee46[87]])
}
}
};
if(_0x2e5fxf[_0xee46[25]]){
for(i in gameCanvas[_0xee46[91]]= language[_0xee46[93]][_0xee46[92]],top_winners= _0x2e5fxf[_0xee46[25]]){
var _0x2e5fx11=(top_winners[i][_0xee46[29]]/ 100)[_0xee46[32]](2);
0== top_winners[i][_0xee46[94]]&& (gameCanvas[_0xee46[95]]= short_chip_format(top_winners[i][_0xee46[61]])+ _0xee46[96]+ _0x2e5fx11+ _0xee46[96]+ top_winners[i][_0xee46[36]]),1== top_winners[i][_0xee46[94]]&& (gameCanvas[_0xee46[97]]= short_chip_format(top_winners[i][_0xee46[61]])+ _0xee46[96]+ _0x2e5fx11+ _0xee46[96]+ top_winners[i][_0xee46[36]]),2== top_winners[i][_0xee46[94]]&& (gameCanvas[_0xee46[98]]= short_chip_format(top_winners[i][_0xee46[61]])+ _0xee46[96]+ _0x2e5fx11+ _0xee46[96]+ top_winners[i][_0xee46[36]])
}
};
$(_0xee46[99])[_0xee46[57]](_0xee46[3]),$(_0xee46[100])[_0xee46[57]](_0xee46[3]),$(_0xee46[101])[_0xee46[57]](_0xee46[3]);
var _0x2e5fx12=_0x2e5fxf[_0xee46[102]][_0xee46[40]](compareByTime);
for(i in _0x2e5fx12){
var _0x2e5fx13=_0xee46[103]+ (_0x2e5fx16= _0x2e5fx12[i])[_0xee46[36]]+ _0xee46[104]+ _0x2e5fx16[_0xee46[105]]+ _0xee46[106];
if(null!= _0x2e5fx16[_0xee46[26]]&& null!= _0x2e5fx16[_0xee46[71]]){
var _0x2e5fx14=user_data[_0xee46[71]]?_0xee46[107]+ _0x2e5fx16[_0xee46[26]]+ _0xee46[108]+ _0x2e5fx16[_0xee46[26]]+ _0xee46[109]:_0xee46[3];
_0x2e5fx13= _0xee46[110]+ _0x2e5fx16[_0xee46[26]]+ _0xee46[111]+ _0x2e5fx14+ _0x2e5fx16[_0xee46[36]]+ _0xee46[104]+ _0x2e5fx16[_0xee46[105]]+ _0xee46[106],1== _0x2e5fx16[_0xee46[71]]&& (_0x2e5fx13= _0xee46[110]+ _0x2e5fx16[_0xee46[26]]+ _0xee46[111]+ _0x2e5fx14+ _0x2e5fx16[_0xee46[36]]+ _0xee46[112]+ _0x2e5fx16[_0xee46[105]]+ _0xee46[106])
};
$(_0xee46[99])[_0xee46[113]](_0x2e5fx13)
};
$(_0xee46[99])[_0xee46[116]](_0xee46[114],$(_0xee46[99])[_0xee46[116]](_0xee46[115])),init_mute_buttons();
var _0x2e5fx15=_0x2e5fxf[_0xee46[117]][_0xee46[40]](compareByStart);
for(i in _0x2e5fx15){
var _0x2e5fx16,_0x2e5fx17=((_0x2e5fx16= _0x2e5fx15[i])[_0xee46[118]]/ 100)[_0xee46[32]](2),_0x2e5fx18=_0xee46[119]+ (1.8<= _0x2e5fx17?_0xee46[120]:_0xee46[121])+ _0xee46[122]+ _0x2e5fx17+ _0xee46[123]+ _0x2e5fx16[_0xee46[124]]+ _0xee46[125]+ _0x2e5fx16[_0xee46[126]]+ _0xee46[127];
$(_0xee46[101])[_0xee46[4]](_0x2e5fx18)
};
if(_0xee46[16]== _0x2e5fxf[_0xee46[86]]){
if(0== $(_0xee46[128]+ _0x2e5fxf[_0xee46[124]])[_0xee46[39]]){
_0x2e5fx18= _0xee46[129]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[130]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[131];
$(_0xee46[101])[_0xee46[4]](_0x2e5fx18)
}
}
else {
if(_0xee46[15]== _0x2e5fxf[_0xee46[86]]&& null!= _0x2e5fxf[_0xee46[124]]&& 0== $(_0xee46[128]+ _0x2e5fxf[_0xee46[124]])[_0xee46[39]]){
_0x2e5fx18= _0xee46[129]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[130]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[131];
$(_0xee46[101])[_0xee46[4]](_0x2e5fx18)
}
};
if(show_codes(),update_button(),null!= _0x2e5fxf[_0xee46[38]]&& (game_data[_0xee46[38]]= _0x2e5fxf[_0xee46[38]]),null!= _0x2e5fxf[_0xee46[63]]&& (game_data[_0xee46[63]]= _0x2e5fxf[_0xee46[63]]),game_data[_0xee46[38]][_0xee46[39]]+ game_data[_0xee46[63]][_0xee46[39]]> MAX_USER_CNT){
var _0x2e5fx19=[];
for(i in game_data[_0xee46[38]]){
_0x2e5fx19[_0xee46[37]](game_data[_0xee46[38]][i])
};
for(i in game_data[_0xee46[63]]){
_0x2e5fx19[_0xee46[37]](game_data[_0xee46[63]][i])
};
(_0x2e5fx19= _0x2e5fx19[_0xee46[40]](compareByAmount))[_0xee46[41]](MAX_USER_CNT);
var _0x2e5fx1a=[],_0x2e5fx1b=[];
for(i in game_data[_0xee46[38]]){
for(j in _0x2e5fx19){
if(_0x2e5fx19[j][_0xee46[26]]== game_data[_0xee46[38]][i][_0xee46[26]]){
_0x2e5fx1a[_0xee46[37]](game_data[_0xee46[38]][i]);
break
}
}
};
for(i in game_data[_0xee46[63]]){
for(j in _0x2e5fx19){
if(_0x2e5fx19[j][_0xee46[26]]== game_data[_0xee46[63]][i][_0xee46[26]]){
_0x2e5fx1b[_0xee46[37]](game_data[_0xee46[63]][i]);
break
}
}
};
game_data[_0xee46[38]]= _0x2e5fx1a,game_data[_0xee46[63]]= _0x2e5fx1b
};
prepare_user_list()
}
,game_waiting= function(_0x2e5fxf){
if(game_data[_0xee46[86]]= _0xee46[15],gameCanvas[_0xee46[88]](_0x2e5fxf[_0xee46[87]]),update_button(),game_data[_0xee46[38]]= [],game_data[_0xee46[63]]= [],prepare_user_list(),game_data[_0xee46[132]]){
var _0x2e5fx10=$(_0xee46[33])[_0xee46[30]]();
_0x2e5fx10= _0xee46[34]== _0x2e5fx10?1e6:(_0x2e5fx10= parseFloat($(_0xee46[33])[_0xee46[30]]()),parseInt(100* _0x2e5fx10));
var _0x2e5fx11=parseInt($(_0xee46[31])[_0xee46[30]]()[_0xee46[135]](_0xee46[136])[_0xee46[133]](_0xee46[3])[_0xee46[135]](_0xee46[134])[_0xee46[133]](_0xee46[3]));
socket_send({
command:_0xee46[21],amount:100* _0x2e5fx11,cashout:_0x2e5fx10
}
)
};
if(null!= _0x2e5fxf[_0xee46[124]]&& 0== $(_0xee46[128]+ _0x2e5fxf[_0xee46[124]])[_0xee46[39]]){
var _0x2e5fx12=_0xee46[129]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[130]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[131];
$(_0xee46[101])[_0xee46[4]](_0x2e5fx12)
};
show_codes(),game_data[_0xee46[132]]= !1,setTimeout(function(){
update_button()
}
,500)
}
,game_started= function(_0x2e5fxf){
game_data[_0xee46[132]]= !1,game_data[_0xee46[86]]= _0xee46[16],gameCanvas[_0xee46[89]](0),update_button();
var _0x2e5fx10=_0xee46[137];
if(gameCanvas[_0xee46[35]]&& (_0x2e5fx10= chip_format_no_symbol(game_data[_0xee46[28]])),0== $(_0xee46[128]+ _0x2e5fxf[_0xee46[124]])[_0xee46[39]]){
var _0x2e5fx11=_0xee46[129]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[138]+ _0x2e5fx10+ _0xee46[139]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[131];
$(_0xee46[101])[_0xee46[4]](_0x2e5fx11)
}
else {
$(_0xee46[128]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[140])[_0xee46[57]](_0x2e5fx10)
};
show_codes(),150< $(_0xee46[55])[_0xee46[39]]&& $(_0xee46[55])[_0xee46[141]]()[_0xee46[42]](),game_data[_0xee46[38]]= _0x2e5fxf[_0xee46[38]],game_data[_0xee46[38]][_0xee46[39]]> MAX_USER_CNT&& (game_data[_0xee46[38]]= game_data[_0xee46[38]][_0xee46[40]](compareByAmount),game_data[_0xee46[38]][_0xee46[41]](MAX_USER_CNT)),$(_0xee46[143])[_0xee46[142]](function(_0x2e5fxf){
var _0x2e5fx10=$(this)[_0xee46[76]](_0xee46[93]),_0x2e5fx11=!1;
for(next_index in game_data[_0xee46[38]]){
if(game_data[_0xee46[38]][next_index][_0xee46[26]]== _0x2e5fx10){
_0x2e5fx11= !0;
break
}
};
_0x2e5fx11|| $(_0xee46[43]+ _0x2e5fx10)[_0xee46[42]]()
}
),prepare_users_stats()
}
,game_update= function(_0x2e5fxf){
game_data[_0xee46[86]]= _0xee46[16],gameCanvas[_0xee46[89]](_0x2e5fxf[_0xee46[87]])
}
,game_busted= function(_0x2e5fxf){
game_data[_0xee46[86]]= _0xee46[18],game_data[_0xee46[27]]= !1,gameCanvas[_0xee46[35]]= !1;
var _0x2e5fx10=(_0x2e5fxf[_0xee46[28]]/ 100)[_0xee46[32]](2);
gameCanvas[_0xee46[90]](_0x2e5fx10,_0x2e5fxf[_0xee46[87]]),update_button(),prepare_users_stats(),$(_0xee46[145])[_0xee46[144]](_0xee46[121]),$(_0xee46[145])[_0xee46[147]](_0xee46[146]);
var _0x2e5fx11=1.8<= _0x2e5fx10?_0xee46[120]:_0xee46[121];
$(_0xee46[128]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[148])[_0xee46[57]](_0x2e5fx10),$(_0xee46[128]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[148])[_0xee46[144]](_0x2e5fx11),$(_0xee46[128]+ _0x2e5fxf[_0xee46[124]]+ _0xee46[151])[_0xee46[57]](_0xee46[149]+ _0x2e5fxf[_0xee46[126]]+ _0xee46[150]),show_codes()
}
,game_cash_out= function(_0x2e5fxf){
null!= _0x2e5fxf[_0xee46[19]]&& (user_data[_0xee46[19]]= _0x2e5fxf[_0xee46[19]],$(_0xee46[82])[_0xee46[57]](short_chip_format(user_data[_0xee46[19]]))),fadein_screen(_0xee46[81])
}
,game_chips= function(_0x2e5fxf){
user_data[_0xee46[19]]= _0x2e5fxf[_0xee46[19]],$(_0xee46[80])[_0xee46[57]](short_chip_format(user_data[_0xee46[19]]))
}
,game_chat= function(_0x2e5fxf){
100< $(_0xee46[152])[_0xee46[39]]&& $(_0xee46[152])[0][_0xee46[42]]();
var _0x2e5fx10=_0xee46[103]+ _0x2e5fxf[_0xee46[36]]+ _0xee46[104]+ _0x2e5fxf[_0xee46[105]]+ _0xee46[106];
if(null!= _0x2e5fxf[_0xee46[26]]&& null!= _0x2e5fxf[_0xee46[71]]){
var _0x2e5fx11=user_data[_0xee46[71]]?_0xee46[107]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[108]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[109]:_0xee46[3];
_0x2e5fx10= _0xee46[110]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[111]+ _0x2e5fx11+ _0x2e5fxf[_0xee46[36]]+ _0xee46[104]+ _0x2e5fxf[_0xee46[105]]+ _0xee46[106],1== _0x2e5fxf[_0xee46[71]]&& (_0x2e5fx10= _0xee46[110]+ _0x2e5fxf[_0xee46[26]]+ _0xee46[111]+ _0x2e5fx11+ _0x2e5fxf[_0xee46[36]]+ _0xee46[112]+ _0x2e5fxf[_0xee46[105]]+ _0xee46[106])
};
var _0x2e5fx12=parseInt($(_0xee46[99])[_0xee46[116]](_0xee46[114]))+ parseInt($(_0xee46[154])[_0xee46[153]]()),_0x2e5fx1c=parseInt($(_0xee46[99])[_0xee46[116]](_0xee46[115]));
$(_0xee46[99])[_0xee46[113]](_0x2e5fx10),_0x2e5fx1c< _0x2e5fx12&& $(_0xee46[99])[_0xee46[116]](_0xee46[114],$(_0xee46[99])[_0xee46[116]](_0xee46[115])),init_mute_buttons()
}
,game_mute= function(_0x2e5fxf){
$(_0xee46[155]+ _0x2e5fxf[_0xee46[26]])[_0xee46[42]](),$(_0xee46[99])[_0xee46[116]](_0xee46[114],$(_0xee46[99])[_0xee46[116]](_0xee46[115]))
}
,game_top_winners= function(_0x2e5fxf){
for(i in gameCanvas[_0xee46[91]]= language[_0xee46[93]][_0xee46[92]],top_winners= _0x2e5fxf[_0xee46[25]]){
var _0x2e5fx10=(top_winners[i][_0xee46[29]]/ 100)[_0xee46[32]](2);
0== top_winners[i][_0xee46[94]]&& (gameCanvas[_0xee46[95]]= short_chip_format(top_winners[i][_0xee46[61]])+ _0xee46[96]+ _0x2e5fx10+ _0xee46[96]+ top_winners[i][_0xee46[36]]),1== top_winners[i][_0xee46[94]]&& (gameCanvas[_0xee46[97]]= short_chip_format(top_winners[i][_0xee46[61]])+ _0xee46[96]+ _0x2e5fx10+ _0xee46[96]+ top_winners[i][_0xee46[36]]),2== top_winners[i][_0xee46[94]]&& (gameCanvas[_0xee46[98]]= short_chip_format(top_winners[i][_0xee46[61]])+ _0xee46[96]+ _0x2e5fx10+ _0xee46[96]+ top_winners[i][_0xee46[36]])
}
}
,game_error= function(_0x2e5fxf){
var _0x2e5fx10=_0x2e5fxf[_0xee46[156]];
null!= language[_0xee46[93]][_0x2e5fx10]&& message(language[_0xee46[93]][_0x2e5fx10])
}
,game_broadcast= function(_0x2e5fxf){
message(_0x2e5fxf[_0xee46[156]])
}
,game_last_win= function(_0x2e5fxf){
if(_0xee46[85]!= active_screen){
return !1
};
if(_0x2e5fxf[_0xee46[26]]== user_data[_0xee46[26]]){
return !1
};
if(_0x2e5fxf[_0xee46[70]]!= user_data[_0xee46[70]]){
return !1
};
var _0x2e5fx10=language[_0xee46[93]][_0xee46[159]][_0xee46[158]](_0xee46[157],_0x2e5fxf[_0xee46[36]]);
_0x2e5fx10= _0x2e5fx10[_0xee46[158]](_0xee46[160],full_chip_format_currency(_0x2e5fxf[_0xee46[28]],_0x2e5fxf[_0xee46[70]])),show_last_winner(_0x2e5fx10)
}
,show_last_winner= function(_0x2e5fxf){
if(last_winners_bussy){
return last_winners[_0xee46[37]](_0x2e5fxf),!1
};
last_winners_bussy= !0,$(_0xee46[161])[_0xee46[57]](_0x2e5fxf);
$(_0xee46[161])[_0xee46[162]]({
top:-100
}
),$(_0xee46[161])[_0xee46[163]](),$(_0xee46[161])[_0xee46[164]]({
top:0
}
,500),setTimeout(function(){
$(_0xee46[161])[_0xee46[164]]({
top:-100
}
,500)
}
,2e3),setTimeout(function(){
if(last_winners_bussy= !1,0< last_winners[_0xee46[39]]){
var _0x2e5fxf=last_winners[0];
last_winners[_0xee46[165]](),show_last_winner(_0x2e5fxf)
}
}
,3e3)
}
,compareByTime= function(_0x2e5fxf,_0x2e5fx10){
return _0x2e5fxf[_0xee46[87]]> _0x2e5fx10[_0xee46[87]]?1:_0x2e5fxf[_0xee46[87]]< _0x2e5fx10[_0xee46[87]]?-1:0
}
,compareByStart= function(_0x2e5fxf,_0x2e5fx10){
return _0x2e5fxf[_0xee46[166]]> _0x2e5fx10[_0xee46[166]]?1:_0x2e5fxf[_0xee46[166]]< _0x2e5fx10[_0xee46[166]]?-1:0
}
,compareByCashout= function(_0x2e5fxf,_0x2e5fx10){
if(_0x2e5fxf[_0xee46[29]]< _0x2e5fx10[_0xee46[29]]){
return 1
};
if(_0x2e5fxf[_0xee46[29]]> _0x2e5fx10[_0xee46[29]]){
return -1
};
if(null!= _0x2e5fxf[_0xee46[28]]&& null!= _0x2e5fx10[_0xee46[28]]){
if(_0x2e5fxf[_0xee46[28]]< _0x2e5fx10[_0xee46[28]]){
return 1
};
if(_0x2e5fxf[_0xee46[28]]> _0x2e5fx10[_0xee46[28]]){
return -1
}
};
return 0
}
,compareByAmount= function(_0x2e5fxf,_0x2e5fx10){
if(_0x2e5fxf[_0xee46[28]]< _0x2e5fx10[_0xee46[28]]){
return 1
};
if(_0x2e5fxf[_0xee46[28]]> _0x2e5fx10[_0xee46[28]]){
return -1
};
if(null!= _0x2e5fxf[_0xee46[29]]&& null!= _0x2e5fx10[_0xee46[29]]){
if(_0x2e5fxf[_0xee46[29]]< _0x2e5fx10[_0xee46[29]]){
return 1
};
if(_0x2e5fxf[_0xee46[29]]> _0x2e5fx10[_0xee46[29]]){
return -1
}
};
return 0
}
,init_mute_buttons= function(){
$(_0xee46[169])[_0xee46[168]](_0xee46[167]),$(_0xee46[169])[_0xee46[167]](function(){
var _0x2e5fx10=$(this)[_0xee46[76]](_0xee46[93]),_0x2e5fxf=$(this)[_0xee46[171]]()[_0xee46[57]]()[_0xee46[135]](_0xee46[170])[1],_0x2e5fx11=$(this)[_0xee46[171]]()[_0xee46[171]]()[_0xee46[171]]()[_0xee46[173]](_0xee46[172])[_0xee46[57]]();
swal({
title:_0xee46[3],text:_0xee46[174]+ _0x2e5fxf+ _0xee46[175]+ _0x2e5fx10+ _0xee46[176]+ _0x2e5fx11+ _0xee46[177],type:_0xee46[178],showCancelButton:!0,confirmButtonColor:_0xee46[179],confirmButtonText:language[_0xee46[93]][_0xee46[180]],cancelButtonText:language[_0xee46[93]][_0xee46[23]],closeOnConfirm:!0,html:!0,allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1
}
,function(_0x2e5fxf){
_0x2e5fxf&& socket_send({
command:_0xee46[24],uid:_0x2e5fx10
}
)
}
)
}
)
}
,show_codes= function(){
$(_0xee46[181])[_0xee46[168]](_0xee46[167]),$(_0xee46[181])[_0xee46[167]](function(){
prompt(_0xee46[3],$(this)[_0xee46[57]]())
}
)
}
,change_screen= function(_0x2e5fxf){
active_screen= _0x2e5fxf,$(_0xee46[183])[_0xee46[182]](),$(_0xee46[184]+ _0x2e5fxf)[_0xee46[163]](),calculate_screen_size(),_0xee46[85]== _0x2e5fxf?$(_0xee46[185])[_0xee46[182]]():$(_0xee46[185])[_0xee46[163]]()
}
,fadein_screen= function(_0x2e5fxf){
active_screen= _0x2e5fxf,$(_0xee46[183])[_0xee46[182]](),$(_0xee46[184]+ _0x2e5fxf)[_0xee46[163]](),calculate_screen_size(),_0xee46[85]== _0x2e5fxf?$(_0xee46[185])[_0xee46[182]]():$(_0xee46[185])[_0xee46[163]]()
}
,calculate_screen_size= function(){
screen_size[_0xee46[186]]= $(window)[_0xee46[186]](),screen_size[_0xee46[153]]= $(window)[_0xee46[153]]()
}
,start_game= function(_0x2e5fxf){
setTimeout(function(){
change_screen(_0xee46[187]),language= ( new lang)[_0xee46[189]](function(){
language[_0xee46[188]](),(game_assets= new game_assets_class)[_0xee46[189]](function(){
_0x2e5fxf()
}
)
}
)
}
,1e3)
}
,createCookie= function(_0x2e5fxf,_0x2e5fx10){
var _0x2e5fx11= new Date;
_0x2e5fx11[_0xee46[191]](_0x2e5fx11[_0xee46[190]]()+ 2592e6);
var _0x2e5fx12=_0xee46[192]+ _0x2e5fx11[_0xee46[193]]();
document[_0xee46[194]]= _0x2e5fxf+ _0xee46[195]+ _0x2e5fx10+ _0x2e5fx12+ _0xee46[196]
}
,readCookie= function(_0x2e5fxf){
for(var _0x2e5fx10=_0x2e5fxf+ _0xee46[195],_0x2e5fx11=document[_0xee46[194]][_0xee46[135]](_0xee46[197]),_0x2e5fx12=0;
_0x2e5fx12< _0x2e5fx11[_0xee46[39]];
_0x2e5fx12++){
for(var _0x2e5fx1c=_0x2e5fx11[_0x2e5fx12];
_0xee46[198]== _0x2e5fx1c[_0xee46[199]](0);
){
_0x2e5fx1c= _0x2e5fx1c[_0xee46[200]](1,_0x2e5fx1c[_0xee46[39]])
};
if(0== _0x2e5fx1c[_0xee46[201]](_0x2e5fx10)){
return _0x2e5fx1c[_0xee46[200]](_0x2e5fx10[_0xee46[39]],_0x2e5fx1c[_0xee46[39]])
}
};
return null
}
,eraseCookie= function(_0x2e5fxf){
createCookie(_0x2e5fxf,_0xee46[3],-1)
}
,apiRequest= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx12){
var _0x2e5fx11=readCookie(_0xee46[0]);
null!= _0x2e5fx11&& null== _0x2e5fx10[_0xee46[0]]&& (_0x2e5fx10[_0xee46[0]]= _0x2e5fx11),_0x2e5fx10[_0xee46[202]]= userLang,_0x2e5fx10[_0xee46[203]]= DEVICE_TYPE,_0x2e5fx10[_0xee46[204]]= _0xee46[118],$[_0xee46[212]](API_URL+ _0x2e5fxf,_0x2e5fx10)[_0xee46[211]](function(_0x2e5fxf){
if(null!= _0x2e5fx12){
var _0x2e5fx10=_0xee46[208]== typeof _0x2e5fxf?_0x2e5fxf:JSON[_0xee46[209]](_0x2e5fxf),_0x2e5fx11=null!= _0x2e5fx10[_0xee46[210]]?_0x2e5fx10[_0xee46[210]]:_0xee46[2];
_0x2e5fx12(_0x2e5fx11,_0x2e5fx10)
}
}
)[_0xee46[207]](function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
top[_0xee46[206]][_0xee46[205]]()
}
)
}
,message= function(_0x2e5fxf){
var _0x2e5fx10=null!= language&& null!= language[_0xee46[93]]&& null!= language[_0xee46[93]][_0xee46[180]]?language[_0xee46[93]][_0xee46[180]]:_0xee46[213];
swal({
title:_0xee46[3],text:_0xee46[214]+ _0x2e5fxf+ _0xee46[177],confirmButtonText:_0x2e5fx10,html:!0
}
)
};
var lang=function(){
this[_0xee46[189]]= function(_0x2e5fx11){
var _0x2e5fxf= new Object;
_0x2e5fxf[_0xee46[202]]= userLang;
var _0x2e5fx10=readCookie(_0xee46[0]);
return null!= _0x2e5fx10&& (_0x2e5fxf[_0xee46[0]]= _0x2e5fx10),apiRequest(_0xee46[208]== typeof API_URIS&& null!= API_URIS[_0xee46[0]]?API_URIS[_0xee46[0]]:_0xee46[215],_0x2e5fxf,function(_0x2e5fxf,_0x2e5fx10){
null!= _0x2e5fx10[_0xee46[93]]&& (language[_0xee46[93]]= _0x2e5fx10[_0xee46[93]]),null!= _0x2e5fx11&& _0x2e5fx11()
}
),this
}
,this[_0xee46[188]]= function(){
$(_0xee46[217])[_0xee46[57]](this[_0xee46[93]][_0xee46[216]]),$(_0xee46[219])[_0xee46[57]](this[_0xee46[93]][_0xee46[218]]),$(_0xee46[221])[_0xee46[57]](this[_0xee46[93]][_0xee46[220]]),$(_0xee46[223])[_0xee46[57]](this[_0xee46[93]][_0xee46[222]]),$(_0xee46[225])[_0xee46[57]](this[_0xee46[93]][_0xee46[224]]),$(_0xee46[227])[_0xee46[57]](this[_0xee46[93]][_0xee46[226]]),$(_0xee46[229])[_0xee46[57]](this[_0xee46[93]][_0xee46[228]]),$(_0xee46[231])[_0xee46[57]](this[_0xee46[93]][_0xee46[230]]),$(_0xee46[233])[_0xee46[57]](this[_0xee46[93]][_0xee46[232]]),$(_0xee46[235])[_0xee46[57]](this[_0xee46[93]][_0xee46[234]]),$(_0xee46[237])[_0xee46[57]](this[_0xee46[93]][_0xee46[236]]),$(_0xee46[239])[_0xee46[57]](this[_0xee46[93]][_0xee46[238]]),$(_0xee46[241])[_0xee46[57]](this[_0xee46[93]][_0xee46[240]]),$(_0xee46[243])[_0xee46[57]](this[_0xee46[93]][_0xee46[242]]),$(_0xee46[245])[_0xee46[57]](this[_0xee46[93]][_0xee46[244]]),$(_0xee46[247])[_0xee46[57]](this[_0xee46[93]][_0xee46[246]]),$(_0xee46[249])[_0xee46[57]](this[_0xee46[93]][_0xee46[248]]),$(_0xee46[251])[_0xee46[57]](this[_0xee46[93]][_0xee46[250]]),$(_0xee46[253])[_0xee46[57]](this[_0xee46[93]][_0xee46[252]]),$(_0xee46[255])[_0xee46[57]](this[_0xee46[93]][_0xee46[254]]),$(_0xee46[256])[_0xee46[57]](this[_0xee46[93]][_0xee46[70]]),gameCanvas[_0xee46[257]]= this[_0xee46[93]][_0xee46[258]],gameCanvas[_0xee46[259]]= this[_0xee46[93]][_0xee46[260]],null!= this[_0xee46[93]][_0xee46[261]]&& eval(this[_0xee46[93]][_0xee46[261]])
}
}
,game_assets_class=function(){
this[_0xee46[262]]= new Object,this[_0xee46[263]]= [],this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[265]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[266]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[267]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[268]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[269]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[270]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[271]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[272]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[273]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[274]
}
),this[_0xee46[263]][_0xee46[37]]({
type:_0xee46[264],url:_0xee46[275]
}
),this[_0xee46[276]]= function(_0x2e5fxf){
return _0x2e5fxf[_0xee46[135]](_0xee46[277])[_0xee46[133]](_0xee46[3])[_0xee46[135]](_0xee46[136])[_0xee46[133]](_0xee46[3])
}
,this[_0xee46[278]]= this[_0xee46[263]][_0xee46[39]],this[_0xee46[189]]= function(_0x2e5fx10){
var _0x2e5fxf=150* (this[_0xee46[278]]- this[_0xee46[263]][_0xee46[39]])/ this[_0xee46[278]];
if($(_0xee46[279])[_0xee46[163]](),$(_0xee46[280])[_0xee46[186]](_0x2e5fxf),0< this[_0xee46[263]][_0xee46[39]]){
var _0x2e5fx11=this[_0xee46[263]][0][_0xee46[281]],_0x2e5fx12=this[_0xee46[263]][0][_0xee46[282]];
if(this[_0xee46[263]][_0xee46[165]](),_0xee46[264]== _0x2e5fx12){
var _0x2e5fx1c= new Image;
_0x2e5fx1c[_0xee46[74]]= function(){
var _0x2e5fxf=game_assets[_0xee46[276]](_0x2e5fx11);
game_assets[_0xee46[262]][_0x2e5fxf]= _0x2e5fx1c,game_assets[_0xee46[189]](_0x2e5fx10)
}
,_0x2e5fx1c[_0xee46[78]]= function(){
game_assets[_0xee46[189]](_0x2e5fx10)
}
,null!= ADDITIONAL_FILES[_0x2e5fx11]?_0x2e5fx1c[_0xee46[75]]= ADDITIONAL_FILES[_0x2e5fx11]:_0x2e5fx1c[_0xee46[75]]= GAME_FOLDER+ _0x2e5fx11
}
else {
if(_0xee46[283]== _0x2e5fx12){
var _0x2e5fx13= new Audio;
_0x2e5fx13[_0xee46[284]]= function(){
var _0x2e5fxf=game_assets[_0xee46[276]](_0x2e5fx11);
game_assets[_0xee46[262]][_0x2e5fxf]= _0x2e5fx13,game_assets[_0xee46[189]](_0x2e5fx10)
}
,_0x2e5fx13[_0xee46[78]]= function(){
game_assets[_0xee46[189]](_0x2e5fx10)
}
,_0x2e5fx13[_0xee46[75]]= GAME_FOLDER+ _0x2e5fx11
}
};
return !1
};
$(_0xee46[279])[_0xee46[182]](),_0x2e5fx10()
}
,this[_0xee46[285]]= function(_0x2e5fxf){
if(_0x2e5fxf[_0xee46[39]]< 7){
return null
};
if(_0xee46[262]!= _0x2e5fxf[_0xee46[286]](0,6)){
return null
};
var _0x2e5fx10=this[_0xee46[276]](_0x2e5fxf);
return null!= this[_0xee46[262]][_0x2e5fx10]?this[_0xee46[262]][_0x2e5fx10]:null
}
};
full_chip_format_currency= function(_0x2e5fxf,_0x2e5fx10){
return (_0x2e5fxf/ 100)[_0xee46[287]](MONEY_FORMAT[0],MONEY_FORMAT[1],MONEY_FORMAT[2])+ _0xee46[198]+ language[_0xee46[93]][_0xee46[70]]
}
,full_chip_format= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)[_0xee46[287]](MONEY_FORMAT[0],MONEY_FORMAT[1],MONEY_FORMAT[2])+ _0xee46[198]+ language[_0xee46[93]][_0xee46[70]]
}
,short_chip_format= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)[_0xee46[287]](0,MONEY_FORMAT[1],MONEY_FORMAT[2])+ _0xee46[198]+ language[_0xee46[93]][_0xee46[70]]
}
,chip_format_no_symbol= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)[_0xee46[287]](MONEY_FORMAT[0],MONEY_FORMAT[1],MONEY_FORMAT[2])
}
,chip_format_no_symbol_no_dot= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)[_0xee46[287]](0,MONEY_FORMAT[1],MONEY_FORMAT[2])
}
,amount_format= function(_0x2e5fxf){
return parseInt(_0x2e5fxf)[_0xee46[287]](MONEY_FORMAT[0],MONEY_FORMAT[1],MONEY_FORMAT[2])
}
,Number[_0xee46[288]][_0xee46[287]]= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
var _0x2e5fx12=this,_0x2e5fx1c=(_0x2e5fxf= isNaN(_0x2e5fxf= Math[_0xee46[289]](_0x2e5fxf))?2:_0x2e5fxf,_0x2e5fx10= null== _0x2e5fx10?_0xee46[136]:_0x2e5fx10,_0x2e5fx11= null== _0x2e5fx11?_0xee46[134]:_0x2e5fx11,_0x2e5fx12< 0?_0xee46[137]:_0xee46[3]),_0x2e5fx13=parseInt(_0x2e5fx12= Math[_0xee46[289]](+_0x2e5fx12|| 0)[_0xee46[32]](_0x2e5fxf))+ _0xee46[3],_0x2e5fx14=3< (_0x2e5fx14= _0x2e5fx13[_0xee46[39]])?_0x2e5fx14% 3:0;
return _0x2e5fx1c+ (_0x2e5fx14?_0x2e5fx13[_0xee46[286]](0,_0x2e5fx14)+ _0x2e5fx11:_0xee46[3])+ _0x2e5fx13[_0xee46[286]](_0x2e5fx14)[_0xee46[158]](/(\d{
3
}
)(?=\d)/g,_0xee46[290]+ _0x2e5fx11)+ (_0x2e5fxf?_0x2e5fx10+ Math[_0xee46[289]](_0x2e5fx12- _0x2e5fx13)[_0xee46[32]](_0x2e5fxf)[_0xee46[291]](2):_0xee46[3])
}
,play_audio= function(_0x2e5fxf){
if(1== mute_audios){
return !1
};
var _0x2e5fx10;
_0xee46[292]== DEVICE_TYPE?null!= (_0x2e5fx10= new Media(GAME_FOLDER+ _0xee46[293]+ _0x2e5fxf+ _0xee46[294]))&& (_0x2e5fx10[_0xee46[295]](0),_0x2e5fx10[_0xee46[21]]()):null!= (_0x2e5fx10= document[_0xee46[297]](_0xee46[296]+ _0x2e5fxf))&& 4== _0x2e5fx10[_0xee46[298]]&& (_0x2e5fx10[_0xee46[299]]= 0,_0x2e5fx10[_0xee46[21]]())
};
var connection_time=( new Date)[_0xee46[190]]();
function getconnectionurl(_0x2e5fxf,_0x2e5fx10){
if(1!= _0x2e5fx10){
return null!= (_0x2e5fx11= getcookieforconnection(_0xee46[300]))&& 2<= parseInt(_0x2e5fx11)?_0x2e5fxf[_0xee46[158]](_0xee46[301],_0xee46[302]):_0x2e5fxf
};
if(null== (_0x2e5fx11= getcookieforconnection(_0xee46[300]))){
return createcookieforconnection(_0xee46[300],1),_0x2e5fxf
};
var _0x2e5fx11=parseInt(_0x2e5fx11);
return 4<= (_0x2e5fx11+= 1)?createcookieforconnection(_0xee46[300],1):createcookieforconnection(_0xee46[300],_0x2e5fx11),_0x2e5fxf
}
function createcookieforconnection(_0x2e5fxf,_0x2e5fx10){
var _0x2e5fx11= new Date;
_0x2e5fx11[_0xee46[191]](_0x2e5fx11[_0xee46[190]]()+ 216e5);
var _0x2e5fx12=_0xee46[192]+ _0x2e5fx11[_0xee46[303]]();
document[_0xee46[194]]= _0x2e5fxf+ _0xee46[195]+ _0x2e5fx10+ _0x2e5fx12+ _0xee46[196]
}
function getcookieforconnection(_0x2e5fxf){
for(var _0x2e5fx10=_0x2e5fxf+ _0xee46[195],_0x2e5fx11=document[_0xee46[194]][_0xee46[135]](_0xee46[197]),_0x2e5fx12=0;
_0x2e5fx12< _0x2e5fx11[_0xee46[39]];
_0x2e5fx12++){
for(var _0x2e5fx1c=_0x2e5fx11[_0x2e5fx12];
_0xee46[198]== _0x2e5fx1c[_0xee46[199]](0);
){
_0x2e5fx1c= _0x2e5fx1c[_0xee46[200]](1,_0x2e5fx1c[_0xee46[39]])
};
if(0== _0x2e5fx1c[_0xee46[201]](_0x2e5fx10)){
return _0x2e5fx1c[_0xee46[200]](_0x2e5fx10[_0xee46[39]],_0x2e5fx1c[_0xee46[39]])
}
};
return null
}
socket_connect= function(_0x2e5fx10,_0x2e5fx11){
null!= socket_connection&& 1== socket_connection[_0xee46[298]]&& (socket_connection[_0xee46[304]](),socket_connection= null),_0x2e5fx10= getconnectionurl(_0x2e5fx10,!1),connection_time= ( new Date)[_0xee46[190]](),(socket_connection= new WebSocket(_0x2e5fx10))[_0xee46[305]]= function(_0x2e5fxf){
null!= _0x2e5fx11&& _0x2e5fx11(!0),_0x2e5fx11= null
}
,socket_connection[_0xee46[306]]= function(_0x2e5fxf){
var _0x2e5fx10=JSON[_0xee46[209]](_0x2e5fxf[_0xee46[93]]);
data_from_socket(_0x2e5fx10)
}
,socket_connection[_0xee46[307]]= function(_0x2e5fxf){
( new Date)[_0xee46[190]]()- connection_time< 1500&& getconnectionurl(_0x2e5fx10,!0),fadein_screen(_0xee46[308])
}
,socket_connection[_0xee46[78]]= function(_0x2e5fxf){
null!= _0x2e5fx11&& _0x2e5fx11(!1),fadein_screen(_0xee46[308])
}
}
,socket_disconnect= function(){
if(null== socket_connection|| 1!= socket_connection[_0xee46[298]]){
return !1
};
socket_connection[_0xee46[304]]()
}
,socket_send= function(_0x2e5fxf){
return null!= socket_connection&& 1== socket_connection[_0xee46[298]]&& (socket_connection[_0xee46[310]](JSON[_0xee46[309]](_0x2e5fxf)),!0)
}
,connect_to_server= function(_0x2e5fxf){
socket_connect(_0x2e5fxf,function(_0x2e5fxf){
1== _0x2e5fxf?socket_send({
command:_0xee46[9],uid:user_data[_0xee46[26]],token:user_data[_0xee46[311]]
}
):fadein_screen(_0xee46[308])
}
)
}
,update_button= function(){
$(_0xee46[31])[_0xee46[313]](_0xee46[312],_0xee46[312]),$(_0xee46[33])[_0xee46[313]](_0xee46[312],_0xee46[312]),$(_0xee46[314])[_0xee46[116]](_0xee46[312],!1),$(_0xee46[314])[_0xee46[315]](_0xee46[17],!0),gameCanvas[_0xee46[316]]= 0,_0xee46[15]== game_data[_0xee46[86]]?game_data[_0xee46[27]]?($(_0xee46[318])[_0xee46[147]](_0xee46[317]),$(_0xee46[318])[_0xee46[147]](_0xee46[319]),$(_0xee46[318])[_0xee46[144]](_0xee46[320]),$(_0xee46[318])[_0xee46[57]](language[_0xee46[93]][_0xee46[321]]),$(_0xee46[31])[_0xee46[76]](_0xee46[312],_0xee46[312]),$(_0xee46[33])[_0xee46[76]](_0xee46[312],_0xee46[312]),$(_0xee46[314])[_0xee46[116]](_0xee46[312],!0),$(_0xee46[314])[_0xee46[315]](_0xee46[17],!0)):($(_0xee46[318])[_0xee46[147]](_0xee46[317]),$(_0xee46[318])[_0xee46[147]](_0xee46[319]),$(_0xee46[318])[_0xee46[147]](_0xee46[320]),$(_0xee46[318])[_0xee46[57]](language[_0xee46[93]][_0xee46[236]])):_0xee46[16]== game_data[_0xee46[86]]&& game_data[_0xee46[27]]?(gameCanvas[_0xee46[316]]= game_data[_0xee46[28]],$(_0xee46[318])[_0xee46[147]](_0xee46[320]),$(_0xee46[318])[_0xee46[147]](_0xee46[319]),$(_0xee46[318])[_0xee46[144]](_0xee46[317]),$(_0xee46[318])[_0xee46[57]](language[_0xee46[93]][_0xee46[322]]+ _0xee46[323]),$(_0xee46[31])[_0xee46[76]](_0xee46[312],_0xee46[312]),$(_0xee46[33])[_0xee46[76]](_0xee46[312],_0xee46[312]),$(_0xee46[314])[_0xee46[116]](_0xee46[312],!0),$(_0xee46[314])[_0xee46[315]](_0xee46[17],!0)):($(_0xee46[318])[_0xee46[147]](_0xee46[317]),$(_0xee46[318])[_0xee46[147]](_0xee46[320]),$(_0xee46[318])[_0xee46[57]](language[_0xee46[93]][_0xee46[236]])),game_data[_0xee46[132]]&& ($(_0xee46[318])[_0xee46[147]](_0xee46[317]),$(_0xee46[318])[_0xee46[147]](_0xee46[319]),$(_0xee46[318])[_0xee46[144]](_0xee46[320]),$(_0xee46[318])[_0xee46[57]](language[_0xee46[93]][_0xee46[321]]+ _0xee46[324]+ language[_0xee46[93]][_0xee46[325]]+ _0xee46[170]),$(_0xee46[31])[_0xee46[76]](_0xee46[312],_0xee46[312]),$(_0xee46[33])[_0xee46[76]](_0xee46[312],_0xee46[312]),$(_0xee46[314])[_0xee46[116]](_0xee46[312],!0),$(_0xee46[314])[_0xee46[315]](_0xee46[17],!0))
}
,prepare_users_stats= function(){
if(_0xee46[15]== game_data[_0xee46[86]]){
$(_0xee46[327])[_0xee46[76]]({
style:_0xee46[326]
}
),$(_0xee46[328])[_0xee46[76]]({
style:_0xee46[326]
}
),$(_0xee46[330])[_0xee46[76]]({
style:_0xee46[329]
}
)
}
else {
if(_0xee46[16]== game_data[_0xee46[86]]){
var _0x2e5fxf=100- (_0x2e5fx1c= 0== (_0x2e5fx12= (_0x2e5fx10= game_data[_0xee46[63]][_0xee46[39]])+ (_0x2e5fx11= game_data[_0xee46[38]][_0xee46[39]]))?0:parseInt(100* _0x2e5fx10/ _0x2e5fx12));
$(_0xee46[327])[_0xee46[76]]({
style:_0xee46[326]
}
),$(_0xee46[328])[_0xee46[76]]({
style:_0xee46[331]+ _0x2e5fx1c+ _0xee46[332]
}
),$(_0xee46[330])[_0xee46[76]]({
style:_0xee46[331]+ _0x2e5fxf+ _0xee46[332]
}
)
}
else {
if(_0xee46[18]== game_data[_0xee46[86]]){
var _0x2e5fx10,_0x2e5fx11,_0x2e5fx12,_0x2e5fx1c=100- (_0x2e5fxf= 0== (_0x2e5fx12= (_0x2e5fx10= game_data[_0xee46[63]][_0xee46[39]])+ (_0x2e5fx11= game_data[_0xee46[38]][_0xee46[39]]))?0:parseInt(100* _0x2e5fx11/ _0x2e5fx12));
$(_0xee46[330])[_0xee46[76]]({
style:_0xee46[326]
}
),$(_0xee46[327])[_0xee46[76]]({
style:_0xee46[331]+ _0x2e5fxf+ _0xee46[332]
}
),$(_0xee46[328])[_0xee46[76]]({
style:_0xee46[331]+ _0x2e5fx1c+ _0xee46[332]
}
)
}
}
}
}
,prepare_user_list= function(){
prepare_users_stats();
var _0x2e5fxf=_0xee46[3];
if(_0xee46[15]== game_data[_0xee46[86]]){
var _0x2e5fx10=game_data[_0xee46[38]][_0xee46[40]](compareByAmount);
for(i in _0x2e5fx10){
_0x2e5fxf= _0x2e5fxf+ _0xee46[44]+ (_0x2e5fx12= _0x2e5fx10[i])[_0xee46[26]]+ _0xee46[45]+ _0x2e5fx12[_0xee46[26]]+ _0xee46[46]+ _0x2e5fx12[_0xee46[36]]+ _0xee46[47]+ chip_format_no_symbol(_0x2e5fx12[_0xee46[28]])+ _0xee46[48]
}
}
else {
if(_0xee46[16]== game_data[_0xee46[86]]){
_0x2e5fx10= game_data[_0xee46[38]][_0xee46[40]](compareByAmount);
for(i in _0x2e5fx10){
_0x2e5fxf= _0x2e5fxf+ _0xee46[44]+ (_0x2e5fx12= _0x2e5fx10[i])[_0xee46[26]]+ _0xee46[45]+ _0x2e5fx12[_0xee46[26]]+ _0xee46[46]+ _0x2e5fx12[_0xee46[36]]+ _0xee46[47]+ chip_format_no_symbol(_0x2e5fx12[_0xee46[28]])+ _0xee46[48]
};
var _0x2e5fx11=game_data[_0xee46[63]][_0xee46[40]](compareByCashout);
for(i in _0x2e5fx11){
_0x2e5fxf= _0x2e5fxf+ _0xee46[64]+ (_0x2e5fx12= _0x2e5fx11[i])[_0xee46[26]]+ _0xee46[45]+ _0x2e5fx12[_0xee46[26]]+ _0xee46[46]+ _0x2e5fx12[_0xee46[36]]+ _0xee46[65]+ (_0x2e5fx12[_0xee46[29]]/ 100)[_0xee46[32]](2)+ _0xee46[66]+ chip_format_no_symbol(_0x2e5fx12[_0xee46[28]])+ _0xee46[67]+ chip_format_no_symbol(_0x2e5fx12[_0xee46[61]]- _0x2e5fx12[_0xee46[28]])+ _0xee46[68]
}
}
else {
if(_0xee46[18]== game_data[_0xee46[86]]){
_0x2e5fx10= game_data[_0xee46[38]][_0xee46[40]](compareByAmount);
for(i in _0x2e5fx10){
_0x2e5fxf= _0x2e5fxf+ _0xee46[333]+ (_0x2e5fx12= _0x2e5fx10[i])[_0xee46[26]]+ _0xee46[45]+ _0x2e5fx12[_0xee46[26]]+ _0xee46[46]+ _0x2e5fx12[_0xee46[36]]+ _0xee46[47]+ chip_format_no_symbol(_0x2e5fx12[_0xee46[28]])+ _0xee46[48]
};
_0x2e5fx11= game_data[_0xee46[63]][_0xee46[40]](compareByCashout);
for(i in _0x2e5fx11){
var _0x2e5fx12;
_0x2e5fxf= _0x2e5fxf+ _0xee46[64]+ (_0x2e5fx12= _0x2e5fx11[i])[_0xee46[26]]+ _0xee46[45]+ _0x2e5fx12[_0xee46[26]]+ _0xee46[46]+ _0x2e5fx12[_0xee46[36]]+ _0xee46[65]+ (_0x2e5fx12[_0xee46[29]]/ 100)[_0xee46[32]](2)+ _0xee46[66]+ chip_format_no_symbol(_0x2e5fx12[_0xee46[28]])+ _0xee46[67]+ chip_format_no_symbol(_0x2e5fx12[_0xee46[61]]- _0x2e5fx12[_0xee46[28]])+ _0xee46[68]
}
}
}
};
$(_0xee46[51])[_0xee46[50]](_0xee46[49])?($(_0xee46[54])[_0xee46[57]](_0xee46[3]),$(_0xee46[53])[_0xee46[57]](_0x2e5fxf)):($(_0xee46[53])[_0xee46[57]](_0xee46[3]),$(_0xee46[54])[_0xee46[57]](_0x2e5fxf))
};
var MAX_SLIDER_RANGE=20,LAST_BUTTON_CLICK_TIME=0;
$(document)[_0xee46[369]](function(){
function _0x2e5fx25(_0x2e5fxf,_0x2e5fx10){
$(_0xee46[335])[_0xee46[147]](_0xee46[334]);
var _0x2e5fx11=parseFloat(_0x2e5fx10);
$(_0xee46[33])[_0xee46[30]](_0x2e5fx11[_0xee46[32]](2)),MAX_SLIDER_RANGE<= _0x2e5fx10&& $(_0xee46[33])[_0xee46[30]](_0xee46[34])
}
gameCanvas= new GameCanvas,gameCanvas[_0xee46[337]](_0xee46[336],{
width:560,height:350
}
),start_game(function(){
apiRequest(_0xee46[208]== typeof API_URIS&& null!= API_URIS[_0xee46[9]]?API_URIS[_0xee46[9]]:_0xee46[338],{
}
,function(_0x2e5fx26,_0x2e5fx27){
_0xee46[339]== _0x2e5fx26?(user_data[_0xee46[26]]= _0x2e5fx27[_0xee46[93]][_0xee46[26]],user_data[_0xee46[311]]= _0x2e5fx27[_0xee46[93]][_0xee46[311]],user_data[_0xee46[340]]= _0x2e5fx27[_0xee46[93]][_0xee46[340]],null!= _0x2e5fx27[_0xee46[93]][_0xee46[261]]&& eval(_0x2e5fx27[_0xee46[93]][_0xee46[261]]),connect_to_server(_0x2e5fx27[_0xee46[93]][_0xee46[341]])):fadein_screen(_0xee46[308])
}
)
}
),$(_0xee46[342])[_0xee46[167]](function(){
top[_0xee46[206]]= HOME_URL
}
),$(_0xee46[343])[_0xee46[167]](function(){
top[_0xee46[206]]= MAIN_URL
}
),$(_0xee46[345])[_0xee46[167]](function(){
socket_send({
command:_0xee46[344]
}
)
}
),$(_0xee46[346])[_0xee46[167]](function(){
socket_send({
command:_0xee46[11]
}
)
}
),$(_0xee46[31])[_0xee46[167]](function(){
$(_0xee46[347])[_0xee46[147]](_0xee46[334])
}
),$(_0xee46[33])[_0xee46[167]](function(){
$(_0xee46[335])[_0xee46[147]](_0xee46[334])
}
),$(_0xee46[31])[_0xee46[348]](function(){
$(_0xee46[347])[_0xee46[147]](_0xee46[334]);
var _0x2e5fxf=$(this)[_0xee46[30]]()[_0xee46[135]](_0xee46[136])[_0xee46[133]](_0xee46[3])[_0xee46[135]](_0xee46[134])[_0xee46[133]](_0xee46[3]);
if(_0xee46[3]== _0x2e5fxf){
return $(_0xee46[31])[_0xee46[30]](_0xee46[3]),!1
};
$(_0xee46[31])[_0xee46[30]](amount_format(_0x2e5fxf))
}
),$(_0xee46[33])[_0xee46[348]](function(){
$(_0xee46[335])[_0xee46[147]](_0xee46[334]);
var _0x2e5fxf=$(this)[_0xee46[30]]()[_0xee46[135]](_0xee46[134])[_0xee46[133]](_0xee46[136]);
$(_0xee46[33])[_0xee46[30]](_0x2e5fxf);
var _0x2e5fx10=parseFloat(_0x2e5fxf);
!isNaN(_0x2e5fx10)&& isFinite(_0x2e5fx10) && (MAX_SLIDER_RANGE< _0x2e5fx10&& (_0x2e5fx10= MAX_SLIDER_RANGE),_0x2e5fx10= _0x2e5fx10[_0xee46[32]](2),$(_0xee46[314])[_0xee46[30]](_0x2e5fx10),$(_0xee46[314])[_0xee46[315]](_0xee46[17],!0))
}
),$(_0xee46[314])[_0xee46[315]]({
polyfill:!1,onInit:function(){
_0x2e5fx25($(_0xee46[350],this.$range)[0],this[_0xee46[353]])
}
}
)[_0xee46[354]](_0xee46[349],function(_0x2e5fxf){
_0x2e5fx25($(_0xee46[350],_0x2e5fxf[_0xee46[352]][_0xee46[351]])[0],this[_0xee46[353]])
}
),$(_0xee46[318])[_0xee46[167]](function(){
if(400< ( new Date)[_0xee46[190]]()- LAST_BUTTON_CLICK_TIME){
if(LAST_BUTTON_CLICK_TIME= ( new Date)[_0xee46[190]](),_0xee46[15]== game_data[_0xee46[86]]){
if(game_data[_0xee46[27]]){
socket_send({
command:_0xee46[23]
}
)
}
else {
if(_0xee46[34]== (_0x2e5fxf= $(_0xee46[33])[_0xee46[30]]())){
_0x2e5fxf= 1e6
}
else {
if(_0x2e5fxf= parseFloat($(_0xee46[33])[_0xee46[30]]()),isNaN(_0x2e5fxf)|| !isFinite(_0x2e5fxf)){
return $(_0xee46[335])[_0xee46[144]](_0xee46[334]),!1
};
if((_0x2e5fxf= parseInt(100* _0x2e5fxf))< 101){
return $(_0xee46[335])[_0xee46[144]](_0xee46[334]),!1
}
};
if(1<= (_0x2e5fx10= parseInt($(_0xee46[31])[_0xee46[30]]()[_0xee46[135]](_0xee46[136])[_0xee46[133]](_0xee46[3])[_0xee46[135]](_0xee46[134])[_0xee46[133]](_0xee46[3])))){
(_0x2e5fx11= 100* _0x2e5fx10)> user_data[_0xee46[19]]?$(_0xee46[347])[_0xee46[144]](_0xee46[334]):socket_send({
command:_0xee46[21],amount:_0x2e5fx11,cashout:_0x2e5fxf
}
)
}
else {
$(_0xee46[347])[_0xee46[144]](_0xee46[334])
}
}
}
else {
if(_0xee46[16]== game_data[_0xee46[86]]&& game_data[_0xee46[27]]){
socket_send({
command:_0xee46[22]
}
)
}
else {
if(0== game_data[_0xee46[27]]&& (_0xee46[16]== game_data[_0xee46[86]]|| _0xee46[18]== game_data[_0xee46[86]])){
if(game_data[_0xee46[132]]){
game_data[_0xee46[132]]= !1,update_button()
}
else {
var _0x2e5fxf,_0x2e5fx10,_0x2e5fx11;
if(_0xee46[34]== (_0x2e5fxf= $(_0xee46[33])[_0xee46[30]]())){
_0x2e5fxf= 1e6
}
else {
if(_0x2e5fxf= parseFloat($(_0xee46[33])[_0xee46[30]]()),isNaN(_0x2e5fxf)|| !isFinite(_0x2e5fxf)){
return $(_0xee46[335])[_0xee46[144]](_0xee46[334]),!1
};
if((_0x2e5fxf= parseInt(100* _0x2e5fxf))< 101){
return $(_0xee46[335])[_0xee46[144]](_0xee46[334]),!1
}
};
if(1<= (_0x2e5fx10= parseInt($(_0xee46[31])[_0xee46[30]]()[_0xee46[135]](_0xee46[136])[_0xee46[133]](_0xee46[3])[_0xee46[135]](_0xee46[134])[_0xee46[133]](_0xee46[3])))){
(_0x2e5fx11= 100* _0x2e5fx10)> user_data[_0xee46[19]]?$(_0xee46[347])[_0xee46[144]](_0xee46[334]):(game_data[_0xee46[132]]= !0,update_button())
}
else {
$(_0xee46[347])[_0xee46[144]](_0xee46[334])
}
}
}
}
}
}
}
),$(_0xee46[356])[_0xee46[167]](function(){
var _0x2e5fxf=$(_0xee46[355])[_0xee46[30]]();
_0xee46[3]!= _0x2e5fxf&& ($(_0xee46[355])[_0xee46[30]](_0xee46[3]),socket_send({
command:_0xee46[20],text:_0x2e5fxf
}
))
}
),$(_0xee46[359])[_0xee46[167]](function(){
$(_0xee46[358])[_0xee46[147]](_0xee46[357]),$(_0xee46[359])[_0xee46[144]](_0xee46[357]),$(_0xee46[360])[_0xee46[182]](),$(_0xee46[361])[_0xee46[182]](),$(_0xee46[362])[_0xee46[163]](),$(_0xee46[363])[_0xee46[163]](),$(_0xee46[101])[_0xee46[116]](_0xee46[114],0)
}
),$(_0xee46[364])[_0xee46[167]](function(){
$(_0xee46[358])[_0xee46[147]](_0xee46[357]),$(_0xee46[364])[_0xee46[144]](_0xee46[357]),$(_0xee46[363])[_0xee46[182]](),$(_0xee46[360])[_0xee46[182]](),$(_0xee46[362])[_0xee46[182]](),$(_0xee46[361])[_0xee46[163]](),$(_0xee46[99])[_0xee46[116]](_0xee46[114],$(_0xee46[99])[_0xee46[116]](_0xee46[115]))
}
),$(_0xee46[365])[_0xee46[167]](function(){
$(_0xee46[358])[_0xee46[147]](_0xee46[357]),$(_0xee46[365])[_0xee46[144]](_0xee46[357]),$(_0xee46[362])[_0xee46[182]](),$(_0xee46[361])[_0xee46[182]](),$(_0xee46[360])[_0xee46[163]](),$(_0xee46[363])[_0xee46[163]](),$(_0xee46[366])[_0xee46[116]](_0xee46[114],0)
}
),$(_0xee46[367])[_0xee46[167]](function(){
if(null== $(_0xee46[31])[_0xee46[76]](_0xee46[312])|| _0xee46[312]!= $(_0xee46[31])[_0xee46[76]](_0xee46[312])){
var _0x2e5fxf=parseInt($(_0xee46[31])[_0xee46[30]]()[_0xee46[135]](_0xee46[136])[_0xee46[133]](_0xee46[3])[_0xee46[135]](_0xee46[134])[_0xee46[133]](_0xee46[3]));
if(1<= _0x2e5fxf){
var _0x2e5fx10=100* _0x2e5fxf* 2;
_0x2e5fx10<= user_data[_0xee46[19]]&& $(_0xee46[31])[_0xee46[30]](chip_format_no_symbol(_0x2e5fx10))
}
}
}
),$(window)[_0xee46[368]](function(){
_0xee46[81]== active_screen&& fadein_screen(_0xee46[81]),_0xee46[85]== active_screen&& fadein_screen(_0xee46[85]),resize_screen()
}
)
}
);
var GameCanvas=function(){
this[_0xee46[10]]= 0,this[_0xee46[370]]= 0,this[_0xee46[371]]= 0,this[_0xee46[372]]= 0,this[_0xee46[373]]= 0,this[_0xee46[374]]= {
maximum:_0xee46[375],winner:_0xee46[376],loser:_0xee46[377]
}
,this[_0xee46[91]]= _0xee46[3],this[_0xee46[95]]= _0xee46[3],this[_0xee46[97]]= _0xee46[3],this[_0xee46[98]]= _0xee46[3],this[_0xee46[257]]= _0xee46[378],this[_0xee46[259]]= _0xee46[379],this[_0xee46[380]]= null,this[_0xee46[381]]= 0,this[_0xee46[382]]= null,this[_0xee46[383]]= null,this[_0xee46[384]]= null,this[_0xee46[385]]= null,this[_0xee46[386]]= null,this[_0xee46[387]]= null,this[_0xee46[388]]= !1,this[_0xee46[35]]= !1,this[_0xee46[316]]= 0,this[_0xee46[389]]= function(_0x2e5fxf){
null!= _0x2e5fxf[_0xee46[390]]&& (this[_0xee46[374]][_0xee46[390]]= _0x2e5fxf[_0xee46[390]]),null!= _0x2e5fxf[_0xee46[391]]&& (this[_0xee46[374]][_0xee46[391]]= _0x2e5fxf[_0xee46[391]]),null!= _0x2e5fxf[_0xee46[392]]&& (this[_0xee46[374]][_0xee46[392]]= _0x2e5fxf[_0xee46[392]]),null!= _0x2e5fxf[_0xee46[393]]&& (this[_0xee46[257]]= _0x2e5fxf[_0xee46[393]]),null!= _0x2e5fxf[_0xee46[18]]&& (this[_0xee46[259]]= _0x2e5fxf[_0xee46[18]])
}
,this[_0xee46[394]]= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
this[_0xee46[91]]= this[_0xee46[374]][_0xee46[390]][_0xee46[158]](_0xee46[160],_0x2e5fxf),this[_0xee46[95]]= this[_0xee46[374]][_0xee46[391]][_0xee46[158]](_0xee46[160],_0x2e5fx10),this[_0xee46[97]]= this[_0xee46[374]][_0xee46[392]][_0xee46[158]](_0xee46[160],_0x2e5fx11)
}
,this[_0xee46[395]]= function(_0x2e5fxf){
this[_0xee46[380]]= _0x2e5fxf
}
,this[_0xee46[88]]= function(_0x2e5fxf){
this[_0xee46[380]]= this[_0xee46[383]]= this[_0xee46[384]]= this[_0xee46[385]]= this[_0xee46[382]]= null,this[_0xee46[10]]= 1,this[_0xee46[370]]= ( new Date)[_0xee46[190]]()+ _0x2e5fxf,this[_0xee46[372]]= 0,this[_0xee46[371]]= 0
}
,this[_0xee46[89]]= function(_0x2e5fxf){
this[_0xee46[380]]= this[_0xee46[383]]= this[_0xee46[384]]= this[_0xee46[385]]= this[_0xee46[382]]= null,this[_0xee46[10]]= 2,this[_0xee46[371]]= ( new Date)[_0xee46[190]]()- _0x2e5fxf,this[_0xee46[372]]= _0x2e5fxf
}
,this[_0xee46[90]]= function(_0x2e5fxf,_0x2e5fx10){
this[_0xee46[380]]= this[_0xee46[383]]= this[_0xee46[384]]= this[_0xee46[385]]= this[_0xee46[382]]= null,this[_0xee46[10]]= 3,this[_0xee46[381]]= _0x2e5fxf,this[_0xee46[371]]= ( new Date)[_0xee46[190]]()- _0x2e5fx10,this[_0xee46[372]]= _0x2e5fx10
}
,this[_0xee46[337]]= function(_0x2e5fxf,_0x2e5fx10){
this[_0xee46[396]]= document[_0xee46[297]](_0x2e5fxf),this[_0xee46[397]]= this[_0xee46[396]][_0xee46[399]](_0xee46[398]),this[_0xee46[386]]= _0x2e5fx10,this[_0xee46[368]](),this[_0xee46[400]]= !0,window[_0xee46[402]](gameCanvas[_0xee46[401]])
}
,this[_0xee46[368]]= function(_0x2e5fxf){
null!= _0x2e5fxf&& (this[_0xee46[386]]= _0x2e5fxf);
var _0x2e5fx10=(window[_0xee46[403]]|| 1)/ (this[_0xee46[397]][_0xee46[404]]|| this[_0xee46[397]][_0xee46[405]]|| this[_0xee46[397]][_0xee46[406]]|| this[_0xee46[397]][_0xee46[407]]|| this[_0xee46[397]][_0xee46[408]]|| 1);
this[_0xee46[396]][_0xee46[186]]= this[_0xee46[386]][_0xee46[186]]* _0x2e5fx10,this[_0xee46[396]][_0xee46[153]]= this[_0xee46[386]][_0xee46[153]]* _0x2e5fx10,this[_0xee46[396]][_0xee46[409]][_0xee46[186]]= this[_0xee46[386]][_0xee46[186]]+ _0xee46[410],this[_0xee46[396]][_0xee46[409]][_0xee46[153]]= this[_0xee46[386]][_0xee46[153]]+ _0xee46[410],this[_0xee46[397]][_0xee46[411]](_0x2e5fx10,_0x2e5fx10),this[_0xee46[387]]= null
}
,this[_0xee46[401]]= function(){
if(!gameCanvas[_0xee46[400]]){
return !1
};
gameCanvas[_0xee46[397]][_0xee46[412]](0,0,gameCanvas[_0xee46[386]][_0xee46[186]],gameCanvas[_0xee46[386]][_0xee46[153]]),gameCanvas[_0xee46[413]](gameCanvas[_0xee46[397]]),window[_0xee46[402]](gameCanvas[_0xee46[401]])
}
,this[_0xee46[413]]= function(_0x2e5fxf){
if(null== this[_0xee46[387]]){
this[_0xee46[387]]= {
width:this[_0xee46[386]][_0xee46[186]],height:this[_0xee46[386]][_0xee46[153]]
};
var _0x2e5fx10=nr(0.08* this[_0xee46[386]][_0xee46[186]]),_0x2e5fx11=nr(this[_0xee46[386]][_0xee46[153]]- 0.07* this[_0xee46[386]][_0xee46[153]]);
this[_0xee46[387]][_0xee46[414]]= {
x:_0x2e5fx10,y:_0x2e5fx11
};
var _0x2e5fx12=nr(0.1* this[_0xee46[386]][_0xee46[153]]),_0x2e5fx1c=nr((this[_0xee46[387]][_0xee46[186]]+ _0x2e5fx10)/ 2),_0x2e5fx13=nr(0.48* this[_0xee46[387]][_0xee46[153]]),_0x2e5fx14=nr(0.36* this[_0xee46[387]][_0xee46[153]]),_0x2e5fx15=nr(1.7* _0x2e5fx12);
this[_0xee46[387]][_0xee46[415]]= {
x:_0x2e5fx1c,y:_0x2e5fx13,font:_0x2e5fx12,by:_0x2e5fx14,bh:_0x2e5fx15
};
var _0x2e5fx16=nr(0.22* this[_0xee46[386]][_0xee46[153]]),_0x2e5fx17=nr((this[_0xee46[387]][_0xee46[186]]+ _0x2e5fx10)/ 2),_0x2e5fx18=nr(0.41* this[_0xee46[387]][_0xee46[153]]),_0x2e5fx19=nr(0.65* this[_0xee46[387]][_0xee46[153]]);
this[_0xee46[387]][_0xee46[18]]= {
x:_0x2e5fx17,y1:_0x2e5fx18,y2:_0x2e5fx19,font:_0x2e5fx16
};
var _0x2e5fx1a=nr(0.036* this[_0xee46[386]][_0xee46[153]]),_0x2e5fx1b=nr(1.6* _0x2e5fx10),_0x2e5fx29=nr(0.6* _0x2e5fx10- _0x2e5fx1a),_0x2e5fx2a=nr(_0x2e5fx29+ 1.5* _0x2e5fx1a),_0x2e5fx2b=nr(_0x2e5fx2a+ 1.5* _0x2e5fx1a),_0x2e5fx2c=nr(_0x2e5fx2b+ 1.5* _0x2e5fx1a);
this[_0xee46[387]][_0xee46[416]]= {
x:_0x2e5fx1b,y1:_0x2e5fx29,y2:_0x2e5fx2a,y3:_0x2e5fx2b,y4:_0x2e5fx2c,font:_0x2e5fx1a
};
var _0x2e5fx2d=nr(this[_0xee46[386]][_0xee46[186]]- _0x2e5fx10),_0x2e5fx2e=nr(_0x2e5fx11),_0x2e5fx2f=nr(0.036* this[_0xee46[386]][_0xee46[153]]),_0x2e5fx30=nr(_0x2e5fx10- 0.5* _0x2e5fx2f),_0x2e5fx31=nr(_0x2e5fx11+ 1.5* _0x2e5fx2f),_0x2e5fx32=nr(0.3* _0x2e5fx2f),_0x2e5fx33=nr(_0x2e5fx11- 0.5* _0x2e5fx2f),_0x2e5fx34=nr(_0x2e5fx10+ 0.5* _0x2e5fx2f);
this[_0xee46[387]][_0xee46[417]]= {
x:_0x2e5fx2d,y:_0x2e5fx2e,font:_0x2e5fx2f,tx:_0x2e5fx30,th:_0x2e5fx32,ty:_0x2e5fx31,lx:_0x2e5fx34,ly:_0x2e5fx33
};
var _0x2e5fx35=nr(0.3* this[_0xee46[386]][_0xee46[153]]),_0x2e5fx36=nr((this[_0xee46[387]][_0xee46[186]]+ _0x2e5fx10)/ 2),_0x2e5fx37=nr(0.56* this[_0xee46[387]][_0xee46[153]]);
this[_0xee46[387]][_0xee46[28]]= {
x:_0x2e5fx36,y:_0x2e5fx37,font:_0x2e5fx35
}
};
if(this[_0xee46[418]](_0x2e5fxf),this[_0xee46[419]](_0x2e5fxf),this[_0xee46[420]](_0x2e5fxf),1== this[_0xee46[10]]){
this[_0xee46[421]](_0x2e5fxf)
}
else {
if(2== this[_0xee46[10]]){
if(this[_0xee46[422]](_0x2e5fxf),this[_0xee46[423]](_0x2e5fxf),0!= this[_0xee46[316]]){
var _0x2e5fx38=chip_format_no_symbol(parseInt(this[_0xee46[316]]* this[_0xee46[424]]));
$(_0xee46[425])[_0xee46[57]](_0x2e5fx38)
}
}
else {
3== this[_0xee46[10]]&& this[_0xee46[426]](_0x2e5fxf)
}
};
null!= this[_0xee46[380]]&& this[_0xee46[427]](_0x2e5fxf)
}
,this[_0xee46[418]]= function(_0x2e5fxf){
_0x2e5fxf[_0xee46[428]]= 1,_0x2e5fxf[_0xee46[429]]= this[_0xee46[388]]?_0xee46[430]:_0xee46[431],_0x2e5fxf[_0xee46[432]](),_0x2e5fxf[_0xee46[434]](this[_0xee46[387]][_0xee46[414]][_0xee46[433]],0),_0x2e5fxf[_0xee46[436]](this[_0xee46[387]][_0xee46[414]][_0xee46[433]],this[_0xee46[387]][_0xee46[414]][_0xee46[435]]),_0x2e5fxf[_0xee46[436]](this[_0xee46[387]][_0xee46[186]],this[_0xee46[387]][_0xee46[414]][_0xee46[435]]),_0x2e5fxf[_0xee46[437]](),_0x2e5fxf[_0xee46[438]]()
}
,this[_0xee46[419]]= function(_0x2e5fxf){
_0x2e5fxf[_0xee46[439]]= this[_0xee46[388]]?_0xee46[430]:_0xee46[440],_0x2e5fxf[_0xee46[441]]= _0xee46[442],null!= this[_0xee46[91]]&& (_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[416]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](this[_0xee46[91]],this[_0xee46[387]][_0xee46[416]][_0xee46[433]],this[_0xee46[387]][_0xee46[416]][_0xee46[445]])),null!= this[_0xee46[95]]&& (_0x2e5fxf[_0xee46[439]]= _0xee46[447],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[416]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](this[_0xee46[95]],this[_0xee46[387]][_0xee46[416]][_0xee46[433]],this[_0xee46[387]][_0xee46[416]][_0xee46[448]])),null!= this[_0xee46[97]]&& (_0x2e5fxf[_0xee46[439]]= _0xee46[449],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[416]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](this[_0xee46[97]],this[_0xee46[387]][_0xee46[416]][_0xee46[433]],this[_0xee46[387]][_0xee46[416]][_0xee46[450]])),null!= this[_0xee46[98]]&& (_0x2e5fxf[_0xee46[439]]= _0xee46[451],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[416]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](this[_0xee46[98]],this[_0xee46[387]][_0xee46[416]][_0xee46[433]],this[_0xee46[387]][_0xee46[416]][_0xee46[452]]))
}
,this[_0xee46[421]]= function(_0x2e5fxf){
var _0x2e5fx10=(this[_0xee46[370]]- ( new Date)[_0xee46[190]]())/ 1e3;
_0x2e5fx10= _0x2e5fx10<= 0?_0xee46[453]:_0x2e5fx10[_0xee46[32]](1),_0x2e5fxf[_0xee46[439]]= this[_0xee46[388]]?_0xee46[430]:_0xee46[454],_0x2e5fxf[_0xee46[441]]= _0xee46[455],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[415]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](this[_0xee46[257]][_0xee46[158]](_0xee46[456],_0x2e5fx10),this[_0xee46[387]][_0xee46[415]][_0xee46[433]],this[_0xee46[387]][_0xee46[415]][_0xee46[435]])
}
,this[_0xee46[420]]= function(_0x2e5fxf){
2== this[_0xee46[10]]&& null== this[_0xee46[380]]&& (this[_0xee46[372]]= ( new Date)[_0xee46[190]]()- this[_0xee46[371]]),_0x2e5fxf[_0xee46[429]]= this[_0xee46[388]]?_0xee46[457]:_0xee46[458],_0x2e5fxf[_0xee46[439]]= this[_0xee46[388]]?_0xee46[430]:_0xee46[458],_0x2e5fxf[_0xee46[441]]= _0xee46[455],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[417]][_0xee46[443]]+ _0xee46[444];
var _0x2e5fx10=this[_0xee46[372]]< 1e4?10:nr(this[_0xee46[372]]/ 1e3);
if(null== this[_0xee46[383]]&& (this[_0xee46[383]]= 2),20< _0x2e5fx10&& _0x2e5fx10> 7* this[_0xee46[383]]){
for(2== this[_0xee46[383]]&& (this[_0xee46[383]]= 10);
!(_0x2e5fx10< 3* this[_0xee46[383]]);
){
this[_0xee46[383]]+= 10
}
};
for(_0x2e5fxf[_0xee46[432]](),i= 0;
i< Math[_0xee46[459]](_0x2e5fx10/ this[_0xee46[383]]);
i++){
var _0x2e5fx11=this[_0xee46[383]]* i* 1e3,_0x2e5fx12=this[_0xee46[387]][_0xee46[414]][_0xee46[433]]+ this[_0xee46[387]][_0xee46[417]][_0xee46[433]]* _0x2e5fx11/ (this[_0xee46[372]]< 1e4?1e4:this[_0xee46[372]]);
_0x2e5fxf[_0xee46[446]](this[_0xee46[383]]* i,_0x2e5fx12,this[_0xee46[387]][_0xee46[417]][_0xee46[460]]),0< i&& (_0x2e5fxf[_0xee46[434]](_0x2e5fx12,this[_0xee46[387]][_0xee46[414]][_0xee46[435]]),_0x2e5fxf[_0xee46[436]](_0x2e5fx12,this[_0xee46[387]][_0xee46[417]][_0xee46[461]]))
};
_0x2e5fxf[_0xee46[437]](),_0x2e5fxf[_0xee46[438]](),_0x2e5fxf[_0xee46[441]]= _0xee46[462],this[_0xee46[373]]= Math[_0xee46[463]](Math.E,6e-5* this[_0xee46[372]])[_0xee46[32]](2);
var _0x2e5fx13=nr(100* this[_0xee46[373]])- 100,_0x2e5fx14=_0x2e5fx13< 100?100:_0x2e5fx13;
if(null== this[_0xee46[384]]&& (this[_0xee46[384]]= 20),150< _0x2e5fx14&& _0x2e5fx14> 6* this[_0xee46[384]]){
for(this[_0xee46[384]]= 100;
!(_0x2e5fx14<= 6* this[_0xee46[384]]);
){
this[_0xee46[384]]*= 2
}
};
for(_0x2e5fxf[_0xee46[432]](),i= 0;
i< Math[_0xee46[459]](_0x2e5fx14/ this[_0xee46[384]]);
i++){
if(0!= i){
var _0x2e5fx15=this[_0xee46[387]][_0xee46[414]][_0xee46[435]]- this[_0xee46[387]][_0xee46[417]][_0xee46[435]]* this[_0xee46[384]]* i/ (_0x2e5fx13< 100?100:_0x2e5fx13),_0x2e5fx16=(this[_0xee46[384]]* i+ 100)/ 100+ _0xee46[433];
_0x2e5fxf[_0xee46[446]](_0x2e5fx16,this[_0xee46[387]][_0xee46[417]][_0xee46[464]],_0x2e5fx15+ this[_0xee46[387]][_0xee46[417]][_0xee46[465]]),_0x2e5fxf[_0xee46[434]](this[_0xee46[387]][_0xee46[414]][_0xee46[433]],_0x2e5fx15),_0x2e5fxf[_0xee46[436]](this[_0xee46[387]][_0xee46[417]][_0xee46[466]],_0x2e5fx15)
}
};
_0x2e5fxf[_0xee46[437]](),_0x2e5fxf[_0xee46[438]]()
}
,this[_0xee46[422]]= function(_0x2e5fxf){
for(_0x2e5fxf[_0xee46[429]]= this[_0xee46[35]]?_0xee46[467]:_0xee46[468],_0x2e5fxf[_0xee46[428]]= 4,_0x2e5fxf[_0xee46[432]](),_0x2e5fxf[_0xee46[434]](this[_0xee46[387]][_0xee46[414]][_0xee46[433]],this[_0xee46[387]][_0xee46[414]][_0xee46[435]]),null== this[_0xee46[385]]&& (this[_0xee46[385]]= 100),this[_0xee46[372]]> 100* this[_0xee46[385]]&& (this[_0xee46[385]]*= 2),i= 0;
i< this[_0xee46[372]];
i+= this[_0xee46[385]]){
var _0x2e5fx10=this[_0xee46[387]][_0xee46[414]][_0xee46[433]]+ this[_0xee46[387]][_0xee46[417]][_0xee46[433]]* i/ (this[_0xee46[372]]< 1e4?1e4:this[_0xee46[372]]),_0x2e5fx11=this[_0xee46[387]][_0xee46[414]][_0xee46[435]]- this[_0xee46[387]][_0xee46[417]][_0xee46[435]]* (nr(100* Math[_0xee46[463]](Math.E,6e-5* i))- 100)/ (this[_0xee46[373]]< 2?100:100* this[_0xee46[373]]- 100);
_0x2e5fxf[_0xee46[436]](_0x2e5fx10,_0x2e5fx11)
};
_0x2e5fxf[_0xee46[437]](),_0x2e5fxf[_0xee46[438]]()
}
,this[_0xee46[423]]= function(_0x2e5fxf){
var _0x2e5fx10=Math[_0xee46[463]](Math.E,6e-5* this[_0xee46[372]])[_0xee46[32]](2);
this[_0xee46[424]]= _0x2e5fx10,_0x2e5fxf[_0xee46[439]]= this[_0xee46[35]]?_0xee46[467]:this[_0xee46[388]]?_0xee46[430]:_0xee46[469],_0x2e5fxf[_0xee46[441]]= _0xee46[455],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[28]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](_0x2e5fx10+ _0xee46[433],this[_0xee46[387]][_0xee46[28]][_0xee46[433]],this[_0xee46[387]][_0xee46[28]][_0xee46[435]])
}
,this[_0xee46[426]]= function(_0x2e5fxf){
null== this[_0xee46[382]]&& (this[_0xee46[382]]= {
line1:this[_0xee46[259]],line2:_0xee46[470]+ this[_0xee46[381]]+ _0xee46[433]
}
),_0x2e5fxf[_0xee46[439]]= _0xee46[471],_0x2e5fxf[_0xee46[441]]= _0xee46[455],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[18]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](this[_0xee46[382]][_0xee46[472]],this[_0xee46[387]][_0xee46[18]][_0xee46[433]],this[_0xee46[387]][_0xee46[18]][_0xee46[445]]),_0x2e5fxf[_0xee46[446]](this[_0xee46[382]][_0xee46[473]],this[_0xee46[387]][_0xee46[18]][_0xee46[433]],this[_0xee46[387]][_0xee46[18]][_0xee46[448]])
}
,this[_0xee46[427]]= function(_0x2e5fxf){
_0x2e5fxf[_0xee46[432]](),_0x2e5fxf[_0xee46[439]]= _0xee46[474],_0x2e5fxf[_0xee46[475]](0,0,this[_0xee46[387]][_0xee46[186]],this[_0xee46[387]][_0xee46[153]]),_0x2e5fxf[_0xee46[476]](),_0x2e5fxf[_0xee46[438]](),_0x2e5fxf[_0xee46[432]](),_0x2e5fxf[_0xee46[439]]= _0xee46[471],_0x2e5fxf[_0xee46[475]](0,this[_0xee46[387]][_0xee46[415]][_0xee46[477]],this[_0xee46[387]][_0xee46[186]],this[_0xee46[387]][_0xee46[415]][_0xee46[478]]),_0x2e5fxf[_0xee46[476]](),_0x2e5fxf[_0xee46[438]](),_0x2e5fxf[_0xee46[439]]= _0xee46[457],_0x2e5fxf[_0xee46[441]]= _0xee46[455],_0x2e5fxf[_0xee46[443]]= this[_0xee46[387]][_0xee46[415]][_0xee46[443]]+ _0xee46[444],_0x2e5fxf[_0xee46[446]](this[_0xee46[380]],this[_0xee46[387]][_0xee46[415]][_0xee46[433]],this[_0xee46[387]][_0xee46[415]][_0xee46[435]])
}
};
nr= function(_0x2e5fxf){
return null== _0x2e5fxf?_0x2e5fxf:0.5+ _0x2e5fxf| 0
};
var gameCanvas=null;
resize_screen= function(){
var _0x2e5fxf=nr($(_0xee46[479])[_0xee46[186]]()),_0x2e5fx10=nr(_0x2e5fxf/ 1.6);
$(_0xee46[480])[_0xee46[162]]({
width:_0x2e5fxf,height:_0x2e5fx10
}
),null!= gameCanvas&& gameCanvas[_0xee46[368]]({
width:_0x2e5fxf,height:_0x2e5fx10
}
),$(_0xee46[481])[_0xee46[153]](_0x2e5fx10+ 13),$(_0xee46[484])[_0xee46[162]]({
height:_0xee46[482]+ (_0x2e5fx10+ 72)+ _0xee46[483]
}
),_0xee46[85]== active_screen&& ($(_0xee46[51])[_0xee46[50]](_0xee46[49])?_0xee46[83]!= last_screen_type&& (last_screen_type= _0xee46[83],prepare_user_list()):_0xee46[84]!= last_screen_type&& (last_screen_type= _0xee46[84],prepare_user_list()))
}
var userLang=navigator["language"]|| navigator["userLanguage"],language,game_assets,user_data= new Object,game_data= new Object({
status:"null",cashin:!1,amount:0,cashout:0,winners:[],players:[],autoplay:!1
}
),top_winners=[],last_winners=[],last_winners_bussy=!1,screen_size= new Object,socket_connection,active_screen="",mute_audios=!1,last_screen_type="";
if(void(0)=== debug_level){
var debug_level=0
};
insertAtIndex= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
0== _0x2e5fxf?$(_0x2e5fx10)["prepend"](_0x2e5fx11):$(_0x2e5fx10+ " > div:nth-child("+ _0x2e5fxf+ ")")["after"](_0x2e5fx11)
}
,data_from_socket= function(_0x2e5fxf){
var _0x2e5fx10=null!= _0x2e5fxf["command"]?_0x2e5fxf["command"]:"";
"auth"== _0x2e5fx10&& game_auth(_0x2e5fxf),"game_status"== _0x2e5fx10&& game_status(_0x2e5fxf),"cash_out"== _0x2e5fx10&& game_cash_out(_0x2e5fxf),"error"== _0x2e5fx10&& game_error(_0x2e5fxf),"broadcast"== _0x2e5fx10&& game_broadcast(_0x2e5fxf),"last_win"== _0x2e5fx10&& game_last_win(_0x2e5fxf),"waiting"== _0x2e5fx10&& game_waiting(_0x2e5fxf),"started"== _0x2e5fx10&& game_started(_0x2e5fxf),"update"== _0x2e5fx10&& game_update(_0x2e5fxf),"busted"== _0x2e5fx10&& game_busted(_0x2e5fxf),"chips"== _0x2e5fx10&& game_chips(_0x2e5fxf),"chat"== _0x2e5fx10&& game_chat(_0x2e5fxf),"play"== _0x2e5fx10&& game_play(_0x2e5fxf),"finish"== _0x2e5fx10&& game_finish(_0x2e5fxf),"cancel"== _0x2e5fx10&& game_cancel(_0x2e5fxf),"mute"== _0x2e5fx10&& game_mute(_0x2e5fxf),"top_winners"== _0x2e5fx10&& game_top_winners(_0x2e5fxf)
}
,game_play= function(_0x2e5fxf){
if(user_data["uid"]== _0x2e5fxf["uid"]&& (game_data["cashin"]= !0,game_data["amount"]= _0x2e5fxf["amount"],game_data["cashout"]= _0x2e5fxf["cashout"],$(".game-amount")["val"](chip_format_no_symbol(game_data["amount"])),$(".cashout-amount")["val"]((game_data["cashout"]/ 100)["toFixed"](2)),1e6== game_data["cashout"]&& $(".cashout-amount")["val"]("∞"),update_button(),gameCanvas["im_in_game"]= !0),game_data["players"]["push"]({
uid:_0x2e5fxf["uid"],amount:_0x2e5fxf["amount"],name:_0x2e5fxf["name"],cashout:_0x2e5fxf["cashout"]
}
),game_data["players"]["length"]> MAX_USER_CNT){
game_data["players"]= game_data["players"]["sort"](compareByAmount);
var _0x2e5fx10=game_data["players"]["splice"](MAX_USER_CNT);
for(i in _0x2e5fx10){
$(".usid-"+ _0x2e5fx10[i]["uid"])["remove"]()
}
};
prepare_users_stats();
var _0x2e5fx11="<div class="c-yellow usr-row usid-"+ _0x2e5fxf["uid"]+ "" data=""+ _0x2e5fxf["uid"]+ ""><div class="col col-1">"+ _0x2e5fxf["name"]+ "</div><div class="col col-2">-</div><div class="col col-3">"+ chip_format_no_symbol(_0x2e5fxf["amount"])+ "</div><div class="col col-5">-</div><div class="clear"></div></div>",_0x2e5fx12=game_data["players"]["sort"](compareByAmount);
for(i in _0x2e5fx12){
if(_0x2e5fx12[i]["uid"]== _0x2e5fxf["uid"]){
var _0x2e5fx13=i;
$("#desktop-right-panels")["is"](":visible")?_0x2e5fx13> $("#desktop-users")["children"]()["length"]?prepare_user_list():insertAtIndex(_0x2e5fx13,"#desktop-users",_0x2e5fx11):_0x2e5fx13> $("#mobile-users")["children"]()["length"]?prepare_user_list():insertAtIndex(_0x2e5fx13,"#mobile-users",_0x2e5fx11);
break
}
}
}
,game_finish= function(_0x2e5fxf){
user_data["uid"]== _0x2e5fxf["uid"]&& (game_data["cashin"]= !1,gameCanvas["im_in_game"]= !1,update_button(),0< $(".history-container .table-body .crash-row")["length"]&& ($(".history-container .table-body .crash-row")["first"]()["children"](".h-col-2")["html"]((_0x2e5fxf["current"]/ 100)["toFixed"](2)),$(".history-container .table-body .crash-row")["first"]()["children"](".h-col-3")["html"](chip_format_no_symbol(_0x2e5fxf["amount"])),$(".history-container .table-body .crash-row")["first"]()["children"](".h-col-4")["html"](chip_format_no_symbol(_0x2e5fxf["won"]- _0x2e5fxf["amount"]))));
var _0x2e5fx10=!1;
for(i in game_data["players"]){
if(game_data["players"][i]["uid"]== _0x2e5fxf["uid"]){
_0x2e5fx10= !0,game_data["players"]["splice"](i,1);
break
}
};
if(!_0x2e5fx10){
return !1
};
game_data["winners"]["push"]({
uid:_0x2e5fxf["uid"],amount:_0x2e5fxf["amount"],cashout:_0x2e5fxf["current"],won:_0x2e5fxf["won"],name:_0x2e5fxf["name"]
}
),prepare_users_stats(),$(".usid-"+ _0x2e5fxf["uid"])["remove"]();
var _0x2e5fx11="<div class="c-green usr-row usid-"+ _0x2e5fxf["uid"]+ "" data=""+ _0x2e5fxf["uid"]+ ""><div class="col col-1">"+ _0x2e5fxf["name"]+ "</div><div class="col col-2">"+ (_0x2e5fxf["current"]/ 100)["toFixed"](2)+ "</div><div class="col col-3">"+ chip_format_no_symbol(_0x2e5fxf["amount"])+ "</div><div class="col col-5">"+ chip_format_no_symbol(_0x2e5fxf["won"]- _0x2e5fxf["amount"])+ "</div><div class="clear"></div></div>",_0x2e5fx12=game_data["winners"]["sort"](compareByCashout);
for(i in _0x2e5fx12){
if(_0x2e5fx12[i]["uid"]== _0x2e5fxf["uid"]){
var _0x2e5fx13=game_data["players"]["length"]+ i;
$("#desktop-right-panels")["is"](":visible")?_0x2e5fx13> $("#desktop-users")["children"]()["length"]?prepare_user_list():insertAtIndex(_0x2e5fx13,"#desktop-users",_0x2e5fx11):_0x2e5fx13> $("#mobile-users")["children"]()["length"]?prepare_user_list():insertAtIndex(_0x2e5fx13,"#mobile-users",_0x2e5fx11);
break
}
}
}
,game_cancel= function(_0x2e5fxf){
for(i in user_data["uid"]== _0x2e5fxf["uid"]&& (game_data["cashin"]= !1,gameCanvas["im_in_game"]= !1,update_button()),game_data["players"]){
if(game_data["players"][i]["uid"]== _0x2e5fxf["uid"]){
game_data["players"]["splice"](i,1);
break
}
};
prepare_users_stats(),$(".usid-"+ _0x2e5fxf["uid"])["remove"]()
}
,game_auth= function(_0x2e5fxf){
user_data["uid"]= _0x2e5fxf["uid"],user_data["name"]= _0x2e5fxf["name"],user_data["photo"]= _0x2e5fxf["photo"],user_data["chips"]= _0x2e5fxf["chips"],user_data["currency"]= _0x2e5fxf["currency"],user_data["admin"]= null!= _0x2e5fxf["admin"]&& _0x2e5fxf["admin"],$(".game-amount")["val"](chip_format_no_symbol(_0x2e5fxf["default_amount"])),""!= user_data["photo"]&& (user_data["photo_image"]= new Image,user_data["photo_image"]["onload"]= function(){
$(".profile_photo")["attr"]("src",user_data["photo"])
}
,user_data["photo_image"]["onerror"]= function(){
}
,user_data["photo_image"]["src"]= user_data["photo"]),$(".user-name")["html"](user_data["name"]),$(".chips-amount")["html"](short_chip_format(user_data["chips"])),change_screen("lobby_screen")
}
,game_status= function(_0x2e5fxf){
if(null!= _0x2e5fxf["chips"]&& (user_data["chips"]= _0x2e5fxf["chips"],$(".top_left_chips")["html"](short_chip_format(user_data["chips"]))),gameCanvas["im_in_game"]= !1,last_screen_type= $("#desktop-right-panels")["is"](":visible")?"desktop":"mobile",fadein_screen("game_screen"),resize_screen(),"waiting"== _0x2e5fxf["status"]){
game_data["status"]= "waiting",gameCanvas["setWaiting"](_0x2e5fxf["time"])
}
else {
if("started"== _0x2e5fxf["status"]){
game_data["status"]= "started",gameCanvas["setPlaying"](_0x2e5fxf["time"])
}
else {
if("busted"== _0x2e5fxf["status"]){
game_data["status"]= "busted";
var _0x2e5fx10=(_0x2e5fxf["amount"]/ 100)["toFixed"](2);
gameCanvas["setBusted"](_0x2e5fx10,_0x2e5fxf["time"])
}
}
};
if(_0x2e5fxf["top_winners"]){
for(i in gameCanvas["maximum_text"]= language["data"]["crash_top_winners"],top_winners= _0x2e5fxf["top_winners"]){
var _0x2e5fx11=(top_winners[i]["cashout"]/ 100)["toFixed"](2);
0== top_winners[i]["i"]&& (gameCanvas["winner_text"]= short_chip_format(top_winners[i]["won"])+ " @"+ _0x2e5fx11+ " @"+ top_winners[i]["name"]),1== top_winners[i]["i"]&& (gameCanvas["loser_text"]= short_chip_format(top_winners[i]["won"])+ " @"+ _0x2e5fx11+ " @"+ top_winners[i]["name"]),2== top_winners[i]["i"]&& (gameCanvas["other_text"]= short_chip_format(top_winners[i]["won"])+ " @"+ _0x2e5fx11+ " @"+ top_winners[i]["name"])
}
};
$(".chat-container")["html"](""),$(".users-list-container")["html"](""),$(".history-container .table-body")["html"]("");
var _0x2e5fx12=_0x2e5fxf["chats"]["sort"](compareByTime);
for(i in _0x2e5fx12){
var _0x2e5fx13="<div class="chat-row"><div><span>"+ (_0x2e5fx16= _0x2e5fx12[i])["name"]+ "</span></div><div class="txt">"+ _0x2e5fx16["text"]+ "</div></div>";
if(null!= _0x2e5fx16["uid"]&& null!= _0x2e5fx16["admin"]){
var _0x2e5fx14=user_data["admin"]?"<a href="javascript:;
" class="mute-user-button" data=""+ _0x2e5fx16["uid"]+ "" style="text-decoration: none;
text-align: center;
display:inline-block;
background: red;
color: #fff;
font-weight: bold;
width: 16px;
height: 16px;
border-radius: 8px;
padding: 2px;
margin: 4px;
">x</a><span style="color: #000;
">
"+ _0x2e5fx16["uid"]+ "
</span>":"";
_0x2e5fx13= "<div class="chat-row chat-uid-"+ _0x2e5fx16["uid"]+ ""><div><span>"+ _0x2e5fx14+ _0x2e5fx16["name"]+ "</span></div><div class="txt">"+ _0x2e5fx16["text"]+ "</div></div>",1== _0x2e5fx16["admin"]&& (_0x2e5fx13= "<div class="chat-row chat-uid-"+ _0x2e5fx16["uid"]+ ""><div><span>"+ _0x2e5fx14+ _0x2e5fx16["name"]+ "</span></div><div class="txt" style="color: red;
font-size: 14px;
">"+ _0x2e5fx16["text"]+ "</div></div>")
};
$(".chat-container")["append"](_0x2e5fx13)
};
$(".chat-container")["prop"]("scrollTop",$(".chat-container")["prop"]("scrollHeight")),init_mute_buttons();
var _0x2e5fx15=_0x2e5fxf["crashes"]["sort"](compareByStart);
for(i in _0x2e5fx15){
var _0x2e5fx16,_0x2e5fx17=((_0x2e5fx16= _0x2e5fx15[i])["crash"]/ 100)["toFixed"](2),_0x2e5fx18="<div class="crash-row"><div class="col bold h-col-1 "+ (1.8<= _0x2e5fx17?"c-green":"c-red")+ "">"+ _0x2e5fx17+ "</div><div class="col h-col-2">-</div><div class="col h-col-3">-</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">"+ _0x2e5fx16["md5"]+ "</a></div><div class="col h-col-6"><a href="javascript:;
" class="show-code">"+ _0x2e5fx16["hash"]+ "</a></div><div class="clear"></div></div>";
$(".history-container .table-body")["prepend"](_0x2e5fx18)
};
if("started"== _0x2e5fxf["status"]){
if(0== $(".crash-"+ _0x2e5fxf["md5"])["length"]){
_0x2e5fx18= "<div class="crash-row crash-"+ _0x2e5fxf["md5"]+ ""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">-</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">"+ _0x2e5fxf["md5"]+ "</a></div><div class="col h-col-6">-</div><div class="clear"></div></div>";
$(".history-container .table-body")["prepend"](_0x2e5fx18)
}
}
else {
if("waiting"== _0x2e5fxf["status"]&& null!= _0x2e5fxf["md5"]&& 0== $(".crash-"+ _0x2e5fxf["md5"])["length"]){
_0x2e5fx18= "<div class="crash-row crash-"+ _0x2e5fxf["md5"]+ ""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">-</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">"+ _0x2e5fxf["md5"]+ "</a></div><div class="col h-col-6">-</div><div class="clear"></div></div>";
$(".history-container .table-body")["prepend"](_0x2e5fx18)
}
};
if(show_codes(),update_button(),null!= _0x2e5fxf["players"]&& (game_data["players"]= _0x2e5fxf["players"]),null!= _0x2e5fxf["winners"]&& (game_data["winners"]= _0x2e5fxf["winners"]),game_data["players"]["length"]+ game_data["winners"]["length"]> MAX_USER_CNT){
var _0x2e5fx19=[];
for(i in game_data["players"]){
_0x2e5fx19["push"](game_data["players"][i])
};
for(i in game_data["winners"]){
_0x2e5fx19["push"](game_data["winners"][i])
};
(_0x2e5fx19= _0x2e5fx19["sort"](compareByAmount))["splice"](MAX_USER_CNT);
var _0x2e5fx1a=[],_0x2e5fx1b=[];
for(i in game_data["players"]){
for(j in _0x2e5fx19){
if(_0x2e5fx19[j]["uid"]== game_data["players"][i]["uid"]){
_0x2e5fx1a["push"](game_data["players"][i]);
break
}
}
};
for(i in game_data["winners"]){
for(j in _0x2e5fx19){
if(_0x2e5fx19[j]["uid"]== game_data["winners"][i]["uid"]){
_0x2e5fx1b["push"](game_data["winners"][i]);
break
}
}
};
game_data["players"]= _0x2e5fx1a,game_data["winners"]= _0x2e5fx1b
};
prepare_user_list()
}
,game_waiting= function(_0x2e5fxf){
if(game_data["status"]= "waiting",gameCanvas["setWaiting"](_0x2e5fxf["time"]),update_button(),game_data["players"]= [],game_data["winners"]= [],prepare_user_list(),game_data["autoplay"]){
var _0x2e5fx10=$(".cashout-amount")["val"]();
_0x2e5fx10= "∞"== _0x2e5fx10?1e6:(_0x2e5fx10= parseFloat($(".cashout-amount")["val"]()),parseInt(100* _0x2e5fx10));
var _0x2e5fx11=parseInt($(".game-amount")["val"]()["split",,"-"](""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">")["join"]("")["split",,"-"](",")["join"](""));
socket_send({
command:"play",amount:100* _0x2e5fx11,cashout:_0x2e5fx10
}
)
};
if(null!= _0x2e5fxf["md5"]&& 0== $(".crash-"+ _0x2e5fxf["md5"])["length"]){
var _0x2e5fx12="<div class="crash-row crash-"+ _0x2e5fxf["md5"]+ ""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">-</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">"+ _0x2e5fxf["md5"]+ "</a></div><div class="col h-col-6">-</div><div class="clear"></div></div>";
$(".history-container .table-body")["prepend"](_0x2e5fx12)
};
show_codes(),game_data["autoplay"]= !1,setTimeout(function(){
update_button()
}
,500)
}
,game_started= function(_0x2e5fxf){
game_data["autoplay"]= !1,game_data["status"]= "started",gameCanvas["setPlaying"](0),update_button();
var _0x2e5fx10="</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">";
if(gameCanvas["im_in_game"]&& (_0x2e5fx10= chip_format_no_symbol(game_data["amount"])),0== $(".crash-"+ _0x2e5fxf["md5"])["length"]){
var _0x2e5fx11="<div class="crash-row crash-"+ _0x2e5fxf["md5"]+ " .h-col-3"+ _0x2e5fx10+ "last"+ _0x2e5fxf["md5"]+ "</a></div><div class="col h-col-6">-</div><div class="clear"></div></div>";
$(".history-container .table-body")["prepend"](_0x2e5fx11)
}
else {
$(".crash-"+ _0x2e5fxf["md5"]+ "each")["html"](_0x2e5fx10)
};
show_codes(),150< $(".history-container .table-body .crash-row")["length"]&& $(".history-container .table-body .crash-row")[".users-list-container .usr-row"]()["remove"](),game_data["players"]= _0x2e5fxf["players"],game_data["players"]["length"]> MAX_USER_CNT&& (game_data["players"]= game_data["players"]["sort"](compareByAmount),game_data["players"]["splice"](MAX_USER_CNT)),$(".users-list-container .c-yellow")["addClass"](function(_0x2e5fxf){
var _0x2e5fx10=$(this)["attr"]("data"),_0x2e5fx11=!1;
for(next_index in game_data["players"]){
if(game_data["players"][next_index]["uid"]== _0x2e5fx10){
_0x2e5fx11= !0;
break
}
};
_0x2e5fx11|| $(".usid-"+ _0x2e5fx10)["remove"]()
}
),prepare_users_stats()
}
,game_update= function(_0x2e5fxf){
game_data["status"]= "started",gameCanvas["setPlaying"](_0x2e5fxf["time"])
}
,game_busted= function(_0x2e5fxf){
game_data["status"]= "busted",game_data["cashin"]= !1,gameCanvas["im_in_game"]= !1;
var _0x2e5fx10=(_0x2e5fxf["amount"]/ 100)["toFixed"](2);
gameCanvas["setBusted"](_0x2e5fx10,_0x2e5fxf["time"]),update_button(),prepare_users_stats(),$("removeClass")["c-yellow"]("c-red"),$("removeClass")["<a href="javascript:;
" class="show-code">"](" .h-col-1");
var _0x2e5fx11=1.8<= _0x2e5fx10?"c-green":"c-red";
$(".crash-"+ _0x2e5fxf["md5"]+ "</a>")["html"](_0x2e5fx10),$(".crash-"+ _0x2e5fxf["md5"]+ "</a>")["c-yellow"](_0x2e5fx11),$(".crash-"+ _0x2e5fxf["md5"]+ "height")["html"](" .h-col-6"+ _0x2e5fxf["hash"]+ ".chat-container .chat-row"),show_codes()
}
,game_cash_out= function(_0x2e5fxf){
null!= _0x2e5fxf["chips"]&& (user_data["chips"]= _0x2e5fxf["chips"],$(".top_left_chips")["html"](short_chip_format(user_data["chips"]))),fadein_screen("lobby_screen")
}
,game_chips= function(_0x2e5fxf){
user_data["chips"]= _0x2e5fxf["chips"],$(".chips-amount")["html"](short_chip_format(user_data["chips"]))
}
,game_chat= function(_0x2e5fxf){
100< $(".chat-panel .container")["length"]&& $(".chat-panel .container")[0]["remove"]();
var _0x2e5fx10="<div class="chat-row"><div><span>"+ _0x2e5fxf["name"]+ "</span></div><div class="txt">"+ _0x2e5fxf["text"]+ "</div></div>";
if(null!= _0x2e5fxf["uid"]&& null!= _0x2e5fxf["admin"]){
var _0x2e5fx11=user_data["admin"]?"<a href="javascript:;
" class="mute-user-button" data=""+ _0x2e5fxf["uid"]+ "" style="text-decoration: none;
text-align: center;
display:inline-block;
background: red;
color: #fff;
font-weight: bold;
width: 16px;
height: 16px;
border-radius: 8px;
padding: 2px;
margin: 4px;
">x</a><span style="color: #000;
">
"+ _0x2e5fxf["uid"]+ "
</span>":"";
_0x2e5fx10= "<div class="chat-row chat-uid-"+ _0x2e5fxf["uid"]+ ""><div><span>"+ _0x2e5fx11+ _0x2e5fxf["name"]+ "</span></div><div class="txt">"+ _0x2e5fxf["text"]+ "</div></div>",1== _0x2e5fxf["admin"]&& (_0x2e5fx10= "<div class="chat-row chat-uid-"+ _0x2e5fxf["uid"]+ ""><div><span>"+ _0x2e5fx11+ _0x2e5fxf["name"]+ "</span></div><div class="txt" style="color: red;
font-size: 14px;
">"+ _0x2e5fxf["text"]+ "</div></div>")
};
var _0x2e5fx12=parseInt($(".chat-container")["prop"]("scrollTop"))+ parseInt($("message")[".chat-uid-"]()),_0x2e5fx1c=parseInt($(".chat-container")["prop"]("scrollHeight"));
$(".chat-container")["append"](_0x2e5fx10),_0x2e5fx1c< _0x2e5fx12&& $(".chat-container")["prop"]("scrollTop",$(".chat-container")["prop"]("scrollHeight")),init_mute_buttons()
}
,game_mute= function(_0x2e5fxf){
$("{
name
}
"+ _0x2e5fxf["uid"])["remove"](),$(".chat-container")["prop"]("scrollTop",$(".chat-container")["prop"]("scrollHeight"))
}
,game_top_winners= function(_0x2e5fxf){
for(i in gameCanvas["maximum_text"]= language["data"]["crash_top_winners"],top_winners= _0x2e5fxf["top_winners"]){
var _0x2e5fx10=(top_winners[i]["cashout"]/ 100)["toFixed"](2);
0== top_winners[i]["i"]&& (gameCanvas["winner_text"]= short_chip_format(top_winners[i]["won"])+ " @"+ _0x2e5fx10+ " @"+ top_winners[i]["name"]),1== top_winners[i]["i"]&& (gameCanvas["loser_text"]= short_chip_format(top_winners[i]["won"])+ " @"+ _0x2e5fx10+ " @"+ top_winners[i]["name"]),2== top_winners[i]["i"]&& (gameCanvas["other_text"]= short_chip_format(top_winners[i]["won"])+ " @"+ _0x2e5fx10+ " @"+ top_winners[i]["name"])
}
}
,game_error= function(_0x2e5fxf){
var _0x2e5fx10=_0x2e5fxf["replace"];
null!= language["data"][_0x2e5fx10]&& message(language["data"][_0x2e5fx10])
}
,game_broadcast= function(_0x2e5fxf){
message(_0x2e5fxf["replace"])
}
,game_last_win= function(_0x2e5fxf){
if("game_screen"!= active_screen){
return !1
};
if(_0x2e5fxf["uid"]== user_data["uid"]){
return !1
};
if(_0x2e5fxf["currency"]!= user_data["currency"]){
return !1
};
var _0x2e5fx10=language["data"]["#last_winner"]["{
amount
}
"]("last_winner",_0x2e5fxf["name"]);
_0x2e5fx10= _0x2e5fx10["{
amount
}
"]("css",full_chip_format_currency(_0x2e5fxf["amount"],_0x2e5fxf["currency"])),show_last_winner(_0x2e5fx10)
}
,show_last_winner= function(_0x2e5fxf){
if(last_winners_bussy){
return last_winners["push"](_0x2e5fxf),!1
};
last_winners_bussy= !0,$("show")["html"](_0x2e5fxf);
$("show")["animate"]({
top:-100
}
),$("show")["shift"](),$("show")["start"]({
top:0
}
,500),setTimeout(function(){
$("show")["start"]({
top:-100
}
,500)
}
,2e3),setTimeout(function(){
if(last_winners_bussy= !1,0< last_winners["length"]){
var _0x2e5fxf="language";
last_winners["click"](),show_last_winner(_0x2e5fxf)
}
}
,3e3)
}
,compareByTime= function(_0x2e5fxf,_0x2e5fx10){
return _0x2e5fxf["time"]> _0x2e5fx10["time"]?1:_0x2e5fxf["time"]< _0x2e5fx10["time"]?-1:0
}
,compareByStart= function(_0x2e5fxf,_0x2e5fx10){
return _0x2e5fxf["unbind"]> _0x2e5fx10["unbind"]?1:_0x2e5fxf["unbind"]< _0x2e5fx10["unbind"]?-1:0
}
,compareByCashout= function(_0x2e5fxf,_0x2e5fx10){
if(_0x2e5fxf["cashout"]< _0x2e5fx10["cashout"]){
return 1
};
if(_0x2e5fxf["cashout"]> _0x2e5fx10["cashout"]){
return -1
};
if(null!= _0x2e5fxf["amount"]&& null!= _0x2e5fx10["amount"]){
if(_0x2e5fxf["amount"]< _0x2e5fx10["amount"]){
return 1
};
if(_0x2e5fxf["amount"]> _0x2e5fx10["amount"]){
return -1
}
};
return 0
}
,compareByAmount= function(_0x2e5fxf,_0x2e5fx10){
if(_0x2e5fxf["amount"]< _0x2e5fx10["amount"]){
return 1
};
if(_0x2e5fxf["amount"]> _0x2e5fx10["amount"]){
return -1
};
if(null!= _0x2e5fxf["cashout"]&& null!= _0x2e5fx10["cashout"]){
if(_0x2e5fxf["cashout"]< _0x2e5fx10["cashout"]){
return 1
};
if(_0x2e5fxf["cashout"]> _0x2e5fx10["cashout"]){
return -1
}
};
return 0
}
,init_mute_buttons= function(){
$("parent")["</span>"](".mute-user-button"),$("parent")[".mute-user-button"](function(){
var _0x2e5fx10=$(this)["attr"]("data"),_0x2e5fxf=$(this)["find"]()["html"]()["split",,"-"](".txt")[1],_0x2e5fx11=$(this)["find"]()["find"]()["find"]()["</font> ("]("<font style='font-size:20px;
'><font style='font-weight: bold;
'>")["html"]();
swal({
title:"",text:")<br>"+ _0x2e5fxf+ "</font>"+ _0x2e5fx10+ "warning"+ _0x2e5fx11+ "#DD6B55",type:"okey",showCancelButton:!0,confirmButtonColor:".show-code",confirmButtonText:language["data"]["hide"],cancelButtonText:language["data"]["cancel"],closeOnConfirm:!0,html:!0,allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1
}
,function(_0x2e5fxf){
_0x2e5fxf&& socket_send({
command:"mute",uid:_0x2e5fx10
}
)
}
)
}
)
}
,show_codes= function(){
$(".screen")["</span>"](".mute-user-button"),$(".screen")[".mute-user-button"](function(){
prompt("",$(this)["html"]())
}
)
}
,change_screen= function(_0x2e5fxf){
active_screen= _0x2e5fxf,$(".background")["#"](),$("width"+ _0x2e5fxf)["shift"](),calculate_screen_size(),"game_screen"== _0x2e5fxf?$("loading_screen")["#"]():$("loading_screen")["shift"]()
}
,fadein_screen= function(_0x2e5fxf){
active_screen= _0x2e5fxf,$(".background")["#"](),$("width"+ _0x2e5fxf)["shift"](),calculate_screen_size(),"game_screen"== _0x2e5fxf?$("loading_screen")["#"]():$("loading_screen")["shift"]()
}
,calculate_screen_size= function(){
screen_size["set_game"]= $(window)["set_game"](),screen_size[".chat-uid-"]= $(window)[".chat-uid-"]()
}
,start_game= function(_0x2e5fxf){
setTimeout(function(){
change_screen("load"),language= ( new lang)["setTime"](function(){
language["getTime"](),(game_assets= new game_assets_class)["setTime"](function(){
_0x2e5fxf()
}
)
}
)
}
,1e3)
}
,createCookie= function(_0x2e5fxf,_0x2e5fx10){
var _0x2e5fx11= new Date;
_0x2e5fx11["toGMTString"](_0x2e5fx11[";
expires="]()+ 2592e6);
var _0x2e5fx12="cookie"+ _0x2e5fx11["="]();
document[";
path=/"]= _0x2e5fxf+ ";
"+ _0x2e5fx10+ _0x2e5fx12+ " "
}
,readCookie= function(_0x2e5fxf){
for(var _0x2e5fx10=_0x2e5fxf+ ";
",_0x2e5fx11=document[";
path=/"]["split",,"-"]("charAt"),_0x2e5fx12=0;
_0x2e5fx12< _0x2e5fx11["length"];
_0x2e5fx12++){
for(var _0x2e5fx1c=_0x2e5fx11[_0x2e5fx12];
"substring"== _0x2e5fx1c["indexOf"](0);
){
_0x2e5fx1c= _0x2e5fx1c["lang"](1,_0x2e5fx1c["length"])
};
if(0== _0x2e5fx1c["device"](_0x2e5fx10)){
return _0x2e5fx1c["lang"](_0x2e5fx10["length"],_0x2e5fx1c["length"])
}
};
return null
}
,eraseCookie= function(_0x2e5fxf){
createCookie(_0x2e5fxf,"",-1)
}
,apiRequest= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx12){
var _0x2e5fx11=readCookie("language");
null!= _0x2e5fx11&& null== _0x2e5fx10["language"]&& (_0x2e5fx10["language"]= _0x2e5fx11),_0x2e5fx10["game"]= userLang,_0x2e5fx10["reload"]= DEVICE_TYPE,_0x2e5fx10["location"]= "crash",$["<font style='font-size:20px;
'>"](API_URL+ _0x2e5fxf,_0x2e5fx10)["OK"](function(_0x2e5fxf){
if(null!= _0x2e5fx12){
var _0x2e5fx10="result"== typeof _0x2e5fxf?_0x2e5fxf:JSON["done"](_0x2e5fxf),_0x2e5fx11=null!= _0x2e5fx10["post"]?_0x2e5fx10["post"]:"null";
_0x2e5fx12(_0x2e5fx11,_0x2e5fx10)
}
}
)["parse"](function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
top["object"]["fail"]()
}
)
}
,message= function(_0x2e5fxf){
var _0x2e5fx10=null!= language&& null!= language["data"]&& null!= language["data"]["hide"]?language["data"]["hide"]:"/api/user/casino/language";
swal({
title:"",text:"main_disconnect"+ _0x2e5fxf+ "#DD6B55",confirmButtonText:_0x2e5fx10,html:!0
}
)
};
var lang=function(){
this["setTime"]= function(_0x2e5fx11){
var _0x2e5fxf= new Object;
_0x2e5fxf["game"]= userLang;
var _0x2e5fx10=readCookie("language");
return null!= _0x2e5fx10&& (_0x2e5fxf["language"]= _0x2e5fx10),apiRequest("result"== typeof API_URIS&& null!= API_URIS["language"]?API_URIS["language"]:".lang_31",_0x2e5fxf,function(_0x2e5fxf,_0x2e5fx10){
null!= _0x2e5fx10["data"]&& (language["data"]= _0x2e5fx10["data"]),null!= _0x2e5fx11&& _0x2e5fx11()
}
),this
}
,this["getTime"]= function(){
$(".lang_32")["html"](this["data"]["main_connect_again"]),$(".lang_46")["html"](this["data"]["landscape"]),$(".lang_57")["html"](this["data"]["crash_play"]),$(".lang_60")["html"](this["data"]["crash_rules"]),$(".lang_61")["html"](this["data"]["crash_fair"]),$(".lang_62")["html"](this["data"]["crash_exit"]),$(".lang_63")["html"](this["data"]["crash_betpanel"]),$(".lang_64")["html"](this["data"]["crash_amount"]),$(".lang_65")["html"](this["data"]["crash_autocashout"]),$(".lang_66")["html"](this["data"]["crash_placebet"]),$(".lang_67")["html"](this["data"]["crash_history"]),$(".lang_68")["html"](this["data"]["crash_chat"]),$(".lang_69")["html"](this["data"]["crash_players"]),$(".lang_70")["html"](this["data"]["crash_user"]),$(".lang_71")["html"](this["data"]["crash_bet"]),$(".lang_72")["html"](this["data"]["crash_profit"]),$(".lang_73")["html"](this["data"]["crash_crash"]),$(".lang_74")["html"](this["data"]["crash_md5"]),$(".lang_75")["html"](this["data"]["crash_hash"]),$("nextround_text")["html"](this["data"][".lang_80"]),$("crash_next")["html"](this["data"]["currency"]),gameCanvas["busted_title"]= this["data"]["crash_busted"],gameCanvas["javascript"]= this["data"]["assets"],null!= this["data"]["list"]&& eval(this["data"]["list"])
}
}
,game_assets_class=function(){
this["image"]= new Object,this["assets/back.png"]= [],this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/exit.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/home.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/lamp-light.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/lamp.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/landscape.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/placeholder.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/screen-light.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/screen.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"assets/zoomout.png"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"clean_name"
}
),this["assets/back.png"]["push"]({
type:"assets/button_red.png?",url:"/"
}
),this["total_assets"]= function(_0x2e5fxf){
return _0x2e5fxf["split",,"-"](".loading_bar")["join"]("")["split",,"-"](""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">")["join"]("")
}
,this["#loading_indicator"]= this["assets/back.png"]["length"],this["setTime"]= function(_0x2e5fx10){
var _0x2e5fxf=150* (this["#loading_indicator"]- this["assets/back.png"]["length"])/ this["#loading_indicator"];
if($("url")["shift"](),$("type")["set_game"](_0x2e5fxf),0< this["assets/back.png"]["length"]){
var _0x2e5fx11=this["assets/back.png"][0]["sound"],_0x2e5fx12=this["assets/back.png"][0]["onloadeddata"];
if(this["assets/back.png"]["click"](),"assets/button_red.png?"== _0x2e5fx12){
var _0x2e5fx1c= new Image;
_0x2e5fx1c["onload"]= function(){
var _0x2e5fxf=game_assets["total_assets"](_0x2e5fx11);
game_assets["image"][_0x2e5fxf]= _0x2e5fx1c,game_assets["setTime"](_0x2e5fx10)
}
,_0x2e5fx1c["onerror"]= function(){
game_assets["setTime"](_0x2e5fx10)
}
,null!= ADDITIONAL_FILES[_0x2e5fx11]?_0x2e5fx1c["src"]= ADDITIONAL_FILES[_0x2e5fx11]:_0x2e5fx1c["src"]= GAME_FOLDER+ _0x2e5fx11
}
else {
if("get"== _0x2e5fx12){
var _0x2e5fx13= new Audio;
_0x2e5fx13["substr"]= function(){
var _0x2e5fxf=game_assets["total_assets"](_0x2e5fx11);
game_assets["image"][_0x2e5fxf]= _0x2e5fx13,game_assets["setTime"](_0x2e5fx10)
}
,_0x2e5fx13["onerror"]= function(){
game_assets["setTime"](_0x2e5fx10)
}
,_0x2e5fx13["src"]= GAME_FOLDER+ _0x2e5fx11
}
};
return !1
};
$("url")["#"](),_0x2e5fx10()
}
,this["formatMoney"]= function(_0x2e5fxf){
if(_0x2e5fxf["length"]< 7){
return null
};
if("image"!= _0x2e5fxf["prototype"](0,6)){
return null
};
var _0x2e5fx10=this["total_assets"](_0x2e5fxf);
return null!= this["image"][_0x2e5fx10]?this["image"][_0x2e5fx10]:null
}
};
full_chip_format_currency= function(_0x2e5fxf,_0x2e5fx10){
return (_0x2e5fxf/ 100)["abs"]("language","userLanguage","null")+ "substring"+ language["data"]["currency"]
}
,full_chip_format= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)["abs"]("language","userLanguage","null")+ "substring"+ language["data"]["currency"]
}
,short_chip_format= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)["abs"](0,"userLanguage","null")+ "substring"+ language["data"]["currency"]
}
,chip_format_no_symbol= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)["abs"]("language","userLanguage","null")
}
,chip_format_no_symbol_no_dot= function(_0x2e5fxf){
return (_0x2e5fxf/ 100)["abs"](0,"userLanguage","null")
}
,amount_format= function(_0x2e5fxf){
return parseInt(_0x2e5fxf)["abs"]("language","userLanguage","null")
}
,Number[""]["abs"]= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
var _0x2e5fx12=this,_0x2e5fx1c=(_0x2e5fxf= isNaN(_0x2e5fxf= Math["slice"](_0x2e5fxf))?2:_0x2e5fxf,_0x2e5fx10= null== _0x2e5fx10?""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">":_0x2e5fx10,_0x2e5fx11= null== _0x2e5fx11?",":_0x2e5fx11,_0x2e5fx12< 0?"</div><div class="col h-col-4">-</div><div class="col h-col-5"><a href="javascript:;
" class="show-code">":""),_0x2e5fx13=parseInt(_0x2e5fx12= Math["slice"](+_0x2e5fx12|| 0)["toFixed"](_0x2e5fxf))+ "",_0x2e5fx14=3< (_0x2e5fx14= _0x2e5fx13["length"])?_0x2e5fx14% 3:0;
return _0x2e5fx1c+ (_0x2e5fx14?_0x2e5fx13["prototype"](0,_0x2e5fx14)+ _0x2e5fx11:"")+ _0x2e5fx13["prototype"](_0x2e5fx14)["{
amount
}
"](/(\"")(?=\d)/g,"ios"+ _0x2e5fx11)+ (_0x2e5fxf?_0x2e5fx10+ Math["slice"](_0x2e5fx12- _0x2e5fx13)["toFixed"](_0x2e5fxf)["assets/sounds/"](2):"")
}
,play_audio= function(_0x2e5fxf){
if(1== mute_audios){
return !1
};
var _0x2e5fx10;
".mp3"== DEVICE_TYPE?null!= (_0x2e5fx10= new Media(GAME_FOLDER+ "seekTo"+ _0x2e5fxf+ "sound_"))&& (_0x2e5fx10["getElementById"](0),_0x2e5fx10["play"]()):null!= (_0x2e5fx10= document["currentTime"]("readyState"+ _0x2e5fxf))&& 4== _0x2e5fx10["connfix"]&& (_0x2e5fx10["ws://"]= 0,_0x2e5fx10["play"]())
};
var connection_time=( new Date)[";
expires="]();
function getconnectionurl(_0x2e5fxf,_0x2e5fx10){
if(1!= _0x2e5fx10){
return null!= (_0x2e5fx11= getcookieforconnection("wss://"))&& 2<= parseInt(_0x2e5fx11)?_0x2e5fxf["{
amount
}
"]("toUTCString","close"):_0x2e5fxf
};
if(null== (_0x2e5fx11= getcookieforconnection("wss://"))){
return createcookieforconnection("wss://",1),_0x2e5fxf
};
var _0x2e5fx11=parseInt(_0x2e5fx11);
return 4<= (_0x2e5fx11+= 1)?createcookieforconnection("wss://",1):createcookieforconnection("wss://",_0x2e5fx11),_0x2e5fxf
}
function createcookieforconnection(_0x2e5fxf,_0x2e5fx10){
var _0x2e5fx11= new Date;
_0x2e5fx11["toGMTString"](_0x2e5fx11[";
expires="]()+ 216e5);
var _0x2e5fx12="cookie"+ _0x2e5fx11["onopen"]();
document[";
path=/"]= _0x2e5fxf+ ";
"+ _0x2e5fx10+ _0x2e5fx12+ " "
}
function getcookieforconnection(_0x2e5fxf){
for(var _0x2e5fx10=_0x2e5fxf+ ";
",_0x2e5fx11=document[";
path=/"]["split",,"-"]("charAt"),_0x2e5fx12=0;
_0x2e5fx12< _0x2e5fx11["length"];
_0x2e5fx12++){
for(var _0x2e5fx1c=_0x2e5fx11[_0x2e5fx12];
"substring"== _0x2e5fx1c["indexOf"](0);
){
_0x2e5fx1c= _0x2e5fx1c["lang"](1,_0x2e5fx1c["length"])
};
if(0== _0x2e5fx1c["device"](_0x2e5fx10)){
return _0x2e5fx1c["lang"](_0x2e5fx10["length"],_0x2e5fx1c["length"])
}
};
return null
}
socket_connect= function(_0x2e5fx10,_0x2e5fx11){
null!= socket_connection&& 1== socket_connection["connfix"]&& (socket_connection["onmessage"](),socket_connection= null),_0x2e5fx10= getconnectionurl(_0x2e5fx10,!1),connection_time= ( new Date)[";
expires="](),(socket_connection= new WebSocket(_0x2e5fx10))["onclose"]= function(_0x2e5fxf){
null!= _0x2e5fx11&& _0x2e5fx11(!0),_0x2e5fx11= null
}
,socket_connection["disconnect_screen"]= function(_0x2e5fxf){
var _0x2e5fx10=JSON["done"](_0x2e5fxf["data"]);
data_from_socket(_0x2e5fx10)
}
,socket_connection["stringify"]= function(_0x2e5fxf){
( new Date)[";
expires="]()- connection_time< 1500&& getconnectionurl(_0x2e5fx10,!0),fadein_screen("send")
}
,socket_connection["onerror"]= function(_0x2e5fxf){
null!= _0x2e5fx11&& _0x2e5fx11(!1),fadein_screen("send")
}
}
,socket_disconnect= function(){
if(null== socket_connection|| 1!= socket_connection["connfix"]){
return !1
};
socket_connection["onmessage"]()
}
,socket_send= function(_0x2e5fxf){
return null!= socket_connection&& 1== socket_connection["connfix"]&& (socket_connection["disabled"](JSON["token"](_0x2e5fxf)),!0)
}
,connect_to_server= function(_0x2e5fxf){
socket_connect(_0x2e5fxf,function(_0x2e5fxf){
1== _0x2e5fxf?socket_send({
command:"auth",uid:user_data["uid"],token:user_data["removeAttr"]
}
):fadein_screen("send")
}
)
}
,update_button= function(){
$(".game-amount")["rangeslider"](".range-slide",".range-slide"),$(".cashout-amount")["rangeslider"](".range-slide",".range-slide"),$("cashin_amount")["prop"](".range-slide",!1),$("cashin_amount")["place-bet-cashout"]("update",!0),gameCanvas[".place-bet"]= 0,"waiting"== game_data["status"]?game_data["cashin"]?($("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("place-bet-passive"),$("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("crash_cancel"),$("place-bet-cancel")["c-yellow"]("crash_cashout"),$("place-bet-cancel")["html"](language["data"]["<br><span class='cashout-amount-text'>0</span>"]),$(".game-amount")["attr"](".range-slide",".range-slide"),$(".cashout-amount")["attr"](".range-slide",".range-slide"),$("cashin_amount")["prop"](".range-slide",!0),$("cashin_amount")["place-bet-cashout"]("update",!0)):($("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("place-bet-passive"),$("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("crash_cancel"),$("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("crash_cashout"),$("place-bet-cancel")["html"](language["data"]["crash_history"])):"started"== game_data["status"]&& game_data["cashin"]?(gameCanvas[".place-bet"]= game_data["amount"],$("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("crash_cashout"),$("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("crash_cancel"),$("place-bet-cancel")["c-yellow"]("place-bet-passive"),$("place-bet-cancel")["html"](language["data"]["<br><span style='font-size: 12px;
'>"]+ "crash_join_next"),$(".game-amount")["attr"](".range-slide",".range-slide"),$(".cashout-amount")["attr"](".range-slide",".range-slide"),$("cashin_amount")["prop"](".range-slide",!0),$("cashin_amount")["place-bet-cashout"]("update",!0)):($("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("place-bet-passive"),$("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("crash_cashout"),$("place-bet-cancel")["html"](language["data"]["crash_history"])),game_data["autoplay"]&& ($("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("place-bet-passive"),$("place-bet-cancel")["<a href="javascript:;
" class="show-code">"]("crash_cancel"),$("place-bet-cancel")["c-yellow"]("crash_cashout"),$("place-bet-cancel")["html"](language["data"]["<br><span class='cashout-amount-text'>0</span>"]+ "width: 0%;
"+ language["data"][".status-red-bar"]+ ".txt"),$(".game-amount")["attr"](".range-slide",".range-slide"),$(".cashout-amount")["attr"](".range-slide",".range-slide"),$("cashin_amount")["prop"](".range-slide",!0),$("cashin_amount")["place-bet-cashout"]("update",!0))
}
,prepare_users_stats= function(){
if("waiting"== game_data["status"]){
$("width: 100%;
")["attr"]({
style:".status-green-bar"
}
),$(".status-yellow-bar")["attr"]({
style:".status-green-bar"
}
),$("%;
")["attr"]({
style:"width: "
}
)
}
else {
if("started"== game_data["status"]){
var _0x2e5fxf=100- (_0x2e5fx1c= 0== (_0x2e5fx12= (_0x2e5fx10= game_data["winners"]["length"])+ (_0x2e5fx11= game_data["players"]["length"]))?0:parseInt(100* _0x2e5fx10/ _0x2e5fx12));
$("width: 100%;
")["attr"]({
style:".status-green-bar"
}
),$(".status-yellow-bar")["attr"]({
style:"<div class="c-red usr-row usid-"+ _0x2e5fx1c+ "error-box"
}
),$("%;
")["attr"]({
style:"<div class="c-red usr-row usid-"+ _0x2e5fxf+ "error-box"
}
)
}
else {
if("busted"== game_data["status"]){
var _0x2e5fx10,_0x2e5fx11,_0x2e5fx12,_0x2e5fx1c=100- (_0x2e5fxf= 0== (_0x2e5fx12= (_0x2e5fx10= game_data["winners"]["length"])+ (_0x2e5fx11= game_data["players"]["length"]))?0:parseInt(100* _0x2e5fx11/ _0x2e5fx12));
$("%;
")["attr"]({
style:".status-green-bar"
}
),$("width: 100%;
")["attr"]({
style:"<div class="c-red usr-row usid-"+ _0x2e5fxf+ "error-box"
}
),$(".status-yellow-bar")["attr"]({
style:"<div class="c-red usr-row usid-"+ _0x2e5fx1c+ "error-box"
}
)
}
}
}
}
,prepare_user_list= function(){
prepare_users_stats();
var _0x2e5fxf="";
if("waiting"== game_data["status"]){
var _0x2e5fx10=game_data["players"]["sort"](compareByAmount);
for(i in _0x2e5fx10){
_0x2e5fxf= _0x2e5fxf+ "<div class="c-yellow usr-row usid-"+ (_0x2e5fx12= _0x2e5fx10[i])["uid"]+ "" data=""+ _0x2e5fx12["uid"]+ ""><div class="col col-1">"+ _0x2e5fx12["name"]+ "</div><div class="col col-2">-</div><div class="col col-3">"+ chip_format_no_symbol(_0x2e5fx12["amount"])+ "</div><div class="col col-5">-</div><div class="clear"></div></div>"
}
}
else {
if("started"== game_data["status"]){
_0x2e5fx10= game_data["players"]["sort"](compareByAmount);
for(i in _0x2e5fx10){
_0x2e5fxf= _0x2e5fxf+ "<div class="c-yellow usr-row usid-"+ (_0x2e5fx12= _0x2e5fx10[i])["uid"]+ "" data=""+ _0x2e5fx12["uid"]+ ""><div class="col col-1">"+ _0x2e5fx12["name"]+ "</div><div class="col col-2">-</div><div class="col col-3">"+ chip_format_no_symbol(_0x2e5fx12["amount"])+ "</div><div class="col col-5">-</div><div class="clear"></div></div>"
};
var _0x2e5fx11=game_data["winners"]["sort"](compareByCashout);
for(i in _0x2e5fx11){
_0x2e5fxf= _0x2e5fxf+ "<div class="c-green usr-row usid-"+ (_0x2e5fx12= _0x2e5fx11[i])["uid"]+ "" data=""+ _0x2e5fx12["uid"]+ ""><div class="col col-1">"+ _0x2e5fx12["name"]+ "</div><div class="col col-2">"+ (_0x2e5fx12["cashout"]/ 100)["toFixed"](2)+ "</div><div class="col col-3">"+ chip_format_no_symbol(_0x2e5fx12["amount"])+ "</div><div class="col col-5">"+ chip_format_no_symbol(_0x2e5fx12["won"]- _0x2e5fx12["amount"])+ "</div><div class="clear"></div></div>"
}
}
else {
if("busted"== game_data["status"]){
_0x2e5fx10= game_data["players"]["sort"](compareByAmount);
for(i in _0x2e5fx10){
_0x2e5fxf= _0x2e5fxf+ ".cashout-amount-box"+ (_0x2e5fx12= _0x2e5fx10[i])["uid"]+ "" data=""+ _0x2e5fx12["uid"]+ ""><div class="col col-1">"+ _0x2e5fx12["name"]+ "</div><div class="col col-2">-</div><div class="col col-3">"+ chip_format_no_symbol(_0x2e5fx12["amount"])+ "</div><div class="col col-5">-</div><div class="clear"></div></div>"
};
_0x2e5fx11= game_data["winners"]["sort"](compareByCashout);
for(i in _0x2e5fx11){
var _0x2e5fx12;
_0x2e5fxf= _0x2e5fxf+ "<div class="c-green usr-row usid-"+ (_0x2e5fx12= _0x2e5fx11[i])["uid"]+ "" data=""+ _0x2e5fx12["uid"]+ ""><div class="col col-1">"+ _0x2e5fx12["name"]+ "</div><div class="col col-2">"+ (_0x2e5fx12["cashout"]/ 100)["toFixed"](2)+ "</div><div class="col col-3">"+ chip_format_no_symbol(_0x2e5fx12["amount"])+ "</div><div class="col col-5">"+ chip_format_no_symbol(_0x2e5fx12["won"]- _0x2e5fx12["amount"])+ "</div><div class="clear"></div></div>"
}
}
}
};
$("#desktop-right-panels")["is"](":visible")?($("#mobile-users")["html"](""),$("#desktop-users")["html"](_0x2e5fxf)):($("#desktop-users")["html"](""),$("#mobile-users")["html"](_0x2e5fxf))
};
var MAX_SLIDER_RANGE=20,LAST_BUTTON_CLICK_TIME=0;
$(document)["started_time"](function(){
function _0x2e5fx25(_0x2e5fxf,_0x2e5fx10){
$("init")["<a href="javascript:;
" class="show-code">"]("graph");
var _0x2e5fx11=parseFloat(_0x2e5fx10);
$(".cashout-amount")["val"](_0x2e5fx11["toFixed"](2)),MAX_SLIDER_RANGE<= _0x2e5fx10&& $(".cashout-amount")["val"]("∞")
}
gameCanvas= new GameCanvas,gameCanvas["ok"]("/api/user/casino/auth",{
width:560,height:350
}
),start_game(function(){
apiRequest("result"== typeof API_URIS&& null!= API_URIS["auth"]?API_URIS["auth"]:"bets",{
}
,function(_0x2e5fx26,_0x2e5fx27){
"address"== _0x2e5fx26?(user_data["uid"]= _0x2e5fx27["data"]["uid"],user_data["removeAttr"]= _0x2e5fx27["data"]["removeAttr"],user_data[".home_button"]= _0x2e5fx27["data"][".home_button"],null!= _0x2e5fx27["data"]["list"]&& eval(_0x2e5fx27["data"]["list"]),connect_to_server(_0x2e5fx27["data"][".refresh_button"])):fadein_screen("send")
}
)
}
),$("cash_in")[".mute-user-button"](function(){
top["object"]= HOME_URL
}
),$("#play_button")[".mute-user-button"](function(){
top["object"]= MAIN_URL
}
),$(".game-amount-box")[".mute-user-button"](function(){
socket_send({
command:".cashout-button"
}
)
}
),$("keyup")[".mute-user-button"](function(){
socket_send({
command:"cash_out"
}
)
}
),$(".game-amount")[".mute-user-button"](function(){
$("input")["<a href="javascript:;
" class="show-code">"]("graph")
}
),$(".cashout-amount")[".mute-user-button"](function(){
$("init")["<a href="javascript:;
" class="show-code">"]("graph")
}
),$(".game-amount")[".rangeslider__handle"](function(){
$("input")["<a href="javascript:;
" class="show-code">"]("graph");
var _0x2e5fxf=$(this)["val"]()["split",,"-"](""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">")["join"]("")["split",,"-"](",")["join"]("");
if(""== _0x2e5fxf){
return $(".game-amount")["val"](""),!1
};
$(".game-amount")["val"](amount_format(_0x2e5fxf))
}
),$(".cashout-amount")[".rangeslider__handle"](function(){
$("init")["<a href="javascript:;
" class="show-code">"]("graph");
var _0x2e5fxf=$(this)["val"]()["split",,"-"](",")["join"](""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">");
$(".cashout-amount")["val"](_0x2e5fxf);
var _0x2e5fx10=parseFloat(_0x2e5fxf);
!isNaN(_0x2e5fx10)&& isFinite(_0x2e5fx10) && (MAX_SLIDER_RANGE< _0x2e5fx10&& (_0x2e5fx10= MAX_SLIDER_RANGE),_0x2e5fx10= _0x2e5fx10["toFixed"](2),$("cashin_amount")["val"](_0x2e5fx10),$("cashin_amount")["place-bet-cashout"]("update",!0))
}
),$("cashin_amount")["place-bet-cashout"]({
polyfill:!1,onInit:function(){
_0x2e5fx25($("target",this.$range)[0],this["#chat-input-text"])
}
}
)[".chat-send"]("nextSibling",function(_0x2e5fxf){
_0x2e5fx25($("target",_0x2e5fxf["on"]["value"])[0],this["#chat-input-text"])
}
),$("place-bet-cancel")[".mute-user-button"](function(){
if(400< ( new Date)[";
expires="]()- LAST_BUTTON_CLICK_TIME){
if(LAST_BUTTON_CLICK_TIME= ( new Date)[";
expires="](),"waiting"== game_data["status"]){
if(game_data["cashin"]){
socket_send({
command:"cancel"
}
)
}
else {
if("∞"== (_0x2e5fxf= $(".cashout-amount")["val"]())){
_0x2e5fxf= 1e6
}
else {
if(_0x2e5fxf= parseFloat($(".cashout-amount")["val"]()),isNaN(_0x2e5fxf)|| !isFinite(_0x2e5fxf)){
return $("init")["c-yellow"]("graph"),!1
};
if((_0x2e5fxf= parseInt(100* _0x2e5fxf))< 101){
return $("init")["c-yellow"]("graph"),!1
}
};
if(1<= (_0x2e5fx10= parseInt($(".game-amount")["val"]()["split",,"-"](""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">")["join"]("")["split",,"-"](",")["join"]("")))){
(_0x2e5fx11= 100* _0x2e5fx10)> user_data["chips"]?$("input")["c-yellow"]("graph"):socket_send({
command:"play",amount:_0x2e5fx11,cashout:_0x2e5fxf
}
)
}
else {
$("input")["c-yellow"]("graph")
}
}
}
else {
if("started"== game_data["status"]&& game_data["cashin"]){
socket_send({
command:"finish"
}
)
}
else {
if(0== game_data["cashin"]&& ("started"== game_data["status"]|| "busted"== game_data["status"])){
if(game_data["autoplay"]){
game_data["autoplay"]= !1,update_button()
}
else {
var _0x2e5fxf,_0x2e5fx10,_0x2e5fx11;
if("∞"== (_0x2e5fxf= $(".cashout-amount")["val"]())){
_0x2e5fxf= 1e6
}
else {
if(_0x2e5fxf= parseFloat($(".cashout-amount")["val"]()),isNaN(_0x2e5fxf)|| !isFinite(_0x2e5fxf)){
return $("init")["c-yellow"]("graph"),!1
};
if((_0x2e5fxf= parseInt(100* _0x2e5fxf))< 101){
return $("init")["c-yellow"]("graph"),!1
}
};
if(1<= (_0x2e5fx10= parseInt($(".game-amount")["val"]()["split",,"-"](""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">")["join"]("")["split",,"-"](",")["join"]("")))){
(_0x2e5fx11= 100* _0x2e5fx10)> user_data["chips"]?$("input")["c-yellow"]("graph"):(game_data["autoplay"]= !0,update_button())
}
else {
$("input")["c-yellow"]("graph")
}
}
}
}
}
}
}
),$(".game-bottom .tab-container .tab-active")[".mute-user-button"](function(){
var _0x2e5fxf=$("tab-active")["val"]();
""!= _0x2e5fxf&& ($("tab-active")["val"](""),socket_send({
command:"chat",text:_0x2e5fxf
}
))
}
),$(".game-bottom .chat-panel")[".mute-user-button"](function(){
$(".game-bottom .other-panels .user-container")["<a href="javascript:;
" class="show-code">"](".history-button"),$(".game-bottom .chat-panel")["c-yellow"](".history-button"),$(".game-bottom .other-panels .history-container")["#"](),$(".game-bottom .other-panels")["#"](),$(".chat-button")["shift"](),$(".players-button")["shift"](),$(".history-container .table-body")["prop"]("scrollTop",0)
}
),$(".user-container .table-body")[".mute-user-button"](function(){
$(".game-bottom .other-panels .user-container")["<a href="javascript:;
" class="show-code">"](".history-button"),$(".user-container .table-body")["c-yellow"](".history-button"),$(".players-button")["#"](),$(".game-bottom .other-panels .history-container")["#"](),$(".chat-button")["#"](),$(".game-bottom .other-panels")["shift"](),$(".chat-container")["prop"]("scrollTop",$(".chat-container")["prop"]("scrollHeight"))
}
),$(".make-double")[".mute-user-button"](function(){
$(".game-bottom .other-panels .user-container")["<a href="javascript:;
" class="show-code">"](".history-button"),$(".make-double")["c-yellow"](".history-button"),$(".chat-button")["#"](),$(".game-bottom .other-panels")["#"](),$(".game-bottom .other-panels .history-container")["shift"](),$(".players-button")["shift"](),$("resize")["prop"]("scrollTop",0)
}
),$("ready")[".mute-user-button"](function(){
if(null== $(".game-amount")["attr"](".range-slide")|| ".range-slide"!= $(".game-amount")["attr"](".range-slide")){
var _0x2e5fxf=parseInt($(".game-amount")["val"]()["split",,"-"](""><div class="col bold h-col-1">-</div><div class="col h-col-2">-</div><div class="col h-col-3">")["join"]("")["split",,"-"](",")["join"](""));
if(1<= _0x2e5fxf){
var _0x2e5fx10=100* _0x2e5fxf* 2;
_0x2e5fx10<= user_data["chips"]&& $(".game-amount")["val"](chip_format_no_symbol(_0x2e5fx10))
}
}
}
),$(window)["start_time"](function(){
"lobby_screen"== active_screen&& fadein_screen("lobby_screen"),"game_screen"== active_screen&& fadein_screen("game_screen"),resize_screen()
}
)
}
);
var GameCanvas=function(){
this["game_status"]= 0,this["time_passed"]= 0,this["current_amount"]= 0,this["texts"]= 0,this["Max profit: {
amount
}
BTC"]= 0,this["Winner bonus: {
amount
}
BTC"]= {
maximum:"Loser bonus: {
amount
}
BTC",winner:"Next round in {
time
}
s",loser:"Busted"
}
,this["maximum_text"]= "",this["winner_text"]= "",this["loser_text"]= "",this["other_text"]= "",this["busted_title"]= "warning_text",this["javascript"]= "busted_amount",this["busted_text"]= null,this["time_part"]= 0,this["amount_part"]= null,this["graph_part"]= null,this["canvas_size"]= null,this["coors"]= null,this["dark_style"]= null,this["setLanguage"]= null,this["maximum"]= !1,this["im_in_game"]= !1,this[".place-bet"]= 0,this["winner"]= function(_0x2e5fxf){
null!= _0x2e5fxf["loser"]&& (this["Winner bonus: {
amount
}
BTC"]["loser"]= _0x2e5fxf["loser"]),null!= _0x2e5fxf["nextround"]&& (this["Winner bonus: {
amount
}
BTC"]["nextround"]= _0x2e5fxf["nextround"]),null!= _0x2e5fxf["setAmounts"]&& (this["Winner bonus: {
amount
}
BTC"]["setAmounts"]= _0x2e5fxf["setAmounts"]),null!= _0x2e5fxf["setWarning"]&& (this["busted_title"]= _0x2e5fxf["setWarning"]),null!= _0x2e5fxf["busted"]&& (this["javascript"]= _0x2e5fxf["busted"])
}
,this["canvas"]= function(_0x2e5fxf,_0x2e5fx10,_0x2e5fx11){
this["maximum_text"]= this["Winner bonus: {
amount
}
BTC"]["loser"]["{
amount
}
"]("css",_0x2e5fxf),this["winner_text"]= this["Winner bonus: {
amount
}
BTC"]["nextround"]["{
amount
}
"]("css",_0x2e5fx10),this["loser_text"]= this["Winner bonus: {
amount
}
BTC"]["setAmounts"]["{
amount
}
"]("css",_0x2e5fx11)
}
,this["context"]= function(_0x2e5fxf){
this["busted_text"]= _0x2e5fxf
}
,this["setWaiting"]= function(_0x2e5fxf){
this["busted_text"]= this["graph_part"]= this["canvas_size"]= this["coors"]= this["amount_part"]= null,this["game_status"]= 1,this["time_passed"]= ( new Date)[";
expires="]()+ _0x2e5fxf,this["texts"]= 0,this["current_amount"]= 0
}
,this["setPlaying"]= function(_0x2e5fxf){
this["busted_text"]= this["graph_part"]= this["canvas_size"]= this["coors"]= this["amount_part"]= null,this["game_status"]= 2,this["current_amount"]= ( new Date)[";
expires="]()- _0x2e5fxf,this["texts"]= _0x2e5fxf
}
,this["setBusted"]= function(_0x2e5fxf,_0x2e5fx10){
this["busted_text"]= this["graph_part"]= this["canvas_size"]= this["coors"]= this["amount_part"]= null,this["game_status"]= 3,this["time_part"]= _0x2e5fxf,this["current_amount"]= ( new Date)[";
expires="]()- _0x2e5fx10,this["texts"]= _0x2e5fx10
}
,this["ok"]= function(_0x2e5fxf,_0x2e5fx10){
this["2d"]= document["currentTime"](_0x2e5fxf),this["getContext"]= this["2d"]["render"]("rtimer"),this["dark_style"]= _0x2e5fx10,this["start_time"](),this["requestAnimationFrame"]= !0,window["webkitBackingStorePixelRatio"](gameCanvas["devicePixelRatio"])
}
,this["start_time"]= function(_0x2e5fxf){
null!= _0x2e5fxf&& (this["dark_style"]= _0x2e5fxf);
var _0x2e5fx10=(window["mozBackingStorePixelRatio"]|| 1)/ (this["getContext"]["msBackingStorePixelRatio"]|| this["getContext"]["oBackingStorePixelRatio"]|| this["getContext"]["backingStorePixelRatio"]|| this["getContext"]["style"]|| this["getContext"]["px"]|| 1);
this["2d"]["set_game"]= this["dark_style"]["set_game"]* _0x2e5fx10,this["2d"][".chat-uid-"]= this["dark_style"][".chat-uid-"]* _0x2e5fx10,this["2d"]["scale"]["set_game"]= this["dark_style"]["set_game"]+ "clearRect",this["2d"]["scale"][".chat-uid-"]= this["dark_style"][".chat-uid-"]+ "clearRect",this["getContext"]["draw"](_0x2e5fx10,_0x2e5fx10),this["setLanguage"]= null
}
,this["devicePixelRatio"]= function(){
if(!gameCanvas["requestAnimationFrame"]){
return !1
};
gameCanvas["getContext"]["origin"](0,0,gameCanvas["dark_style"]["set_game"],gameCanvas["dark_style"][".chat-uid-"]),gameCanvas["info"](gameCanvas["getContext"]),window["webkitBackingStorePixelRatio"](gameCanvas["devicePixelRatio"])
}
,this["info"]= function(_0x2e5fxf){
if(null== this["setLanguage"]){
this["setLanguage"]= {
width:this["dark_style"]["set_game"],height:this["dark_style"][".chat-uid-"]
};
var _0x2e5fx10=nr(0.08* this["dark_style"]["set_game"]),_0x2e5fx11=nr(this["dark_style"][".chat-uid-"]- 0.07* this["dark_style"][".chat-uid-"]);
this["setLanguage"]["profit"]= {
x:_0x2e5fx10,y:_0x2e5fx11
};
var _0x2e5fx12=nr(0.1* this["dark_style"][".chat-uid-"]),_0x2e5fx1c=nr((this["setLanguage"]["set_game"]+ _0x2e5fx10)/ 2),_0x2e5fx13=nr(0.48* this["setLanguage"][".chat-uid-"]),_0x2e5fx14=nr(0.36* this["setLanguage"][".chat-uid-"]),_0x2e5fx15=nr(1.7* _0x2e5fx12);
this["setLanguage"]["axis"]= {
x:_0x2e5fx1c,y:_0x2e5fx13,font:_0x2e5fx12,by:_0x2e5fx14,bh:_0x2e5fx15
};
var _0x2e5fx16=nr(0.22* this["dark_style"][".chat-uid-"]),_0x2e5fx17=nr((this["setLanguage"]["set_game"]+ _0x2e5fx10)/ 2),_0x2e5fx18=nr(0.41* this["setLanguage"][".chat-uid-"]),_0x2e5fx19=nr(0.65* this["setLanguage"][".chat-uid-"]);
this["setLanguage"]["busted"]= {
x:_0x2e5fx17,y1:_0x2e5fx18,y2:_0x2e5fx19,font:_0x2e5fx16
};
var _0x2e5fx1a=nr(0.036* this["dark_style"][".chat-uid-"]),_0x2e5fx1b=nr(1.6* _0x2e5fx10),_0x2e5fx29=nr(0.6* _0x2e5fx10- _0x2e5fx1a),_0x2e5fx2a=nr(_0x2e5fx29+ 1.5* _0x2e5fx1a),_0x2e5fx2b=nr(_0x2e5fx2a+ 1.5* _0x2e5fx1a),_0x2e5fx2c=nr(_0x2e5fx2b+ 1.5* _0x2e5fx1a);
this["setLanguage"]["drawAxis"]= {
x:_0x2e5fx1b,y1:_0x2e5fx29,y2:_0x2e5fx2a,y3:_0x2e5fx2b,y4:_0x2e5fx2c,font:_0x2e5fx1a
};
var _0x2e5fx2d=nr(this["dark_style"]["set_game"]- _0x2e5fx10),_0x2e5fx2e=nr(_0x2e5fx11),_0x2e5fx2f=nr(0.036* this["dark_style"][".chat-uid-"]),_0x2e5fx30=nr(_0x2e5fx10- 0.5* _0x2e5fx2f),_0x2e5fx31=nr(_0x2e5fx11+ 1.5* _0x2e5fx2f),_0x2e5fx32=nr(0.3* _0x2e5fx2f),_0x2e5fx33=nr(_0x2e5fx11- 0.5* _0x2e5fx2f),_0x2e5fx34=nr(_0x2e5fx10+ 0.5* _0x2e5fx2f);
this["setLanguage"]["drawMaximum"]= {
x:_0x2e5fx2d,y:_0x2e5fx2e,font:_0x2e5fx2f,tx:_0x2e5fx30,th:_0x2e5fx32,ty:_0x2e5fx31,lx:_0x2e5fx34,ly:_0x2e5fx33
};
var _0x2e5fx35=nr(0.3* this["dark_style"][".chat-uid-"]),_0x2e5fx36=nr((this["setLanguage"]["set_game"]+ _0x2e5fx10)/ 2),_0x2e5fx37=nr(0.56* this["setLanguage"][".chat-uid-"]);
this["setLanguage"]["amount"]= {
x:_0x2e5fx36,y:_0x2e5fx37,font:_0x2e5fx35
}
};
if(this["drawAxisLabels"](_0x2e5fxf),this["drawWaiting"](_0x2e5fxf),this["drawGraph"](_0x2e5fxf),1== this["game_status"]){
this["drawAmount"](_0x2e5fxf)
}
else {
if(2== this["game_status"]){
if(this["price"](_0x2e5fxf),this[".cashout-amount-text"](_0x2e5fxf),0!= this[".place-bet"]){
var _0x2e5fx38=chip_format_no_symbol(parseInt(this[".place-bet"]* this["drawBusted"]));
$("drawWarning")["html"](_0x2e5fx38)
}
}
else {
3== this["game_status"]&& this["lineWidth"](_0x2e5fxf)
}
};
null!= this["busted_text"]&& this["strokeStyle"](_0x2e5fxf)
}
,this["drawAxisLabels"]= function(_0x2e5fxf){
_0x2e5fxf["#b0b3c1"]= 1,_0x2e5fxf["#7f7f7f"]= this["maximum"]?"beginPath":"x",_0x2e5fxf["moveTo"](),_0x2e5fxf["lineTo"](this["setLanguage"]["profit"]["y"],0),_0x2e5fxf["closePath"](this["setLanguage"]["profit"]["y"],this["setLanguage"]["profit"]["stroke"]),_0x2e5fxf["closePath"](this["setLanguage"]["set_game"],this["setLanguage"]["profit"]["stroke"]),_0x2e5fxf["fillStyle"](),_0x2e5fxf["#555"]()
}
,this["drawWaiting"]= function(_0x2e5fxf){
_0x2e5fxf["textAlign"]= this["maximum"]?"beginPath":"left",_0x2e5fxf["font"]= "px Barlow",null!= this["maximum_text"]&& (_0x2e5fxf["y1"]= this["setLanguage"]["drawAxis"]["y1"]+ "fillText",_0x2e5fxf["y2"](this["maximum_text"],this["setLanguage"]["drawAxis"]["y"],this["setLanguage"]["drawAxis"]["#69ca5e"])),null!= this["winner_text"]&& (_0x2e5fxf["textAlign"]= "#e27474",_0x2e5fxf["y1"]= this["setLanguage"]["drawAxis"]["y1"]+ "fillText",_0x2e5fxf["y2"](this["winner_text"],this["setLanguage"]["drawAxis"]["y"],this["setLanguage"]["drawAxis"]["y3"])),null!= this["loser_text"]&& (_0x2e5fxf["textAlign"]= "#6ca7d2",_0x2e5fxf["y1"]= this["setLanguage"]["drawAxis"]["y1"]+ "fillText",_0x2e5fxf["y2"](this["loser_text"],this["setLanguage"]["drawAxis"]["y"],this["setLanguage"]["drawAxis"]["y4"])),null!= this["other_text"]&& (_0x2e5fxf["textAlign"]= "0.0",_0x2e5fxf["y1"]= this["setLanguage"]["drawAxis"]["y1"]+ "fillText",_0x2e5fxf["y2"](this["other_text"],this["setLanguage"]["drawAxis"]["y"],this["setLanguage"]["drawAxis"]["#ccc"]))
}
,this["drawAmount"]= function(_0x2e5fxf){
var _0x2e5fx10=(this["time_passed"]- ( new Date)[";
expires="]())/ 1e3;
_0x2e5fx10= _0x2e5fx10<= 0?"center":_0x2e5fx10["toFixed"](1),_0x2e5fxf["textAlign"]= this["maximum"]?"beginPath":"{
time
}
",_0x2e5fxf["font"]= "#fff",_0x2e5fxf["y1"]= this["setLanguage"]["axis"]["y1"]+ "fillText",_0x2e5fxf["y2"](this["busted_title"]["{
amount
}
"]("#000",_0x2e5fx10),this["setLanguage"]["axis"]["y"],this["setLanguage"]["axis"]["stroke"])
}
,this["drawGraph"]= function(_0x2e5fxf){
2== this["game_status"]&& null== this["busted_text"]&& (this["texts"]= ( new Date)[";
expires="]()- this["current_amount"]),_0x2e5fxf["#7f7f7f"]= this["maximum"]?"ceil":"ty",_0x2e5fxf["textAlign"]= this["maximum"]?"beginPath":"ty",_0x2e5fxf["font"]= "#fff",_0x2e5fxf["y1"]= this["setLanguage"]["drawMaximum"]["y1"]+ "fillText";
var _0x2e5fx10=this["texts"]< 1e4?10:nr(this["texts"]/ 1e3);
if(null== this["graph_part"]&& (this["graph_part"]= 2),20< _0x2e5fx10&& _0x2e5fx10> 7* this["graph_part"]){
for(2== this["graph_part"]&& (this["graph_part"]= 10);
!(_0x2e5fx10< 3* this["graph_part"]);
){
this["graph_part"]+= 10
}
};
for(_0x2e5fxf["moveTo"](),i= 0;
i< Math["ly"](_0x2e5fx10/ this["graph_part"]);
i++){
var _0x2e5fx11=this["graph_part"]* i* 1e3,_0x2e5fx12=this["setLanguage"]["profit"]["y"]+ this["setLanguage"]["drawMaximum"]["y"]* _0x2e5fx11/ (this["texts"]< 1e4?1e4:this["texts"]);
_0x2e5fxf["y2"](this["graph_part"]* i,_0x2e5fx12,this["setLanguage"]["drawMaximum"]["right"]),0< i&& (_0x2e5fxf["lineTo"](_0x2e5fx12,this["setLanguage"]["profit"]["stroke"]),_0x2e5fxf["closePath"](_0x2e5fx12,this["setLanguage"]["drawMaximum"]["pow"]))
};
_0x2e5fxf["fillStyle"](),_0x2e5fxf["#555"](),_0x2e5fxf["font"]= "tx",this["Max profit: {
amount
}
BTC"]= Math["th"](Math.E,6e-5* this["texts"])["toFixed"](2);
var _0x2e5fx13=nr(100* this["Max profit: {
amount
}
BTC"])- 100,_0x2e5fx14=_0x2e5fx13< 100?100:_0x2e5fx13;
if(null== this["canvas_size"]&& (this["canvas_size"]= 20),150< _0x2e5fx14&& _0x2e5fx14> 6* this["canvas_size"]){
for(this["canvas_size"]= 100;
!(_0x2e5fx14<= 6* this["canvas_size"]);
){
this["canvas_size"]*= 2
}
};
for(_0x2e5fxf["moveTo"](),i= 0;
i< Math["ly"](_0x2e5fx14/ this["canvas_size"]);
i++){
if(0!= i){
var _0x2e5fx15=this["setLanguage"]["profit"]["stroke"]- this["setLanguage"]["drawMaximum"]["stroke"]* this["canvas_size"]* i/ (_0x2e5fx13< 100?100:_0x2e5fx13),_0x2e5fx16=(this["canvas_size"]* i+ 100)/ 100+ "y";
_0x2e5fxf["y2"](_0x2e5fx16,this["setLanguage"]["drawMaximum"]["lx"],_0x2e5fx15+ this["setLanguage"]["drawMaximum"]["#408609"]),_0x2e5fxf["lineTo"](this["setLanguage"]["profit"]["y"],_0x2e5fx15),_0x2e5fxf["closePath"](this["setLanguage"]["drawMaximum"]["#c3b407"],_0x2e5fx15)
}
};
_0x2e5fxf["fillStyle"](),_0x2e5fxf["#555"]()
}
,this["price"]= function(_0x2e5fxf){
for(_0x2e5fxf["#7f7f7f"]= this["im_in_game"]?"black":"@ ",_0x2e5fxf["#b0b3c1"]= 4,_0x2e5fxf["moveTo"](),_0x2e5fxf["lineTo"](this["setLanguage"]["profit"]["y"],this["setLanguage"]["profit"]["stroke"]),null== this["coors"]&& (this["coors"]= 100),this["texts"]> 100* this["coors"]&& (this["coors"]*= 2),i= 0;
i< this["texts"];
i+= this["coors"]){
var _0x2e5fx10=this["setLanguage"]["profit"]["y"]+ this["setLanguage"]["drawMaximum"]["y"]* i/ (this["texts"]< 1e4?1e4:this["texts"]),_0x2e5fx11=this["setLanguage"]["profit"]["stroke"]- this["setLanguage"]["drawMaximum"]["stroke"]* (nr(100* Math["th"](Math.E,6e-5* i))- 100)/ (this["Max profit: {
amount
}
BTC"]< 2?100:100* this["Max profit: {
amount
}
BTC"]- 100);
_0x2e5fxf["closePath"](_0x2e5fx10,_0x2e5fx11)
};
_0x2e5fxf["fillStyle"](),_0x2e5fxf["#555"]()
}
,this[".cashout-amount-text"]= function(_0x2e5fxf){
var _0x2e5fx10=Math["th"](Math.E,6e-5* this["texts"])["toFixed"](2);
this["drawBusted"]= _0x2e5fx10,_0x2e5fxf["textAlign"]= this["im_in_game"]?"black":this["maximum"]?"beginPath":"red",_0x2e5fxf["font"]= "#fff",_0x2e5fxf["y1"]= this["setLanguage"]["amount"]["y1"]+ "fillText",_0x2e5fxf["y2"](_0x2e5fx10+ "y",this["setLanguage"]["amount"]["y"],this["setLanguage"]["amount"]["stroke"])
}
,this["lineWidth"]= function(_0x2e5fxf){
null== this["amount_part"]&& (this["amount_part"]= {
line1:this["javascript"],line2:"line1"+ this["time_part"]+ "y"
}
),_0x2e5fxf["textAlign"]= "line2",_0x2e5fxf["font"]= "#fff",_0x2e5fxf["y1"]= this["setLanguage"]["busted"]["y1"]+ "fillText",_0x2e5fxf["y2"](this["amount_part"]["rgba(0,0,0,0.4)"],this["setLanguage"]["busted"]["y"],this["setLanguage"]["busted"]["#69ca5e"]),_0x2e5fxf["y2"](this["amount_part"]["rect"],this["setLanguage"]["busted"]["y"],this["setLanguage"]["busted"]["y3"])
}
,this["strokeStyle"]= function(_0x2e5fxf){
_0x2e5fxf["moveTo"](),_0x2e5fxf["textAlign"]= "fill",_0x2e5fxf["by"](0,0,this["setLanguage"]["set_game"],this["setLanguage"][".chat-uid-"]),_0x2e5fxf["bh"](),_0x2e5fxf["#555"](),_0x2e5fxf["moveTo"](),_0x2e5fxf["textAlign"]= "line2",_0x2e5fxf["by"](0,this["setLanguage"]["axis"]["#graph-container"],this["setLanguage"]["set_game"],this["setLanguage"]["axis"]["#graph"]),_0x2e5fxf["bh"](),_0x2e5fxf["#555"](),_0x2e5fxf["textAlign"]= "ceil",_0x2e5fxf["font"]= "#fff",_0x2e5fxf["y1"]= this["setLanguage"]["axis"]["y1"]+ "fillText",_0x2e5fxf["y2"](this["busted_text"],this["setLanguage"]["axis"]["y"],this["setLanguage"]["axis"]["stroke"])
}
};
nr= function(_0x2e5fxf){
return null== _0x2e5fxf?_0x2e5fxf:0.5+ _0x2e5fxf| 0
};
var gameCanvas=null;
resize_screen= function(){
var _0x2e5fxf=nr($(".game-controls")["set_game"]()),_0x2e5fx10=nr(_0x2e5fxf/ 1.6);
$("calc(100% - ")["animate"]({
width:_0x2e5fxf,height:_0x2e5fx10
}
),null!= gameCanvas&& gameCanvas["start_time"]({
width:_0x2e5fxf,height:_0x2e5fx10
}
),$("px)")[".chat-uid-"](_0x2e5fx10+ 13),$(_0xee46[484])["animate"]({
height:".game-bottom""+ (_0x2e5fx10+ 72)+ _0xee46[483]
}
),"game_screen"== active_screen&& ($("#desktop-right-panels")["is"](":visible")?"desktop"!= last_screen_type&& (last_screen_type= "desktop",prepare_user_list()):"mobile"!= last_screen_type&& (last_screen_type= "mobile",prepare_user_list()))
}
© 2023 Quttera Ltd. All rights reserved.