"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[550],{29550:(e,t,n)=>{n(51629),n(26099),n(23500);n(28706),n(76031);var r=n(67703);function o(){document.addEventListener("click",(function(e){var t=e.target.closest(".bk-reviews-post__more"),n=e.target.closest(".bk-popup__layer"),r=e.target.closest(".bk-popup__close");t&&(document.querySelector(".bk-popup").classList.add("is-show"),document.body.classList.add("is-lock-scroll"));(r||n)&&(document.querySelector(".bk-popup").classList.remove("is-show"),document.body.classList.remove("is-lock-scroll"))}))}n(94170);n(52675),n(89463),n(2259),n(23418),n(64346),n(23792),n(34782),n(23288),n(62010),n(27495),n(38781),n(47764),n(62953);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n(2008),n(62062);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var d=n(60184);n(50113),n(25276),n(25440),n(42762);var f=function(e,t){var n=document.cookie.split(";"),r="".concat(e,"="),o=n.find((function(e){return 0===e.trim().indexOf(r)}));return!0===t&&function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.from(t).forEach((function(e){document.cookie="".concat(e,"= ; expires = Thu, 01 Jan 1970 00:00:00 GMT")}))}(e),o?(0===(o=o.substring(r.length,o.length)).indexOf("=")&&(o=o.replace("=","")),o):null},m=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);var i=o.toUTCString();document.cookie="".concat(e,"=").concat(t,";expires=").concat(i,";path=").concat(r,";")};function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function h(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(){var e=document.querySelectorAll("[data-lazy-img]");if((e=h(e).filter((function(e){return!e.classList.contains("lazy-img-observe")}))).length){var t=new IntersectionObserver((function(e,t){e.forEach((function(e){var n=e.isIntersecting,r=e.target;n&&(r.src=r.dataset.lazyImg,r.removeAttribute("data-lazy-img"),r.classList.remove("lazy-img-observe"),t.unobserve(r))}))}),{rootMargin:"400px"});e.forEach((function(e){t.observe(e),e.classList.add("lazy-img-observe")}))}}function L(){var e=document.querySelector("body");new MutationObserver((function(e){var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;"childList"===r.type&&r.target&&r.target.querySelector("[data-lazy-img]")&&p()}}catch(e){n.e(e)}finally{n.f()}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}n(95127);var S=n(65826);n(45700),n(74423),n(89572),n(2892),n(84185),n(21699);const k=function(e){var t,n,r,o,i,a;e&&(e.childNodes.forEach((function(e){e.addEventListener("click",(function(e){o&&e.preventDefault()}))})),e.addEventListener("mousedown",(function(o){r=!0,a=o.target,setTimeout((function(){e.style.cursor="grabbing"}),100),a.style.cursor="grabbing",t=o.pageX-e.offsetLeft,n=e.scrollLeft,i=getComputedStyle(e).scrollBehavior,e.style.scrollBehavior="initial"})),e.addEventListener("mouseleave",(function(){r=!1,e.style.cursor="",e.style.scrollBehavior=i,a&&(a.style.cursor=""),setTimeout((function(){o=!1,a&&a.classList.remove("nav-carousel__moving")}),100)})),e.addEventListener("mouseup",(function(){r=!1,setTimeout((function(){e.style.cursor="",a.style.cursor="",e.style.scrollBehavior=i,o=!1,a&&a.classList.remove("nav-carousel__moving")}),100)})),e.addEventListener("mousemove",(function(i){if(r){i.preventDefault();var c=i.pageX-e.offsetLeft-t;e.scrollLeft=n-c,o=!0,a&&a.classList.add("nav-carousel__moving")}})))};n(95127);var w=n(43591);const E=function(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout((function(){return e.apply(void 0,o)}),t)}};function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function A(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||q(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){if(e){if("string"==typeof e)return T(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,I(r.key),r)}}function I(e){var t=function(e,t){if("object"!=_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_(t)?t:t+""}const B=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t.widget&&(this.init(t),this.initNavButtons(),this.buttonsOnClick(),k(this.stage))},t=[{key:"init",value:function(e){this.widget=e.widget,this.stage=this.widget.querySelector(e.stageSelector),this.leftBtn=this.widget.querySelector(e.leftBtnSelector),this.rightBtn=this.widget.querySelector(e.rightBtnSelector),this.stageItems=A(this.stage.children),this.delayOfResize=300,this.setItemsStyles()}},{key:"setItemsStyles",value:function(){this.stage.classList.add("nav-carousel__stage"),this.leftBtn.style.transition="all 0.1s ease-in-out",this.rightBtn.style.transition="all 0.1s ease-in-out",this.stage.style.userSelect="none",this.leftBtn.style.userSelect="none",this.rightBtn.style.userSelect="none"}},{key:"initNavButtons",value:function(){var e=this,t=function(){e.stage.getBoundingClientRect().x||(e.widget.style.display="flex");var t=e.stageItems[e.stageItems.length-1],n=t.getBoundingClientRect().x-e.stage.getBoundingClientRect().x;e.widget.style.display="";var r=e.stage.getBoundingClientRect().width,o=t.getBoundingClientRect().width,i=(e.widget.getBoundingClientRect().width-r)/2;e.stage.scrollLeft?e.leftBtn.classList.add("_active"):e.leftBtn.classList.remove("_active"),r-n-o+i>=0?e.rightBtn.classList.remove("_active"):e.rightBtn.classList.add("_active")};new IntersectionObserver((function(e,n){e.forEach((function(e){var r=e.isIntersecting,o=e.target;r&&(t(),n.unobserve(o))}))})).observe(this.stage),new w.A(E((function(e){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=q(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(e);try{for(r.s();!(n=r.n()).done;)n.value,t()}catch(e){r.e(e)}finally{r.f()}}),this.delayOfResize)).observe(this.stage),this.stage.addEventListener("scroll",t)}},{key:"buttonsOnClick",value:function(){var e=this;this.rightBtn.addEventListener("click",(function(){for(var t=0,n=e.stageItems.length;t<n;t++){var r=e.stageItems[t];if(r.getBoundingClientRect().x-r.offsetParent.getBoundingClientRect().x>=0&&e.rightBtn.classList.contains("_active")){var o=r.getBoundingClientRect().width;o+=getComputedStyle(r).marginRight.includes("px")?+getComputedStyle(r).marginRight.replace("px",""):0,e.stage.scrollLeft+=o;break}}})),this.leftBtn.addEventListener("click",(function(){for(var t=e.stageItems.length-1;t>=0;t--){var n=e.stageItems[t];if(n.getBoundingClientRect().x-n.offsetParent.getBoundingClientRect().x<0&&e.leftBtn.classList.contains("_active")){var r=n.getBoundingClientRect().width;r+=getComputedStyle(n).marginRight.includes("px")?+getComputedStyle(n).marginRight.replace("px",""):0,e.stage.scrollLeft-=r;break}}}))}}],t&&x(e.prototype,t),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();var C=n(3643);var O=n(44303);var j=n(20831);var R=function(e,t){var n=document.cookie.split(";"),r="".concat(e,"="),o=n.find((function(e){return 0===e.trim().indexOf(r)}));return!0===t&&function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.from(t).forEach((function(e){document.cookie="".concat(e,"= ; expires = Thu, 01 Jan 1970 00:00:00 GMT")}))}(e),o?(0===(o=o.substring(r.length,o.length)).indexOf("=")&&(o=o.replace("=","")),o):null},D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);var i=n>6e3?"Tue, 19 Jan 2038 04:14:07 GMT":o.toUTCString();document.cookie="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t),";expires=").concat(i,";path=").concat(r,";")}else document.cookie="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t),";path=").concat(r,";")};window.addEventListener("load",(function(){var e,t,n,a,l,u,g,h,y,b,k,w,E,_,A,q,T,x,I,U,N,z,M,P,H,W;e=document.querySelectorAll(".seo-text h2, .seo-text h3"),t=document.querySelectorAll("#content-nav .bk-content-nav__item-body"),n="",e.forEach((function(e){if(""!==e.innerText.trim()){var t=e.innerText.length>75?e.innerText.slice(0,75)+"...":e.innerText;e.setAttribute("id",e.innerText.replace(/ /g,"_")),n+='<a href="#'+e.innerText.replace(/ /g,"_")+'" class="bk-content-nav__item-body"><p class="bk-content-nav__text">'+t+"</p></a>"}})),t.length>0&&t[t.length-1].insertAdjacentHTML("afterend",n),function(){var e=document.querySelector(".seo-text");if("undefined"!=typeof SEO_TEXT_BUTTON&&SEO_TEXT_BUTTON&&e){document.querySelector(".bk-top-card__btn-play");var t=0,n=SEO_TEXT_BUTTON.length,r=0,o=!1;Array.from(e.children).forEach((function(e){r+=e.innerText.length;var i=document.querySelector(".bk-top-card__btn-play");if(i&&o&&r>1e3&&"H2"==e.tagName){i=i.cloneNode(!0);var a=e.parentNode;i.innerText=SEO_TEXT_BUTTON[t],a.insertBefore(i,e),n-1!=t?t++:t=0,o=!1}"H2"==e.tagName&&(r=0,o=!0)}))}}(),(a=document.querySelector(".sport-item__more._mobile"))&&(a.addEventListener("click",(function(){a.classList.toggle("_active")})),document.addEventListener("click",(function(e){a.classList.contains("_active")&&!e.target.closest(".sport-item__more")&&a.classList.remove("_active")}))),function(){var e=document.querySelectorAll("[data-scroll-circle]");try{var t=e[0].getTotalLength()+1;document.addEventListener("scroll",(function(){var n=window,r=n.scrollY,o=n.innerHeight,i=document.body.offsetHeight,a=r,c=i-o;e.forEach((function(e){e.style.strokeDashoffset=t-a/c*t}))})),e.forEach((function(e){e.style.strokeDasharray=e.style.strokeDashoffset=t}))}catch(e){return new Error(e)}}(),function(){var e,t="[data-countries-list-toggle]",n="[data-countries-list-item]",o="[data-countries-list-items]",i=60,a=8;function c(){document.querySelectorAll(n).forEach((function(e,t,n){var r=e.parentElement,o=i+a;e.classList.remove("is-item-hidden"),e.offsetTop===r.offsetTop&&e.offsetLeft<r.offsetWidth-o?e.classList.remove("is-item-hidden"):e.classList.add("is-item-hidden")}))}document.addEventListener("click",(function(e){var i=e.target.closest(t);if(i){var a=e.target.closest(o).querySelectorAll(n).length-1,c=e.target.closest(o).dataset.bkSlug,s=document.querySelector(".casino-countries-toggle"),l=window.location.origin+"/".concat(s?"casino":"rating","/partials/").concat(c,"/country-widget")+"?offset=".concat(a);e.target.closest(o).querySelector(n).classList.contains("is-restricted")&&(l+="&restricted=1"),(0,r.L)(l).then((function(e){e&&(i.closest(".bk-countries__items").insertAdjacentHTML("beforeend",e),i.classList.add("hidden"),i.parentElement.classList.toggle("is-open"))}))}})),window.addEventListener("resize",(function(){clearTimeout(e),e=setTimeout(c,200)})),window.dispatchEvent(new Event("resize"))}(),o(),(l={timeoutId:0,getSliders:function(){return document.querySelectorAll("[data-slider-scroll]")},slide:function(e){var t=e.target,n=t.offsetParent,r=t.offsetWidth,o=t.scrollWidth,i=t.scrollLeft,a=n.querySelector("[data-slider-arrow=prev]"),c=n.querySelector("[data-slider-arrow=next]");a.style.setProperty("--bk-slider-arrow-opacity",0===i?0:1),c.style.setProperty("--bk-slider-arrow-opacity",i+r===o?0:1)},arrowClick:function(e){var t=e.target.closest("[data-slider-arrow]");if(t){var n=t.parentElement.querySelector("[data-slider-item]"),r=t.parentElement.querySelector("[data-slider-scroll]"),o=r.scrollLeft;r.scrollTo({left:"next"===t.dataset.sliderArrow?o+n.offsetWidth:o-n.offsetWidth,top:0,behavior:"smooth"})}},processScroll:function(e){clearTimeout(this.timeoutId),this.timeoutId=setTimeout((function(){l.slide(e)}),200)},addEvents:function(){var e=this;this.getSliders().forEach((function(t){t.addEventListener("scroll",e.processScroll),t.dispatchEvent(new Event("scroll"))})),document.addEventListener("click",this.arrowClick)},init:function(){this.getSliders().length?this.addEvents():this.timeoutId=setTimeout(this.init.bind(this),1e3)}}).init(),document.addEventListener("click",(function(e){var t=e.target.closest(".bk-main-nav__close"),n=e.target.closest(".bk-panel__main-nav-show"),r=e.target.closest(".bk-main-nav__item"),o=document.querySelectorAll("[data-hash]"),a=e.target.closest(".bk-main-nav")&&!e.target.closest(".bk-main-nav__body");if(n||t||r||a){var c=document.querySelector(".bk-page");n&&(console.log("show main nav"),c.classList.add("is-show-main-nav"),document.body.classList.add("is-lock-scroll"),e.preventDefault()),t&&(c.classList.remove("is-show-main-nav"),console.log("hide main nav"),document.body.classList.remove("is-lock-scroll"),e.preventDefault()),r&&(e.preventDefault(),document.body.classList.remove("is-lock-scroll"),document.querySelectorAll(".bk-main-nav__item").forEach((function(e){if(e!==r)e.classList.remove("is-active");else{var t=i(e.href.split("#"),2)[1];document.getElementById(t)&&(window.scrollTo({top:document.getElementById(t).offsetTop-12,left:0}),setTimeout((function(){o.forEach((function(e){e.classList.remove("is-active")})),e.classList.add("is-active")}),800))}})),c.classList.remove("is-show-main-nav")),a&&(c.classList.remove("is-show-main-nav"),document.body.classList.remove("is-lock-scroll"),e.preventDefault())}})),document.querySelector(".bk-cat-nav")&&function(){function e(e){var t=e.target.closest(".bk-cat-nav__toggle");if(t){var n=document.querySelector(".bk-cat-nav");t.classList.toggle("is-open"),n.classList.toggle("is-open"),e.preventDefault()}}function t(){document.addEventListener("click",e),window.innerWidth<1366?document.querySelector(".bk-cat-nav").classList.remove("is-open"):document.querySelector(".bk-cat-nav").classList.add("is-open")}t(),window.addEventListener("resize",t)}(),u=s(document.querySelectorAll(".bk-main-nav__item")).map((function(e){var t=c(e.href.split("#"),2)[1],n=document.getElementById(t);if(e&&(e.dataset.hash=t),n)return n.dataset.scrollTarget="",n})).filter((function(e){return e})),window.addEventListener("scroll",(function(){var e=document.querySelectorAll("[data-hash]");u.forEach((function(t,n){var r;scrollY>=t.offsetTop-12&&scrollY<t.offsetTop-12+t.offsetHeight&&window.oldValue!==t.id&&(window.oldValue=t.id,e.forEach((function(e){e.classList.remove("is-active")})),null===(r=document.querySelector('[data-hash="'.concat(t.id,'"]')))||void 0===r||r.classList.add("is-active"))}))})),document.addEventListener("click",(function(e){var t=e.target.closest(".bk-bank-limits__tb-toggle");t&&t.classList.toggle("is-open")})),g=0,document.addEventListener("click",(function(e){var t=e.target.closest(".bk-bonuses__card-btn"),n=document.querySelector(".bk-bonuses");if(t){var r=t.closest(".bk-bonuses__card"),o=r.cloneNode(!0),i=r.offsetParent.scrollLeft,a=r.offsetLeft;g+=r.offsetWidth,r.classList.add("card-selected"),o.classList.add("card-clone"),o.style.cssText="\n          position: absolute;\n          bottom: 0;\n          left: ".concat(a-16-i,"px;\n        "),n.append(o),o.addEventListener("animationend",(function(e){switch(e.animationName){case"tear-off":r.offsetParent.scrollTo({left:g,behavior:"smooth"});break;case"fall-down-right":o.remove()}}))}})),(0,d.F)(),document.addEventListener("click",(function(e){var t=e.target.closest(".bk-faq__header");t&&t.closest(".bk-faq__item").classList.toggle("is-open")})),h=document.querySelectorAll(".more-menu-btn"),y=document.querySelectorAll(".more-menu"),h.length>0&&y.length>0&&(h.forEach((function(e){e.addEventListener("click",(function(t){t.stopPropagation(),e.parentElement.querySelector(".more-menu").classList.toggle("hidden"),e.classList.toggle("active")}))})),document.addEventListener("click",(function(e){var t=e.target;t.closest("._more")||t.classList.contains("more-menu-btn")||(h.forEach((function(e){return e.classList.remove("active")})),y.forEach((function(e){return e.classList.add("hidden")})))}))),document.addEventListener("click",(function(e){var t=e.target;e.target.closest(".nav__close")&&(t.classList.toggle("active"),document.querySelector(".nav").classList.toggle("open"),document.body.classList.toggle("show-side-nav"),e.preventDefault())})),b=f("approvedAgreement"),k=document.querySelector(".bk-page--review"),w=document.querySelector(".q-noti"),b||(setTimeout((function(){document.body.classList.add("show-cookie-agreement"),k&&w.classList.add("_review")}),15e3),document.querySelector(".q-noti__cta").addEventListener("click",(function(){m("approvedAgreement","true"),document.body.classList.remove("show-cookie-agreement")}))),document.querySelector(".v-switcher")&&(E=document.querySelectorAll(".v-switcher__item")).length>0&&E.forEach((function(e){e.addEventListener("click",(function(t){if(!e.getAttribute("disabled"))if(e.dataset.asTabs){t.preventDefault();var n=Array.from(document.querySelectorAll(".v-switcher-tab"));n&&(n.forEach((function(e){return e.classList.remove("active")})),document.querySelector("[data-tab-id=".concat(t.target.dataset.id,"]")).classList.add("active")),Array.from(e.parentElement.children).forEach((function(e){e.classList.remove("is-active")})),e.classList.add("is-active")}else Array.from(e.parentElement.children).forEach((function(e){e.classList.remove("is-active")})),e.classList.add("is-active")}))})),document.querySelector("#comments")&&new S.A,document.querySelector(".bk-licenses")&&new B({widget:document.querySelector(".bk-licenses"),stageSelector:".bk-licenses__items",leftBtnSelector:".licenses-btn__left",rightBtnSelector:".licenses-btn__right"}),document.querySelector(".matches-odds")&&(_=document.querySelector(".matches-odds")).querySelector(".games-show-all").addEventListener("click",(function(){_.classList.toggle("_opened")})),A=null,document.querySelectorAll(".subcategory-button").forEach((function(e){if(e.addEventListener("click",(function(t){if(!t.target.classList.contains("subcategory-button__text")){var n=e.getAttribute("data-target"),r=document.getElementById(n);r&&(A&&A!==e&&(A.classList.remove("active"),A.nextElementSibling.classList.add("disabled")),e.classList.contains("active")?(e.classList.remove("active"),r.classList.add("disabled")):(e.classList.add("active"),r.classList.remove("disabled")),A=e)}})),e.classList.contains("active")){var t=e.getAttribute("data-target"),n=document.getElementById(t);n&&(n.classList.remove("disabled"),A=e)}})),document.addEventListener("click",(function(e){var t=e.target.closest(".bk-content-nav__header");t&&t.closest(".bk-content-nav__item").classList.toggle("is-open")})),document.querySelectorAll(".bk-content-nav__item-body").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n=v(e.getAttribute("href").split("#"),2)[1],r=document.getElementById(n);r&&window.scrollTo({top:r.offsetTop-12,left:0,behavior:"smooth"})}))})),(q=document.querySelectorAll("a[data-href]"))&&q.forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n=e.getAttribute("data-href");n&&"#"!=n&&window.open(n,"_blank")}))})),p(),L(),document.querySelector("._expandable")&&document.querySelectorAll("._expandable").forEach((function(e){var t=e.querySelector(".expand-button");t.addEventListener("click",(function(){e.classList.toggle("_opened"),e.classList.contains("_opened")?t.textContent=t.dataset.less:t.textContent=t.dataset.more}))})),document.querySelector(".toggle-checkbox")&&(T=document.querySelectorAll(".input-checkbox"),x=document.querySelector(".page"),"white"===f("theme")&&(T.forEach((function(e){e.checked=!1})),x.classList.add("_light")),T.forEach((function(e){e.addEventListener("change",(function(){e.checked?(x.classList.remove("_light"),m("theme","dark")):(x.classList.add("_light"),m("theme","white"))}))}))),(0,C.a)(),document.addEventListener("click",(function(e){var t=e.target.closest(".bk-bonuses_filter-title");t&&t.closest(".bk-bonuses_filter").classList.toggle("is-open")})),(0,O.G)(),I=document.querySelectorAll(".bk-slider__item img"),U=document.querySelector("#fullpage"),N=document.querySelector("html"),z=document.createElement("img"),I.forEach((function(e){e.addEventListener("click",(function(){z.setAttribute("src",e.src),U.appendChild(z),U.style.display="flex",N.style.overflowY="hidden"}))})),U&&U.addEventListener("click",(function(){U.style.display="none",N.style.overflowY="auto"})),(0,j.C)(),(M=document.querySelector(".settings")).querySelector(".settings__img").addEventListener("click",(function(){M.classList.toggle("_active")})),P=document.querySelectorAll(".theme-changer__options"),H=document.body,W=function(e,t){!function(e){e.querySelector("#light-theme .light").checked=!1,e.querySelector("#dark-theme .dark").checked=!1}(t),"dark"===e?(H.classList.add("_dark-theme"),t.querySelector("#dark-theme .dark").checked=!0):"light"===e&&(H.classList.remove("_dark-theme"),t.querySelector("#light-theme .light").checked=!0)},P.forEach((function(e){var t=e.querySelector("#light-theme"),n=e.querySelector("#dark-theme");t.addEventListener("click",(function(){W("light",e),D("theme","light",365),P.forEach((function(t){t!==e&&W("light",t)}))})),n.addEventListener("click",(function(){W("dark",e),D("theme","dark",365),P.forEach((function(t){t!==e&&W("dark",t)}))}));var r=R("theme");W(r||"light",e)}))}))}}]);