function commaSeparateNumber(e){for(;/(\d+)(\d{3})/.test(e.toString());)e=e.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,");return e}!function(e){e.fn.visible=function(a){var n=e(this),t=e(window),i=t.scrollTop(),o=i+t.height(),r=n.offset().top,s=r+n.height();return(!0===a?r:s)<=o&(!0===a?s:r)>=i},jQuery.extend(jQuery.easing,{easeOutQuart:function(e,a,n,t,i){return-t*((a=a/i-1)*a*a*a-1)+n}})}(jQuery),function(e,a){e.fn.mobileMenu=function(n){"use strict";a.el=this,a.active=!1,a.easein="easeInOutQuint",a.easeout="easeInOutQuint";var t=e.extend({style:"default",sitewrapper:"#wrapper_site",navwrapper:"#navWrap",cover:"#cover",menuwidth:e("#navWrap").outerWidth(!0),side:"right",speed:550,shadow:!0,beforeOpen:function(){},afterOpen:function(){},beforeClose:function(){},afterClose:function(){}},n),i=function(){l()?e(a).on("load.mobileMenu orientationchange.mobileMenu",o):e(a).on("load.mobileMenu orientationchange.mobileMenu resize.mobileMenu",o),e(a).trigger("load.mobileMenu")},o=function(){t.menuwidth=e("#navWrap").outerWidth(!0),a.height=e(a).outerHeight(!0),a.width=e(a).outerWidth(!0),e(t.navwrapper).attr("style",""),e(t.navwrapper).css("height",height),el.hasClass("active")&el.trigger("click")},r=function(n){n.preventDefault();var i=t.cover.substr(1);if(el.hasClass("active")){e("body").removeClass("navOpen"),el.removeClass("active"),t.shadow&e(t.navwrapper).removeClass("shadow"),e(t.cover).off().fadeOut(t.speed,easeout,function(){e(this).remove()}),e.isFunction(t.beforeClose)&&t.beforeClose.call(this);(o={})["right"==t.side?"left":"right"]="0px",e(t.sitewrapper).animate(o,{duration:t.speed,easing:easeout,complete:function(){"push"==t.style&s()},done:t.afterClose})}else{t.shadow&&e(t.navwrapper).addClass("shadow"),e("body").addClass("navOpen"),el.addClass("active"),e("#wrapper").prepend(''),e(t.cover).hide().fadeIn(t.speed,easein),e.isFunction(t.beforeOpen)&&t.beforeOpen.call(el);var o;(o={})["right"==t.side?"left":"right"]=-t.menuwidth+"px",e(t.sitewrapper).animate(o,t.speed,easein,t.afterOpen),"accordion"==t.style?e(t.navwrapper+" ul.menumain ul > li.deeper:not(.map) > a").on("click",function(a){a.preventDefault();e(this).parent().hasClass("expanded")?e(this).parent().removeClass("expanded"):(e(t.navwrapper+" ul.menumain ul > li").removeClass("expanded"),e(this).parent().addClass("expanded"))}):"push"==t.style&(a.cnt=0,a.btn_back='Back',a.navspeed=t.speed/1.5,e(t.navwrapper+" ul.menumain li.deeper > a").on("click",function(a){a.preventDefault();e(this).parent().hasClass("expanded")?(e(t.navwrapper+" ul.menumain li").removeClass("expanded"),e(t.navwrapper+" ul.menumain ul").removeClass("selected"),e(t.navwrapper+" ul.menumain li").remove("li.back")):(cnt++,e(t.navwrapper+" ul.menumain li").removeClass("expanded"),e(t.navwrapper+" ul.menumain ul").removeClass("selected"),e(this).parent().addClass("expanded"),e(this).parent().find(">ul").addClass("selected"),e(this).parent().find(">ul li.back").length||e(this).parent().find(">ul").prepend(btn_back),e(this).parentsUntil("ul.menumain").find(">ul").addClass("selected"),e(t.navwrapper+" ul.nav").animate({left:-t.menuwidth*cnt+"px"},{duration:navspeed,easing:easein}),e(this).parent().find("li.back").one("click",function(a){a.preventDefault(),cnt--;var n=this;e(t.navwrapper+" ul.nav").animate({left:-t.menuwidth*cnt+"px"},{duration:navspeed,easing:easein,complete:function(){e(n).parent().parent().removeClass("expanded"),e(n).parent().parent().find(">ul").removeClass("selected").remove("li.back")}})}))})),e(t.cover).on("click touchmove",function(e){e.preventDefault(),el.hasClass("active")&el.trigger("click")})}},s=function(){e(t.navwrapper+" ul.menumain li.deeper:not(.map) > a").off("click"),e(t.navwrapper+" ul.menumain li").removeClass("expanded"),e(t.navwrapper+" ul.menumain ul").removeClass("selected"),e(t.navwrapper+" ul.nav").css({left:""}),e(t.navwrapper+" ul li.back").remove(),a.cnt=0},l=function(){return"ontouchstart"in window||"onmsgesturechange"in window};return this.init=function(){a.active||(console.log("--> initialize mobile menu"),active=!0,e(t.navwrapper).addClass(t.style),el.css("display","inline-block"),i(),el.on("click",r),el)},this.destroy=function(){a.active&(console.log("--> destroy mobile menu"),active=!1,e(a).off("load.mobileMenu orientationchange.mobileMenu resize.mobileMenu"),e("body").removeClass("navOpen"),el.off("click").css("display","none").removeClass("active"),"push"==t.style&&s(),t.shadow&&e(t.navwrapper).removeClass("shadow"),e(t.navwrapper).attr("style","").removeClass(t.style),e(t.navwrapper+" ul.nav").css({left:""}))},this};var n=Math.pow;Math.sqrt,Math.sin,Math.cos,Math.PI;e.extend(e.easing,{easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-n(-2*e+2,5)/2}})}(jQuery,window),function(e){e.proof_init=function(){width=e(window).outerWidth(!0),("Microsoft Internet Explorer"==navigator.appName||navigator.Agent.match(/Trident/)||navigator.Agent.match(/rv:11/)||void 0!==e.browser&1==e.browser.msie)&&e("body").addClass("ie");var a=e("a.menu").mobileMenu();if(width>815&e("ul.menumain > li").hover(function(){e(this).addClass("hover")},function(){e(this).removeClass("hover")}),e(window).on("load resize",function(){width=e(window).outerWidth(!0),width>815?a.destroy():a.init(),width<815&&e(".wrapper_copy table").length&&!e(".wrapper_copy table").parent().hasClass("table-scroll")&&e(".wrapper_copy table").wrap('')}),$html=e(".btn_bookaroom a").html().replace("|",""),e(".btn_bookaroom a").html($html)/*,e(".btn_bookaroom a").on("click",function(a){a.preventDefault(),e(this).next().toggle("fast"),e(this).toggleClass("active")})*/,e("#txtcal3_0").on("focus",function(){RSFormPro.YUICalendar.showHideCalendar("cal3_0Container"),e(".formError").hide()}),e("#txtcal3_1").on("focus",function(){RSFormPro.YUICalendar.showHideCalendar("cal3_1Container"),e(".formError").hide()}),e("body").is(".home")){var n=e(".slides").flickity({contain:!0,cellSelector:".slide",prevNextButtons:!1,pageDots:!1,autoPlay:6e3,pauseAutoPlayOnHover:!1,wrapAround:!1,lazyLoad:2,selectedAttraction:.04,friction:.5,dragThreshold:10}),t=n.find(".slide .img"),i="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",o=n.data("flickity");n.on("scroll.flickity",function(){o.slides.forEach(function(e,a){var n=t[a],r=-1*(e.target+o.x)/2;n.style[i]="translateX("+r+"px)"})}),seen=!1,e(window).on("load.visible scroll.visible",function(){var a=e(".mod_jackpotpayouts strong");if(a.length&0==seen){if(1==a.visible(!0)){var n=e(".mod_jackpotpayouts li:first-child strong span"),t=e(".mod_jackpotpayouts li:last-child strong span"),i=n.data("amount"),o=t.data("amount");console.log(i+" - "+o),window.odometerOptions={format:"(,ddd).dd",duration:35e3},n.text(i),t.text(o),seen=!0,e(window).off("load.visible scroll.visible")}}})}e("body").is(".ie")&e(window).on("load resize",function(){var a=e(".mod_promos .item").map(function(){return e(this).height()}).get(),n=Math.max.apply(null,a);e(".mod_promos .item").height(n)})},e.proof_init()}(jQuery),jQuery.noConflict(); 2eb18