function getiPadModel(){return window.screen.height/window.screen.width==1024/768?(window.devicePixelRatio,"iPad"):window.screen.height/window.screen.width==1112/834||window.screen.height/window.screen.width==1366/1024?"iPad":"Not an iPad"}let ua=navigator.userAgent.toLowerCase();function shuffleArray(e){for(var a,t,o=e.length;o;)t=Math.floor(Math.random()*o--),a=e[o],e[o]=e[t],e[t]=a;return e}function _ga(e="register",a="confirm"){if("function"==typeof gtag){try{gtag("event",e,a)}catch(e){return console.log("Error in Gtag",e)}return console.log("Google Gtag Success Sending Data.")}}function track_event_fbq(e,a){if("function"==typeof fbq){try{fbq(e,a)}catch(e){return console.log("Error in Facebook fbq",e)}return console.log("Facebook Analytic Success Sending Data.")}}if(-1==ua.indexOf("safari")&&-1==ua.indexOf("mac os x")||ua.indexOf("chrome")>-1||"iPad"===getiPadModel()&&"#alert_game_problem"!==window.location.hash&&(window.location.href="/app/openExternalBrowser/1.html"),$(document).ready((function(){let e=new URLSearchParams(window.location.search);if(e.get("pid")&&Cookies.get("pid")!=e.get("pid")&&Cookies.set("pid",e.get("pid"),{expires:30}),function(){const e=new URL(/window.location.href),a=e.searchParams.get("login"),t=e.searchParams.get("user")||"-";if(!a)return;const o=(_theme.siteName||"").toLowerCase();let n=msg_img.confuse;["mnl168","phl63","ssbet77","ubet95","phv88","kodluck"].includes(o)&&(n=_theme.logo_mobile),"betluckmak"===o&&(n=`${_theme.imgPath}/icon/general/login.webp`);const i=()=>{e.searchParams.delete("login"),e.searchParams.delete("user"),window.history.replaceState({},document.title,e.toString()),swal.close()},r={imageUrl:n,showCancelButton:!1,confirmButtonText:'ตกลง',timer:3e3,closeOnConfirm:!0};"success"!==a?"failed"===a?swal({...r,title:'เข้าสู่ระบบล้มเหลว',text:'Social login is currently unavailable. Please try another login method or contact support.'},i):"account_exist"===a&&swal({...r,title:'เข้าสู่ระบบล้มเหลว',text:'This social account is already linked to an existing account.Please sign in using your original login method.'},i):swal({...r,title:'เข้าสู่ระบบสำเร็จ\nUsername : '+t},i)}(),$("#logo").on("contextmenu",(function(e){return!1})),$("a,a.btn,a.play_game").on("click",(function(){$(this).addClass("disabled-game"),$(".the-content,body").addClass("disabled-game");let e=$(this);setTimeout((function(){e.removeClass("disabled-game"),$(".the-content,body").removeClass("disabled-game")}),200)})),"/forgotPassword"===window.location.pathname&&(_theme.forgotPassword.enabled||(window.location.href="/")),"/report"===window.location.pathname){let e="";new URLSearchParams(window.location.search).get("checkturn")&&(e="checkturn=1&"),$("#logsFrame")&&$("#logsFrame").attr("src","/app?content_only=1&"+e+"page-go=logs#/info-tabs/logs")}if("/reward"===window.location.pathname){let e=new URLSearchParams(window.location.search),a="";e.get("cashback")&&(a="cashback=1&"),e.get("loyalty")&&(a="loyalty=1&"),e.get("giftbonus")&&(a="giftbonus=1&"),$("#rewardFrame")&&$("#rewardFrame").attr("src","/app?content_only=1&"+a+"page-go=reward#/info-tabs/reward")}if("/register"===window.location.pathname){let e=new URLSearchParams(window.location.search),a="",t=e.toString()?"&"+e.toString():"",o=_theme.verifyToken?_theme.verifyToken:"";void 0!==_theme.register_auto_truename||"undefined"!==_theme.register_type_phone?_theme.register_auto_truename?a="thb999"==_theme.siteName&&Cookies.get("pid")&&"106"==Cookies.get("pid")?`/app?content_only=1&verifyToken=${o}${t}#/register-type-dubai`:`/app?content_only=1&verifyToken=${o}${t}#/register-auto-truename`:_theme.register_type_phone?"550ww"===_theme.siteName||"jdbAA"===_theme.siteName||"Zak168"===_theme.siteName||"jdbjhl"===_theme.siteName||"MWD666"===_theme.siteName||"dexi777"===_theme.siteName||"true788"===_theme.siteName||"mthai7"===_theme.siteName||"rpg666"===_theme.siteName?a=`/app?content_only=1&verifyToken=${o}${t}#/register-type-phone-th`:"thb999"==_theme.siteName?Cookies.get("pid")&&(a="106"==Cookies.get("pid")?`/app?content_only=1&verifyToken=${o}${t}#/register-type-dubai`:`/app?content_only=1&verifyToken=${o}${t}#/register-type-phone`):a=`/app?content_only=1&verifyToken=${o}${t}#/register-type-phone`:a=`/app?content_only=1&verifyToken=${o}${t}#/register`:a=`/app?content_only=1&verifyToken=${o}${t}#/register`,$("#registerFrame").attr("src",a)}if("/forgotPassword"===window.location.pathname||"/forgotpassword"===window.location.pathname){let e=`/app?content_only=1&verifyToken=${_theme.verifyToken?_theme.verifyToken:""}#/forgotPassword`;$("#forgotPasswordFrame").attr("src",e)}if("/aoxx"===window.location.pathname){$("html").attr("lang")&&$("html").attr("lang");let e=decodeURIComponent((window.location.search+"").replace(/%(?![\da-f]{2})/gi,(function(){return"%25"})).replace(/\+/g,"%20")),a="/app?content_only=1&"+decodeURIComponent(decodeURIComponent(e)).split("?")[1]+"#/aoxx";$("#aoxxFrame").attr("src",a)}var a=!1;if($(".js-menu, .nav_menu li a, .nav-bg").on("click",(function(){a?($(".js-menu").removeClass("active"),$("body").removeClass("menu-open"),$(".nav-bg").removeClass("visible")):($(".js-menu").addClass("active"),$("body").addClass("menu-open"),$(".nav-bg").addClass("visible")),a=!a})),$('[data-toggle="dropdown"]').on("touches",(function(){})),$("video").contextmenu((function(){return!1})),$('a[data-toggle="dropdown"]').on("click",(function(){$(this).dropdown("toggle")})),isIE()&&$("body").css("background-attachment","inherit !important"),$(".downloadApp").slick({infinite:!1,dots:!0}).on("afterChange",(function(e,a,t,o){var n=$(this).parent().parent().parent().find(".btn-close"),i=$(this).parent().parent().parent().find(".btn-next");0!==t?(n.removeClass("hidden"),i.addClass("hidden")):(i.removeClass("hidden"),n.addClass("hidden"))})),$(".modal").on("show.bs.modal",(function(){$(window).trigger("resize"),$(".downloadApp").slick("slickGoTo",0)})).on("shown.bs.modal",(function(){$(window).trigger("resize")})),$(".nav-tabs a").click((function(e){e.preventDefault(),$(this).tab("show");var a=$("body").scrollTop()||$("html").scrollTop();window.location.hash=this.hash,$("html,body,.the-content").scrollTop(a)})),$("[data-regex]").each((function(e,a){$(a).limitRegex($(a).data("regex"),$(a).attr("maxlength"))})),window.location.hash)if("/"==window.location.pathname){if("#play-game"==window.location.hash){var t=new URLSearchParams(window.location.search),o=t.get("vendor"),n=t.get("g"),i=t.get("m"),r=$("#page").injector().get("$rootScope");return void setTimeout((function(){r.play_game(o,n,i,!1,"",r.userdata)}),500)}setTimeout((function(){$('[data-scroll-to="'+window.location.hash+'"]').click(),$('[data-click-to="'+window.location.hash+'"]').click(),parent.location.hash=""}),1e3)}else $('[href="'+window.location.hash+'"]').click();$(".btn-game").on("click",(function(){if("#play-game"==$(this).attr("href")){var e=$(this).data("vendor"),a=$(this).data("gtype"),t=$(this).data("mtype");if($("#game-frame").length){var o=$("#page").injector().get("$rootScope");o.play_game(e,a,t,!1,"",o.userdata)}else window.location.href="/vendor/.html"+e+"&g="+a+"&m="+t+"#play-game"}}));var s=[{src:`${_theme.imgPath}/video/HD720_FormosaBear_SCH.mp4`,gameId:8006},{src:`${_theme.imgPath}/video/HD720_LuckyDragons_SCH.mp4`,gameId:8001},{src:`${_theme.imgPath}/video/HD720_LuckyLion_SCH.mp4`,gameId:8014},{src:`${_theme.imgPath}/video/HD720_Llama_SCH.mp4`,gameId:8005},{src:`${_theme.imgPath}/video/HD720_WinningMask_SCH.mp4`,gameId:8003}],l=-1;s=shuffleArray(s),$("#vidRank").length&&($("#vidRank").bind("ended",(function(){++l>=s.length&&(l=0),$(this).attr("src",s[l].src).get(0)})).trigger("ended").get(0).volume=0),$(".pro-value").limitRegex(/^[0-9]{0,16}$/),$(".pro-value").on("input",(function(){parseInt($(this).data("min"));var e=parseInt($(this).data("max"));$(this).val()>e&&$(this).val(e)})).on("blur",(function(){(""===$(this).val()||parseInt($(this).val())<$(this).data("min"))&&$(this).val($(this).data("min"))})),$(".join-promotion-model").on("click",(function(){let e=parseInt($(this).parents("#AmountOfMoney").find(".pro-value").val()),a=$(this).data("amount");null==a&&(a=e),console.log($(this).data("another_pro"));let t=$(this).data("pro"),o=($(this).data("display"),$(this).data("type"),!!$(this).data("another_pro")&&$(this).data("another_pro"));ajax("/api/approved",(function(e){var n='- กรุณาเปลี่ยนรหัสผ่านใหม่
',i='- กรุณายืนยันบัตรปชช.
',r='- ชื่อบัญชีธนาคาร';let s={};if("object"!=typeof e.status&&(s=JSON.parse(e.status)),!e.success&&"PAGE_NOT_CHECK_APPROVE"!=e.code&&"MEMBER_APPROVE_NOT_ENABLED"!=e.code){s.status_first_login&&(n=""),s.status_id_card&&(i=""),s.status_bank&&(r="");let e='Please contact the customer service to verify your account before use';return"Ubet89"!==_theme.siteName&&"Ubet78"!==_theme.siteName&&"88fed"!==_theme.siteName||(e='Please wait for confirm before enter'),swal({title:e+' ร่วมโปรโมชั่น',text:n+i+r,imageUrl:msg_img.fail,showCancelButton:!1,html:!0,imageSize:"100x100",confirmButtonText:'ตกลง'},(function(){return window.location.href="/new_profile/"}))}swal({title:"ยืนยันการเข้าร่วมโปรโมชั่น",text:"คุณต้องการเข้าร่วมโปรโมชั่นนี้หรือไม่",imageUrl:msg_img.confuse,imageSize:"100x100",showCancelButton:!0,closeOnConfirm:!1,showLoaderOnConfirm:!0,confirmButtonText:"ตกลง",cancelButtonText:"ยกเลิก"},(function(){ajax("/enter_promotion",(function(e){var a=!1;if(e.success)swal({title:"เข้าร่วมโปรโมชั่นเสร็จสมบูรณ์แล้ว.",imageUrl:msg_img.success,confirmButtonText:"ตกลง"},(function(){document.location.href="/"}));else switch(e.msg){case"JOINABLE_BUTTON_IS_CLOSE":case"PROMOTION_IS_CLOSE":a="Cannot join promotion because promotion is closed.";break;case"You not confirmed ID card":a="โปรดรอการอนุมัติบัตรประจำตัวประชาชน";break;case"You not add ID card":a="บัตรประชาชนยังไม่ได้เพิ่ม หรืออนุมัติ.";break;case"The ID promotion is incorrect. Please contact customer service.":a="รหัสโปรโมชั่นไม่ถูกต้อง กรุณาติดต่อฝ่ายบริการลูกค้า.";break;case"ERROR_CANNOT_JOIN_LOCKED_PROMOTION":a="You have already participated in another similar promotion.";break;case"You have not bound the bank card, please bind the bank card and then operate":a="คุณยังไม่ได้เพิ่มข้อมูลผู้ใช้งาน กรุณาเพิ่มข้อมูลผู้ใช้งานก่อนดำเนินการ";break;case"Error, Edit member data failed.":a="ผิดพลาด ไม่สามารถแก้ไขข้อมูลได้";break;case"Error, no such promotion":a="ผิดพลาด ไม่มีรายการนี้";break;case"Get member data error":a="ไม่สามารถเชื่อมต่อข้อมูลผู้ใช้";break;case"The start time of the promotion has not been reached.":a="ยังไม่ถึงเวลาที่เริ่มโปรโมชั่น.";break;case"The promotion has expired.":a="โปรโมชั่นได้หมดอายุแล้ว.";break;case"This promotion is not open yet":a="โปรโมชั่นนี้ยังไม่เปิดใช้งาน";break;case"The required credit to participate in this promotion is not sufficient.":a="มีเครดิตสำหรับการเข้าร่วมโปรโมชั่นนี้ ไม่เพียงพอ.";break;case"The number of participants in this promotion has been full.":a="จำนวนผู้เข้าร่วมโปรโมชั่นนี้เต็มแล้ว.";break;case"The number of participants in this promotion today has been full.":a="จำนวนผู้เข้าร่วมโปรโมชั่นนี้ในวันนี้เต็มแล้ว.";break;case"Cannot join this promotion. Over limit per day":a="Cannot join this promotion. Over limit per day";break;case"Your account is still in this promotion or another promotion.":a="บัญชีของคุณยังอยู่ในโปรโมชั่นนี้ หรือโปรโมชั่นอื่น.";break;case"Before the turnover promotion not enough":a="ค่าเทิร์นโอเวอร์ก่อนหน้านี้มีเพียงพอ";break;case"Balance is not enough.":a="ยอดเงินคงเหลือไม่เพียงพอ.";break;case"Your account has completely already got this promotion.":a="บัญชีของคุณเคยได้รับโปรโมชั่นนี้เรียบร้อยแล้ว.";break;case"MUST_BILL_IN_1_TIME_FIRST":a="เพื่อเข้าร่วมโปรโมชั่นนี้ คุณต้องทำการฝากเงินอย่างน้อยหนึ่งครั้ง.";break;case"E-Wallet Balance Not Enough.":a="E-Wallet Balance Not Enough.";break;case"Can not enter promotion, Now member playing games.":a="Can not enter promotion, Now member playing games.";break;case"MUST_BILL_IN_1_TIME":a="เพื่อเข้าร่วมโปรโมชั่นนี้ คุณต้องทำการฝากเงินอย่างน้อยหนึ่งครั้ง. : ",a="data"in e?"jdbYG"===_theme.siteName||"bagan888"===_theme.siteName||"jdbkk"===_theme.siteName||"gkk777"===_theme.siteName||"myn77"===_theme.siteName||"live368"===_theme.siteName||"mmbet99"===_theme.siteName||"gog777"===_theme.siteName||"mandalay888"==_theme.siteName||"shwe666"==_theme.siteName||"ppg11"==_theme.siteName||"shall777"==_theme.siteName||"jdbkx"==_theme.siteName||"yg168"==_theme.siteName||"spin368"==_theme.siteName||"topslot"==_theme.siteName||"popeye888"==_theme.siteName||"pro9"==_theme.siteName||"kyat365"==_theme.siteName||"kst777"==_theme.siteName||"shwe999"==_theme.siteName||"jiliam"==_theme.siteName?a+""+e.data+" เครดิด":"mnl168"===_theme.siteName||"phl63"===_theme.siteName||"ssbet77"===_theme.siteName||"ubet95"===_theme.siteName?a+""+e.data+" "+_theme.currency:"pph855"===_theme.siteName&&_theme.money_sign?a+""+e.data+" "+_theme.money_sign:a+""+e.data+" "+_theme.currency:a+""+e.data+" "+_theme.currency;break;case"Confirm deletion of the mail?":a="ยืนยันลบข้อความหรือไม่?";break;case"NOT_MUST_BILL_IN":a="Cannot participate in this promotion, You have the first top-up amount.";break;case"Your account cannot participate in this promotion. Please try again after":a="บัญชีของคุณไม่สามารถเข้าร่วมโปรโมชั่นนี้ได้ กรุณาลองใหม่อีกครั้งในภายหลัง","data"in e&&(a=a+" "+e.data);break;case"ID Promotion Incorrect":a="ID Promotion Incorrect";break;case"Can not end promotion, please try again after quit game 5 min":a="Can not end promotion, please try again after quit game 5 min";break;case"The number of participants in this promotion has been full.":a="Can not join this promotion, This promotion has been full participant.";break;case"PROMOTION_DEPOSIT_INVALID":a="เพื่อเข้าร่วมโปรโมชั่นนี้ คุณต้องทำการฝากเงินอย่างน้อยหนึ่งครั้งในประเภทที่กำหนด.";break;case"Your ID has already completed this promotion today.":a="Your ID has already completed this promotion today.";break;default:a=e.msg}a&&("You have not bound the bank card, please bind the bank card and then operate"===e.msg?swal({title:"phl63"==_theme.siteName.toLowerCase()?"Please add your bank account or Gcash account and join the promotion":a,imageUrl:msg_img.fail,imageSize:"100x100",confirmButtonText:"ตกลง"},(function(){document.location.href="/new_profile/"})):swal({title:a,imageUrl:msg_img.fail,imageSize:"100x100",confirmButtonText:"ตกลง"},(function(){if("You not confirmed ID card"===e.msg||"You not add ID card"===e.msg)return document.location.href="/new_profile/";"JOINABLE_BUTTON_IS_CLOSE"!==e.msg&&"PROMOTION_IS_CLOSE"!==e.msg||location.reload()})))}),{promotionID:t,promotion_another:o,deposit:parseFloat(a)})}))}),{tab:"promotion"})}))})),"betluckmak"==_theme.siteName.toLowerCase())var msg_img={success:_theme.imgPath+"/icon/general/success_blm.webp",fail:_theme.imgPath+"/icon/general/fail_blm.webp",confuse:_theme.imgPath+"/icon/general/confused_blm.webp",BLM_fail:_theme.imgPath+"/icon/general/BLM_fail_canot_play.webp"};else msg_img={success:_theme.imgPath+"/icon/general/successful.webp",fail:_theme.imgPath+"/icon/general/failed.webp",confuse:_theme.imgPath+"/icon/general/confused.webp"};function isIE(){return window.navigator.userAgent.indexOf("MSIE ")>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)}var iOS=!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g);function injectPID(){var e=getQueryString("pid"),a=getQueryString("ad"),t=""!==getQueryString("keyword")&&null!==getQueryString("keyword")?getQueryString("keyword"):setSoKey(),o=document.referrer;null!==e&&""!==e&&setCookie("pid",e,1),null!==t&&""!==t&&setCookie("keyword",t,1),null!==o&&""!==o&&setCookie("url",o,1),null!==a&&""!==a&&setCookie("ad",a,1)}function unicode(e){switch(e){case"china":return"\\u4E00-\\u9FFF\\u3400-\\u4DFF\\uF900-\\uFAFF";case"thai":return"\\u0E00-\\u0E7F";case"myanmar":return"\\u1000-\\u109F\\uAA60-\\uAA7F\\uA9E0-\\uA9FF";case"english":return"A-Za-z";case"vietnam":return"";default:return null}}function gaMe(e,a,t){ga("send","event",e,a,"label",t)}function showErrorFailPlayGame(e){let a='ไม่สามารถเล่นเกมส์ได้',t="",o={scrollToSlot:!1,redirect:!1};switch(e){case"ENTER_GAME_TOO_FAST":case"ENTER_GAME_TOO_FAST_LOG_FAILED":t='คุณเข้าเกมส์เร็วเกินไป',o.scrollToSlot=!0;break;case"CAN_NOT_PLAY_THIS_GAME_DURING_PROMOTION":a='This game not in promotion',t='Your username is in promotion\nPlease try other game which in your promotion',o.scrollToSlot=!0;break;case"NOT_HAVE_URL_RESPONSE":t='Not have data response',o.scrollToSlot=!0;break;case"THIS_GAME_NOT_IN_PRO":a='This game not in promotion',t='Your username is in promotion\nPlease try other game which in your promotion',o.redirect=!0;break;case"EER_ENTERING_PROMOTION":t='You has entering promotion process please wait until finish',o.scrollToSlot=!0;break;case"USER_LOCKED":a='ไอดีผู้ใช้ล็อก',t='ไอดีผู้ใช้งานถูกล็อค กรุณาติดต่อพนักงาน',o.scrollToSlot=!0;break;case"NOT_LOGIN":case"ERROR_SESSION":a='ไม่สามารถเล่นเกมส์ได้',t="Session expired please login again.",o.redirect=!0;break;case"THIS GAME IS CLOSED":t='THIS GAME IS CLOSED',o.scrollToSlot=!0;break;case"THIS GAME IS MAINTENANCE":t='THIS GAME IS MAINTENANCE',o.scrollToSlot=!0;break;case"GAME_RESPONSE_FAIL":t='GAME RESPONSE FAIL',o.scrollToSlot=!0;break;case"CHECK_SESSION_PLAY_GAME_AND_ENTER_PROMOTION":t='Please wait a moment and try again',o.scrollToSlot=!0;break;case"CANNOT_ENTER_GAME_DURING_PLAY_GAME":t='Cannot enter games during play, please try again.',o.scrollToSlot=!0;break;case"COUNTRY_BLOCKED":t='Country Blocked';break;case"NOW_LOGIN":t='The system has detected a change in IP Address. Please log out and log in again.';break;case"GAME_RESPONSE_NOTFOUND":case"FAIL_GAME_RESPONSE":a='Found a problem in this game',t='Please try again or contact to customer service';break;case"GAME_RESPONSE_NOTFOUND_JMK":case"FAIL_GAME_RESPONSE_JMK":a='Can not transfer credit.',t='Please wait 1 minute and try again.';break;case"USER_BANNED":a='ไม่สามารถเล่นเกมส์ได้',t='Members is banned. Please contact the customer service to verify your account before use.';break;case"NOT_TRIAL_MODE":a='ไม่สามารถเล่นเกมส์ได้',t='This game requires a register or login to play the game.';break;case"NEGATIVE_MONEY":a='ไม่สามารถเล่นเกมส์ได้',t='Please try again';break;case"API_TRANSFER_FAIL":a='ไม่สามารถเล่นเกมส์ได้',t='ไม่สามารเข้าเล่นได้. โปรดลองอีกครั้ง';break;case"Confirm Transaction":err="Confirm Transaction";break;case"The system cannot add credit if the actual transfer amount is incorrect. Please confirm your intent to transfer. The amount specified is":err="The system cannot add credit if the actual transfer amount is incorrect. Please confirm your intent to transfer. The amount specified is";break;case"DUPLICATE_TRANSFER":a='ไม่สามารถเล่นเกมส์ได้',t='ไม่สามารถดำเนินการได้ในขณะนี้ กรุณารอ 1 นาที และทำรายการซ้ำ';break;default:a='Found a problem in this game ',t='Please try again or contact to customer service'}return"betluckmak"===_theme.siteName.toLowerCase()?swal({title:a,text:t,imageUrl:msg_img.BLM_fail,imageSize:"100x100",confirmButtonText:'ตกลง'},(function(){if("CHECK_SESSION_PLAY_GAME_AND_ENTER_PROMOTION"===e){let e=new XMLHttpRequest;e.open("GET","/clearSession-playGames",!0),e.send()}return"NOT_TRIAL_MODE"==e?window.location.replace("/register"):"NEGATIVE_MONEY"==e?window.location.replace("/"):o.scrollToSlot?$('[data-scroll-to="#slot-game"]').length?$('[data-scroll-to="#slot-game"]').click():$("#menu-slot").length?$("#menu-slot").click():$('[data-scroll-to="#topBanner"]').click():o.redirect?window.location.replace("/"):$('[data-scroll-to="#slot-game"]').length?$('[data-scroll-to="#slot-game"]').click():$("#menu-slot").length?$("#menu-slot").click():$('[data-scroll-to="#topBanner"]').click()})):swal({title:a,text:t,imageUrl:msg_img.fail,imageSize:"100x100",confirmButtonText:'ตกลง'},(function(){if("NEGATIVE_MONEY"==e)return window.location.replace("/");if("NOT_TRIAL_MODE"==e)return window.location.replace("/register");if("CHECK_SESSION_PLAY_GAME_AND_ENTER_PROMOTION"===e){let e=new XMLHttpRequest;e.open("GET","/clearSession-playGames",!0),e.send()}return o.scrollToSlot?$('[data-scroll-to="#slot-game"]').length?$('[data-scroll-to="#slot-game"]').click():$("#menu-slot").length?$("#menu-slot").click():$('[data-scroll-to="#topBanner"]').click():o.redirect?window.location.replace("/"):$('[data-scroll-to="#slot-game"]').length?$('[data-scroll-to="#slot-game"]').click():$("#menu-slot").length?$("#menu-slot").click():$('[data-scroll-to="#topBanner"]').click()}))}$(".login-only").attr("ng-show","logged"),$.each($('.menu-item[class*="icon"]'),(function(e,a){var t=$.grep(this.className.split(" "),(function(e,a){return 0===e.indexOf("icon")})).join().replace("-"," ");$(this).find("a").prepend('')})),$(".go-top").click((function(){$("body").animate({scrollTop:"0"},500)})),_theme.console||(console=console||{},console.log=function(){}),"#promotion_activity"===window.location.hash&&($("#mo-log").removeClass("active"),$("#money-log").removeClass("active in"),$("#ac-log").addClass("active"),$("#pro-ac-log").addClass("active in"));