@everymatrix/casino-lobby 1.5.2 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-lobby.js +5 -5
- package/dist/casino-lobby.js.map +1 -1
- package/index.html +2 -1
- package/package.json +2 -2
- package/src/CasinoLobby.svelte +6 -2
package/dist/casino-lobby.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(o){"use strict";(e=o)&&"object"==typeof e&&0 in e;function W(){}const w=e=>e;function $(e){return e()}function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(o){"use strict";(e=o)&&"object"==typeof e&&0 in e;function W(){}const w=e=>e;function $(e){return e()}function x(){return Object.create(null)}function Y(e){e.forEach($)}function F(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let d;function ce(e,t){return(d=d||document.createElement("a")).href=t,e===d.href}function u(e,...t){if(null==e)return W;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Qe(e,t,n){e.$$.on_destroy.push(u(t,n))}function T(e){return e&&F(e.destroy)?e.destroy:W}var e="undefined"!=typeof window;let C=e?()=>window.performance.now():()=>Date.now(),E=e?e=>requestAnimationFrame(e):W;const L=new Set;function G(t){L.forEach(e=>{e.c(t)||(L.delete(e),e.f())}),0!==L.size&&E(G)}function de(e,t){e.appendChild(t)}function _(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ue(e,t,n){e.insertBefore(t,n||null)}function me(e){e.parentNode.removeChild(e)}function S(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function he(e){return document.createElement(e)}function M(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ge(e){return document.createTextNode(e)}function pe(){return ge(" ")}function c(){return ge("")}function V(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function k(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function I(e,t){e.value=null==t?"":t}function P(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}let m;function g(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=he("iframe"),i=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===m){m=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){m=!0}}return m}());let r;return i?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=V(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{r=V(n.contentWindow,"resize",t)}),de(e,n),()=>{(i||r&&n.contentWindow)&&r(),me(n)}}function B(e,t,n){e.classList[n?"add":"remove"](t)}class R{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=M(t.nodeName):this.e=he(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(me)}}function n(e){const t={};for(const n of e)t[n.name]=n.value;return t}const D=new Map;let A,N=0;function O(e,t,n,i,r,a,o,s=0){var l,c=16.666/i;let d="{\n";for(let e=0;e<=1;e+=c){const i=t+(n-t)*a(e);d+=100*e+`%{${o(i,1-i)}}
|
|
2
2
|
`}const u=d+`100% {${o(n,1-n)}}
|
|
3
|
-
}`,m=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,h=_(e),{stylesheet:g,rules:p}=D.get(h)||(s=h,l={stylesheet:(l=e,f=he("style"),de((l=_(l)).head||l,f),f.sheet),rules:{}},D.set(s,l),l);p[m]||(p[m]=!0,g.insertRule(`@keyframes ${m} `+u,g.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+m+` ${i}ms linear ${a}ms 1 both`,N+=1,m}function H(e){A=e}function Ue(e){!function(){if(A)return A;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const j=[],ze=[],h=[],U=[],z=Promise.resolve();let Z=!1;function J(){Z||(Z=!0,z.then(f))}function ke(){return J(),z}function K(e){h.push(e)}const X=new Set;let q,Q=0;function f(){const e=A;do{for(;Q<j.length;){const e=j[Q];Q++,H(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),Y(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(K))}for(H(null),j.length=0,Q=0;ze.length;)ze.pop()();for(let e=0;e<h.length;e+=1){const i=h[e];X.has(i)||(X.add(i),i())}}while(h.length=0,j.length);for(;U.length;)U.pop()();Z=!1,X.clear(),H(e)}function ee(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,n,void 0),i}((t?"intro":"outro")+n))}const te=new Set;let ne;function ie(){ne={r:0,c:[],p:ne}}function ae(){ne.r||Y(ne.c),ne=ne.p}function re(e,t){e&&e.i&&(te.delete(e),e.i(t))}function oe(e,t,n,i){e&&e.o&&(te.has(e)||(te.add(e),ne.c.push(()=>{te.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const se={duration:0};function le(l,e,t,n){let c=e(l,t),d=n?0:1,u=null,m=null,h=null;function g(){if(h){var e=l,t=h;const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),a=n.length-i.length;a&&(e.style.animation=i.join(", "),(N-=a)||T(()=>{N||(D.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),D.clear())}))}}function p(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=w,tick:a=W,css:r}=c||se,o={start:M()+t,b:e};if(e||((o.group=ne).r+=1),!u&&!m){r&&(g(),h=O(l,d,e,n,t,i,r)),e&&a(0,1),u=p(o,n),K(()=>ee(l,e,"start"));{var s=e=>{if(m&&e>m.start&&(u=p(m,n),m=null,ee(l,u.b,"start"),r&&(g(),h=O(l,d,u.b,u.duration,0,i,c.css))),u)if(e>=u.end)a(d=u.b,1-d),ee(l,u.b,"end"),m||(u.b?g():--u.group.r||Y(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*i(l/u.duration),a(d,1-d)}return!(!u&&!m)};let t;return 0===L.size&&T(G),void new Promise(e=>{L.add(t={c:s,f:e})})}}m=o}return{run(e){k(c)?(q||(q=Promise.resolve()).then(()=>{q=null}),q.then(()=>{c=c(),i(e)})):i(e)},end(){g(),u=m=null}}}function be(e,t){e.d(1),t.delete(e.key)}function ve(t,n,i,a,r,o,s,l,e,c,d,u){let m=t.length,h=o.length,g=m;const p={};for(;g--;)p[t[g].key]=g;const f=[],y=new Map,b=new Map;for(g=h;g--;){const t=u(r,o,g),l=i(t);let e=s.get(l);e?a&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[g]=e),l in p&&b.set(l,Math.abs(g-p[l]))}const v=new Set,w=new Set;function $(e){re(e,1),e.m(l,d),s.set(e.key,e),d=e.first,h--}for(;m&&h;){const n=f[h-1],i=t[m-1],a=n.key,r=i.key;n===i?(d=n.first,m--,h--):y.has(r)?!s.has(a)||v.has(a)?$(n):w.has(r)?m--:b.get(a)>b.get(r)?(w.add(a),$(n)):(v.add(r),m--):(e(i,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;h;)$(f[h-1]);return f}function i(i,e,t,n,a,r,o,s=[-1]){var l=A;H(i);const c=i.$$={fragment:null,ctx:null,props:r,update:W,not_equal:a,bound:C(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:C(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&(n=e,-1===(e=i).$$.dirty[0]&&(j.push(e),J(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,Y(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){r=e.target;const i=Array.from(r.childNodes);c.fragment&&c.fragment.l(i),i.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&re(i.$$.fragment);{var u=i;s=e.target;o=e.anchor;t=e.customElement;const{fragment:m,on_mount:h,on_destroy:g,after_update:p}=u.$$;m&&m.m(s,o),t||K(()=>{var e=h.map($).filter(k);g?g.push(...e):Y(e),u.$$.on_mount=[]}),p.forEach(K)}f()}H(l)}let a;"function"==typeof HTMLElement&&(a=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(Y(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=W}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var we,$e,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,xe="URLSearchParams"in s,Ce="Symbol"in s&&"iterator"in Symbol,Se="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Fe="FormData"in s,Me="ArrayBuffer"in s;function Te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ee(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ce&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _e(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=_e(t);return t.readAsArrayBuffer(e),n}function Ie(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Se&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Fe&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:xe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Me&&Se&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Ie(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Me&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(e))?this._bodyArrayBuffer=Ie(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):xe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Se&&(this.blob=function(){var e=Ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=_e(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Fe&&(this.formData=function(){return this.text().then(Ae)}),this.json=function(){return this.text().then(JSON.parse)},this}Me&&(we=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(e){return e&&-1<we.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Te(e),t=Ee(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Te(e)]},l.prototype.get=function(e){return e=Te(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Te(e))},l.prototype.set=function(e,t){this.map[Te(e)]=Ee(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},Ce&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Be=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function De(e,t){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof De){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Be.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ae(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ne(e,t){if(!(this instanceof Ne))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}De.prototype.clone=function(){return new De(this,{body:this._bodyInit})},Re.call(De.prototype),Re.call(Ne.prototype),Ne.prototype.clone=function(){return new Ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ne.error=function(){var e=new Ne(null,{status:0,statusText:""});return e.type="error",e};var Oe=[301,302,303,307,308],He=(Ne.redirect=function(e,t){if(-1===Oe.indexOf(t))throw new RangeError("Invalid status code");return new Ne(null,{status:t,headers:{location:e}})},s.DOMException);try{new He}catch(o){(He=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),He.prototype.constructor=He}function je(i,o){return new Promise(function(a,e){var t=new De(i,o);if(t.signal&&t.signal.aborted)return e(new He("Aborted","AbortError"));var r=new XMLHttpRequest;function n(){r.abort()}r.onload=function(){var e,n,t={status:r.status,statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",n=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},i=(t.url="responseURL"in r?r.responseURL:t.headers.get("X-Request-URL"),"response"in r?r.response:r.responseText);setTimeout(function(){a(new Ne(i,t))},0)},r.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.onabort=function(){setTimeout(function(){e(new He("Aborted","AbortError"))},0)},r.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?r.withCredentials=!0:"omit"===t.credentials&&(r.withCredentials=!1),"responseType"in r&&(Se?r.responseType="blob":Me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(r.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof l?t.headers.forEach(function(e,t){r.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){r.setRequestHeader(e,Ee(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),r.onreadystatechange=function(){4===r.readyState&&t.signal.removeEventListener("abort",n)}),r.send(void 0===t._bodyInit?null:t._bodyInit)})}function Gn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}je.polyfill=!0,s.fetch||(s.fetch=je,s.Headers=l,s.Request=De,s.Response=Ne);var Je=self.fetch.bind(self),Ke=function(e,t){return(Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Xe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ke(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function qe(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,a,r=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=r.next()).done;)o.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function et(e,t,n){if(n||2===arguments.length)for(var i,a=0,r=t.length;a<r;a++)!i&&a in t||((i=i||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}function tt(e){return"function"==typeof e}function nt(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var it=nt(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function at(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}st.prototype.unsubscribe=function(){var e,t,n,i,a;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var o=qe(r),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else r.remove(this);r=this.initialTeardown;if(tt(r))try{r()}catch(e){a=e instanceof it?e.errors:[e]}r=this._finalizers;if(r){this._finalizers=null;try{for(var l=qe(r),c=l.next();!c.done;c=l.next()){var d=c.value;try{ct(d)}catch(e){a=null!=a?a:[],e instanceof it?a=et(et([],Qe(a)),Qe(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(a)throw new it(a)}},st.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ct(e);else{if(e instanceof st){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},st.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},st.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},st.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&at(t,e)},st.prototype.remove=function(e){var t=this._finalizers;t&&at(t,e),e instanceof st&&e._removeParent(this)},st.EMPTY=((e=new st).closed=!0,e);var rt=st,ot=rt.EMPTY;function st(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function lt(e){return e instanceof rt||e&&"closed"in e&&tt(e.remove)&&tt(e.add)&&tt(e.unsubscribe)}function ct(e){tt(e)?e():e.unsubscribe()}var dt=void 0,ut=!1,mt=!1,ht={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=ht.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,et([e,t],Qe(n))):setTimeout.apply(void 0,et([e,t],Qe(n)))},clearTimeout:function(e){var t=ht.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gt(){}var pt=null;function ft(e){if(ut){var t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){var t=pt,n=t.errorThrown,t=t.error;if(pt=null,n)throw t}}else e()}Xe(wt,yt=rt),wt.create=function(e,t,n){return new kt(e,t,n)},wt.prototype.next=function(e){this.isStopped||this._next(e)},wt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},wt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},wt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,yt.prototype.unsubscribe.call(this),this.destination=null)},wt.prototype._next=function(e){this.destination.next(e)},wt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},wt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var yt,bt=wt,vt=Function.prototype.bind;function wt(e){var t=yt.call(this)||this;return t.isStopped=!1,e?lt(t.destination=e)&&e.add(t):t.destination=Tt,t}function $t(e,t){return vt.call(e,t)}Ft.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Mt(e)}},Ft.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Mt(e)}else Mt(e)},Ft.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Mt(e)}};var xt,Ct=Ft,kt=(Xe(St,xt=bt),St);function St(e,t,n){var i=xt.call(this)||this,n=tt(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&mt?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&$t(e.next,t),error:e.error&&$t(e.error,t),complete:e.complete&&$t(e.complete,t)}):e;return i.destination=new Ct(n),i}function Ft(e){this.partialObserver=e}function Mt(e){var t=e;ht.setTimeout(function(){throw t})}var Tt={closed:!0,next:gt,error:function(e){throw e},complete:gt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function Et(e){return e}Gt.prototype.lift=function(e){var t=new Gt;return t.source=this,t.operator=e,t},Gt.prototype.subscribe=function(e,t,n){var i,a=this,r=(i=e)&&i instanceof bt||i&&tt(i.next)&&tt(i.error)&&tt(i.complete)&<(i)?e:new kt(e,t,n);return ft(function(){var e=a.operator,t=a.source;r.add(e?e.call(r,t):t?a._subscribe(r):a._trySubscribe(r))}),r},Gt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Gt.prototype.forEach=function(i,e){var a=this;return new(e=_t(e))(function(e,t){var n=new kt({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.subscribe(n)})},Gt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Gt.prototype[e]=function(){return this},Gt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Et:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Gt.prototype.toPromise=function(e){var i=this;return new(e=_t(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Gt.create=function(e){return new Gt(e)};var Lt=Gt;function Gt(e){e&&(this._subscribe=e)}function _t(e){return null!=(e=null!=e?e:dt)?e:Promise}var Pt,It,Rt,Bt=nt(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Xe(jt,Rt=Lt),jt.prototype.lift=function(e){var t=new Dt(this,this);return t.operator=e,t},jt.prototype._throwIfClosed=function(){if(this.closed)throw new Bt},jt.prototype.next=function(a){var r=this;ft(function(){var t,e;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var n=qe(r.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},jt.prototype.error=function(t){var n=this;ft(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},jt.prototype.complete=function(){var t=this;ft(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},jt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(jt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),jt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Rt.prototype._trySubscribe.call(this,e)},jt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},jt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,a=this.observers;return n||i?ot:(this.currentObservers=null,a.push(e),new rt(function(){t.currentObservers=null,at(a,e)}))},jt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},jt.prototype.asObservable=function(){var e=new Lt;return e.source=this,e},jt.create=function(e,t){return new Dt(e,t)},jt),Dt=(Xe(Ht,It=e),Ht.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Ht.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Ht.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ht.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ot},Ht),At={now:function(){return(At.delegate||Date).now()},delegate:void 0},Nt=(Xe(Ot,Pt=e),Ot.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,a=t._infiniteTimeWindow,r=t._timestampProvider,t=t._windowTime;n||(i.push(e),a||i.push(r.now()+t)),this._trimBuffer(),Pt.prototype.next.call(this,e)},Ot.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),a=0;a<i.length&&!e.closed;a+=n?1:2)e.next(i[a]);return this._checkFinalizedStatuses(e),t},Ot.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,a=(i?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!i){for(var r=t.now(),o=0,s=1;s<n.length&&n[s]<=r;s+=2)o=s;o&&n.splice(0,o+1)}},Ot);function Ot(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=At);var i=Pt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function Ht(e,t){var n=It.call(this)||this;return n.destination=e,n.source=t,n}function jt(){var e=Rt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ut=[],zt={};const Wt=[];function Yt(i,a=W){let r;const o=new Set;function s(e){if(t(i,e)&&(i=e,r)){const e=!Wt.length;for(const e of o)e[1](),Wt.push(e,i);if(e){for(let e=0;e<Wt.length;e+=2)Wt[e][0](Wt[e+1]);Wt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=W){const n=[e,t];return o.add(n),1===o.size&&(r=a(s)||W),e(i),()=>{o.delete(n),0===o.size&&(r(),r=null)}}}}function Vt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Yt(t,t=>{let n=!1;const i=[];let a=0,r=W;const o=()=>{var e;a||(r(),e=s(l?i[0]:i,t),d?t(e):r=k(e)?e:W)},e=c.map((e,t)=>u(e,e=>{i[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){Y(e),r()}}).subscribe}}function Zt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Jt));var t}var Jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Kt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?tn(Array.isArray(e)?[]:{},e,t):e}function Xt(e,t,n){return e.concat(t).map(function(e){return Kt(e,n)})}function qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Qt(e,t){try{return t in e}catch(e){return!1}}function en(i,a,r){var o={};return r.isMergeableObject(i)&&qt(i).forEach(function(e){o[e]=Kt(i[e],r)}),qt(a).forEach(function(t){var e,n;(!Qt(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Qt(i,t)&&r.isMergeableObject(a[t])?o[t]=function(e){if(!e.customMerge)return tn;e=e.customMerge(t);return"function"==typeof e?e:tn}(r)(i[t],a[t],r):o[t]=Kt(a[t],r))}),o}function tn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Xt,n.isMergeableObject=n.isMergeableObject||Zt,n.cloneUnlessOtherwiseSpecified=Kt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):en(e,t,n):Kt(t,n)}tn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return tn(e,t,n)},{});throw new Error("first argument should be an array")};var nn=tn,an=function(e,t){return(an=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function rn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}an(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p,y,on,b=function(){return(b=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function sn(e,t,n){if(n||2===arguments.length)for(var i,a=0,r=t.length;a<r;a++)!i&&a in t||((i=i||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}function ln(e){return e.type===y.literal}function cn(e){return e.type===y.number}function dn(e){return e.type===y.date}function un(e){return e.type===y.time}function mn(e){return e.type===y.select}function hn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function pn(e){return e&&"object"==typeof e&&e.type===on.number}function fn(e){return e&&"object"==typeof e&&e.type===on.dateTime}(e=p=p||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=on=on||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var bn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,vn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wn=/^(@+)?(\+|#+)?[rs]?$/g,$n=/(\*)(0+)|(#+)(0+)|(0+)/g,xn=/^(0+)$/;function Cn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(wn,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function kn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Sn(e){return kn(e)||{}}function Fn(e){for(var o={},t=0,n=e;t<n.length;t++){var i,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return b(b({},e),Sn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return b(b({},e),Sn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace($n,function(e,t,n,i,a,r){if(t)o.minimumIntegerDigits=n.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(r)throw new Error("We currently do not support exact integer digits")}return""});continue}if(xn.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(vn.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(vn,function(e,t,n,i,a,r){return"*"===n?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:a&&r?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+r.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var r=a.options[0];"w"===r?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):r&&(o=b(b({},o),Cn(r)))}else wn.test(a.stem)?o=b(b({},o),Cn(a.stem)):((r=kn(a.stem))&&(o=b(b({},o),r)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!xn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=b(b({},o),i)))}return o}var Mn={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Tn=new RegExp("^".concat(e.source,"*")),En=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Ln=!!String.fromCodePoint,_n=!!Object.fromEntries,Pn=!!String.prototype.codePointAt,In=!!String.prototype.trimStart,Rn=!!String.prototype.trimEnd,Bn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dn=!0;try{Dn="a"===(null==(ai=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ai[0])}catch(o){Dn=!1}var An,Nn,On=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Hn=Ln?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",a=e.length,r=0;r<a;){if(1114111<(n=e[r++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},jn=_n?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var a=i[n],r=a[0],a=a[1];t[r]=a}return t},Un=Pn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},zn=In?function(e){return e.trimStart()}:function(e){return e.replace(Tn,"")},Wn=Rn?function(e){return e.trimEnd()}:function(e){return e.replace(En,"")};function Yn(e,t){return new RegExp(e,t)}Nn=Dn?(An=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return An.lastIndex=t,null!=(t=An.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var a=Un(e,t);if(void 0===a||Jn(a)||(33<=(n=a)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;i.push(a),t+=65536<=a?2:1}return Hn.apply(void 0,i)};r.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},r.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var a,r=this.char();if(123===r){if((a=this.parseArgument(e,n)).err)return a;i.push(a.val)}else{if(125===r&&0<e)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Zn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;i.push(a.val)}else{if((a=this.parseLiteral(e,t)).err)return a;i.push(a.val)}}else{r=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(r,this.clonePosition())})}}}return{val:i,err:null}},r.prototype.parseTag=function(e,t){var n=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Zn(this.char()))return this.error(p.INVALID_TAG,v(e,this.clonePosition()));var a=this.clonePosition();return i!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(n,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))}return this.error(p.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(p.INVALID_TAG,v(n,this.clonePosition()))},r.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},r.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(t);if(a)i+=a;else{a=this.tryParseUnquoted(e,t);if(a)i+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;i+=a}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},r.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Hn.apply(void 0,t)},r.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Hn(n))},r.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},r.prototype.parseArgumentOptions=function(e,t,n,i){var a,r=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(r,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(h=Wn(g.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(i)).err)return c;var d=v(i,this.clonePosition());if(l&&On(null==l?void 0:l.style,"::",0)){var u=zn(l.style.slice(2));if("number"===o)return(g=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?g:{val:{type:y.number,value:n,location:d,style:g.val},err:null};if(0===u.length)return this.error(p.EXPECT_DATE_TIME_SKELETON,d);var m=u,h=(this.locale&&(m=function(e,t){for(var n="",i=0;i<e.length;i++){var a=e.charAt(i);if("j"===a){for(var r=0;i+1<e.length&&e.charAt(i+1)===a;)r++,i++;var o=1+(1&r),s=r<2?1:3+(r>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(Mn[t||""]||Mn[n||""]||Mn["".concat(n,"-001")]||Mn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===a?"H":a}return n}(u,this.locale)),{type:on.dateTime,pattern:m,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},m.replace(yn,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":a.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":a.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":a.minute=["numeric","2-digit"][t-1];break;case"s":a.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":a.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),a):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:d,style:h},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:d,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(m,b({},m)));this.bumpSpace();var g,h=this.parseIdentifierIfPossible(),d=0;if("select"!==o&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(g=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),d=g.val}l=this.tryParsePluralOrSelectOptions(e,o,t,h);if(l.err)return l;if((c=this.tryParseArgumentClose(i)).err)return c;u=v(i,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:jn(l.val),location:u},err:null}:{val:{type:y.plural,value:n,options:jn(l.val),offset:d,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null};default:return this.error(p.INVALID_ARGUMENT_TYPE,v(r,s))}},r.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},r.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},r.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(bn).filter(function(e){return 0<e.length});n<i.length;n++){var a=i[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var r=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:a})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:on.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Fn(n):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var a=!1,r=[],o=new Set,s=i.value,l=i.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(a=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;r.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===r.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:r,err:null}},r.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,r=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,r=10*r+(o-48),this.bump()}i=v(i,this.clonePosition());return a?Bn(r*=n)?{val:r,err:null}:this.error(t,i):this.error(e,i)},r.prototype.offset=function(){return this.position.offset},r.prototype.isEOF=function(){return this.offset()===this.message.length},r.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},r.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Un(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},r.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},r.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},r.prototype.bumpIf=function(e){if(On(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},r.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},r.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},r.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jn(this.char());)this.bump()},r.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Vn=r;function r(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Kn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Vn(e,t).parse();if(e.err)throw(n=SyntaxError(p[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,mn(e)||hn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else cn(e)&&pn(e.style)||(dn(e)||un(e))&&fn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function Xn(e,t){var n=t&&t.cache?t.cache:ri,i=t&&t.serializer?t.serializer:ti;return(t&&t.strategy?t.strategy:function(e,t){return ei(e,this,1===e.length?qn:Qn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function qn(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),a=t.get(n);return void 0===a&&(a=e.call(this,i),t.set(n,a)),a}function Qn(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),a=t.get(n);return void 0===a&&(a=e.apply(this,i),t.set(n,a)),a}function ei(e,t,n,i,a){return n.bind(t,e,i,a)}var ti=function(){return JSON.stringify(arguments)};function ni(){this.cache=Object.create(null)}ni.prototype.get=function(e){return this.cache[e]},ni.prototype.set=function(e,t){this.cache[e]=t};var ii,ai,ri={create:function(){return new ni}},oi={variadic:function(e,t){return ei(e,this,Qn,t.cache.create(),t.serializer)},monadic:function(e,t){return ei(e,this,qn,t.cache.create(),t.serializer)}};(ai=ii=ii||{}).MISSING_VALUE="MISSING_VALUE",ai.INVALID_VALUE="INVALID_VALUE",ai.MISSING_INTL_API="MISSING_INTL_API";rn(vi,ui=Error),vi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var si,li,ci,di,ui,mi=vi,hi=(rn(bi,di=mi),bi),gi=(rn(yi,ci=mi),yi),pi=(rn(fi,li=mi),fi);function fi(e,t){return li.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ii.MISSING_VALUE,t)||this}function yi(e,t,n){return ci.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ii.INVALID_VALUE,n)||this}function bi(e,t,n,i){return di.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ii.INVALID_VALUE,i)||this}function vi(e,t,n){e=ui.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function wi(e,t,n,i,a,r,o){if(1===e.length&&ln(e[0]))return[{type:si.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(ln(d))s.push({type:si.literal,value:d.value});else if(d.type===y.pound)"number"==typeof r&&s.push({type:si.literal,value:n.getNumberFormat(t).format(r)});else{var u=d.value;if(!(a&&u in a))throw new pi(u,o);u=a[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?si.literal:si.object,value:u});else if(dn(d)){var m="string"==typeof d.style?i.date[d.style]:fn(d.style)?d.style.parsedOptions:void 0;s.push({type:si.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(un(d))m="string"==typeof d.style?i.time[d.style]:fn(d.style)?d.style.parsedOptions:i.time.medium,s.push({type:si.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(cn(d))(m="string"==typeof d.style?i.number[d.style]:pn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:si.literal,value:n.getNumberFormat(t,m).format(u)});else{if(gn(d)){var h=d.children,g=d.value,p=a[g];if("function"!=typeof p)throw new gi(g,"function",o);g=p(wi(h,t,n,i,a,r).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map(function(e){return{type:"string"==typeof e?si.literal:si.object,value:e}}))}if(mn(d)){if(!(f=d.options[u]||d.options.other))throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,wi(f.value,t,n,i,a))}else if(hn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new mi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ii.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[p]||d.options.other}if(!f)throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,wi(f.value,t,n,i,a,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===si.literal&&t.type===si.literal?n.value+=t.value:e.push(t),e},[])}function $i(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=si=si||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Ci,"defaultLocale",{get:function(){return Ci.memoizedDefaultLocale||(Ci.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Ci.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Ci.memoizedDefaultLocale=null,Ci.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},Ci.__parse=Kn,Ci.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var xi=Ci;function Ci(e,t,n,i){var a,r,o=this;if(void 0===t&&(t=Ci.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===si.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return wi(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=Ci.resolveLocale(t),"string"==typeof e){if(this.message=e,!Ci.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ci.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=Ci.formats,(r=n)?Object.keys(a).reduce(function(e,t){var n,i;return e[t]=(n=a[t],(i=r[t])?b(b(b({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),i[t]||{}),e},{})):n),e},b({},a)):a),this.formatters=i&&i.formatters||{getNumberFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:$i((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:oi.variadic}),getDateTimeFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:$i(t.dateTime),strategy:oi.variadic}),getPluralRules:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,sn([void 0],t,!1)))},{cache:$i(t.pluralRules),strategy:oi.variadic})}}const ki={},Si=(e,t,n)=>n&&(t in ki||(ki[t]={}),e in ki[t]||(ki[t][e]=n),n),Fi=(t,n)=>{if(null!=n){if(n in ki&&t in ki[n])return ki[n][t];var i=ji(n);for(let e=0;e<i.length;e++){var a=function(e,n){if(!Ei(e))return null;e=function(e){return Mi[e]||null}(e);{var i=n;if(null==i)return;if(i in e)return e[i];const a=i.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const i=a.slice(e,a.length).join(".");if(i in t){t=t[i];break}}t=t[a[e]]}else t=void 0;return t}}(i[e],t);if(a)return Si(t,n,a)}}};let Mi;const Ti=Yt({});function Ei(e){return e in Mi}function Li(t,...n){delete ki[t],Ti.update(e=>(e[t]=nn.all([e[t]||{},...n]),e))}Vt([Ti],([e])=>Object.keys(e)),Ti.subscribe(e=>Mi=e);const Gi={};function _i(e){return Gi[e]}function Pi(e){return null!=e&&ji(e).some(e=>{return null==(e=_i(e))?void 0:e.size})}const Ii={};function Ri(e){if(!Pi(e))return e in Ii?Ii[e]:Promise.resolve();const t=ji(e).map(e=>{var t=_i(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Ii[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const n=Promise.all(e.map(e=>{var t=i,n=e;return Gi[t].delete(n),0===Gi[t].size&&delete Gi[t],e().then(e=>e.default||e)}));return n.then(e=>Li(i,...e))}})).then(()=>{if(Pi(e))return Ri(e);delete Ii[e]}),Ii[e]}function Bi(e,t){var n={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]]);return n}const Di={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Ai=Yt(!1);let Ni;const Oi=Yt(null);function Hi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function ji(e,t=Di.fallbackLocale){e=Hi(e);return t?[...new Set([...e,...Hi(t)])]:e}function Ui(){return null!=Ni?Ni:void 0}Oi.subscribe(e=>{Ni=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const We=Object.assign(Object.assign({},Oi),{set:t=>{if(t&&function(e){if(null!=e){var t=ji(e);for(let e=0;e<t.length;e++){var n=t[e];if(Ei(n))return n}}}(t)&&Pi(t)){var n=Di["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ui()&&n?e=window.setTimeout(()=>Ai.set(!0),n):Ai.set(!0),Ri(t).then(()=>{Oi.set(t)}).finally(()=>{clearTimeout(e),Ai.set(!1)})}return Oi.set(t)}}),zi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Wi=(e,t)=>{var n=Di["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yi=zi(e=>{var{locale:t,format:n}=e,e=Bi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Wi("number",n)),new Intl.NumberFormat(t,e)}),Vi=zi(e=>{var{locale:t,format:n}=e,e=Bi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Wi("date",n):0===Object.keys(e).length&&(e=Wi("date","short")),new Intl.DateTimeFormat(t,e)}),Zi=zi(e=>{var{locale:t,format:n}=e,e=Bi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Wi("time",n):0===Object.keys(e).length&&(e=Wi("time","short")),new Intl.DateTimeFormat(t,e)}),Ji=zi((e,t=Ui())=>new xi(e,t,Di.formats,{ignoreTag:Di.ignoreTag})),Ki=Vt([We,Ti],()=>(e,t={})=>{var n,i;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:r,locale:o=Ui(),default:s}=a;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Fi(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(n=null==(n=(i=Di).handleMissingMessage)?void 0:n.call(i,{locale:o,id:e,defaultValue:s}))?n:s)?i:e;if(!r)return l;let c=l;try{c=Ji(l,o).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Ye=(Vt([We],()=>(e,t)=>((e={})=>{var{locale:t=Ui()}=e,e=Bi(e,["locale"]);return Zi(Object.assign({locale:t},e))})(t).format(e)),Vt([We],()=>(e,t)=>((e={})=>{var{locale:t=Ui()}=e,e=Bi(e,["locale"]);return Vi(Object.assign({locale:t},e))})(t).format(e)),Vt([We],()=>(e,t)=>((e={})=>{var{locale:t=Ui()}=e,e=Bi(e,["locale"]);return Yi(Object.assign({locale:t},e))})(t).format(e)),Vt([We,Ti],()=>(e,t=Ui())=>Fi(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ut.indexOf(e)&&(t=new Nt(t),zt[e]=t,Ut.push(e)),zt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),Ve=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xi(i,a){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",a),Je(i+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function qi(e){We.set(e)}function Qi(e,t){Li(e,t)}const ea={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function ta(e,t,n){const i=e.slice();return i[47]=t[n],i[49]=n,i}function na(e,t,n){const i=e.slice();return i[12]=t[n],i[51]=n,i}function ia(t){let i,a=[],n=new Map,r=t[9];const o=e=>e[47].id;for(let e=0;e<r.length;e+=1){var s=ta(t,r,e),l=o(s);n.set(l,a[e]=ua(l,s))}return{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,i,n)},p(e,t){22501&t[0]&&(r=e[9],a=ve(a,t,o,1,e,r,n,i.parentNode,be,ua,i,ta))},d(t){for(let e=0;e<a.length;e+=1)a[e].d(t);t&&me(i)}}}function aa(e){let n,i,a=e[47].name+"";return{c(){n=he("a"),i=ge(a),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&a!==(a=e[47].name+"")&&ye(i,a)},d(e){e&&me(n)}}}function ra(e){let n,i,a=e[47].label+"";return{c(){n=he("a"),i=ge(a),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&a!==(a=e[47].label+"")&&ye(i,a)},d(e){e&&me(n)}}}function oa(e){let n,i=0<e[12]?.count&&sa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){0<e[12]?.count?i?i.p(e,t):((i=sa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function sa(e){let n,i=e[12]&&"true"==e[2]&&la(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[12]&&"true"==e[2]?i?i.p(e,t):((i=la(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function la(t){let n,i=[],a=new Map,r=t[12]?.items;const o=e=>e[12].id;for(let e=0;e<r.length;e+=1){var s=na(t,r,e),l=o(s);a.set(l,i[e]=da(l,s))}return{c(){n=he("ul");for(let e=0;e<i.length;e+=1)i[e].c();fe(n,"class","DropDown")},m(e,t){ue(e,n,t);for(let e=0;e<i.length;e+=1)i[e].m(n,null)},p(e,t){21312&t[0]&&(r=e[12]?.items,i=ve(i,t,o,1,e,r,a,n,be,da,null,na))},d(e){e&&me(n);for(let e=0;e<i.length;e+=1)i[e].d()}}}function ca(n){let i,a,r,o,s,l,c,d=n[12]?.name+"";function u(...e){return n[31](n[47],n[49],n[12],n[51],...e)}return{c(){i=he("li"),a=he("a"),r=ge(d),s=pe(),fe(a,"class",o="SubDropDown "+(n[6]==n[51]||n[8]==n[51]?"active":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(i,s),l||(c=V(i,"click",u),l=!0)},p(e,t){n=e,4096&t[0]&&d!==(d=n[12]?.name+"")&&ye(r,d),4416&t[0]&&o!==(o="SubDropDown "+(n[6]==n[51]||n[8]==n[51]?"active":""))&&fe(a,"class",o)},d(e){e&&me(i),l=!1,c()}}}function da(e,n){let i,a,r=n[12].games.count&&ca(n);return{key:e,first:null,c(){i=c(),r&&r.c(),a=c(),this.first=i},m(e,t){ue(e,i,t),r&&r.m(e,t),ue(e,a,t)},p(e,t){(n=e)[12].games.count?r?r.p(n,t):((r=ca(n)).c(),r.m(a.parentNode,a)):r&&(r.d(1),r=null)},d(e){e&&me(i),r&&r.d(e),e&&me(a)}}}function ua(e,n){let i,a,r,o,s,l;function c(e){return"headerMain"===e[0]?ra:aa}let d=c(n),u=d(n),m=1==n[10][n[49]]&&oa(n);function h(...e){return n[32](n[47],n[49],...e)}return{key:e,first:null,c(){i=he("li"),u.c(),a=pe(),m&&m.c(),r=pe(),fe(i,"class",o="CarouselItem "+(n[5]==n[49]||n[7]==n[49]?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(i,"part","CarouselItem"),this.first=i},m(e,t){ue(e,i,t),u.m(i,null),de(i,a),m&&m.m(i,null),de(i,r),s||(l=V(i,"click",h),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(i,a))),1==n[10][n[49]]?m?m.p(n,t):((m=oa(n)).c(),m.m(i,r)):m&&(m.d(1),m=null),673&t[0]&&o!==(o="CarouselItem "+(n[5]==n[49]||n[7]==n[49]?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(i,"class",o)},d(e){e&&me(i),u.d(),m&&m.d(),s=!1,l()}}}function ma(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w=0<n[9].length&&ia(n);return{c(){i=he("div"),a=he("div"),(r=he("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=pe(),s=he("div"),l=he("ul"),(c=he("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=pe(),w&&w.c(),u=pe(),(m=he("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=W,fe(r,"class","CarouselLeftArrow"),fe(r,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(m,"part","CarouselRightArrow"),fe(a,"class",h="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(a,"part",g="CarouselContainer "+(n[13]?"CarouselContainerMobile":"")+" "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(a,"style",p="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(i,"class",f="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":"")),fe(i,"part",y="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,o),de(a,s),de(s,l),de(l,c),de(l,d),w&&w.m(l,null),n[33](l),n[34](s),de(a,u),de(a,m),n[36](i),b||(v=[V(r,"click",n[30]),V(m,"click",n[35])],b=!0)},p(e,t){0<e[9].length?w?w.p(e,t):((w=ia(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),1&t[0]&&h!==(h="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(a,"class",h),1&t[0]&&g!==(g="CarouselContainer "+(e[13]?"CarouselContainerMobile":"")+" "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(a,"part",g),3&t[0]&&p!==(p="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(a,"style",p),1&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"class",f),1&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"part",y)},i:W,o:W,d(e){e&&me(i),w&&w.d(),n[33](null),n[34](null),n[36](null),b=!1,Y(v)}}}function ha(t,e,r){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:i="0"}=e,{location:c=""}=e,{clientstyling:a=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:g=!1}=e,{issecondarymenu:p=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(w),We.set(v))}),Object.keys(ea).forEach(e=>{Qi(e,ea[e])});let $,x,C,k,S,F,M,T,B=window.navigator.userAgent,D="PC"!==Ve(B),E=[],L=[],G=(e,t,n,i,a)=>{if(!e.subGroups||null!==i){if(I(),r(5,x=t),r(5,x),r(7,k=x),"secondary"!=a)return window.postMessage({type:l,itemId:e.id,index:t,item:e},window.location.href),r(6,C=null),void r(8,S=null);r(6,C=i),r(6,C),r(8,S=C),window.postMessage({type:l,itemId:n.id,subIndex:i,subItem:n},window.location.href)}},_=()=>{T.scrollBy({left:-250,behavior:"smooth"}),"true"==b&&R()},P=()=>{T.scrollBy({left:250,behavior:"smooth"}),"true"==b&&R()};const A=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(r(9,E=e.data.data),r(10,L=new Array(E.length).fill(!1)),"true"==b&&R()),"GoToHomepage"==e.data.type&&E.forEach((e,t)=>{e.path.endsWith("/casino")&&(r(5,x=t),r(5,x),r(7,k=x))})},I=()=>{const t=$.querySelectorAll(".DropDown");document.activeElement.blur(),T.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+T.scrollLeft+"px)";T.classList.remove("isScrolling")},R=()=>{E.forEach((e,t)=>{var n,i,a;0<(null==(a=null==e?void 0:e.subGroups)?void 0:a.count)&&(r(10,L[t]=!0,L),n=e,i=t,"secondaryMenu"==c&&o&&s&&f&&n.id&&(a=new URL(`${o}/casino/groups/${s}/${n.id}/subGroups?language=`+f),fetch(a.href).then(e=>e.json()).then(e=>{r(12,M=e),"false"==b&&window.postMessage({type:l,itemId:n.id,index:i,item:n},window.location.href),window.postMessage({type:"SubgroupsIds",subGroupsIds:M.items.map(e=>e.id)})}).then(()=>{$.querySelectorAll(".DropDown")&&I()})),"headerMain"==c&&window.postMessage({type:l,item:n},window.location.href))})};return Ue(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",A,!1),setTimeout(()=>{T.addEventListener("scroll",I)},500),()=>{window.removeEventListener("message",A),$.removeEventListener("scroll",I)})),t.$$set=e=>{"endpoint"in e&&r(17,o=e.endpoint),"datasource"in e&&r(18,s=e.datasource),"onclickeventname"in e&&r(19,n=e.onclickeventname),"actionevent"in e&&r(20,l=e.actionevent),"favoritesnumber"in e&&r(21,i=e.favoritesnumber),"location"in e&&r(0,c=e.location),"clientstyling"in e&&r(22,a=e.clientstyling),"clientstylingurl"in e&&r(23,d=e.clientstylingurl),"identity"in e&&r(24,u=e.identity),"translationurl"in e&&r(25,m=e.translationurl),"containermaxwidth"in e&&r(1,h=e.containermaxwidth),"isprimarymenu"in e&&r(26,g=e.isprimarymenu),"issecondarymenu"in e&&r(27,p=e.issecondarymenu),"lang"in e&&r(28,f=e.lang),"activeindex"in e&&r(29,y=e.activeindex),"showsubgroups"in e&&r(2,b=e.showsubgroups)},t.$$.update=()=>{if(536870912&t.$$.dirty[0]&&y&&(r(5,x=parseInt(y,10)),k||r(7,k=x),"true"==b&&R()),33554432&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Qi(e,t[e])})}).catch(e=>{console.log(e)}),4194312&t.$$.dirty[0]&&a&&F){let e=document.createElement("style");e.innerHTML=a,F.appendChild(e)}if(8388616&t.$$.dirty[0]&&d&&F){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&f&&(e=f,We.set(e))},[c,h,b,F,$,x,C,k,S,E,L,T,M,D,G,_,P,o,s,n,l,i,a,d,u,m,g,p,f,y,()=>_(),(e,t,n,i,a)=>{G(e,t,n,i,"secondary"),a.stopPropagation()},(e,t,n)=>{G(e,t,null,null,"main"),n.preventDefault()},function(e){ze[e?"unshift":"push"](()=>{$=e,r(4,$)})},function(e){ze[e?"unshift":"push"](()=>{T=e,r(11,T)})},()=>P(),function(e){ze[e?"unshift":"push"](()=>{F=e,r(3,F)})}]}function ga(n){let i,a,r,o;return{c(){i=he("div"),x(a=he("casino-slider"),"lang",n[2]),x(a,"datasource",n[1]),x(a,"endpoint",n[0]),x(a,"identity",ba),x(a,"favoritesnumber",n[13]),x(a,"showsubgroups",n[8]),x(a,"clientstyling",n[3]),x(a,"clientstylingurl",n[4]),x(a,"containermaxwidth",n[5]),x(a,"activeindex",n[11]),x(a,"actionevent",n[6]),x(a,"location",n[7]),fe(i,"class","CasinoCategoriesContainer"),fe(i,"part","CasinoCategoriesContainer")},m(e,t){ue(e,i,t),de(i,a),r||(o=S(n[14].call(null,a)),r=!0)},p(e,t){4&t[0]&&x(a,"lang",e[2]),2&t[0]&&x(a,"datasource",e[1]),1&t[0]&&x(a,"endpoint",e[0]),8192&t[0]&&x(a,"favoritesnumber",e[13]),256&t[0]&&x(a,"showsubgroups",e[8]),8&t[0]&&x(a,"clientstyling",e[3]),16&t[0]&&x(a,"clientstylingurl",e[4]),32&t[0]&&x(a,"containermaxwidth",e[5]),2048&t[0]&&x(a,"activeindex",e[11]),64&t[0]&&x(a,"actionevent",e[6]),128&t[0]&&x(a,"location",e[7])},d(e){e&&me(i),r=!1,o()}}}function pa(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function fa(e){let n;return{c(){fe(n=he("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function ya(n){let i;function a(e){return e[9]?fa:e[12]?pa:ga}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[26](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[26](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-secondary, #FD2839);background:-webkit-linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-color-black, #000);background:var(--emfe-w-color-white, #FFF)}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ha,ma,t,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,containermaxwidth:1,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:29,showsubgroups:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),f()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),f()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),f()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[29]}set activeindex(e){this.$$set({activeindex:e}),f()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});let ba="CasinoSliderData";function va(t,e,n){let i,a,{endpoint:r=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{userid:l=""}=e,{session:c=""}=e,{mostplayed:d=""}=e,{mostplayedrounds:u=""}=e,{lastplayed:m="false"}=e,{lastplayedperiod:h=""}=e,{favorites:g=""}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{containermaxwidth:y=""}=e,{activecategory:b=""}=e,{actionevent:v=""}=e,{sessioncheck:w=""}=e,{location:$="secondaryMenu"}=e,{showsubgroups:x="false"}=e,{filteredcategories:C=""}=e,k=0,S=!0,F=[],M=!1,T=window.navigator.userAgent,E=!1,L=!1;const G=()=>{window.postMessage({type:"SliderData",identity:ba,data:F},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(0,r=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"lang"in e&&n(2,s=e.lang),"userid"in e&&n(16,l=e.userid),"session"in e&&n(17,c=e.session),"mostplayed"in e&&n(18,d=e.mostplayed),"mostplayedrounds"in e&&n(19,u=e.mostplayedrounds),"lastplayed"in e&&n(20,m=e.lastplayed),"lastplayedperiod"in e&&n(21,h=e.lastplayedperiod),"favorites"in e&&n(22,g=e.favorites),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,f=e.clientstylingurl),"containermaxwidth"in e&&n(5,y=e.containermaxwidth),"activecategory"in e&&n(15,b=e.activecategory),"actionevent"in e&&n(6,v=e.actionevent),"sessioncheck"in e&&n(23,w=e.sessioncheck),"location"in e&&n(7,$=e.location),"showsubgroups"in e&&n(8,x=e.showsubgroups),"filteredcategories"in e&&n(24,C=e.filteredcategories)},t.$$.update=()=>{if(7&t.$$.dirty[0]&&r&&o&&s&&(r||(i="Endpoint is missing! Please provide a valid endpointURL.",n(12,M=!0),n(9,S=!1),console.error(i)),o||(i="Datasource is missing! Please provide a valid datasource.",n(12,M=!0),n(9,S=!1),console.error(i)),(!s||s.length<2)&&(i="Language is missing! Please provide a valid language (alpha2code)",n(12,M=!0),n(9,S=!1),console.error(i)),!M)){let e=new URL(r+"/casino/groups/"+o);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("platform",Ve(T)),fetch(e).then(e=>e.json()).then(e=>{let i=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of i)e.flags==n&&(t=!1);return t});(F=(F=[]).concat(t)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(9,S=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(12,M=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(12,M=!0),console.error("There was an error while fetching the categories",e)})}if(5636609&t.$$.dirty[0]&&r&&c&&(d||m||g)&&!S&&(0!=E||"true"!=g&&"true"!=d&&"true"!=m||F.splice(1,0,{id:"MYGAMES",name:"My Games",href:"",games:[]}),ke(),E=!0,n(25,L=!0),G()),33718784&t.$$.dirty[0]&&!S&&b&&(!c||L)&&(e=b.split("$"),n(15,b=2<e.length?b.split("$").slice(0,2).join("$"):b),n(11,k=F.map(e=>e.id).indexOf(decodeURI(b)))),1032&t.$$.dirty[0]&&p&&a){let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)}if(1040&t.$$.dirty[0]&&f&&a){let t=document.createElement("style"),e=new URL(f);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},n(13,0),[r,o,s,p,f,y,v,$,x,S,a,k,M,0,G,b,l,c,d,u,m,h,g,w,C,L,function(e){ze[e?"unshift":"push"](()=>{a=e,n(10,a)})}]}function wa(e,t){Li(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends a{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},va,ya,t,{endpoint:0,datasource:1,lang:2,userid:16,session:17,mostplayed:18,mostplayedrounds:19,lastplayed:20,lastplayedperiod:21,favorites:22,clientstyling:3,clientstylingurl:4,containermaxwidth:5,activecategory:15,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[16]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[17]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[18]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[19]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[5]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[15]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),f()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}});const $a={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function xa(e,t){Li(e,t)}const Ca={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};Sa=ka={path:void 0,exports:{},require:function(e,t){return Gn(null==t&&ka.path)}},ka.exports,Sa.exports=function(){var B;function g(){return B.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function s(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],i=e.length,a=0;a<i;++a)n.push(t(e[a],a));return n}function j(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return Gt(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function z(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},Y=g.momentProperties=[],V=!1;function Z(e,t){var n,i,a,r=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<r)for(n=0;n<r;n++)s(a=t[i=Y[n]])||(e[i]=a);return e}function J(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,g.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===g.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,o){var s=!0;return j(function(){if(null!=g.deprecationHandler&&g.deprecationHandler(null,r),s){for(var e,t,n=[],i=arguments.length,a=0;a<i;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}K(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function q(e,t){null!=g.deprecationHandler&&g.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,i=j({},e);for(n in t)p(t,n)&&(D(e[n])&&D(t[n])?(i[n]={},j(i[n],e[n]),j(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)p(e,n)&&!p(t,n)&&D(e[n])&&(i[n]=j({},i[n]));return i}function ee(e){null!=e&&this.set(e)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function r(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ae={},re={};function i(e,t,n,i){var a="string"==typeof i?function(){return this[i]()}:i;e&&(re[e]=a),t&&(re[t[0]]=function(){return r(a.apply(this,arguments),t[1],t[2])}),n&&(re[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ae[t]=ae[t]||function(i){for(var e,a=i.match(ne),t=0,r=a.length;t<r;t++)re[a[t]]?a[t]=re[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=d(a[n])?a[n].call(e,i):a[n];return t}}(t),ae[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,i={};for(n in e)p(e,n)&&(t=u(n))&&(i[t]=e[n]);return i}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function m(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?m(e):t}function me(t,n){return function(e){return null!=e?(ge(this,t,e),g.updateOffset(this,n),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ge(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=h(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var a=/\d/,y=/\d\d/,pe=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,$e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,ke=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,i){Te[e]=d(n)?n:function(e,t){return e&&i?i:n}}function Me(e,t){return p(Te,e)?Te[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,a){return t||n||i||a})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Te={},Ee={};function x(e,n){var t,i,a=n;for("string"==typeof e&&(e=[e]),N(n)&&(a=function(e,t){t[n]=h(e)}),i=e.length,t=0;t<i;t++)Ee[e[t]]=a}function Le(e,a){x(e,function(e,t,n,i){n._w=n._w||{},a(e,n._w,n,i)})}var C,k=0,S=1,F=2,M=3,T=4,E=5,Ge=6,_e=7,Pe=8;function Ie(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[S]=h(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[S]=i:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Be="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),g.updateOffset(this,!0),this):he(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],a=[],r=0;r<12;r++)t=c([2e3,r]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),a.sort(e),r=0;r<12;r++)n[r]=$(n[r]),i[r]=$(i[r]);for(r=0;r<24;r++)a[r]=$(a[r]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?r(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",ke),w("YY",b,y),w("YYYY",$e,fe),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],k),x("YYYY",function(e,t){t[k]=2===e.length?g.parseTwoDigitYear(e):h(e)}),x("YY",function(e,t){t[k]=g.parseTwoDigitYear(e)}),x("Y",function(e,t){t[k]=parseInt(e,10)}),g.parseTwoDigitYear=function(e){return h(e)+(68<h(e)?1900:2e3)};var ze=me("FullYear",!0);function We(e,t,n,i,a,r,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,a,r,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,a,r,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,i,a){var r,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,a),n=t<=0?Ue(r=e-1)+t:t>Ue(e)?(r=e+1,t-Ue(e)):(r=e,t);return{year:r,dayOfYear:n}}function Je(e,t,n){var i,a,r=Ve(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?i=r+L(a=e.year()-1,t,n):r>L(e.year(),t,n)?(i=r-L(e.year(),t,n),a=e.year()+1):(a=e.year(),i=r),{week:i,year:a}}function L(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Le(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=h(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Le(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,i){t[i]=h(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function it(){function e(e,t){return t.length-e.length}for(var t,n,i,a=[],r=[],o=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=$(this.weekdaysMin(i,"")),n=$(this.weekdaysShort(i,"")),i=$(this.weekdays(i,"")),a.push(t),r.push(n),o.push(i),s.push(t),s.push(n),s.push(i);a.sort(e),r.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function rt(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,at),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+at.apply(this)+r(this.minutes(),2)}),i("hmmss",0,0,function(){return""+at.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)}),rt("a",!0),rt("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=h(e);t[M]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[M]=h(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i,2)),t[E]=h(e.substr(a)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i,2)),t[E]=h(e.substr(a))});v=me("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:Be,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},G={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,i,a,r=0;r<e.length;){for(t=(a=dt(e[r]).split("-")).length,n=(n=dt(e[r+1]))?n.split("-"):null;0<t;){if(i=mt(a.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(a,n)>=t-1)break;t--}r++}return st}function mt(t){var e;if(void 0===G[t]&&Sa&&Sa.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Gn(),ht(e)}catch(e){G[t]=null}return G[t]}function ht(e,t){return e&&((t=s(t)?_(e):gt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function gt(e,t){if(null===t)return delete G[e],null;var n,i=lt;if(t.abbr=e,null!=G[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=G[e]._config;else if(null!=t.parentLocale)if(null!=G[t.parentLocale])i=G[t.parentLocale]._config;else{if(null==(n=mt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return G[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){gt(e.name,e.config)}),ht(e),G[e]}function _(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=mt(e))return t;e=[e]}return ut(e)}function pt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[S]<0||11<t[S]?S:t[F]<1||t[F]>Ie(t[k],t[S])?F:t[M]<0||24<t[M]||24===t[M]&&(0!==t[T]||0!==t[E]||0!==t[Ge])?M:t[T]<0||59<t[T]?T:t[E]<0||59<t[E]?E:t[Ge]<0||999<t[Ge]?Ge:-1,f(e)._overflowDayOfYear&&(t<k||F<t)&&(t=F),f(e)._overflowWeeks&&-1===t&&(t=_e),f(e)._overflowWeekday&&-1===t&&(t=Pe),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$t=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,i,a,r,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){a=vt[t][0],i=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){r=(l[2]||" ")+wt[t][0];break}if(null==r)return e._isValid=!1}if(!i&&null!=r)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(r||"")+(o||""),Et(e)}else e._isValid=!1}function St(e,t,n,i,a,r){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Be.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(a,10)];return r&&e.push(parseInt(r,10)),e}function Ft(e){var t,n,i,a,r=xt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=St(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],i=t,a=e,n&&qe.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=r[8],i=r[9],a=r[10],n?Ct[n]:i?0:((n=parseInt(a,10))-(i=n%100))/100*60+i),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,i,a,r,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(g.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[F]&&null==e._a[S]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,i=Mt(u.GG,d._a[k],Je(P(),1,4).year),a=Mt(u.W,1),((r=Mt(u.E,1))<1||7<r)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Je(P(),o,s),i=Mt(u.gg,d._a[k],c.year),a=Mt(u.w,c.week),null!=u.d?((r=u.d)<0||6<r)&&(l=!0):null!=u.e?(r=u.e+o,(u.e<0||6<u.e)&&(l=!0)):r=o),a<1||a>L(i,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(i,a,r,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>Ue(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[S]=l.getUTCMonth(),e._a[F]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[T]&&0===e._a[E]&&0===e._a[Ge]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,m),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==g.ISO_8601)if(e._f!==g.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i,a=""+e._i,r=a.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(a.match(Me(i,e))||[])[0])&&(0<(u=a.substr(0,a.indexOf(t))).length&&f(e).unusedInput.push(u),a=a.slice(a.indexOf(t)+t.length),o+=t.length),re[i]?(t?f(e).empty=!1:f(e).unusedTokens.push(i),u=i,h=e,null!=(m=t)&&p(Ee,u)&&Ee[u](m,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(i);f(e).charsLeftOver=r-o,0<a.length&&f(e).unusedInput.push(a),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(r=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=r.meridiemHour?r.meridiemHour(c,d):null!=r.isPM?((r=r.isPM(d))&&c<12&&(c+=12),c=r||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[k]=e._locale.erasConvertYear(d,e._a[k])),Tt(e),pt(e)}else Ft(e);else kt(e);var c,d,u,m,h}function Lt(e){var t,n=e._i,i=e._f;{var a,r;if(e._locale=e._locale||_(e._l),null===n||void 0===i&&""===n)return z({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new J(pt(n)):(O(n)?e._d=n:o(i)?function(e){var t,n,i,a,r,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)r=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Et(t),U(t)&&(o=!0),r=(r+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=r,s?r<i&&(i=r,n=t):(null==i||r<i||o)&&(i=r,n=t,o&&(s=!0));j(e,n||t)}(e):i?Et(e):s(i=(n=e)._i)?n._d=new Date(g.now()):O(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(a=n,null===(r=$t.exec(a._i))?(kt(a),!1===a._isValid&&(delete a._isValid,Ft(a),!1===a._isValid&&(delete a._isValid,a._strict?a._isValid=!1:g.createFromInputFallback(a)))):a._d=new Date(+r[1])):o(i)?(n._a=H(i.slice(0),function(e){return parseInt(e,10)}),Tt(n)):D(i)?(a=n)._d||(t=void 0===(r=ce(a._i)).day?r.date:r.day,a._a=H([r.year,r.month,t,r.hour,r.minute,r.second,r.millisecond],function(e){return e&&parseInt(e,10)}),Tt(a)):N(i)?n._d=new Date(i):g.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Gt(e,t,n,i,a){var r={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(D(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=a,r._l=n,r._i=e,r._f=t,r._strict=i,(a=new J(pt(Lt(a=r))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function P(e,t,n,i){return Gt(e,t,n,i,!1)}g.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),g.ISO_8601=function(){},g.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function _t(e,t){var n,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return P();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,r=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,a=Pt.length;for(t in e)if(p(e,t)&&(-1===C.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Pt[n]]){if(i)return!1;parseFloat(e[Pt[n]])!==h(e[Pt[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+r+7*a,this._months=+i+3*n+12*t,this._data={},this._locale=_(),this._bubble()}function Rt(e){return e instanceof It}function Bt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+r(~~(e/60),2)+n+r(~~e%60,2)})}Dt("Z",":"),Dt("ZZ",""),w("Z",Fe),w("ZZ",Fe),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Fe,e)});var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),g.updateOffset(t,!1),t):P(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}g.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n,i,a=e,r=null;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(r=Ut.exec(e))?(n="-"===r[1]?-1:1,a={y:0,d:h(r[F])*n,h:h(r[M])*n,m:h(r[T])*n,s:h(r[E])*n,ms:h(Bt(1e3*r[Ge]))*n}):(r=zt.exec(e))?(n="-"===r[1]?-1:1,a={y:Wt(r[2],n),M:Wt(r[3],n),w:Wt(r[4],n),d:Wt(r[5],n),h:Wt(r[6],n),m:Wt(r[7],n),s:Wt(r[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=P(a.from),r=P(a.to),n=t.isValid()&&r.isValid()?(r=Ot(r,t),t.isBefore(r)?i=Yt(t,r):((i=Yt(r,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(a={}).ms=n.milliseconds,a.M=n.months),r=new It(a),Rt(e)&&p(e,"_locale")&&(r._locale=e._locale),Rt(e)&&p(e,"_isValid")&&(r._isValid=e._isValid),r}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(i,a){return function(e,t){var n;return null===t||isNaN(+t)||(q(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,I(e,t),i),this}}function Zt(e,t,n,i){var a=t._milliseconds,r=Bt(t._days),t=Bt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,he(e,"Month")+t*n),r&&ge(e,"Date",he(e,"Date")+r*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&g.updateOffset(e,r||t))}I.fn=It.prototype,I.invalid=function(){return I(NaN)};Re=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||O(e)||Jt(e)||N(e)||(n=o(t=e),i=!1,n&&(i=0===t.filter(function(e){return!N(e)&&Jt(t)}).length),n&&i)||function(e){var t,n,i=D(e)&&!A(e),a=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=r.length;for(t=0;t<o;t+=1)n=r[t],a=a||p(e,n);return i&&a}(e)||null==e;var t,n,i}function Xt(e,t){if(e.date()<t.date())return-Xt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=_(e))&&(this._locale=e),this)}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],i=[],a=this.eras(),r=0,o=a.length;r<o;++r)t.push($(a[r].name)),e.push($(a[r].abbr)),n.push($(a[r].narrow)),i.push($(a[r].name)),i.push($(a[r].abbr)),i.push($(a[r].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){i(0,[e,e.length],0,t)}function ln(e,t,n,i,a){var r;return null==e?Je(this,i,a).year:(t>(r=L(e,i,a))&&(t=r),function(e,t,n,i,a){e=Ze(e,t,n,i,a),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,i,a))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",rn),w("NN",rn),w("NNN",rn),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],k),x(["yo"],function(e,t,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,a):t[k]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",ke),w("g",ke),w("GG",b,y),w("gg",b,y),w("GGGG",$e,fe),w("gggg",$e,fe),w("GGGGG",xe,ye),w("ggggg",xe,ye),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=h(e)}),Le(["gg","GG"],function(e,t,n,i){t[i]=g.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),x("Q",function(e,t){t[S]=3*(h(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],F),x("Do",function(e,t){t[F]=h(e.match(b)[0])});$e=me("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",pe),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=h(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),x(["m","mm"],T);fe=me("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),x(["s","ss"],E);var cn,xe=me("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,a),w("SS",we,y),w("SSS",we,pe),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ge]=h(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=me("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");a=J.prototype;function un(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!A(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<i.length;a+=1)n=n||p(e,i[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),n=Ot(e,this).startOf("day"),n=g.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,P(e)))},a.clone=function(){return new J(this)},a.diff=function(e,t,n){var i,a,r;if(!this.isValid())return NaN;if(!(i=Ot(e,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),t=u(t)){case"year":r=Xt(this,i)/12;break;case"month":r=Xt(this,i);break;case"quarter":r=Xt(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-a)/864e5;break;case"week":r=(this-i-a)/6048e5;break;default:r=this-i}return n?r:m(r)},a.endOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),g.updateOffset(this,!0),this},a.format=function(e){return e=e||(this.isUtc()?g.defaultFormatUtc:g.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(P(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(P(),e)},a.get=function(e){return d(this[e=u(e)])?this[e]():this},a.invalidAt=function(){return f(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,i){return e=l(e)?e:P(e),t=l(t)?t:P(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},a.isSame=function(e,t){var e=l(e)?e:P(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return U(this)},a.lang=Qe,a.locale=qt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return j({},f(this))},a.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),i=n.length,a=0;a<i;a++)this[n[a].unit](e[n[a].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),g.updateOffset(this,!0),this},a.subtract=Xe,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},a.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},a.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},a.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,a=n.length;i<a;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-g(n[i].since).year())*e+n[i].offset;return this.year()},a.year=ze,a.isLeapYear=function(){return ue(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=He,a.daysInMonth=function(){return Ie(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return L(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},a.date=$e,a.day=a.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},a.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},a.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},a.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},a.hour=a.hours=v,a.minute=a.minutes=fe,a.second=a.seconds=xe,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Ht(this);if("string"==typeof e){if(null===(e=Nt(Fe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Zt(this,I(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(Se,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=jt,a.isUTC=jt,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",$e),a.months=e("months accessor is deprecated. Use month instead",He),a.years=e("years accessor is deprecated. Use year instead",ze),a.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Lt(t))._a?(e=(t._isUTC?c:P)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),r=0,o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&h(e[o])!==h(t[o]))&&r++;return r+a}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function mn(e,t,n,i){var a=_(),i=c().set(i,t);return a[n](i,e)}function hn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var i=[],a=0;a<12;a++)i[a]=mn(e,a,n,"month");return i}function gn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var a,r=_(),o=e?r._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,i,"day");for(a=0;a<7;a++)s[a]=mn(t,(a+o)%7,i,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,i){var a=this._relativeTime[n];return d(a)?a(e,t,n,i):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)p(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,i=this._eras||_("en")._eras,a=0,r=i.length;a<r;++a)switch("string"==typeof i[a].since&&(n=g(i[a].since).startOf("day"),i[a].since=n.valueOf()),typeof i[a].until){case"undefined":i[a].until=1/0;break;case"string":n=g(i[a].until).startOf("day").valueOf(),i[a].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,a,r,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,a=l.length;i<a;++i)if(r=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[r,o,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?g(e.since).year():g(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,a;if(this._monthsParseExact)return function(e,t,n){var i,a,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=C.call(this._shortMonthsParse,e))||-1!==(a=C.call(this._longMonthsParse,e))?a:null:-1!==(a=C.call(this._longMonthsParse,e))||-1!==(a=C.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Je(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var i,a;if(this._weekdaysParseExact)return function(e,t,n){var i,a,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=C.call(this._shortWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._minWeekdaysParse,e))?a:null:-1!==(a=C.call(this._minWeekdaysParse,e))||-1!==(a=C.call(this._weekdaysParse,e))||-1!==(a=C.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ht("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===h(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),g.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),g.langData=e("moment.langData is deprecated. Use moment.localeData instead.",_);var pn=Math.abs;function fn(e,t,n,i){t=I(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),pe=wn("s"),Re=wn("m"),ve=wn("h"),be=wn("d"),Xe=wn("w"),v=wn("M"),fe=wn("Q"),xe=wn("y");function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=$n("milliseconds"),$e=$n("seconds"),ze=$n("minutes"),y=$n("hours"),xn=$n("days"),Cn=$n("months"),kn=$n("years");var Sn=Math.round,Fn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,i){var a=I(e).abs(),r=Sn(a.as("s")),o=Sn(a.as("m")),s=Sn(a.as("h")),l=Sn(a.as("d")),c=Sn(a.as("M")),d=Sn(a.as("w")),a=Sn(a.as("y")),r=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(r=(r=null!=n.w?r||d<=1&&["w"]||d<n.w&&["ww",d]:r)||c<=1&&["M"]||c<n.M&&["MM",c]||a<=1&&["y"]||["yy",a])[2]=t,r[3]=0<+e,r[4]=i,function(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}.apply(null,r)}var Tn=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,a,r,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),d=this.asSeconds();return d?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=En(this._months)!==En(d)?"-":"",r=En(this._days)!==En(d)?"-":"",o=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?r+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+i+"S":"")):"P0D"}var R=It.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=pn(this._milliseconds),this._days=pn(this._days),this._months=pn(this._months),e.milliseconds=pn(e.milliseconds),e.seconds=pn(e.seconds),e.minutes=pn(e.minutes),e.hours=pn(e.hours),e.months=pn(e.months),e.years=pn(e.years),this},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=pe,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=Xe,R.asMonths=v,R.asQuarters=fe,R.asYears=xe,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),i.milliseconds=e%1e3,e=m(e/1e3),i.seconds=e%60,e=m(e/60),i.minutes=e%60,e=m(e/60),i.hours=e%24,t+=m(e/24),n+=e=m(bn(t)),t-=yn(vn(e)),e=m(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},R.clone=function(){return I(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=$e,R.minutes=ze,R.hours=y,R.days=xn,R.weeks=function(){return m(this.days()/7)},R.months=Cn,R.years=kn,R.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Fn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Fn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),t=Mn(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},R.toISOString=Ln,R.toString=Ln,R.toJSON=Ln,R.locale=qt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),R.lang=Qe,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",ke),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(h(e))}),g.version="2.29.3",B=P,g.fn=a,g.min=function(){return _t("isBefore",[].slice.call(arguments,0))},g.max=function(){return _t("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=c,g.unix=function(e){return P(1e3*e)},g.months=function(e,t){return hn(e,t,"months")},g.isDate=O,g.locale=ht,g.invalid=z,g.duration=I,g.isMoment=l,g.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},g.parseZone=function(){return P.apply(null,arguments).parseZone()},g.localeData=_,g.isDuration=Rt,g.monthsShort=function(e,t){return hn(e,t,"monthsShort")},g.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},g.defineLocale=gt,g.updateLocale=function(e,t){var n,i;return null!=t?(i=lt,null!=G[e]&&null!=G[e].parentLocale?G[e].set(Q(G[e]._config,t)):(t=Q(i=null!=(n=mt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=G[e],G[e]=i),ht(e)):null!=G[e]&&(null!=G[e].parentLocale?(G[e]=G[e].parentLocale,e===ht()&&ht(e)):null!=G[e]&&delete G[e]),G[e]},g.locales=function(){return te(G)},g.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},g.normalizeUnits=u,g.relativeTimeRounding=function(e){return void 0===e?Sn:"function"==typeof e&&(Sn=e,!0)},g.relativeTimeThreshold=function(e,t){return void 0!==Fn[e]&&(void 0===t?Fn[e]:(Fn[e]=t,"s"===e&&(Fn.ss=t-1),!0))},g.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},g.prototype=a,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g}();var ka,Sa,Fa=ka.exports;function Ma(e,t){Li(e,t)}const Ta={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Ea={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function La(e,t,n){const i=e.slice();return i[109]=t[n],i[111]=n,i}function Ga(e,t,n){const i=e.slice();return i[106]=t[n],i}function _a(e){let n,i=!Ye(e[37])&&!e[0]&&e[15],a=i&&Pa(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(i=32769&t[0]?!Ye(e[37])&&!e[0]&&e[15]:i)?a?a.p(e,t):((a=Pa(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Pa(n){let i,a,r;return{c(){(i=he("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[67]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function Ia(n){let i,a,r,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){i=he("button"),a=ge(s),fe(i,"class","GameInfoBtn"),fe(i,"part","GameInfoBtn")},m(e,t){ue(e,i,t),de(i,a),r||(o=V(i,"click",n[68]),r=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(a,s)},d(e){e&&me(i),r=!1,o()}}}function Ra(e){let n;return{c(){(n=he("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Ba(n){let i,a,r;return{c(){(i=he("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[69]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function Da(e){let n,i,a=e[36]("gameThumbnail.new")+"";return{c(){n=he("span"),i=ge(a),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&a!==(a=e[36]("gameThumbnail.new")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Aa(e){let n,i;return{c(){n=he("span"),i=ge(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&me(n)}}}function Na(e){let n,i,a=!e[23]&&e[21]&&e[22]&&Oa(e);function r(e){return e[23]&&e[20]&&e[20]===qa?ja:e[23]&&e[20]&&e[20]===Qa?Ha:void 0}let o=r(e),s=o&&o(e);return{c(){a&&a.c(),n=pe(),s&&s.c(),i=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){!e[23]&&e[21]&&e[22]?a?a.p(e,t):((a=Oa(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){a&&a.d(e),e&&me(n),s&&s.d(e),e&&me(i)}}}function Oa(e){let n,i,a,r,o,s,l,c,d,u,m=e[36]("gameThumbnail.opens")+"",h=Fa.utc(e[21]).local().format(e[22])+"",g=e[46](e[35])+"",p=e[45](e[27],e[28],e[26])+"";return{c(){n=he("div"),i=he("div"),a=ge(m),r=pe(),o=he("span"),s=ge(h),l=pe(),c=new B(!1),d=pe(),u=new B(!1),fe(i,"class","ClosedGame"),fe(i,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,i),de(i,a),de(i,r),de(i,o),de(o,s),de(n,l),c.m(g,n),de(n,d),u.m(p,n)},p(e,t){32&t[1]&&m!==(m=e[36]("gameThumbnail.opens")+"")&&ye(a,m),6291456&t[0]&&h!==(h=Fa.utc(e[21]).local().format(e[22])+"")&&ye(s,h),16&t[1]&&g!==(g=e[46](e[35])+"")&&c.p(g),469762048&t[0]&&p!==(p=e[45](e[27],e[28],e[26])+"")&&u.p(p)},d(e){e&&me(n)}}}function Ha(n){let i,a,r,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(tr),m=[];for(let e=0;e<u.length;e+=1)m[e]=Ya(La(n,u,e));return{c(){i=he("div"),a=he("div");for(let e=0;e<m.length;e+=1)m[e].c();r=pe(),o=new B(!1),s=pe(),l=new B(!1),fe(a,"class","LiveIcons"),fe(a,"part","LiveIcons"),o.a=s,l.a=null,fe(i,"class",n[31]),fe(i,"part",n[31])},m(e,t){ue(e,i,t),de(i,a);for(let e=0;e<m.length;e+=1)m[e].m(a,null);n[70](a),de(i,r),o.m(c,i),de(i,s),l.m(d,i)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(tr),e=0;e<u.length;e+=1){const o=La(t,u,e);m[e]?m[e].p(o,n):(m[e]=Ya(o),m[e].c(),m[e].m(a,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(i,"class",t[31]),1&n[1]&&fe(i,"part",t[31])},d(e){e&&me(i),F(m,e),n[70](null)}}}function ja(e){let n,i,a,r,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?Za:Va}let u=d(e),m=u(e);return{c(){n=he("div"),i=he("div"),m.c(),a=pe(),r=new B(!1),o=pe(),s=new B(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),r.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,i),m.m(i,null),de(n,a),r.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(i,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&r.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function Ua(e){let n;function i(e){return e[30]?Wa:za}let a=i(e),r=a(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){a===(a=i(e))&&r?r.p(e,t):(r.d(1),(r=a(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function za(e){let n,i,a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new B(!1),i=c(),n.a=i},m(e,t){n.m(a,e,t),ue(e,i,t)},p(e,t){8192&t[0]|2&t[1]&&a!==(a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(a)},d(e){e&&me(i),e&&n.d()}}}function Wa(e){let n,i,a,r,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=he("div"),i=new B(!1),a=pe(),r=new B(!1),o=pe(),i.a=a,r.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),i.m(s,n),de(n,a),r.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&i.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&r.p(l)},d(e){e&&me(n)}}}function Ya(e){let n,i=e[13]&&e[13][e[111]]&&Ua(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?i?i.p(e,t):((i=Ua(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function Va(t){let a,r=t[25],o=[];for(let e=0;e<r.length;e+=1)o[e]=Ja(Ga(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(r=t[25],e=0;e<r.length;e+=1){var i=Ga(t,r,e);o[e]?o[e].p(i,n):(o[e]=Ja(i),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){F(o,e),e&&me(a)}}}function Za(e){let n,i,a=e[36]("gameThumbnail.full")+"";return{c(){n=he("span"),i=ge(a),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&a!==(a=e[36]("gameThumbnail.full")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Ja(e){let n,i,a,r,o,s,l;return{c(){n=he("span"),i=E("svg"),a=E("path"),r=E("path"),o=pe(),fe(a,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(r,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"width","13"),fe(i,"height","14"),fe(i,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,i),de(i,a),de(i,r),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&me(n)}}}function Ka(e){let n,i;return{c(){n=he("p"),i=ge(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[0]&&ye(i,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function Xa(n){let i,a,r,o,s,l,A,c,d,u,m,h,N,g,p,O,f,y,H,b,v,w,$,x,C,k,S,j,F,M,T,U,E=(n[5]||"-")+"",L=n[16]&&_a(n),G=n[1]&&Ia(n);function z(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(Ye(e[37])||!e[0]||!e[15]||!e[2]):b)?Ba:(v=null==v?!!(Ye(e[37])&&e[0]&&e[15]&&e[2]):v)?Ra:void 0}let _=z(n,[-1,-1,-1,-1]),P=_&&_(n),I=n[7]&&Da(n),R=n[8]&&Aa(n),B=n[12]&&Na(n),D=n[10]&&Ka(n);return{c(){i=he("div"),a=he("div"),r=he("img"),A=pe(),c=he("div"),d=he("div"),L&&L.c(),u=pe(),m=he("p"),h=ge(n[4]),N=pe(),G&&G.c(),O=pe(),f=he("span"),y=ge(E),H=pe(),P&&P.c(),w=pe(),$=he("div"),I&&I.c(),x=pe(),R&&R.c(),C=pe(),B&&B.c(),j=pe(),D&&D.c(),this.c=W,ce(r.src,o=n[3])||fe(r,"src",o),fe(r,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(r,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(r,"alt",""),fe(r,"loading","lazy"),fe(m,"class","GameInfoName"),fe(m,"part","GameInfoName"),fe(m,"title",n[4]),fe(d,"class",g="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",p="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(a,"class",k="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(a,"part",S="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(i,"class",F="GameContainer "+n[34]),fe(i,"part",M="GameContainer "+n[34])},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[66](r),de(a,A),de(a,c),de(c,d),L&&L.m(d,null),de(d,u),de(d,m),de(m,h),de(d,N),G&&G.m(d,null),de(c,O),de(c,f),de(f,y),de(a,H),P&&P.m(a,null),de(a,w),de(a,$),I&&I.m($,null),de($,x),R&&R.m($,null),de($,C),B&&B.m($,null),de(i,j),D&&D.m(i,null),n[71](i),T||(U=[V(a,"mouseenter",n[42]),V(a,"mouseleave",n[43]),V(a,"touchstart",n[40],{passive:!0}),V(a,"touchend",n[41],{passive:!0})],T=!0)},p(e,t){8&t[0]&&!ce(r.src,o=e[3])&&fe(r,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(r,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(r,"part",l),e[16]?L?L.p(e,t):((L=_a(e)).c(),L.m(d,u)):L&&(L.d(1),L=null),16&t[0]&&ye(h,e[4]),16&t[0]&&fe(m,"title",e[4]),e[1]?G?G.p(e,t):((G=Ia(e)).c(),G.m(d,null)):G&&(G.d(1),G=null),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",g),131072&t[0]&&p!==(p="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",p),32&t[0]&&E!==(E=(e[5]||"-")+"")&&ye(y,E),_===(_=z(e,t))&&P?P.p(e,t):(P&&P.d(1),(P=_&&_(e))&&(P.c(),P.m(a,w))),e[7]?I?I.p(e,t):((I=Da(e)).c(),I.m($,x)):I&&(I.d(1),I=null),e[8]?R?R.p(e,t):((R=Aa(e)).c(),R.m($,C)):R&&(R.d(1),R=null),e[12]?B?B.p(e,t):((B=Na(e)).c(),B.m($,null)):B&&(B.d(1),B=null),25169920&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"class",k),8392704&t[0]|4&t[1]&&S!==(S="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"part",S),e[10]?D?D.p(e,t):((D=Ka(e)).c(),D.m(i,null)):D&&(D.d(1),D=null),8&t[1]&&F!==(F="GameContainer "+e[34])&&fe(i,"class",F),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(i,"part",M)},i:W,o:W,d(e){e&&me(i),n[66](null),L&&L.d(),G&&G.d(),P&&P.d(),I&&I.d(),R&&R.d(),B&&B.d(),D&&D.d(),n[71](null),T=!1,Y(U)}}}const qa="blackjack",Qa="roulette",er="doubleballroulette",tr=5;function nr(a,e,o){let t;Ze(a,Ki,e=>o(36,t=e));let B,r,s,l,n,D,A,c,d,N,O,H,u,j,U,z,m,W,Y,V,h,Z,g,J,K,{session:X=""}=e,{userid:p=""}=e,{lang:f="en"}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{favorites:w=""}=e,{gamethumbnail:q=""}=e,{gamename:Q=""}=e,{gamevendor:i=""}=e,{gameid:$=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:x=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:ae=!1}=e,{currency:S=""}=e,{gamepagemodalurl:F="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:T=""}=e,{connectlive:E=""}=e,{visibilityconnect:L=""}=e,{integratedgameframedesktop:G="false"}=e,{integratedgameframemobile:_="false"}=e,re=!1,oe=!1,se=!1,P=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",I="";const me=[qa],he=[Qa,er],ge={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},pe={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Ta).forEach(e=>{Ma(e,Ta[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+$||k||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+$||k||o(0,C=!1),"UserSessionID"===e.data.type&&(o(15,re=!0),e.data.session,B=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,l=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(B||"Not logged in")}),Ye(P)&&"true"==_?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:F,isMobile:Ye(P),source:"GameThumbnail"},window.location.href):Ye(P)&&"false"==_&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ye(P)},window.location.href),Ye(P)||"true"!=G?Ye(P)||"false"!=G||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ye(P)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:F,isMobile:Ye(P)},window.location.href)},be=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ve=()=>{T&&EventSource&&!n&&i&&$&&(n=new EventSource(`${M}/encoder/lobby/updates/${i}/`+$)).addEventListener("message",$e)},we=()=>{n&&(n.close(),n=void 0)},$e=async e=>{const{type:t,data:n}=e;let i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:n,Seats:a,Open:r}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(29,u=a),o(12,l.currentOccupiedSeats=a,l),await ke());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,l.currentRouletteNumbers=n,l),await ke());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(12,l.currentDoubleBallRouletteNumbers=n,l),await ke());break;case"TableOpened":case"TableClosed":o(23,c=r),o(12,l.isOpen=r,l),await ke()}}}},xe=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})};return Ue(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",$e)})),a.$$set=e=>{"session"in e&&o(48,X=e.session),"userid"in e&&o(49,p=e.userid),"lang"in e&&o(1,f=e.lang),"clientstyling"in e&&o(50,y=e.clientstyling),"clientstylingurl"in e&&o(51,b=e.clientstylingurl),"translationurl"in e&&o(52,v=e.translationurl),"favorites"in e&&o(2,w=e.favorites),"gamethumbnail"in e&&o(3,q=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,i=e.gamevendor),"gameid"in e&&o(6,$=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,x=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(55,k=e.showfavoredcategory),"showgamename"in e&&o(10,ae=e.showgamename),"currency"in e&&o(56,S=e.currency),"gamepagemodalurl"in e&&o(57,F=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,T=e.livelobbyendpoint),"connectlive"in e&&o(60,E=e.connectlive),"visibilityconnect"in e&&o(61,L=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,G=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,_=e.integratedgameframemobile)},a.$$.update=()=>{if(536870912&a.$$.dirty[1]&&E&&("disconnect"===E?we():"connect"===E&&ve()),1073741824&a.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&"connect"===E&&ve()),2&a.$$.dirty[0]&&f&&(t=f,We.set(t)),134610944&a.$$.dirty[1]&&X&&p&&M&&(o(15,re=!0),B=p),8&a.$$.dirty[0]&&q&&r&&o(19,r.onload=()=>{o(18,se=!0)},r),2048&a.$$.dirty[0]|524288&a.$$.dirty[1]&&y&&s){let e=document.createElement("style");e.innerHTML=y,s.appendChild(e)}if(2048&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&b&&s&&Ce(),4&a.$$.dirty[0]&&w&&"true"==w&&o(16,oe=!0),2097152&a.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ma(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&ie&&b&&Ce(),402653184&a.$$.dirty[1]&&M&&T){let e=new URL(""+T.split("?")[0]);e.searchParams.append("platform",Ve(P)),e.searchParams.append("language",f),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(12,l=e)})}if(4096&a.$$.dirty[0]&&l&&l&&(o(23,c=l.isOpen),ce=l.betLimit||{},o(24,d=l.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,u=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:t,originalTimeFormat:e}=d["value"],o(21,A=t),o(22,le=e||le)),c&&o(20,D=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(me,e)?t=qa:R(he,e)&&(t=Qa)}}return t})(l)),o(26,ue=Ea[S]),o(27,N=(ce.min||{})[S]),o(28,O=(ce.max||{})[S]),j=l.currentRouletteNumbers,U=l.currentDoubleBallRouletteNumbers,z=l.vendorCategory,o(30,m=z.toLowerCase()===er),o(13,W=(m?U:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=m?" Double":""),o(32,V=R(he,z.toLowerCase())?pe:ge),Z=h,o(33,h=Array.isArray(u)&&u.length===H),l.dealer&&o(35,J=l.dealer.DealerName),K=l.numberOfPlayers,o(34,I="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(34,I+=" GameBackdrop"),c&&h&&N&&O&&l.currentOccupiedSeats?o(34,I+=" GameContainerDimmed"):!1===c&&A&&o(34,I+=" GameContainerFullyDimmed"),s&&(!Z&&h?(o(34,I+=" PulsatingRedShadow"),o(34,I=I.replace(" PulsatingGreenShadow",""))):Z&&!h&&(o(34,I+=" PulsatingGreenShadow"),o(34,I=I.replace(" PulsatingRedShadow",""))))),24576&a.$$.dirty[0]&&g&&W){const n="FirstElementAnimated",i=g.getElementsByClassName("First")[0];i&&(i.classList.add(n),setTimeout(()=>{i.classList.remove(n)},2e3))}var e,t},[C,f,w,q,Q,i,$,ee,te,ie,ae,s,l,W,g,re,oe,!1,se,r,D,A,le,c,d,de,ue,N,O,u,m,Y,V,h,I,J,t,P,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},R,(e,t,n)=>{let i,a;return null!=e&&null!=t&&(a=`
|
|
3
|
+
}`,m=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,h=_(e),{stylesheet:g,rules:p}=D.get(h)||(s=h,l={stylesheet:(l=e,f=he("style"),de((l=_(l)).head||l,f),f.sheet),rules:{}},D.set(s,l),l);p[m]||(p[m]=!0,g.insertRule(`@keyframes ${m} `+u,g.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+m+` ${i}ms linear ${r}ms 1 both`,N+=1,m}function H(e){A=e}function Ze(e){!function(){if(A)return A;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const j=[],Je=[],h=[],U=[],z=Promise.resolve();let Z=!1;function J(){Z||(Z=!0,z.then(f))}function ke(){return J(),z}function K(e){h.push(e)}const X=new Set;let q,Q=0;function f(){const e=A;do{for(;Q<j.length;){const e=j[Q];Q++,H(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),Y(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(K))}for(H(null),j.length=0,Q=0;Je.length;)Je.pop()();for(let e=0;e<h.length;e+=1){const i=h[e];X.has(i)||(X.add(i),i())}}while(h.length=0,j.length);for(;U.length;)U.pop()();Z=!1,X.clear(),H(e)}function ee(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,n,void 0),i}((t?"intro":"outro")+n))}const te=new Set;let ne;function ie(){ne={r:0,c:[],p:ne}}function re(){ne.r||Y(ne.c),ne=ne.p}function ae(e,t){e&&e.i&&(te.delete(e),e.i(t))}function oe(e,t,n,i){e&&e.o&&(te.has(e)||(te.add(e),ne.c.push(()=>{te.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const se={duration:0};function le(l,e,t,n){let c=e(l,t),d=n?0:1,u=null,m=null,h=null;function g(){if(h){var e=l,t=h;const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-i.length;r&&(e.style.animation=i.join(", "),(N-=r)||E(()=>{N||(D.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),D.clear())}))}}function p(e,t){var n=e.b-d;return t*=Math.abs(n),{a:d,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=w,tick:r=W,css:a}=c||se,o={start:C()+t,b:e};if(e||((o.group=ne).r+=1),!u&&!m){a&&(g(),h=O(l,d,e,n,t,i,a)),e&&r(0,1),u=p(o,n),K(()=>ee(l,e,"start"));{var s=e=>{if(m&&e>m.start&&(u=p(m,n),m=null,ee(l,u.b,"start"),a&&(g(),h=O(l,d,u.b,u.duration,0,i,c.css))),u)if(e>=u.end)r(d=u.b,1-d),ee(l,u.b,"end"),m||(u.b?g():--u.group.r||Y(u.group.c)),u=null;else if(e>=u.start){const l=e-u.start;d=u.a+u.d*i(l/u.duration),r(d,1-d)}return!(!u&&!m)};let t;return 0===L.size&&E(G),void new Promise(e=>{L.add(t={c:s,f:e})})}}m=o}return{run(e){F(c)?(q||(q=Promise.resolve()).then(()=>{q=null}),q.then(()=>{c=c(),i(e)})):i(e)},end(){g(),u=m=null}}}function be(e,t){e.d(1),t.delete(e.key)}function ve(t,n,i,r,a,o,s,l,e,c,d,u){let m=t.length,h=o.length,g=m;const p={};for(;g--;)p[t[g].key]=g;const f=[],y=new Map,b=new Map;for(g=h;g--;){const t=u(a,o,g),l=i(t);let e=s.get(l);e?r&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[g]=e),l in p&&b.set(l,Math.abs(g-p[l]))}const v=new Set,w=new Set;function $(e){ae(e,1),e.m(l,d),s.set(e.key,e),d=e.first,h--}for(;m&&h;){const n=f[h-1],i=t[m-1],r=n.key,a=i.key;n===i?(d=n.first,m--,h--):y.has(a)?!s.has(r)||v.has(r)?$(n):w.has(a)?m--:b.get(r)>b.get(a)?(w.add(r),$(n)):(v.add(a),m--):(e(i,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;h;)$(f[h-1]);return f}function i(i,e,t,n,r,a,o,s=[-1]){var l=A;H(i);const c=i.$$={fragment:null,ctx:null,props:a,update:W,not_equal:r,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:x(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&(n=e,-1===(e=i).$$.dirty[0]&&(j.push(e),J(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,Y(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const i=Array.from(a.childNodes);c.fragment&&c.fragment.l(i),i.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&ae(i.$$.fragment);{var u=i;s=e.target;o=e.anchor;t=e.customElement;const{fragment:m,on_mount:h,on_destroy:g,after_update:p}=u.$$;m&&m.m(s,o),t||K(()=>{var e=h.map($).filter(F);g?g.push(...e):Y(e),u.$$.on_mount=[]}),p.forEach(K)}f()}H(l)}let r;"function"==typeof HTMLElement&&(r=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(F);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(Y(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=W}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var we,$e,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,xe="URLSearchParams"in s,Ce="Symbol"in s&&"iterator"in Symbol,Fe="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Se="FormData"in s,Me="ArrayBuffer"in s;function Te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ee(e){return e="string"!=typeof e?String(e):e}function Le(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ce&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _e(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ie(e){var t=new FileReader,n=_e(t);return t.readAsArrayBuffer(e),n}function Pe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Be(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Fe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Se&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:xe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Me&&Fe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Pe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Me&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(e))?this._bodyArrayBuffer=Pe(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):xe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Fe&&(this.blob=function(){var e=Ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Ie)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=_e(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Se&&(this.formData=function(){return this.text().then(Ae)}),this.json=function(){return this.text().then(JSON.parse)},this}Me&&(we=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(e){return e&&-1<we.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Te(e),t=Ee(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Te(e)]},l.prototype.get=function(e){return e=Te(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Te(e))},l.prototype.set=function(e,t){this.map[Te(e)]=Ee(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Le(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Le(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Le(n)},Ce&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Re=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function De(e,t){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof De){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<Re.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ae(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ne(e,t){if(!(this instanceof Ne))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}De.prototype.clone=function(){return new De(this,{body:this._bodyInit})},Be.call(De.prototype),Be.call(Ne.prototype),Ne.prototype.clone=function(){return new Ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ne.error=function(){var e=new Ne(null,{status:0,statusText:""});return e.type="error",e};var Oe=[301,302,303,307,308],He=(Ne.redirect=function(e,t){if(-1===Oe.indexOf(t))throw new RangeError("Invalid status code");return new Ne(null,{status:t,headers:{location:e}})},s.DOMException);try{new He}catch(o){(He=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),He.prototype.constructor=He}function je(i,o){return new Promise(function(r,e){var t=new De(i,o);if(t.signal&&t.signal.aborted)return e(new He("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},i=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){r(new Ne(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new He("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(Fe?a.responseType="blob":Me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof l?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Ee(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Gn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}je.polyfill=!0,s.fetch||(s.fetch=je,s.Headers=l,s.Request=De,s.Response=Ne);var Ue=self.fetch.bind(self),ze=function(e,t){return(ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function We(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ze(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ye(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ve(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=a.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function et(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function tt(e){return"function"==typeof e}function nt(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var it=nt(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function rt(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}st.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Ye(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(tt(a))try{a()}catch(e){r=e instanceof it?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Ye(a),c=l.next();!c.done;c=l.next()){var d=c.value;try{ct(d)}catch(e){r=null!=r?r:[],e instanceof it?r=et(et([],Ve(r)),Ve(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new it(r)}},st.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ct(e);else{if(e instanceof st){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},st.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},st.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},st.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&rt(t,e)},st.prototype.remove=function(e){var t=this._finalizers;t&&rt(t,e),e instanceof st&&e._removeParent(this)},st.EMPTY=((e=new st).closed=!0,e);var at=st,ot=at.EMPTY;function st(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function lt(e){return e instanceof at||e&&"closed"in e&&tt(e.remove)&&tt(e.add)&&tt(e.unsubscribe)}function ct(e){tt(e)?e():e.unsubscribe()}var dt=void 0,ut=!1,mt=!1,ht={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=ht.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,et([e,t],Ve(n))):setTimeout.apply(void 0,et([e,t],Ve(n)))},clearTimeout:function(e){var t=ht.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gt(){}var pt=null;function ft(e){if(ut){var t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){var t=pt,n=t.errorThrown,t=t.error;if(pt=null,n)throw t}}else e()}We(wt,yt=at),wt.create=function(e,t,n){return new kt(e,t,n)},wt.prototype.next=function(e){this.isStopped||this._next(e)},wt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},wt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},wt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,yt.prototype.unsubscribe.call(this),this.destination=null)},wt.prototype._next=function(e){this.destination.next(e)},wt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},wt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var yt,bt=wt,vt=Function.prototype.bind;function wt(e){var t=yt.call(this)||this;return t.isStopped=!1,e?lt(t.destination=e)&&e.add(t):t.destination=Tt,t}function $t(e,t){return vt.call(e,t)}St.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Mt(e)}},St.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Mt(e)}else Mt(e)},St.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Mt(e)}};var xt,Ct=St,kt=(We(Ft,xt=bt),Ft);function Ft(e,t,n){var i=xt.call(this)||this,n=tt(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&mt?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&$t(e.next,t),error:e.error&&$t(e.error,t),complete:e.complete&&$t(e.complete,t)}):e;return i.destination=new Ct(n),i}function St(e){this.partialObserver=e}function Mt(e){var t=e;ht.setTimeout(function(){throw t})}var Tt={closed:!0,next:gt,error:function(e){throw e},complete:gt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function Et(e){return e}Gt.prototype.lift=function(e){var t=new Gt;return t.source=this,t.operator=e,t},Gt.prototype.subscribe=function(e,t,n){var i,r=this,a=(i=e)&&i instanceof bt||i&&tt(i.next)&&tt(i.error)&&tt(i.complete)&<(i)?e:new kt(e,t,n);return ft(function(){var e=r.operator,t=r.source;a.add(e?e.call(a,t):t?r._subscribe(a):r._trySubscribe(a))}),a},Gt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Gt.prototype.forEach=function(i,e){var r=this;return new(e=_t(e))(function(e,t){var n=new kt({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},Gt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Gt.prototype[e]=function(){return this},Gt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Et:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Gt.prototype.toPromise=function(e){var i=this;return new(e=_t(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Gt.create=function(e){return new Gt(e)};var Lt=Gt;function Gt(e){e&&(this._subscribe=e)}function _t(e){return null!=(e=null!=e?e:dt)?e:Promise}var It,Pt,Bt,Rt=nt(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(We(jt,Bt=Lt),jt.prototype.lift=function(e){var t=new Dt(this,this);return t.operator=e,t},jt.prototype._throwIfClosed=function(){if(this.closed)throw new Rt},jt.prototype.next=function(r){var a=this;ft(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=Ye(a.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(r)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},jt.prototype.error=function(t){var n=this;ft(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},jt.prototype.complete=function(){var t=this;ft(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},jt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(jt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),jt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Bt.prototype._trySubscribe.call(this,e)},jt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},jt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?ot:(this.currentObservers=null,r.push(e),new at(function(){t.currentObservers=null,rt(r,e)}))},jt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},jt.prototype.asObservable=function(){var e=new Lt;return e.source=this,e},jt.create=function(e,t){return new Dt(e,t)},jt),Dt=(We(Ht,Pt=e),Ht.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Ht.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Ht.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ht.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ot},Ht),At={now:function(){return(At.delegate||Date).now()},delegate:void 0},Nt=(We(Ot,It=e),Ot.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(i.push(e),r||i.push(a.now()+t)),this._trimBuffer(),It.prototype.next.call(this,e)},Ot.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},Ot.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},Ot);function Ot(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=At);var i=It.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function Ht(e,t){var n=Pt.call(this)||this;return n.destination=e,n.source=t,n}function jt(){var e=Bt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ut=[],zt={};const Wt=[];function Yt(i,r=W){let a;const o=new Set;function s(e){if(t(i,e)&&(i=e,a)){const e=!Wt.length;for(const e of o)e[1](),Wt.push(e,i);if(e){for(let e=0;e<Wt.length;e+=2)Wt[e][0](Wt[e+1]);Wt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=W){const n=[e,t];return o.add(n),1===o.size&&(a=r(s)||W),e(i),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Vt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Yt(t,t=>{let n=!1;const i=[];let r=0,a=W;const o=()=>{var e;r||(a(),e=s(l?i[0]:i,t),d?t(e):a=F(e)?e:W)},e=c.map((e,t)=>u(e,e=>{i[t]=e,r&=~(1<<t),n&&o()},()=>{r|=1<<t}));return n=!0,o(),function(){Y(e),a()}}).subscribe}}function Zt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Jt));var t}var Jt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Kt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?tn(Array.isArray(e)?[]:{},e,t):e}function Xt(e,t,n){return e.concat(t).map(function(e){return Kt(e,n)})}function qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Qt(e,t){try{return t in e}catch(e){return!1}}function en(i,r,a){var o={};return a.isMergeableObject(i)&&qt(i).forEach(function(e){o[e]=Kt(i[e],a)}),qt(r).forEach(function(t){var e,n;(!Qt(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Qt(i,t)&&a.isMergeableObject(r[t])?o[t]=function(e){if(!e.customMerge)return tn;e=e.customMerge(t);return"function"==typeof e?e:tn}(a)(i[t],r[t],a):o[t]=Kt(r[t],a))}),o}function tn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Xt,n.isMergeableObject=n.isMergeableObject||Zt,n.cloneUnlessOtherwiseSpecified=Kt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):en(e,t,n):Kt(t,n)}tn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return tn(e,t,n)},{});throw new Error("first argument should be an array")};var nn=tn,rn=function(e,t){return(rn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function an(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}rn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p,y,on,b=function(){return(b=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function sn(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function ln(e){return e.type===y.literal}function cn(e){return e.type===y.number}function dn(e){return e.type===y.date}function un(e){return e.type===y.time}function mn(e){return e.type===y.select}function hn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function pn(e){return e&&"object"==typeof e&&e.type===on.number}function fn(e){return e&&"object"==typeof e&&e.type===on.dateTime}(e=p=p||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=on=on||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var bn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,vn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wn=/^(@+)?(\+|#+)?[rs]?$/g,$n=/(\*)(0+)|(#+)(0+)|(0+)/g,xn=/^(0+)$/;function Cn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(wn,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function kn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Fn(e){return kn(e)||{}}function Sn(e){for(var o={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return b(b({},e),Fn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return b(b({},e),Fn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace($n,function(e,t,n,i,r,a){if(t)o.minimumIntegerDigits=n.length;else{if(i&&r)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(xn.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if(vn.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(vn,function(e,t,n,i,r,a){return"*"===n?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:r&&a?(o.minimumFractionDigits=r.length,o.maximumFractionDigits=r.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=r.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),Cn(a)))}else wn.test(r.stem)?o=b(b({},o),Cn(r.stem)):((a=kn(r.stem))&&(o=b(b({},o),a)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!xn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(o=b(b({},o),i)))}return o}var Mn={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Tn=new RegExp("^".concat(e.source,"*")),En=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Ln=!!String.fromCodePoint,_n=!!Object.fromEntries,In=!!String.prototype.codePointAt,Pn=!!String.prototype.trimStart,Bn=!!String.prototype.trimEnd,Rn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dn=!0;try{Dn="a"===(null==(ri=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ri[0])}catch(o){Dn=!1}var An,Nn,On=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Hn=Ln?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,a=0;a<r;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},jn=_n?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],a=r[0],r=r[1];t[a]=r}return t},Un=In?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},zn=Pn?function(e){return e.trimStart()}:function(e){return e.replace(Tn,"")},Wn=Bn?function(e){return e.trimEnd()}:function(e){return e.replace(En,"")};function Yn(e,t){return new RegExp(e,t)}Nn=Dn?(An=Yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return An.lastIndex=t,null!=(t=An.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var r=Un(e,t);if(void 0===r||Jn(r)||(33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;i.push(r),t+=65536<=r?2:1}return Hn.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,a=this.char();if(123===a){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Zn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}}else{a=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Zn(this.char()))return this.error(p.INVALID_TAG,v(e,this.clonePosition()));var r=this.clonePosition();return i!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(n,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))}return this.error(p.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(p.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Zn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Hn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Hn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,i){var r,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(h=Wn(g.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(i)).err)return c;var d=v(i,this.clonePosition());if(l&&On(null==l?void 0:l.style,"::",0)){var u=zn(l.style.slice(2));if("number"===o)return(g=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?g:{val:{type:y.number,value:n,location:d,style:g.val},err:null};if(0===u.length)return this.error(p.EXPECT_DATE_TIME_SKELETON,d);var m=u,h=(this.locale&&(m=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var a=0;i+1<e.length&&e.charAt(i+1)===r;)a++,i++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(Mn[t||""]||Mn[n||""]||Mn["".concat(n,"-001")]||Mn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===r?"H":r}return n}(u,this.locale)),{type:on.dateTime,pattern:m,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},m.replace(yn,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:d,style:h},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:d,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(m,b({},m)));this.bumpSpace();var g,h=this.parseIdentifierIfPossible(),d=0;if("select"!==o&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(g=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),d=g.val}l=this.tryParsePluralOrSelectOptions(e,o,t,h);if(l.err)return l;if((c=this.tryParseArgumentClose(i)).err)return c;u=v(i,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:jn(l.val),location:u},err:null}:{val:{type:y.plural,value:n,options:jn(l.val),offset:d,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null};default:return this.error(p.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(bn).filter(function(e){return 0<e.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],r=r.slice(1),o=0,s=r;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:r})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:on.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Sn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,a=[],o=new Set,s=i.value,l=i.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;a.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===a.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;r=!0,a=10*a+(o-48),this.bump()}i=v(i,this.clonePosition());return r?Rn(a*=n)?{val:a,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Un(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(On(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Jn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Vn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Zn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Jn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Kn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Vn(e,t).parse();if(e.err)throw(n=SyntaxError(p[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,mn(e)||hn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else cn(e)&&pn(e.style)||(dn(e)||un(e))&&fn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function Xn(e,t){var n=t&&t.cache?t.cache:ai,i=t&&t.serializer?t.serializer:ti;return(t&&t.strategy?t.strategy:function(e,t){return ei(e,this,1===e.length?qn:Qn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function qn(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function Qn(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function ei(e,t,n,i,r){return n.bind(t,e,i,r)}var ti=function(){return JSON.stringify(arguments)};function ni(){this.cache=Object.create(null)}ni.prototype.get=function(e){return this.cache[e]},ni.prototype.set=function(e,t){this.cache[e]=t};var ii,ri,ai={create:function(){return new ni}},oi={variadic:function(e,t){return ei(e,this,Qn,t.cache.create(),t.serializer)},monadic:function(e,t){return ei(e,this,qn,t.cache.create(),t.serializer)}};(ri=ii=ii||{}).MISSING_VALUE="MISSING_VALUE",ri.INVALID_VALUE="INVALID_VALUE",ri.MISSING_INTL_API="MISSING_INTL_API";an(vi,ui=Error),vi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var si,li,ci,di,ui,mi=vi,hi=(an(bi,di=mi),bi),gi=(an(yi,ci=mi),yi),pi=(an(fi,li=mi),fi);function fi(e,t){return li.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ii.MISSING_VALUE,t)||this}function yi(e,t,n){return ci.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ii.INVALID_VALUE,n)||this}function bi(e,t,n,i){return di.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ii.INVALID_VALUE,i)||this}function vi(e,t,n){e=ui.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function wi(e,t,n,i,r,a,o){if(1===e.length&&ln(e[0]))return[{type:si.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(ln(d))s.push({type:si.literal,value:d.value});else if(d.type===y.pound)"number"==typeof a&&s.push({type:si.literal,value:n.getNumberFormat(t).format(a)});else{var u=d.value;if(!(r&&u in r))throw new pi(u,o);u=r[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?si.literal:si.object,value:u});else if(dn(d)){var m="string"==typeof d.style?i.date[d.style]:fn(d.style)?d.style.parsedOptions:void 0;s.push({type:si.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(un(d))m="string"==typeof d.style?i.time[d.style]:fn(d.style)?d.style.parsedOptions:i.time.medium,s.push({type:si.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(cn(d))(m="string"==typeof d.style?i.number[d.style]:pn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:si.literal,value:n.getNumberFormat(t,m).format(u)});else{if(gn(d)){var h=d.children,g=d.value,p=r[g];if("function"!=typeof p)throw new gi(g,"function",o);g=p(wi(h,t,n,i,r,a).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map(function(e){return{type:"string"==typeof e?si.literal:si.object,value:e}}))}if(mn(d)){if(!(f=d.options[u]||d.options.other))throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,wi(f.value,t,n,i,r))}else if(hn(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new mi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ii.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[p]||d.options.other}if(!f)throw new hi(d.value,u,Object.keys(d.options),o);s.push.apply(s,wi(f.value,t,n,i,r,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===si.literal&&t.type===si.literal?n.value+=t.value:e.push(t),e},[])}function $i(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=si=si||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Ci,"defaultLocale",{get:function(){return Ci.memoizedDefaultLocale||(Ci.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Ci.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Ci.memoizedDefaultLocale=null,Ci.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},Ci.__parse=Kn,Ci.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var xi=Ci;function Ci(e,t,n,i){var r,a,o=this;if(void 0===t&&(t=Ci.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===si.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return wi(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=Ci.resolveLocale(t),"string"==typeof e){if(this.message=e,!Ci.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ci.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=Ci.formats,(a=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=a[t])?b(b(b({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),i[t]||{}),e},{})):n),e},b({},r)):r),this.formatters=i&&i.formatters||{getNumberFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:$i((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:oi.variadic}),getDateTimeFormat:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,sn([void 0],t,!1)))},{cache:$i(t.dateTime),strategy:oi.variadic}),getPluralRules:Xn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,sn([void 0],t,!1)))},{cache:$i(t.pluralRules),strategy:oi.variadic})}}const ki={},Fi=(e,t,n)=>n&&(t in ki||(ki[t]={}),e in ki[t]||(ki[t][e]=n),n),Si=(t,n)=>{if(null!=n){if(n in ki&&t in ki[n])return ki[n][t];var i=ji(n);for(let e=0;e<i.length;e++){var r=function(e,n){if(!Ei(e))return null;e=function(e){return Mi[e]||null}(e);{var i=n;if(null==i)return;if(i in e)return e[i];const r=i.split(".");let t=e;for(let e=0;e<r.length;e++)if("object"==typeof t){if(0<e){const i=r.slice(e,r.length).join(".");if(i in t){t=t[i];break}}t=t[r[e]]}else t=void 0;return t}}(i[e],t);if(r)return Fi(t,n,r)}}};let Mi;const Ti=Yt({});function Ei(e){return e in Mi}function Li(t,...n){delete ki[t],Ti.update(e=>(e[t]=nn.all([e[t]||{},...n]),e))}Vt([Ti],([e])=>Object.keys(e)),Ti.subscribe(e=>Mi=e);const Gi={};function _i(e){return Gi[e]}function Ii(e){return null!=e&&ji(e).some(e=>{return null==(e=_i(e))?void 0:e.size})}const Pi={};function Bi(e){if(!Ii(e))return e in Pi?Pi[e]:Promise.resolve();const t=ji(e).map(e=>{var t=_i(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Pi[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const n=Promise.all(e.map(e=>{var t=i,n=e;return Gi[t].delete(n),0===Gi[t].size&&delete Gi[t],e().then(e=>e.default||e)}));return n.then(e=>Li(i,...e))}})).then(()=>{if(Ii(e))return Bi(e);delete Pi[e]}),Pi[e]}function Ri(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}const Di={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Ai=Yt(!1);let Ni;const Oi=Yt(null);function Hi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function ji(e,t=Di.fallbackLocale){e=Hi(e);return t?[...new Set([...e,...Hi(t)])]:e}function Ui(){return null!=Ni?Ni:void 0}Oi.subscribe(e=>{Ni=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const Ke=Object.assign(Object.assign({},Oi),{set:t=>{if(t&&function(e){if(null!=e){var t=ji(e);for(let e=0;e<t.length;e++){var n=t[e];if(Ei(n))return n}}}(t)&&Ii(t)){var n=Di["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ui()&&n?e=window.setTimeout(()=>Ai.set(!0),n):Ai.set(!0),Bi(t).then(()=>{Oi.set(t)}).finally(()=>{clearTimeout(e),Ai.set(!1)})}return Oi.set(t)}}),zi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Wi=(e,t)=>{var n=Di["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yi=zi(e=>{var{locale:t,format:n}=e,e=Ri(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Wi("number",n)),new Intl.NumberFormat(t,e)}),Vi=zi(e=>{var{locale:t,format:n}=e,e=Ri(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Wi("date",n):0===Object.keys(e).length&&(e=Wi("date","short")),new Intl.DateTimeFormat(t,e)}),Zi=zi(e=>{var{locale:t,format:n}=e,e=Ri(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Wi("time",n):0===Object.keys(e).length&&(e=Wi("time","short")),new Intl.DateTimeFormat(t,e)}),Ji=zi((e,t=Ui())=>new xi(e,t,Di.formats,{ignoreTag:Di.ignoreTag})),Ki=Vt([Ke,Ti],()=>(e,t={})=>{var n,i;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:a,locale:o=Ui(),default:s}=r;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Si(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(n=null==(n=(i=Di).handleMissingMessage)?void 0:n.call(i,{locale:o,id:e,defaultValue:s}))?n:s)?i:e;if(!a)return l;let c=l;try{c=Ji(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Xe=(Vt([Ke],()=>(e,t)=>((e={})=>{var{locale:t=Ui()}=e,e=Ri(e,["locale"]);return Zi(Object.assign({locale:t},e))})(t).format(e)),Vt([Ke],()=>(e,t)=>((e={})=>{var{locale:t=Ui()}=e,e=Ri(e,["locale"]);return Vi(Object.assign({locale:t},e))})(t).format(e)),Vt([Ke],()=>(e,t)=>((e={})=>{var{locale:t=Ui()}=e,e=Ri(e,["locale"]);return Yi(Object.assign({locale:t},e))})(t).format(e)),Vt([Ke,Ti],()=>(e,t=Ui())=>Si(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ut.indexOf(e)&&(t=new Nt(t),zt[e]=t,Ut.push(e)),zt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),qe=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xi(i,r){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",r),Ue(i+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function qi(e){Ke.set(e)}function Qi(e,t){Li(e,t)}const er={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function tr(e,t,n){const i=e.slice();return i[47]=t[n],i[49]=n,i}function nr(e,t,n){const i=e.slice();return i[50]=t[n],i}function ir(e,t,n){const i=e.slice();return i[53]=t[n],i[55]=n,i}function rr(t){let i,r=[],n=new Map,a=t[9];const o=e=>e[47].id;for(let e=0;e<a.length;e+=1){var s=tr(t,a,e),l=o(s);n.set(l,r[e]=mr(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e].m(t,n);ue(t,i,n)},p(e,t){20453&t[0]&&(a=e[9],r=ve(r,t,o,1,e,a,n,i.parentNode,be,mr,i,tr))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&me(i)}}}function ar(e){let n,i,r=e[47].name+"";return{c(){n=he("a"),i=ge(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].name+"")&&ye(i,r)},d(e){e&&me(n)}}}function or(e){let n,i,r=e[47].label+"";return{c(){n=he("a"),i=ge(r),fe(n,"href","#")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){512&t[0]&&r!==(r=e[47].label+"")&&ye(i,r)},d(e){e&&me(n)}}}function sr(e){let n,i=0<e[10].length&&"true"==e[2]&&lr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[2]?i?i.p(e,t):((i=lr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function lr(t){let r,a=t[10],o=[];for(let e=0;e<a.length;e+=1)o[e]=ur(nr(t,a,e));return{c(){r=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","DropDown")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null)},p(t,n){if(18272&n[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){var i=nr(t,a,e);o[e]?o[e].p(i,n):(o[e]=ur(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&me(r),S(o,e)}}}function cr(n){let i,r,a,o,s,l,c,d=n[53]?.name+"";function u(...e){return n[31](n[47],n[49],n[53],n[55],...e)}return{c(){i=he("li"),r=he("a"),a=ge(d),s=pe(),fe(r,"class",o="SubDropDown "+(n[49]!=n[5]||n[6]!=n[55]&&n[8]!=n[55]?"":"active"))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,s),l||(c=V(i,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[53]?.name+"")&&ye(a,d),1888&t[0]&&o!==(o="SubDropDown "+(n[49]!=n[5]||n[6]!=n[55]&&n[8]!=n[55]?"":"active"))&&fe(r,"class",o)},d(e){e&&me(i),l=!1,c()}}}function dr(e,n){let i,r,a=n[49]==n[50].index&&cr(n);return{key:e,first:null,c(){i=c(),a&&a.c(),r=c(),this.first=i},m(e,t){ue(e,i,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){(n=e)[49]==n[50].index?a?a.p(n,t):((a=cr(n)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){e&&me(i),a&&a.d(e),e&&me(r)}}}function ur(t){let i,r=[],n=new Map,a=t[50].items;const o=e=>e[53].id;for(let e=0;e<a.length;e+=1){var s=ir(t,a,e),l=o(s);n.set(l,r[e]=dr(l,s))}return{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e].m(t,n);ue(t,i,n)},p(e,t){18272&t[0]&&(a=e[50].items,r=ve(r,t,o,1,e,a,n,i.parentNode,be,dr,i,ir))},d(t){for(let e=0;e<r.length;e+=1)r[e].d(t);t&&me(i)}}}function mr(e,n){let i,r,a,o,s,l;function c(e){return"headerMain"===e[0]?or:ar}let d=c(n),u=d(n),m=1==n[11][n[49]]&&sr(n);function h(...e){return n[32](n[47],n[49],...e)}return{key:e,first:null,c(){i=he("li"),u.c(),r=pe(),m&&m.c(),a=pe(),fe(i,"class",o="CarouselItem "+(n[5]==n[49]||n[7]==n[49]?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(i,"part","CarouselItem"),this.first=i},m(e,t){ue(e,i,t),u.m(i,null),de(i,r),m&&m.m(i,null),de(i,a),s||(l=V(i,"click",h),s=!0)},p(e,t){d===(d=c(n=e))&&u?u.p(n,t):(u.d(1),(u=d(n))&&(u.c(),u.m(i,r))),1==n[11][n[49]]?m?m.p(n,t):((m=sr(n)).c(),m.m(i,a)):m&&(m.d(1),m=null),673&t[0]&&o!==(o="CarouselItem "+(n[5]==n[49]||n[7]==n[49]?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(i,"class",o)},d(e){e&&me(i),u.d(),m&&m.d(),s=!1,l()}}}function hr(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w=0<n[9].length&&rr(n);return{c(){i=he("div"),r=he("div"),(a=he("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=pe(),s=he("div"),l=he("ul"),(c=he("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=pe(),w&&w.c(),u=pe(),(m=he("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',this.c=W,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(l,"part","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(m,"part","CarouselRightArrow"),fe(r,"class",h="CarouselContainer CarouselContainerMobile} "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"part",g="CarouselContainer "+(n[13]?"CarouselContainerMobile":"")+" "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(r,"style",p="headerMain"===n[0]?"max-width: auto":`max-width: ${n[1]}px`),fe(i,"class",f="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":"")),fe(i,"part",y="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(l,c),de(l,d),w&&w.m(l,null),n[33](l),n[34](s),de(r,u),de(r,m),n[36](i),b||(v=[V(a,"click",n[30]),V(m,"click",n[35])],b=!0)},p(e,t){0<e[9].length?w?w.p(e,t):((w=rr(e)).c(),w.m(l,null)):w&&(w.d(1),w=null),1&t[0]&&h!==(h="CarouselContainer CarouselContainerMobile} "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"class",h),1&t[0]&&g!==(g="CarouselContainer "+(e[13]?"CarouselContainerMobile":"")+" "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(r,"part",g),3&t[0]&&p!==(p="headerMain"===e[0]?"max-width: auto":`max-width: ${e[1]}px`)&&fe(r,"style",p),1&t[0]&&f!==(f="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"class",f),1&t[0]&&y!==(y="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(i,"part",y)},i:W,o:W,d(e){e&&me(i),w&&w.d(),n[33](null),n[34](null),n[36](null),b=!1,Y(v)}}}function gr(t,e,a){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:i="0"}=e,{location:c=""}=e,{clientstyling:r=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{containermaxwidth:h=""}=e,{isprimarymenu:g=!1}=e,{issecondarymenu:p=!1}=e,{lang:f=""}=e,{activeindex:y="0"}=e,{showsubgroups:b="false"}=e;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(w),Ke.set(v))}),Object.keys(er).forEach(e=>{Qi(e,er[e])});let $,x,C,k,F,S,M,R=window.navigator.userAgent,D="PC"!==qe(R),T=[],E=[],L=[],G=(e,t,n,i,r)=>{if(!e.subGroups||null!==i){if(B(),a(5,x=t),a(5,x),a(7,k=x),"secondary"!=r)return window.postMessage({type:l,itemId:e.id,index:t,item:e},window.location.href),a(6,C=null),void a(8,F=null);a(6,C=i),a(6,C),a(8,F=C),window.postMessage({type:l,itemId:n.id,subIndex:i,subItem:n},window.location.href)}},_=()=>{M.scrollBy({left:-250,behavior:"smooth"})},I=()=>{M.scrollBy({left:250,behavior:"smooth"})};const P=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(a(9,T=e.data.data),a(11,L=new Array(T.length).fill(!1)),"true"==b&&T.forEach((e,t)=>{var i,r,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(a(11,L[t]=!0,L),i=e,r=t,"secondaryMenu"==c&&o&&s&&f&&i.id&&(n=new URL(`${o}/casino/groups/${s}/${i.id}/subGroups?language=`+f),fetch(n.href).then(e=>e.json()).then(e=>{e.index=r,a(10,E=E.concat(e)),"false"==b&&window.postMessage({type:l,itemId:i.id,index:r,item:i},window.location.href);const n=[];E.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n})}).then(()=>{$.querySelectorAll(".DropDown")&&B()})),"headerMain"==c&&window.postMessage({type:l,item:i},window.location.href))})),"GoToHomepage"==e.data.type&&T.forEach((e,t)=>{e.path.endsWith("/casino")&&(a(5,x=t),a(5,x),a(7,k=x))})},B=()=>{const t=$.querySelectorAll(".DropDown");document.activeElement.blur(),M.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+M.scrollLeft+"px)";M.classList.remove("isScrolling")};return Ze(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",P,!1),setTimeout(()=>{M.addEventListener("scroll",B)},500),()=>{window.removeEventListener("message",P),$.removeEventListener("scroll",B)})),t.$$set=e=>{"endpoint"in e&&a(17,o=e.endpoint),"datasource"in e&&a(18,s=e.datasource),"onclickeventname"in e&&a(19,n=e.onclickeventname),"actionevent"in e&&a(20,l=e.actionevent),"favoritesnumber"in e&&a(21,i=e.favoritesnumber),"location"in e&&a(0,c=e.location),"clientstyling"in e&&a(22,r=e.clientstyling),"clientstylingurl"in e&&a(23,d=e.clientstylingurl),"identity"in e&&a(24,u=e.identity),"translationurl"in e&&a(25,m=e.translationurl),"containermaxwidth"in e&&a(1,h=e.containermaxwidth),"isprimarymenu"in e&&a(26,g=e.isprimarymenu),"issecondarymenu"in e&&a(27,p=e.issecondarymenu),"lang"in e&&a(28,f=e.lang),"activeindex"in e&&a(29,y=e.activeindex),"showsubgroups"in e&&a(2,b=e.showsubgroups)},t.$$.update=()=>{if(536870912&t.$$.dirty[0]&&y&&(a(5,x=parseInt(y,10)),k||a(7,k=x)),33554432&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Qi(e,t[e])})}).catch(e=>{console.log(e)}),4194312&t.$$.dirty[0]&&r&&S){let e=document.createElement("style");e.innerHTML=r,S.appendChild(e)}if(8388616&t.$$.dirty[0]&&d&&S){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{S.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&f&&(e=f,Ke.set(e))},[c,h,b,S,$,x,C,k,F,T,E,L,M,D,G,_,I,o,s,n,l,i,r,d,u,m,g,p,f,y,()=>_(),(e,t,n,i,r)=>{G(e,t,n,i,"secondary"),r.stopPropagation()},(e,t,n)=>{G(e,t,null,null,"main"),n.preventDefault()},function(e){Je[e?"unshift":"push"](()=>{$=e,a(4,$)})},function(e){Je[e?"unshift":"push"](()=>{M=e,a(12,M)})},()=>I(),function(e){Je[e?"unshift":"push"](()=>{S=e,a(3,S)})}]}function pr(n){let i,r,a,o;return{c(){i=he("div"),k(r=he("casino-slider"),"lang",n[2]),k(r,"datasource",n[1]),k(r,"endpoint",n[0]),k(r,"identity",vr),k(r,"favoritesnumber",n[13]),k(r,"showsubgroups",n[8]),k(r,"clientstyling",n[3]),k(r,"clientstylingurl",n[4]),k(r,"containermaxwidth",n[5]),k(r,"activeindex",n[11]),k(r,"actionevent",n[6]),k(r,"location",n[7]),fe(i,"class","CasinoCategoriesContainer"),fe(i,"part","CasinoCategoriesContainer")},m(e,t){ue(e,i,t),de(i,r),a||(o=T(n[14].call(null,r)),a=!0)},p(e,t){4&t[0]&&k(r,"lang",e[2]),2&t[0]&&k(r,"datasource",e[1]),1&t[0]&&k(r,"endpoint",e[0]),8192&t[0]&&k(r,"favoritesnumber",e[13]),256&t[0]&&k(r,"showsubgroups",e[8]),8&t[0]&&k(r,"clientstyling",e[3]),16&t[0]&&k(r,"clientstylingurl",e[4]),32&t[0]&&k(r,"containermaxwidth",e[5]),2048&t[0]&&k(r,"activeindex",e[11]),64&t[0]&&k(r,"actionevent",e[6]),128&t[0]&&k(r,"location",e[7])},d(e){e&&me(i),a=!1,o()}}}function fr(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function yr(e){let n;return{c(){fe(n=he("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function br(n){let i;function r(e){return e[9]?yr:e[12]?fr:pr}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[26](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[26](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems a{display:block;padding:7px 10px;color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-color-contrast, #07072A)}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-color-secondary, #FD2839);background:-webkit-linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-color-black, #000);background:var(--emfe-w-color-white, #FFF)}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},gr,hr,t,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,containermaxwidth:1,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:29,showsubgroups:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),f()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),f()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),f()}get containermaxwidth(){return this.$$.ctx[1]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[29]}set activeindex(e){this.$$set({activeindex:e}),f()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}});let vr="CasinoSliderData";function wr(t,e,n){let i,r,{endpoint:a=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{userid:l=""}=e,{session:c=""}=e,{mostplayed:d=""}=e,{mostplayedrounds:u=""}=e,{lastplayed:m="false"}=e,{lastplayedperiod:h=""}=e,{favorites:g=""}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{containermaxwidth:y=""}=e,{activecategory:b=""}=e,{actionevent:v=""}=e,{sessioncheck:w=""}=e,{location:$="secondaryMenu"}=e,{showsubgroups:x="false"}=e,{filteredcategories:C=""}=e,k=0,F=!0,S=[],M=!1,T=window.navigator.userAgent,E=!1,L=!1;const G=()=>{window.postMessage({type:"SliderData",identity:vr,data:S},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"lang"in e&&n(2,s=e.lang),"userid"in e&&n(16,l=e.userid),"session"in e&&n(17,c=e.session),"mostplayed"in e&&n(18,d=e.mostplayed),"mostplayedrounds"in e&&n(19,u=e.mostplayedrounds),"lastplayed"in e&&n(20,m=e.lastplayed),"lastplayedperiod"in e&&n(21,h=e.lastplayedperiod),"favorites"in e&&n(22,g=e.favorites),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,f=e.clientstylingurl),"containermaxwidth"in e&&n(5,y=e.containermaxwidth),"activecategory"in e&&n(15,b=e.activecategory),"actionevent"in e&&n(6,v=e.actionevent),"sessioncheck"in e&&n(23,w=e.sessioncheck),"location"in e&&n(7,$=e.location),"showsubgroups"in e&&n(8,x=e.showsubgroups),"filteredcategories"in e&&n(24,C=e.filteredcategories)},t.$$.update=()=>{if(7&t.$$.dirty[0]&&a&&o&&s&&(a||(i="Endpoint is missing! Please provide a valid endpointURL.",n(12,M=!0),n(9,F=!1),console.error(i)),o||(i="Datasource is missing! Please provide a valid datasource.",n(12,M=!0),n(9,F=!1),console.error(i)),(!s||s.length<2)&&(i="Language is missing! Please provide a valid language (alpha2code)",n(12,M=!0),n(9,F=!1),console.error(i)),!M)){let e=new URL(a+"/casino/groups/"+o);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("platform",qe(T)),fetch(e).then(e=>e.json()).then(e=>{let i=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of i)e.flags==n&&(t=!1);return t});(S=(S=[]).concat(t)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(9,F=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(12,M=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(12,M=!0),console.error("There was an error while fetching the categories",e)})}if(5636609&t.$$.dirty[0]&&a&&c&&(d||m||g)&&!F&&(0!=E||"true"!=g&&"true"!=d&&"true"!=m||S.splice(1,0,{id:"MYGAMES",name:"My Games",href:"",games:[]}),ke(),E=!0,n(25,L=!0),G()),33718784&t.$$.dirty[0]&&!F&&b&&(!c||L)&&(e=b.split("$"),n(15,b=2<e.length?b.split("$").slice(0,2).join("$"):b),n(11,k=S.map(e=>e.id).indexOf(decodeURI(b)))),1032&t.$$.dirty[0]&&p&&r){let e=document.createElement("style");e.innerHTML=p,r.appendChild(e)}if(1040&t.$$.dirty[0]&&f&&r){let t=document.createElement("style"),e=new URL(f);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e},n(13,0),[a,o,s,p,f,y,v,$,x,F,r,k,M,0,G,b,l,c,d,u,m,h,g,w,C,L,function(e){Je[e?"unshift":"push"](()=>{r=e,n(10,r)})}]}function $r(e,t){Li(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var(--emfe-w-color-black, #000000)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},wr,br,t,{endpoint:0,datasource:1,lang:2,userid:16,session:17,mostplayed:18,mostplayedrounds:19,lastplayed:20,lastplayedperiod:21,favorites:22,clientstyling:3,clientstylingurl:4,containermaxwidth:5,activecategory:15,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[16]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[17]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[18]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[19]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[5]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[15]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),f()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}});const xr={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Borrar",noGamesPlayed:"No has jugado ningún juego! Juega Ya"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function Cr(e,t){Li(e,t)}const kr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};Sr=Fr={path:void 0,exports:{},require:function(e,t){return Gn(null==t&&Fr.path)}},Fr.exports,Sr.exports=function(){var R;function g(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function s(e){return void 0===e}function N(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function O(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function j(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return Gt(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function z(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},Y=g.momentProperties=[],V=!1;function Z(e,t){var n,i,r,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(r=t[i=Y[n]])||(e[i]=r);return e}function J(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,g.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===g.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=g.deprecationHandler&&g.deprecationHandler(null,a),s){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}K(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function q(e,t){null!=g.deprecationHandler&&g.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,i=j({},e);for(n in t)p(t,n)&&(D(e[n])&&D(t[n])?(i[n]={},j(i[n],e[n]),j(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)p(e,n)&&!p(t,n)&&D(e[n])&&(i[n]=j({},i[n]));return i}function ee(e){null!=e&&this.set(e)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function a(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ae={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(ae[e]=r),t&&(ae[t[0]]=function(){return a(r.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||function(i){for(var e,r=i.match(ne),t=0,a=r.length;t<a;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=d(r[n])?r[n].call(e,i):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,i={};for(n in e)p(e,n)&&(t=u(n))&&(i[t]=e[n]);return i}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function m(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?m(e):t}function me(t,n){return function(e){return null!=e?(ge(this,t,e),g.updateOffset(this,n),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ge(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=h(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\d/,y=/\d\d/,pe=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,$e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,ke=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,i){Te[e]=d(n)?n:function(e,t){return e&&i?i:n}}function Me(e,t){return p(Te,e)?Te[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Te={},Ee={};function x(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),N(n)&&(r=function(e,t){t[n]=h(e)}),i=e.length,t=0;t<i;t++)Ee[e[t]]=r}function Le(e,r){x(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,k=0,F=1,S=2,M=3,T=4,E=5,Ge=6,_e=7,Ie=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[F]=h(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[F]=i:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=v,Ne=v;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!N(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Oe(this,e),g.updateOffset(this,!0),this):he(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),a=0;a<12;a++)n[a]=$(n[a]),i[a]=$(i[a]);for(a=0;a<24;a++)r[a]=$(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return ue(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",ke),w("YY",b,y),w("YYYY",$e,fe),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],k),x("YYYY",function(e,t){t[k]=2===e.length?g.parseTwoDigitYear(e):h(e)}),x("YY",function(e,t){t[k]=g.parseTwoDigitYear(e)}),x("Y",function(e,t){t[k]=parseInt(e,10)}),g.parseTwoDigitYear=function(e){return h(e)+(68<h(e)?1900:2e3)};var ze=me("FullYear",!0);function We(e,t,n,i,r,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,i,r){var a,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Je(e,t,n){var i,r,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?i=a+L(r=e.year()-1,t,n):a>L(e.year(),t,n)?(i=a-L(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function L(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Le(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=h(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Le(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,i){t[i]=h(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function it(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],a=[],o=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=$(this.weekdaysMin(i,"")),n=$(this.weekdaysShort(i,"")),i=$(this.weekdays(i,"")),r.push(t),a.push(n),o.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function at(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,rt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)}),i("hmmss",0,0,function(){return""+rt.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=h(e);t[M]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[M]=h(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i,2)),t[E]=h(e.substr(r)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[M]=h(e.substr(0,i)),t[T]=h(e.substr(i,2)),t[E]=h(e.substr(r))});v=me("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Be,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},G={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=dt(e[a]).split("-")).length,n=(n=dt(e[a+1]))?n.split("-"):null;0<t;){if(i=mt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}a++}return st}function mt(t){var e;if(void 0===G[t]&&Sr&&Sr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Gn(),ht(e)}catch(e){G[t]=null}return G[t]}function ht(e,t){return e&&((t=s(t)?_(e):gt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function gt(e,t){if(null===t)return delete G[e],null;var n,i=lt;if(t.abbr=e,null!=G[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=G[e]._config;else if(null!=t.parentLocale)if(null!=G[t.parentLocale])i=G[t.parentLocale]._config;else{if(null==(n=mt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return G[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){gt(e.name,e.config)}),ht(e),G[e]}function _(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=mt(e))return t;e=[e]}return ut(e)}function pt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[S]<1||t[S]>Pe(t[k],t[F])?S:t[M]<0||24<t[M]||24===t[M]&&(0!==t[T]||0!==t[E]||0!==t[Ge])?M:t[T]<0||59<t[T]?T:t[E]<0||59<t[E]?E:t[Ge]<0||999<t[Ge]?Ge:-1,f(e)._overflowDayOfYear&&(t<k||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=_e),f(e)._overflowWeekday&&-1===t&&(t=Ie),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$t=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,i,r,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){r=vt[t][0],i=!1!==vt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!i&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=r+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,i,r,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&e.push(parseInt(a,10)),e}function St(e){var t,n,i,r,a=xt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],i=t,r=e,n&&qe.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=a[8],i=a[9],r=a[10],n?Ct[n]:i?0:((n=parseInt(r,10))-(i=n%100))/100*60+i),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,i,r,a,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(g.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[S]&&null==e._a[F]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,i=Mt(u.GG,d._a[k],Je(I(),1,4).year),r=Mt(u.W,1),((a=Mt(u.E,1))<1||7<a)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Je(I(),o,s),i=Mt(u.gg,d._a[k],c.year),r=Mt(u.w,c.week),null!=u.d?((a=u.d)<0||6<a)&&(l=!0):null!=u.e?(a=u.e+o,(u.e<0||6<u.e)&&(l=!0)):a=o),r<1||r>L(i,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(i,r,a,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>Ue(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[S]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[T]&&0===e._a[E]&&0===e._a[Ge]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,m),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==g.ISO_8601)if(e._f!==g.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i,r=""+e._i,a=r.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(r.match(Me(i,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),o+=t.length),ae[i]?(t?f(e).empty=!1:f(e).unusedTokens.push(i),u=i,h=e,null!=(m=t)&&p(Ee,u)&&Ee[u](m,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(i);f(e).charsLeftOver=a-o,0<r.length&&f(e).unusedInput.push(r),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(a=e._locale,c=e._a[M],null==(d=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,d):null!=a.isPM?((a=a.isPM(d))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[k]=e._locale.erasConvertYear(d,e._a[k])),Tt(e),pt(e)}else St(e);else kt(e);var c,d,u,m,h}function Lt(e){var t,n=e._i,i=e._f;{var r,a;if(e._locale=e._locale||_(e._l),null===n||void 0===i&&""===n)return z({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new J(pt(n)):(O(n)?e._d=n:o(i)?function(e){var t,n,i,r,a,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o&&(s=!0));j(e,n||t)}(e):i?Et(e):s(i=(n=e)._i)?n._d=new Date(g.now()):O(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(r=n,null===(a=$t.exec(r._i))?(kt(r),!1===r._isValid&&(delete r._isValid,St(r),!1===r._isValid&&(delete r._isValid,r._strict?r._isValid=!1:g.createFromInputFallback(r)))):r._d=new Date(+a[1])):o(i)?(n._a=H(i.slice(0),function(e){return parseInt(e,10)}),Tt(n)):D(i)?(r=n)._d||(t=void 0===(a=ce(r._i)).day?a.date:a.day,r._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),Tt(r)):N(i)?n._d=new Date(i):g.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Gt(e,t,n,i,r){var a={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(D(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,(r=new J(pt(Lt(r=a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function I(e,t,n,i){return Gt(e,t,n,i,!1)}g.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),g.ISO_8601=function(){},g.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:z()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:z()});function _t(e,t){var n,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return I();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=It.length;for(t in e)if(p(e,t)&&(-1===C.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[It[n]]){if(i)return!1;parseFloat(e[It[n]])!==h(e[It[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=_(),this._bubble()}function Bt(e){return e instanceof Pt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}Dt("Z",":"),Dt("ZZ",""),w("Z",Se),w("ZZ",Se),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(Se,e)});var At=/([\+\-]|\d\d)/gi;function Nt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function Ot(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||O(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),g.updateOffset(t,!1),t):I(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}g.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,i,r=e,a=null;return Bt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:N(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:h(a[S])*n,h:h(a[M])*n,m:h(a[T])*n,s:h(a[E])*n,ms:h(Rt(1e3*a[Ge]))*n}):(a=zt.exec(e))?(n="-"===a[1]?-1:1,r={y:Wt(a[2],n),M:Wt(a[3],n),w:Wt(a[4],n),d:Wt(a[5],n),h:Wt(a[6],n),m:Wt(a[7],n),s:Wt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=I(r.from),a=I(r.to),n=t.isValid()&&a.isValid()?(a=Ot(a,t),t.isBefore(a)?i=Yt(t,a):((i=Yt(a,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=n.milliseconds,r.M=n.months),a=new Pt(r),Bt(e)&&p(e,"_locale")&&(a._locale=e._locale),Bt(e)&&p(e,"_isValid")&&(a._isValid=e._isValid),a}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(q(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,P(e,t),i),this}}function Zt(e,t,n,i){var r=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,he(e,"Month")+t*n),a&&ge(e,"Date",he(e,"Date")+a*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&g.updateOffset(e,a||t))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||O(e)||Jt(e)||N(e)||(n=o(t=e),i=!1,n&&(i=0===t.filter(function(e){return!N(e)&&Jt(t)}).length),n&&i)||function(e){var t,n,i=D(e)&&!A(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],r=r||p(e,n);return i&&r}(e)||null==e;var t,n,i}function Xt(e,t){if(e.date()<t.date())return-Xt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=_(e))&&(this._locale=e),this)}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],i=[],r=this.eras(),a=0,o=r.length;a<o;++a)t.push($(r[a].name)),e.push($(r[a].abbr)),n.push($(r[a].narrow)),i.push($(r[a].name)),i.push($(r[a].abbr)),i.push($(r[a].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){i(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var a;return null==e?Je(this,i,r).year:(t>(a=L(e,i,r))&&(t=a),function(e,t,n,i,r){e=Ze(e,t,n,i,r),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,i,r))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],k),x(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,r):t[k]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",ke),w("g",ke),w("GG",b,y),w("gg",b,y),w("GGGG",$e,fe),w("gggg",$e,fe),w("GGGGG",xe,ye),w("ggggg",xe,ye),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=h(e)}),Le(["gg","GG"],function(e,t,n,i){t[i]=g.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),x("Q",function(e,t){t[F]=3*(h(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],S),x("Do",function(e,t){t[S]=h(e.match(b)[0])});$e=me("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",pe),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=h(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),x(["m","mm"],T);fe=me("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),x(["s","ss"],E);var cn,xe=me("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,pe),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ge]=h(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=me("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=J.prototype;function un(e){return e}r.add=Be,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!A(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||p(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),n=Ot(e,this).startOf("day"),n=g.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,I(e)))},r.clone=function(){return new J(this)},r.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ot(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=u(t)){case"year":a=Xt(this,i)/12;break;case"month":a=Xt(this,i);break;case"quarter":a=Xt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:m(a)},r.endOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),g.updateOffset(this,!0),this},r.format=function(e){return e=e||(this.isUtc()?g.defaultFormatUtc:g.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(I(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(I(),e)},r.get=function(e){return d(this[e=u(e)])?this[e]():this},r.invalidAt=function(){return f(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=l(e)?e:I(e),t=l(t)?t:I(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return U(this)},r.lang=Qe,r.locale=qt,r.localeData=Qt,r.max=ve,r.min=be,r.parsingFlags=function(){return j({},f(this))},r.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),g.updateOffset(this,!0),this},r.subtract=Xe,r.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},r.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},r.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-g(n[i].since).year())*e+n[i].offset;return this.year()},r.year=ze,r.isLeapYear=function(){return ue(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=He,r.daysInMonth=function(){return Pe(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return L(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},r.date=$e,r.day=r.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},r.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},r.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},r.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},r.hour=r.hours=v,r.minute=r.minutes=fe,r.second=r.seconds=xe,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Ht(this);if("string"==typeof e){if(null===(e=Nt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Zt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Nt(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=jt,r.isUTC=jt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",$e),r.months=e("months accessor is deprecated. Use month instead",He),r.years=e("years accessor is deprecated. Use year instead",ze),r.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Lt(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0,o=0;o<i;o++)(n&&e[o]!==t[o]||!n&&h(e[o])!==h(t[o]))&&a++;return a+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function mn(e,t,n,i){var r=_(),i=c().set(i,t);return r[n](i,e)}function hn(e,t,n){if(N(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=mn(e,r,n,"month");return i}function gn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),N(t)&&(n=t,t=void 0),t||"");var r,a=_(),o=e?a._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=mn(t,(r+o)%7,i,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return d(r)?r(e,t,n,i):r.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)p(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,i=this._eras||_("en")._eras,r=0,a=i.length;r<a;++r)switch("string"==typeof i[r].since&&(n=g(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=g(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[a,o,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?g(e.since).year():g(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Je(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ht("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===h(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),g.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),g.langData=e("moment.langData is deprecated. Use moment.localeData instead.",_);var pn=Math.abs;function fn(e,t,n,i){t=P(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),pe=wn("s"),Be=wn("m"),ve=wn("h"),be=wn("d"),Xe=wn("w"),v=wn("M"),fe=wn("Q"),xe=wn("y");function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=$n("milliseconds"),$e=$n("seconds"),ze=$n("minutes"),y=$n("hours"),xn=$n("days"),Cn=$n("months"),kn=$n("years");var Fn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,i){var r=P(e).abs(),a=Fn(r.as("s")),o=Fn(r.as("m")),s=Fn(r.as("h")),l=Fn(r.as("d")),c=Fn(r.as("M")),d=Fn(r.as("w")),r=Fn(r.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||d<=1&&["w"]||d<n.w&&["ww",d]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||r<=1&&["y"]||["yy",r])[2]=t,a[3]=0<+e,a[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,a)}var Tn=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),d=this.asSeconds();return d?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=En(this._months)!==En(d)?"-":"",a=En(this._days)!==En(d)?"-":"",o=En(this._milliseconds)!==En(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+i+"S":"")):"P0D"}var B=Pt.prototype;return B.isValid=function(){return this._isValid},B.abs=function(){var e=this._data;return this._milliseconds=pn(this._milliseconds),this._days=pn(this._days),this._months=pn(this._months),e.milliseconds=pn(e.milliseconds),e.seconds=pn(e.seconds),e.minutes=pn(e.minutes),e.hours=pn(e.hours),e.months=pn(e.months),e.years=pn(e.years),this},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},B.asMilliseconds=we,B.asSeconds=pe,B.asMinutes=Be,B.asHours=ve,B.asDays=be,B.asWeeks=Xe,B.asMonths=v,B.asQuarters=fe,B.asYears=xe,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},B._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),i.milliseconds=e%1e3,e=m(e/1e3),i.seconds=e%60,e=m(e/60),i.minutes=e%60,e=m(e/60),i.hours=e%24,t+=m(e/24),n+=e=m(bn(t)),t-=yn(vn(e)),e=m(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=$e,B.minutes=ze,B.hours=y,B.days=xn,B.weeks=function(){return m(this.days()/7)},B.months=Cn,B.years=kn,B.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Sn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Sn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),t=Mn(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},B.toISOString=Ln,B.toString=Ln,B.toJSON=Ln,B.locale=qt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),B.lang=Qe,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",ke),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(h(e))}),g.version="2.29.3",R=I,g.fn=r,g.min=function(){return _t("isBefore",[].slice.call(arguments,0))},g.max=function(){return _t("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=c,g.unix=function(e){return I(1e3*e)},g.months=function(e,t){return hn(e,t,"months")},g.isDate=O,g.locale=ht,g.invalid=z,g.duration=P,g.isMoment=l,g.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},g.parseZone=function(){return I.apply(null,arguments).parseZone()},g.localeData=_,g.isDuration=Bt,g.monthsShort=function(e,t){return hn(e,t,"monthsShort")},g.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},g.defineLocale=gt,g.updateLocale=function(e,t){var n,i;return null!=t?(i=lt,null!=G[e]&&null!=G[e].parentLocale?G[e].set(Q(G[e]._config,t)):(t=Q(i=null!=(n=mt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=G[e],G[e]=i),ht(e)):null!=G[e]&&(null!=G[e].parentLocale?(G[e]=G[e].parentLocale,e===ht()&&ht(e)):null!=G[e]&&delete G[e]),G[e]},g.locales=function(){return te(G)},g.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},g.normalizeUnits=u,g.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},g.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},g.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},g.prototype=r,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g}();var Fr,Sr,Mr=Fr.exports;function Tr(e,t){Li(e,t)}const Er={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Lr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Gr(e,t,n){const i=e.slice();return i[109]=t[n],i[111]=n,i}function _r(e,t,n){const i=e.slice();return i[106]=t[n],i}function Ir(e){let n,i=!Xe(e[37])&&!e[0]&&e[15],r=i&&Pr(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=32769&t[0]?!Xe(e[37])&&!e[0]&&e[15]:i)?r?r.p(e,t):((r=Pr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Pr(n){let i,r,a;return{c(){(i=he("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[67]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function Br(n){let i,r,a,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){i=he("button"),r=ge(s),fe(i,"class","GameInfoBtn"),fe(i,"part","GameInfoBtn")},m(e,t){ue(e,i,t),de(i,r),a||(o=V(i,"click",n[68]),a=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(r,s)},d(e){e&&me(i),a=!1,o()}}}function Rr(e){let n;return{c(){(n=he("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Dr(n){let i,r,a;return{c(){(i=he("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(i,"class","FavIconContainer"),fe(i,"part","FavIconContainer")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[69]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function Ar(e){let n,i,r=e[36]("gameThumbnail.new")+"";return{c(){n=he("span"),i=ge(r),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.new")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Nr(e){let n,i;return{c(){n=he("span"),i=ge(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&ye(i,e[8])},d(e){e&&me(n)}}}function Or(e){let n,i,r=!e[23]&&e[21]&&e[22]&&Hr(e);function a(e){return e[23]&&e[20]&&e[20]===Qr?Ur:e[23]&&e[20]&&e[20]===ea?jr:void 0}let o=a(e),s=o&&o(e);return{c(){r&&r.c(),n=pe(),s&&s.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){!e[23]&&e[21]&&e[22]?r?r.p(e,t):((r=Hr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){r&&r.d(e),e&&me(n),s&&s.d(e),e&&me(i)}}}function Hr(e){let n,i,r,a,o,s,l,c,d,u,m=e[36]("gameThumbnail.opens")+"",h=Mr.utc(e[21]).local().format(e[22])+"",g=e[46](e[35])+"",p=e[45](e[27],e[28],e[26])+"";return{c(){n=he("div"),i=he("div"),r=ge(m),a=pe(),o=he("span"),s=ge(h),l=pe(),c=new R(!1),d=pe(),u=new R(!1),fe(i,"class","ClosedGame"),fe(i,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(o,s),de(n,l),c.m(g,n),de(n,d),u.m(p,n)},p(e,t){32&t[1]&&m!==(m=e[36]("gameThumbnail.opens")+"")&&ye(r,m),6291456&t[0]&&h!==(h=Mr.utc(e[21]).local().format(e[22])+"")&&ye(s,h),16&t[1]&&g!==(g=e[46](e[35])+"")&&c.p(g),469762048&t[0]&&p!==(p=e[45](e[27],e[28],e[26])+"")&&u.p(p)},d(e){e&&me(n)}}}function jr(n){let i,r,a,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(na),m=[];for(let e=0;e<u.length;e+=1)m[e]=Vr(Gr(n,u,e));return{c(){i=he("div"),r=he("div");for(let e=0;e<m.length;e+=1)m[e].c();a=pe(),o=new R(!1),s=pe(),l=new R(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),o.a=s,l.a=null,fe(i,"class",n[31]),fe(i,"part",n[31])},m(e,t){ue(e,i,t),de(i,r);for(let e=0;e<m.length;e+=1)m[e].m(r,null);n[70](r),de(i,a),o.m(c,i),de(i,s),l.m(d,i)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(na),e=0;e<u.length;e+=1){const o=Gr(t,u,e);m[e]?m[e].p(o,n):(m[e]=Vr(o),m[e].c(),m[e].m(r,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(i,"class",t[31]),1&n[1]&&fe(i,"part",t[31])},d(e){e&&me(i),S(m,e),n[70](null)}}}function Ur(e){let n,i,r,a,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?Jr:Zr}let u=d(e),m=u(e);return{c(){n=he("div"),i=he("div"),m.c(),r=pe(),a=new R(!1),o=pe(),s=new R(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,i),m.m(i,null),de(n,r),a.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(i,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&a.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function zr(e){let n;function i(e){return e[30]?Yr:Wr}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function Wr(e){let n,i,r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new R(!1),i=c(),n.a=i},m(e,t){n.m(r,e,t),ue(e,i,t)},p(e,t){8192&t[0]|2&t[1]&&r!==(r=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(r)},d(e){e&&me(i),e&&n.d()}}}function Yr(e){let n,i,r,a,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=he("div"),i=new R(!1),r=pe(),a=new R(!1),o=pe(),i.a=r,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),i.m(s,n),de(n,r),a.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&i.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&a.p(l)},d(e){e&&me(n)}}}function Vr(e){let n,i=e[13]&&e[13][e[111]]&&zr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?i?i.p(e,t):((i=zr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function Zr(t){let r,a=t[25],o=[];for(let e=0;e<a.length;e+=1)o[e]=Kr(_r(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(a=t[25],e=0;e<a.length;e+=1){var i=_r(t,a,e);o[e]?o[e].p(i,n):(o[e]=Kr(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){S(o,e),e&&me(r)}}}function Jr(e){let n,i,r=e[36]("gameThumbnail.full")+"";return{c(){n=he("span"),i=ge(r),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[1]&&r!==(r=e[36]("gameThumbnail.full")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Kr(e){let n,i,r,a,o,s,l;return{c(){n=he("span"),i=M("svg"),r=M("path"),a=M("path"),o=pe(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"width","13"),fe(i,"height","14"),fe(i,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&me(n)}}}function Xr(e){let n,i;return{c(){n=he("p"),i=ge(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[0]&&ye(i,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function qr(n){let i,r,a,o,s,l,A,c,d,u,m,h,N,g,p,O,f,y,H,b,v,w,$,x,C,k,F,j,S,M,T,U,E=(n[5]||"-")+"",L=n[16]&&Ir(n),G=n[1]&&Br(n);function z(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(Xe(e[37])||!e[0]||!e[15]||!e[2]):b)?Dr:(v=null==v?!!(Xe(e[37])&&e[0]&&e[15]&&e[2]):v)?Rr:void 0}let _=z(n,[-1,-1,-1,-1]),I=_&&_(n),P=n[7]&&Ar(n),B=n[8]&&Nr(n),R=n[12]&&Or(n),D=n[10]&&Xr(n);return{c(){i=he("div"),r=he("div"),a=he("img"),A=pe(),c=he("div"),d=he("div"),L&&L.c(),u=pe(),m=he("p"),h=ge(n[4]),N=pe(),G&&G.c(),O=pe(),f=he("span"),y=ge(E),H=pe(),I&&I.c(),w=pe(),$=he("div"),P&&P.c(),x=pe(),B&&B.c(),C=pe(),R&&R.c(),j=pe(),D&&D.c(),this.c=W,ce(a.src,o=n[3])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(m,"class","GameInfoName"),fe(m,"part","GameInfoName"),fe(m,"title",n[4]),fe(d,"class",g="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",p="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe($,"class","GameExtraInfo"),fe($,"part","GameExtraInfo"),fe(r,"class",k="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"part",F="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(i,"class",S="GameContainer "+n[34]),fe(i,"part",M="GameContainer "+n[34])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[66](a),de(r,A),de(r,c),de(c,d),L&&L.m(d,null),de(d,u),de(d,m),de(m,h),de(d,N),G&&G.m(d,null),de(c,O),de(c,f),de(f,y),de(r,H),I&&I.m(r,null),de(r,w),de(r,$),P&&P.m($,null),de($,x),B&&B.m($,null),de($,C),R&&R.m($,null),de(i,j),D&&D.m(i,null),n[71](i),T||(U=[V(r,"mouseenter",n[42]),V(r,"mouseleave",n[43]),V(r,"touchstart",n[40],{passive:!0}),V(r,"touchend",n[41],{passive:!0})],T=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3])&&fe(a,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(a,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(a,"part",l),e[16]?L?L.p(e,t):((L=Ir(e)).c(),L.m(d,u)):L&&(L.d(1),L=null),16&t[0]&&ye(h,e[4]),16&t[0]&&fe(m,"title",e[4]),e[1]?G?G.p(e,t):((G=Br(e)).c(),G.m(d,null)):G&&(G.d(1),G=null),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",g),131072&t[0]&&p!==(p="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",p),32&t[0]&&E!==(E=(e[5]||"-")+"")&&ye(y,E),_===(_=z(e,t))&&I?I.p(e,t):(I&&I.d(1),(I=_&&_(e))&&(I.c(),I.m(r,w))),e[7]?P?P.p(e,t):((P=Ar(e)).c(),P.m($,x)):P&&(P.d(1),P=null),e[8]?B?B.p(e,t):((B=Nr(e)).c(),B.m($,C)):B&&(B.d(1),B=null),e[12]?R?R.p(e,t):((R=Or(e)).c(),R.m($,null)):R&&(R.d(1),R=null),25169920&t[0]|4&t[1]&&k!==(k="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"class",k),8392704&t[0]|4&t[1]&&F!==(F="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(r,"part",F),e[10]?D?D.p(e,t):((D=Xr(e)).c(),D.m(i,null)):D&&(D.d(1),D=null),8&t[1]&&S!==(S="GameContainer "+e[34])&&fe(i,"class",S),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(i,"part",M)},i:W,o:W,d(e){e&&me(i),n[66](null),L&&L.d(),G&&G.d(),I&&I.d(),P&&P.d(),B&&B.d(),R&&R.d(),D&&D.d(),n[71](null),T=!1,Y(U)}}}const Qr="blackjack",ea="roulette",ta="doubleballroulette",na=5;function ia(r,e,o){let t;Qe(r,Ki,e=>o(36,t=e));let R,a,s,l,n,D,A,c,d,N,O,H,u,j,U,z,m,W,Y,V,h,Z,g,J,K,{session:X=""}=e,{userid:p=""}=e,{lang:f="en"}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{favorites:w=""}=e,{gamethumbnail:q=""}=e,{gamename:Q=""}=e,{gamevendor:i=""}=e,{gameid:$=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:x=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:C=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:re=!1}=e,{currency:F=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:T=""}=e,{connectlive:E=""}=e,{visibilityconnect:L=""}=e,{integratedgameframedesktop:G="false"}=e,{integratedgameframemobile:_="false"}=e,ae=!1,oe=!1,se=!1,I=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",P="";const me=[Qr],he=[ea,ta],ge={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},pe={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Er).forEach(e=>{Tr(e,Er[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+$||k||o(0,C=!0),e.data.type!=="RemoveFavoriteThumbnail_"+$||k||o(0,C=!1),"UserSessionID"===e.data.type&&(o(15,ae=!0),e.data.session,R=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,l=null)}),ye=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(R||"Not logged in")}),Xe(I)&&"true"==_?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:Xe(I),source:"GameThumbnail"},window.location.href):Xe(I)&&"false"==_&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Xe(I)},window.location.href),Xe(I)||"true"!=G?Xe(I)||"false"!=G||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Xe(I)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:Xe(I)},window.location.href)},be=e=>{C?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ve=()=>{T&&EventSource&&!n&&i&&$&&(n=new EventSource(`${M}/encoder/lobby/updates/${i}/`+$)).addEventListener("message",$e)},we=()=>{n&&(n.close(),n=void 0)},$e=async e=>{const{type:t,data:n}=e;let i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:n,Seats:r,Open:a}=i;if(e)switch(t){case"SeatsUpdated":r&&Array.isArray(r)&&(o(29,u=r),o(12,l.currentOccupiedSeats=r,l),await ke());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,l.currentRouletteNumbers=n,l),await ke());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(12,l.currentDoubleBallRouletteNumbers=n,l),await ke());break;case"TableOpened":case"TableClosed":o(23,c=a),o(12,l.isOpen=a,l),await ke()}}}},xe=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t),Ce=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})};return Ze(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),n&&n.removeEventListener("message",$e)})),r.$$set=e=>{"session"in e&&o(48,X=e.session),"userid"in e&&o(49,p=e.userid),"lang"in e&&o(1,f=e.lang),"clientstyling"in e&&o(50,y=e.clientstyling),"clientstylingurl"in e&&o(51,b=e.clientstylingurl),"translationurl"in e&&o(52,v=e.translationurl),"favorites"in e&&o(2,w=e.favorites),"gamethumbnail"in e&&o(3,q=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,i=e.gamevendor),"gameid"in e&&o(6,$=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,x=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,C=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(55,k=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(56,F=e.currency),"gamepagemodalurl"in e&&o(57,S=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,T=e.livelobbyendpoint),"connectlive"in e&&o(60,E=e.connectlive),"visibilityconnect"in e&&o(61,L=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,G=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,_=e.integratedgameframemobile)},r.$$.update=()=>{if(536870912&r.$$.dirty[1]&&E&&("disconnect"===E?we():"connect"===E&&ve()),1073741824&r.$$.dirty[1]&&L&&("disconnect"===L?we():"connect"===L&&"connect"===E&&ve()),2&r.$$.dirty[0]&&f&&(t=f,Ke.set(t)),134610944&r.$$.dirty[1]&&X&&p&&M&&(o(15,ae=!0),R=p),8&r.$$.dirty[0]&&q&&a&&o(19,a.onload=()=>{o(18,se=!0)},a),2048&r.$$.dirty[0]|524288&r.$$.dirty[1]&&y&&s){let e=document.createElement("style");e.innerHTML=y,s.appendChild(e)}if(2048&r.$$.dirty[0]|1048576&r.$$.dirty[1]&&b&&s&&Ce(),4&r.$$.dirty[0]&&w&&"true"==w&&o(16,oe=!0),2097152&r.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Tr(e,t[e])})}).catch(e=>{console.log(e)}),512&r.$$.dirty[0]|1048576&r.$$.dirty[1]&&ie&&b&&Ce(),402653184&r.$$.dirty[1]&&M&&T){let e=new URL(""+T.split("?")[0]);e.searchParams.append("platform",qe(I)),e.searchParams.append("language",f),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(12,l=e)})}if(4096&r.$$.dirty[0]&&l&&l&&(o(23,c=l.isOpen),ce=l.betLimit||{},o(24,d=l.openHours),o(25,de=(e=>{H=e.totalSeats||7,o(29,u=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:t,originalTimeFormat:e}=d["value"],o(21,A=t),o(22,le=e||le)),c&&o(20,D=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();B(me,e)?t=Qr:B(he,e)&&(t=ea)}}return t})(l)),o(26,ue=Lr[F]),o(27,N=(ce.min||{})[F]),o(28,O=(ce.max||{})[F]),j=l.currentRouletteNumbers,U=l.currentDoubleBallRouletteNumbers,z=l.vendorCategory,o(30,m=z.toLowerCase()===ta),o(13,W=(m?U:j)||[]),o(31,Y="GameProp LiveProps RoulleteProps"),o(31,Y+=m?" Double":""),o(32,V=B(he,z.toLowerCase())?pe:ge),Z=h,o(33,h=Array.isArray(u)&&u.length===H),l.dealer&&o(35,J=l.dealer.DealerName),K=l.numberOfPlayers,o(34,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(34,P+=" GameBackdrop"),c&&h&&N&&O&&l.currentOccupiedSeats?o(34,P+=" GameContainerDimmed"):!1===c&&A&&o(34,P+=" GameContainerFullyDimmed"),s&&(!Z&&h?(o(34,P+=" PulsatingRedShadow"),o(34,P=P.replace(" PulsatingGreenShadow",""))):Z&&!h&&(o(34,P+=" PulsatingGreenShadow"),o(34,P=P.replace(" PulsatingRedShadow",""))))),24576&r.$$.dirty[0]&&g&&W){const n="FirstElementAnimated",i=g.getElementsByClassName("First")[0];i&&(i.classList.add(n),setTimeout(()=>{i.classList.remove(n)},2e3))}var e,t},[C,f,w,q,Q,i,$,ee,te,ie,re,s,l,W,g,ae,oe,!1,se,a,D,A,le,c,d,de,ue,N,O,u,m,Y,V,h,P,J,t,I,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},B,(e,t,n)=>{let i,r;return null!=e&&null!=t&&(r=`
|
|
4
4
|
<span>
|
|
5
5
|
${n}
|
|
6
6
|
</span>
|
|
7
7
|
${xe(e)}-`+xe(t)),(i=K?`
|
|
8
8
|
<svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
|
|
9
|
-
<span class="NrOfPlayers">${K}</span>`:i)||
|
|
9
|
+
<span class="NrOfPlayers">${K}</span>`:i)||r?`
|
|
10
10
|
<p class="LiveLimits">
|
|
11
11
|
<span class="BetLimitLeft">
|
|
12
|
-
${
|
|
12
|
+
${r||""}
|
|
13
13
|
</span>
|
|
14
14
|
<span class="BetLimitRight">
|
|
15
15
|
${i||""}
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},X,p,y,b,v,x,ne,k,S,F,M,T,E,L,G,_,ge,pe,function(e){ze[e?"unshift":"push"](()=>{r=e,o(19,r)})},()=>be($),()=>ye($),()=>be($),function(e){ze[e?"unshift":"push"](()=>{g=e,o(14,g)})},function(e){ze[e?"unshift":"push"](()=>{s=e,o(11,s)})}]}function ir(e,t,n){const i=e.slice();return i[77]=t[n],i[79]=n,i}function ar(e,t,n){const i=e.slice();return i[77]=t[n],i[80]=t,i[79]=n,i}function rr(e,t,n){const i=e.slice();return i[77]=t[n],i[79]=n,i}function or(e){let n;function i(e){return e[17]?dr:e[27]?cr:void 0}let a=i(e),r=a&&a(e);return{c(){n=he("div"),r&&r.c()},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){a===(a=i(e))&&r?r.p(e,t):(r&&r.d(1),(r=a&&a(e))&&(r.c(),r.m(n,null)))},d(e){e&&me(n),r&&r.d()}}}function sr(e){let n,i,a;function r(e){return e[21]?_r:e[18].length?Lr:Gr}let o=r(e),s=o(e);function l(e){return e[18]?Ir:Pr}let c=l(e),d=c(e);return{c(){n=he("div"),i=he("div"),s.c(),a=pe(),d.c(),fe(i,"class","CasinoGamesHeader Searched "+(Ye(e[32])?"CasinoGamesHeaderMobile":"")),fe(i,"part","CasinoGamesHeader Searched "+(Ye(e[32])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,i),s.m(i,null),de(n,a),d.m(n,null)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function lr(e){let n;function i(e){return e[23]?Ar:Dr}let a=i(e),r=a(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){a!==(a=i(e))&&(r.d(1),(r=a(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function cr(n){let i,a,r,o,s,l="true"!==n[12]&&ur(n);function c(e){return e[15]?gr:e[30]?hr:mr}let d=c(n),u=d(n);return{c(){i=he("div"),l&&l.c(),a=pe(),r=he("ul"),u.c(),fe(r,"class",o=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"part",s=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"class","CasinoGamesContainer"),fe(i,"part","CasinoGamesContainer")},m(e,t){ue(e,i,t),l&&l.m(i,null),de(i,a),de(i,r),u.m(r,null),n[52](r)},p(e,t){"true"!==e[12]?l?l.p(e,t):((l=ur(e)).c(),l.m(i,a)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(r,null))),1073741824&t[0]&&o!==(o=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(r,"class",o),1073741824&t[0]&&s!==(s=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(r,"part",s)},d(e){e&&me(i),l&&l.d(),u.d(),n[52](null)}}}function dr(e){let n,i,a="true"!==e[12]&&kr(e);function r(e){return e[15]?Tr:0!==e[18].length?Mr:Fr}let o=r(e),s=o(e);return{c(){n=he("div"),a&&a.c(),i=pe(),s.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,i),s.m(n,null)},p(e,t){"true"!==e[12]?a?a.p(e,t):((a=kr(e)).c(),a.m(n,i)):a&&(a.d(1),a=null),o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),a&&a.d(),s.d()}}}function ur(n){let i,a,r,o,s,l,c,d,u=n[31]("gamesCategorySection.favorites")+"",m=n[30].items.length+"";return{c(){i=he("div"),a=he("h3"),r=ge(u),o=pe(),s=he("span"),l=ge("("),c=ge(m),d=ge(")"),fe(s,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,o),de(a,s),de(s,l),de(s,c),de(s,d),n[51](a)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.favorites")+"")&&ye(r,u),1073741824&t[0]&&m!==(m=e[30].items.length+"")&&ye(c,m)},d(e){e&&me(i),n[51](null)}}}function mr(e){let n,i,a=e[31]("gamesCategorySection.waiting")+"";return{c(){n=he("p"),i=ge(a)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&a!==(a=e[31]("gamesCategorySection.waiting")+"")&&ye(i,a)},d(e){e&&me(n)}}}function hr(t){let i,a=t[30].items,r=[];for(let e=0;e<a.length;e+=1)r[e]=Cr(ir(t,a,e));let o=null;return a.length||(o=pr(t)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();i=c(),o&&o.c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e].m(t,n);ue(t,i,n),o&&o.m(t,n)},p(t,n){if(2013270015&n[0]|7&n[1]){let e;for(a=t[30].items,e=0;e<a.length;e+=1){const o=ir(t,a,e);r[e]?r[e].p(o,n):(r[e]=Cr(o),r[e].c(),r[e].m(i.parentNode,i))}for(;e<r.length;e+=1)r[e].d(1);r.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=pr(t)).c(),o.m(i.parentNode,i))}},d(e){F(r,e),e&&me(i),o&&o.d(e)}}}function gr(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function pr(e){let n,i,a,r,o,s,l,c,t,d,u=e[31]("gamesCategorySection.noFavoritesTitle")+"",m=(g=e,Ye(g[32])?yr:fr),h=m(e);var g;return{c(){n=he("p"),i=E("svg"),a=E("path"),r=pe(),o=he("span"),s=ge(u),l=pe(),h.c(),c=pe(),I(a,"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","50px"),fe(i,"y","50px"),fe(i,"viewBox","0 0 512.001 512.001"),I(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(Ye(e[32])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(Ye(e[32])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,i),de(i,a),de(n,r),de(n,o),de(o,s),de(n,l),h.m(n,null),de(n,c)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),h.p(e,t)},d(e){e&&me(n),h.d()}}}function fr(e){let n,i,a=e[31]("gamesCategorySection.noFavorites")+"";return{c(){n=he("span"),i=ge(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&a!==(a=e[31]("gamesCategorySection.noFavorites")+"")&&ye(i,a)},d(e){e&&me(n)}}}function yr(e){let n,i,a=e[31]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=he("span"),i=ge(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&a!==(a=e[31]("gamesCategorySection.noFavoritesMobile")+"")&&ye(i,a)},d(e){e&&me(n)}}}function br(e){let n,i=e[77].gameModel.isFavorite&&vr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel.isFavorite?i?i.p(e,t):((i=vr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function vr(e){let n,i=function(e){let n,i,a;function r(e,t){return 1073741824&t[0]&&(i=null),(n=null==n?!!Ye(e[32]):n)?$r:(i=null==i?!!e[77].gameModel.platform.includes("PC"):i)?wr:void 0}let o=r(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=c()},m(e,t){s&&s.m(e,t),ue(e,a,t)},p(e,t){o===(o=r(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&me(a)}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&me(n)}}}function wr(e){let n,i,a,r,o,s,l,c,d,u,m,h,g,p;return{c(){x(n=he("casino-game-thumbnail"),"class",i=""+(Or+(e[77].cellSize||"1x1"))),x(n,"part",a=""+(Or+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",r=e[77].gameModel.thumbnail),x(n,"gamename",o=e[77].gameModel.name),x(n,"gamevendor",s=e[77].gameModel.vendor.name),x(n,"gameisnew",l=e[77].gameModel.isNew),x(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].gameModel.id),x(n,"gamefunmode",m=e[77].gameModel.hasFunMode),x(n,"gamefavorite",h=e[77].gameModel.isFavorite),x(n,"showfavoredcategory",e[27]),x(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[29]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&i!==(i=""+(Or+(e[77].cellSize||"1x1")))&&x(n,"class",i),1073741824&t[0]&&a!==(a=""+(Or+(e[77].cellSize||"1x1")))&&x(n,"part",a),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),1073741824&t[0]&&r!==(r=e[77].gameModel.thumbnail)&&x(n,"gamethumbnail",r),1073741824&t[0]&&o!==(o=e[77].gameModel.name)&&x(n,"gamename",o),1073741824&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&x(n,"gamevendor",s),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&x(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&x(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&x(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&x(n,"gamefavorite",h),134217728&t[0]&&x(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&x(n,"connectlive",g),536870912&t[0]&&x(n,"visibilityconnect",e[29]),128&t[0]&&x(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",p),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function $r(e){let n,i=e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"),a=i&&xr(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(i=1073741824&t[0]?e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"):i)?a?a.p(e,t):((a=xr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function xr(e){let n,i,a,r,o,s,l,c,d,u,m,h,g,p;return{c(){x(n=he("casino-game-thumbnail"),"class",i=""+(Or+(e[77].cellSize||"1x1"))),x(n,"part",a=""+(Or+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",r=e[77].gameModel.thumbnail),x(n,"gamename",o=e[77].gameModel.name),x(n,"gamevendor",s=e[77].gameModel.vendor.name),x(n,"gameisnew",l=e[77].gameModel.isNew),x(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].gameModel.id),x(n,"gamefunmode",m=e[77].gameModel.hasFunMode),x(n,"gamefavorite",h=e[77].gameModel.isFavorite),x(n,"showfavoredcategory",e[27]),x(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[29]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&i!==(i=""+(Or+(e[77].cellSize||"1x1")))&&x(n,"class",i),1073741824&t[0]&&a!==(a=""+(Or+(e[77].cellSize||"1x1")))&&x(n,"part",a),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),1073741824&t[0]&&r!==(r=e[77].gameModel.thumbnail)&&x(n,"gamethumbnail",r),1073741824&t[0]&&o!==(o=e[77].gameModel.name)&&x(n,"gamename",o),1073741824&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&x(n,"gamevendor",s),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&x(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&x(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&x(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&x(n,"gamefavorite",h),134217728&t[0]&&x(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&x(n,"connectlive",g),536870912&t[0]&&x(n,"visibilityconnect",e[29]),128&t[0]&&x(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",p),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Cr(e){let n,i=e[77].gameModel&&br(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel?i?i.p(e,t):((i=br(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function kr(n){let i,a,r,o,s=n[17].name+"",l=n[19]&&Sr(n);return{c(){i=he("div"),a=he("h3"),r=ge(s),o=pe(),l&&l.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[47](a),de(i,o),l&&l.m(i,null)},p(e,t){131072&t[0]&&s!==(s=e[17].name+"")&&ye(r,s),e[19]?l?l.p(e,t):((l=Sr(e)).c(),l.m(i,null)):l&&(l.d(1),l=null)},d(e){e&&me(i),n[47](null),l&&l.d()}}}function Sr(n){let i,a,r,o,s,l,c,d,u=n[31]("gamesCategorySection.viewAll")+"",m=n[17].games.total+"";return{c(){i=he("a"),a=he("span"),r=ge(u),o=ge(" ("),s=ge(m),l=ge(")"),fe(a,"class","CategoryLoadMore"),fe(a,"part","CategoryLoadMore"),fe(i,"class","CategoryNameLink"),fe(i,"part","CategoryNameLink")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,o),de(a,s),de(a,l),c||(d=V(i,"click",n[48]),c=!0)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.viewAll")+"")&&ye(r,u),131072&t[0]&&m!==(m=e[17].games.total+"")&&ye(s,m)},d(e){e&&me(i),c=!1,d()}}}function Fr(e){let n;return{c(){(n=he("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Mr(n){let i,e,a,r=n[18],o=[];for(let e=0;e<r.length;e+=1)o[e]=Er(ar(n,r,e));return{c(){i=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class",e=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(i,"part",a=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null);n[50](i)},p(t,n){if(805588991&n[0]|4&n[1]){let e;for(r=t[18],e=0;e<r.length;e+=1){const a=ar(t,r,e);o[e]?o[e].p(a,n):(o[e]=Er(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}1207959552&n[0]&&e!==(e=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"class",e),1207959552&n[0]&&a!==(a=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"part",a)},d(e){e&&me(i),F(o,e),n[50](null)}}}function Tr(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Er(e){let n,i=function(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y=n[79];const b=()=>n[49](i,y),v=()=>n[49](null,y);return{c(){x(i=he("casino-game-thumbnail"),"session",n[2]),x(i,"userid",n[3]),x(i,"lang",n[1]),x(i,"class",a=""+(Or+(n[77].cellSize||"1x1"))),x(i,"part",r=""+(Or+(n[77].cellSize||"1x1"))),x(i,"favorites",n[4]),x(i,"gamethumbnail",o=n[77].thumbnail),x(i,"gamename",s=n[77].name),x(i,"gamevendor",l=n[77].vendor.name),x(i,"gameisnew",c=n[77].isNew),x(i,"gametag",d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags)),x(i,"gamecellsize",u=n[77].cellSize),x(i,"gameid",m=n[77].id),x(i,"gamefunmode",h=n[77].hasFunMode),x(i,"gamefavorite",g=n[77].isFavorite),x(i,"connectlive",p=1==n[28][n[77].id]?"connect":"disconnect"),x(i,"visibilityconnect",n[29]),x(i,"currency",n[7]),x(i,"livelobbyendpoint",f=n[77].details?n[77].href:""),x(i,"clientstyling",n[5]),x(i,"clientstylingurl",n[6]),x(i,"endpoint",n[0]),x(i,"livecasino",n[8]),x(i,"gamepagemodalurl",n[9]),x(i,"integratedgameframedesktop",n[10]),x(i,"integratedgameframemobile",n[11])},m(e,t){ue(e,i,t),b()},p(e,t){n=e,4&t[0]&&x(i,"session",n[2]),8&t[0]&&x(i,"userid",n[3]),2&t[0]&&x(i,"lang",n[1]),262144&t[0]&&a!==(a=""+(Or+(n[77].cellSize||"1x1")))&&x(i,"class",a),262144&t[0]&&r!==(r=""+(Or+(n[77].cellSize||"1x1")))&&x(i,"part",r),16&t[0]&&x(i,"favorites",n[4]),262144&t[0]&&o!==(o=n[77].thumbnail)&&x(i,"gamethumbnail",o),262144&t[0]&&s!==(s=n[77].name)&&x(i,"gamename",s),262144&t[0]&&l!==(l=n[77].vendor.name)&&x(i,"gamevendor",l),262144&t[0]&&c!==(c=n[77].isNew)&&x(i,"gameisnew",c),262144&t[0]&&d!==(d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags))&&x(i,"gametag",d),262144&t[0]&&u!==(u=n[77].cellSize)&&x(i,"gamecellsize",u),262144&t[0]&&m!==(m=n[77].id)&&x(i,"gameid",m),262144&t[0]&&h!==(h=n[77].hasFunMode)&&x(i,"gamefunmode",h),262144&t[0]&&g!==(g=n[77].isFavorite)&&x(i,"gamefavorite",g),268697600&t[0]&&p!==(p=1==n[28][n[77].id]?"connect":"disconnect")&&x(i,"connectlive",p),536870912&t[0]&&x(i,"visibilityconnect",n[29]),128&t[0]&&x(i,"currency",n[7]),262144&t[0]&&f!==(f=n[77].details?n[77].href:"")&&x(i,"livelobbyendpoint",f),32&t[0]&&x(i,"clientstyling",n[5]),64&t[0]&&x(i,"clientstylingurl",n[6]),1&t[0]&&x(i,"endpoint",n[0]),256&t[0]&&x(i,"livecasino",n[8]),512&t[0]&&x(i,"gamepagemodalurl",n[9]),1024&t[0]&&x(i,"integratedgameframedesktop",n[10]),2048&t[0]&&x(i,"integratedgameframemobile",n[11]),y!==n[79]&&(v(),y=n[79],b())},d(e){e&&me(i),v()}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&me(n)}}}function Lr(e){let n,i,a=e[31]("gamesCategorySection.searchedItems")+"";return{c(){n=he("h3"),i=ge(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&a!==(a=e[31]("gamesCategorySection.searchedItems")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Gr(e){let n,i,a=e[31]("gamesCategorySection.noResults")+"";return{c(){n=he("h3"),i=ge(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&a!==(a=e[31]("gamesCategorySection.noResults")+"")&&ye(i,a)},d(e){e&&me(n)}}}function _r(e){let n,i,a=e[31]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=he("h3"),i=ge(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&a!==(a=e[31]("gamesCategorySection.recentSearchedItems")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Pr(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Ir(t){let i,a,r=!t[24]&&Rr(t),o=t[18],s=[];for(let e=0;e<o.length;e+=1)s[e]=Br(rr(t,o,e));return{c(){r&&r.c(),i=pe(),a=he("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(a,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){r&&r.m(e,t),ue(e,i,t),ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null)},p(t,n){if(t[24]?r&&(r.d(1),r=null):r?r.p(t,n):((r=Rr(t)).c(),r.m(i.parentNode,i)),4460543&n[0]|4&n[1]){let e;for(o=t[18],e=0;e<o.length;e+=1){const r=rr(t,o,e);s[e]?s[e].p(r,n):(s[e]=Br(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){r&&r.d(e),e&&me(i),e&&me(a),F(s,e)}}}function Rr(e){let n,i,t,a,r=e[31]("gamesCategorySection.noRecentSearch")+"";return{c(){n=he("p"),i=ge(r),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ye(e[32])?"NoRecentSearchesMobile":"")),fe(n,"part",a="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ye(e[32])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noRecentSearch")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Br(e){let n,i,a,r,o,s,l,c,d,u,m,h,g;return{c(){x(n=he("casino-game-thumbnail"),"class",i=""+(Or+(e[77].cellSize||"1x1"))),x(n,"part",a=""+(Or+(e[77].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[22]),x(n,"favorites",e[4]),x(n,"gamethumbnail",r=e[77].thumbnail),x(n,"gamename",o=e[77].name),x(n,"gamevendor",s=e[77].vendor.name),x(n,"gameisnew",l=e[77].isNew),x(n,"gametag",c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags)),x(n,"gamecellsize",d=e[77].cellSize),x(n,"gameid",u=e[77].id),x(n,"gamefunmode",m=e[77].hasFunMode),x(n,"gamefavorite",h=e[77].isFavorite),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[77].details?e[77].href:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){262144&t[0]&&i!==(i=""+(Or+(e[77].cellSize||"1x1")))&&x(n,"class",i),262144&t[0]&&a!==(a=""+(Or+(e[77].cellSize||"1x1")))&&x(n,"part",a),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),4194304&t[0]&&x(n,"searchitem",e[22]),16&t[0]&&x(n,"favorites",e[4]),262144&t[0]&&r!==(r=e[77].thumbnail)&&x(n,"gamethumbnail",r),262144&t[0]&&o!==(o=e[77].name)&&x(n,"gamename",o),262144&t[0]&&s!==(s=e[77].vendor.name)&&x(n,"gamevendor",s),262144&t[0]&&l!==(l=e[77].isNew)&&x(n,"gameisnew",l),262144&t[0]&&c!==(c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags))&&x(n,"gametag",c),262144&t[0]&&d!==(d=e[77].cellSize)&&x(n,"gamecellsize",d),262144&t[0]&&u!==(u=e[77].id)&&x(n,"gameid",u),262144&t[0]&&m!==(m=e[77].hasFunMode)&&x(n,"gamefunmode",m),262144&t[0]&&h!==(h=e[77].isFavorite)&&x(n,"gamefavorite",h),128&t[0]&&x(n,"currency",e[7]),262144&t[0]&&g!==(g=e[77].details?e[77].href:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Dr(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Ar(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Nr(n){let i;function a(e){return e[16]?lr:e[20]?sr:or}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W,fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[53](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[53](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},nr,Xa,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const Or="game-tile-";function Hr(e,t,s){let B;Ze(e,Ki,e=>s(31,B=e));let r,o,l,n,D,i,c,a,d,u,{categoryindex:A=""}=t,{endpoint:m=""}=t,{datasource:h=""}=t,{lang:g=""}=t,{session:N=""}=t,{userid:O=""}=t,{favorites:p=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:H=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:z=""}=t,{gamepagemodalurl:W="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{once:Z=!0}=t,{top:J=0}=t,{bottom:K=0}=t,{left:X=0}=t,{right:q=0}=t,$=!0,x=!1,C=!0,Q=window.navigator.userAgent,k=[],S=!0,F=40,M=!1,T=!1,ee=!1,E=!1,L=!1,te=!0,G=!1,ne=!1,_=new Array(1e4),P={},ie="",I={items:[],count:0,name:""},ae=(Object.keys(Ca).forEach(e=>{xa(e,Ca[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>F&&se(v),s(28,P[t]=1,P)):s(28,P[t]=0,P)})}));const re=(e,i,a,t=0)=>{let n,r="",o=(s(15,$=!0),r=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${m}/casino/groups/${h}/${n}/subGroups`)):new URL(`${m}/casino/groups/${h}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(r.searchParams.delete("pagination"),r.searchParams.append("expand","games(vendor)"),r.searchParams.append("fields","id,name,games"),r.searchParams.append("platform",Ve(Q)),r.searchParams.append("pagination",`games(offset=${i},limit=${a})`),r.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===C&&!1===G){let t="";s(23,L=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),r.searchParams.append("filter",`games(vendor(${t}))`)}else s(23,L=!1);fetch(r).then(e=>e.json()).then(e=>{s(15,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),s(46,u=!0),s(16,x=!1),D=e.games.total,t(e)},e=>{s(16,x=!0),console.error(e),n(e)})})},oe=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(s(20,M=!1),C=!1,s(19,S=!1),s(18,k=t.data.mostPlayedGames),s(17,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),s(15,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(s(20,M=!1),C=!1,s(19,S=!1),s(18,k=t.data.lastPlayedGames),s(17,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),s(15,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(20,M=!0),s(21,T=!0),0<t.data.searchData.length?(s(18,k=t.data.searchData),s(24,te=!0),k&&k.forEach(e=>{e.isFavorite=R(e.id)})):(s(18,k=[]),s(24,te=!1));break;case"OutOfRecentSearches":s(20,M=!1),s(21,T=!1);break;case"SearchData":s(20,M=!0),s(21,T=!1),s(18,k=t.data.searchData.items||[]),s(22,E=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:s(20,M=!1),C=!0,s(19,S=!0),s(22,E=!1),ne=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),re(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(17,l=e),s(18,k=l.games.items),k&&k.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":F=20;break;case"CategoryUpdate":s(20,M=!1),C=!1,s(22,E=!1),ne=!0,s(35,v=t.data.itemId),"MOSTPLAYED"!==v&&s(19,S=!1),"true"!==w&&re(0,0,F).then(e=>{s(17,l=e),l.games.items.forEach(e=>{e.isFavorite=R(e.id)}),s(18,k=l.games.items),s(19,S=!1),k.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":C=!0,s(18,k=l.games.items),k.forEach(e=>{e.isFavorite=R(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;G?C||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;C=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(30,I.items=(n=e,I.items,a=window.navigator.userAgent,Ye(a)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),I),s(30,I.name="Favorites",I),s(27,G=!0),s(15,$=!1));break;case"UserSessionID":if(r=t.data.session,o=t.data.userID,"true"==p&&o&&o.length&&r&&0<r.length){var i=`${m}/player/${o}/favorites/`;a=r;s(15,$=!0);let e={method:"GET",headers:{"X-SessionID":a}};new Promise((t,n)=>{fetch(i,e).then(e=>e.json()).then(e=>{s(15,$=!1),c=e?e.items:[],k.forEach(e=>{e.isFavorite=R(e.id)});e=k;s(18,k=void 0),s(18,k=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,a},se=e=>{(F+=1)<=D&&re(0,0,F).then(e=>{s(17,l=e),l.games.items.length>k.length&&(s(18,k=l.games.items),k.forEach(e=>{e.isFavorite=R(e.id)}))})},R=t=>!!c&&-1!==c.findIndex(e=>e.id==t),le=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return Ue(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(29,ie="disconnect"):s(29,ie="connect")}),window.addEventListener("message",oe,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",oe),window.removeEventListener("visibilitychange",oe)})),e.$$set=e=>{"categoryindex"in e&&s(36,A=e.categoryindex),"endpoint"in e&&s(0,m=e.endpoint),"datasource"in e&&s(37,h=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,N=e.session),"userid"in e&&s(3,O=e.userid),"favorites"in e&&s(4,p=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"translationurl"in e&&s(38,b=e.translationurl),"currency"in e&&s(7,H=e.currency),"categoryid"in e&&s(35,v=e.categoryid),"categorygames"in e&&s(39,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(40,z=e.visiblegames),"gamepagemodalurl"in e&&s(9,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"casinomygames"in e&&s(12,w=e.casinomygames),"once"in e&&s(41,Z=e.once),"top"in e&&s(42,J=e.top),"bottom"in e&&s(43,K=e.bottom),"left"in e&&s(44,X=e.left),"right"in e&&s(45,q=e.right)},e.$$.update=()=>{if(16384&e.$$.dirty[0]|32768&e.$$.dirty[1]&&u&&_&&ne&&_.forEach((e,t)=>{e&&(e.elems_index=t,ae.observe(e))}),2&e.$$.dirty[0]|16&e.$$.dirty[1]&&g&&v)switch(v){case"FAVORITES":s(27,G=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&s(27,G=!1)}if(128&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xa(e,t[e])})}).catch(e=>{console.log(e)}),8224&e.$$.dirty[0]&&f&&a){let e=document.createElement("style");e.innerHTML=f,a.appendChild(e)}if(8256&e.$$.dirty[0]&&y&&a){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[m,g,N,O,p,f,y,H,U,W,Y,V,w,a,_,$,x,l,k,S,M,T,E,L,te,n,i,G,P,ie,I,B,Q,i=>{if(0===(null==i?void 0:i.length))return"";let a,r,o=99999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Fa(e).diff(s)<o&&(o=Fa(e).diff(s),r=t),Fa(s).isAfter(n)&&Fa(s).isBefore(e)&&(a=i[r].name)}),a},le,v,A,h,b,j,z,Z,J,K,X,q,u,function(e){ze[e?"unshift":"push"](()=>{i=e,s(26,i)})},e=>le(l.id),function(e,t){ze[e?"unshift":"push"](()=>{_[t]=e,s(14,_)})},function(e){ze[e?"unshift":"push"](()=>{n=e,s(25,n)})},function(e){ze[e?"unshift":"push"](()=>{i=e,s(26,i)})},function(e){ze[e?"unshift":"push"](()=>{n=e,s(25,n)})},function(e){ze[e?"unshift":"push"](()=>{a=e,s(13,a)})}]}function jr(e,t){Li(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Hr,Nr,t,{categoryindex:36,endpoint:0,datasource:37,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:38,currency:7,categoryid:35,categorygames:39,livecasino:8,visiblegames:40,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,casinomygames:12,once:41,top:42,bottom:43,left:44,right:45},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[36]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[37]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[35]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[39]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[40]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[12]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get once(){return this.$$.ctx[41]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[42]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[43]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[44]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[45]}set right(e){this.$$set({right:e}),f()}});const Ur={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function zr(e,t,n){const i=e.slice();return i[34]=t[n],i[36]=n,i}function Wr(n){let i,a,r,o,s,l,c,d=!n[7]&&Yr(n),u=n[7]&&Zr(n);return{c(){i=he("div"),a=he("div"),(r=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=pe(),d&&d.c(),s=pe(),u&&u.c(),fe(r,"class","ModalCloseBtn"),fe(r,"part","ModalCloseBtn"),fe(r,"role","button"),fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,o),d&&d.m(a,null),de(a,s),u&&u.m(a,null),l||(c=V(r,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Yr(e)).c(),d.m(a,s)),e[7]?u?u.p(e,t):((u=Zr(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&me(i),d&&d.d(),u&&u.d(),l=!1,c()}}}function Yr(t){let n,i,a,r,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Vr(zr(t,l,e));return{c(){n=he("div"),i=he("main"),a=he("div");for(let e=0;e<c.length;e+=1)c[e].c();r=pe(),o=he("p"),s=ge(e),fe(a,"class","items"),fe(a,"part","items"),I(a,"transform","translateY("+t[6]+"px)"),fe(i,"class","RandomGamesSliderWrapper"),fe(i,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,a);for(let e=0;e<c.length;e+=1)c[e].m(a,null);de(n,r),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var i=zr(t,l,e);c[e]?c[e].p(i,n):(c[e]=Vr(i),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&I(a,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),F(c,e)}}}function Vr(e){let n,i,a,r,o,s;return{c(){n=he("div"),i=he("img"),s=pe(),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,a=e[34].thumbnail)||fe(i,"src",a),fe(i,"alt",r=e[34].name),fe(i,"title",o=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,i),de(n,s)},p(e,t){16&t[0]&&!ce(i.src,a=e[34].thumbnail)&&fe(i,"src",a),16&t[0]&&r!==(r=e[34].name)&&fe(i,"alt",r),16&t[0]&&o!==(o=e[34].name)&&fe(i,"title",o)},d(e){e&&me(n)}}}function Zr(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C=n[3].name+"",k=n[3].vendor.name+"",S=n[8]("randomGame.playNowRandomGame")+"";return{c(){i=he("div"),a=he("div"),r=he("img"),c=pe(),(d=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=pe(),m=he("div"),h=he("p"),g=ge(C),p=pe(),f=he("p"),y=ge(k),b=pe(),v=he("button"),w=ge(S),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,o=n[3].thumbnail)||fe(r,"src",o),fe(r,"alt",s=n[3].name),fe(r,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(a,"class","item"),fe(a,"part","item"),fe(h,"class","RandomGameTitle"),fe(h,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(m,"part","RandomGameDetails"),fe(i,"class","RandomGameWrapper"),fe(i,"part","RandomGameWrapper")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,c),de(a,d),de(i,u),de(i,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(m,b),de(m,v),de(v,w),$||(x=[V(d,"click",n[20]),V(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(r.src,o=e[3].thumbnail)&&fe(r,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(r,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(r,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(g,C),8&t[0]&&k!==(k=e[3].vendor.name+"")&&ye(y,k),256&t[0]&&S!==(S=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,S)},d(e){e&&me(i),$=!1,Y(x)}}}function Jr(e){let n,i,a=e[8]("randomGame.playRandomGame")+"";return{c(){n=he("span"),i=ge(a),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&a!==(a=e[8]("randomGame.playRandomGame")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Kr(e){let n,i;return{c(){n=he("span"),i=ge(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2&t[0]&&ye(i,e[1])},d(e){e&&me(n)}}}function Xr(n){let i,a,r,o,s,l,c,d,u=n[5]&&Wr(n);function m(e){return e[1]?Kr:e[1]?void 0:Jr}let h=m(n),g=h&&h(n);return{c(){i=he("div"),u&&u.c(),a=pe(),r=he("div"),o=he("button"),g&&g.c(),s=pe(),l=he("span"),this.c=W,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(r,"class","RandomButtonWrapper"),fe(r,"part","RandomButtonWrapper"),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),u&&u.m(i,null),de(i,a),de(i,r),de(r,o),g&&g.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](i),c||(d=V(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Wr(e)).c(),u.m(i,a)):u&&(u.d(1),u=null),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:W,o:W,d(e){e&&me(i),u&&u.d(),g&&g.d(),n[23](null),c=!1,d()}}}function qr(t,e,n){let i;Ze(t,Ki,e=>n(8,i=e));let a,r,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{filteredrandomgamecategories:p=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var C,k;({withLocale:C,translations:k}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(k),We.set(C))}),Object.keys(Ur).forEach(e=>{jr(e,Ur[e])});const S=()=>{n(4,a=M(a)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},F=e=>{if(p)for(;S(),!p.includes(y.vendor.name););else S();let t=setInterval(()=>{n(6,v-=100),20==++w&&(n(7,$=!0),clearInterval(t))},100);e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},M=e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e},T=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,m=e.translationurl),"clientstyling"in e&&n(17,h=e.clientstyling),"clientstylingurl"in e&&n(18,g=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,p=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,We.set(e)),65536&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{jr(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",Ve(x)),e.searchParams.append("datasource",s),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,a=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&h&&r){let e=document.createElement("style");e.innerHTML=h,r.appendChild(e)}if(262148&t.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e},[d,u,r,y,a,b,v,$,i,F,T,()=>{n(5,b=!1)},o,s,l,c,m,h,g,p,()=>F(!0),()=>T(),()=>F(),function(e){ze[e?"unshift":"push"](()=>{r=e,n(2,r)})}]}function Qr(e,t){Li(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qr,Xr,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const eo={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function to(e,t,n){const i=e.slice();return i[61]=t[n],i}function no(e,t,n){const i=e.slice();return i[64]=t[n],i}function io(n){let a,i,r,o,s,l,c,d,e,u,m,h,g,p,f,y,b,v,w,$,x=n[14],C=[];for(let e=0;e<x.length;e+=1)C[e]=so(no(n,x,e));let k=n[8],S=[];for(let e=0;e<k.length;e+=1)S[e]=lo(to(n,k,e));return{c(){a=he("div"),i=he("div"),r=he("div");for(let e=0;e<C.length;e+=1)C[e].c();o=pe(),s=he("div"),l=he("button"),c=E("svg"),d=E("path"),u=pe(),m=he("button"),h=E("svg"),g=E("path"),y=pe(),b=he("div");for(let e=0;e<S.length;e+=1)S[e].c();fe(r,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(g,"style",p=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(g,"id","Path_36"),fe(g,"data-name","Path 36"),fe(g,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(g,"transform","translate(0 24.656) rotate(-90)"),fe(g,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(i,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(a,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r);for(let e=0;e<C.length;e+=1)C[e].m(r,null);de(i,o),de(i,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,h),de(h,g),de(a,y),de(a,b);for(let e=0;e<S.length;e+=1)S[e].m(b,null);n[41](b),w||($=[V(l,"click",n[38]),V(m,"click",n[39])],w=!0)},p(t,n){if(114819&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var i=no(t,x,e);C[e]?C[e].p(i,n):(C[e]=so(i),C[e].c(),C[e].m(r,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=x.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&p!==(p=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(g,"style",p),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),436492&n[0]){let e;for(k=t[8],e=0;e<k.length;e+=1){const r=to(t,k,e);S[e]?S[e].p(r,n):(S[e]=lo(r),S[e].c(),S[e].m(b,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=k.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(a,"class",v)},d(e){e&&me(a),F(C,e),F(S,e),n[41](null),w=!1,Y($)}}}function ao(e){let n;return{c(){(n=he("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function ro(n){let i,a,r,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){i=he("button"),a=ge(l),fe(i,"class",r="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,i,t),de(i,a),o||(s=V(i,"click",n[36]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(a,l),129&t[0]&&r!==(r="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(i,"class",r)},d(e){e&&me(i),o=!1,s()}}}function oo(n){let i,a,r,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){i=he("button"),a=ge(c),r=pe(),fe(i,"class",o="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,i,t),de(i,a),de(i,r),s||(l=V(i,"click",n[37]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(a,c),130&t[0]&&o!==(o="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(i,"class",o)},d(e){e&&me(i),s=!1,l()}}}function so(e){let n,i,a="recent"==e[64]&&ro(e),r="top"==e[64]&&oo(e);return{c(){a&&a.c(),n=pe(),r&&r.c(),i=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),r&&r.m(e,t),ue(e,i,t)},p(e,t){"recent"==e[64]?a?a.p(e,t):((a=ro(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[64]?r?r.p(e,t):((r=oo(e)).c(),r.m(i.parentNode,i)):r&&(r.d(1),r=null)},d(e){a&&a.d(e),e&&me(n),r&&r.d(e),e&&me(i)}}}function lo(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,S,F,M=n[61].gameName+"",T=n[17](n[61].username)+"",E=n[15]("Translations.won")+"",L=n[61].specifiedCurrencyAmount.toFixed(2)+"",G=(n[11]?n[3]:n[2])+"";function _(){return n[40](n[61])}return{c(){i=he("div"),a=he("div"),r=he("img"),l=pe(),c=he("p"),d=ge(M),u=pe(),m=he("p"),h=ge(T),g=pe(),p=he("p"),f=ge(E),y=pe(),b=he("p"),v=ge(L),w=pe(),$=he("span"),x=ge(G),C=pe(),ce(r.src,o=n[61]?.gameModel?.thumbnail)||fe(r,"src",o),fe(r,"alt",s=n[61]?.gameModel?.thumbnail),fe(r,"class","WinnersImage"),fe(p,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(i,"class",k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,l),de(a,c),de(c,d),de(a,u),de(a,m),de(m,h),de(a,g),de(a,p),de(p,f),de(a,y),de(a,b),de(b,v),de(b,w),de(b,$),de($,x),de(i,C),S||(F=V(r,"click",_),S=!0)},p(e,t){n=e,256&t[0]&&!ce(r.src,o=n[61]?.gameModel?.thumbnail)&&fe(r,"src",o),256&t[0]&&s!==(s=n[61]?.gameModel?.thumbnail)&&fe(r,"alt",s),256&t[0]&&M!==(M=n[61].gameName+"")&&ye(d,M),256&t[0]&&T!==(T=n[17](n[61].username)+"")&&ye(h,T),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),256&t[0]&&L!==(L=n[61].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,L),2060&t[0]&&G!==(G=(n[11]?n[3]:n[2])+"")&&ye(x,G),8192&t[0]&&k!==(k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(i,"class",k)},d(e){e&&me(i),S=!1,F()}}}function co(n){let i;function a(e){return e[12]?ao:io}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[42](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[42](null)}}}function uo(t,e,i){let n;Ze(t,Ki,e=>i(15,n=e));let a,r,B,o,D,s,A,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:h=""}=e,{periodrecent:g="Today"}=e,{periodtop:p="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:C=""}=e,{usercurrency:k=""}=e,{clientstyling:S=""}=e,{clientstylingurl:F=""}=e,{enableautoscroll:M=""}=e,{tabsorder:T=""}=e,{translationurl:E=""}=e,L=[],G=0,_=0,N=window.navigator.userAgent,O=!0,P=!1;Object.keys(eo).forEach(e=>{Qr(e,eo[e])});const H=()=>{const e=new URL(`${u}/casino/${r}-winners`);e.searchParams.append("limit","recent"==r?f:y),e.searchParams.append("specifiedCurrency",d),e.searchParams.append("period","recent"==r?g:p),e.searchParams.append("language",w),e.searchParams.append("amountLimit",b),e.searchParams.append("vendorCategory",v),fetch(e.href).then(e=>e.json()).then(e=>{i(8,L=[]),i(8,L=e.items.map(e=>e)),i(12,O=!1),setTimeout(()=>{i(9,_=Math.round(a.offsetWidth/225)),U(),"true"==M&&(G=0,_<A?l=setInterval(()=>{R()},3e3):clearInterval(l))})})},I=e=>{r!==e&&(i(7,r=e),i(8,L=[]),H())},j=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(D||"Not logged in")})},U=n=>{const e=[...a.children];A=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==r?setTimeout(()=>{i(13,P=!0)},10):i(13,P=!1)},z=()=>{U(G)},W=()=>{var e=L.length;_>=L.length||(0===G?G=e-_:G-_<0?G=0:G-=_,z())},R=()=>{var e=L.length;_>=L.length||("true"==M&&(G===e-_?G=0:G++),"false"==M&&(G===e-_?G=0:e-_<G+_?G=e-_:G+=_),z())},Y=()=>{i(35,d=o?k:C)};return Ue(()=>(i(10,B=Ye(N)),()=>{clearInterval(l)})),t.$$set=e=>{"endpoint"in e&&i(22,u=e.endpoint),"session"in e&&i(23,m=e.session),"userid"in e&&i(24,h=e.userid),"periodrecent"in e&&i(25,g=e.periodrecent),"periodtop"in e&&i(26,p=e.periodtop),"numberusersrecent"in e&&i(27,f=e.numberusersrecent),"numberuserstop"in e&&i(28,y=e.numberuserstop),"amountlimit"in e&&i(21,b=e.amountlimit),"vendorCategory"in e&&i(29,v=e.vendorCategory),"lang"in e&&i(30,w=e.lang),"isrecentavailable"in e&&i(0,$=e.isrecentavailable),"istopavailable"in e&&i(1,x=e.istopavailable),"defaultcurrency"in e&&i(2,C=e.defaultcurrency),"usercurrency"in e&&i(3,k=e.usercurrency),"clientstyling"in e&&i(31,S=e.clientstyling),"clientstylingurl"in e&&i(32,F=e.clientstylingurl),"enableautoscroll"in e&&i(4,M=e.enableautoscroll),"tabsorder"in e&&i(33,T=e.tabsorder),"translationurl"in e&&i(34,E=e.translationurl)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&$&&x&&g&&p&&f&&y&&b&&v&&w&&T&&(i(14,c=T.split(",")),i(7,r=c[0]),"false"==$&&i(21,b=""),Y()),12582912&t.$$.dirty[0]&&m&&u&&(i(11,o=!0),D=h,Y()),4194320&t.$$.dirty[0]|16&t.$$.dirty[1]&&u&&d&&M&&H(),1073741824&t.$$.dirty[0]&&w&&(e=w,We.set(e)),8&t.$$.dirty[1]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Qr(e,t[e])})}).catch(e=>{console.log(e)}),32&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&s){let e=document.createElement("style");e.innerHTML=S,s.appendChild(e)}if(32&t.$$.dirty[0]|2&t.$$.dirty[1]&&F&&s){let e=new URL(F),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[$,x,C,k,M,s,a,r,L,_,B,o,O,P,c,n,I,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),j,W,R,b,u,m,h,g,p,f,y,v,w,S,F,T,E,d,()=>I("recent"),()=>I("top"),()=>W(),()=>R(),e=>j(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){ze[e?"unshift":"push"](()=>{a=e,i(6,a)})},function(e){ze[e?"unshift":"push"](()=>{s=e,i(5,s)})}]}function mo(e,t){Li(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},uo,co,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),f()}});const ho={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando"}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function go(e,t,n){const i=e.slice();return i[49]=t[n],i[51]=n,i}function po(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v;function w(e){return e[5]?bo:vo}let $=w(n),x=$(n);return{c(){i=he("div"),a=he("div"),r=he("div"),o=he("div"),s=he("img"),c=pe(),d=he("div"),x.c(),u=pe(),m=he("div"),h=he("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(h.src,g=n[11])||fe(h,"src",g),fe(h,"alt",""),fe(m,"class","title"),fe(r,"class",p="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),I(r,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(i,"class",f=n[12]?"DisplayNone":""),fe(i,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(r,o),de(o,s),de(r,c),de(r,d),x.m(d,null),de(r,u),de(r,m),de(m,h),b||(v=V(a,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(h.src,g=e[11])&&fe(h,"src",g),49&t[0]&&p!==(p="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(r,"class",p),1024&t[0]&&I(r,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(i,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(i,"part",y)},d(e){e&&me(i),x.d(),b=!1,v()}}}function fo(e){let n,i,a=e[14]("jackpotBanners.loadingText")+"";return{c(){n=he("p"),i=ge(a),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16384&t[0]&&a!==(a=e[14]("jackpotBanners.loadingText")+"")&&ye(i,a)},d(e){e&&me(n)}}}function yo(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function bo(e){let n,i,a,r,o,s,D,l,c,A,N,d,O,H,u,m,h,g,p,j,f,y,U,z,b,W,Y,v,w,$,x,C,k,V,S,F,Z,J,M,K,X,T,E,L,G,_,q,P,I,Q,ee,R,te,B=e[8][0]+"",ne=e[7][0]+"",ie=e[8][1]+"",ae=e[7][1]+"",re=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),i=he("div"),a=he("div"),r=he("img"),s=he("span"),D=ge(B),l=he("span"),c=he("span"),A=ge(ne),N=pe(),d=he("span"),O=ge(e[1]),H=pe(),u=he("div"),m=he("div"),h=he("img"),p=he("span"),j=ge(ie),f=he("span"),y=he("span"),U=ge(ae),z=pe(),b=he("span"),W=ge(e[1]),Y=pe(),v=he("div"),w=he("div"),$=he("div"),x=he("img"),k=he("span"),V=ge(re),S=he("span"),F=he("span"),Z=ge(oe),J=pe(),M=he("span"),K=ge(e[1]),X=pe(),T=he("div"),E=he("div"),L=he("img"),_=he("span"),q=ge(se),P=he("span"),I=he("span"),Q=ge(le),ee=pe(),R=he("span"),te=ge(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,o=e[9][0])||fe(r,"src",o),fe(r,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(i,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,g=e[9][1])||fe(h,"src",g),fe(h,"alt",""),fe(p,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,C=e[9][2])||fe(x,"src",C),fe(x,"alt",""),fe(k,"class","cardLabel"),fe($,"class","iconWrapper"),fe(F,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(S,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(L,"class","displayCardIcon"),ce(L.src,G=e[9][3])||fe(L,"src",G),fe(L,"alt",""),fe(_,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,a),de(a,r),de(a,s),de(s,D),de(i,l),de(l,c),de(c,A),de(l,N),de(l,d),de(d,O),de(n,H),de(n,u),de(u,m),de(m,h),de(m,p),de(p,j),de(u,f),de(f,y),de(y,U),de(f,z),de(f,b),de(b,W),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,k),de(k,V),de(w,S),de(S,F),de(F,Z),de(S,J),de(S,M),de(M,K),de(v,X),de(v,T),de(T,E),de(E,L),de(E,_),de(_,q),de(T,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(r.src,o=e[9][0])&&fe(r,"src",o),256&t[0]&&B!==(B=e[8][0]+"")&&ye(D,B),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(A,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(h.src,g=e[9][1])&&fe(h,"src",g),256&t[0]&&ie!==(ie=e[8][1]+"")&&ye(j,ie),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(U,ae),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&re!==(re=e[8][2]+"")&&ye(V,re),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(L.src,G=e[9][3])&&fe(L,"src",G),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(v)}}}function vo(t){let a,r=Array(4),o=[];for(let e=0;e<r.length;e+=1)o[e]=wo(go(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(r=Array(4),e=0;e<r.length;e+=1){var i=go(t,r,e);o[e]?o[e].p(i,n):(o[e]=wo(i),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){F(o,e),e&&me(a)}}}function wo(e){let n,i,a,r,o,s,l,c,d,u,m,h,g=e[8][e[51]]+"",p=(e[7][e[51]]??"")+"";return{c(){n=he("div"),i=he("div"),a=he("img"),o=he("span"),s=ge(g),l=he("span"),c=he("span"),d=ge(p),u=pe(),m=he("span"),h=ge(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,r=e[9][e[51]])||fe(a,"src",r),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,i),de(i,a),de(i,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(a.src,r=e[9][e[51]])&&fe(a,"src",r),256&t[0]&&g!==(g=e[8][e[51]]+"")&&ye(s,g),128&t[0]&&p!==(p=(e[7][e[51]]??"")+"")&&ye(d,p),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function $o(n){let i;function a(e){return e[13]?yo:e[3]?fo:po}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[33](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[33](null)}}}function xo(n,e,i){let t;Ze(n,Ki,e=>i(14,t=e));let a,r,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:g=""}=e,{backgroundsrcmobile:p=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,B=window.navigator.userAgent,C=!1,k=!1,S="",F=[],M=[],T=[],E=[],L=[],G="",_="",P=!1,I=!0,D=!1;Object.keys(ho).forEach(e=>{mo(e,ho[e])});const R=["typeSpread","typeLeft"],A=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return n.$$set=e=>{"visualstructure"in e&&i(0,o=e.visualstructure),"title"in e&&i(16,s=e.title),"caticon0"in e&&i(17,l=e.caticon0),"caticon1"in e&&i(18,c=e.caticon1),"caticon2"in e&&i(19,d=e.caticon2),"caticon3"in e&&i(20,u=e.caticon3),"iconlabels"in e&&i(21,m=e.iconlabels),"backgroundsrc"in e&&i(22,h=e.backgroundsrc),"currency"in e&&i(1,g=e.currency),"backgroundsrcmobile"in e&&i(23,p=e.backgroundsrcmobile),"titlelogopath"in e&&i(24,f=e.titlelogopath),"lang"in e&&i(25,y=e.lang),"clientstyling"in e&&i(26,b=e.clientstyling),"clientstylingurl"in e&&i(27,v=e.clientstylingurl),"translationurl"in e&&i(28,w=e.translationurl),"endpoint"in e&&i(29,$=e.endpoint),"gameid"in e&&i(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{i(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&a&&b){let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)}if(134217732&n.$$.dirty[0]&&a&&v){i(12,P=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{i(12,P=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&g&&0<M.length&&($&&y&&g)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",g),fetch(e.href).then(e=>e.json().then(e=>{i(3,I=!1),r=e,M.includes(x)&&((e=null==(e=null==(e=r)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),i(6,S=r.items[0].vendorLogo))}).catch(e=>{i(13,D=!0),i(3,I=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&g&&y&&!I&&(i(4,C=Ye(B)&&1<window.innerHeight/window.innerWidth),i(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&i(7,T=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),i(8,E=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.includes(o.trim())?i(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`),i(0,o=R[0])),i(10,G=p&&C&&!k?p:h),i(11,_=f),i(9,L=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,We.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{mo(e,t[e])})}).catch(e=>{console.log(e)})},[o,g,a,I,C,k,S,T,E,L,G,_,P,D,t,A,s,l,c,d,u,m,h,p,f,y,b,v,w,$,x,M,()=>A(),function(e){ze[e?"unshift":"push"](()=>{a=e,i(2,a)})}]}function Co(e,t){Li(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, 100%, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xo,$o,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const ko={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},zh:{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};function So(e,t,n){const i=e.slice();return i[40]=t[n],i}function Fo(e,t,n){const i=e.slice();return i[43]=t[n],i}function Mo(n){let a,i,r,o,s,l,c,d,u,m,h,e,g,p,f=("vendor"==n[0]?n[8]("Translations.providers"):n[8]("Translations.collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Po(So(n,y,e));return{c(){a=he("div"),i=he("div"),r=he("p"),o=ge(f),s=pe(),l=he("div"),(c=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=pe(),(u=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=pe(),h=he("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(r,"class","Title"),fe(l,"class","ButtonsContainer"),fe(i,"class","CategoriesHeader"),fe(h,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(i,s),de(i,l),de(l,c),de(l,d),de(l,u),de(a,m),de(a,h);for(let e=0;e<b.length;e+=1)b[e].m(h,null);n[23](h),g||(p=[V(c,"click",n[19]),V(u,"click",n[20])],g=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("Translations.providers"):t[8]("Translations.collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var i=So(t,y,e);b[e]?b[e].p(i,n):(b[e]=Po(i),b[e].c(),b[e].m(h,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),F(b,e),n[23](null),g=!1,Y(p)}}}function To(e){let n,i,a=e[8]("Translations.loading")+"";return{c(){n=he("p"),i=ge(a)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&a!==(a=e[8]("Translations.loading")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Eo(e){let n,i,a=e[40].name+"";return{c(){n=he("p"),i=ge(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&a!==(a=e[40].name+"")&&ye(i,a)},d(e){e&&me(n)}}}function Lo(e){let n,i,a;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,i=e[40].icon)||fe(n,"src",i),fe(n,"alt",a=e[40].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,i=e[40].icon)&&fe(n,"src",i),8&t[0]&&a!==(a=e[40].name+" icon")&&fe(n,"alt",a)},d(e){e&&me(n)}}}function Go(e){let n,i,a,r=e[43].name+"";return{c(){n=he("p"),i=ge(r),fe(n,"title",a=e[43].name)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&r!==(r=e[43].name+"")&&ye(i,r),8&t[0]&&a!==(a=e[43].name)&&fe(n,"title",a)},d(e){e&&me(n)}}}function _o(n){let i,a,r,o,s,l,c,d;function u(){return n[21](n[43])}let m="true"==n[2]&&Go(n);return{c(){i=he("div"),a=he("img"),s=pe(),m&&m.c(),l=pe(),fe(a,"class","CategorySlideGameImage"),ce(a.src,r=n[43].defaultThumbnail)||fe(a,"src",r),fe(a,"alt",o=n[43].name),fe(i,"class","CategorySlideGames")},m(e,t){var n;ue(e,i,t),de(i,a),de(i,s),m&&m.m(i,null),de(i,l),c||(d=V(a,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(a.src,r=n[43].defaultThumbnail)&&fe(a,"src",r),8&t[0]&&o!==(o=n[43].name)&&fe(a,"alt",o),"true"==n[2]?m?m.p(n,t):((m=Go(n)).c(),m.m(i,l)):m&&(m.d(1),m=null)},d(e){e&&me(i),m&&m.d(),c=!1,d()}}}function Po(n){let i,a,r,o,s,l,c,d,u;function m(e){return"logo"==e[1]?Lo:"title"==e[1]?Eo:void 0}let h=m(n),g=h&&h(n),p=n[40].games,f=[];for(let e=0;e<p.length;e+=1)f[e]=_o(Fo(n,p,e));function y(){return n[22](n[40])}return{c(){i=he("div"),a=he("div"),r=he("div"),g&&g.c(),o=pe(),s=he("div");for(let e=0;e<f.length;e+=1)f[e].c();c=pe(),fe(r,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":"")),I(a,"background-image","url("+n[40]?.background+")"),fe(i,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,i,t),de(i,a),de(a,r),g&&g.m(r,null),de(a,o),de(a,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(i,c),d||(u=V(a,"click",y),d=!0)},p(e,t){if(h===(h=m(n=e))&&g?g.p(n,t):(g&&g.d(1),(g=h&&h(n))&&(g.c(),g.m(r,null))),2060&t[0]){let e;for(p=n[40].games,e=0;e<p.length;e+=1){const a=Fo(n,p,e);f[e]?f[e].p(a,t):(f[e]=_o(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=p.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),8&t[0]&&I(a,"background-image","url("+n[40]?.background+")")},d(e){e&&me(i),g&&g.d(),F(f,e),d=!1,u()}}}function Io(n){let i;function a(e){return e[6]?To:Mo}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[24](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[24](null)}}}function Ro(n,e,i){let t;Ze(n,Ki,e=>i(8,t=e));let a,r,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,$=0,x=0,C=window.navigator.userAgent;Object.keys(ko).forEach(e=>{Co(e,ko[e])});const k=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>r=e.getBoundingClientRect().width),x=Math.round(a.offsetWidth/r)},S=()=>{k(w)},F=()=>{x>=$||(0===w?w=$-x:w-x<-1?w=0:w--,S())},M=()=>{x>=$||(w===$-x?w=0:$-x<w+1?w=$-x:w++,S())},T=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return Ue(()=>{i(7,l=Ye(C))}),n.$$set=e=>{"endpoint"in e&&i(13,c=e.endpoint),"datasource"in e&&i(14,d=e.datasource),"lang"in e&&i(15,u=e.lang),"type"in e&&i(0,m=e.type),"titletype"in e&&i(1,h=e.titletype),"clientstyling"in e&&i(16,g=e.clientstyling),"clientstylingurl"in e&&i(17,p=e.clientstylingurl),"translationurl"in e&&i(18,f=e.translationurl),"collectionprovidersgamenames"in e&&i(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{i(6,v=!1);let t=e.items.filter(e=>e.flags==m);i(3,b=t.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),$=b.length})}if(24&n.$$.dirty[0]&&b&&a&&k(),32768&n.$$.dirty[0]&&u&&(e=u,We.set(e)),65568&n.$$.dirty[0]&&g&&s){let e=document.createElement("style");e.innerHTML=g,s.appendChild(e)}if(131104&n.$$.dirty[0]&&p&&s){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Co(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,b,a,s,v,l,t,F,M,T,E,c,d,u,g,p,f,()=>F(),()=>M(),e=>T(e.gameId,e.launchUrl,e.name),e=>E(e.id),function(e){ze[e?"unshift":"push"](()=>{a=e,i(4,a)})},function(e){ze[e?"unshift":"push"](()=>{s=e,i(5,s)})}]}function Bo(n){let i,a,r,o,s;return{c(){i=he("div"),a=he("casino-games-category-section"),this.c=W,x(a,"session",n[0]),x(a,"userid",n[1]),x(a,"endpoint",n[2]),x(a,"datasource",n[3]),x(a,"lang",n[5]),x(a,"currency",n[4]),x(a,"favorites",n[13]),x(a,"categoryid","FAVORITES"),x(a,"class","CategoryContainer"),x(a,"clientstyling",n[6]),x(a,"clientstylingurl",n[7]),x(a,"livecasino",n[8]),x(a,"visiblegames",n[12]),x(a,"gamepagemodalurl",n[11]),x(a,"integratedgameframedesktop",n[10]),x(a,"integratedgameframemobile",n[9]),x(a,"casinomygames",n[14]),fe(i,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,i,t),de(i,a),n[18](i),o||(s=S(r=n[16].call(null,a,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,[t]){1&t&&x(a,"session",e[0]),2&t&&x(a,"userid",e[1]),4&t&&x(a,"endpoint",e[2]),8&t&&x(a,"datasource",e[3]),32&t&&x(a,"lang",e[5]),16&t&&x(a,"currency",e[4]),8192&t&&x(a,"favorites",e[13]),64&t&&x(a,"clientstyling",e[6]),128&t&&x(a,"clientstylingurl",e[7]),256&t&&x(a,"livecasino",e[8]),4096&t&&x(a,"visiblegames",e[12]),2048&t&&x(a,"gamepagemodalurl",e[11]),1024&t&&x(a,"integratedgameframedesktop",e[10]),512&t&&x(a,"integratedgameframemobile",e[9]),16384&t&&x(a,"casinomygames",e[14]),r&&k(r.update)&&7&t&&r.update.call(null,(e[2],e[1],e[0],e[1]))},i:W,o:W,d(e){e&&me(i),n[18](null),o=!1,s()}}}function Do(e,t,s){let n,i,{endpoint:l=""}=t,{datasource:a=""}=t,{currency:r=""}=t,{lang:o=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h="false"}=t,{integratedgameframemobile:g="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,$=[];var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(C),We.set(x))});const k=n=>{if(n.data)switch(n.data.type){case"UserSessionID":s(0,c=n.data.session),s(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&S(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,$.includes(o)&&($=$.filter(e=>e!=o)),fetch(e+"/"+o,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),F(e,t)});break;case"SetFavoredGame":{var i=`${l}/player/${d}/favorites`;var a=c;d;var r=n.data.id;n.data.triggerFactor;$.includes(r)||$.push(r);let e={items:$},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),F(i,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&S(l,c,d)}var e,t,o};let S=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(M(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),T(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})};let F=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,M(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),i)).catch(e=>{console.error(e)})};const M=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},T=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return Ue(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),e.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,a=e.datasource),"currency"in e&&s(4,r=e.currency),"lang"in e&&s(5,o=e.lang),"session"in e&&s(0,c=e.session),"userid"in e&&s(1,d=e.userid),"clientstyling"in e&&s(6,u=e.clientstyling),"clientstylingurl"in e&&s(7,m=e.clientstylingurl),"livecasino"in e&&s(8,h=e.livecasino),"integratedgameframemobile"in e&&s(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&s(11,f=e.gamepagemodalurl),"visiblegames"in e&&s(12,y=e.visiblegames),"favorites"in e&&s(13,b=e.favorites),"categoryid"in e&&s(17,v=e.categoryid),"casinomygames"in e&&s(14,w=e.casinomygames)},e.$$.update=()=>{if(8231&e.$$.dirty&&l&&d&&c&&o&&b&&"true"==b&&S(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,a,r,o,u,m,h,g,p,f,y,b,w,n,S,v,function(e){ze[e?"unshift":"push"](()=>{n=e,s(15,n)})}]}function Ao(e,t){Li(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px;position:absolute;top:30%;left:50%;transform:translate(-50%, -50%)}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:54px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:10px;text-overflow:ellipsis;overflow:hidden;height:20px;width:90px;white-space:nowrap}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ro,Io,t,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends a{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Do,Bo,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const No={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function Oo(e){let n;return{c(){x(n=he("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","LASTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9]),x(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&x(n,"session",e[4]),32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),4096&t[0]&&x(n,"visiblegames",e[12]),2048&t[0]&&x(n,"gamepagemodalurl",e[11]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),512&t[0]&&x(n,"integratedgameframemobile",e[9]),16384&t[0]&&x(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Ho(e){let n,i,a=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=he("p"),i=ge(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&a!==(a=e[17]("LastPlayedTranslations.noRecentGames")+"")&&ye(i,a)},d(e){e&&me(n)}}}function jo(n){let i,a;function r(e){return e[16]?Ho:Oo}let o=r(n),s=o(n);return{c(){i=he("div"),a=he("div"),s.c(),this.c=W,fe(a,"class","CasinoLastPlayedSection"),fe(i,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,a),s.m(a,null),n[20](i)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(i),s.d(),n[20](null)}}}function Uo(t,e,n){let i;Ze(t,Ki,e=>n(17,i=e));let r,o,{endpoint:s=""}=e,{datasource:l=""}=e,{currency:a=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:g=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:$=""}=e,{casinomygames:x="false"}=e,C=window.navigator.userAgent,k=!1,S;Object.keys(No).forEach(e=>{Ao(e,No[e])});return t.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,l=e.datasource),"currency"in e&&n(2,a=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(18,g=e.translationurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(19,$=e.lastplayedperiod),"casinomygames"in e&&n(14,x=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&s&&u&&c&&(a={device:Ve(C),period:$||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${s}/player/${u}/games/last-played`);a.limit&&n.searchParams.append("limit","10"),a.order&&n.searchParams.append("order",a.order);var i=a.device;i?"PC"===i?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),a.period&&n.searchParams.append("period","Last30Days"),r=p?n:n.href,fetch(r).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(s+"/casino/games/"+e.gameId);t.searchParams.append("datasource",l),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{S=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:S},window.location.href)})}else n(16,k=!0)})),262144&t.$$.dirty[0]&&g&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ao(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&m&&o){let e=document.createElement("style");e.innerHTML=m,o.appendChild(e)}if(32896&t.$$.dirty[0]&&h&&o){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,a;8&t.$$.dirty[0]&&c&&(e=c,We.set(e))},[s,l,a,c,d,u,m,h,p,f,y,b,v,w,x,o,k,i,g,$,function(e){ze[e?"unshift":"push"](()=>{o=e,n(15,o)})}]}function zo(e){let n;return{c(){x(n=he("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9]),x(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t&&x(n,"session",e[4]),32&t&&x(n,"userid",e[5]),1&t&&x(n,"endpoint",e[0]),2&t&&x(n,"datasource",e[1]),8&t&&x(n,"lang",e[3]),4&t&&x(n,"currency",e[2]),8192&t&&x(n,"favorites",e[13]),64&t&&x(n,"clientstyling",e[6]),128&t&&x(n,"clientstylingurl",e[7]),256&t&&x(n,"livecasino",e[8]),4096&t&&x(n,"visiblegames",e[12]),2048&t&&x(n,"gamepagemodalurl",e[11]),1024&t&&x(n,"integratedgameframedesktop",e[10]),512&t&&x(n,"integratedgameframemobile",e[9]),16384&t&&x(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Wo(e){let n;return{c(){(n=he("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Yo(n){let i,a;function r(e){return e[16]?Wo:zo}let o=r(n),s=o(n);return{c(){i=he("div"),a=he("div"),s.c(),this.c=W,fe(a,"class","casino-most-played-section"),fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,a),s.m(a,null),n[18](i)},p(e,[t]){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:W,o:W,d(e){e&&me(i),s.d(),n[18](null)}}}function Vo(t,e,n){let i,a,{endpoint:r=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:p="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,$=window.navigator.userAgent,x=[],C=!1;return t.$$set=e=>{"endpoint"in e&&n(0,r=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(17,v=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty&&r&&d&&l&&(e=>{let t=new URL(`${r}/player/${d}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),i=h?t:t.href,new Promise((e,t)=>{fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:Ve($),rounds:10}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(r+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),"true"===w&&(x=x.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)})}else n(16,C=!0)}),32832&t.$$.dirty&&u&&a){let e=document.createElement("style");e.innerHTML=u,a.appendChild(e)}if(32896&t.$$.dirty&&m&&a){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,We.set(e))},[r,o,s,l,c,d,u,m,h,g,p,f,y,b,w,a,C,v,function(e){ze[e?"unshift":"push"](()=>{a=e,n(15,a)})}]}function Zo(e,t){Li(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Uo,jo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,casinomygames:14},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Vo,Yo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const Jo={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},zh:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},de:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},it:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},fr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},es:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},tr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ru:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ro:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hu:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pt:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}}};function Ko(e,t,n){const i=e.slice();return i[36]=t[n],i}function Xo(t){let a,n,r,i,o,e,s=t[20],l=[];for(let e=0;e<s.length;e+=1)l[e]=ts(Ko(t,s,e));function c(e){return"Favorites"==e[18]?as:"MostPlayed"==e[18]?is:"LastPlayed"==e[18]?ns:void 0}let d=c(t),u=d&&d(t);return{c(){a=he("div"),n=he("div"),r=he("div");for(let e=0;e<l.length;e+=1)l[e].c();i=pe(),o=he("div"),u&&u.c(),fe(r,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(a,"class",e="CasinoMyGames "+(t[19]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,r);for(let e=0;e<l.length;e+=1)l[e].m(r,null);de(a,i),de(a,o),u&&u.m(o,null)},p(t,n){if(7659520&n[0]){let e;for(s=t[20],e=0;e<s.length;e+=1){var i=Ko(t,s,e);l[e]?l[e].p(i,n):(l[e]=ts(i),l[e].c(),l[e].m(r,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),524288&n[0]&&e!==(e="CasinoMyGames "+(t[19]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),F(l,e),u&&u.d()}}}function qo(n){let i,a,r,o,s,l=n[21]("Translations.favorites")+"";return{c(){i=he("button"),a=ge(l),fe(i,"class",r="MyGamesButton "+("Favorites"==n[18]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,i,t),de(i,a),o||(s=V(i,"click",n[26]),o=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.favorites")+"")&&ye(a,l),270336&t[0]&&r!==(r="MyGamesButton "+("Favorites"==e[18]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(i,"class",r)},d(e){e&&me(i),o=!1,s()}}}function Qo(n){let i,a,r,o,s,l=n[21]("Translations.mostPlayed")+"";return{c(){i=he("button"),a=ge(l),fe(i,"class",r="MyGamesButton "+("MostPlayed"==n[18]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,i,t),de(i,a),o||(s=V(i,"click",n[27]),o=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.mostPlayed")+"")&&ye(a,l),278528&t[0]&&r!==(r="MyGamesButton "+("MostPlayed"==e[18]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(i,"class",r)},d(e){e&&me(i),o=!1,s()}}}function es(n){let i,a,r,o,s,l,c=n[21]("Translations.recentlyPlayed")+"";return{c(){i=he("button"),a=ge(c),r=pe(),fe(i,"class",o="MyGamesButton "+("LastPlayed"==n[18]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,i,t),de(i,a),de(i,r),s||(l=V(i,"click",n[28]),s=!0)},p(e,t){2097152&t[0]&&c!==(c=e[21]("Translations.recentlyPlayed")+"")&&ye(a,c),294912&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[18]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(i,"class",o)},d(e){e&&me(i),s=!1,l()}}}function ts(e){let n,i,a,r="Favorites"==e[36]&&qo(e),o="MostPlayed"==e[36]&&Qo(e),s="LastPlayed"==e[36]&&es(e);return{c(){r&&r.c(),n=pe(),o&&o.c(),i=pe(),s&&s.c(),a=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,i,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){"Favorites"==e[36]?r?r.p(e,t):((r=qo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"MostPlayed"==e[36]?o?o.p(e,t):((o=Qo(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null),"LastPlayed"==e[36]?s?s.p(e,t):((s=es(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){r&&r.d(e),e&&me(n),o&&o.d(e),e&&me(i),s&&s.d(e),e&&me(a)}}}function ns(e){let n;return{c(){x(n=he("casino-last-played-section"),"userid",e[0]),x(n,"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"favorites",e[13]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"session",e[1]),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&x(n,"userid",e[0]),4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),8192&t[0]&&x(n,"favorites",e[13]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),2&t[0]&&x(n,"session",e[1]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function is(e){let n;return{c(){x(n=he("casino-most-played-section"),"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"session",e[1]),x(n,"userid",e[0]),x(n,"favorites",e[13]),x(n,"categoryindex","0"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),2&t[0]&&x(n,"session",e[1]),1&t[0]&&x(n,"userid",e[0]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function as(e){let n;return{c(){x(n=he("casino-favorites-section"),"session",e[1]),x(n,"userid",e[0]),x(n,"endpoint",e[2]),x(n,"datasource",e[3]),x(n,"lang",e[4]),x(n,"currency",e[5]),x(n,"favorites",e[13]),x(n,"categoryid","FAVORITES"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[10]),x(n,"integratedgameframedesktop",e[11]),x(n,"integratedgameframemobile",e[12]),x(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&x(n,"session",e[1]),1&t[0]&&x(n,"userid",e[0]),4&t[0]&&x(n,"endpoint",e[2]),8&t[0]&&x(n,"datasource",e[3]),16&t[0]&&x(n,"lang",e[4]),32&t[0]&&x(n,"currency",e[5]),8192&t[0]&&x(n,"favorites",e[13]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"visiblegames",e[9]),1024&t[0]&&x(n,"gamepagemodalurl",e[10]),2048&t[0]&&x(n,"integratedgameframedesktop",e[11]),4096&t[0]&&x(n,"integratedgameframemobile",e[12]),65536&t[0]&&x(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function rs(n){let i;function a(e){if(e[16])return Xo}let r=a(n),o=r&&r(n);return{c(){i=he("div"),o&&o.c(),this.c=W},m(e,t){ue(e,i,t),o&&o.m(i,null),n[29](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o&&o.d(),n[29](null)}}}function os(e,t,n){let i;Ze(e,Ki,e=>n(21,i=e));let a,{userid:r=""}=t,{session:o=""}=t,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h=""}=t,{visiblegames:g=""}=t,{gamepagemodalurl:p=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:$="false"}=t,{activecategory:x=""}=t,{categorybackground:C=""}=t,{casinomygames:k="false"}=t,S=window.navigator.userAgent,F="",M=!1,T=["","",""];var E,L;({withLocale:E,translations:L}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(L),We.set(E))}),Object.keys(Jo).forEach(e=>{Zo(e,Jo[e])});const G=e=>{F!==e&&n(18,F=e)},_=()=>{var e;n(18,F="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===$?"LastPlayed":""),n(20,T[0]="true"===v?"Favorites":"",T),n(20,T[1]="true"===w?"MostPlayed":"",T),n(20,T[2]="true"===$?"LastPlayed":"",T),e=c,We.set(e)};return Ue(()=>{n(19,M=Ye(S))}),e.$$set=e=>{"userid"in e&&n(0,r=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,g=e.visiblegames),"gamepagemodalurl"in e&&n(10,p=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(23,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,$=e.lastplayed),"activecategory"in e&&n(24,x=e.activecategory),"categorybackground"in e&&n(25,C=e.categorybackground),"casinomygames"in e&&n(16,k=e.casinomygames)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&s&&l&&c&&_(),57344&e.$$.dirty[0]&&v&&w&&$&&_(),8388608&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Zo(e,t[e])})}).catch(e=>{console.log(e)}),131136&e.$$.dirty[0]&&u&&a){let e=document.createElement("style");e.innerHTML=u,a.appendChild(e)}if(131200&e.$$.dirty[0]&&m&&a){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[r,o,s,l,c,d,u,m,h,g,p,f,y,v,w,$,k,a,F,M,T,i,G,b,x,C,()=>G("Favorites"),()=>G("MostPlayed"),()=>G("LastPlayed"),function(e){ze[e?"unshift":"push"](()=>{a=e,n(17,a)})}]}function ss(e,t){Li(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends a{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoMyGames{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:50px 0}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},os,rs,t,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:23,favorites:13,mostplayed:14,lastplayed:15,activecategory:24,categorybackground:25,casinomygames:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","activecategory","categorybackground","casinomygames"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),f()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get activecategory(){return this.$$.ctx[24]}set activecategory(e){this.$$set({activecategory:e}),f()}get categorybackground(){return this.$$.ctx[25]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const ls={en:{Translations:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},zh:{Translations:{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"}},de:{Translations:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"}},it:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},fr:{Translations:{recentSearch:"Recherche récente",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."}},es:{Translations:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"}},gr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},tr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},ru:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."}},ro:{Translations:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului. ",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre."}},hr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},hu:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pt:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}}};function cs(e,t,n){const i=e.slice();return i[48]=t[n],i}function ds(e){let n,i,a,r;function o(e){return 1==e[13]&&e[8].length<2?hs:0!=e[11].length?ms:void 0}let s=o(e),l=s&&s(e),c=!1===e[9]&&ps(e),d=2<=e[8].length&&0==e[11].length&&ys(e);return{c(){l&&l.c(),n=pe(),i=he("div"),c&&c.c(),a=pe(),d&&d.c(),fe(i,"class",r="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,i,t),c&&c.m(i,null),de(i,a),d&&d.m(i,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[9]?c?c.p(e,t):((c=ps(e)).c(),c.m(i,a)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=ys(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),8192&t[0]&&r!==(r="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(i,"class",r)},d(e){l&&l.d(e),e&&me(n),e&&me(i),c&&c.d(),d&&d.d()}}}function us(e){let n,i,a=e[17]("Translations.loading")+"";return{c(){n=he("p"),i=ge(a)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&a!==(a=e[17]("Translations.loading")+"")&&ye(i,a)},d(e){e&&me(n)}}}function ms(e){let n,i,a=e[17]("Translations.searchResult")+"";return{c(){n=he("p"),i=ge(a),fe(n,"class","PC"!==Ve(e[18])?"SearchMessage":"SearchMessagePc")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&a!==(a=e[17]("Translations.searchResult")+"")&&ye(i,a)},d(e){e&&me(n)}}}function hs(e){let n,i,a,r,o=e[17]("Translations.recentSearch")+"",s=0==e[11].length&&gs(e);return{c(){n=he("p"),i=ge(o),a=pe(),s&&s.c(),r=c(),fe(n,"class","PC"!==Ve(e[18])?"SearchMessage":"SearchMessagePc")},m(e,t){ue(e,n,t),de(n,i),ue(e,a,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){131072&t[0]&&o!==(o=e[17]("Translations.recentSearch")+"")&&ye(i,o),0==e[11].length?s?s.p(e,t):((s=gs(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){e&&me(n),e&&me(a),s&&s.d(e),e&&me(r)}}}function gs(e){let n,i,a,t,r=e[17]("Translations.noRecentSearches")+"";return{c(){n=he("div"),i=he("p"),a=ge(r),fe(i,"class",t="PC"!==Ve(e[18])?"SearchMessage":"SearchMessagePc"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,a)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.noRecentSearches")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ps(t){let a,r=t[11],o=[];for(let e=0;e<r.length;e+=1)o[e]=fs(cs(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(1149183&n[0]){let e;for(r=t[11],e=0;e<r.length;e+=1){var i=cs(t,r,e);o[e]?o[e].p(i,n):(o[e]=fs(i),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){F(o,e),e&&me(a)}}}function fs(e){let n,i,a,r,o,s,l,c,d,u,m;return{c(){x(n=he("casino-game-thumbnail"),"endpoint",e[0]),x(n,"session",e[15]),x(n,"userid",e[16]),x(n,"favorites",e[7]),x(n,"lang",e[1]),x(n,"gamethumbnail",i=e[48].thumbnail),x(n,"gamename",a=e[48].name),x(n,"gamevendor",r=e[48].vendor.name),x(n,"gameisnew",o=e[48].isNew),x(n,"gametag",s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),x(n,"gamecellsize",l=e[48].cellSize),x(n,"gameid",c=e[48].id),x(n,"gamefunmode",d=e[48].hasFunMode),x(n,"gamefavorite",u=e[48].isFavorite),x(n,"livelobbyendpoint",m=e[48].details?e[48].launchUrl:""),x(n,"integratedgameframedesktop",e[4]),x(n,"integratedgameframemobile",e[5]),x(n,"clientstyling",e[2]),x(n,"clientstylingurl",e[3]),x(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&x(n,"endpoint",e[0]),32768&t[0]&&x(n,"session",e[15]),65536&t[0]&&x(n,"userid",e[16]),128&t[0]&&x(n,"favorites",e[7]),2&t[0]&&x(n,"lang",e[1]),2048&t[0]&&i!==(i=e[48].thumbnail)&&x(n,"gamethumbnail",i),2048&t[0]&&a!==(a=e[48].name)&&x(n,"gamename",a),2048&t[0]&&r!==(r=e[48].vendor.name)&&x(n,"gamevendor",r),2048&t[0]&&o!==(o=e[48].isNew)&&x(n,"gameisnew",o),2048&t[0]&&s!==(s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&x(n,"gametag",s),2048&t[0]&&l!==(l=e[48].cellSize)&&x(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&x(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&x(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&x(n,"gamefavorite",u),2048&t[0]&&m!==(m=e[48].details?e[48].launchUrl:"")&&x(n,"livelobbyendpoint",m),16&t[0]&&x(n,"integratedgameframedesktop",e[4]),32&t[0]&&x(n,"integratedgameframemobile",e[5]),4&t[0]&&x(n,"clientstyling",e[2]),8&t[0]&&x(n,"clientstylingurl",e[3]),64&t[0]&&x(n,"gamepagemodalurl",e[6])},d(e){e&&me(n)}}}function ys(e){let n,i,a,t,r,o,s,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=he("div"),i=he("p"),a=ge(l),r=pe(),o=he("p"),s=ge(c),fe(i,"class",t="PC"!==Ve(e[18])?"SearchMessage":"SearchMessagePc"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,a),de(n,r),de(n,o),de(o,s)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.notFound")+"")&&ye(a,l),131072&t[0]&&c!==(c=e[17]("Translations.notFoundText")+"")&&ye(s,c)},d(e){e&&me(n)}}}function bs(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,S=n[17]("Translations.cancel")+"";function F(e){return e[14]?us:ds}let M=F(n),T=M(n);return{c(){i=he("div"),a=he("div"),r=he("div"),o=E("svg"),s=E("path"),l=E("circle"),c=pe(),d=he("div"),u=he("input"),h=pe(),g=he("span"),p=E("svg"),f=E("path"),b=pe(),v=he("small"),w=ge(S),x=pe(),T.c(),this.c=W,fe(s,"stroke","#212121"),fe(s,"stroke-width","2"),fe(s,"stroke-linecap","round"),fe(s,"stroke-linejoin","round"),fe(s,"d","m10.48 10.985 2.21 2.373"),fe(l,"cx","6.5"),fe(l,"cy","6.5"),fe(l,"r","5.75"),fe(l,"stroke","#212121"),fe(l,"stroke-width","1.5"),fe(o,"width","14"),fe(o,"height","15"),fe(o,"fill","none"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(r,"class","PC"!==Ve(n[18])?"SearchIcon":"SearchIconPc"),fe(u,"class","SearchInput"),fe(u,"type","search"),fe(u,"placeholder",m=n[17]("Translations.placeHolderSearchGames")),fe(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(f,"stroke","#717171"),fe(f,"stroke-width","2"),fe(f,"stroke-linecap","round"),fe(f,"stroke-linejoin","round"),fe(p,"width","11"),fe(p,"height","11"),fe(p,"fill","none"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(g,"class",y="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(d,"class","PC"!==Ve(n[18])?"SearchContainer":"SearchContainerPc"),fe(v,"class",$="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(a,"class","PC"!==Ve(n[18])?"Search":"SearchPc"),fe(i,"class","PC"!==Ve(n[18])?"CasinoSearch":"CasinoSearchPc")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(r,o),de(o,s),de(o,l),de(a,c),de(a,d),de(d,u),P(u,n[8]),n[29](u),de(d,h),de(d,g),de(g,p),de(p,f),de(a,b),de(a,v),de(v,w),de(i,x),T.m(i,null),n[32](i),C||(k=[V(u,"input",n[28]),V(u,"focus",n[19]),V(g,"click",n[30]),V(v,"click",n[31])],C=!0)},p(e,t){131072&t[0]&&m!==(m=e[17]("Translations.placeHolderSearchGames"))&&fe(u,"placeholder",m),256&t[0]&&P(u,e[8]),256&t[0]&&y!==(y="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(g,"class",y),131072&t[0]&&S!==(S=e[17]("Translations.cancel")+"")&&ye(w,S),512&t[0]&&$!==($="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(v,"class",$),M===(M=F(e))&&T?T.p(e,t):(T.d(1),(T=M(e))&&(T.c(),T.m(i,null)))},i:W,o:W,d(e){e&&me(i),n[29](null),T.d(),n[32](null),C=!1,Y(k)}}}function vs(i,e,r){let t;Ze(i,Ki,e=>r(17,t=e));let n,a,o,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{integratedgameframedesktop:p="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,$=[],x=[],C={},k="",S=!0,F=!1,M=!1,T=!1,E=[];Object.keys(ls).forEach(e=>{ss(e,ls[e])});const L=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(x=(x=localStorage.getItem("searchedGamesWds_casino"))?x.split(","):[]).indexOf(t)&&(x.push(t),n=x.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(r(15,o=e.data.session),r(16,s=e.data.userid),r(27,T=!0))},G=()=>{if(r(9,S=!1),r(13,F=!0),l&&c&&m&&k.length<2){r(11,$=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],i=0,a=(t=e?e.split(","):t).length;if(0<a){for(i=0;i<a;i++){let e=new URL(l+"/casino/games/"+t[i]);e.searchParams.append("language",m),e.searchParams.append("datasource",c),e.searchParams.append("platform",Ve(w)),n.push(((e,i)=>new Promise((t,n)=>{r(14,M=!0),i&&Object.keys(C).indexOf(i)>=0?(r(14,M=!1),t(C[i])):fetch(e).then(e=>e.json()).then(e=>{r(14,M=!1),C[e[0].gameId]=e[0],t(e[0])}).catch(e=>{r(14,M=!1),console.error(e),n(e)})}))(e,t[i]))}Promise.all(n).then(e=>{r(11,$=e.map(e=>(e.isFavorite=_(e.id),e)))})}}R(F),"function"==typeof gtag&>ag("event","SearchInitialized",{context:"SearchWidget"})},_=t=>-1!==E.findIndex(e=>e==t),P=()=>{r(8,k=""),r(9,S=!0),r(14,M=!1),r(11,$=[]),r(13,F=!1),R(F)},I=()=>{r(8,k=""),n.focus()},R=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return Ue(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),i.$$set=e=>{"endpoint"in e&&r(0,l=e.endpoint),"datasource"in e&&r(23,c=e.datasource),"session"in e&&r(24,d=e.session),"userid"in e&&r(25,u=e.userid),"lang"in e&&r(1,m=e.lang),"clientstyling"in e&&r(2,h=e.clientstyling),"clientstylingurl"in e&&r(3,g=e.clientstylingurl),"integratedgameframedesktop"in e&&r(4,p=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&r(6,y=e.gamepagemodalurl),"translationurl"in e&&r(26,b=e.translationurl),"showfavorites"in e&&r(7,v=e.showfavorites)},i.$$.update=()=>{if(8389379&i.$$.dirty[0])if(2<=k.length){const i=new URL(l+"/casino/games");i.searchParams.append("datasource",c),i.searchParams.append("expand","vendor"),i.searchParams.append("platform",Ve(w)),i.searchParams.append("language",m),i.searchParams.append("pagination","offset=0,limit=30"),i.searchParams.append("filter","name="+k),e=i,new Promise((t,n)=>{r(14,M=!0),fetch(e.href).then(e=>e.json()).then(e=>{r(14,M=!1),t(e)}).catch(e=>{r(14,M=!1),console.error(e),n(e)})}).then(e=>{r(11,$=e.items.map(e=>(e.isFavorite=_(e.id),e)))})}else S||G();var e,t,n;if(2&i.$$.dirty[0]&&m&&(n=m,We.set(n)),67108864&i.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ss(e,t[e])})}).catch(e=>{console.log(e)}),50331648&i.$$.dirty[0]&&d&&u&&(r(27,T=!0),r(15,o=d),r(16,s=u)),134217856&i.$$.dirty[0]&&v&&T&&(n=new URL(`${l}/player/${s}/favorites/`),r(14,M=!0),t={method:"GET",headers:{"X-SessionID":o}},fetch(n.href,t).then(e=>e.json()).then(e=>{r(14,M=!1),E=e.items.map(e=>e.id)})),1028&i.$$.dirty[0]&&h&&a){let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)}if(1032&i.$$.dirty[0]&&g&&a){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[l,m,h,g,p,f,y,v,k,S,a,$,n,F,M,o,s,t,w,G,i=>{if(0===(null==i?void 0:i.length))return"";let a,r,o=99999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Fa(e).diff(s)<o&&(o=Fa(e).diff(s),r=t),Fa(s).isAfter(n)&&Fa(s).isBefore(e)&&(a=i[r].name)}),a},P,I,c,d,u,b,T,function(){k=this.value,r(8,k)},function(e){ze[e?"unshift":"push"](()=>{n=e,r(12,n)})},()=>I(),()=>P(),function(e){ze[e?"unshift":"push"](()=>{a=e,r(10,a)})}]}function ws(e,t,n){const i=e.slice();return i[129]=t[n],i[131]=n,i}function $s(e,t,n){const i=e.slice();return i[129]=t[n],i[131]=n,i}function xs(e){let n,i,a,r,o,s,l="PC"!==Ve(e[65])&&"false"===e[12],c=l&&ks(),d="true"==e[21]&&0==Ys&&!e[62]&&Ss(e);function u(e){return e[56]?Ms:e[62]?void 0:Fs}let m=u(e),h=m&&m(e),g=e[58]&&"true"==e[17]&&zs(e);return{c(){n=he("section"),c&&c.c(),i=pe(),a=he("casino-search"),r=pe(),d&&d.c(),o=pe(),h&&h.c(),s=pe(),g&&g.c(),x(a,"endpoint",e[1]),x(a,"datasource",e[2]),x(a,"lang",e[4]),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8]),x(a,"integratedgameframedesktop",e[29]),x(a,"integratedgameframemobile",e[30]),x(a,"translationurl",e[9]),x(a,"showfavorites",e[13]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),I(n,"max-width",e[16]+"px")},m(e,t){ue(e,n,t),c&&c.m(n,null),de(n,i),de(n,a),de(n,r),d&&d.m(n,null),de(n,o),h&&h.m(n,null),de(n,s),g&&g.m(n,null)},p(e,t){(l=4096&t[0]?"PC"!==Ve(e[65])&&"false"===e[12]:l)?c||((c=ks()).c(),c.m(n,i)):c&&(c.d(1),c=null),2&t[0]&&x(a,"endpoint",e[1]),4&t[0]&&x(a,"datasource",e[2]),16&t[0]&&x(a,"lang",e[4]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8]),536870912&t[0]&&x(a,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(a,"integratedgameframemobile",e[30]),512&t[0]&&x(a,"translationurl",e[9]),8192&t[0]&&x(a,"showfavorites",e[13]),"true"!=e[21]||0!=Ys||e[62]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ss(e)).c(),d.m(n,o)),m===(m=u(e))&&h?h.p(e,t):(h&&h.d(1),(h=m&&m(e))&&(h.c(),h.m(n,s))),e[58]&&"true"==e[17]?g?g.p(e,t):((g=zs(e)).c(),g.m(n,null)):g&&(g.d(1),g=null),65536&t[0]&&I(n,"max-width",e[16]+"px")},d(e){e&&me(n),c&&c.d(),d&&d.d(),h&&h.d(),g&&g.d()}}}function Cs(e){let n,i,a=e[64]("casinoPage.500")+"";return{c(){n=he("p"),i=ge(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){4&t[2]&&a!==(a=e[64]("casinoPage.500")+"")&&ye(i,a)},d(e){e&&me(n)}}}function ks(){let n;return{c(){fe(n=he("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Ss(e){let n;return{c(){x(n=he("casino-random-game"),"datasource",e[2]),x(n,"filteredrandomgamecategories",e[22]),x(n,"endpoint",e[1]),x(n,"lang",e[4]),x(n,"gameevent",e[55]),x(n,"randombuttonicon",e[51]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&x(n,"datasource",e[2]),4194304&t[0]&&x(n,"filteredrandomgamecategories",e[22]),2&t[0]&&x(n,"endpoint",e[1]),16&t[0]&&x(n,"lang",e[4]),16777216&t[1]&&x(n,"gameevent",e[55]),1048576&t[1]&&x(n,"randombuttonicon",e[51]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Fs(e){let n;function i(e){return e[61]?_s:e[60]?Gs:e[61]?Ls:e[60]?Es:Ts}let a=i(e),r=a(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){a===(a=i(e))&&r?r.p(e,t):(r.d(1),(r=a(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Ms(e){let n,i,a=e[64]("casinoPage.loading")+"";return{c(){n=he("p"),i=ge(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){4&t[2]&&a!==(a=e[64]("casinoPage.loading")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Ts(e){let n;return{c(){x(n=he("casino-games-category-section"),"userid",e[6]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"favorites",e[13]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"session",e[5]),x(n,"categoryid",e[53]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),8192&t[0]&&x(n,"favorites",e[13]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),32&t[0]&&x(n,"session",e[5]),4194304&t[1]&&x(n,"categoryid",e[53]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),1&t[0]&&x(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function Es(e){let n;return{c(){x(n=he("casino-my-games"),"userid",e[6]),x(n,"session",e[5]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"favorites",e[13]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"translationurl",e[9]),x(n,"mostplayed",e[14]),x(n,"lastplayed",e[15]),x(n,"filteredcategories",e[18]),x(n,"activecategory",e[19]),x(n,"categoryindex","0"),x(n,"categoryid","MYGAMES")},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),32&t[0]&&x(n,"session",e[5]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),8192&t[0]&&x(n,"favorites",e[13]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),512&t[0]&&x(n,"translationurl",e[9]),16384&t[0]&&x(n,"mostplayed",e[14]),32768&t[0]&&x(n,"lastplayed",e[15]),262144&t[0]&&x(n,"filteredcategories",e[18]),524288&t[0]&&x(n,"activecategory",e[19])},d(e){e&&me(n)}}}function Ls(t){let a,r=t[63],o=[];for(let e=0;e<r.length;e+=1)o[e]=Ds(ws(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(2123378175&n[0]|458687&n[1]|2&n[2]){let e;for(r=t[63],e=0;e<r.length;e+=1){var i=ws(t,r,e);o[e]?o[e].p(i,n):(o[e]=Ds(i),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){F(o,e),e&&me(a)}}}function Gs(e){let n;return{c(){x(n=he("casino-my-games"),"userid",e[6]),x(n,"session",e[5]),x(n,"endpoint",e[1]),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"currency",e[3]),x(n,"favorites",e[13]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8]),x(n,"livecasino",e[20]),x(n,"visiblegames",e[11]),x(n,"gamepagemodalurl",e[23]),x(n,"integratedgameframedesktop",e[29]),x(n,"integratedgameframemobile",e[30]),x(n,"translationurl",""),x(n,"mostplayed",e[14]),x(n,"lastplayed",e[15]),x(n,"filteredcategories",e[18]),x(n,"activecategory",e[19]),x(n,"categoryindex","0"),x(n,"categoryid","MYGAMES"),x(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&x(n,"userid",e[6]),32&t[0]&&x(n,"session",e[5]),2&t[0]&&x(n,"endpoint",e[1]),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),8&t[0]&&x(n,"currency",e[3]),8192&t[0]&&x(n,"favorites",e[13]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8]),1048576&t[0]&&x(n,"livecasino",e[20]),2048&t[0]&&x(n,"visiblegames",e[11]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),536870912&t[0]&&x(n,"integratedgameframedesktop",e[29]),1073741824&t[0]&&x(n,"integratedgameframemobile",e[30]),16384&t[0]&&x(n,"mostplayed",e[14]),32768&t[0]&&x(n,"lastplayed",e[15]),262144&t[0]&&x(n,"filteredcategories",e[18]),524288&t[0]&&x(n,"activecategory",e[19]),1&t[0]&&x(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function _s(t){let a,r=t[63],o=[];for(let e=0;e<r.length;e+=1)o[e]=Us($s(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(2140155391&n[0]|1048575&n[1]|2&n[2]){let e;for(r=t[63],e=0;e<r.length;e+=1){var i=$s(t,r,e);o[e]?o[e].p(i,n):(o[e]=Us(i),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){F(o,e),e&&me(a)}}}function Ps(e){let n,i,a,r;return{c(){n=he("br"),i=pe(),x(a=he("jackpot-banner"),"title","Jackpot Cards"),x(a,"currency",r=e[3]||"RON"),x(a,"gameid","998"),x(a,"endpoint",e[1]),x(a,"lang",e[4]),x(a,"backgroundsrc","/assets/background0.jpg"),x(a,"backgroundsrcmobile","/assets/background0.jpg"),x(a,"titlelogopath","/assets/jackpots_logo.svg"),x(a,"caticon0","/assets/icon0.svg"),x(a,"caticon1","/assets/icon1.svg"),x(a,"caticon2","/assets/icon2.svg"),x(a,"caticon3","/assets/icon3.svg"),x(a,"iconlabels",e[45]),x(a,"visualstructure","typeSpread"),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,a,t)},p(e,t){8&t[0]&&r!==(r=e[3]||"RON")&&x(a,"currency",r),2&t[0]&&x(a,"endpoint",e[1]),16&t[0]&&x(a,"lang",e[4]),16384&t[1]&&x(a,"iconlabels",e[45]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(i),e&&me(a)}}}function Is(e){let n,i,a,r;return{c(){n=he("br"),i=pe(),x(a=he("jackpot-banner"),"title","Egypt Quest"),x(a,"currency",r=e[3]||"RON"),x(a,"gameid","999"),x(a,"endpoint",e[1]),x(a,"lang",e[4]),x(a,"backgroundsrc",e[42]),x(a,"backgroundsrcmobile",e[43]),x(a,"titlelogopath",e[44]),x(a,"caticon0",e[38]),x(a,"caticon1",e[39]),x(a,"caticon2",e[40]),x(a,"caticon3",e[41]),x(a,"iconlabels",e[45]),x(a,"visualstructure",e[46]),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,a,t)},p(e,t){8&t[0]&&r!==(r=e[3]||"RON")&&x(a,"currency",r),2&t[0]&&x(a,"endpoint",e[1]),16&t[0]&&x(a,"lang",e[4]),2048&t[1]&&x(a,"backgroundsrc",e[42]),4096&t[1]&&x(a,"backgroundsrcmobile",e[43]),8192&t[1]&&x(a,"titlelogopath",e[44]),128&t[1]&&x(a,"caticon0",e[38]),256&t[1]&&x(a,"caticon1",e[39]),512&t[1]&&x(a,"caticon2",e[40]),1024&t[1]&&x(a,"caticon3",e[41]),16384&t[1]&&x(a,"iconlabels",e[45]),32768&t[1]&&x(a,"visualstructure",e[46]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(i),e&&me(a)}}}function Rs(e){let n,i;return{c(){x(n=he("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&x(n,"endpoint",i),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Bs(e){let n,i;return{c(){x(n=he("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type",e[48]),x(n,"titletype",e[49]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&x(n,"endpoint",i),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),131072&t[1]&&x(n,"type",e[48]),262144&t[1]&&x(n,"titletype",e[49]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Ds(n){let i,a,r,o,s,e,l,c,d,u="true"===enablecasinowinners&&1===n[131]&&function(e){let n,i;return{c(){n=he("div"),x(i=he("casino-winners"),"session",e[5]),x(i,"periodrecent",e[31]),x(i,"periodtop",e[32]),x(i,"numberusersrecent",e[33]),x(i,"numberuserstop",e[34]),x(i,"amountlimit",e[35]),x(i,"isrecentavailable",e[28]),x(i,"istopavailable",e[27]),x(i,"defaultcurrency",e[36]),x(i,"enableautoscroll",e[26]),x(i,"tabsorder",e[25]),x(i,"lang",e[4]),x(i,"clientstyling",e[7]),x(i,"clientstylingurl",e[8]),x(i,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[0]&&x(i,"session",e[5]),1&t[1]&&x(i,"periodrecent",e[31]),2&t[1]&&x(i,"periodtop",e[32]),4&t[1]&&x(i,"numberusersrecent",e[33]),8&t[1]&&x(i,"numberuserstop",e[34]),16&t[1]&&x(i,"amountlimit",e[35]),268435456&t[0]&&x(i,"isrecentavailable",e[28]),134217728&t[0]&&x(i,"istopavailable",e[27]),32&t[1]&&x(i,"defaultcurrency",e[36]),67108864&t[0]&&x(i,"enableautoscroll",e[26]),33554432&t[0]&&x(i,"tabsorder",e[25]),16&t[0]&&x(i,"lang",e[4]),128&t[0]&&x(i,"clientstyling",e[7]),256&t[0]&&x(i,"clientstylingurl",e[8]),2&t[0]&&x(i,"endpoint",e[1])},d(e){e&&me(n)}}}(n),t=4===(h=n)[131]&&"true"==enablejackpotbanner?Is:6===h[131]&&"true"==enablejackpotbanner?Ps:void 0,m=t&&t(n);var h;function g(e){return 7==e[131]&&"true"==enablecollections?Bs:e[131]==e[63].length-1&&"true"==enablecollections?Rs:void 0}let p=g(n),f=p&&p(n);return{c(){u&&u.c(),i=pe(),m&&m.c(),a=pe(),f&&f.c(),r=pe(),x(o=he("casino-games-category-section"),"session",n[5]),x(o,"userid",n[6]),x(o,"endpoint",n[1]),x(o,"datasource",n[2]),x(o,"lang",n[4]),x(o,"currency",n[3]),x(o,"categoryid",s=n[129]),x(o,"categoryindex",e=n[131]),x(o,"categorygames","9"),x(o,"favorites",n[13]),x(o,"class","CategoryContainer"),I(o,"background-color",n[131]%2!=0?n[10]:"transparent"),x(o,"clientstyling",n[7]),x(o,"clientstylingurl",n[8]),x(o,"livecasino",n[20]),x(o,"visiblegames",n[11]),x(o,"gamepagemodalurl",n[23]),x(o,"integratedgameframedesktop",n[29]),x(o,"integratedgameframemobile",n[30]),x(o,"casinomygames",n[0])},m(e,t){u&&u.m(e,t),ue(e,i,t),m&&m.m(e,t),ue(e,a,t),f&&f.m(e,t),ue(e,r,t),ue(e,o,t),c||(d=S(l=n[66].call(null,o,n[129])),c=!0)},p(e,t){n=e,"true"===enablecasinowinners&&1===n[131]&&u.p(n,t),m&&m.p(n,t),p===(p=g(n))&&f?f.p(n,t):(f&&f.d(1),(f=p&&p(n))&&(f.c(),f.m(r.parentNode,r))),32&t[0]&&x(o,"session",n[5]),64&t[0]&&x(o,"userid",n[6]),2&t[0]&&x(o,"endpoint",n[1]),4&t[0]&&x(o,"datasource",n[2]),16&t[0]&&x(o,"lang",n[4]),8&t[0]&&x(o,"currency",n[3]),2&t[2]&&s!==(s=n[129])&&x(o,"categoryid",s),8192&t[0]&&x(o,"favorites",n[13]),1024&t[0]&&I(o,"background-color",n[131]%2!=0?n[10]:"transparent"),128&t[0]&&x(o,"clientstyling",n[7]),256&t[0]&&x(o,"clientstylingurl",n[8]),1048576&t[0]&&x(o,"livecasino",n[20]),2048&t[0]&&x(o,"visiblegames",n[11]),8388608&t[0]&&x(o,"gamepagemodalurl",n[23]),536870912&t[0]&&x(o,"integratedgameframedesktop",n[29]),1073741824&t[0]&&x(o,"integratedgameframemobile",n[30]),1&t[0]&&x(o,"casinomygames",n[0]),l&&k(l.update)&&2&t[2]&&l.update.call(null,n[129])},d(e){u&&u.d(e),e&&me(i),m&&m.d(e),e&&me(a),f&&f.d(e),e&&me(r),e&&me(o),c=!1,d()}}}function As(e){let n,i;return{c(){n=he("div"),x(i=he("casino-winners"),"session",e[5]),x(i,"userid",e[6]),x(i,"periodrecent",e[31]),x(i,"periodtop",e[32]),x(i,"numberusersrecent",e[33]),x(i,"numberuserstop",e[34]),x(i,"amountlimit",e[35]),x(i,"isrecentavailable",e[28]),x(i,"istopavailable",e[27]),x(i,"defaultcurrency",e[36]),x(i,"usercurrency",e[3]),x(i,"enableautoscroll",e[26]),x(i,"tabsorder",e[25]),x(i,"lang",e[4]),x(i,"clientstyling",e[7]),x(i,"clientstylingurl",e[8]),x(i,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[0]&&x(i,"session",e[5]),64&t[0]&&x(i,"userid",e[6]),1&t[1]&&x(i,"periodrecent",e[31]),2&t[1]&&x(i,"periodtop",e[32]),4&t[1]&&x(i,"numberusersrecent",e[33]),8&t[1]&&x(i,"numberuserstop",e[34]),16&t[1]&&x(i,"amountlimit",e[35]),268435456&t[0]&&x(i,"isrecentavailable",e[28]),134217728&t[0]&&x(i,"istopavailable",e[27]),32&t[1]&&x(i,"defaultcurrency",e[36]),8&t[0]&&x(i,"usercurrency",e[3]),67108864&t[0]&&x(i,"enableautoscroll",e[26]),33554432&t[0]&&x(i,"tabsorder",e[25]),16&t[0]&&x(i,"lang",e[4]),128&t[0]&&x(i,"clientstyling",e[7]),256&t[0]&&x(i,"clientstylingurl",e[8]),2&t[0]&&x(i,"endpoint",e[1])},d(e){e&&me(n)}}}function Ns(e){let n,i,a,r;return{c(){n=he("br"),i=pe(),x(a=he("jackpot-banner"),"title","Jackpot Cards"),x(a,"currency",r=e[3]||"RON"),x(a,"gameid","999"),x(a,"endpoint",e[1]),x(a,"lang",e[4]),x(a,"backgroundsrc","/assets/background0.jpg"),x(a,"backgroundsrcmobile","/assets/background0.jpg"),x(a,"titlelogopath","/assets/jackpots_logo.svg"),x(a,"caticon0","/assets/icon0.svg"),x(a,"caticon1","/assets/icon1.svg"),x(a,"caticon2","/assets/icon2.svg"),x(a,"caticon3","/assets/icon3.svg"),x(a,"iconlabels",e[45]),x(a,"visualstructure","typeSpread"),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,a,t)},p(e,t){8&t[0]&&r!==(r=e[3]||"RON")&&x(a,"currency",r),2&t[0]&&x(a,"endpoint",e[1]),16&t[0]&&x(a,"lang",e[4]),16384&t[1]&&x(a,"iconlabels",e[45]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(i),e&&me(a)}}}function Os(e){let n,i,a,r;return{c(){n=he("br"),i=pe(),x(a=he("jackpot-banner"),"title","Egypt Quest"),x(a,"currency",r=e[3]||"RON"),x(a,"gameid","998"),x(a,"endpoint",e[1]),x(a,"lang",e[4]),x(a,"backgroundsrc",e[42]),x(a,"backgroundsrcmobile",e[43]),x(a,"titlelogopath",e[44]),x(a,"caticon0",e[38]),x(a,"caticon1",e[39]),x(a,"caticon2",e[40]),x(a,"caticon3",e[41]),x(a,"iconlabels",e[45]),x(a,"visualstructure",e[46]),x(a,"clientstyling",e[7]),x(a,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,a,t)},p(e,t){8&t[0]&&r!==(r=e[3]||"RON")&&x(a,"currency",r),2&t[0]&&x(a,"endpoint",e[1]),16&t[0]&&x(a,"lang",e[4]),2048&t[1]&&x(a,"backgroundsrc",e[42]),4096&t[1]&&x(a,"backgroundsrcmobile",e[43]),8192&t[1]&&x(a,"titlelogopath",e[44]),128&t[1]&&x(a,"caticon0",e[38]),256&t[1]&&x(a,"caticon1",e[39]),512&t[1]&&x(a,"caticon2",e[40]),1024&t[1]&&x(a,"caticon3",e[41]),16384&t[1]&&x(a,"iconlabels",e[45]),32768&t[1]&&x(a,"visualstructure",e[46]),128&t[0]&&x(a,"clientstyling",e[7]),256&t[0]&&x(a,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(i),e&&me(a)}}}function Hs(e){let n,i;return{c(){x(n=he("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"collectionprovidersgamenames",e[50]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&x(n,"endpoint",i),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),524288&t[1]&&x(n,"collectionprovidersgamenames",e[50]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function js(e){let n,i;return{c(){x(n=he("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),x(n,"datasource",e[2]),x(n,"lang",e[4]),x(n,"type",e[48]),x(n,"collectionprovidersgamenames",e[50]),x(n,"titletype",e[49]),x(n,"clientstyling",e[7]),x(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&x(n,"endpoint",i),4&t[0]&&x(n,"datasource",e[2]),16&t[0]&&x(n,"lang",e[4]),131072&t[1]&&x(n,"type",e[48]),524288&t[1]&&x(n,"collectionprovidersgamenames",e[50]),262144&t[1]&&x(n,"titletype",e[49]),128&t[0]&&x(n,"clientstyling",e[7]),256&t[0]&&x(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Us(n){let i,a,r,o,s,l,c,d,u,e,m,h,g,p=n[24]&&n[131]==+n[24]&&As(n);function f(e,t){return 64&t[1]|2&t[2]&&(a=null),64&t[1]|2&t[2]&&(r=null),(a=null==a?!(!e[37]||e[131]!=(""==e[37].split(",")[0]?e[63].length:+e[37].split(",")[0])):a)?Os:(r=null==r?!(!e[37]||e[131]!=(""==e[37].split(",")[1]?e[63].length:+e[37].split(",")[1])):r)?Ns:void 0}let y=f(n,[-1,-1,-1,-1,-1]),b=y&&y(n);function v(e,t){return 65536&t[1]|2&t[2]&&(s=null),65536&t[1]|2&t[2]&&(l=null),(s=null==s?!(!e[47]||e[131]!=(""==e[47].split(",")[0]?e[63].length:+e[47].split(",")[0])):s)?js:(l=null==l?!(!e[47]||e[131]!=(""==e[47].split(",")[1]?e[63].length:+e[47].split(",")[1])):l)?Hs:void 0}let w=v(n,[-1,-1,-1,-1,-1]),$=w&&w(n);return{c(){p&&p.c(),i=pe(),b&&b.c(),o=pe(),$&&$.c(),c=pe(),x(d=he("casino-games-category-section"),"session",n[5]),x(d,"userid",n[6]),x(d,"endpoint",n[1]),x(d,"datasource",n[2]),x(d,"lang",n[4]),x(d,"currency",n[3]),x(d,"categoryid",u=n[129]),x(d,"categoryindex",e=n[131]),x(d,"categorygames","9"),x(d,"favorites",n[13]),x(d,"class","CategoryContainer"),I(d,"background-color",n[131]%2!=0?n[10]:"transparent"),x(d,"clientstyling",n[7]),x(d,"clientstylingurl",n[8]),x(d,"livecasino",n[20]),x(d,"visiblegames",n[11]),x(d,"gamepagemodalurl",n[23]),x(d,"integratedgameframedesktop",n[29]),x(d,"integratedgameframemobile",n[30]),x(d,"casinomygames",n[0])},m(e,t){p&&p.m(e,t),ue(e,i,t),b&&b.m(e,t),ue(e,o,t),$&&$.m(e,t),ue(e,c,t),ue(e,d,t),h||(g=S(m=n[66].call(null,d,n[129])),h=!0)},p(e,t){(n=e)[24]&&n[131]==+n[24]?p?p.p(n,t):((p=As(n)).c(),p.m(i.parentNode,i)):p&&(p.d(1),p=null),y===(y=f(n,t))&&b?b.p(n,t):(b&&b.d(1),(b=y&&y(n))&&(b.c(),b.m(o.parentNode,o))),w===(w=v(n,t))&&$?$.p(n,t):($&&$.d(1),($=w&&w(n))&&($.c(),$.m(c.parentNode,c))),32&t[0]&&x(d,"session",n[5]),64&t[0]&&x(d,"userid",n[6]),2&t[0]&&x(d,"endpoint",n[1]),4&t[0]&&x(d,"datasource",n[2]),16&t[0]&&x(d,"lang",n[4]),8&t[0]&&x(d,"currency",n[3]),2&t[2]&&u!==(u=n[129])&&x(d,"categoryid",u),8192&t[0]&&x(d,"favorites",n[13]),1024&t[0]&&I(d,"background-color",n[131]%2!=0?n[10]:"transparent"),128&t[0]&&x(d,"clientstyling",n[7]),256&t[0]&&x(d,"clientstylingurl",n[8]),1048576&t[0]&&x(d,"livecasino",n[20]),2048&t[0]&&x(d,"visiblegames",n[11]),8388608&t[0]&&x(d,"gamepagemodalurl",n[23]),536870912&t[0]&&x(d,"integratedgameframedesktop",n[29]),1073741824&t[0]&&x(d,"integratedgameframemobile",n[30]),1&t[0]&&x(d,"casinomygames",n[0]),m&&k(m.update)&&2&t[2]&&m.update.call(null,n[129])},d(e){p&&p.d(e),e&&me(i),b&&b.d(e),e&&me(o),$&&$.d(e),e&&me(c),e&&me(d),h=!1,g()}}}function zs(n){let i,a,r,e,t,o,s,l=n[64]("casinoPage.breakButton")+"";return{c(){i=he("div"),a=he("button"),r=ge(l),fe(a,"class",e="PanicButton "+("PC"!==Ve(n[65])?"PanicButtonMobile ":"")),fe(a,"part",t="PanicButton "+("PC"!==Ve(n[65])?"PanicButtonMobile":"")),R(a,"PanicButtonAnimation",n[59]),fe(i,"class",o="PanicSection "+("PC"!==Ve(n[65])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==Ve(n[65])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[71](a)},p(e,t){4&t[2]&&l!==(l=e[64]("casinoPage.breakButton")+"")&&ye(r,l),268435456&t[1]&&R(a,"PanicButtonAnimation",e[59])},d(e){e&&me(i),n[71](null)}}}function Ws(n){let i;function a(e){return e[57]?Cs:xs}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[72](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[72](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearchPc{margin:30px 16px}.CasinoSearch{margin:30px 16px}.SearchPc{display:flex;align-items:center;position:relative;margin-bottom:20px;left:19%}.Search{display:flex;align-items:center;position:relative;justify-content:space-between;margin-bottom:20px}.SearchIconPc{position:absolute;left:20px;z-index:1}.SearchIconPc svg{height:14px;width:13px}.SearchIcon{position:absolute;left:5%;z-index:1}.SearchIcon svg{height:14px;width:13px}.SearchContainerPc{width:60%;position:relative}.SearchContainer{width:100%;position:relative}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:15px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessagePc{font-size:18px;font-weight:600;margin:24px 0;color:#FFFFFF;margin-top:90px}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},vs,bs,t,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),f()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),f()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),f()}});let Ys=!1;function Vs(e,t,l){let B;Ze(e,Ki,e=>l(64,B=e));let D,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:A=""}=t,{lang:a=""}=t,{session:r=""}=t,{userid:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{categorybackground:N=""}=t,O=t["visiblegames"],{alternativesearch:H="false"}=t,{favorites:m=""}=t,{mostplayed:j=""}=t,{lastplayed:U=""}=t,{containermaxwidth:z="1300"}=t,{lobbyid:W="casinodefault"}=t,{haspanicbutton:Y="false"}=t,{mostplayedrounds:V=""}=t,{lastplayedperiod:Z=""}=t,{filteredcategories:h=""}=t,{activecategory:g=""}=t,{livecasino:J="false"}=t,{playrandomgame:K="false"}=t,{filteredrandomgamecategories:X=""}=t,{gamepagemodalurl:q="false"}=t,{positionwinnerswidget:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:re="false"}=t,{periodrecent:oe=""}=t,{periodtop:se=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:de=""}=t,{defaultcurrency:ue=""}=t,{positionjackpotbanners:me=""}=t,{caticon0:he=""}=t,{caticon1:ge=""}=t,{caticon2:pe=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:$e=""}=t,{positioncollections:xe=""}=t,{type:Ce=""}=t,{titletype:ke=""}=t,{casinomygames:p="false"}=t,{collectionprovidersgamenames:Se=""}=t,{randombuttonicon:Fe=""}=t,Me=window.navigator.userAgent;D=Ye(Me)?"OpenGameFrame":"ShowGameModal";let f,y,b,Te,v,w,Ee,Le,i,$,x=!1,C=!1,Ge=!1,k="",S=!1,F=0,M=!1,T=!0,_e=!1,Pe=[],E=[],Ie=!1,L=[],G="",Re=!1;var Be,De;({withLocale:Be,translations:De}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(De),We.set(Be))}),Object.keys($a).forEach(e=>{wa(e,$a[e])});const Ae=e=>{switch(Ie=!0,l(0,p="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ie},window.location.href)}),e.data.itemId){case"LOBBY":l(61,T=!0),l(60,M=!1),l(53,v="");break;case"MYGAMES":l(0,p="true"),l(61,T=!1),l(60,M=!0),l(53,v="");break;case"FAVORITES":l(61,T=!1),l(60,M=!0),l(53,v="");break;case"MOSTPLAYED":"true"==j&&(l(53,v=""),l(61,T=!1),l(60,M=!0));break;case"LASTPLAYED":"true"==U&&(l(53,v=""),l(61,T=!1),l(60,M=!0));break;default:l(61,T=!1),l(60,M=!1),l(53,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},Ne=n=>{if(n.data)switch(n.data.type){case"CategoryChange":Ae(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&_(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,o=y,f,s=n.data.id,n.data.triggerFactor,L.includes(s)&&(L=L.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),Oe(t,o)});break;case"SetFavoredGame":{var i=`${c}/player/${f}/favorites`;var a=y;f;var r=n.data.id;n.data.triggerFactor;L.includes(r)||L.push(r);let e={items:L},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),Oe(i,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&_(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href),P();break;case"CategoryVendors":G=n.data.categoryid,P();break;case"searchCancelled":l(62,_e=!1);break;case"searchActive":l(62,_e=!0);break;case"ModalClosed":break;case"SubgroupsIds":E.some(e=>n.data.subGroupsIds.includes(e))||E.push(...n.data.subGroupsIds)}var e,t,o,s};let _=(e,t,n)=>{"true"==m&&r&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),He(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})},Oe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),i)).catch(e=>{console.error(e)})};const He=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const P=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&G&&e[G]&&e[G].length},je=()=>{w&&(Ee=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{F=0,Te=setInterval(()=>{F+=1,l(59,S=!0),3<=F&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Te))},1e3)},R=e=>{F<3&&l(59,S=!1),clearInterval(Te)};return Ue(()=>(window.addEventListener("scroll",je,!1),window.addEventListener("message",Ne,!1),()=>{window.removeEventListener("scroll",je),window.removeEventListener("message",Ne),l(59,S=!1),null!=b&&b.removeEventListener("mousedown",I),null!=b&&b.removeEventListener("touchstart",I),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,A=e.currency),"lang"in e&&l(4,a=e.lang),"session"in e&&l(5,r=e.session),"userid"in e&&l(6,o=e.userid),"clientstyling"in e&&l(7,s=e.clientstyling),"clientstylingurl"in e&&l(8,d=e.clientstylingurl),"translationurl"in e&&l(9,u=e.translationurl),"categorybackground"in e&&l(10,N=e.categorybackground),"visiblegames"in e&&l(11,O=e.visiblegames),"alternativesearch"in e&&l(12,H=e.alternativesearch),"favorites"in e&&l(13,m=e.favorites),"mostplayed"in e&&l(14,j=e.mostplayed),"lastplayed"in e&&l(15,U=e.lastplayed),"containermaxwidth"in e&&l(16,z=e.containermaxwidth),"lobbyid"in e&&l(67,W=e.lobbyid),"haspanicbutton"in e&&l(17,Y=e.haspanicbutton),"mostplayedrounds"in e&&l(68,V=e.mostplayedrounds),"lastplayedperiod"in e&&l(69,Z=e.lastplayedperiod),"filteredcategories"in e&&l(18,h=e.filteredcategories),"activecategory"in e&&l(19,g=e.activecategory),"livecasino"in e&&l(20,J=e.livecasino),"playrandomgame"in e&&l(21,K=e.playrandomgame),"filteredrandomgamecategories"in e&&l(22,X=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(23,q=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(24,Q=e.positionwinnerswidget),"tabsorder"in e&&l(25,ee=e.tabsorder),"enableautoscroll"in e&&l(26,te=e.enableautoscroll),"istopavailable"in e&&l(27,ne=e.istopavailable),"isrecentavailable"in e&&l(28,ie=e.isrecentavailable),"integratedgameframedesktop"in e&&l(29,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(30,re=e.integratedgameframemobile),"periodrecent"in e&&l(31,oe=e.periodrecent),"periodtop"in e&&l(32,se=e.periodtop),"numberusersrecent"in e&&l(33,le=e.numberusersrecent),"numberuserstop"in e&&l(34,ce=e.numberuserstop),"amountlimit"in e&&l(35,de=e.amountlimit),"defaultcurrency"in e&&l(36,ue=e.defaultcurrency),"positionjackpotbanners"in e&&l(37,me=e.positionjackpotbanners),"caticon0"in e&&l(38,he=e.caticon0),"caticon1"in e&&l(39,ge=e.caticon1),"caticon2"in e&&l(40,pe=e.caticon2),"caticon3"in e&&l(41,fe=e.caticon3),"backgroundsrc"in e&&l(42,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&l(43,be=e.backgroundsrcmobile),"titlelogopath"in e&&l(44,ve=e.titlelogopath),"iconlabels"in e&&l(45,we=e.iconlabels),"visualstructure"in e&&l(46,$e=e.visualstructure),"positioncollections"in e&&l(47,xe=e.positioncollections),"type"in e&&l(48,Ce=e.type),"titletype"in e&&l(49,ke=e.titletype),"casinomygames"in e&&l(0,p=e.casinomygames),"collectionprovidersgamenames"in e&&l(50,Se=e.collectionprovidersgamenames),"randombuttonicon"in e&&l(51,Fe=e.randombuttonicon)},e.$$.update=()=>{var i,t;if((524304&e.$$.dirty[0]&&a&&g&&(l(53,v=g),Ae({data:{itemId:v}})),98&e.$$.dirty[0]&&r&&o&&c&&(l(58,Ge=!0),y=r,(f=o)&&f.length&&y&&0<y.length&&"true"!=p&&_(c,y,f)),4194304&e.$$.dirty[1]|256&e.$$.dirty[2]&&v&&E&&E&&!E.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),4118&e.$$.dirty[0]&&c&&n&&a&&H)&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(57,C=!0),l(56,x=!1),console.error(k)),n||(k="Datasource is missing! Please provide a valid datasource.",l(57,C=!0),l(56,x=!1),console.error(k)),(!a||a.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(57,C=!0),l(56,x=!1),console.error(k)),!C)){l(56,x=!0),"true"==m&&_(c,y,f),t=a,We.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",a),e.searchParams.append("platform",Ve(Me)),i=e,new Promise((t,n)=>{l(56,x=!0),fetch(i).then(e=>e.json()).then(e=>{l(56,x=!1),t(e)}).catch(e=>{l(57,C=!0),l(56,x=!1),console.error(e),n(e)})}).then(e=>{let i=h.split(",");e&&(Le=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of i)e.flags==n&&(t=!1);return t}),l(63,Pe=Le.map(e=>e.id)),l(70,E=e.items.map(e=>e.id.toString())),l(56,x=!1))}),P(),(w=void 0)&&(Ee=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&a&&(Re&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Re=!1),512&e.$$.dirty[0]&&u&&fetch(u).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{wa(e,t[e])})}).catch(e=>{console.log(e)}),128&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&s&&$){let e=document.createElement("style");e.innerHTML=s,$.appendChild(e)}if(256&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&d&&$){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}2097152&e.$$.dirty[1]&&b&&(null!=b&&b.addEventListener("mousedown",I,!1),null!=b&&b.addEventListener("touchstart",I,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b&&b.addEventListener("touchend",R,!1))},[p,c,n,A,a,r,o,s,d,u,N,O,H,m,j,U,z,Y,h,g,J,K,X,q,Q,ee,te,ne,ie,ae,re,oe,se,le,ce,de,ue,me,he,ge,pe,fe,ye,be,ve,we,$e,xe,Ce,ke,Se,Fe,b,v,$,D,x,C,Ge,S,M,T,_e,Pe,B,Me,(e,t)=>{G=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:O,receivedFavoriteResults:i},window.location.href)},W,V,Z,E,function(e){ze[e?"unshift":"push"](()=>{b=e,l(52,b)})},function(e){ze[e?"unshift":"push"](()=>{$=e,l(54,$)})}]}function Zs(e,{delay:t=0,duration:n=400,easing:i=w}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*a}}function Js(n){let i,a,r,o,s,l,c,d,t,u,m,h;return{c(){i=he("div"),a=he("div"),(r=he("div")).innerHTML="<slot></slot>",o=pe(),s=he("span"),(l=he("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(r,"class","ModalContainer"),fe(r,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"part","ModalCloseBtn"),fe(s,"role","button"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow"),fe(a,"id","Modal"),K(()=>n[17].call(a)),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,o),de(a,s),de(s,l),n[16](a),d=g(a,n[17].bind(a)),n[18](i),u=!0,m||(h=V(s,"click",n[8]),m=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(s,"class",c)},i(e){u||(K(()=>{(t=t||le(a,Zs,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||le(a,Zs,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(i),n[16](null),d(),e&&t&&t.end(),n[18](null),m=!1,h()}}}function Ks(e){let n,i,a=e[7]&&Js(e);return{c(){a&&a.c(),n=c(),this.c=W},m(e,t){a&&a.m(e,t),ue(e,n,t),i=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&re(a,1)):((a=Js(e)).c(),re(a,1),a.m(n.parentNode,n)):a&&(ie(),oe(a,1,1,()=>{a=null}),ae())},i(e){i||(re(a),i=!0)},o(e){oe(a),i=!1},d(e){a&&a.d(e),e&&me(n)}}}function Xs(e,t,n){let i,a,r,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:m=""}=t,{haspanicbutton:h="false"}=t,{gamepagemodalurl:g="false"}=t,{sessioncheck:p="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:i?getComputedStyle(i).width:null,modalHeight:i?getComputedStyle(i).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained),"OpenCalendarModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"DisableScroll"},window.location.href))},$=e=>{var t;b&&(t={modalWidth:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Ue(()=>(n(3,y=Ye(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",$,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,m=e.endpoint),"haspanicbutton"in e&&n(1,h=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,g=e.gamepagemodalurl),"sessioncheck"in e&&n(15,p=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&m&&"true"==p&&Xi(m,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&e.$$.dirty&&d&&a){let e=document.createElement("style");e.innerHTML=d,a.appendChild(e)}if(4100&e.$$.dirty&&u&&a){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[s,h,a,y,i,void 0,void 0,v,()=>{n(7,v=!1),n(3,y=Ye(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:y},window.location.href)},l,c,d,u,m,g,p,function(e){ze[e?"unshift":"push"](()=>{i=e,n(4,i)})},function(){r=this.clientWidth,o=this.clientHeight,n(5,r),n(6,o)},function(e){ze[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function qs(e,t){Li(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}@media screen and (max-width: 1300px){}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Vs,Ws,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,categorybackground:10,visiblegames:11,alternativesearch:12,favorites:13,mostplayed:14,lastplayed:15,containermaxwidth:16,lobbyid:67,haspanicbutton:17,mostplayedrounds:68,lastplayedperiod:69,filteredcategories:18,activecategory:19,livecasino:20,playrandomgame:21,filteredrandomgamecategories:22,gamepagemodalurl:23,positionwinnerswidget:24,tabsorder:25,enableautoscroll:26,istopavailable:27,isrecentavailable:28,integratedgameframedesktop:29,integratedgameframemobile:30,periodrecent:31,periodtop:32,numberusersrecent:33,numberuserstop:34,amountlimit:35,defaultcurrency:36,positionjackpotbanners:37,caticon0:38,caticon1:39,caticon2:40,caticon3:41,backgroundsrc:42,backgroundsrcmobile:43,titlelogopath:44,iconlabels:45,visualstructure:46,positioncollections:47,type:48,titletype:49,casinomygames:0,collectionprovidersgamenames:50,randombuttonicon:51},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","casinomygames","collectionprovidersgamenames","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),f()}get categorybackground(){return this.$$.ctx[10]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[11]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[12]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[16]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[67]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[68]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[69]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[18]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[22]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[23]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[24]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[25]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[26]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[27]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[28]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[29]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[30]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[31]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[32]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[33]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[34]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[35]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[36]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[37]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[38]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[39]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[40]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[41]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[42]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[43]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[44]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[45]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[46]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[47]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[48]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[49]}set titletype(e){this.$$set({titletype:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[50]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get randombuttonicon(){return this.$$.ctx[51]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xs,Ks,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Qs={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function el(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var tl=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},nl=function(e,...t){try{return el(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function il(n){let i,a,r=n[11]&&ol(n);return{c(){i=he("div"),a=he("div"),r&&r.c(),fe(a,"class","CasinoGamePageContainer"),fe(a,"part","CasinoGamePageContainer"),I(a,"background","rgba(0, 0, 0, 0.5)"),fe(i,"class","GamePageBackground"),I(i,"background",n[20]?"":`url(${n[10].backgroundImageUrl})`),I(i,"background-size","cover")},m(e,t){ue(e,i,t),de(i,a),r&&r.m(a,null),n[82](i)},p(e,t){e[11]?r?r.p(e,t):((r=ol(e)).c(),r.m(a,null)):r&&(r.d(1),r=null),1049600&t[0]&&I(i,"background",e[20]?"":`url(${e[10].backgroundImageUrl})`)},d(e){e&&me(i),r&&r.d(),n[82](null)}}}function al(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function rl(e){let n,i,a=e[24]("gamePage.loading")+"";return{c(){n=he("p"),i=ge(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16777216&t[0]&&a!==(a=e[24]("gamePage.loading")+"")&&ye(i,a)},d(e){e&&me(n)}}}function ol(e){let n;function i(e){return e[20]?dl:e[6]?cl:e[12]?ll:sl}let a=i(e),r=a(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){a===(a=i(e))&&r?r.p(e,t):(r.d(1),(r=a(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function sl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){i=he("div"),a=he("h3"),r=ge($),o=pe(),s=he("img"),c=pe(),d=he("div"),u=he("button"),m=ge(x),h=pe(),g=he("button"),p=ge(C),f=pe(),y=he("p"),b=ge(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(g,"class","RegisterButton"),fe(g,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,m),de(d,h),de(d,g),de(g,p),de(i,f),de(i,y),de(y,b),v||(w=[V(u,"click",n[80]),V(g,"click",n[81])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(r,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(m,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(p,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(i),v=!1,Y(w)}}}function ll(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";function k(e){return e[17]?ml:ul}let S=k(n),F=S(n);return{c(){i=he("div"),a=he("div"),r=he("iframe"),s=pe(),l=he("div"),c=he("div"),d=he("button"),u=ge(x),m=pe(),h=he("button"),g=ge(C),p=pe(),f=he("p"),y=he("span"),b=ge(n[4]),v=pe(),F.c(),fe(r,"title","Games"),fe(r,"id","IframeGame"),fe(r,"class","GamesContainer"),fe(r,"part","GamesContainer"),fe(r,"aria-hidden","false"),ce(r.src,o=n[10].launchUrl)||fe(r,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(a,"id","IframeGame"),fe(a,"part","IframeGame"),fe(a,"style",n[23]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),I(i,"width",n[18]),I(i,"height",n[19]),R(i,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[71](r),de(a,s),de(a,l),de(l,c),de(c,d),de(d,u),de(c,m),de(c,h),de(h,g),de(l,p),de(l,f),de(f,y),de(y,b),n[74](f),de(l,v),F.m(l,null),n[77](l),n[78](a),n[79](i),w||($=[V(d,"click",n[72]),V(h,"click",n[73])],w=!0)},p(e,t){1024&t[0]&&!ce(r.src,o=e[10].launchUrl)&&fe(r,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(u,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4]),S===(S=k(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(l,null))),8388608&t[0]&&fe(a,"style",e[23]),262144&t[0]&&I(i,"width",e[18]),524288&t[0]&&I(i,"height",e[19]),131072&t[0]&&R(i,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[71](null),n[74](null),F.d(),n[77](null),n[78](null),n[79](null),w=!1,Y($)}}}function cl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$=n[24]("gamePage.deposit")+"",x="true"===n[1]&&hl(n);function C(e){return e[17]?pl:gl}let k=C(n),S=k(n);return{c(){i=he("div"),a=he("div"),r=he("iframe"),s=pe(),l=he("div"),c=he("button"),d=ge($),u=pe(),m=he("p"),h=he("span"),g=ge(n[4]),p=pe(),x&&x.c(),f=pe(),S.c(),fe(r,"title","Games"),fe(r,"id","IframeGame"),fe(r,"class","GamesContainer"),fe(r,"part","GamesContainer"),fe(r,"aria-hidden","false"),ce(r.src,o=n[10].launchUrl)||fe(r,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(m,"class","Time"),fe(m,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(a,"id","IframeGame"),fe(a,"part","IframeGame"),fe(a,"style",n[23]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),I(i,"width",n[18]),I(i,"height",n[19]),R(i,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[62](r),de(a,s),de(a,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h),de(h,g),n[64](m),de(l,p),x&&x.m(l,null),de(l,f),S.m(l,null),n[68](l),n[69](a),n[70](i),v||(w=V(c,"click",n[63]),v=!0)},p(e,t){1024&t[0]&&!ce(r.src,o=e[10].launchUrl)&&fe(r,"src",o),16777216&t[0]&&$!==($=e[24]("gamePage.deposit")+"")&&ye(d,$),16&t[0]&&ye(g,e[4]),"true"===e[1]?x?x.p(e,t):((x=hl(e)).c(),x.m(l,f)):x&&(x.d(1),x=null),k===(k=C(e))&&S?S.p(e,t):(S.d(1),(S=k(e))&&(S.c(),S.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),8388608&t[0]&&fe(a,"style",e[23]),262144&t[0]&&I(i,"width",e[18]),524288&t[0]&&I(i,"height",e[19]),131072&t[0]&&R(i,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[62](null),n[64](null),x&&x.d(),S.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function dl(e){let n;function i(e){return e[6]?bl:e[13]?yl:fl}let a=i(e),r=a(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){a===(a=i(e))&&r?r.p(e,t):(r.d(1),(r=a(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function ul(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[76]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function ml(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[75]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function hl(n){let i,a,r,o=n[24]("gamePage.breakButton")+"";return{c(){i=he("div"),a=he("button"),r=ge(o),fe(a,"class","Button"),fe(a,"part","Button"),R(a,"PanicButtonAnimation",n[9]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[65](a)},p(e,t){16777216&t[0]&&o!==(o=e[24]("gamePage.breakButton")+"")&&ye(r,o),512&t[0]&&R(a,"PanicButtonAnimation",e[9])},d(e){e&&me(i),n[65](null)}}}function gl(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[67]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function pl(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[66]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function fl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){i=he("div"),a=he("h3"),r=ge($),o=pe(),s=he("img"),c=pe(),d=he("div"),u=he("button"),m=ge(x),h=pe(),g=he("button"),p=ge(C),f=pe(),y=he("p"),b=ge(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(g,"class","RegisterButton"),fe(g,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,m),de(d,h),de(d,g),de(g,p),de(i,f),de(i,y),de(y,b),v||(w=[V(u,"click",n[60]),V(g,"click",n[61])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(r,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(m,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(p,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(i),v=!1,Y(w)}}}function yl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k=n[10].name+"",S=n[24]("gamePage.signIn")+"",F=n[24]("gamePage.register")+"",M=n[24]("gamePage.playForFun")+"";return{c(){i=he("div"),a=he("h3"),r=ge(k),o=pe(),s=he("img"),c=pe(),d=he("div"),u=he("button"),m=ge(S),h=pe(),g=he("button"),p=ge(F),f=pe(),y=he("button"),b=ge(M),v=pe(),w=he("p"),$=ge(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(g,"class","RegisterButton"),fe(g,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,m),de(d,h),de(d,g),de(g,p),de(d,f),de(d,y),de(y,b),de(i,v),de(i,w),de(w,$),x||(C=[V(u,"click",n[57]),V(g,"click",n[58]),V(y,"click",n[59])],x=!0)},p(e,t){1024&t[0]&&k!==(k=e[10].name+"")&&ye(r,k),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&S!==(S=e[24]("gamePage.signIn")+"")&&ye(m,S),16777216&t[0]&&F!==(F=e[24]("gamePage.register")+"")&&ye(p,F),16777216&t[0]&&M!==(M=e[24]("gamePage.playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&me(i),x=!1,Y(C)}}}function bl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C=n[10].name+"",k=n[24]("gamePage.deposit")+"",S=n[24]("gamePage.playNow")+"",F="true"==n[0]&&vl(n),M="true"===n[1]&&xl(n);return{c(){F&&F.c(),i=pe(),a=he("div"),r=he("h3"),o=ge(C),s=pe(),l=he("img"),d=pe(),u=he("div"),m=he("button"),h=ge(k),g=pe(),p=he("button"),f=ge(S),y=pe(),M&&M.c(),b=pe(),v=he("p"),w=ge(n[4]),ce(l.src,c=n[10].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(m,"class","DepositButton"),fe(m,"part","DepositButton"),fe(p,"class","PlayNowButton"),fe(p,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(a,"class","GameDetails"),fe(a,"part","GameDetails")},m(e,t){F&&F.m(e,t),ue(e,i,t),ue(e,a,t),de(a,r),de(r,o),de(a,s),de(a,l),de(a,d),de(a,u),de(u,m),de(m,h),de(u,g),de(u,p),de(p,f),de(a,y),M&&M.m(a,null),de(a,b),de(a,v),de(v,w),$||(x=[V(m,"click",n[54]),V(p,"click",n[55])],$=!0)},p(e,t){"true"==e[0]?F?F.p(e,t):((F=vl(e)).c(),F.m(i.parentNode,i)):F&&(F.d(1),F=null),1024&t[0]&&C!==(C=e[10].name+"")&&ye(o,C),1024&t[0]&&!ce(l.src,c=e[10].thumbnail)&&fe(l,"src",c),16777216&t[0]&&k!==(k=e[24]("gamePage.deposit")+"")&&ye(h,k),16777216&t[0]&&S!==(S=e[24]("gamePage.playNow")+"")&&ye(f,S),"true"===e[1]?M?M.p(e,t):((M=xl(e)).c(),M.m(a,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){F&&F.d(e),e&&me(i),e&&me(a),M&&M.d(),$=!1,Y(x)}}}function vl(e){let n;function i(e){return e[10].isFavored?$l:wl}let a=i(e),r=a(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){a===(a=i(e))&&r?r.p(e,t):(r.d(1),(r=a(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function wl(n){let i,a,r,o,s,l,c;return{c(){i=he("div"),a=E("svg"),I(r=E("path"),"fill","white"),fe(r,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(a,"version","1.1"),fe(a,"class","UnfavoredIcon"),fe(a,"part","UnfavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"x","20px"),fe(a,"y","20px"),fe(a,"viewBox","0 0 512.001 512.001"),I(a,"enable-background","new 0 0 512.001 512.001"),fe(a,"xml:space","preserve"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),l||(c=V(i,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&me(i),l=!1,c()}}}function $l(n){let i,a,r,o,s,l,c;return{c(){i=he("div"),a=E("svg"),I(r=E("path"),"fill","white"),fe(r,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(a,"version","1.1"),fe(a,"class","FavoredIcon"),fe(a,"part","FavoredIcon"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"viewBox","0 0 19.481 19.481"),fe(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(a,"enable-background","new 0 0 19.481 19.481"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),l||(c=V(i,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&me(i),l=!1,c()}}}function xl(n){let i,a,r,e,t,o,s,l=n[24]("gamePage.breakButton")+"";return{c(){i=he("div"),a=he("button"),r=ge(l),fe(a,"class",e="PanicButton "+("PC"!==Ve(n[25])?"PanicButtonMobile":"")),fe(a,"part",t="PanicButton "+("PC"!==Ve(n[25])?"PanicButtonMobile":"")),R(a,"PanicButtonAnimation",n[9]),fe(i,"class",o="PanicSection "+("PC"!==Ve(n[25])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==Ve(n[25])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[56](a)},p(e,t){16777216&t[0]&&l!==(l=e[24]("gamePage.breakButton")+"")&&ye(r,l),512&t[0]&&R(a,"PanicButtonAnimation",e[9])},d(e){e&&me(i),n[56](null)}}}function Cl(n){let i;function a(e){return e[8]?rl:e[7]?al:il}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[83](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[83](null)}}}function kl(t,e,a){let B;Ze(t,Ki,e=>a(24,B=e));let D,n,i,r,A,o,s,l,c,N,O,d,u,H,j,m,h,g,p,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{favorites:z=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:k=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:W=""}=e,{clockformat:Y=""}=e,{haspanicbutton:V="false"}=e,{playforfun:M="true"}=e,{checksession:Z="true"}=e,{integratedgameframedesktop:J="false"}=e,{integratedgameframemobile:K="false"}=e,{gameid:X=""}=e,T=!1,q=!1,E=!0,Q=!1,ee=0,L=!1,te=!1,ne=!1,ie=!0,G=!1,_=window.navigator.userAgent,ae=!1,re=[],oe=!1,se="false",le;var ce,de;({withLocale:ce,translations:de}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(de),We.set(ce))}),Object.keys(Qs).forEach(e=>{qs(e,Qs[e])});const ue=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(a(6,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,e},me=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),ie=t||!1,fetch(n.href).then(e=>e.json()).then(e=>{a(10,o=ue(e[0])),a(8,E=!1),o.launchUrl&&(a(11,L=!0),a(12,te="true"==M&&o.hasFunMode),a(13,ne="true"==M&&o.hasAnonymousFunMode),a(10,o.isFavored=fe(o.id),o))},e=>{console.error("There was an error",e),a(7,q=!0)}).then(()=>{s&&(ie||(a(18,N=o.width),a(19,O=o.height),H=o.width+"px",j=o.height+"px",d=o.width,u=o.height),ve())}).finally(()=>{a(8,E=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=r&&r.addEventListener("mousedown",Fe,!1),null!=r&&r.addEventListener("touchstart",Fe,!1),null!=r&&r.addEventListener("mouseup",Me,!1),null!=r&&r.addEventListener("touchend",Me,!1)},ge=()=>{a(9,Q=!1),null!=r&&r.removeEventListener("mousedown",Fe),null!=r&&r.removeEventListener("touchstart",Fe),null!=r&&r.removeEventListener("mouseup",Me),null!=r&&r.removeEventListener("touchend",Me)},pe=e=>{switch(e.data.type){case"GameLaunchID":me(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":a(51,se="true");break;case"LaunchGameFrame":be(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(51,se="false"),ge(),Ye(_)?setTimeout(()=>{a(11,L="true"===K)},500):setTimeout(()=>{a(11,L="true"===J)},500);break;case"UserSessionID":if(0<e.data.session.length){i=e.data.session,e.data.userID,a(6,T=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",i),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),a(10,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":a(18,N=e.data.modalContainerSize.modalWidth),a(19,O=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(re=e.data.receivedFavoriteResults.items)}},fe=t=>-1!==re.findIndex(e=>e.id==t),ye=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(10,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(10,o.isFavored=!0,o))},be=(e,n)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t;a(10,o=ue(e[0])),a(8,E=!1),o.launchUrl&&a(10,o.isFavored=(e=o,t=n,a(13,ne="true"==M&&e.hasAnonymousFunMode),a(12,te="true"==M&&t),a(11,L=!0),fe(e.id)),o)}).finally(()=>{a(8,E=!1)})},ve=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,H=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Te()},we=e=>{if(!oe)return Ye(_)?$e(K):$e(J);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};nl("OPEN_GAME",e)},$e=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},xe=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:L},window.location.href),L&&(s&&ve(),window.addEventListener("ModalSize",pe,!1))},P=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},I=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Ce=()=>{W&&(window.postMessage({type:W},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"GamePage"})),k&&(window.location=k)};function ke(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||R()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ke,!1),document.addEventListener("mozfullscreenchange",ke,!1),document.addEventListener("fullscreenchange",ke,!1),document.addEventListener("MSFullscreenChange",ke,!1));const R=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(17,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),a(17,G=!0)))},Se=(setInterval(()=>{a(4,D=Y?Fa().format(Y):Fa().format("LTS"))},100),()=>{"true"==Z?Xi(f,b).then(e=>{i=e.Guid,e.UserID,a(6,T=!0)},e=>{a(6,T=!1),console.error("err on session",e)}):(i=b,a(6,T=!0))}),Fe=e=>{ee=0,A=setInterval(()=>{ee+=1,a(9,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(A))},1e3)},Me=e=>{ee<3&&a(9,Q=!1),clearInterval(A)},Te=()=>{var e=G?"100%":H,t=G?"100%":j,n=G||!ie?"none":o.width?Math.floor(o.width)+"px":"1280px",i=G||!ie?"none":o.height?Math.floor(o.height)+100+"px":"720px";a(23,le=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+i),G||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,i=parseInt(getComputedStyle(s).height);p=p||i*Math.max(n,.5),a(14,s.style.height=p+"px",s),a(15,l.style.height=p+"px",l),e&&a(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return Ue(()=>(window.addEventListener("resize",xe,!1),window.addEventListener("message",pe,!1),oe=!!tl(_),()=>{ge(),window.removeEventListener("resize",xe),window.removeEventListener("message",pe)})),t.$$set=e=>{"endpoint"in e&&a(32,f=e.endpoint),"lang"in e&&a(33,y=e.lang),"session"in e&&a(34,b=e.session),"userid"in e&&a(35,U=e.userid),"clientstyling"in e&&a(36,v=e.clientstyling),"clientstylingurl"in e&&a(37,w=e.clientstylingurl),"translationurl"in e&&a(38,$=e.translationurl),"favorites"in e&&a(0,z=e.favorites),"loginurl"in e&&a(39,x=e.loginurl),"registerurl"in e&&a(40,C=e.registerurl),"depositurl"in e&&a(41,k=e.depositurl),"loginevent"in e&&a(42,S=e.loginevent),"registerevent"in e&&a(43,F=e.registerevent),"depositevent"in e&&a(44,W=e.depositevent),"clockformat"in e&&a(45,Y=e.clockformat),"haspanicbutton"in e&&a(1,V=e.haspanicbutton),"playforfun"in e&&a(46,M=e.playforfun),"checksession"in e&&a(47,Z=e.checksession),"integratedgameframedesktop"in e&&a(48,J=e.integratedgameframedesktop),"integratedgameframemobile"in e&&a(49,K=e.integratedgameframemobile),"gameid"in e&&a(50,X=e.gameid)},t.$$.update=()=>{if(4&t.$$.dirty[1]&&y&&(e=y,We.set(e),a(20,ae=Ye(_))),524294&t.$$.dirty[1]&&f&&X&&y&&me(X,!0),26&t.$$.dirty[1]&&b&&U&&f&&Se(),65546&t.$$.dirty[1]&&"false"==Z&&b&&f&&Se(),128&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qs(e,t[e])})}).catch(e=>{console.log(e)}),8&t.$$.dirty[0]|32&t.$$.dirty[1]&&v&&m){let e=document.createElement("style");e.innerHTML=v,m.appendChild(e)}if(8&t.$$.dirty[0]|64&t.$$.dirty[1]&&w&&m){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==se&&r&&he(),4&t.$$.dirty[0]&&r&&he()},[z,V,r,m,D,n,T,q,E,Q,o,L,te,ne,s,l,c,G,N,O,ae,h,g,"",B,_,ye,we,P,I,Ce,R,f,y,b,U,v,w,$,x,C,k,S,F,W,Y,M,Z,J,K,X,se,()=>ye(o.id),()=>ye(o.id),()=>Ce(),()=>{we(o)},function(e){ze[e?"unshift":"push"](()=>{r=e,a(2,r)})},()=>P(),()=>I(),()=>{we(o)},()=>P(),()=>I(),function(e){ze[e?"unshift":"push"](()=>{n=e,a(5,n)})},()=>Ce(),function(e){ze[e?"unshift":"push"](()=>{g=e,a(22,g)})},function(e){ze[e?"unshift":"push"](()=>{r=e,a(2,r)})},()=>R(),()=>R(),function(e){ze[e?"unshift":"push"](()=>{h=e,a(21,h)})},function(e){ze[e?"unshift":"push"](()=>{l=e,a(15,l)})},function(e){ze[e?"unshift":"push"](()=>{s=e,a(14,s)})},function(e){ze[e?"unshift":"push"](()=>{n=e,a(5,n)})},()=>P(),()=>I(),function(e){ze[e?"unshift":"push"](()=>{g=e,a(22,g)})},()=>R(),()=>R(),function(e){ze[e?"unshift":"push"](()=>{h=e,a(21,h)})},function(e){ze[e?"unshift":"push"](()=>{l=e,a(15,l)})},function(e){ze[e?"unshift":"push"](()=>{s=e,a(14,s)})},()=>P(),()=>I(),function(e){ze[e?"unshift":"push"](()=>{c=e,a(16,c)})},function(e){ze[e?"unshift":"push"](()=>{m=e,a(3,m)})}]}function Sl(n){let i,a,r,o,s,l,c,d,t,u,m,h;return{c(){i=he("div"),a=he("div"),(r=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=pe(),s=he("slot"),fe(r,"class","FilterModalCloseBtn"),fe(r,"part","FilterModalCloseBtn"),fe(r,"role","button"),fe(a,"class",l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(a,"part",c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(i,"class","FilterModalWindow"),fe(i,"id","FilterModal"),fe(i,"part","FilterModalWindow"),K(()=>n[13].call(i))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(a,o),de(a,s),d=g(i,n[13].bind(i)),u=!0,m||(h=V(r,"click",n[6]),m=!0)},p(e,t){n=e,(!u||8&t&&l!==(l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(a,"class",l),(!u||8&t&&c!==(c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(a,"part",c)},i(e){u||(K(()=>{(t=t||le(i,Zs,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||le(i,Zs,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&me(i),d(),e&&t&&t.end(),m=!1,h()}}}function Fl(n){let i,a,r=n[0]&&Sl(n);return{c(){i=he("div"),r&&r.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),r&&r.m(i,null),n[14](i),a=!0},p(e,[t]){e[0]?r?(r.p(e,t),1&t&&re(r,1)):((r=Sl(e)).c(),re(r,1),r.m(i,null)):r&&(ie(),oe(r,1,1,()=>{r=null}),ae())},i(e){a||(re(r),a=!0)},o(e){oe(r),a=!1},d(e){e&&me(i),r&&r.d(),n[14](null)}}}function Ml(e,t,n){let i,a,r,{show:o=!1}=t,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:m=""}=t,{sessioncheck:h="true"}=t,g=window.navigator.userAgent,p=!1;const f=()=>{n(0,o=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))};return Ue(()=>(window.addEventListener("message",y,!1),Ye(g)&&n(3,p=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,s=e.duration),"session"in e&&n(7,l=e.session),"userid"in e&&n(8,c=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"endpoint"in e&&n(11,m=e.endpoint),"sessioncheck"in e&&n(12,h=e.sessioncheck)},e.$$.update=()=>{if(2432&e.$$.dirty&&l&&c&&m&&"true"==h&&Xi(m,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),516&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(1028&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[o,s,i,p,void 0,void 0,f,l,c,d,u,m,h,function(){a=this.clientWidth,r=this.clientHeight,n(4,a),n(5,r)},function(e){ze[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Tl(e,t){Li(e,t)}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},kl,Cl,t,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,translationurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[35]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ml,Fl,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11,sessioncheck:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[12]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const El={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtro",filterModalSubtitle:"Selecciona multiples opciones",filterClear:"Resetear Filtro",filterApply:"Aplicar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Ll(e,t,n){const i=e.slice();return i[34]=t[n],i}function Gl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k=n[6]("filters.filterModalTitle")+"",S=n[6]("filters.filterModalSubtitle")+"",F=n[6]("filters.filterApply")+"",M=n[1]&&Pl(n),T=n[4]&&Bl(n);return{c(){i=he("div"),a=he("section"),r=he("div"),o=he("h4"),s=ge(k),l=pe(),c=he("h5"),d=ge(S),u=pe(),m=he("section"),M&&M.c(),h=pe(),g=he("section"),T&&T.c(),p=pe(),f=he("div"),y=ge(F),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(r,"class","FilterHeaderDetails"),fe(r,"part","FilterHeaderDetails"),fe(a,"class","FilterHeaderSection"),fe(a,"part","FilterHeaderSection"),fe(m,"class","FilterContentSection"),fe(m,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(g,"class","FilterFooterSection"),fe(g,"part","FilterFooterSection"),fe(i,"class",w="FilterModalContent "+(n[2]?"FilterModalMobileContent":"")),fe(i,"part",$="FilterModalContent "+(n[2]?"FilterModalMobileContent":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(r,o),de(o,s),de(r,l),de(r,c),de(c,d),de(i,u),de(i,m),M&&M.m(m,null),de(i,h),de(i,g),T&&T.m(g,null),de(g,p),de(g,f),de(f,y),x||(C=V(f,"click",n[20]),x=!0)},p(e,t){64&t[0]&&k!==(k=e[6]("filters.filterModalTitle")+"")&&ye(s,k),64&t[0]&&S!==(S=e[6]("filters.filterModalSubtitle")+"")&&ye(d,S),e[1]?M?M.p(e,t):((M=Pl(e)).c(),M.m(m,null)):M&&(M.d(1),M=null),e[4]?T?T.p(e,t):((T=Bl(e)).c(),T.m(g,p)):T&&(T.d(1),T=null),64&t[0]&&F!==(F=e[6]("filters.filterApply")+"")&&ye(y,F),8&t[0]&&b!==(b="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),8&t[0]&&v!==(v="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),4&t[0]&&w!==(w="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(i,"class",w),4&t[0]&&$!==($="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(i,"part",$)},d(e){e&&me(i),M&&M.d(),T&&T.d(),x=!1,C()}}}function _l(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Pl(t){let a,r=t[1],o=[];for(let e=0;e<r.length;e+=1)o[e]=Rl(Ll(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(130&n[0]){let e;for(r=t[1],e=0;e<r.length;e+=1){var i=Ll(t,r,e);o[e]?o[e].p(i,n):(o[e]=Rl(i),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){F(o,e),e&&me(a)}}}function Il(){let n;return{c(){(n=he("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Rl(n){let i,a,r,o,s,l,c,d,u,m,h=n[34].isFilterSelected&&Il();function g(){return n[18](n[34])}return{c(){i=he("div"),a=he("img"),s=pe(),h&&h.c(),l=pe(),fe(a,"class","VendorImage"),fe(a,"part","VendorImage"),ce(a.src,r=n[34].image)||fe(a,"src",r),fe(a,"alt",o=n[34].name),fe(i,"class",c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":"")),fe(i,"part",d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,i,t),de(i,a),de(i,s),h&&h.m(i,null),de(i,l),u||(m=V(i,"click",g),u=!0)},p(e,t){n=e,2&t[0]&&!ce(a.src,r=n[34].image)&&fe(a,"src",r),2&t[0]&&o!==(o=n[34].name)&&fe(a,"alt",o),n[34].isFilterSelected?h||((h=Il()).c(),h.m(i,l)):h&&(h.d(1),h=null),2&t[0]&&c!==(c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"class",c),2&t[0]&&d!==(d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"part",d)},d(e){e&&me(i),h&&h.d(),u=!1,m()}}}function Bl(e){let n,i=e[4].length&&Dl(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[4].length?i?i.p(e,t):((i=Dl(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function Dl(n){let i,a,r,o,s=n[6]("filters.filterClear")+"";return{c(){i=he("div"),a=ge(s),fe(i,"class","ClearFiltersButton"),fe(i,"part","ClearFiltersButton")},m(e,t){ue(e,i,t),de(i,a),r||(o=V(i,"click",n[19]),r=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(a,s)},d(e){e&&me(i),r=!1,o()}}}function Al(n){let i;function a(e){return e[5]?_l:Gl}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[21](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[21](null)}}}function Nl(e,t,a){let n;Ze(e,Ki,e=>a(6,n=e));let i,{endpoint:r=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{translationurl:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,h=[],g=!1,p=window.navigator.userAgent,f=!1,y="",b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},$=!1,x=(w[y]&&(w={[y]:[]}),[]);var C,k;({withLocale:C,translations:k}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(k),We.set(C))}),Object.keys(El).forEach(e=>{Tl(e,El[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(y&&((b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&a(4,v=b[y])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}i=`${r}/casino/vendors?filter=games(groups=${y})&datasource=${o}&platform=`+Ve(p),new Promise((t,n)=>{fetch(i).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},y&&t[y]&&(e.isFilterSelected=0<=t[y].indexOf(e.id))}),a(1,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),a(4,v=x),a(3,f=!1);break;case"AvailableVendors":a(1,h=t.data.venArray),a(4,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":a(1,h=t.data.venArray),h&&a(4,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":T(),window.postMessage({type:"ApplyFilters"},window.location.href),a(3,f=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":y=t.data.categoryid,b&&y&&a(4,v=b[y]);break;case"ModalLoader":a(5,$=!1)}var i},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),a(3,f=!M(v,x))):(v.includes(t.id)&&a(4,v=v.filter(e=>e!==t.id)),a(3,f=!(!v.length&&M(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},M=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},T=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),a(3,f=M(v,x)),a(4,v=[]),null!==e&&((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},E=()=>{a(5,$=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)},L=()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)},G=()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})};return Ue(()=>(window.addEventListener("message",S,!1),Ye(p)&&a(2,g=!0),()=>{window.removeEventListener("message",S)})),e.$$set=e=>{"endpoint"in e&&a(10,r=e.endpoint),"datasource"in e&&a(11,o=e.datasource),"lang"in e&&a(12,s=e.lang),"session"in e&&a(13,l=e.session),"userid"in e&&a(14,c=e.userid),"translationurl"in e&&a(15,d=e.translationurl),"clientstyling"in e&&a(16,u=e.clientstyling),"clientstylingurl"in e&&a(17,m=e.clientstylingurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&u&&L(),131072&e.$$.dirty[0]&&m&&G(),32768&e.$$.dirty[0]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Tl(e,t[e])})}).catch(e=>{console.log(e)}),65537&e.$$.dirty[0]&&u&&i&&L(),131073&e.$$.dirty[0]&&m&&i&&G()},[i,h,g,f,v,$,n,F,T,E,r,o,s,l,c,d,u,m,e=>F(e),()=>T(),()=>E(),function(e){ze[e?"unshift":"push"](()=>{i=e,a(0,i)})}]}function Ol(e,t){Li(e,t)}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Nl,Al,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,translationurl:15,clientstyling:16,clientstylingurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","translationurl","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const Hl={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function jl(e){let n;function i(e){return e[6]?Yl:e[11]?Wl:void 0}let a=i(e),r=a&&a(e);return{c(){n=he("div"),r&&r.c(),fe(n,"class","CasinoIntegratedGamePage"),fe(n,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){a===(a=i(e))&&r?r.p(e,t):(r&&r.d(1),(r=a&&a(e))&&(r.c(),r.m(n,null)))},d(e){e&&me(n),r&&r.d()}}}function Ul(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function zl(e){let n;return{c(){(n=he("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Wl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,S,F,M,T=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function L(e){return e[17]?Zl:Vl}let G=L(n),_=G(n),P="true"==n[1]&&!n[17]&&Jl();return{c(){i=he("div"),(a=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',r=pe(),o=he("p"),s=he("span"),l=ge(n[4]),c=pe(),d=he("div"),u=pe(),m=he("div"),h=he("div"),g=he("iframe"),f=pe(),y=he("div"),b=he("div"),v=he("button"),w=ge(T),$=pe(),x=he("button"),C=ge(E),k=pe(),_.c(),S=pe(),P&&P.c(),fe(a,"class","backButton"),fe(a,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,p=n[10].launchUrl)||fe(g,"src",p),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(x,"class","RegisterButton"),fe(x,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(h,"id","IframeGame"),fe(h,"part","IframeGame"),I(h,"width",n[17]?"100%":n[18]),I(h,"height",n[17]?"100%":n[19]),I(h,"max-width",n[17]||!n[12]?"none":n[10].width?Math.floor(n[10].width)+"px":"1280px"),I(h,"max-height",n[17]||!n[12]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(m,"id","IframeContainer"),fe(m,"part","IframeContainer"),R(m,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,a),de(i,r),de(i,o),de(o,s),de(s,l),n[57](o),de(i,c),de(i,d),ue(e,u,t),ue(e,m,t),de(m,h),de(h,g),n[58](g),de(h,f),de(h,y),de(y,b),de(b,v),de(v,w),de(b,$),de(b,x),de(x,C),de(y,k),_.m(y,null),n[63](y),n[64](h),de(m,S),P&&P.m(m,null),n[65](m),F||(M=[V(a,"click",n[56]),V(v,"click",n[59]),V(x,"click",n[60])],F=!0)},p(e,t){16&t[0]&&ye(l,e[4]),1024&t[0]&&!ce(g.src,p=e[10].launchUrl)&&fe(g,"src",p),4194304&t[0]&&T!==(T=e[22]("gamePage.signIn")+"")&&ye(w,T),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye(C,E),G===(G=L(e))&&_?_.p(e,t):(_.d(1),(_=G(e))&&(_.c(),_.m(y,null))),393216&t[0]&&I(h,"width",e[17]?"100%":e[18]),655360&t[0]&&I(h,"height",e[17]?"100%":e[19]),136192&t[0]&&I(h,"max-width",e[17]||!e[12]?"none":e[10].width?Math.floor(e[10].width)+"px":"1280px"),136192&t[0]&&I(h,"max-height",e[17]||!e[12]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?P&&(P.d(1),P=null):P||((P=Jl()).c(),P.m(m,null)),131072&t[0]&&R(m,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[57](null),e&&me(u),e&&me(m),n[58](null),_.d(),n[63](null),n[64](null),P&&P.d(),n[65](null),F=!1,Y(M)}}}function Yl(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,S=n[22]("gamePage.deposit")+"",F="true"===n[0]&&Kl(n);function M(e){return e[17]?ql:Xl}let T=M(n),E=T(n),L="true"==n[1]&&!n[17]&&Ql();return{c(){i=he("div"),(a=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',r=pe(),o=he("p"),s=he("span"),l=ge(n[4]),c=pe(),d=he("button"),u=ge(S),m=pe(),h=he("div"),g=he("div"),p=he("iframe"),v=pe(),w=he("div"),F&&F.c(),$=pe(),E.c(),x=pe(),L&&L.c(),fe(a,"class","backButton"),fe(a,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(p,"title","Games"),fe(p,"id","IframeGame"),fe(p,"class","GamesContainer"),fe(p,"part","GamesContainer"),fe(p,"aria-hidden","false"),ce(p.src,f=n[10].launchUrl)||fe(p,"src",f),fe(p,"width",y=n[14]+"px"),fe(p,"height",b=n[15]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(g,"id","IframeGame"),fe(g,"part","IframeGame"),I(g,"width",n[17]?"100%":n[18]),I(g,"height",n[17]?"100%":n[19]),I(g,"max-width",n[17]?"none":n[10].width?n[10].width+"px":"1280px"),I(g,"max-height",n[17]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),R(h,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,a),de(i,r),de(i,o),de(o,s),de(s,l),n[47](o),de(i,c),de(i,d),de(d,u),ue(e,m,t),ue(e,h,t),de(h,g),de(g,p),n[49](p),de(g,v),de(g,w),F&&F.m(w,null),de(w,$),E.m(w,null),n[53](w),n[54](g),de(h,x),L&&L.m(h,null),n[55](h),C||(k=[V(a,"click",n[46]),V(d,"click",n[48])],C=!0)},p(e,t){16&t[0]&&ye(l,e[4]),4194304&t[0]&&S!==(S=e[22]("gamePage.deposit")+"")&&ye(u,S),1024&t[0]&&!ce(p.src,f=e[10].launchUrl)&&fe(p,"src",f),16384&t[0]&&y!==(y=e[14]+"px")&&fe(p,"width",y),32768&t[0]&&b!==(b=e[15]+"px")&&fe(p,"height",b),"true"===e[0]?F?F.p(e,t):((F=Kl(e)).c(),F.m(w,$)):F&&(F.d(1),F=null),T===(T=M(e))&&E?E.p(e,t):(E.d(1),(E=T(e))&&(E.c(),E.m(w,null))),393216&t[0]&&I(g,"width",e[17]?"100%":e[18]),655360&t[0]&&I(g,"height",e[17]?"100%":e[19]),132096&t[0]&&I(g,"max-width",e[17]?"none":e[10].width?e[10].width+"px":"1280px"),132096&t[0]&&I(g,"max-height",e[17]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?L&&(L.d(1),L=null):L||((L=Ql()).c(),L.m(h,null)),131072&t[0]&&R(h,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[47](null),e&&me(m),e&&me(h),n[49](null),F&&F.d(),E.d(),n[53](null),n[54](null),L&&L.d(),n[55](null),C=!1,Y(k)}}}function Vl(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[62]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function Zl(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[61]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function Jl(){let n;return{c(){(n=he("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Kl(n){let i,a,r,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){i=he("div"),a=he("button"),r=ge(o),fe(a,"class",e="PanicButton "+("PC"!==Ve(n[23])?"PanicButtonMobile":"")),fe(a,"part",t="PanicButton "+("PC"!==Ve(n[23])?"PanicButtonMobile":"")),R(a,"PanicButtonAnimation",n[9]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,a),de(a,r),n[50](a)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(r,o),512&t[0]&&R(a,"PanicButtonAnimation",e[9])},d(e){e&&me(i),n[50](null)}}}function Xl(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[52]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function ql(n){let i,a,r;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),a||(r=V(i,"click",n[51]),a=!0)},p:W,d(e){e&&me(i),a=!1,r()}}}function Ql(){let n;return{c(){(n=he("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ec(n){let i;function a(e){return e[8]?zl:e[7]?Ul:jl}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[66](i)},p(e,t){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[66](null)}}}function tc(t,e,i){let B;Ze(t,Ki,e=>i(22,B=e));let D,n,a,r,A,o,s,l,c,d,u,m,N,O,h,g,p,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:H=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:k=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:M=""}=e,{clockformat:T=""}=e,{haspanicbutton:j="false"}=e,{playforfun:E="true"}=e,{checksession:U="true"}=e,{gamebanneractive:z="false"}=e,{gameid:L=""}=e,G=!1,W=!1,Y=!0,_=!1,P=0,V=!1,Z=!1,J=!0,I=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(q),We.set(X))}),Object.keys(Hl).forEach(e=>{Ol(e,Hl[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(12,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(10,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),a&&0<a.length&&(i(6,G=!0),t.searchParams.append("_sid",a),t.searchParams.append("funMode","false")),e.launchUrl=t,h.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,i(11,Z="true"==E&&o.hasFunMode),"true"==E&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),i(7,W=!0)}).then(()=>{s&&(ee(),J||(i(18,N=o.width),i(19,O=o.height),u=o.width,m=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);i(14,l=parseInt(e.width.slice(0,-2))),i(15,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),m=parseInt(t.height),l/n>c-g.clientHeight-p.clientHeight?(m=c-g.clientHeight-p.clientHeight,u=c*n):(u=l,m=l/n),i(18,N=u?Math.floor(u)+"px":"1280px"),i(19,O=m?Math.floor(m)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==Ve(K)&&ee()},ne=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ie=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},ae=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),k&&(window.location=k)};function re(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||R()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",re,!1),document.addEventListener("mozfullscreenchange",re,!1),document.addEventListener("fullscreenchange",re,!1),document.addEventListener("MSFullscreenChange",re,!1));const R=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,I=!0)))},oe=setInterval(()=>{i(4,D=T?Fa().format(T):Fa().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{P=0,A=setInterval(()=>{P+=1,i(9,_=!0),3<=P&&clearInterval(A)},1e3)},ce=e=>{P<3&&i(9,_=!1),clearInterval(A)};return Ue(()=>(window.addEventListener("resize",te,!1),tl(K),()=>{i(9,_=!1),null!=r&&r.removeEventListener("mousedown",le),null!=r&&r.removeEventListener("touchstart",le),null!=r&&r.removeEventListener("mouseup",ce),null!=r&&r.removeEventListener("touchend",ce),window.removeEventListener("resize",te),clearInterval(oe)})),t.$$set=e=>{"endpoint"in e&&i(29,f=e.endpoint),"lang"in e&&i(30,y=e.lang),"session"in e&&i(31,b=e.session),"userid"in e&&i(32,H=e.userid),"clientstyling"in e&&i(33,v=e.clientstyling),"clientstylingurl"in e&&i(34,w=e.clientstylingurl),"translationurl"in e&&i(35,$=e.translationurl),"loginurl"in e&&i(36,x=e.loginurl),"registerurl"in e&&i(37,C=e.registerurl),"depositurl"in e&&i(38,k=e.depositurl),"loginevent"in e&&i(39,S=e.loginevent),"registerevent"in e&&i(40,F=e.registerevent),"depositevent"in e&&i(41,M=e.depositevent),"clockformat"in e&&i(42,T=e.clockformat),"haspanicbutton"in e&&i(0,j=e.haspanicbutton),"playforfun"in e&&i(43,E=e.playforfun),"checksession"in e&&i(44,U=e.checksession),"gamebanneractive"in e&&i(1,z=e.gamebanneractive),"gameid"in e&&i(45,L=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,We.set(e),Ye(K),i(8,Y=!1)),1610612736&t.$$.dirty[0]|16384&t.$$.dirty[1]&&f&&L&&y&&Q(L),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&H&&f&&("true"==U?Xi(f,b).then(e=>{a=e.Guid,e.UserID,i(6,G=!0)},e=>{i(6,G=!1),console.error("err on session",e)}):a=b),8&t.$$.dirty[0]|4&t.$$.dirty[1]&&v&&h){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(8&t.$$.dirty[0]|8&t.$$.dirty[1]&&w&&h){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&r&&(null!=r&&r.addEventListener("mousedown",le,!1),null!=r&&r.addEventListener("touchstart",le,!1),null!=r&&r.addEventListener("mouseup",ce,!1),null!=r&&r.addEventListener("touchend",ce,!1)),16&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ol(e,t[e])})}).catch(e=>{console.log(e)})},[j,z,r,h,D,n,G,W,Y,_,o,Z,J,s,l,c,d,I,N,O,g,p,B,K,ne,ie,ae,R,se,f,y,b,H,v,w,$,x,C,k,S,F,M,T,E,U,L,()=>se(),function(e){ze[e?"unshift":"push"](()=>{p=e,i(21,p)})},()=>ae(),function(e){ze[e?"unshift":"push"](()=>{n=e,i(5,n)})},function(e){ze[e?"unshift":"push"](()=>{r=e,i(2,r)})},()=>R(),()=>R(),function(e){ze[e?"unshift":"push"](()=>{g=e,i(20,g)})},function(e){ze[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){ze[e?"unshift":"push"](()=>{s=e,i(13,s)})},()=>se(),function(e){ze[e?"unshift":"push"](()=>{p=e,i(21,p)})},function(e){ze[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>ne(),()=>ie(),()=>R(),()=>R(),function(e){ze[e?"unshift":"push"](()=>{g=e,i(20,g)})},function(e){ze[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){ze[e?"unshift":"push"](()=>{s=e,i(13,s)})},function(e){ze[e?"unshift":"push"](()=>{h=e,i(3,h)})}]}function nc(e,t,n){const i=e.slice();return i[26]=t[n],i[27]=t,i[28]=n,i}function ic(e,t,n){const i=e.slice();return i[29]=t[n],i[28]=n,i}function ac(t){let a,n,r,i,e,o=t[3],s=[];for(let e=0;e<o.length;e+=1)s[e]=uc(nc(t,o,e));return{c(){a=he("div"),n=he("div"),r=ge(t[1]),i=pe();for(let e=0;e<s.length;e+=1)s[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(a,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,r),de(a,i);for(let e=0;e<s.length;e+=1)s[e].m(a,null)},p(t,n){if(2&n&&ye(r,t[1]),409&n){let e;for(o=t[3],e=0;e<o.length;e+=1){var i=nc(t,o,e);s[e]?s[e].p(i,n):(s[e]=uc(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),F(s,e)}}}function rc(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function oc(e){let n,i;return{c(){n=E("svg"),fe(i=E("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&me(n)}}}function sc(e){let n,i;return{c(){n=E("svg"),fe(i=E("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&me(n)}}}function lc(t){let i,a,r=t[26].details,o=[];for(let e=0;e<r.length;e+=1)o[e]=cc(ic(t,r,e));let s=t[26].detailsExpanded&&dc(t);return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=pe(),s&&s.c(),a=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n),s&&s.m(t,n),ue(t,a,n)},p(t,n){if(280&n){let e;for(r=t[26].details,e=0;e<r.length;e+=1){const s=ic(t,r,e);o[e]?o[e].p(s,n):(o[e]=cc(s),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}t[26].detailsExpanded?s?s.p(t,n):((s=dc(t)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){F(o,e),e&&me(i),s&&s.d(e),e&&me(a)}}}function cc(n){let i,a,r,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[28])}return{c(){i=he("div"),a=he("div"),r=he("button"),o=ge(u),fe(r,"class",s="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(a,"class","Header"),fe(i,"class",l=n[28]==n[4]?"SelectedTab":""),fe(i,"id","CollapseMoreInfoButton"),I(i,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(r,o),c||(d=V(r,"click",m),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(o,u),8&t&&s!==(s="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(r,"class",s),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(i,"class",l),8&t&&I(i,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(i),c=!1,d()}}}function dc(e){let n,i,a,r=e[26].details[e[4]].description+"";return{c(){n=he("div"),i=ge(r),fe(n,"class",a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){24&t&&r!==(r=e[26].details[e[4]].description+"")&&ye(i,r),24&t&&a!==(a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function uc(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C=n[26].title+"",k=n[26].description+"";function S(e){return 1==e[26].expandedInfo?sc:oc}let F=S(n),M=F(n);function T(){return n[17](n[26],n[27],n[28])}let E=1==n[26].expandedInfo&&lc(n);return{c(){i=he("div"),a=he("div"),r=ge(C),o=pe(),s=he("div"),l=he("img"),u=pe(),m=he("div"),h=ge(k),g=pe(),p=he("div"),f=he("button"),y=ge(n[0]),b=pe(),M.c(),v=pe(),E&&E.c(),w=pe(),fe(a,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(s,"class","CasinoCalendarImage"),fe(m,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(p,"class","CasinoCalendarTabs"),fe(i,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(i,o),de(i,s),de(s,l),de(i,u),de(i,m),de(m,h),de(i,g),de(i,p),de(p,f),de(f,y),de(f,b),M.m(f,null),de(p,v),E&&E.m(p,null),de(i,w),$||(x=V(f,"click",T),$=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(r,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&k!==(k=n[26].description+"")&&ye(h,k),1&t&&ye(y,n[0]),F!==(F=S(n))&&(M.d(1),(M=F(n))&&(M.c(),M.m(f,null))),1==n[26].expandedInfo?E?E.p(n,t):((E=lc(n)).c(),E.m(p,null)):E&&(E.d(1),E=null)},d(e){e&&me(i),M.d(),E&&E.d(),$=!1,x()}}}function mc(n){let i;function a(e){return e[5]?rc:ac}let r=a(n),o=r(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[19](i)},p(e,[t]){r===(r=a(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[19](null)}}}function hc(t,e,i){let n,{dailybackground:a=""}=e,{dailybuttontitle:r=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:h=""}=e,g=[],p=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(w),We.set(v))});const $=e=>{"DailyEventsData"==e.data.type&&(i(5,f=!1),i(3,g=e.data.data),g.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(i(4,p=0),g.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},x=e=>{i(4,p=0),i(3,g[e].detailsExpanded=!g[e].detailsExpanded,g),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{i(4,p=t),e.details.forEach((e,t)=>{e.expandedTab=p==t})};return Ue(()=>(window.addEventListener("message",$,!1),Ye(b)&&i(6,y=!0),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"dailybackground"in e&&i(9,a=e.dailybackground),"dailybuttontitle"in e&&i(0,r=e.dailybuttontitle),"dailyday"in e&&i(1,o=e.dailyday),"dailydescription"in e&&i(10,s=e.dailydescription),"dailyicon"in e&&i(11,l=e.dailyicon),"dailytitle"in e&&i(12,c=e.dailytitle),"lang"in e&&i(13,d=e.lang),"clientstyling"in e&&i(14,u=e.clientstyling),"clientstylingurl"in e&&i(15,m=e.clientstylingurl),"translationUrl"in e&&i(16,h=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,We.set(e)),16388&t.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32772&t.$$.dirty&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[r,o,n,g,p,f,y,x,C,a,s,l,c,d,u,m,h,(e,t,n)=>{i(3,t[n].expandedInfo=!e.expandedInfo,g),x(n)},(e,t)=>{C(e,t)},function(e){ze[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}function gc(n){let i,a,r,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,S;return{c(){i=he("div"),a=he("div"),r=he("div"),o=he("div"),(s=he("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=pe(),c=he("div"),d=he("div"),u=he("img"),h=pe(),g=he("div"),p=ge(n[2]),f=pe(),y=he("div"),b=pe(),v=he("div"),w=he("button"),$=ge(n[3]),this.c=W,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(g,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),I(c,"background-image","url('"+n[0]+"')"),I(c,"background-size","cover"),I(c,"background-position","center"),I(c,"-webkit-background-size","cover"),I(c,"-moz-background-size","cover"),I(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(r,"class","CasinoCalendarItems"),fe(a,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(r,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,h),de(c,g),de(g,p),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,$),n[16](i),k||(S=V(w,"click",n[15]),k=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(p,e[2]),8&t&&ye($,e[3]),16&t&&x!==(x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",x),1&t&&I(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(a,"class",C)},i:W,o:W,d(e){e&&me(i),n[14](null),n[16](null),k=!1,S()}}}function pc(e,t,n){let i,a,{cmsendpoint:r=""}=t,{lang:o=""}=t,{dailybackground:s=""}=t,{dailyicon:l=""}=t,{dailyday:c=""}=t,{dailydescription:d="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:m="0"}=t,{clientstyling:h=""}=t,{clientstylingurl:g=""}=t;var p,f;({withLocale:p,translations:f}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(f),We.set(p))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendarModal",index:m},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return Ue(()=>{Ye(b)&&n(7,y=!0)}),e.$$set=e=>{"cmsendpoint"in e&&n(9,r=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,h=e.clientstyling),"clientstylingurl"in e&&n(13,g=e.clientstylingurl)},e.$$.update=()=>{if(2063&e.$$.dirty&&l&&c&&d&&u&&s){let e=document.createElement("div");e.innerHTML=d,i.append(e)}if(4128&e.$$.dirty&&h&&a){let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)}if(8224&e.$$.dirty&&g&&a){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}},[s,l,c,u,m,a,i,y,v,r,o,d,h,g,function(e){ze[e?"unshift":"push"](()=>{i=e,n(6,i)})},()=>v(),function(e){ze[e?"unshift":"push"](()=>{a=e,n(5,a)})}]}function fc(e,t,n){const i=e.slice();return i[11]=t[n],i[13]=n,i}function yc(t){let i,a,n,r,o,e,s,l,c,d,u,m=t[1],h=[];for(let e=0;e<m.length;e+=1)h[e]=wc(fc(t,m,e));return{c(){i=he("div");for(let e=0;e<h.length;e+=1)h[e].c();a=pe(),n=he("casino-modal"),x(r=he("casino-calendar-daily-details"),"dailybackground",o=t[1][t[2]].dailyBackground),x(r,"dailybuttontitle",e=t[1][t[2]].dailyButtonTitle),x(r,"dailyday",s=t[1][t[2]].dailyDay),x(r,"dailydescription",l=t[1][t[2]].dailyDescription),x(r,"dailyicon",c=t[1][t[2]].dailyIcon),x(r,"dailytitle",d=t[1][t[2]].dailyTitle),x(r,"lang",t[0]),fe(i,"class",u="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,i,t);for(let e=0;e<h.length;e+=1)h[e].m(i,null);de(i,a),de(i,n),de(n,r)},p(t,n){if(3&n){let e;for(m=t[1],e=0;e<m.length;e+=1){const o=fc(t,m,e);h[e]?h[e].p(o,n):(h[e]=wc(o),h[e].c(),h[e].m(i,a))}for(;e<h.length;e+=1)h[e].d(1);h.length=m.length}6&n&&o!==(o=t[1][t[2]].dailyBackground)&&x(r,"dailybackground",o),6&n&&e!==(e=t[1][t[2]].dailyButtonTitle)&&x(r,"dailybuttontitle",e),6&n&&s!==(s=t[1][t[2]].dailyDay)&&x(r,"dailyday",s),6&n&&l!==(l=t[1][t[2]].dailyDescription)&&x(r,"dailydescription",l),6&n&&c!==(c=t[1][t[2]].dailyIcon)&&x(r,"dailyicon",c),6&n&&d!==(d=t[1][t[2]].dailyTitle)&&x(r,"dailytitle",d),1&n&&x(r,"lang",t[0]),32&n&&u!==(u="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(i,"class",u)},d(e){e&&me(i),F(h,e)}}}function bc(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function vc(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function wc(e){let n,i,a,r,o,s,t;return{c(){x(n=he("casino-calendar-daily-item"),"dailybackground",i=e[11].dailyBackground),x(n,"dailyicon",a=e[11].dailyIcon),x(n,"dailyday",r=e[11].dailyDay),x(n,"dailydescription",o=e[11].dailyDescription),x(n,"dailybuttontitle",s=e[11].dailyButtonTitle),x(n,"index",t=e[13]),x(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&i!==(i=e[11].dailyBackground)&&x(n,"dailybackground",i),2&t&&a!==(a=e[11].dailyIcon)&&x(n,"dailyicon",a),2&t&&r!==(r=e[11].dailyDay)&&x(n,"dailyday",r),2&t&&o!==(o=e[11].dailyDescription)&&x(n,"dailydescription",o),2&t&&s!==(s=e[11].dailyButtonTitle)&&x(n,"dailybuttontitle",s),1&t&&x(n,"lang",e[0])},d(e){e&&me(n)}}}function $c(e){let n;function i(e){return e[4]?vc:e[3]?bc:e[1]?.length?yc:void 0}let a=i(e),r=a&&a(e);return{c(){r&&r.c(),n=c(),this.c=W},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,[t]){a===(a=i(e))&&r?r.p(e,t):(r&&r.d(1),(r=a&&a(e))&&(r.c(),r.m(n.parentNode,n)))},i:W,o:W,d(e){r&&r.d(e),e&&me(n)}}}function xc(e,t,n){let i,{cmsendpoint:a=""}=t,{lang:r="en"}=t,o=0,s=!0,l=!1,c=!1,d=window.navigator.userAgent;const u=e=>{e.data&&"OpenCalendarModal"==e.data.type&&(n(2,o=e.data.index),window.postMessage({type:"DailyEventsData",data:null==(e=i[o])?void 0:e.dailyEvents}))};return Ue(()=>(window.addEventListener("message",u,!1),Ye(d)&&n(5,c=!0),()=>{window.removeEventListener("message",u)})),e.$$set=e=>{"cmsendpoint"in e&&n(6,a=e.cmsendpoint),"lang"in e&&n(0,r=e.lang)},e.$$.update=()=>{65&e.$$.dirty&&a&&r&&fetch(`${a}/${r}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,i=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,s=!1)})},[r,i,o,s,l,c,a]}function Cc(e){let n,i,a,r,o,s,l,c,d,u,m,h,g,p="true"==e[22]&&Sc(e);return{c(){n=he("div"),i=he("div"),a=he("div"),r=pe(),o=he("div"),s=pe(),l=he("casino-categories-slider"),c=pe(),d=he("casino-page"),u=pe(),p&&p.c(),m=pe(),h=he("casino-filter-modal"),g=he("casino-filter-page"),fe(a,"class","HeaderPlaceholder"),fe(a,"part","HeaderPlaceholder"),I(a,"height",e[63]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),x(l,"endpoint",e[56]),x(l,"datasource",e[57]),x(l,"lang",e[58]),x(l,"session",e[62]),x(l,"userid",e[2]),x(l,"sessioncheck","false"),x(l,"actionevent",e[19]),x(l,"filteredcategories",e[7]),x(l,"mostplayed",e[11]),x(l,"mostplayedrounds",e[12]),x(l,"lastplayed",e[13]),x(l,"lastplayedperiod",e[14]),x(l,"favorites",e[15]),x(l,"activecategory",e[1]),x(l,"clientstyling",e[3]),x(l,"clientstylingurl",e[4]),x(l,"containermaxwidth",e[17]),x(l,"location","secondaryMenu"),x(l,"showsubgroups",e[48]),x(d,"session",e[62]),x(d,"userid",e[2]),x(d,"endpoint",e[56]),x(d,"datasource",e[57]),x(d,"lang",e[58]),x(d,"visiblegames",e[24]),x(d,"playrandomgame",e[23]),x(d,"activecategory",e[1]),x(d,"alternativesearch",e[16]),x(d,"favorites",e[15]),x(d,"mostplayedrounds",e[12]),x(d,"mostplayed",e[11]),x(d,"lastplayed",e[13]),x(d,"lastplayedperiod",e[14]),x(d,"clientstyling",e[3]),x(d,"clientstylingurl",e[4]),x(d,"lobbyid",e[6]),x(d,"containermaxwidth",e[17]),x(d,"haspanicbutton",e[18]),x(d,"livecasino",e[20]),x(d,"currency",e[0]),x(d,"filteredcategories",e[7]),x(d,"gamepagemodalurl",e[27]),x(d,"randombuttonicon",e[53]),x(d,"filteredrandomgamecategories",e[54]),x(d,"positionwinnerswidget",e[28]),x(d,"periodrecent",e[33]),x(d,"periodtop",e[34]),x(d,"numberusersrecent",e[35]),x(d,"numberuserstop",e[36]),x(d,"amountlimit",e[37]),x(d,"isrecentavailable",e[32]),x(d,"istopavailable",e[31]),x(d,"integratedgameframedesktop",e[25]),x(d,"integratedgameframemobile",e[26]),x(d,"defaultcurrency",e[38]),x(d,"enableautoscroll",e[30]),x(d,"collectionprovidersgamenames",e[52]),x(d,"tabsorder",e[29]),x(d,"positionjackpotbanners",e[39]),x(d,"backgroundsrc",e[44]),x(d,"backgroundsrcmobile",e[45]),x(d,"titlelogopath",e[46]),x(d,"caticon0",e[40]),x(d,"caticon1",e[41]),x(d,"caticon2",e[42]),x(d,"caticon3",e[43]),x(d,"iconlabels",e[47]),x(d,"positioncollections",e[49]),x(d,"type",e[50]),x(d,"titletype",e[51]),x(d,"casinomygames",Mc),x(g,"clientstyling",e[3]),x(g,"clientstylingurl",e[4]),x(g,"session",e[62]),x(g,"userid",e[2]),x(g,"endpoint",e[56]),x(g,"datasource",e[57]),x(g,"lang",e[58]),x(h,"clientstylingurl",e[4]),x(h,"clientstyling",e[3]),x(h,"session",e[62]),x(h,"userid",e[2]),x(h,"endpoint",e[56]),x(h,"datasource",e[57]),x(h,"lang",e[58]),x(h,"sessioncheck","false"),fe(i,"class","WidgetsSection"),fe(i,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,i),de(i,a),de(i,r),de(i,o),de(i,s),de(i,l),de(i,c),de(i,d),de(i,u),p&&p.m(i,null),de(i,m),de(i,h),de(h,g)},p(e,t){2&t[2]&&I(a,"height",e[63]+"px"),33554432&t[1]&&x(l,"endpoint",e[56]),67108864&t[1]&&x(l,"datasource",e[57]),134217728&t[1]&&x(l,"lang",e[58]),1&t[2]&&x(l,"session",e[62]),4&t[0]&&x(l,"userid",e[2]),524288&t[0]&&x(l,"actionevent",e[19]),128&t[0]&&x(l,"filteredcategories",e[7]),2048&t[0]&&x(l,"mostplayed",e[11]),4096&t[0]&&x(l,"mostplayedrounds",e[12]),8192&t[0]&&x(l,"lastplayed",e[13]),16384&t[0]&&x(l,"lastplayedperiod",e[14]),32768&t[0]&&x(l,"favorites",e[15]),2&t[0]&&x(l,"activecategory",e[1]),8&t[0]&&x(l,"clientstyling",e[3]),16&t[0]&&x(l,"clientstylingurl",e[4]),131072&t[0]&&x(l,"containermaxwidth",e[17]),131072&t[1]&&x(l,"showsubgroups",e[48]),1&t[2]&&x(d,"session",e[62]),4&t[0]&&x(d,"userid",e[2]),33554432&t[1]&&x(d,"endpoint",e[56]),67108864&t[1]&&x(d,"datasource",e[57]),134217728&t[1]&&x(d,"lang",e[58]),16777216&t[0]&&x(d,"visiblegames",e[24]),8388608&t[0]&&x(d,"playrandomgame",e[23]),2&t[0]&&x(d,"activecategory",e[1]),65536&t[0]&&x(d,"alternativesearch",e[16]),32768&t[0]&&x(d,"favorites",e[15]),4096&t[0]&&x(d,"mostplayedrounds",e[12]),2048&t[0]&&x(d,"mostplayed",e[11]),8192&t[0]&&x(d,"lastplayed",e[13]),16384&t[0]&&x(d,"lastplayedperiod",e[14]),8&t[0]&&x(d,"clientstyling",e[3]),16&t[0]&&x(d,"clientstylingurl",e[4]),64&t[0]&&x(d,"lobbyid",e[6]),131072&t[0]&&x(d,"containermaxwidth",e[17]),262144&t[0]&&x(d,"haspanicbutton",e[18]),1048576&t[0]&&x(d,"livecasino",e[20]),1&t[0]&&x(d,"currency",e[0]),128&t[0]&&x(d,"filteredcategories",e[7]),134217728&t[0]&&x(d,"gamepagemodalurl",e[27]),4194304&t[1]&&x(d,"randombuttonicon",e[53]),8388608&t[1]&&x(d,"filteredrandomgamecategories",e[54]),268435456&t[0]&&x(d,"positionwinnerswidget",e[28]),4&t[1]&&x(d,"periodrecent",e[33]),8&t[1]&&x(d,"periodtop",e[34]),16&t[1]&&x(d,"numberusersrecent",e[35]),32&t[1]&&x(d,"numberuserstop",e[36]),64&t[1]&&x(d,"amountlimit",e[37]),2&t[1]&&x(d,"isrecentavailable",e[32]),1&t[1]&&x(d,"istopavailable",e[31]),33554432&t[0]&&x(d,"integratedgameframedesktop",e[25]),67108864&t[0]&&x(d,"integratedgameframemobile",e[26]),128&t[1]&&x(d,"defaultcurrency",e[38]),1073741824&t[0]&&x(d,"enableautoscroll",e[30]),2097152&t[1]&&x(d,"collectionprovidersgamenames",e[52]),536870912&t[0]&&x(d,"tabsorder",e[29]),256&t[1]&&x(d,"positionjackpotbanners",e[39]),8192&t[1]&&x(d,"backgroundsrc",e[44]),16384&t[1]&&x(d,"backgroundsrcmobile",e[45]),32768&t[1]&&x(d,"titlelogopath",e[46]),512&t[1]&&x(d,"caticon0",e[40]),1024&t[1]&&x(d,"caticon1",e[41]),2048&t[1]&&x(d,"caticon2",e[42]),4096&t[1]&&x(d,"caticon3",e[43]),65536&t[1]&&x(d,"iconlabels",e[47]),262144&t[1]&&x(d,"positioncollections",e[49]),524288&t[1]&&x(d,"type",e[50]),1048576&t[1]&&x(d,"titletype",e[51]),"true"==e[22]?p?p.p(e,t):((p=Sc(e)).c(),p.m(i,m)):p&&(p.d(1),p=null),8&t[0]&&x(g,"clientstyling",e[3]),16&t[0]&&x(g,"clientstylingurl",e[4]),1&t[2]&&x(g,"session",e[62]),4&t[0]&&x(g,"userid",e[2]),33554432&t[1]&&x(g,"endpoint",e[56]),67108864&t[1]&&x(g,"datasource",e[57]),134217728&t[1]&&x(g,"lang",e[58]),16&t[0]&&x(h,"clientstylingurl",e[4]),8&t[0]&&x(h,"clientstyling",e[3]),1&t[2]&&x(h,"session",e[62]),4&t[0]&&x(h,"userid",e[2]),33554432&t[1]&&x(h,"endpoint",e[56]),67108864&t[1]&&x(h,"datasource",e[57]),134217728&t[1]&&x(h,"lang",e[58])},d(e){e&&me(n),p&&p.d()}}}function kc(e){let n,i;return{c(){n=he("p"),i=ge(e[61]),I(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1073741824&t[1]&&ye(i,e[61])},d(e){e&&me(n)}}}function Sc(e){let n,i;return{c(){n=he("casino-modal"),x(i=he("casino-game-page"),"session",e[62]),x(i,"userid",e[2]),x(i,"endpoint",e[56]),x(i,"datasource",e[57]),x(i,"lang",e[58]),x(i,"loginevent",e[8]),x(i,"registerevent",e[9]),x(i,"depositevent",e[10]),x(i,"checksession","false"),x(i,"playforfun",e[21]),x(i,"favorites",e[15]),x(i,"clientstyling",e[3]),x(i,"clientstylingurl",e[4]),x(i,"clockformat",e[5]),x(i,"haspanicbutton",e[18]),x(i,"currency",e[0]),x(i,"integratedgameframedesktop",e[25]),x(i,"integratedgameframemobile",e[26]),x(n,"session",e[62]),x(n,"userid",e[2]),x(n,"endpoint",e[56]),x(n,"datasource",e[57]),x(n,"lang",e[58]),x(n,"sessioncheck","false"),x(n,"clientstyling",e[3]),x(n,"clientstylingurl",e[4]),x(n,"gamepagemodalurl",e[27]),x(n,"haspanicbutton",e[18])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[2]&&x(i,"session",e[62]),4&t[0]&&x(i,"userid",e[2]),33554432&t[1]&&x(i,"endpoint",e[56]),67108864&t[1]&&x(i,"datasource",e[57]),134217728&t[1]&&x(i,"lang",e[58]),256&t[0]&&x(i,"loginevent",e[8]),512&t[0]&&x(i,"registerevent",e[9]),1024&t[0]&&x(i,"depositevent",e[10]),2097152&t[0]&&x(i,"playforfun",e[21]),32768&t[0]&&x(i,"favorites",e[15]),8&t[0]&&x(i,"clientstyling",e[3]),16&t[0]&&x(i,"clientstylingurl",e[4]),32&t[0]&&x(i,"clockformat",e[5]),262144&t[0]&&x(i,"haspanicbutton",e[18]),1&t[0]&&x(i,"currency",e[0]),33554432&t[0]&&x(i,"integratedgameframedesktop",e[25]),67108864&t[0]&&x(i,"integratedgameframemobile",e[26]),1&t[2]&&x(n,"session",e[62]),4&t[0]&&x(n,"userid",e[2]),33554432&t[1]&&x(n,"endpoint",e[56]),67108864&t[1]&&x(n,"datasource",e[57]),134217728&t[1]&&x(n,"lang",e[58]),8&t[0]&&x(n,"clientstyling",e[3]),16&t[0]&&x(n,"clientstylingurl",e[4]),134217728&t[0]&&x(n,"gamepagemodalurl",e[27]),262144&t[0]&&x(n,"haspanicbutton",e[18])},d(e){e&&me(n)}}}function Fc(n){let i,a,r;function o(e){return e[60]?kc:Cc}let s=o(n),l=s(n);return{c(){i=he("div"),l.c(),this.c=W,fe(i,"class",a=n[59]?"DisplayNone":""),fe(i,"part",r=n[59]?"DisplayNone":"")},m(e,t){ue(e,i,t),l.m(i,null),n[76](i)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(i,null))),268435456&t[1]&&a!==(a=e[59]?"DisplayNone":"")&&fe(i,"class",a),268435456&t[1]&&r!==(r=e[59]?"DisplayNone":"")&&fe(i,"part",r)},i:W,o:W,d(e){e&&me(i),l.d(),n[76](null)}}}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},tc,ec,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),f()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},hc,mc,t,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),f()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:scroll;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:#fff;position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:#fff;position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pc,gc,t,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),f()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),f()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends a{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xc,$c,t,{cmsendpoint:6,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),f()}});let Mc="false";function Tc(e,t,n){let i,a,r,o,{endpoint:s=""}=t,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=t,{datasource:c=""}=t,{lang:d=""}=t,{session:u=""}=t,{userid:m=""}=t,{opsession:h=""}=t,{clientstyling:g=""}=t,{clientstylingurl:p=""}=t,{clockformat:f=""}=t,{lobbyid:y=""}=t,{currency:b=""}=t,{filteredcategories:v=""}=t,{loginurl:w=""}=t,{registerurl:$=""}=t,{depositurl:x=""}=t,{loginevent:C=""}=t,{registerevent:k=""}=t,{depositevent:B=""}=t,{mostplayed:S=""}=t,{mostplayedrounds:D=""}=t,{lastplayed:F="false"}=t,{lastplayedperiod:A="Last30Days"}=t,{favorites:M=""}=t,{desktopoffset:T="0"}=t,{mobileoffset:E="0"}=t,{alternativesearch:N="false"}=t,{containermaxwidth:O=""}=t,{haspanicbutton:H="false"}=t,{activecategory:L="LOBBY"}=t,{actionevent:j="CategoryChange"}=t,{livecasino:U="false"}=t,{playforfun:z="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:Y="false"}=t,{visiblegames:V="10"}=t,{integratedgameframedesktop:Z="false"}=t,{integratedgameframemobile:J="false"}=t,{gamepagemodalurl:K="false"}=t,{positionwinnerswidget:X=""}=t,{tabsorder:q=""}=t,{enableautoscroll:Q=""}=t,{istopavailable:ee=""}=t,{isrecentavailable:te=""}=t,{periodrecent:ne=""}=t,{periodtop:ie=""}=t,{numberusersrecent:ae=""}=t,{numberuserstop:re=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:se=""}=t,{positionjackpotbanners:le=""}=t,{caticon0:ce=""}=t,{caticon1:de=""}=t,{caticon2:ue=""}=t,{caticon3:me=""}=t,{backgroundsrc:he=""}=t,{backgroundsrcmobile:ge=""}=t,{titlelogopath:pe=""}=t,{iconlabels:fe=""}=t,{visualstructure:ye=""}=t,{showsubgroups:be="false"}=t,{positioncollections:ve=""}=t,{type:we=""}=t,{titletype:$e=""}=t,{collectionprovidersgamenames:xe=""}=t,{randombuttonicon:Ce=""}=t,{filteredrandomgamecategories:ke=""}=t,G=!1,_=!1,P="Loading, please wait ...",I="",Se=window.navigator.userAgent,R=0,Fe=!1;var Me,Te;({withLocale:Me,translations:Te}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(Ti.set(Te),We.set(Me))});const Ee=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(Fe=e.data.scrollTop)&&(R||n(63,R="PC"===Ve(Se)?parseInt(T):parseInt(E)),window.scrollTo({top:R}));break;case"UserSessionID":n(62,I=e.data.session),e.data.userID;break;case"CategoryChange":n(1,L=e.data.itemId)}};return Ue(()=>(window.addEventListener("message",Ee,!1),n(63,R="PC"===Ve(Se)?parseInt(T):parseInt(E)),()=>{window.removeEventListener("message",Ee)})),e.$$set=e=>{"endpoint"in e&&n(64,s=e.endpoint),"cmsendpoint"in e&&n(65,l=e.cmsendpoint),"datasource"in e&&n(66,c=e.datasource),"lang"in e&&n(67,d=e.lang),"session"in e&&n(68,u=e.session),"userid"in e&&n(2,m=e.userid),"opsession"in e&&n(69,h=e.opsession),"clientstyling"in e&&n(3,g=e.clientstyling),"clientstylingurl"in e&&n(4,p=e.clientstylingurl),"clockformat"in e&&n(5,f=e.clockformat),"lobbyid"in e&&n(6,y=e.lobbyid),"currency"in e&&n(0,b=e.currency),"filteredcategories"in e&&n(7,v=e.filteredcategories),"loginurl"in e&&n(70,w=e.loginurl),"registerurl"in e&&n(71,$=e.registerurl),"depositurl"in e&&n(72,x=e.depositurl),"loginevent"in e&&n(8,C=e.loginevent),"registerevent"in e&&n(9,k=e.registerevent),"depositevent"in e&&n(10,B=e.depositevent),"mostplayed"in e&&n(11,S=e.mostplayed),"mostplayedrounds"in e&&n(12,D=e.mostplayedrounds),"lastplayed"in e&&n(13,F=e.lastplayed),"lastplayedperiod"in e&&n(14,A=e.lastplayedperiod),"favorites"in e&&n(15,M=e.favorites),"desktopoffset"in e&&n(73,T=e.desktopoffset),"mobileoffset"in e&&n(74,E=e.mobileoffset),"alternativesearch"in e&&n(16,N=e.alternativesearch),"containermaxwidth"in e&&n(17,O=e.containermaxwidth),"haspanicbutton"in e&&n(18,H=e.haspanicbutton),"activecategory"in e&&n(1,L=e.activecategory),"actionevent"in e&&n(19,j=e.actionevent),"livecasino"in e&&n(20,U=e.livecasino),"playforfun"in e&&n(21,z=e.playforfun),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,Y=e.playrandomgame),"visiblegames"in e&&n(24,V=e.visiblegames),"integratedgameframedesktop"in e&&n(25,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,J=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,K=e.gamepagemodalurl),"positionwinnerswidget"in e&&n(28,X=e.positionwinnerswidget),"tabsorder"in e&&n(29,q=e.tabsorder),"enableautoscroll"in e&&n(30,Q=e.enableautoscroll),"istopavailable"in e&&n(31,ee=e.istopavailable),"isrecentavailable"in e&&n(32,te=e.isrecentavailable),"periodrecent"in e&&n(33,ne=e.periodrecent),"periodtop"in e&&n(34,ie=e.periodtop),"numberusersrecent"in e&&n(35,ae=e.numberusersrecent),"numberuserstop"in e&&n(36,re=e.numberuserstop),"amountlimit"in e&&n(37,oe=e.amountlimit),"defaultcurrency"in e&&n(38,se=e.defaultcurrency),"positionjackpotbanners"in e&&n(39,le=e.positionjackpotbanners),"caticon0"in e&&n(40,ce=e.caticon0),"caticon1"in e&&n(41,de=e.caticon1),"caticon2"in e&&n(42,ue=e.caticon2),"caticon3"in e&&n(43,me=e.caticon3),"backgroundsrc"in e&&n(44,he=e.backgroundsrc),"backgroundsrcmobile"in e&&n(45,ge=e.backgroundsrcmobile),"titlelogopath"in e&&n(46,pe=e.titlelogopath),"iconlabels"in e&&n(47,fe=e.iconlabels),"visualstructure"in e&&n(75,ye=e.visualstructure),"showsubgroups"in e&&n(48,be=e.showsubgroups),"positioncollections"in e&&n(49,ve=e.positioncollections),"type"in e&&n(50,we=e.type),"titletype"in e&&n(51,$e=e.titletype),"collectionprovidersgamenames"in e&&n(52,xe=e.collectionprovidersgamenames),"randombuttonicon"in e&&n(53,Ce=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(54,ke=e.filteredrandomgamecategories)},e.$$.update=()=>{if(32&e.$$.dirty[2]&&d&&qi(d),4&e.$$.dirty[0]|68&e.$$.dirty[2]&&u&&m&&s&&Xi(s,u).then(e=>{n(62,I=e.Guid),e.UserID,n(0,b=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),43008&e.$$.dirty[0]|52&e.$$.dirty[2]&&s&&c&&d&&S&&F&&M&&(s||(n(61,P="Endpoint is missing! Please provide a valid endpointURL."),n(60,_=!0),console.error(P)),c||(n(61,P="Datasource is missing! Please provide a valid datasource."),n(60,_=!0),console.error(P)),(!d||d.length<2)&&(n(61,P="Language is missing! Please provide a valid language (alpha2code)"),n(60,_=!0),console.error(P)),qi(d),n(56,i=s),n(57,a=c),n(58,r=d),n(60,_=!1)),128&e.$$.dirty[2]&&h&&n(62,I=h),8&e.$$.dirty[0]|16777216&e.$$.dirty[1]&&g&&o){let e=document.createElement("style");e.innerHTML=g,o.appendChild(e)}if(16&e.$$.dirty[0]|16777216&e.$$.dirty[1]&&p&&o){n(59,G=!0);let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(59,G=!1)},500))})}},[b,L,m,g,p,f,y,v,C,k,B,S,D,F,A,M,N,O,H,j,U,z,W,Y,V,Z,J,K,X,q,Q,ee,te,ne,ie,ae,re,oe,se,le,ce,de,ue,me,he,ge,pe,fe,be,ve,we,$e,xe,Ce,ke,o,i,a,r,G,_,P,I,R,s,l,c,d,u,h,w,$,x,T,E,ye,function(e){ze[e?"unshift":"push"](()=>{o=e,n(55,o)})}]}class Ec extends a{constructor(e){super(),this.shadowRoot.innerHTML='<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Tc,Fc,t,{endpoint:64,cmsendpoint:65,datasource:66,lang:67,session:68,userid:2,opsession:69,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,filteredcategories:7,loginurl:70,registerurl:71,depositurl:72,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,lastplayed:13,lastplayedperiod:14,favorites:15,desktopoffset:73,mobileoffset:74,alternativesearch:16,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,positionwinnerswidget:28,tabsorder:29,enableautoscroll:30,istopavailable:31,isrecentavailable:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:75,showsubgroups:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,randombuttonicon:53,filteredrandomgamecategories:54},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","cmsendpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","randombuttonicon","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[64]}set endpoint(e){this.$$set({endpoint:e}),f()}get cmsendpoint(){return this.$$.ctx[65]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get datasource(){return this.$$.ctx[66]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[67]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[68]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[69]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[7]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[70]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[71]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[72]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[13]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[14]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[73]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[74]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[16]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[28]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[29]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[30]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[31]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[32]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[75]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[48]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get randombuttonicon(){return this.$$.ctx[53]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[54]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Ec),Ec});
|
|
32
|
+
`},X,p,y,b,v,x,ne,k,F,S,M,T,E,L,G,_,ge,pe,function(e){Je[e?"unshift":"push"](()=>{a=e,o(19,a)})},()=>be($),()=>ye($),()=>be($),function(e){Je[e?"unshift":"push"](()=>{g=e,o(14,g)})},function(e){Je[e?"unshift":"push"](()=>{s=e,o(11,s)})}]}function ra(e,t,n){const i=e.slice();return i[77]=t[n],i[79]=n,i}function aa(e,t,n){const i=e.slice();return i[77]=t[n],i[80]=t,i[79]=n,i}function oa(e,t,n){const i=e.slice();return i[77]=t[n],i[79]=n,i}function sa(e){let n;function i(e){return e[17]?ua:e[27]?da:void 0}let r=i(e),a=r&&r(e);return{c(){n=he("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n,null)))},d(e){e&&me(n),a&&a.d()}}}function la(e){let n,i,r;function a(e){return e[21]?Ia:e[18].length?Ga:_a}let o=a(e),s=o(e);function l(e){return e[18]?Ba:Pa}let c=l(e),d=c(e);return{c(){n=he("div"),i=he("div"),s.c(),r=pe(),d.c(),fe(i,"class","CasinoGamesHeader Searched "+(Xe(e[32])?"CasinoGamesHeaderMobile":"")),fe(i,"part","CasinoGamesHeader Searched "+(Xe(e[32])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,i),s.m(i,null),de(n,r),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function ca(e){let n;function i(e){return e[23]?Na:Aa}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r!==(r=i(e))&&(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function da(n){let i,r,a,o,s,l="true"!==n[12]&&ma(n);function c(e){return e[15]?pa:e[30]?ga:ha}let d=c(n),u=d(n);return{c(){i=he("div"),l&&l.c(),r=pe(),a=he("ul"),u.c(),fe(a,"class",o=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"part",s=(0!=n[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(i,"class","CasinoGamesContainer"),fe(i,"part","CasinoGamesContainer")},m(e,t){ue(e,i,t),l&&l.m(i,null),de(i,r),de(i,a),u.m(a,null),n[52](a)},p(e,t){"true"!==e[12]?l?l.p(e,t):((l=ma(e)).c(),l.m(i,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(a,null))),1073741824&t[0]&&o!==(o=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(a,"class",o),1073741824&t[0]&&s!==(s=(0!=e[30].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(a,"part",s)},d(e){e&&me(i),l&&l.d(),u.d(),n[52](null)}}}function ua(e){let n,i,r="true"!==e[12]&&Fa(e);function a(e){return e[15]?Ea:0!==e[18].length?Ta:Ma}let o=a(e),s=o(e);return{c(){n=he("div"),r&&r.c(),i=pe(),s.c(),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,i),s.m(n,null)},p(e,t){"true"!==e[12]?r?r.p(e,t):((r=Fa(e)).c(),r.m(n,i)):r&&(r.d(1),r=null),o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),r&&r.d(),s.d()}}}function ma(n){let i,r,a,o,s,l,c,d,u=n[31]("gamesCategorySection.favorites")+"",m=n[30].items.length+"";return{c(){i=he("div"),r=he("h3"),a=ge(u),o=pe(),s=he("span"),l=ge("("),c=ge(m),d=ge(")"),fe(s,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),de(s,c),de(s,d),n[51](r)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.favorites")+"")&&ye(a,u),1073741824&t[0]&&m!==(m=e[30].items.length+"")&&ye(c,m)},d(e){e&&me(i),n[51](null)}}}function ha(e){let n,i,r=e[31]("gamesCategorySection.waiting")+"";return{c(){n=he("p"),i=ge(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.waiting")+"")&&ye(i,r)},d(e){e&&me(n)}}}function ga(t){let i,r=t[30].items,a=[];for(let e=0;e<r.length;e+=1)a[e]=ka(ra(t,r,e));let o=null;return r.length||(o=fa(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,i,n),o&&o.m(t,n)},p(t,n){if(2013270015&n[0]|7&n[1]){let e;for(r=t[30].items,e=0;e<r.length;e+=1){const o=ra(t,r,e);a[e]?a[e].p(o,n):(a[e]=ka(o),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=r.length,!r.length&&o?o.p(t,n):r.length?o&&(o.d(1),o=null):((o=fa(t)).c(),o.m(i.parentNode,i))}},d(e){S(a,e),e&&me(i),o&&o.d(e)}}}function pa(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function fa(e){let n,i,r,a,o,s,l,c,t,d,u=e[31]("gamesCategorySection.noFavoritesTitle")+"",m=(g=e,Xe(g[32])?ba:ya),h=m(e);var g;return{c(){n=he("p"),i=M("svg"),r=M("path"),a=pe(),o=he("span"),s=ge(u),l=pe(),h.c(),c=pe(),P(r,"fill","white"),fe(r,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","50px"),fe(i,"y","50px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(Xe(e[32])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(Xe(e[32])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(n,a),de(n,o),de(o,s),de(n,l),h.m(n,null),de(n,c)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),h.p(e,t)},d(e){e&&me(n),h.d()}}}function ya(e){let n,i,r=e[31]("gamesCategorySection.noFavorites")+"";return{c(){n=he("span"),i=ge(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noFavorites")+"")&&ye(i,r)},d(e){e&&me(n)}}}function ba(e){let n,i,r=e[31]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=he("span"),i=ge(r),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noFavoritesMobile")+"")&&ye(i,r)},d(e){e&&me(n)}}}function va(e){let n,i=e[77].gameModel.isFavorite&&wa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel.isFavorite?i?i.p(e,t):((i=wa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function wa(e){let n,i=function(e){let n,i,r;function a(e,t){return 1073741824&t[0]&&(i=null),(n=null==n?!!Xe(e[32]):n)?xa:(i=null==i?!!e[77].gameModel.platform.includes("PC"):i)?$a:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),r=c()},m(e,t){s&&s.m(e,t),ue(e,r,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&me(r)}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&me(n)}}}function $a(e){let n,i,r,a,o,s,l,c,d,u,m,h,g,p;return{c(){k(n=he("casino-game-thumbnail"),"class",i=""+(Ha+(e[77].cellSize||"1x1"))),k(n,"part",r=""+(Ha+(e[77].cellSize||"1x1"))),k(n,"session",e[2]),k(n,"userid",e[3]),k(n,"lang",e[1]),k(n,"favorites",e[4]),k(n,"gamethumbnail",a=e[77].gameModel.thumbnail),k(n,"gamename",o=e[77].gameModel.name),k(n,"gamevendor",s=e[77].gameModel.vendor.name),k(n,"gameisnew",l=e[77].gameModel.isNew),k(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),k(n,"gamecellsize",d=e[77].cellSize),k(n,"gameid",u=e[77].gameModel.id),k(n,"gamefunmode",m=e[77].gameModel.hasFunMode),k(n,"gamefavorite",h=e[77].gameModel.isFavorite),k(n,"showfavoredcategory",e[27]),k(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),k(n,"visibilityconnect",e[29]),k(n,"currency",e[7]),k(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),k(n,"clientstyling",e[5]),k(n,"clientstylingurl",e[6]),k(n,"endpoint",e[0]),k(n,"livecasino",e[8]),k(n,"gamepagemodalurl",e[9]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&i!==(i=""+(Ha+(e[77].cellSize||"1x1")))&&k(n,"class",i),1073741824&t[0]&&r!==(r=""+(Ha+(e[77].cellSize||"1x1")))&&k(n,"part",r),4&t[0]&&k(n,"session",e[2]),8&t[0]&&k(n,"userid",e[3]),2&t[0]&&k(n,"lang",e[1]),16&t[0]&&k(n,"favorites",e[4]),1073741824&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&k(n,"gamethumbnail",a),1073741824&t[0]&&o!==(o=e[77].gameModel.name)&&k(n,"gamename",o),1073741824&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&k(n,"gamevendor",s),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&k(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&k(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&k(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&k(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&k(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&k(n,"gamefavorite",h),134217728&t[0]&&k(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&k(n,"connectlive",g),536870912&t[0]&&k(n,"visibilityconnect",e[29]),128&t[0]&&k(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&k(n,"livelobbyendpoint",p),32&t[0]&&k(n,"clientstyling",e[5]),64&t[0]&&k(n,"clientstylingurl",e[6]),1&t[0]&&k(n,"endpoint",e[0]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"gamepagemodalurl",e[9]),1024&t[0]&&k(n,"integratedgameframedesktop",e[10]),2048&t[0]&&k(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function xa(e){let n,i=e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"),r=i&&Ca(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(i=1073741824&t[0]?e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"):i)?r?r.p(e,t):((r=Ca(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Ca(e){let n,i,r,a,o,s,l,c,d,u,m,h,g,p;return{c(){k(n=he("casino-game-thumbnail"),"class",i=""+(Ha+(e[77].cellSize||"1x1"))),k(n,"part",r=""+(Ha+(e[77].cellSize||"1x1"))),k(n,"session",e[2]),k(n,"userid",e[3]),k(n,"lang",e[1]),k(n,"favorites",e[4]),k(n,"gamethumbnail",a=e[77].gameModel.thumbnail),k(n,"gamename",o=e[77].gameModel.name),k(n,"gamevendor",s=e[77].gameModel.vendor.name),k(n,"gameisnew",l=e[77].gameModel.isNew),k(n,"gametag",c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags)),k(n,"gamecellsize",d=e[77].cellSize),k(n,"gameid",u=e[77].gameModel.id),k(n,"gamefunmode",m=e[77].gameModel.hasFunMode),k(n,"gamefavorite",h=e[77].gameModel.isFavorite),k(n,"showfavoredcategory",e[27]),k(n,"connectlive",g=1==e[28][e[77].id]?"connect":"disconnect"),k(n,"visibilityconnect",e[29]),k(n,"currency",e[7]),k(n,"livelobbyendpoint",p=e[77].gameModel.details?e[77].gameModel.launchUrl:""),k(n,"clientstyling",e[5]),k(n,"clientstylingurl",e[6]),k(n,"endpoint",e[0]),k(n,"livecasino",e[8]),k(n,"gamepagemodalurl",e[9]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){1073741824&t[0]&&i!==(i=""+(Ha+(e[77].cellSize||"1x1")))&&k(n,"class",i),1073741824&t[0]&&r!==(r=""+(Ha+(e[77].cellSize||"1x1")))&&k(n,"part",r),4&t[0]&&k(n,"session",e[2]),8&t[0]&&k(n,"userid",e[3]),2&t[0]&&k(n,"lang",e[1]),16&t[0]&&k(n,"favorites",e[4]),1073741824&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&k(n,"gamethumbnail",a),1073741824&t[0]&&o!==(o=e[77].gameModel.name)&&k(n,"gamename",o),1073741824&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&k(n,"gamevendor",s),1073741824&t[0]&&l!==(l=e[77].gameModel.isNew)&&k(n,"gameisnew",l),1073741824&t[0]&&c!==(c=0<e[77].gameModel.advancedTags?.length&&e[33](e[77].advancedTags))&&k(n,"gametag",c),1073741824&t[0]&&d!==(d=e[77].cellSize)&&k(n,"gamecellsize",d),1073741824&t[0]&&u!==(u=e[77].gameModel.id)&&k(n,"gameid",u),1073741824&t[0]&&m!==(m=e[77].gameModel.hasFunMode)&&k(n,"gamefunmode",m),1073741824&t[0]&&h!==(h=e[77].gameModel.isFavorite)&&k(n,"gamefavorite",h),134217728&t[0]&&k(n,"showfavoredcategory",e[27]),1342177280&t[0]&&g!==(g=1==e[28][e[77].id]?"connect":"disconnect")&&k(n,"connectlive",g),536870912&t[0]&&k(n,"visibilityconnect",e[29]),128&t[0]&&k(n,"currency",e[7]),1073741824&t[0]&&p!==(p=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&k(n,"livelobbyendpoint",p),32&t[0]&&k(n,"clientstyling",e[5]),64&t[0]&&k(n,"clientstylingurl",e[6]),1&t[0]&&k(n,"endpoint",e[0]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"gamepagemodalurl",e[9]),1024&t[0]&&k(n,"integratedgameframedesktop",e[10]),2048&t[0]&&k(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function ka(e){let n,i=e[77].gameModel&&va(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[77].gameModel?i?i.p(e,t):((i=va(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function Fa(n){let i,r,a,o,s=n[17].name+"",l=n[19]&&Sa(n);return{c(){i=he("div"),r=he("h3"),a=ge(s),o=pe(),l&&l.c(),fe(r,"class","CategoryName"),fe(r,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[47](r),de(i,o),l&&l.m(i,null)},p(e,t){131072&t[0]&&s!==(s=e[17].name+"")&&ye(a,s),e[19]?l?l.p(e,t):((l=Sa(e)).c(),l.m(i,null)):l&&(l.d(1),l=null)},d(e){e&&me(i),n[47](null),l&&l.d()}}}function Sa(n){let i,r,a,o,s,l,c,d,u=n[31]("gamesCategorySection.viewAll")+"",m=n[17].games.total+"";return{c(){i=he("a"),r=he("span"),a=ge(u),o=ge(" ("),s=ge(m),l=ge(")"),fe(r,"class","CategoryLoadMore"),fe(r,"part","CategoryLoadMore"),fe(i,"class","CategoryNameLink"),fe(i,"part","CategoryNameLink")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(r,l),c||(d=V(i,"click",n[48]),c=!0)},p(e,t){1&t[1]&&u!==(u=e[31]("gamesCategorySection.viewAll")+"")&&ye(a,u),131072&t[0]&&m!==(m=e[17].games.total+"")&&ye(s,m)},d(e){e&&me(i),c=!1,d()}}}function Ma(e){let n;return{c(){(n=he("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Ta(n){let i,e,r,a=n[18],o=[];for(let e=0;e<a.length;e+=1)o[e]=La(aa(n,a,e));return{c(){i=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class",e=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(i,"part",r=(0===n[30].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null);n[50](i)},p(t,n){if(805588991&n[0]|4&n[1]){let e;for(a=t[18],e=0;e<a.length;e+=1){const r=aa(t,a,e);o[e]?o[e].p(r,n):(o[e]=La(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}1207959552&n[0]&&e!==(e=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"class",e),1207959552&n[0]&&r!==(r=(0===t[30].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(i,"part",r)},d(e){e&&me(i),S(o,e),n[50](null)}}}function Ea(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function La(e){let n,i=function(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y=n[79];const b=()=>n[49](i,y),v=()=>n[49](null,y);return{c(){k(i=he("casino-game-thumbnail"),"session",n[2]),k(i,"userid",n[3]),k(i,"lang",n[1]),k(i,"class",r=""+(Ha+(n[77].cellSize||"1x1"))),k(i,"part",a=""+(Ha+(n[77].cellSize||"1x1"))),k(i,"favorites",n[4]),k(i,"gamethumbnail",o=n[77].thumbnail),k(i,"gamename",s=n[77].name),k(i,"gamevendor",l=n[77].vendor.name),k(i,"gameisnew",c=n[77].isNew),k(i,"gametag",d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags)),k(i,"gamecellsize",u=n[77].cellSize),k(i,"gameid",m=n[77].id),k(i,"gamefunmode",h=n[77].hasFunMode),k(i,"gamefavorite",g=n[77].isFavorite),k(i,"connectlive",p=1==n[28][n[77].id]?"connect":"disconnect"),k(i,"visibilityconnect",n[29]),k(i,"currency",n[7]),k(i,"livelobbyendpoint",f=n[77].details?n[77].href:""),k(i,"clientstyling",n[5]),k(i,"clientstylingurl",n[6]),k(i,"endpoint",n[0]),k(i,"livecasino",n[8]),k(i,"gamepagemodalurl",n[9]),k(i,"integratedgameframedesktop",n[10]),k(i,"integratedgameframemobile",n[11])},m(e,t){ue(e,i,t),b()},p(e,t){n=e,4&t[0]&&k(i,"session",n[2]),8&t[0]&&k(i,"userid",n[3]),2&t[0]&&k(i,"lang",n[1]),262144&t[0]&&r!==(r=""+(Ha+(n[77].cellSize||"1x1")))&&k(i,"class",r),262144&t[0]&&a!==(a=""+(Ha+(n[77].cellSize||"1x1")))&&k(i,"part",a),16&t[0]&&k(i,"favorites",n[4]),262144&t[0]&&o!==(o=n[77].thumbnail)&&k(i,"gamethumbnail",o),262144&t[0]&&s!==(s=n[77].name)&&k(i,"gamename",s),262144&t[0]&&l!==(l=n[77].vendor.name)&&k(i,"gamevendor",l),262144&t[0]&&c!==(c=n[77].isNew)&&k(i,"gameisnew",c),262144&t[0]&&d!==(d=0<n[77].advancedTags?.length&&n[33](n[77].advancedTags))&&k(i,"gametag",d),262144&t[0]&&u!==(u=n[77].cellSize)&&k(i,"gamecellsize",u),262144&t[0]&&m!==(m=n[77].id)&&k(i,"gameid",m),262144&t[0]&&h!==(h=n[77].hasFunMode)&&k(i,"gamefunmode",h),262144&t[0]&&g!==(g=n[77].isFavorite)&&k(i,"gamefavorite",g),268697600&t[0]&&p!==(p=1==n[28][n[77].id]?"connect":"disconnect")&&k(i,"connectlive",p),536870912&t[0]&&k(i,"visibilityconnect",n[29]),128&t[0]&&k(i,"currency",n[7]),262144&t[0]&&f!==(f=n[77].details?n[77].href:"")&&k(i,"livelobbyendpoint",f),32&t[0]&&k(i,"clientstyling",n[5]),64&t[0]&&k(i,"clientstylingurl",n[6]),1&t[0]&&k(i,"endpoint",n[0]),256&t[0]&&k(i,"livecasino",n[8]),512&t[0]&&k(i,"gamepagemodalurl",n[9]),1024&t[0]&&k(i,"integratedgameframedesktop",n[10]),2048&t[0]&&k(i,"integratedgameframemobile",n[11]),y!==n[79]&&(v(),y=n[79],b())},d(e){e&&me(i),v()}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&me(n)}}}function Ga(e){let n,i,r=e[31]("gamesCategorySection.searchedItems")+"";return{c(){n=he("h3"),i=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.searchedItems")+"")&&ye(i,r)},d(e){e&&me(n)}}}function _a(e){let n,i,r=e[31]("gamesCategorySection.noResults")+"";return{c(){n=he("h3"),i=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.noResults")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Ia(e){let n,i,r=e[31]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=he("h3"),i=ge(r),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&r!==(r=e[31]("gamesCategorySection.recentSearchedItems")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Pa(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Ba(t){let i,r,a=!t[24]&&Ra(t),o=t[18],s=[];for(let e=0;e<o.length;e+=1)s[e]=Da(oa(t,o,e));return{c(){a&&a.c(),i=pe(),r=he("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(r,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,i,t),ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(t[24]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ra(t)).c(),a.m(i.parentNode,i)),4460543&n[0]|4&n[1]){let e;for(o=t[18],e=0;e<o.length;e+=1){const a=oa(t,o,e);s[e]?s[e].p(a,n):(s[e]=Da(a),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&me(i),e&&me(r),S(s,e)}}}function Ra(e){let n,i,t,r,a=e[31]("gamesCategorySection.noRecentSearch")+"";return{c(){n=he("p"),i=ge(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Xe(e[32])?"NoRecentSearchesMobile":"")),fe(n,"part",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Xe(e[32])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){1&t[1]&&a!==(a=e[31]("gamesCategorySection.noRecentSearch")+"")&&ye(i,a)},d(e){e&&me(n)}}}function Da(e){let n,i,r,a,o,s,l,c,d,u,m,h,g;return{c(){k(n=he("casino-game-thumbnail"),"class",i=""+(Ha+(e[77].cellSize||"1x1"))),k(n,"part",r=""+(Ha+(e[77].cellSize||"1x1"))),k(n,"session",e[2]),k(n,"userid",e[3]),k(n,"lang",e[1]),k(n,"searchitem",e[22]),k(n,"favorites",e[4]),k(n,"gamethumbnail",a=e[77].thumbnail),k(n,"gamename",o=e[77].name),k(n,"gamevendor",s=e[77].vendor.name),k(n,"gameisnew",l=e[77].isNew),k(n,"gametag",c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags)),k(n,"gamecellsize",d=e[77].cellSize),k(n,"gameid",u=e[77].id),k(n,"gamefunmode",m=e[77].hasFunMode),k(n,"gamefavorite",h=e[77].isFavorite),k(n,"currency",e[7]),k(n,"livelobbyendpoint",g=e[77].details?e[77].href:""),k(n,"clientstyling",e[5]),k(n,"clientstylingurl",e[6]),k(n,"endpoint",e[0]),k(n,"livecasino",e[8]),k(n,"gamepagemodalurl",e[9]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){262144&t[0]&&i!==(i=""+(Ha+(e[77].cellSize||"1x1")))&&k(n,"class",i),262144&t[0]&&r!==(r=""+(Ha+(e[77].cellSize||"1x1")))&&k(n,"part",r),4&t[0]&&k(n,"session",e[2]),8&t[0]&&k(n,"userid",e[3]),2&t[0]&&k(n,"lang",e[1]),4194304&t[0]&&k(n,"searchitem",e[22]),16&t[0]&&k(n,"favorites",e[4]),262144&t[0]&&a!==(a=e[77].thumbnail)&&k(n,"gamethumbnail",a),262144&t[0]&&o!==(o=e[77].name)&&k(n,"gamename",o),262144&t[0]&&s!==(s=e[77].vendor.name)&&k(n,"gamevendor",s),262144&t[0]&&l!==(l=e[77].isNew)&&k(n,"gameisnew",l),262144&t[0]&&c!==(c=0<e[77].advancedTags?.length&&e[33](e[77].advancedTags))&&k(n,"gametag",c),262144&t[0]&&d!==(d=e[77].cellSize)&&k(n,"gamecellsize",d),262144&t[0]&&u!==(u=e[77].id)&&k(n,"gameid",u),262144&t[0]&&m!==(m=e[77].hasFunMode)&&k(n,"gamefunmode",m),262144&t[0]&&h!==(h=e[77].isFavorite)&&k(n,"gamefavorite",h),128&t[0]&&k(n,"currency",e[7]),262144&t[0]&&g!==(g=e[77].details?e[77].href:"")&&k(n,"livelobbyendpoint",g),32&t[0]&&k(n,"clientstyling",e[5]),64&t[0]&&k(n,"clientstylingurl",e[6]),1&t[0]&&k(n,"endpoint",e[0]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"gamepagemodalurl",e[9]),1024&t[0]&&k(n,"integratedgameframedesktop",e[10]),2048&t[0]&&k(n,"integratedgameframemobile",e[11])},d(e){e&&me(n)}}}function Aa(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Na(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Oa(n){let i;function r(e){return e[16]?ca:e[20]?la:sa}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W,fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[53](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[53](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ia,qr,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const Ha="game-tile-";function ja(e,t,s){let R;Qe(e,Ki,e=>s(31,R=e));let a,o,l,n,D,i,c,r,d,u,{categoryindex:A=""}=t,{endpoint:m=""}=t,{datasource:h=""}=t,{lang:g=""}=t,{session:N=""}=t,{userid:O=""}=t,{favorites:p=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:H=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:z=""}=t,{gamepagemodalurl:W="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{casinomygames:w="false"}=t,{once:Z=!0}=t,{top:J=0}=t,{bottom:K=0}=t,{left:X=0}=t,{right:q=0}=t,$=!0,x=!1,C=!0,Q=window.navigator.userAgent,k=[],F=!0,S=40,M=!1,T=!1,ee=!1,E=!1,L=!1,te=!0,G=!1,ne=!1,_=new Array(1e4),I={},ie="",P={items:[],count:0,name:""},re=(Object.keys(kr).forEach(e=>{Cr(e,kr[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&se(v),s(28,I[t]=1,I)):s(28,I[t]=0,I)})}));const ae=(e,i,r,t=0)=>{let n,a="",o=(s(15,$=!0),a=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${m}/casino/groups/${h}/${n}/subGroups`)):new URL(`${m}/casino/groups/${h}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",qe(Q)),a.searchParams.append("pagination",`games(offset=${i},limit=${r})`),a.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===C&&!1===G){let t="";s(23,L=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(23,L=!1);fetch(a).then(e=>e.json()).then(e=>{s(15,$=!1),1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),s(46,u=!0),s(16,x=!1),D=e.games.total,t(e)},e=>{s(16,x=!0),console.error(e),n(e)})})},oe=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==v&&(s(20,M=!1),C=!1,s(19,F=!1),s(18,k=t.data.mostPlayedGames),s(17,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),s(15,$=!1);break;case"LastPlayedData":"LASTPLAYED"==v&&(s(20,M=!1),C=!1,s(19,F=!1),s(18,k=t.data.lastPlayedGames),s(17,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),s(15,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(20,M=!0),s(21,T=!0),0<t.data.searchData.length?(s(18,k=t.data.searchData),s(24,te=!0),k&&k.forEach(e=>{e.isFavorite=B(e.id)})):(s(18,k=[]),s(24,te=!1));break;case"OutOfRecentSearches":s(20,M=!1),s(21,T=!1);break;case"SearchData":s(20,M=!0),s(21,T=!1),s(18,k=t.data.searchData.items||[]),s(22,E=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+v:s(20,M=!1),C=!0,s(19,F=!0),s(22,E=!1),ne=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),ae(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(17,l=e),s(18,k=l.games.items),k&&k.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":s(20,M=!1),C=!1,s(22,E=!1),ne=!0,s(35,v=t.data.itemId),"MOSTPLAYED"!==v&&s(19,F=!1),"true"!==w&&ae(0,0,S).then(e=>{s(17,l=e),l.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(18,k=l.games.items),s(19,F=!1),k.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":C=!0,s(18,k=l.games.items),k.forEach(e=>{e.isFavorite=B(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;G?C||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;C=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(30,P.items=(n=e,P.items,r=window.navigator.userAgent,Xe(r)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),P),s(30,P.name="Favorites",P),s(27,G=!0),s(15,$=!1));break;case"UserSessionID":if(a=t.data.session,o=t.data.userID,"true"==p&&o&&o.length&&a&&0<a.length){var i=`${m}/player/${o}/favorites/`;r=a;s(15,$=!0);let e={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(i,e).then(e=>e.json()).then(e=>{s(15,$=!1),c=e?e.items:[],k.forEach(e=>{e.isFavorite=B(e.id)});e=k;s(18,k=void 0),s(18,k=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,r},se=e=>{(S+=1)<=D&&ae(0,0,S).then(e=>{s(17,l=e),l.games.items.length>k.length&&(s(18,k=l.games.items),k.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!c&&-1!==c.findIndex(e=>e.id==t),le=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return Ze(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(29,ie="disconnect"):s(29,ie="connect")}),window.addEventListener("message",oe,!1),"FAVORITES"===v&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",oe),window.removeEventListener("visibilitychange",oe)})),e.$$set=e=>{"categoryindex"in e&&s(36,A=e.categoryindex),"endpoint"in e&&s(0,m=e.endpoint),"datasource"in e&&s(37,h=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,N=e.session),"userid"in e&&s(3,O=e.userid),"favorites"in e&&s(4,p=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"translationurl"in e&&s(38,b=e.translationurl),"currency"in e&&s(7,H=e.currency),"categoryid"in e&&s(35,v=e.categoryid),"categorygames"in e&&s(39,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(40,z=e.visiblegames),"gamepagemodalurl"in e&&s(9,W=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"casinomygames"in e&&s(12,w=e.casinomygames),"once"in e&&s(41,Z=e.once),"top"in e&&s(42,J=e.top),"bottom"in e&&s(43,K=e.bottom),"left"in e&&s(44,X=e.left),"right"in e&&s(45,q=e.right)},e.$$.update=()=>{if(16384&e.$$.dirty[0]|32768&e.$$.dirty[1]&&u&&_&&ne&&_.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),2&e.$$.dirty[0]|16&e.$$.dirty[1]&&g&&v)switch(v){case"FAVORITES":s(27,G=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&s(27,G=!1)}if(128&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Cr(e,t[e])})}).catch(e=>{console.log(e)}),8224&e.$$.dirty[0]&&f&&r){let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)}if(8256&e.$$.dirty[0]&&y&&r){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[m,g,N,O,p,f,y,H,U,W,Y,V,w,r,_,$,x,l,k,F,M,T,E,L,te,n,i,G,I,ie,P,R,Q,i=>{if(0===(null==i?void 0:i.length))return"";let r,a,o=99999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Mr(e).diff(s)<o&&(o=Mr(e).diff(s),a=t),Mr(s).isAfter(n)&&Mr(s).isBefore(e)&&(r=i[a].name)}),r},le,v,A,h,b,j,z,Z,J,K,X,q,u,function(e){Je[e?"unshift":"push"](()=>{i=e,s(26,i)})},e=>le(l.id),function(e,t){Je[e?"unshift":"push"](()=>{_[t]=e,s(14,_)})},function(e){Je[e?"unshift":"push"](()=>{n=e,s(25,n)})},function(e){Je[e?"unshift":"push"](()=>{i=e,s(26,i)})},function(e){Je[e?"unshift":"push"](()=>{n=e,s(25,n)})},function(e){Je[e?"unshift":"push"](()=>{r=e,s(13,r)})}]}function Ua(e,t){Li(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ja,Oa,t,{categoryindex:36,endpoint:0,datasource:37,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:38,currency:7,categoryid:35,categorygames:39,livecasino:8,visiblegames:40,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,casinomygames:12,once:41,top:42,bottom:43,left:44,right:45},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[36]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[37]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[35]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[39]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[40]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get casinomygames(){return this.$$.ctx[12]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get once(){return this.$$.ctx[41]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[42]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[43]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[44]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[45]}set right(e){this.$$set({right:e}),f()}});const za={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Wa(e,t,n){const i=e.slice();return i[34]=t[n],i[36]=n,i}function Ya(n){let i,r,a,o,s,l,c,d=!n[7]&&Va(n),u=n[7]&&Ja(n);return{c(){i=he("div"),r=he("div"),(a=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=pe(),d&&d.c(),s=pe(),u&&u.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(r,"class","ModalContainer"),fe(r,"part","ModalContainer"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),d&&d.m(r,null),de(r,s),u&&u.m(r,null),l||(c=V(a,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Va(e)).c(),d.m(r,s)),e[7]?u?u.p(e,t):((u=Ja(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&me(i),d&&d.d(),u&&u.d(),l=!1,c()}}}function Va(t){let n,i,r,a,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Za(Wa(t,l,e));return{c(){n=he("div"),i=he("main"),r=he("div");for(let e=0;e<c.length;e+=1)c[e].c();a=pe(),o=he("p"),s=ge(e),fe(r,"class","items"),fe(r,"part","items"),P(r,"transform","translateY("+t[6]+"px)"),fe(i,"class","RandomGamesSliderWrapper"),fe(i,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,r);for(let e=0;e<c.length;e+=1)c[e].m(r,null);de(n,a),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var i=Wa(t,l,e);c[e]?c[e].p(i,n):(c[e]=Za(i),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&P(r,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),S(c,e)}}}function Za(e){let n,i,r,a,o,s;return{c(){n=he("div"),i=he("img"),s=pe(),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,r=e[34].thumbnail)||fe(i,"src",r),fe(i,"alt",a=e[34].name),fe(i,"title",o=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,i),de(n,s)},p(e,t){16&t[0]&&!ce(i.src,r=e[34].thumbnail)&&fe(i,"src",r),16&t[0]&&a!==(a=e[34].name)&&fe(i,"alt",a),16&t[0]&&o!==(o=e[34].name)&&fe(i,"title",o)},d(e){e&&me(n)}}}function Ja(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C=n[3].name+"",k=n[3].vendor.name+"",F=n[8]("randomGame.playNowRandomGame")+"";return{c(){i=he("div"),r=he("div"),a=he("img"),c=pe(),(d=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=pe(),m=he("div"),h=he("p"),g=ge(C),p=pe(),f=he("p"),y=ge(k),b=pe(),v=he("button"),w=ge(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[3].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[3].name),fe(a,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(r,"class","item"),fe(r,"part","item"),fe(h,"class","RandomGameTitle"),fe(h,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(m,"part","RandomGameDetails"),fe(i,"class","RandomGameWrapper"),fe(i,"part","RandomGameWrapper")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,c),de(r,d),de(i,u),de(i,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(m,b),de(m,v),de(v,w),$||(x=[V(d,"click",n[20]),V(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3].thumbnail)&&fe(a,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(a,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(a,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(g,C),8&t[0]&&k!==(k=e[3].vendor.name+"")&&ye(y,k),256&t[0]&&F!==(F=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&me(i),$=!1,Y(x)}}}function Ka(e){let n,i,r=e[8]("randomGame.playRandomGame")+"";return{c(){n=he("span"),i=ge(r),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&r!==(r=e[8]("randomGame.playRandomGame")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Xa(e){let n,i;return{c(){n=he("span"),i=ge(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2&t[0]&&ye(i,e[1])},d(e){e&&me(n)}}}function qa(n){let i,r,a,o,s,l,c,d,u=n[5]&&Ya(n);function m(e){return e[1]?Xa:e[1]?void 0:Ka}let h=m(n),g=h&&h(n);return{c(){i=he("div"),u&&u.c(),r=pe(),a=he("div"),o=he("button"),g&&g.c(),s=pe(),l=he("span"),this.c=W,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(a,"class","RandomButtonWrapper"),fe(a,"part","RandomButtonWrapper"),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),u&&u.m(i,null),de(i,r),de(i,a),de(a,o),g&&g.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](i),c||(d=V(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Ya(e)).c(),u.m(i,r)):u&&(u.d(1),u=null),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:W,o:W,d(e){e&&me(i),u&&u.d(),g&&g.d(),n[23](null),c=!1,d()}}}function Qa(t,e,n){let i;Qe(t,Ki,e=>n(8,i=e));let r,a,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{filteredrandomgamecategories:p=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var C,k;({withLocale:C,translations:k}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(k),Ke.set(C))}),Object.keys(za).forEach(e=>{Ua(e,za[e])});const F=()=>{n(4,r=M(r)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},S=e=>{if(p)for(;F(),!p.includes(y.vendor.name););else F();let t=setInterval(()=>{n(6,v-=75),20==++w&&(n(7,$=!0),clearInterval(t))},150);e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},M=e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e},T=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,m=e.translationurl),"clientstyling"in e&&n(17,h=e.clientstyling),"clientstylingurl"in e&&n(18,g=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,p=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,Ke.set(e)),65536&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ua(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",qe(x)),e.searchParams.append("datasource",s),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,r=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&h&&a){let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)}if(262148&t.$$.dirty[0]&&g&&a){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[d,u,a,y,r,b,v,$,i,S,T,()=>{n(5,b=!1)},o,s,l,c,m,h,g,p,()=>S(!0),()=>T(),()=>S(),function(e){Je[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function eo(e,t){Li(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;transition:transform 400ms ease-in-out}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qa,qa,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const to={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function no(e,t,n){const i=e.slice();return i[61]=t[n],i}function io(e,t,n){const i=e.slice();return i[64]=t[n],i}function ro(n){let r,i,a,o,s,l,c,d,e,u,m,h,g,p,f,y,b,v,w,$,x=n[14],C=[];for(let e=0;e<x.length;e+=1)C[e]=lo(io(n,x,e));let k=n[8],F=[];for(let e=0;e<k.length;e+=1)F[e]=co(no(n,k,e));return{c(){r=he("div"),i=he("div"),a=he("div");for(let e=0;e<C.length;e+=1)C[e].c();o=pe(),s=he("div"),l=he("button"),c=M("svg"),d=M("path"),u=pe(),m=he("button"),h=M("svg"),g=M("path"),y=pe(),b=he("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(g,"style",p=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(g,"id","Path_36"),fe(g,"data-name","Path 36"),fe(g,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(g,"transform","translate(0 24.656) rotate(-90)"),fe(g,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(i,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(r,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a);for(let e=0;e<C.length;e+=1)C[e].m(a,null);de(i,o),de(i,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,h),de(h,g),de(r,y),de(r,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[41](b),w||($=[V(l,"click",n[38]),V(m,"click",n[39])],w=!0)},p(t,n){if(114819&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var i=io(t,x,e);C[e]?C[e].p(i,n):(C[e]=lo(i),C[e].c(),C[e].m(a,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=x.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&p!==(p=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(g,"style",p),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),436492&n[0]){let e;for(k=t[8],e=0;e<k.length;e+=1){const a=no(t,k,e);F[e]?F[e].p(a,n):(F[e]=co(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=k.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&me(r),S(C,e),S(F,e),n[41](null),w=!1,Y($)}}}function ao(e){let n;return{c(){(n=he("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function oo(n){let i,r,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){i=he("button"),r=ge(l),fe(i,"class",a="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=V(i,"click",n[36]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(r,l),129&t[0]&&a!==(a="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(i,"class",a)},d(e){e&&me(i),o=!1,s()}}}function so(n){let i,r,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){i=he("button"),r=ge(c),a=pe(),fe(i,"class",o="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),de(i,a),s||(l=V(i,"click",n[37]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(r,c),130&t[0]&&o!==(o="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(i,"class",o)},d(e){e&&me(i),s=!1,l()}}}function lo(e){let n,i,r="recent"==e[64]&&oo(e),a="top"==e[64]&&so(e);return{c(){r&&r.c(),n=pe(),a&&a.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,i,t)},p(e,t){"recent"==e[64]?r?r.p(e,t):((r=oo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[64]?a?a.p(e,t):((a=so(e)).c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){r&&r.d(e),e&&me(n),a&&a.d(e),e&&me(i)}}}function co(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,F,S,M=n[61].gameName+"",T=n[17](n[61].username)+"",E=n[15]("Translations.won")+"",L=n[61].specifiedCurrencyAmount.toFixed(2)+"",G=(n[11]?n[3]:n[2])+"";function _(){return n[40](n[61])}return{c(){i=he("div"),r=he("div"),a=he("img"),l=pe(),c=he("p"),d=ge(M),u=pe(),m=he("p"),h=ge(T),g=pe(),p=he("p"),f=ge(E),y=pe(),b=he("p"),v=ge(L),w=pe(),$=he("span"),x=ge(G),C=pe(),ce(a.src,o=n[61]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[61]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(p,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(i,"class",k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,l),de(r,c),de(c,d),de(r,u),de(r,m),de(m,h),de(r,g),de(r,p),de(p,f),de(r,y),de(r,b),de(b,v),de(b,w),de(b,$),de($,x),de(i,C),F||(S=V(a,"click",_),F=!0)},p(e,t){n=e,256&t[0]&&!ce(a.src,o=n[61]?.gameModel?.thumbnail)&&fe(a,"src",o),256&t[0]&&s!==(s=n[61]?.gameModel?.thumbnail)&&fe(a,"alt",s),256&t[0]&&M!==(M=n[61].gameName+"")&&ye(d,M),256&t[0]&&T!==(T=n[17](n[61].username)+"")&&ye(h,T),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),256&t[0]&&L!==(L=n[61].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,L),2060&t[0]&&G!==(G=(n[11]?n[3]:n[2])+"")&&ye(x,G),8192&t[0]&&k!==(k="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(i,"class",k)},d(e){e&&me(i),F=!1,S()}}}function uo(n){let i;function r(e){return e[12]?ao:ro}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[42](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[42](null)}}}function mo(t,e,i){let n;Qe(t,Ki,e=>i(15,n=e));let r,a,R,o,D,s,A,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:h=""}=e,{periodrecent:g="Today"}=e,{periodtop:p="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:v="All"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:C=""}=e,{usercurrency:k=""}=e,{clientstyling:F=""}=e,{clientstylingurl:S=""}=e,{enableautoscroll:M=""}=e,{tabsorder:T=""}=e,{translationurl:E=""}=e,L=[],G=0,_=0,N=window.navigator.userAgent,O=!0,I=!1;Object.keys(to).forEach(e=>{eo(e,to[e])});const H=()=>{const e=new URL(`${u}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?f:y),e.searchParams.append("specifiedCurrency",d),e.searchParams.append("period","recent"==a?g:p),e.searchParams.append("language",w),e.searchParams.append("amountLimit",b),e.searchParams.append("vendorCategory",v),fetch(e.href).then(e=>e.json()).then(e=>{i(8,L=[]),i(8,L=e.items.map(e=>e)),i(12,O=!1),setTimeout(()=>{i(9,_=Math.round(r.offsetWidth/225)),U(),"true"==M&&(G=0,_<A?l=setInterval(()=>{B()},3e3):clearInterval(l))})})},P=e=>{a!==e&&(i(7,a=e),i(8,L=[]),H())},j=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(D||"Not logged in")})},U=n=>{const e=[...r.children];A=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{i(13,I=!0)},10):i(13,I=!1)},z=()=>{U(G)},W=()=>{var e=L.length;_>=L.length||(0===G?G=e-_:G-_<0?G=0:G-=_,z())},B=()=>{var e=L.length;_>=L.length||("true"==M&&(G===e-_?G=0:G++),"false"==M&&(G===e-_?G=0:e-_<G+_?G=e-_:G+=_),z())},Y=()=>{i(35,d=o?k:C)};return Ze(()=>(i(10,R=Xe(N)),()=>{clearInterval(l)})),t.$$set=e=>{"endpoint"in e&&i(22,u=e.endpoint),"session"in e&&i(23,m=e.session),"userid"in e&&i(24,h=e.userid),"periodrecent"in e&&i(25,g=e.periodrecent),"periodtop"in e&&i(26,p=e.periodtop),"numberusersrecent"in e&&i(27,f=e.numberusersrecent),"numberuserstop"in e&&i(28,y=e.numberuserstop),"amountlimit"in e&&i(21,b=e.amountlimit),"vendorCategory"in e&&i(29,v=e.vendorCategory),"lang"in e&&i(30,w=e.lang),"isrecentavailable"in e&&i(0,$=e.isrecentavailable),"istopavailable"in e&&i(1,x=e.istopavailable),"defaultcurrency"in e&&i(2,C=e.defaultcurrency),"usercurrency"in e&&i(3,k=e.usercurrency),"clientstyling"in e&&i(31,F=e.clientstyling),"clientstylingurl"in e&&i(32,S=e.clientstylingurl),"enableautoscroll"in e&&i(4,M=e.enableautoscroll),"tabsorder"in e&&i(33,T=e.tabsorder),"translationurl"in e&&i(34,E=e.translationurl)},t.$$.update=()=>{if(2116026371&t.$$.dirty[0]|4&t.$$.dirty[1]&&$&&x&&g&&p&&f&&y&&b&&v&&w&&T&&(i(14,c=T.split(",")),i(7,a=c[0]),"false"==$&&i(21,b=""),Y()),12582912&t.$$.dirty[0]&&m&&u&&(i(11,o=!0),D=h,Y()),4194320&t.$$.dirty[0]|16&t.$$.dirty[1]&&u&&d&&M&&H(),1073741824&t.$$.dirty[0]&&w&&(e=w,Ke.set(e)),8&t.$$.dirty[1]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{eo(e,t[e])})}).catch(e=>{console.log(e)}),32&t.$$.dirty[0]|1&t.$$.dirty[1]&&F&&s){let e=document.createElement("style");e.innerHTML=F,s.appendChild(e)}if(32&t.$$.dirty[0]|2&t.$$.dirty[1]&&S&&s){let e=new URL(S),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[$,x,C,k,M,s,r,a,L,_,R,o,O,I,c,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),j,W,B,b,u,m,h,g,p,f,y,v,w,F,S,T,E,d,()=>P("recent"),()=>P("top"),()=>W(),()=>B(),e=>j(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){Je[e?"unshift":"push"](()=>{r=e,i(6,r)})},function(e){Je[e?"unshift":"push"](()=>{s=e,i(5,s)})}]}function ho(e,t){Li(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},mo,uo,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),f()}});const go={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando"}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function po(e,t,n){const i=e.slice();return i[49]=t[n],i[51]=n,i}function fo(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v;function w(e){return e[5]?vo:wo}let $=w(n),x=$(n);return{c(){i=he("div"),r=he("div"),a=he("div"),o=he("div"),s=he("img"),c=pe(),d=he("div"),x.c(),u=pe(),m=he("div"),h=he("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(h.src,g=n[11])||fe(h,"src",g),fe(h,"alt",""),fe(m,"class","title"),fe(a,"class",p="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(i,"class",f=n[12]?"DisplayNone":""),fe(i,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,c),de(a,d),x.m(d,null),de(a,u),de(a,m),de(m,h),b||(v=V(r,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(h.src,g=e[11])&&fe(h,"src",g),49&t[0]&&p!==(p="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",p),1024&t[0]&&P(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(i,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(i,"part",y)},d(e){e&&me(i),x.d(),b=!1,v()}}}function yo(e){let n,i,r=e[14]("jackpotBanners.loadingText")+"";return{c(){n=he("p"),i=ge(r),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16384&t[0]&&r!==(r=e[14]("jackpotBanners.loadingText")+"")&&ye(i,r)},d(e){e&&me(n)}}}function bo(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function vo(e){let n,i,r,a,o,s,D,l,c,A,N,d,O,H,u,m,h,g,p,j,f,y,U,z,b,W,Y,v,w,$,x,C,k,V,F,S,Z,J,M,K,X,T,E,L,G,_,q,I,P,Q,ee,B,te,R=e[8][0]+"",ne=e[7][0]+"",ie=e[8][1]+"",re=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),i=he("div"),r=he("div"),a=he("img"),s=he("span"),D=ge(R),l=he("span"),c=he("span"),A=ge(ne),N=pe(),d=he("span"),O=ge(e[1]),H=pe(),u=he("div"),m=he("div"),h=he("img"),p=he("span"),j=ge(ie),f=he("span"),y=he("span"),U=ge(re),z=pe(),b=he("span"),W=ge(e[1]),Y=pe(),v=he("div"),w=he("div"),$=he("div"),x=he("img"),k=he("span"),V=ge(ae),F=he("span"),S=he("span"),Z=ge(oe),J=pe(),M=he("span"),K=ge(e[1]),X=pe(),T=he("div"),E=he("div"),L=he("img"),_=he("span"),q=ge(se),I=he("span"),P=he("span"),Q=ge(le),ee=pe(),B=he("span"),te=ge(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(i,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,g=e[9][1])||fe(h,"src",g),fe(h,"alt",""),fe(p,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,C=e[9][2])||fe(x,"src",C),fe(x,"alt",""),fe(k,"class","cardLabel"),fe($,"class","iconWrapper"),fe(S,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(L,"class","displayCardIcon"),ce(L.src,G=e[9][3])||fe(L,"src",G),fe(L,"alt",""),fe(_,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(I,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(r,a),de(r,s),de(s,D),de(i,l),de(l,c),de(c,A),de(l,N),de(l,d),de(d,O),de(n,H),de(n,u),de(u,m),de(m,h),de(m,p),de(p,j),de(u,f),de(f,y),de(y,U),de(f,z),de(f,b),de(b,W),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,k),de(k,V),de(w,F),de(F,S),de(S,Z),de(F,J),de(F,M),de(M,K),de(v,X),de(v,T),de(T,E),de(E,L),de(E,_),de(_,q),de(T,I),de(I,P),de(P,Q),de(I,ee),de(I,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&R!==(R=e[8][0]+"")&&ye(D,R),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(A,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(h.src,g=e[9][1])&&fe(h,"src",g),256&t[0]&&ie!==(ie=e[8][1]+"")&&ye(j,ie),128&t[0]&&re!==(re=e[7][1]+"")&&ye(U,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(L.src,G=e[9][3])&&fe(L,"src",G),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(v)}}}function wo(t){let r,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=$o(po(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var i=po(t,a,e);o[e]?o[e].p(i,n):(o[e]=$o(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){S(o,e),e&&me(r)}}}function $o(e){let n,i,r,a,o,s,l,c,d,u,m,h,g=e[8][e[51]]+"",p=(e[7][e[51]]??"")+"";return{c(){n=he("div"),i=he("div"),r=he("img"),o=he("span"),s=ge(g),l=he("span"),c=he("span"),d=ge(p),u=pe(),m=he("span"),h=ge(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,a=e[9][e[51]])||fe(r,"src",a),fe(r,"alt",""),fe(o,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(r.src,a=e[9][e[51]])&&fe(r,"src",a),256&t[0]&&g!==(g=e[8][e[51]]+"")&&ye(s,g),128&t[0]&&p!==(p=(e[7][e[51]]??"")+"")&&ye(d,p),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function xo(n){let i;function r(e){return e[13]?bo:e[3]?yo:fo}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[33](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[33](null)}}}function Co(n,e,i){let t;Qe(n,Ki,e=>i(14,t=e));let r,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:g=""}=e,{backgroundsrcmobile:p=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,R=window.navigator.userAgent,C=!1,k=!1,F="",S=[],M=[],T=[],E=[],L=[],G="",_="",I=!1,P=!0,D=!1;Object.keys(go).forEach(e=>{ho(e,go[e])});const B=["typeSpread","typeLeft"],A=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return n.$$set=e=>{"visualstructure"in e&&i(0,o=e.visualstructure),"title"in e&&i(16,s=e.title),"caticon0"in e&&i(17,l=e.caticon0),"caticon1"in e&&i(18,c=e.caticon1),"caticon2"in e&&i(19,d=e.caticon2),"caticon3"in e&&i(20,u=e.caticon3),"iconlabels"in e&&i(21,m=e.iconlabels),"backgroundsrc"in e&&i(22,h=e.backgroundsrc),"currency"in e&&i(1,g=e.currency),"backgroundsrcmobile"in e&&i(23,p=e.backgroundsrcmobile),"titlelogopath"in e&&i(24,f=e.titlelogopath),"lang"in e&&i(25,y=e.lang),"clientstyling"in e&&i(26,b=e.clientstyling),"clientstylingurl"in e&&i(27,v=e.clientstylingurl),"translationurl"in e&&i(28,w=e.translationurl),"endpoint"in e&&i(29,$=e.endpoint),"gameid"in e&&i(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{i(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&r&&b){let e=document.createElement("style");e.innerHTML=b,r.appendChild(e)}if(134217732&n.$$.dirty[0]&&r&&v){i(12,I=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{i(12,I=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&g&&0<M.length&&($&&y&&g)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",g),fetch(e.href).then(e=>e.json().then(e=>{i(3,P=!1),a=e,M.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>S.push(+e)),i(6,F=a.items[0].vendorLogo))}).catch(e=>{i(13,D=!0),i(3,P=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&g&&y&&!P&&(i(4,C=Xe(R)&&1<window.innerHeight/window.innerWidth),i(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==S.length&&i(7,T=S.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),i(8,E=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?i(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),i(0,o=B[0])),i(10,G=p&&C&&!k?p:h),i(11,_=f),i(9,L=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,Ke.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ho(e,t[e])})}).catch(e=>{console.log(e)})},[o,g,r,P,C,k,F,T,E,L,G,_,I,D,t,A,s,l,c,d,u,m,h,p,f,y,b,v,w,$,x,M,()=>A(),function(e){Je[e?"unshift":"push"](()=>{r=e,i(2,r)})}]}function ko(e,t){Li(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Co,xo,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const Fo={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},zh:{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};function So(e,t,n){const i=e.slice();return i[40]=t[n],i}function Mo(e,t,n){const i=e.slice();return i[43]=t[n],i}function To(n){let r,i,a,o,s,l,c,d,u,m,h,e,g,p,f=("vendor"==n[0]?n[8]("Translations.providers"):n[8]("Translations.collections"))+"",y=n[3],b=[];for(let e=0;e<y.length;e+=1)b[e]=Po(So(n,y,e));return{c(){r=he("div"),i=he("div"),a=he("p"),o=ge(f),s=pe(),l=he("div"),(c=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=pe(),(u=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=pe(),h=he("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(a,"class","Title"),fe(l,"class","ButtonsContainer"),fe(i,"class","CategoriesHeader"),fe(h,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),de(l,c),de(l,d),de(l,u),de(r,m),de(r,h);for(let e=0;e<b.length;e+=1)b[e].m(h,null);n[23](h),g||(p=[V(c,"click",n[19]),V(u,"click",n[20])],g=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("Translations.providers"):t[8]("Translations.collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var i=So(t,y,e);b[e]?b[e].p(i,n):(b[e]=Po(i),b[e].c(),b[e].m(h,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),S(b,e),n[23](null),g=!1,Y(p)}}}function Eo(e){let n,i,r=e[8]("Translations.loading")+"";return{c(){n=he("p"),i=ge(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){256&t[0]&&r!==(r=e[8]("Translations.loading")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Lo(e){let n,i,r=e[40].name+"";return{c(){n=he("p"),i=ge(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&r!==(r=e[40].name+"")&&ye(i,r)},d(e){e&&me(n)}}}function Go(e){let n,i,r;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,i=e[40].icon)||fe(n,"src",i),fe(n,"alt",r=e[40].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,i=e[40].icon)&&fe(n,"src",i),8&t[0]&&r!==(r=e[40].name+" icon")&&fe(n,"alt",r)},d(e){e&&me(n)}}}function _o(e){let n,i,r,a=e[43].name+"";return{c(){n=he("p"),i=ge(a),fe(n,"title",r=e[43].name)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){8&t[0]&&a!==(a=e[43].name+"")&&ye(i,a),8&t[0]&&r!==(r=e[43].name)&&fe(n,"title",r)},d(e){e&&me(n)}}}function Io(n){let i,r,a,o,s,l,c,d;function u(){return n[21](n[43])}let m="true"==n[2]&&_o(n);return{c(){i=he("div"),r=he("img"),s=pe(),m&&m.c(),l=pe(),fe(r,"class","CategorySlideGameImage"),ce(r.src,a=n[43].defaultThumbnail)||fe(r,"src",a),fe(r,"alt",o=n[43].name),fe(i,"class","CategorySlideGames")},m(e,t){var n;ue(e,i,t),de(i,r),de(i,s),m&&m.m(i,null),de(i,l),c||(d=V(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,a=n[43].defaultThumbnail)&&fe(r,"src",a),8&t[0]&&o!==(o=n[43].name)&&fe(r,"alt",o),"true"==n[2]?m?m.p(n,t):((m=_o(n)).c(),m.m(i,l)):m&&(m.d(1),m=null)},d(e){e&&me(i),m&&m.d(),c=!1,d()}}}function Po(n){let i,r,a,o,s,l,c,d,u;function m(e){return"logo"==e[1]?Go:"title"==e[1]?Lo:void 0}let h=m(n),g=h&&h(n),p=n[40].games,f=[];for(let e=0;e<p.length;e+=1)f[e]=Io(Mo(n,p,e));function y(){return n[22](n[40])}return{c(){i=he("div"),r=he("div"),a=he("div"),g&&g.c(),o=pe(),s=he("div");for(let e=0;e<f.length;e+=1)f[e].c();c=pe(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(r,"class",l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":"")),P(r,"background-image","url("+n[40]?.background+")"),fe(i,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,i,t),de(i,r),de(r,a),g&&g.m(a,null),de(r,o),de(r,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(i,c),d||(u=V(r,"click",y),d=!0)},p(e,t){if(h===(h=m(n=e))&&g?g.p(n,t):(g&&g.d(1),(g=h&&h(n))&&(g.c(),g.m(a,null))),2060&t[0]){let e;for(p=n[40].games,e=0;e<p.length;e+=1){const r=Mo(n,p,e);f[e]?f[e].p(r,t):(f[e]=Io(r),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=p.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[40]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",l),8&t[0]&&P(r,"background-image","url("+n[40]?.background+")")},d(e){e&&me(i),g&&g.d(),S(f,e),d=!1,u()}}}function Bo(n){let i;function r(e){return e[6]?Eo:To}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[24](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[24](null)}}}function Ro(n,e,i){let t;Qe(n,Ki,e=>i(8,t=e));let r,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,b=[],v=!0,w=0,$=0,x=0,C=window.navigator.userAgent;Object.keys(Fo).forEach(e=>{ko(e,Fo[e])});const k=n=>{(o=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),x=Math.round(r.offsetWidth/a)},F=()=>{k(w)},S=()=>{x>=$||(0===w?w=$-x:w-x<-1?w=0:w--,F())},M=()=>{x>=$||(w===$-x?w=0:$-x<w+1?w=$-x:w++,F())},T=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return Ze(()=>{i(7,l=Xe(C))}),n.$$set=e=>{"endpoint"in e&&i(13,c=e.endpoint),"datasource"in e&&i(14,d=e.datasource),"lang"in e&&i(15,u=e.lang),"type"in e&&i(0,m=e.type),"titletype"in e&&i(1,h=e.titletype),"clientstyling"in e&&i(16,g=e.clientstyling),"clientstylingurl"in e&&i(17,p=e.clientstylingurl),"translationurl"in e&&i(18,f=e.translationurl),"collectionprovidersgamenames"in e&&i(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{i(6,v=!1);let t=e.items.filter(e=>e.flags==m);i(3,b=t.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),$=b.length})}if(24&n.$$.dirty[0]&&b&&r&&k(),32768&n.$$.dirty[0]&&u&&(e=u,Ke.set(e)),65568&n.$$.dirty[0]&&g&&s){let e=document.createElement("style");e.innerHTML=g,s.appendChild(e)}if(131104&n.$$.dirty[0]&&p&&s){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ko(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,b,r,s,v,l,t,S,M,T,E,c,d,u,g,p,f,()=>S(),()=>M(),e=>T(e.gameId,e.launchUrl,e.name),e=>E(e.id),function(e){Je[e?"unshift":"push"](()=>{r=e,i(4,r)})},function(e){Je[e?"unshift":"push"](()=>{s=e,i(5,s)})}]}function Do(n){let i,r,a,o,s;return{c(){i=he("div"),r=he("casino-games-category-section"),this.c=W,k(r,"session",n[0]),k(r,"userid",n[1]),k(r,"endpoint",n[2]),k(r,"datasource",n[3]),k(r,"lang",n[5]),k(r,"currency",n[4]),k(r,"favorites",n[13]),k(r,"categoryid","FAVORITES"),k(r,"class","CategoryContainer"),k(r,"clientstyling",n[6]),k(r,"clientstylingurl",n[7]),k(r,"livecasino",n[8]),k(r,"visiblegames",n[12]),k(r,"gamepagemodalurl",n[11]),k(r,"integratedgameframedesktop",n[10]),k(r,"integratedgameframemobile",n[9]),k(r,"casinomygames",n[14]),fe(i,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,i,t),de(i,r),n[18](i),o||(s=T(a=n[16].call(null,r,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,[t]){1&t&&k(r,"session",e[0]),2&t&&k(r,"userid",e[1]),4&t&&k(r,"endpoint",e[2]),8&t&&k(r,"datasource",e[3]),32&t&&k(r,"lang",e[5]),16&t&&k(r,"currency",e[4]),8192&t&&k(r,"favorites",e[13]),64&t&&k(r,"clientstyling",e[6]),128&t&&k(r,"clientstylingurl",e[7]),256&t&&k(r,"livecasino",e[8]),4096&t&&k(r,"visiblegames",e[12]),2048&t&&k(r,"gamepagemodalurl",e[11]),1024&t&&k(r,"integratedgameframedesktop",e[10]),512&t&&k(r,"integratedgameframemobile",e[9]),16384&t&&k(r,"casinomygames",e[14]),a&&F(a.update)&&7&t&&a.update.call(null,(e[2],e[1],e[0],e[1]))},i:W,o:W,d(e){e&&me(i),n[18](null),o=!1,s()}}}function Ao(e,t,s){let n,i,{endpoint:l=""}=t,{datasource:r=""}=t,{currency:a=""}=t,{lang:o=""}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h="false"}=t,{integratedgameframemobile:g="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,{casinomygames:w="false"}=t,$=[];var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(C),Ke.set(x))});const k=n=>{if(n.data)switch(n.data.type){case"UserSessionID":s(0,c=n.data.session),s(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&F(l,c,d);break;case"SetUnfavoredGame":e=`${l}/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,$.includes(o)&&($=$.filter(e=>e!=o)),fetch(e+"/"+o,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),S(e,t)});break;case"SetFavoredGame":{var i=`${l}/player/${d}/favorites`;var r=c;d;var a=n.data.id;n.data.triggerFactor;$.includes(a)||$.push(a);let e={items:$},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),S(i,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&F(l,c,d)}var e,t,o};let F=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(M(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),T(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})};let S=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,M(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),i)).catch(e=>{console.error(e)})};const M=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},T=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return Ze(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),e.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,r=e.datasource),"currency"in e&&s(4,a=e.currency),"lang"in e&&s(5,o=e.lang),"session"in e&&s(0,c=e.session),"userid"in e&&s(1,d=e.userid),"clientstyling"in e&&s(6,u=e.clientstyling),"clientstylingurl"in e&&s(7,m=e.clientstylingurl),"livecasino"in e&&s(8,h=e.livecasino),"integratedgameframemobile"in e&&s(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&s(11,f=e.gamepagemodalurl),"visiblegames"in e&&s(12,y=e.visiblegames),"favorites"in e&&s(13,b=e.favorites),"categoryid"in e&&s(17,v=e.categoryid),"casinomygames"in e&&s(14,w=e.casinomygames)},e.$$.update=()=>{if(8231&e.$$.dirty&&l&&d&&c&&o&&b&&"true"==b&&F(l,c,d),32832&e.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32896&e.$$.dirty&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[c,d,l,r,a,o,u,m,h,g,p,f,y,b,w,n,F,v,function(e){Je[e?"unshift":"push"](()=>{n=e,s(15,n)})}]}function No(e,t){Li(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px;position:absolute;top:30%;left:50%;transform:translate(-50%, -50%)}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:54px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:10px;text-overflow:ellipsis;overflow:hidden;height:20px;width:90px;white-space:nowrap}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ro,Bo,t,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoFavoritesSectionContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ao,Do,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const Oo={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function Ho(e){let n;return{c(){k(n=he("casino-games-category-section"),"session",e[4]),k(n,"userid",e[5]),k(n,"endpoint",e[0]),k(n,"datasource",e[1]),k(n,"lang",e[3]),k(n,"currency",e[2]),k(n,"favorites",e[13]),k(n,"categoryid","LASTPLAYED"),k(n,"categoryindex","1"),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[9]),k(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&k(n,"session",e[4]),32&t[0]&&k(n,"userid",e[5]),1&t[0]&&k(n,"endpoint",e[0]),2&t[0]&&k(n,"datasource",e[1]),8&t[0]&&k(n,"lang",e[3]),4&t[0]&&k(n,"currency",e[2]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),4096&t[0]&&k(n,"visiblegames",e[12]),2048&t[0]&&k(n,"gamepagemodalurl",e[11]),1024&t[0]&&k(n,"integratedgameframedesktop",e[10]),512&t[0]&&k(n,"integratedgameframemobile",e[9]),16384&t[0]&&k(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function jo(e){let n,i,r=e[17]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=he("p"),i=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("LastPlayedTranslations.noRecentGames")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Uo(n){let i,r;function a(e){return e[16]?jo:Ho}let o=a(n),s=o(n);return{c(){i=he("div"),r=he("div"),s.c(),this.c=W,fe(r,"class","CasinoLastPlayedSection"),fe(i,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,r),s.m(r,null),n[20](i)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:W,o:W,d(e){e&&me(i),s.d(),n[20](null)}}}function zo(t,e,n){let i;Qe(t,Ki,e=>n(17,i=e));let a,o,{endpoint:s=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:g=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:$=""}=e,{casinomygames:x="false"}=e,C=window.navigator.userAgent,k=!1,F;Object.keys(Oo).forEach(e=>{No(e,Oo[e])});return t.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,l=e.datasource),"currency"in e&&n(2,r=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(18,g=e.translationurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(19,$=e.lastplayedperiod),"casinomygames"in e&&n(14,x=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&s&&u&&c&&(r={device:qe(C),period:$||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${s}/player/${u}/games/last-played`);r.limit&&n.searchParams.append("limit","10"),r.order&&n.searchParams.append("order",r.order);var i=r.device;i?"PC"===i?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),r.period&&n.searchParams.append("period","Last30Days"),a=p?n:n.href,fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(s+"/casino/games/"+e.gameId);t.searchParams.append("datasource",l),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{F=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:F},window.location.href)})}else n(16,k=!0)})),262144&t.$$.dirty[0]&&g&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{No(e,t[e])})}).catch(e=>{console.log(e)})),32832&t.$$.dirty[0]&&m&&o){let e=document.createElement("style");e.innerHTML=m,o.appendChild(e)}if(32896&t.$$.dirty[0]&&h&&o){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,r;8&t.$$.dirty[0]&&c&&(e=c,Ke.set(e))},[s,l,r,c,d,u,m,h,p,f,y,b,v,w,x,o,k,i,g,$,function(e){Je[e?"unshift":"push"](()=>{o=e,n(15,o)})}]}function Wo(e){let n;return{c(){k(n=he("casino-games-category-section"),"session",e[4]),k(n,"userid",e[5]),k(n,"endpoint",e[0]),k(n,"datasource",e[1]),k(n,"lang",e[3]),k(n,"currency",e[2]),k(n,"favorites",e[13]),k(n,"categoryid","MOSTPLAYED"),k(n,"categoryindex","1"),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[11]),k(n,"integratedgameframedesktop",e[10]),k(n,"integratedgameframemobile",e[9]),k(n,"casinomygames",e[14])},m(e,t){ue(e,n,t)},p(e,t){16&t&&k(n,"session",e[4]),32&t&&k(n,"userid",e[5]),1&t&&k(n,"endpoint",e[0]),2&t&&k(n,"datasource",e[1]),8&t&&k(n,"lang",e[3]),4&t&&k(n,"currency",e[2]),8192&t&&k(n,"favorites",e[13]),64&t&&k(n,"clientstyling",e[6]),128&t&&k(n,"clientstylingurl",e[7]),256&t&&k(n,"livecasino",e[8]),4096&t&&k(n,"visiblegames",e[12]),2048&t&&k(n,"gamepagemodalurl",e[11]),1024&t&&k(n,"integratedgameframedesktop",e[10]),512&t&&k(n,"integratedgameframemobile",e[9]),16384&t&&k(n,"casinomygames",e[14])},d(e){e&&me(n)}}}function Yo(e){let n;return{c(){(n=he("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Vo(n){let i,r;function a(e){return e[16]?Yo:Wo}let o=a(n),s=o(n);return{c(){i=he("div"),r=he("div"),s.c(),this.c=W,fe(r,"class","casino-most-played-section"),fe(i,"class","CasinoGamesCategorySectionContainer"),fe(i,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,i,t),de(i,r),s.m(r,null),n[18](i)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:W,o:W,d(e){e&&me(i),s.d(),n[18](null)}}}function Zo(t,e,n){let i,r,{endpoint:a=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:p="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,{casinomygames:w="false"}=e,$=window.navigator.userAgent,x=[],C=!1;return t.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(17,v=e.lastPlayedEmpty),"casinomygames"in e&&n(14,w=e.casinomygames)},t.$$.update=()=>{if(41&t.$$.dirty&&a&&d&&l&&(e=>{let t=new URL(`${a}/player/${d}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),i=h?t:t.href,new Promise((e,t)=>{fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:qe($),rounds:10}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(a+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),"true"===w&&(x=x.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)})}else n(16,C=!0)}),32832&t.$$.dirty&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(32896&t.$$.dirty&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,Ke.set(e))},[a,o,s,l,c,d,u,m,h,g,p,f,y,b,w,r,C,v,function(e){Je[e?"unshift":"push"](()=>{r=e,n(15,r)})}]}function Jo(e,t){Li(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},zo,Uo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:18,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:19,casinomygames:14},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Zo,Vo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:17,casinomygames:14},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","casinomygames"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[17]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const Ko={en:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},zh:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},de:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},it:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},fr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},es:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},tr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ru:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},ro:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},hu:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},pt:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sl:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}},sr:{Translations:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}}};function Xo(e,t,n){const i=e.slice();return i[36]=t[n],i}function qo(t){let r,n,a,i,o,e,s=t[20],l=[];for(let e=0;e<s.length;e+=1)l[e]=ns(Xo(t,s,e));function c(e){return"Favorites"==e[18]?as:"MostPlayed"==e[18]?rs:"LastPlayed"==e[18]?is:void 0}let d=c(t),u=d&&d(t);return{c(){r=he("div"),n=he("div"),a=he("div");for(let e=0;e<l.length;e+=1)l[e].c();i=pe(),o=he("div"),u&&u.c(),fe(a,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[19]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,a);for(let e=0;e<l.length;e+=1)l[e].m(a,null);de(r,i),de(r,o),u&&u.m(o,null)},p(t,n){if(7659520&n[0]){let e;for(s=t[20],e=0;e<s.length;e+=1){var i=Xo(t,s,e);l[e]?l[e].p(i,n):(l[e]=ns(i),l[e].c(),l[e].m(a,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),524288&n[0]&&e!==(e="CasinoMyGames "+(t[19]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),S(l,e),u&&u.d()}}}function Qo(n){let i,r,a,o,s,l=n[21]("Translations.favorites")+"";return{c(){i=he("button"),r=ge(l),fe(i,"class",a="MyGamesButton "+("Favorites"==n[18]?"Active":"")+" "+("false"==n[13]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=V(i,"click",n[26]),o=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.favorites")+"")&&ye(r,l),270336&t[0]&&a!==(a="MyGamesButton "+("Favorites"==e[18]?"Active":"")+" "+("false"==e[13]?"Off":""))&&fe(i,"class",a)},d(e){e&&me(i),o=!1,s()}}}function es(n){let i,r,a,o,s,l=n[21]("Translations.mostPlayed")+"";return{c(){i=he("button"),r=ge(l),fe(i,"class",a="MyGamesButton "+("MostPlayed"==n[18]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),o||(s=V(i,"click",n[27]),o=!0)},p(e,t){2097152&t[0]&&l!==(l=e[21]("Translations.mostPlayed")+"")&&ye(r,l),278528&t[0]&&a!==(a="MyGamesButton "+("MostPlayed"==e[18]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(i,"class",a)},d(e){e&&me(i),o=!1,s()}}}function ts(n){let i,r,a,o,s,l,c=n[21]("Translations.recentlyPlayed")+"";return{c(){i=he("button"),r=ge(c),a=pe(),fe(i,"class",o="MyGamesButton "+("LastPlayed"==n[18]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,i,t),de(i,r),de(i,a),s||(l=V(i,"click",n[28]),s=!0)},p(e,t){2097152&t[0]&&c!==(c=e[21]("Translations.recentlyPlayed")+"")&&ye(r,c),294912&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[18]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(i,"class",o)},d(e){e&&me(i),s=!1,l()}}}function ns(e){let n,i,r,a="Favorites"==e[36]&&Qo(e),o="MostPlayed"==e[36]&&es(e),s="LastPlayed"==e[36]&&ts(e);return{c(){a&&a.c(),n=pe(),o&&o.c(),i=pe(),s&&s.c(),r=c()},m(e,t){a&&a.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,i,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[36]?a?a.p(e,t):((a=Qo(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"MostPlayed"==e[36]?o?o.p(e,t):((o=es(e)).c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null),"LastPlayed"==e[36]?s?s.p(e,t):((s=ts(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){a&&a.d(e),e&&me(n),o&&o.d(e),e&&me(i),s&&s.d(e),e&&me(r)}}}function is(e){let n;return{c(){k(n=he("casino-last-played-section"),"userid",e[0]),k(n,"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"favorites",e[13]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"session",e[1]),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"gamepagemodalurl",e[10]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&k(n,"userid",e[0]),4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),8192&t[0]&&k(n,"favorites",e[13]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),2&t[0]&&k(n,"session",e[1]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function rs(e){let n;return{c(){k(n=he("casino-most-played-section"),"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"session",e[1]),k(n,"userid",e[0]),k(n,"favorites",e[13]),k(n,"categoryindex","0"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"gamepagemodalurl",e[10]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),2&t[0]&&k(n,"session",e[1]),1&t[0]&&k(n,"userid",e[0]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function as(e){let n;return{c(){k(n=he("casino-favorites-section"),"session",e[1]),k(n,"userid",e[0]),k(n,"endpoint",e[2]),k(n,"datasource",e[3]),k(n,"lang",e[4]),k(n,"currency",e[5]),k(n,"favorites",e[13]),k(n,"categoryid","FAVORITES"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[6]),k(n,"clientstylingurl",e[7]),k(n,"livecasino",e[8]),k(n,"visiblegames",e[9]),k(n,"gamepagemodalurl",e[10]),k(n,"integratedgameframedesktop",e[11]),k(n,"integratedgameframemobile",e[12]),k(n,"casinomygames",e[16])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&k(n,"session",e[1]),1&t[0]&&k(n,"userid",e[0]),4&t[0]&&k(n,"endpoint",e[2]),8&t[0]&&k(n,"datasource",e[3]),16&t[0]&&k(n,"lang",e[4]),32&t[0]&&k(n,"currency",e[5]),8192&t[0]&&k(n,"favorites",e[13]),64&t[0]&&k(n,"clientstyling",e[6]),128&t[0]&&k(n,"clientstylingurl",e[7]),256&t[0]&&k(n,"livecasino",e[8]),512&t[0]&&k(n,"visiblegames",e[9]),1024&t[0]&&k(n,"gamepagemodalurl",e[10]),2048&t[0]&&k(n,"integratedgameframedesktop",e[11]),4096&t[0]&&k(n,"integratedgameframemobile",e[12]),65536&t[0]&&k(n,"casinomygames",e[16])},d(e){e&&me(n)}}}function os(n){let i;function r(e){if(e[16])return qo}let a=r(n),o=a&&a(n);return{c(){i=he("div"),o&&o.c(),this.c=W},m(e,t){ue(e,i,t),o&&o.m(i,null),n[29](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o&&o.d(),n[29](null)}}}function ss(e,t,n){let i;Qe(e,Ki,e=>n(21,i=e));let r,{userid:a=""}=t,{session:o=""}=t,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,{livecasino:h=""}=t,{visiblegames:g=""}=t,{gamepagemodalurl:p=""}=t,{integratedgameframedesktop:f=""}=t,{integratedgameframemobile:y=""}=t,{translationurl:b=""}=t,{favorites:v="false"}=t,{mostplayed:w="false"}=t,{lastplayed:$="false"}=t,{activecategory:x=""}=t,{categorybackground:C=""}=t,{casinomygames:k="false"}=t,F=window.navigator.userAgent,S="",M=!1,T=["","",""];var E,L;({withLocale:E,translations:L}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(L),Ke.set(E))}),Object.keys(Ko).forEach(e=>{Jo(e,Ko[e])});const G=e=>{S!==e&&n(18,S=e)},_=()=>{var e;n(18,S="true"===v?"Favorites":"true"===w?"MostPlayed":"true"===$?"LastPlayed":""),n(20,T[0]="true"===v?"Favorites":"",T),n(20,T[1]="true"===w?"MostPlayed":"",T),n(20,T[2]="true"===$?"LastPlayed":"",T),e=c,Ke.set(e)};return Ze(()=>{n(19,M=Xe(F))}),e.$$set=e=>{"userid"in e&&n(0,a=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,g=e.visiblegames),"gamepagemodalurl"in e&&n(10,p=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(11,f=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(12,y=e.integratedgameframemobile),"translationurl"in e&&n(23,b=e.translationurl),"favorites"in e&&n(13,v=e.favorites),"mostplayed"in e&&n(14,w=e.mostplayed),"lastplayed"in e&&n(15,$=e.lastplayed),"activecategory"in e&&n(24,x=e.activecategory),"categorybackground"in e&&n(25,C=e.categorybackground),"casinomygames"in e&&n(16,k=e.casinomygames)},e.$$.update=()=>{if(28&e.$$.dirty[0]&&s&&l&&c&&_(),57344&e.$$.dirty[0]&&v&&w&&$&&_(),8388608&e.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Jo(e,t[e])})}).catch(e=>{console.log(e)}),131136&e.$$.dirty[0]&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(131200&e.$$.dirty[0]&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[a,o,s,l,c,d,u,m,h,g,p,f,y,v,w,$,k,r,S,M,T,i,G,b,x,C,()=>G("Favorites"),()=>G("MostPlayed"),()=>G("LastPlayed"),function(e){Je[e?"unshift":"push"](()=>{r=e,n(17,r)})}]}function ls(e,t){Li(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoMyGames{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:50px 0}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ss,os,t,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,integratedgameframedesktop:11,integratedgameframemobile:12,translationurl:23,favorites:13,mostplayed:14,lastplayed:15,activecategory:24,categorybackground:25,casinomygames:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","activecategory","categorybackground","casinomygames"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),f()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[12]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[14]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[15]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get activecategory(){return this.$$.ctx[24]}set activecategory(e){this.$$set({activecategory:e}),f()}get categorybackground(){return this.$$.ctx[25]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),f()}});const cs={en:{Translations:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},zh:{Translations:{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"}},de:{Translations:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"}},it:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},fr:{Translations:{recentSearch:"Recherche récente",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."}},es:{Translations:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"}},gr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},tr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},ru:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."}},ro:{Translations:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului. ",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre."}},hr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},hu:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},pt:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sl:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},sr:{Translations:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}}};function ds(e,t,n){const i=e.slice();return i[48]=t[n],i}function us(e){let n,i,r,a;function o(e){return 1==e[13]&&e[8].length<2?gs:0!=e[11].length?hs:void 0}let s=o(e),l=s&&s(e),c=!1===e[9]&&fs(e),d=2<=e[8].length&&0==e[11].length&&bs(e);return{c(){l&&l.c(),n=pe(),i=he("div"),c&&c.c(),r=pe(),d&&d.c(),fe(i,"class",a="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,i,t),c&&c.m(i,null),de(i,r),d&&d.m(i,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[9]?c?c.p(e,t):((c=fs(e)).c(),c.m(i,r)):c&&(c.d(1),c=null),2<=e[8].length&&0==e[11].length?d?d.p(e,t):((d=bs(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),8192&t[0]&&a!==(a="SearchResultsContainer "+(1==e[13]?"":"NotVisible"))&&fe(i,"class",a)},d(e){l&&l.d(e),e&&me(n),e&&me(i),c&&c.d(),d&&d.d()}}}function ms(e){let n,i,r=e[17]("Translations.loading")+"";return{c(){n=he("p"),i=ge(r)},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.loading")+"")&&ye(i,r)},d(e){e&&me(n)}}}function hs(e){let n,i,r=e[17]("Translations.searchResult")+"";return{c(){n=he("p"),i=ge(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){131072&t[0]&&r!==(r=e[17]("Translations.searchResult")+"")&&ye(i,r)},d(e){e&&me(n)}}}function gs(e){let n,i,r,a,o=e[17]("Translations.recentSearch")+"",s=0==e[11].length&&ps(e);return{c(){n=he("p"),i=ge(o),r=pe(),s&&s.c(),a=c(),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,i),ue(e,r,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){131072&t[0]&&o!==(o=e[17]("Translations.recentSearch")+"")&&ye(i,o),0==e[11].length?s?s.p(e,t):((s=ps(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){e&&me(n),e&&me(r),s&&s.d(e),e&&me(a)}}}function ps(e){let n,i,r,a=e[17]("Translations.noRecentSearches")+"";return{c(){n=he("div"),i=he("p"),r=ge(a),fe(i,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,r)},p(e,t){131072&t[0]&&a!==(a=e[17]("Translations.noRecentSearches")+"")&&ye(r,a)},d(e){e&&me(n)}}}function fs(t){let r,a=t[11],o=[];for(let e=0;e<a.length;e+=1)o[e]=ys(ds(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(1149183&n[0]){let e;for(a=t[11],e=0;e<a.length;e+=1){var i=ds(t,a,e);o[e]?o[e].p(i,n):(o[e]=ys(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){S(o,e),e&&me(r)}}}function ys(e){let n,i,r,a,o,s,l,c,d,u,m;return{c(){k(n=he("casino-game-thumbnail"),"endpoint",e[0]),k(n,"session",e[15]),k(n,"userid",e[16]),k(n,"favorites",e[7]),k(n,"lang",e[1]),k(n,"gamethumbnail",i=e[48].thumbnail),k(n,"gamename",r=e[48].name),k(n,"gamevendor",a=e[48].vendor.name),k(n,"gameisnew",o=e[48].isNew),k(n,"gametag",s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags)),k(n,"gamecellsize",l=e[48].cellSize),k(n,"gameid",c=e[48].id),k(n,"gamefunmode",d=e[48].hasFunMode),k(n,"gamefavorite",u=e[48].isFavorite),k(n,"livelobbyendpoint",m=e[48].details?e[48].launchUrl:""),k(n,"integratedgameframedesktop",e[4]),k(n,"integratedgameframemobile",e[5]),k(n,"clientstyling",e[2]),k(n,"clientstylingurl",e[3]),k(n,"gamepagemodalurl",e[6])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&k(n,"endpoint",e[0]),32768&t[0]&&k(n,"session",e[15]),65536&t[0]&&k(n,"userid",e[16]),128&t[0]&&k(n,"favorites",e[7]),2&t[0]&&k(n,"lang",e[1]),2048&t[0]&&i!==(i=e[48].thumbnail)&&k(n,"gamethumbnail",i),2048&t[0]&&r!==(r=e[48].name)&&k(n,"gamename",r),2048&t[0]&&a!==(a=e[48].vendor.name)&&k(n,"gamevendor",a),2048&t[0]&&o!==(o=e[48].isNew)&&k(n,"gameisnew",o),2048&t[0]&&s!==(s=0<e[48].advancedTags?.length&&e[20](e[48].advancedTags))&&k(n,"gametag",s),2048&t[0]&&l!==(l=e[48].cellSize)&&k(n,"gamecellsize",l),2048&t[0]&&c!==(c=e[48].id)&&k(n,"gameid",c),2048&t[0]&&d!==(d=e[48].hasFunMode)&&k(n,"gamefunmode",d),2048&t[0]&&u!==(u=e[48].isFavorite)&&k(n,"gamefavorite",u),2048&t[0]&&m!==(m=e[48].details?e[48].launchUrl:"")&&k(n,"livelobbyendpoint",m),16&t[0]&&k(n,"integratedgameframedesktop",e[4]),32&t[0]&&k(n,"integratedgameframemobile",e[5]),4&t[0]&&k(n,"clientstyling",e[2]),8&t[0]&&k(n,"clientstylingurl",e[3]),64&t[0]&&k(n,"gamepagemodalurl",e[6])},d(e){e&&me(n)}}}function bs(e){let n,i,r,a,o,s,l=e[17]("Translations.notFound")+"",c=e[17]("Translations.notFoundText")+"";return{c(){n=he("div"),i=he("p"),r=ge(l),a=pe(),o=he("p"),s=ge(c),fe(i,"class","SearchMessage"),fe(n,"class","ResultsContainerError")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(n,a),de(n,o),de(o,s)},p(e,t){131072&t[0]&&l!==(l=e[17]("Translations.notFound")+"")&&ye(r,l),131072&t[0]&&c!==(c=e[17]("Translations.notFoundText")+"")&&ye(s,c)},d(e){e&&me(n)}}}function vs(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x=n[17]("Translations.cancel")+"";function C(e){return e[14]?ms:us}let k=C(n),F=k(n);return{c(){i=he("div"),r=he("div"),(a=he("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',o=pe(),s=he("input"),d=pe(),u=he("span"),m=M("svg"),h=M("path"),p=pe(),f=he("small"),y=ge(x),v=pe(),F.c(),this.c=W,fe(a,"class","SearchIcon"),fe(s,"class",l="SearchInput "+(n[9]?"":"SearchAnimation")),fe(s,"type","search"),fe(s,"placeholder",c=n[17]("Translations.placeHolderSearchGames")),fe(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(h,"stroke","#717171"),fe(h,"stroke-width","2"),fe(h,"stroke-linecap","round"),fe(h,"stroke-linejoin","round"),fe(m,"width","11"),fe(m,"height","11"),fe(m,"fill","none"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",g="SearchClearButton "+(0!=n[8].length?"":"NotVisible")),fe(f,"class",b="SearchCancelButton "+(n[9]?"NotVisible":"")),fe(r,"class","Search"),fe(i,"class",("PC"!==qe(n[18])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),I(s,n[8]),n[29](s),de(r,d),de(r,u),de(u,m),de(m,h),de(r,p),de(r,f),de(f,y),de(i,v),F.m(i,null),n[32](i),w||($=[V(s,"input",n[28]),V(s,"focus",n[19]),V(u,"click",n[30]),V(f,"click",n[31])],w=!0)},p(e,t){512&t[0]&&l!==(l="SearchInput "+(e[9]?"":"SearchAnimation"))&&fe(s,"class",l),131072&t[0]&&c!==(c=e[17]("Translations.placeHolderSearchGames"))&&fe(s,"placeholder",c),256&t[0]&&I(s,e[8]),256&t[0]&&g!==(g="SearchClearButton "+(0!=e[8].length?"":"NotVisible"))&&fe(u,"class",g),131072&t[0]&&x!==(x=e[17]("Translations.cancel")+"")&&ye(y,x),512&t[0]&&b!==(b="SearchCancelButton "+(e[9]?"NotVisible":""))&&fe(f,"class",b),k===(k=C(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(i,null)))},i:W,o:W,d(e){e&&me(i),n[29](null),F.d(),n[32](null),w=!1,Y($)}}}function ws(i,e,a){let t;Qe(i,Ki,e=>a(17,t=e));let n,r,o,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{integratedgameframedesktop:p="false"}=e,{integratedgameframemobile:f="false"}=e,{gamepagemodalurl:y="true"}=e,{translationurl:b=""}=e,{showfavorites:v=""}=e,w=window.navigator.userAgent,$=[],x=[],C={},k="",F=!0,S=!1,M=!1,T=!1,E=[];Object.keys(cs).forEach(e=>{ls(e,cs[e])});const L=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(x=(x=localStorage.getItem("searchedGamesWds_casino"))?x.split(","):[]).indexOf(t)&&(x.push(t),n=x.join(","),localStorage.setItem("searchedGamesWds_casino",n)))}"UserSessionID"==e.data.type&&(a(15,o=e.data.session),a(16,s=e.data.userid),a(27,T=!0))},G=()=>{if(a(9,F=!1),a(13,S=!0),l&&c&&m&&k.length<2){a(11,$=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],i=0,r=(t=e?e.split(","):t).length;if(0<r){for(i=0;i<r;i++){let e=new URL(l+"/casino/games/"+t[i]);e.searchParams.append("language",m),e.searchParams.append("datasource",c),e.searchParams.append("platform",qe(w)),n.push(((e,i)=>new Promise((t,n)=>{a(14,M=!0),i&&Object.keys(C).indexOf(i)>=0?(a(14,M=!1),t(C[i])):fetch(e).then(e=>e.json()).then(e=>{a(14,M=!1),e.error||(C[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{a(14,M=!1),console.error(e),n(e)})}))(e,t[i]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),a(11,$=e.map(e=>(e.isFavorite=_(e.id),e)))})}}B(S),"function"==typeof gtag&>ag("event","SearchInitialized",{context:"SearchWidget"})},_=t=>-1!==E.findIndex(e=>e==t),I=()=>{a(8,k=""),a(9,F=!0),a(14,M=!1),a(11,$=[]),a(13,S=!1),B(S)},P=()=>{a(8,k=""),n.focus()},B=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e})};return Ze(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),i.$$set=e=>{"endpoint"in e&&a(0,l=e.endpoint),"datasource"in e&&a(23,c=e.datasource),"session"in e&&a(24,d=e.session),"userid"in e&&a(25,u=e.userid),"lang"in e&&a(1,m=e.lang),"clientstyling"in e&&a(2,h=e.clientstyling),"clientstylingurl"in e&&a(3,g=e.clientstylingurl),"integratedgameframedesktop"in e&&a(4,p=e.integratedgameframedesktop),"integratedgameframemobile"in e&&a(5,f=e.integratedgameframemobile),"gamepagemodalurl"in e&&a(6,y=e.gamepagemodalurl),"translationurl"in e&&a(26,b=e.translationurl),"showfavorites"in e&&a(7,v=e.showfavorites)},i.$$.update=()=>{if(8389379&i.$$.dirty[0])if(2<=k.length){const i=new URL(l+"/casino/games");i.searchParams.append("datasource",c),i.searchParams.append("expand","vendor"),i.searchParams.append("platform",qe(w)),i.searchParams.append("language",m),i.searchParams.append("pagination","offset=0,limit=30"),i.searchParams.append("filter","name="+k),e=i,new Promise((t,n)=>{a(14,M=!0),fetch(e.href).then(e=>e.json()).then(e=>{a(14,M=!1),t(e)}).catch(e=>{a(14,M=!1),console.error(e),n(e)})}).then(e=>{a(11,$=e.items.map(e=>(e.isFavorite=_(e.id),e)))})}else F||G();var e,t,n;if(2&i.$$.dirty[0]&&m&&(n=m,Ke.set(n)),67108864&i.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ls(e,t[e])})}).catch(e=>{console.log(e)}),50331648&i.$$.dirty[0]&&d&&u&&(a(27,T=!0),a(15,o=d),a(16,s=u)),134217856&i.$$.dirty[0]&&v&&T&&(n=new URL(`${l}/player/${s}/favorites/`),a(14,M=!0),t={method:"GET",headers:{"X-SessionID":o}},fetch(n.href,t).then(e=>e.json()).then(e=>{a(14,M=!1),E=e.items.map(e=>e.id)})),1028&i.$$.dirty[0]&&h&&r){let e=document.createElement("style");e.innerHTML=h,r.appendChild(e)}if(1032&i.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,m,h,g,p,f,y,v,k,F,r,$,n,S,M,o,s,t,w,G,i=>{if(0===(null==i?void 0:i.length))return"";let r,a,o=99999999999;const s=new Date(Date.now());return i.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Mr(e).diff(s)<o&&(o=Mr(e).diff(s),a=t),Mr(s).isAfter(n)&&Mr(s).isBefore(e)&&(r=i[a].name)}),r},I,P,c,d,u,b,T,function(){k=this.value,a(8,k)},function(e){Je[e?"unshift":"push"](()=>{n=e,a(12,n)})},()=>P(),()=>I(),function(e){Je[e?"unshift":"push"](()=>{r=e,a(10,r)})}]}function $s(e,{delay:t=0,duration:n=400,easing:i=w}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*r}}function xs(n){let i,r,a,o,s,l,c,d,t,u,m,h;return{c(){i=he("div"),r=he("div"),(a=he("div")).innerHTML="<slot></slot>",o=pe(),s=he("span"),(l=he("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"part","ModalCloseBtn"),fe(s,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),K(()=>n[18].call(r)),fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),de(s,l),n[17](r),d=g(r,n[18].bind(r)),n[19](i),u=!0,m||(h=V(s,"click",n[8]),m=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(s,"class",c)},i(e){u||(K(()=>{(t=t||le(r,$s,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||le(r,$s,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(i),n[17](null),d(),e&&t&&t.end(),n[19](null),m=!1,h()}}}function Cs(e){let n,i,r=e[7]&&xs(e);return{c(){r&&r.c(),n=c(),this.c=W},m(e,t){r&&r.m(e,t),ue(e,n,t),i=!0},p(e,[t]){e[7]?r?(r.p(e,t),128&t&&ae(r,1)):((r=xs(e)).c(),ae(r,1),r.m(n.parentNode,n)):r&&(ie(),oe(r,1,1,()=>{r=null}),re())},i(e){i||(ae(r),i=!0)},o(e){oe(r),i=!1},d(e){r&&r.d(e),e&&me(n)}}}function ks(e,t,n){let i,r,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:m=""}=t,{haspanicbutton:h="false"}=t,{gamepagemodalurl:g="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:f="false"}=t,y=window.navigator.userAgent,b=!1,v=!1,w=!1;const $=e=>{var t;"ModalClosed"!=e.data.type||"false"==f&&!Xe(y)||n(7,w=!1),"ShowGameModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,w=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:i?getComputedStyle(i).width:null,modalHeight:i?getComputedStyle(i).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(v=e.data.detailsObtained),"OpenCalendarModal"===e.data.type&&(n(7,w=!0),window.postMessage({type:"DisableScroll"},window.location.href))},x=e=>{var t;v&&(t={modalWidth:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Ze(()=>(n(3,b=Xe(y)),window.addEventListener("message",$,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,m=e.endpoint),"haspanicbutton"in e&&n(1,h=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,g=e.gamepagemodalurl),"sessioncheck"in e&&n(15,p=e.sessioncheck),"integratedgameframedesktop"in e&&n(16,f=e.integratedgameframedesktop)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&m&&"true"==p&&Xi(m,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&e.$$.dirty&&d&&r){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(4100&e.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[s,h,r,b,i,void 0,void 0,w,()=>{n(7,w=!1),n(3,b=Xe(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:b},window.location.href)},l,c,d,u,m,g,p,f,function(e){Je[e?"unshift":"push"](()=>{i=e,n(4,i)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Je[e?"unshift":"push"](()=>{r=e,n(2,r)})}]}function Fs(e,t,n){const i=e.slice();return i[26]=t[n],i[27]=t,i[28]=n,i}function Ss(e,t,n){const i=e.slice();return i[29]=t[n],i[28]=n,i}function Ms(t){let r,n,a,i,e,o=t[3],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ps(Fs(t,o,e));return{c(){r=he("div"),n=he("div"),a=ge(t[1]),i=pe();for(let e=0;e<s.length;e+=1)s[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,a),de(r,i);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(2&n&&ye(a,t[1]),409&n){let e;for(o=t[3],e=0;e<o.length;e+=1){var i=Fs(t,o,e);s[e]?s[e].p(i,n):(s[e]=Ps(i),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),S(s,e)}}}function Ts(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Es(e){let n,i;return{c(){n=M("svg"),fe(i=M("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&me(n)}}}function Ls(e){let n,i;return{c(){n=M("svg"),fe(i=M("path"),"stroke-linecap","round"),fe(i,"stroke-linejoin","round"),fe(i,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","currentColor"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,i)},d(e){e&&me(n)}}}function Gs(t){let i,r,a=t[26].details,o=[];for(let e=0;e<a.length;e+=1)o[e]=_s(Ss(t,a,e));let s=t[26].detailsExpanded&&Is(t);return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=pe(),s&&s.c(),r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n),s&&s.m(t,n),ue(t,r,n)},p(t,n){if(280&n){let e;for(a=t[26].details,e=0;e<a.length;e+=1){const s=Ss(t,a,e);o[e]?o[e].p(s,n):(o[e]=_s(s),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}t[26].detailsExpanded?s?s.p(t,n):((s=Is(t)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){S(o,e),e&&me(i),s&&s.d(e),e&&me(r)}}}function _s(n){let i,r,a,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[28])}return{c(){i=he("div"),r=he("div"),a=he("button"),o=ge(u),fe(a,"class",s="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(r,"class","Header"),fe(i,"class",l=n[28]==n[4]?"SelectedTab":""),fe(i,"id","CollapseMoreInfoButton"),P(i,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),c||(d=V(a,"click",m),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(o,u),8&t&&s!==(s="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(a,"class",s),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(i,"class",l),8&t&&P(i,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(i),c=!1,d()}}}function Is(e){let n,i,r,a=e[26].details[e[4]].description+"";return{c(){n=he("div"),i=ge(a),fe(n,"class",r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,i)},p(e,t){24&t&&a!==(a=e[26].details[e[4]].description+"")&&ye(i,a),24&t&&r!==(r="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",r)},d(e){e&&me(n)}}}function Ps(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C=n[26].title+"",k=n[26].description+"";function F(e){return 1==e[26].expandedInfo?Ls:Es}let S=F(n),M=S(n);function T(){return n[17](n[26],n[27],n[28])}let E=1==n[26].expandedInfo&&Gs(n);return{c(){i=he("div"),r=he("div"),a=ge(C),o=pe(),s=he("div"),l=he("img"),u=pe(),m=he("div"),h=ge(k),g=pe(),p=he("div"),f=he("button"),y=ge(n[0]),b=pe(),M.c(),v=pe(),E&&E.c(),w=pe(),fe(r,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(s,"class","CasinoCalendarImage"),fe(m,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(p,"class","CasinoCalendarTabs"),fe(i,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(s,l),de(i,u),de(i,m),de(m,h),de(i,g),de(i,p),de(p,f),de(f,y),de(f,b),M.m(f,null),de(p,v),E&&E.m(p,null),de(i,w),$||(x=V(f,"click",T),$=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(a,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&k!==(k=n[26].description+"")&&ye(h,k),1&t&&ye(y,n[0]),S!==(S=F(n))&&(M.d(1),(M=S(n))&&(M.c(),M.m(f,null))),1==n[26].expandedInfo?E?E.p(n,t):((E=Gs(n)).c(),E.m(p,null)):E&&(E.d(1),E=null)},d(e){e&&me(i),M.d(),E&&E.d(),$=!1,x()}}}function Bs(n){let i;function r(e){return e[5]?Ts:Ms}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[19](i)},p(e,[t]){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[19](null)}}}function Rs(t,e,i){let n,{dailybackground:r=""}=e,{dailybuttontitle:a=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:h=""}=e,g=[],p=0,f=!0,y=!1,b=window.navigator.userAgent;var v,w;({withLocale:v,translations:w}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(w),Ke.set(v))});const $=e=>{"DailyEventsData"==e.data.type&&(i(5,f=!1),i(3,g=e.data.data),g.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(i(4,p=0),g.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},x=e=>{i(4,p=0),i(3,g[e].detailsExpanded=!g[e].detailsExpanded,g),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{i(4,p=t),e.details.forEach((e,t)=>{e.expandedTab=p==t})};return Ze(()=>(window.addEventListener("message",$,!1),Xe(b)&&i(6,y=!0),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"dailybackground"in e&&i(9,r=e.dailybackground),"dailybuttontitle"in e&&i(0,a=e.dailybuttontitle),"dailyday"in e&&i(1,o=e.dailyday),"dailydescription"in e&&i(10,s=e.dailydescription),"dailyicon"in e&&i(11,l=e.dailyicon),"dailytitle"in e&&i(12,c=e.dailytitle),"lang"in e&&i(13,d=e.lang),"clientstyling"in e&&i(14,u=e.clientstyling),"clientstylingurl"in e&&i(15,m=e.clientstylingurl),"translationUrl"in e&&i(16,h=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,Ke.set(e)),16388&t.$$.dirty&&u&&n){let e=document.createElement("style");e.innerHTML=u,n.appendChild(e)}if(32772&t.$$.dirty&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[a,o,n,g,p,f,y,x,C,r,s,l,c,d,u,m,h,(e,t,n)=>{i(3,t[n].expandedInfo=!e.expandedInfo,g),x(n)},(e,t)=>{C(e,t)},function(e){Je[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}function Ds(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,F;return{c(){i=he("div"),r=he("div"),a=he("div"),o=he("div"),(s=he("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=pe(),c=he("div"),d=he("div"),u=he("img"),h=pe(),g=he("div"),p=ge(n[2]),f=pe(),y=he("div"),b=pe(),v=he("div"),w=he("button"),$=ge(n[3]),this.c=W,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(g,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(v,"class","CasinoCalendarDailyItemButton"),fe(c,"class",x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),P(c,"background-image","url('"+n[0]+"')"),P(c,"background-size","cover"),P(c,"background-position","center"),P(c,"-webkit-background-size","cover"),P(c,"-moz-background-size","cover"),P(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(a,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,h),de(c,g),de(g,p),de(c,f),de(c,y),n[14](y),de(c,b),de(c,v),de(v,w),de(w,$),n[16](i),k||(F=V(w,"click",n[15]),k=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(p,e[2]),8&t&&ye($,e[3]),16&t&&x!==(x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",x),1&t&&P(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(r,"class",C)},i:W,o:W,d(e){e&&me(i),n[14](null),n[16](null),k=!1,F()}}}function As(e,t,n){let i,r,{cmsendpoint:a=""}=t,{lang:o=""}=t,{dailybackground:s=""}=t,{dailyicon:l=""}=t,{dailyday:c=""}=t,{dailydescription:d="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:m="0"}=t,{clientstyling:h=""}=t,{clientstylingurl:g=""}=t;var p,f;({withLocale:p,translations:f}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(f),Ke.set(p))});let y=!1,b=window.navigator.userAgent;const v=()=>{window.postMessage({type:"OpenCalendarModal",index:m},window.location.href),"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};return Ze(()=>{Xe(b)&&n(7,y=!0)}),e.$$set=e=>{"cmsendpoint"in e&&n(9,a=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,h=e.clientstyling),"clientstylingurl"in e&&n(13,g=e.clientstylingurl)},e.$$.update=()=>{if(2063&e.$$.dirty&&l&&c&&d&&u&&s){let e=document.createElement("div");e.innerHTML=d,i&&i.append(e)}if(4128&e.$$.dirty&&h&&r){let e=document.createElement("style");e.innerHTML=h,r.appendChild(e)}if(8224&e.$$.dirty&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}},[s,l,c,u,m,r,i,y,v,a,o,d,h,g,function(e){Je[e?"unshift":"push"](()=>{i=e,n(6,i)})},()=>v(),function(e){Je[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function Ns(e,t,n){const i=e.slice();return i[11]=t[n],i[13]=n,i}function Os(t){let i,r,n,a,o,e,s,l,c,d,u,m=t[1],h=[];for(let e=0;e<m.length;e+=1)h[e]=Us(Ns(t,m,e));return{c(){i=he("div");for(let e=0;e<h.length;e+=1)h[e].c();r=pe(),n=he("casino-modal"),k(a=he("casino-calendar-daily-details"),"dailybackground",o=t[1][t[2]].dailyBackground),k(a,"dailybuttontitle",e=t[1][t[2]].dailyButtonTitle),k(a,"dailyday",s=t[1][t[2]].dailyDay),k(a,"dailydescription",l=t[1][t[2]].dailyDescription),k(a,"dailyicon",c=t[1][t[2]].dailyIcon),k(a,"dailytitle",d=t[1][t[2]].dailyTitle),k(a,"lang",t[0]),fe(i,"class",u="CasinoCalendarItem "+(t[5]?"Mobile":""))},m(e,t){ue(e,i,t);for(let e=0;e<h.length;e+=1)h[e].m(i,null);de(i,r),de(i,n),de(n,a)},p(t,n){if(3&n){let e;for(m=t[1],e=0;e<m.length;e+=1){const o=Ns(t,m,e);h[e]?h[e].p(o,n):(h[e]=Us(o),h[e].c(),h[e].m(i,r))}for(;e<h.length;e+=1)h[e].d(1);h.length=m.length}6&n&&o!==(o=t[1][t[2]].dailyBackground)&&k(a,"dailybackground",o),6&n&&e!==(e=t[1][t[2]].dailyButtonTitle)&&k(a,"dailybuttontitle",e),6&n&&s!==(s=t[1][t[2]].dailyDay)&&k(a,"dailyday",s),6&n&&l!==(l=t[1][t[2]].dailyDescription)&&k(a,"dailydescription",l),6&n&&c!==(c=t[1][t[2]].dailyIcon)&&k(a,"dailyicon",c),6&n&&d!==(d=t[1][t[2]].dailyTitle)&&k(a,"dailytitle",d),1&n&&k(a,"lang",t[0]),32&n&&u!==(u="CasinoCalendarItem "+(t[5]?"Mobile":""))&&fe(i,"class",u)},d(e){e&&me(i),S(h,e)}}}function Hs(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function js(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Us(e){let n,i,r,a,o,s,t;return{c(){k(n=he("casino-calendar-daily-item"),"dailybackground",i=e[11].dailyBackground),k(n,"dailyicon",r=e[11].dailyIcon),k(n,"dailyday",a=e[11].dailyDay),k(n,"dailydescription",o=e[11].dailyDescription),k(n,"dailybuttontitle",s=e[11].dailyButtonTitle),k(n,"index",t=e[13]),k(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){2&t&&i!==(i=e[11].dailyBackground)&&k(n,"dailybackground",i),2&t&&r!==(r=e[11].dailyIcon)&&k(n,"dailyicon",r),2&t&&a!==(a=e[11].dailyDay)&&k(n,"dailyday",a),2&t&&o!==(o=e[11].dailyDescription)&&k(n,"dailydescription",o),2&t&&s!==(s=e[11].dailyButtonTitle)&&k(n,"dailybuttontitle",s),1&t&&k(n,"lang",e[0])},d(e){e&&me(n)}}}function zs(e){let n;function i(e){return e[4]?js:e[3]?Hs:e[1]?.length?Os:void 0}let r=i(e),a=r&&r(e);return{c(){a&&a.c(),n=c(),this.c=W},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,[t]){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n.parentNode,n)))},i:W,o:W,d(e){a&&a.d(e),e&&me(n)}}}function Ws(e,t,n){let i,{cmsendpoint:r=""}=t,{lang:a="en"}=t,o=0,s=!0,l=!1,c=!1,d=window.navigator.userAgent;const u=e=>{e.data&&"OpenCalendarModal"==e.data.type&&(n(2,o=e.data.index),window.postMessage({type:"DailyEventsData",data:null==(e=i[o])?void 0:e.dailyEvents}))};return Ze(()=>(window.addEventListener("message",u,!1),Xe(d)&&n(5,c=!0),()=>{window.removeEventListener("message",u)})),e.$$set=e=>{"cmsendpoint"in e&&n(6,r=e.cmsendpoint),"lang"in e&&n(0,a=e.lang)},e.$$.update=()=>{65&e.$$.dirty&&r&&a&&fetch(`${r}/${a}/daily-calendar/`).then(e=>e.json()).then(e=>{n(1,i=e)}).catch(e=>{console.log(e),n(4,l=!0)}).finally(()=>{n(3,s=!1)})},[a,i,o,s,l,c,r]}function Ys(e,t,n){const i=e.slice();return i[132]=t[n],i[134]=n,i}function Vs(e){let n,i,r,a,o,s,l,c="PC"!==qe(e[67])&&"false"===e[13],d=c&&Js(),u="true"==e[22]&&0==hl&&!e[63]&&Ks(e),m=!e[62]&&Xs(e);function h(e){return e[57]?el:e[63]?void 0:Qs}let g=h(e),p=g&&g(e),f=e[59]&&"true"==e[18]&&ul(e);return{c(){n=he("section"),d&&d.c(),i=pe(),r=he("casino-search"),a=pe(),u&&u.c(),o=pe(),m&&m.c(),s=pe(),p&&p.c(),l=pe(),f&&f.c(),k(r,"endpoint",e[1]),k(r,"datasource",e[2]),k(r,"lang",e[4]),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8]),k(r,"integratedgameframedesktop",e[30]),k(r,"integratedgameframemobile",e[31]),k(r,"translationurl",e[9]),k(r,"showfavorites",e[14]),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),P(n,"max-width",e[17]+"px")},m(e,t){ue(e,n,t),d&&d.m(n,null),de(n,i),de(n,r),de(n,a),u&&u.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),p&&p.m(n,null),de(n,l),f&&f.m(n,null)},p(e,t){(c=8192&t[0]?"PC"!==qe(e[67])&&"false"===e[13]:c)?d||((d=Js()).c(),d.m(n,i)):d&&(d.d(1),d=null),2&t[0]&&k(r,"endpoint",e[1]),4&t[0]&&k(r,"datasource",e[2]),16&t[0]&&k(r,"lang",e[4]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8]),1073741824&t[0]&&k(r,"integratedgameframedesktop",e[30]),1&t[1]&&k(r,"integratedgameframemobile",e[31]),512&t[0]&&k(r,"translationurl",e[9]),16384&t[0]&&k(r,"showfavorites",e[14]),"true"!=e[22]||0!=hl||e[63]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ks(e)).c(),u.m(n,o)),e[62]?m&&(m.d(1),m=null):m?m.p(e,t):((m=Xs(e)).c(),m.m(n,s)),g===(g=h(e))&&p?p.p(e,t):(p&&p.d(1),(p=g&&g(e))&&(p.c(),p.m(n,l))),e[59]&&"true"==e[18]?f?f.p(e,t):((f=ul(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),131072&t[0]&&P(n,"max-width",e[17]+"px")},d(e){e&&me(n),d&&d.d(),u&&u.d(),m&&m.d(),p&&p.d(),f&&f.d()}}}function Zs(e){let n,i,r=e[66]("casinoPage.500")+"";return{c(){n=he("p"),i=ge(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[2]&&r!==(r=e[66]("casinoPage.500")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Js(){let n;return{c(){fe(n=he("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Ks(e){let n;return{c(){k(n=he("casino-random-game"),"datasource",e[2]),k(n,"filteredrandomgamecategories",e[23]),k(n,"endpoint",e[1]),k(n,"lang",e[4]),k(n,"gameevent",e[56]),k(n,"randombuttonicon",e[53]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&k(n,"datasource",e[2]),8388608&t[0]&&k(n,"filteredrandomgamecategories",e[23]),2&t[0]&&k(n,"endpoint",e[1]),16&t[0]&&k(n,"lang",e[4]),33554432&t[1]&&k(n,"gameevent",e[56]),4194304&t[1]&&k(n,"randombuttonicon",e[53]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function Xs(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$=n[66]("casinoPage.filters")+"",x=n[65]&&qs(n);return{c(){i=he("div"),x&&x.c(),r=pe(),a=he("div"),o=he("div"),s=ge($),l=pe(),c=he("div"),d=M("svg"),u=M("defs"),m=M("style"),h=ge(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),g=M("path"),p=pe(),f=he("div"),y=he("span"),b=ge(n[65]),fe(o,"class","FilterButton"),fe(o,"part","FilterButton"),fe(g,"class","a"),fe(g,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(g,"transform","translate(-5 -6.2)"),fe(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(y,"part","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(f,"part","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(c,"part","FilterIconContainer"),fe(a,"class","FilterButtonWrapper"),fe(a,"part","FilterButtonWrapper"),fe(i,"class","FiltersButtonsContainer"),fe(i,"part","FiltersButtonsContainer")},m(e,t){ue(e,i,t),x&&x.m(i,null),de(i,r),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(d,u),de(u,m),de(m,h),de(d,g),de(c,p),de(c,f),de(f,y),de(y,b),v||(w=V(a,"click",n[77]),v=!0)},p(e,t){e[65]?x?x.p(e,t):((x=qs(e)).c(),x.m(i,r)):x&&(x.d(1),x=null),16&t[2]&&$!==($=e[66]("casinoPage.filters")+"")&&ye(s,$),8&t[2]&&ye(b,e[65])},d(e){e&&me(i),x&&x.d(),v=!1,w()}}}function qs(n){let i,r,a,o,s,l,c,d=n[66]("casinoPage.clear")+"";return{c(){i=he("div"),r=he("div"),a=ge(d),o=pe(),(s=he("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(r,"class","ClearButton"),fe(r,"part","ClearButton"),fe(i,"class","ClearFilterButtonWrapper"),fe(i,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),l||(c=V(i,"click",n[76]),l=!0)},p(e,t){16&t[2]&&d!==(d=e[66]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&me(i),l=!1,c()}}}function Qs(e){let n;function i(e){return e[62]?il:e[61]?nl:tl}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function el(e){let n,i,r=e[66]("casinoPage.loading")+"";return{c(){n=he("p"),i=ge(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16&t[2]&&r!==(r=e[66]("casinoPage.loading")+"")&&ye(i,r)},d(e){e&&me(n)}}}function tl(e){let n;return{c(){k(n=he("casino-games-category-section"),"userid",e[6]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"favorites",e[14]),k(n,"lang",e[4]),k(n,"currency",e[3]),k(n,"session",e[5]),k(n,"categoryid","RNG$popular-games"),k(n,"categorygames","9"),k(n,"class","CategoryContainer"),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"livecasino",e[21]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[24]),k(n,"integratedgameframedesktop",e[30]),k(n,"integratedgameframemobile",e[31]),k(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&k(n,"userid",e[6]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),16384&t[0]&&k(n,"favorites",e[14]),16&t[0]&&k(n,"lang",e[4]),8&t[0]&&k(n,"currency",e[3]),32&t[0]&&k(n,"session",e[5]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2097152&t[0]&&k(n,"livecasino",e[21]),4096&t[0]&&k(n,"visiblegames",e[12]),16777216&t[0]&&k(n,"gamepagemodalurl",e[24]),1073741824&t[0]&&k(n,"integratedgameframedesktop",e[30]),1&t[1]&&k(n,"integratedgameframemobile",e[31]),1&t[0]&&k(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function nl(e){let n;return{c(){k(n=he("casino-my-games"),"userid",e[6]),k(n,"session",e[5]),k(n,"endpoint",e[1]),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"currency",e[3]),k(n,"favorites",e[14]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8]),k(n,"livecasino",e[21]),k(n,"visiblegames",e[12]),k(n,"gamepagemodalurl",e[24]),k(n,"integratedgameframedesktop",e[30]),k(n,"integratedgameframemobile",e[31]),k(n,"translationurl",""),k(n,"mostplayed",e[15]),k(n,"lastplayed",e[16]),k(n,"filteredcategories",e[19]),k(n,"activecategory",e[20]),k(n,"categoryindex","0"),k(n,"categoryid","MYGAMES"),k(n,"casinomygames",e[0])},m(e,t){ue(e,n,t)},p(e,t){64&t[0]&&k(n,"userid",e[6]),32&t[0]&&k(n,"session",e[5]),2&t[0]&&k(n,"endpoint",e[1]),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),8&t[0]&&k(n,"currency",e[3]),16384&t[0]&&k(n,"favorites",e[14]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8]),2097152&t[0]&&k(n,"livecasino",e[21]),4096&t[0]&&k(n,"visiblegames",e[12]),16777216&t[0]&&k(n,"gamepagemodalurl",e[24]),1073741824&t[0]&&k(n,"integratedgameframedesktop",e[30]),1&t[1]&&k(n,"integratedgameframemobile",e[31]),32768&t[0]&&k(n,"mostplayed",e[15]),65536&t[0]&&k(n,"lastplayed",e[16]),524288&t[0]&&k(n,"filteredcategories",e[19]),1048576&t[0]&&k(n,"activecategory",e[20]),1&t[0]&&k(n,"casinomygames",e[0])},d(e){e&&me(n)}}}function il(t){let r,a=t[64],o=[];for(let e=0;e<a.length;e+=1)o[e]=dl(Ys(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(2132827647&n[0]|4194303&n[1]|4&n[2]){let e;for(a=t[64],e=0;e<a.length;e+=1){var i=Ys(t,a,e);o[e]?o[e].p(i,n):(o[e]=dl(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){S(o,e),e&&me(r)}}}function rl(e){let n,i;return{c(){n=he("div"),k(i=he("casino-winners"),"session",e[5]),k(i,"userid",e[6]),k(i,"periodrecent",e[32]),k(i,"periodtop",e[33]),k(i,"numberusersrecent",e[34]),k(i,"numberuserstop",e[35]),k(i,"amountlimit",e[36]),k(i,"isrecentavailable",e[29]),k(i,"istopavailable",e[28]),k(i,"defaultcurrency",e[37]),k(i,"usercurrency",e[3]),k(i,"enableautoscroll",e[27]),k(i,"tabsorder",e[26]),k(i,"lang",e[4]),k(i,"clientstyling",e[7]),k(i,"clientstylingurl",e[8]),k(i,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){32&t[0]&&k(i,"session",e[5]),64&t[0]&&k(i,"userid",e[6]),2&t[1]&&k(i,"periodrecent",e[32]),4&t[1]&&k(i,"periodtop",e[33]),8&t[1]&&k(i,"numberusersrecent",e[34]),16&t[1]&&k(i,"numberuserstop",e[35]),32&t[1]&&k(i,"amountlimit",e[36]),536870912&t[0]&&k(i,"isrecentavailable",e[29]),268435456&t[0]&&k(i,"istopavailable",e[28]),64&t[1]&&k(i,"defaultcurrency",e[37]),8&t[0]&&k(i,"usercurrency",e[3]),134217728&t[0]&&k(i,"enableautoscroll",e[27]),67108864&t[0]&&k(i,"tabsorder",e[26]),16&t[0]&&k(i,"lang",e[4]),128&t[0]&&k(i,"clientstyling",e[7]),256&t[0]&&k(i,"clientstylingurl",e[8]),2&t[0]&&k(i,"endpoint",e[1])},d(e){e&&me(n)}}}function al(e){let n,i,r;return{c(){n=he("br"),i=pe(),k(r=he("casino-calendar"),"cmsendpoint",e[10]),k(r,"lang",e[4])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){1024&t[0]&&k(r,"cmsendpoint",e[10]),16&t[0]&&k(r,"lang",e[4])},d(e){e&&me(n),e&&me(i),e&&me(r)}}}function ol(e){let n,i,r,a;return{c(){n=he("br"),i=pe(),k(r=he("jackpot-banner"),"title","Jackpot Cards"),k(r,"currency",a=e[3]||"RON"),k(r,"gameid","999"),k(r,"endpoint",e[1]),k(r,"lang",e[4]),k(r,"backgroundsrc","/assets/background0.jpg"),k(r,"backgroundsrcmobile","/assets/background0.jpg"),k(r,"titlelogopath","/assets/jackpots_logo.svg"),k(r,"caticon0","/assets/icon0.svg"),k(r,"caticon1","/assets/icon1.svg"),k(r,"caticon2","/assets/icon2.svg"),k(r,"caticon3","/assets/icon3.svg"),k(r,"iconlabels",e[46]),k(r,"visualstructure","typeSpread"),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){8&t[0]&&a!==(a=e[3]||"RON")&&k(r,"currency",a),2&t[0]&&k(r,"endpoint",e[1]),16&t[0]&&k(r,"lang",e[4]),32768&t[1]&&k(r,"iconlabels",e[46]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(i),e&&me(r)}}}function sl(e){let n,i,r,a;return{c(){n=he("br"),i=pe(),k(r=he("jackpot-banner"),"title","Egypt Quest"),k(r,"currency",a=e[3]||"RON"),k(r,"gameid","998"),k(r,"endpoint",e[1]),k(r,"lang",e[4]),k(r,"backgroundsrc",e[43]),k(r,"backgroundsrcmobile",e[44]),k(r,"titlelogopath",e[45]),k(r,"caticon0",e[39]),k(r,"caticon1",e[40]),k(r,"caticon2",e[41]),k(r,"caticon3",e[42]),k(r,"iconlabels",e[46]),k(r,"visualstructure",e[47]),k(r,"clientstyling",e[7]),k(r,"clientstylingurl",e[8])},m(e,t){ue(e,n,t),ue(e,i,t),ue(e,r,t)},p(e,t){8&t[0]&&a!==(a=e[3]||"RON")&&k(r,"currency",a),2&t[0]&&k(r,"endpoint",e[1]),16&t[0]&&k(r,"lang",e[4]),4096&t[1]&&k(r,"backgroundsrc",e[43]),8192&t[1]&&k(r,"backgroundsrcmobile",e[44]),16384&t[1]&&k(r,"titlelogopath",e[45]),256&t[1]&&k(r,"caticon0",e[39]),512&t[1]&&k(r,"caticon1",e[40]),1024&t[1]&&k(r,"caticon2",e[41]),2048&t[1]&&k(r,"caticon3",e[42]),32768&t[1]&&k(r,"iconlabels",e[46]),65536&t[1]&&k(r,"visualstructure",e[47]),128&t[0]&&k(r,"clientstyling",e[7]),256&t[0]&&k(r,"clientstylingurl",e[8])},d(e){e&&me(n),e&&me(i),e&&me(r)}}}function ll(e){let n,i;return{c(){k(n=he("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"type","vendor"),k(n,"titletype","logo"),k(n,"collectionprovidersgamenames",e[51]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&k(n,"endpoint",i),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),1048576&t[1]&&k(n,"collectionprovidersgamenames",e[51]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function cl(e){let n,i;return{c(){k(n=he("casino-collections-providers"),"endpoint",i=e[1].slice(0,-2)),k(n,"datasource",e[2]),k(n,"lang",e[4]),k(n,"type",e[49]),k(n,"collectionprovidersgamenames",e[51]),k(n,"titletype",e[50]),k(n,"clientstyling",e[7]),k(n,"clientstylingurl",e[8])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&i!==(i=e[1].slice(0,-2))&&k(n,"endpoint",i),4&t[0]&&k(n,"datasource",e[2]),16&t[0]&&k(n,"lang",e[4]),262144&t[1]&&k(n,"type",e[49]),1048576&t[1]&&k(n,"collectionprovidersgamenames",e[51]),524288&t[1]&&k(n,"titletype",e[50]),128&t[0]&&k(n,"clientstyling",e[7]),256&t[0]&&k(n,"clientstylingurl",e[8])},d(e){e&&me(n)}}}function dl(n){let i,r,a,o,s,l,c,d,u,m,e,h,g,p,f=n[25]&&n[134]==+n[25]&&rl(n),y=n[52]&&n[134]==+n[52]&&al(n);function b(e,t){return 128&t[1]|4&t[2]&&(a=null),128&t[1]|4&t[2]&&(o=null),(a=null==a?!(!e[38]||e[134]!=(""==e[38].split(",")[0]?e[64].length:+e[38].split(",")[0])):a)?sl:(o=null==o?!(!e[38]||e[134]!=(""==e[38].split(",")[1]?e[64].length:+e[38].split(",")[1])):o)?ol:void 0}let v=b(n,[-1,-1,-1,-1,-1]),w=v&&v(n);function $(e,t){return 131072&t[1]|4&t[2]&&(l=null),131072&t[1]|4&t[2]&&(c=null),(l=null==l?!(!e[48]||e[134]!=(""==e[48].split(",")[0]?e[64].length:+e[48].split(",")[0])):l)?cl:(c=null==c?!(!e[48]||e[134]!=(""==e[48].split(",")[1]?e[64].length:+e[48].split(",")[1])):c)?ll:void 0}let x=$(n,[-1,-1,-1,-1,-1]),C=x&&x(n);return{c(){f&&f.c(),i=pe(),y&&y.c(),r=pe(),w&&w.c(),s=pe(),C&&C.c(),d=pe(),k(u=he("casino-games-category-section"),"session",n[5]),k(u,"userid",n[6]),k(u,"endpoint",n[1]),k(u,"datasource",n[2]),k(u,"lang",n[4]),k(u,"currency",n[3]),k(u,"categoryid",m=n[132]),k(u,"categoryindex",e=n[134]),k(u,"categorygames","9"),k(u,"favorites",n[14]),k(u,"class","CategoryContainer"),P(u,"background-color",n[134]%2!=0?n[11]:"transparent"),k(u,"clientstyling",n[7]),k(u,"clientstylingurl",n[8]),k(u,"livecasino",n[21]),k(u,"visiblegames",n[12]),k(u,"gamepagemodalurl",n[24]),k(u,"integratedgameframedesktop",n[30]),k(u,"integratedgameframemobile",n[31]),k(u,"casinomygames",n[0])},m(e,t){f&&f.m(e,t),ue(e,i,t),y&&y.m(e,t),ue(e,r,t),w&&w.m(e,t),ue(e,s,t),C&&C.m(e,t),ue(e,d,t),ue(e,u,t),g||(p=T(h=n[70].call(null,u,n[132])),g=!0)},p(e,t){(n=e)[25]&&n[134]==+n[25]?f?f.p(n,t):((f=rl(n)).c(),f.m(i.parentNode,i)):f&&(f.d(1),f=null),n[52]&&n[134]==+n[52]?y?y.p(n,t):((y=al(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),v===(v=b(n,t))&&w?w.p(n,t):(w&&w.d(1),(w=v&&v(n))&&(w.c(),w.m(s.parentNode,s))),x===(x=$(n,t))&&C?C.p(n,t):(C&&C.d(1),(C=x&&x(n))&&(C.c(),C.m(d.parentNode,d))),32&t[0]&&k(u,"session",n[5]),64&t[0]&&k(u,"userid",n[6]),2&t[0]&&k(u,"endpoint",n[1]),4&t[0]&&k(u,"datasource",n[2]),16&t[0]&&k(u,"lang",n[4]),8&t[0]&&k(u,"currency",n[3]),4&t[2]&&m!==(m=n[132])&&k(u,"categoryid",m),16384&t[0]&&k(u,"favorites",n[14]),2048&t[0]&&P(u,"background-color",n[134]%2!=0?n[11]:"transparent"),128&t[0]&&k(u,"clientstyling",n[7]),256&t[0]&&k(u,"clientstylingurl",n[8]),2097152&t[0]&&k(u,"livecasino",n[21]),4096&t[0]&&k(u,"visiblegames",n[12]),16777216&t[0]&&k(u,"gamepagemodalurl",n[24]),1073741824&t[0]&&k(u,"integratedgameframedesktop",n[30]),1&t[1]&&k(u,"integratedgameframemobile",n[31]),1&t[0]&&k(u,"casinomygames",n[0]),h&&F(h.update)&&4&t[2]&&h.update.call(null,n[132])},d(e){f&&f.d(e),e&&me(i),y&&y.d(e),e&&me(r),w&&w.d(e),e&&me(s),C&&C.d(e),e&&me(d),e&&me(u),g=!1,p()}}}function ul(n){let i,r,a,e,t,o,s,l=n[66]("casinoPage.breakButton")+"";return{c(){i=he("div"),r=he("button"),a=ge(l),fe(r,"class",e="PanicButton "+("PC"!==qe(n[67])?"PanicButtonMobile ":"")),fe(r,"part",t="PanicButton "+("PC"!==qe(n[67])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[60]),fe(i,"class",o="PanicSection "+("PC"!==qe(n[67])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==qe(n[67])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[78](r)},p(e,t){16&t[2]&&l!==(l=e[66]("casinoPage.breakButton")+"")&&ye(a,l),536870912&t[1]&&B(r,"PanicButtonAnimation",e[60])},d(e){e&&me(i),n[78](null)}}}function ml(n){let i;function r(e){return e[58]?Zs:Vs}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[79](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[79](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03);margin-left:20px}.Desktop .SearchAnimation{width:60%;outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ws,vs,t,{endpoint:0,datasource:23,session:24,userid:25,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,gamepagemodalurl:6,translationurl:26,showfavorites:7},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","translationurl","showfavorites"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[23]}set datasource(e){this.$$set({datasource:e}),f()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[6]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get translationurl(){return this.$$.ctx[26]}set translationurl(e){this.$$set({translationurl:e}),f()}get showfavorites(){return this.$$.ctx[7]}set showfavorites(e){this.$$set({showfavorites:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ks,Cs,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15,integratedgameframedesktop:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Rs,Bs,t,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),f()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:scroll;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:linear-gradient(#e2e2e2, #b5b5b5);border-radius:4px 4px 0 0;border-bottom:3px solid #888;display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:#fff;position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:#fff;position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:72px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:80%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:10px 6px;border-radius:5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},As,Ds,t,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),f()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),f()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),f()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),f()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),f()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),f()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),f()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:flex-start;text-align:left;gap:10px}.Mobile{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}</style>",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ws,zs,t,{cmsendpoint:6,lang:0},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["cmsendpoint","lang"]}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),f()}});let hl=!1;function gl(e,t,l){let R;Qe(e,Ki,e=>l(66,R=e));let D,{endpoint:c=""}=t,{datasource:n=""}=t,{currency:A=""}=t,{lang:r=""}=t,{session:a=""}=t,{userid:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:d=""}=t,{translationurl:u=""}=t,{cmsendpoint:N=""}=t,{categorybackground:O=""}=t,H=t["visiblegames"],{alternativesearch:j="false"}=t,{favorites:m=""}=t,{mostplayed:U=""}=t,{lastplayed:z=""}=t,{containermaxwidth:W="1300"}=t,{lobbyid:Y="casinodefault"}=t,{haspanicbutton:V="false"}=t,{mostplayedrounds:Z=""}=t,{lastplayedperiod:J=""}=t,{filteredcategories:h=""}=t,{activecategory:g=""}=t,{livecasino:K="false"}=t,{playrandomgame:X="false"}=t,{filteredrandomgamecategories:q=""}=t,{gamepagemodalurl:Q="false"}=t,{positionwinnerswidget:ee=""}=t,{tabsorder:te=""}=t,{enableautoscroll:ne=""}=t,{istopavailable:ie=""}=t,{isrecentavailable:re=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:oe="false"}=t,{periodrecent:se=""}=t,{periodtop:le=""}=t,{numberusersrecent:ce=""}=t,{numberuserstop:de=""}=t,{amountlimit:ue=""}=t,{defaultcurrency:me=""}=t,{positionjackpotbanners:he=""}=t,{caticon0:ge=""}=t,{caticon1:pe=""}=t,{caticon2:fe=""}=t,{caticon3:ye=""}=t,{backgroundsrc:be=""}=t,{backgroundsrcmobile:ve=""}=t,{titlelogopath:we=""}=t,{iconlabels:$e=""}=t,{visualstructure:xe=""}=t,{positioncollections:Ce=""}=t,{type:ke=""}=t,{titletype:Fe=""}=t,{casinomygames:p="false"}=t,{collectionprovidersgamenames:Se=""}=t,{positioncasinocalendar:Me=""}=t,{randombuttonicon:Te=""}=t,Ee=window.navigator.userAgent;D=Xe(Ee)?"OpenGameFrame":"ShowGameModal";let f,y,b,Le,v,w,Ge,_e,i,$,x=!1,C=!1,Ie=!1,k="",F=!1,S=0,M=!1,T=!0,Pe=!1,Be=[],E=[],Re=!1,L=[],De=0,G="",Ae=!1;var Ne,Oe;({withLocale:Ne,translations:Oe}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(Oe),Ke.set(Ne))}),Object.keys(xr).forEach(e=>{$r(e,xr[e])});const He=e=>{switch(Re=!0,l(0,p="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Re},window.location.href)}),e.data.itemId){case"LOBBY":l(62,T=!0),l(61,M=!1),l(74,v="");break;case"MYGAMES":l(0,p="true"),l(62,T=!1),l(61,M=!0),l(74,v="");break;case"FAVORITES":l(62,T=!1),l(61,M=!0),l(74,v="");break;case"MOSTPLAYED":"true"==U&&(l(74,v=""),l(62,T=!1),l(61,M=!0));break;case"LASTPLAYED":"true"==z&&(l(74,v=""),l(62,T=!1),l(61,M=!0));break;default:l(62,T=!1),l(61,M=!1),l(74,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},je=n=>{if(n.data)switch(n.data.type){case"CategoryChange":He(n);break;case"UserSessionID":y=n.data.session,(f=n.data.userID)&&f.length&&y&&0<y.length&&_(c,y,f);break;case"SetUnfavoredGame":t=`${c}/player/${f}/favorites`,o=y,f,s=n.data.id,n.data.triggerFactor,L.includes(s)&&(L=L.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),Ue(t,o)});break;case"SetFavoredGame":{var i=`${c}/player/${f}/favorites`;var r=y;f;var a=n.data.id;n.data.triggerFactor;L.includes(a)||L.push(a);let e={items:L},t={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(i,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),Ue(i,r)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&_(c,y,f);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),I();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),I();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href),I();break;case"CategoryVendors":G=n.data.categoryid,I();break;case"searchCancelled":l(63,Pe=!1),v&&He({data:{itemId:v}});break;case"searchActive":l(63,Pe=!0);break;case"ModalClosed":break;case"SubgroupsIds":E.some(e=>n.data.subGroupsIds.includes(e))||E.push(...n.data.subGroupsIds)}var e,t,o,s};let _=(e,t,n)=>{"true"==m&&a&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),Ye(i.items)),i)).then(e=>e).catch(e=>{console.error(e)})},Ue=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((i=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),i)).catch(e=>{console.error(e)})};const ze=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},We=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Ye=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const I=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&G&&(e[G]?l(65,De=e[G].length):l(65,De=0))},Ve=()=>{w&&(Ge=w.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},P=e=>{S=0,Le=setInterval(()=>{S+=1,l(60,F=!0),3<=S&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Le))},1e3)},B=e=>{S<3&&l(60,F=!1),clearInterval(Le)};return Ze(()=>(window.addEventListener("scroll",Ve,!1),window.addEventListener("message",je,!1),()=>{window.removeEventListener("scroll",Ve),window.removeEventListener("message",je),l(60,F=!1),null!=b&&b.removeEventListener("mousedown",P),null!=b&&b.removeEventListener("touchstart",P),null!=b&&b.removeEventListener("mouseup",B),null!=b&&b.removeEventListener("touchend",B)})),e.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"datasource"in e&&l(2,n=e.datasource),"currency"in e&&l(3,A=e.currency),"lang"in e&&l(4,r=e.lang),"session"in e&&l(5,a=e.session),"userid"in e&&l(6,o=e.userid),"clientstyling"in e&&l(7,s=e.clientstyling),"clientstylingurl"in e&&l(8,d=e.clientstylingurl),"translationurl"in e&&l(9,u=e.translationurl),"cmsendpoint"in e&&l(10,N=e.cmsendpoint),"categorybackground"in e&&l(11,O=e.categorybackground),"visiblegames"in e&&l(12,H=e.visiblegames),"alternativesearch"in e&&l(13,j=e.alternativesearch),"favorites"in e&&l(14,m=e.favorites),"mostplayed"in e&&l(15,U=e.mostplayed),"lastplayed"in e&&l(16,z=e.lastplayed),"containermaxwidth"in e&&l(17,W=e.containermaxwidth),"lobbyid"in e&&l(71,Y=e.lobbyid),"haspanicbutton"in e&&l(18,V=e.haspanicbutton),"mostplayedrounds"in e&&l(72,Z=e.mostplayedrounds),"lastplayedperiod"in e&&l(73,J=e.lastplayedperiod),"filteredcategories"in e&&l(19,h=e.filteredcategories),"activecategory"in e&&l(20,g=e.activecategory),"livecasino"in e&&l(21,K=e.livecasino),"playrandomgame"in e&&l(22,X=e.playrandomgame),"filteredrandomgamecategories"in e&&l(23,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(24,Q=e.gamepagemodalurl),"positionwinnerswidget"in e&&l(25,ee=e.positionwinnerswidget),"tabsorder"in e&&l(26,te=e.tabsorder),"enableautoscroll"in e&&l(27,ne=e.enableautoscroll),"istopavailable"in e&&l(28,ie=e.istopavailable),"isrecentavailable"in e&&l(29,re=e.isrecentavailable),"integratedgameframedesktop"in e&&l(30,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(31,oe=e.integratedgameframemobile),"periodrecent"in e&&l(32,se=e.periodrecent),"periodtop"in e&&l(33,le=e.periodtop),"numberusersrecent"in e&&l(34,ce=e.numberusersrecent),"numberuserstop"in e&&l(35,de=e.numberuserstop),"amountlimit"in e&&l(36,ue=e.amountlimit),"defaultcurrency"in e&&l(37,me=e.defaultcurrency),"positionjackpotbanners"in e&&l(38,he=e.positionjackpotbanners),"caticon0"in e&&l(39,ge=e.caticon0),"caticon1"in e&&l(40,pe=e.caticon1),"caticon2"in e&&l(41,fe=e.caticon2),"caticon3"in e&&l(42,ye=e.caticon3),"backgroundsrc"in e&&l(43,be=e.backgroundsrc),"backgroundsrcmobile"in e&&l(44,ve=e.backgroundsrcmobile),"titlelogopath"in e&&l(45,we=e.titlelogopath),"iconlabels"in e&&l(46,$e=e.iconlabels),"visualstructure"in e&&l(47,xe=e.visualstructure),"positioncollections"in e&&l(48,Ce=e.positioncollections),"type"in e&&l(49,ke=e.type),"titletype"in e&&l(50,Fe=e.titletype),"casinomygames"in e&&l(0,p=e.casinomygames),"collectionprovidersgamenames"in e&&l(51,Se=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&l(52,Me=e.positioncasinocalendar),"randombuttonicon"in e&&l(53,Te=e.randombuttonicon)},e.$$.update=()=>{var i,t;if((1048592&e.$$.dirty[0]&&r&&g&&(l(74,v=g),He({data:{itemId:v}})),98&e.$$.dirty[0]&&a&&o&&c&&(l(59,Ie=!0),y=a,(f=o)&&f.length&&y&&0<y.length&&"true"!=p&&_(c,y,f)),12288&e.$$.dirty[2]&&v&&E&&E&&!E.includes(decodeURI(v))&&""!=v&&window.postMessage({type:"NonExistentCategory"},window.location.href),8214&e.$$.dirty[0]&&c&&n&&r&&j)&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(58,C=!0),l(57,x=!1),console.error(k)),n||(k="Datasource is missing! Please provide a valid datasource.",l(58,C=!0),l(57,x=!1),console.error(k)),(!r||r.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(58,C=!0),l(57,x=!1),console.error(k)),!C)){l(57,x=!0),"true"==m&&_(c,y,f),t=r,Ke.set(t);let e=new URL(c+"/casino/groups/"+n);e.searchParams.append("language",r),e.searchParams.append("platform",qe(Ee)),i=e,new Promise((t,n)=>{l(57,x=!0),fetch(i).then(e=>e.json()).then(e=>{l(57,x=!1),t(e)}).catch(e=>{l(58,C=!0),l(57,x=!1),console.error(e),n(e)})}).then(e=>{let i=h.split(",");e&&(_e=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of i)e.flags==n&&(t=!1);return t}),l(64,Be=_e.map(e=>e.id)),l(75,E=e.items.map(e=>e.id.toString())),l(57,x=!1))}),I(),(w=void 0)&&(Ge=w.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(16&e.$$.dirty[0]&&r&&(Ae&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ae=!1),512&e.$$.dirty[0]&&u&&fetch(u).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{$r(e,t[e])})}).catch(e=>{console.log(e)}),128&e.$$.dirty[0]|16777216&e.$$.dirty[1]&&s&&$){let e=document.createElement("style");e.innerHTML=s,$.appendChild(e)}if(256&e.$$.dirty[0]|16777216&e.$$.dirty[1]&&d&&$){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}8388608&e.$$.dirty[1]&&b&&(null!=b&&b.addEventListener("mousedown",P,!1),null!=b&&b.addEventListener("touchstart",P,!1),null!=b&&b.addEventListener("mouseup",B,!1),null!=b&&b.addEventListener("touchend",B,!1))},[p,c,n,A,r,a,o,s,d,u,N,O,H,j,m,U,z,W,V,h,g,K,X,q,Q,ee,te,ne,ie,re,ae,oe,se,le,ce,de,ue,me,he,ge,pe,fe,ye,be,ve,we,$e,xe,Ce,ke,Fe,Se,Me,Te,b,$,D,x,C,Ie,F,M,T,Pe,Be,De,R,Ee,ze,We,(e,t)=>{G=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:H,receivedFavoriteResults:i},window.location.href)},Y,Z,J,v,E,()=>We(),()=>{ze()},function(e){Je[e?"unshift":"push"](()=>{b=e,l(54,b)})},function(e){Je[e?"unshift":"push"](()=>{$=e,l(55,$)})}]}function pl(e,t){Li(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.FiltersButtonsContainer{display:flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}@media screen and (max-width: 1300px){}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},gl,ml,t,{endpoint:1,datasource:2,currency:3,lang:4,session:5,userid:6,clientstyling:7,clientstylingurl:8,translationurl:9,cmsendpoint:10,categorybackground:11,visiblegames:12,alternativesearch:13,favorites:14,mostplayed:15,lastplayed:16,containermaxwidth:17,lobbyid:71,haspanicbutton:18,mostplayedrounds:72,lastplayedperiod:73,filteredcategories:19,activecategory:20,livecasino:21,playrandomgame:22,filteredrandomgamecategories:23,gamepagemodalurl:24,positionwinnerswidget:25,tabsorder:26,enableautoscroll:27,istopavailable:28,isrecentavailable:29,integratedgameframedesktop:30,integratedgameframemobile:31,periodrecent:32,periodtop:33,numberusersrecent:34,numberuserstop:35,amountlimit:36,defaultcurrency:37,positionjackpotbanners:38,caticon0:39,caticon1:40,caticon2:41,caticon3:42,backgroundsrc:43,backgroundsrcmobile:44,titlelogopath:45,iconlabels:46,visualstructure:47,positioncollections:48,type:49,titletype:50,casinomygames:0,collectionprovidersgamenames:51,positioncasinocalendar:52,randombuttonicon:53},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","casinomygames","collectionprovidersgamenames","positioncasinocalendar","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[3]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[5]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[6]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),f()}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get categorybackground(){return this.$$.ctx[11]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[71]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[72]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[73]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[19]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[20]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[21]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[22]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[25]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[26]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[27]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[28]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[29]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[30]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[31]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[32]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[33]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[34]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[35]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[36]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[37]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[38]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[39]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[40]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[41]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[42]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[43]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[44]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[45]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[46]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[47]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[48]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[49]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[50]}set titletype(e){this.$$set({titletype:e}),f()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[51]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get positioncasinocalendar(){return this.$$.ctx[52]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get randombuttonicon(){return this.$$.ctx[53]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}});const fl={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function yl(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var bl=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},vl=function(e,...t){try{return yl(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function wl(n){let i,r,a=n[11]&&Cl(n);return{c(){i=he("div"),r=he("div"),a&&a.c(),fe(r,"class","CasinoGamePageContainer"),fe(r,"part","CasinoGamePageContainer"),P(r,"background","rgba(0, 0, 0, 0.5)"),fe(i,"class","GamePageBackground"),P(i,"background",n[20]?"":`url(${n[10].backgroundImageUrl})`),P(i,"background-size","cover")},m(e,t){ue(e,i,t),de(i,r),a&&a.m(r,null),n[82](i)},p(e,t){e[11]?a?a.p(e,t):((a=Cl(e)).c(),a.m(r,null)):a&&(a.d(1),a=null),1049600&t[0]&&P(i,"background",e[20]?"":`url(${e[10].backgroundImageUrl})`)},d(e){e&&me(i),a&&a.d(),n[82](null)}}}function $l(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function xl(e){let n,i,r=e[24]("gamePage.loading")+"";return{c(){n=he("p"),i=ge(r),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){16777216&t[0]&&r!==(r=e[24]("gamePage.loading")+"")&&ye(i,r)},d(e){e&&me(n)}}}function Cl(e){let n;function i(e){return e[20]?Ml:e[6]?Sl:e[12]?Fl:kl}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function kl(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){i=he("div"),r=he("h3"),a=ge($),o=pe(),s=he("img"),c=pe(),d=he("div"),u=he("button"),m=ge(x),h=pe(),g=he("button"),p=ge(C),f=pe(),y=he("p"),b=ge(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(g,"class","RegisterButton"),fe(g,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,m),de(d,h),de(d,g),de(g,p),de(i,f),de(i,y),de(y,b),v||(w=[V(u,"click",n[80]),V(g,"click",n[81])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(a,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(m,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(p,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(i),v=!1,Y(w)}}}function Fl(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";function k(e){return e[17]?El:Tl}let F=k(n),S=F(n);return{c(){i=he("div"),r=he("div"),a=he("iframe"),s=pe(),l=he("div"),c=he("div"),d=he("button"),u=ge(x),m=pe(),h=he("button"),g=ge(C),p=pe(),f=he("p"),y=he("span"),b=ge(n[4]),v=pe(),S.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(h,"class","RegisterButton"),fe(h,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(r,"id","IframeGame"),fe(r,"part","IframeGame"),fe(r,"style",n[23]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),P(i,"width",n[18]),P(i,"height",n[19]),B(i,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[71](a),de(r,s),de(r,l),de(l,c),de(c,d),de(d,u),de(c,m),de(c,h),de(h,g),de(l,p),de(l,f),de(f,y),de(y,b),n[74](f),de(l,v),S.m(l,null),n[77](l),n[78](r),n[79](i),w||($=[V(d,"click",n[72]),V(h,"click",n[73])],w=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(u,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4]),F===(F=k(e))&&S?S.p(e,t):(S.d(1),(S=F(e))&&(S.c(),S.m(l,null))),8388608&t[0]&&fe(r,"style",e[23]),262144&t[0]&&P(i,"width",e[18]),524288&t[0]&&P(i,"height",e[19]),131072&t[0]&&B(i,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[71](null),n[74](null),S.d(),n[77](null),n[78](null),n[79](null),w=!1,Y($)}}}function Sl(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$=n[24]("gamePage.deposit")+"",x="true"===n[1]&&Ll(n);function C(e){return e[17]?_l:Gl}let k=C(n),F=k(n);return{c(){i=he("div"),r=he("div"),a=he("iframe"),s=pe(),l=he("div"),c=he("button"),d=ge($),u=pe(),m=he("p"),h=he("span"),g=ge(n[4]),p=pe(),x&&x.c(),f=pe(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(m,"class","Time"),fe(m,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(r,"id","IframeGame"),fe(r,"part","IframeGame"),fe(r,"style",n[23]),fe(i,"id","IframeContainer"),fe(i,"part","IframeContainer"),P(i,"width",n[18]),P(i,"height",n[19]),B(i,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[62](a),de(r,s),de(r,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h),de(h,g),n[64](m),de(l,p),x&&x.m(l,null),de(l,f),F.m(l,null),n[68](l),n[69](r),n[70](i),v||(w=V(c,"click",n[63]),v=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),16777216&t[0]&&$!==($=e[24]("gamePage.deposit")+"")&&ye(d,$),16&t[0]&&ye(g,e[4]),"true"===e[1]?x?x.p(e,t):((x=Ll(e)).c(),x.m(l,f)):x&&(x.d(1),x=null),k===(k=C(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),8388608&t[0]&&fe(r,"style",e[23]),262144&t[0]&&P(i,"width",e[18]),524288&t[0]&&P(i,"height",e[19]),131072&t[0]&&B(i,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[62](null),n[64](null),x&&x.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function Ml(e){let n;function i(e){return e[6]?Bl:e[13]?Pl:Il}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function Tl(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[76]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function El(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[75]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function Ll(n){let i,r,a,o=n[24]("gamePage.breakButton")+"";return{c(){i=he("div"),r=he("button"),a=ge(o),fe(r,"class","Button"),fe(r,"part","Button"),B(r,"PanicButtonAnimation",n[9]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[65](r)},p(e,t){16777216&t[0]&&o!==(o=e[24]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(r,"PanicButtonAnimation",e[9])},d(e){e&&me(i),n[65](null)}}}function Gl(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[67]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function _l(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[66]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function Il(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){i=he("div"),r=he("h3"),a=ge($),o=pe(),s=he("img"),c=pe(),d=he("div"),u=he("button"),m=ge(x),h=pe(),g=he("button"),p=ge(C),f=pe(),y=he("p"),b=ge(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(g,"class","RegisterButton"),fe(g,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,m),de(d,h),de(d,g),de(g,p),de(i,f),de(i,y),de(y,b),v||(w=[V(u,"click",n[60]),V(g,"click",n[61])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(a,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(m,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(p,C),16&t[0]&&ye(b,e[4])},d(e){e&&me(i),v=!1,Y(w)}}}function Pl(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k=n[10].name+"",F=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"",M=n[24]("gamePage.playForFun")+"";return{c(){i=he("div"),r=he("h3"),a=ge(k),o=pe(),s=he("img"),c=pe(),d=he("div"),u=he("button"),m=ge(F),h=pe(),g=he("button"),p=ge(S),f=pe(),y=he("button"),b=ge(M),v=pe(),w=he("p"),$=ge(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(g,"class","RegisterButton"),fe(g,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(i,o),de(i,s),de(i,c),de(i,d),de(d,u),de(u,m),de(d,h),de(d,g),de(g,p),de(d,f),de(d,y),de(y,b),de(i,v),de(i,w),de(w,$),x||(C=[V(u,"click",n[57]),V(g,"click",n[58]),V(y,"click",n[59])],x=!0)},p(e,t){1024&t[0]&&k!==(k=e[10].name+"")&&ye(a,k),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&F!==(F=e[24]("gamePage.signIn")+"")&&ye(m,F),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ye(p,S),16777216&t[0]&&M!==(M=e[24]("gamePage.playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&me(i),x=!1,Y(C)}}}function Bl(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C=n[10].name+"",k=n[24]("gamePage.deposit")+"",F=n[24]("gamePage.playNow")+"",S="true"==n[0]&&Rl(n),M="true"===n[1]&&Nl(n);return{c(){S&&S.c(),i=pe(),r=he("div"),a=he("h3"),o=ge(C),s=pe(),l=he("img"),d=pe(),u=he("div"),m=he("button"),h=ge(k),g=pe(),p=he("button"),f=ge(F),y=pe(),M&&M.c(),b=pe(),v=he("p"),w=ge(n[4]),ce(l.src,c=n[10].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(m,"class","DepositButton"),fe(m,"part","DepositButton"),fe(p,"class","PlayNowButton"),fe(p,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){S&&S.m(e,t),ue(e,i,t),ue(e,r,t),de(r,a),de(a,o),de(r,s),de(r,l),de(r,d),de(r,u),de(u,m),de(m,h),de(u,g),de(u,p),de(p,f),de(r,y),M&&M.m(r,null),de(r,b),de(r,v),de(v,w),$||(x=[V(m,"click",n[54]),V(p,"click",n[55])],$=!0)},p(e,t){"true"==e[0]?S?S.p(e,t):((S=Rl(e)).c(),S.m(i.parentNode,i)):S&&(S.d(1),S=null),1024&t[0]&&C!==(C=e[10].name+"")&&ye(o,C),1024&t[0]&&!ce(l.src,c=e[10].thumbnail)&&fe(l,"src",c),16777216&t[0]&&k!==(k=e[24]("gamePage.deposit")+"")&&ye(h,k),16777216&t[0]&&F!==(F=e[24]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=Nl(e)).c(),M.m(r,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){S&&S.d(e),e&&me(i),e&&me(r),M&&M.d(),$=!1,Y(x)}}}function Rl(e){let n;function i(e){return e[10].isFavored?Al:Dl}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),(a=r(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&me(n)}}}function Dl(n){let i,r,a,o,s,l,c;return{c(){i=he("div"),r=M("svg"),P(a=M("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","20px"),fe(r,"y","20px"),fe(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),l||(c=V(i,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&me(i),l=!1,c()}}}function Al(n){let i,r,a,o,s,l,c;return{c(){i=he("div"),r=M("svg"),P(a=M("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(r,"version","1.1"),fe(r,"class","FavoredIcon"),fe(r,"part","FavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"viewBox","0 0 19.481 19.481"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"enable-background","new 0 0 19.481 19.481"),fe(i,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(i,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),l||(c=V(i,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(i,"part",s)},d(e){e&&me(i),l=!1,c()}}}function Nl(n){let i,r,a,e,t,o,s,l=n[24]("gamePage.breakButton")+"";return{c(){i=he("div"),r=he("button"),a=ge(l),fe(r,"class",e="PanicButton "+("PC"!==qe(n[25])?"PanicButtonMobile":"")),fe(r,"part",t="PanicButton "+("PC"!==qe(n[25])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[9]),fe(i,"class",o="PanicSection "+("PC"!==qe(n[25])?"PanicSectionMobile":"")),fe(i,"part",s="PanicSection "+("PC"!==qe(n[25])?"PanicSectionMobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[56](r)},p(e,t){16777216&t[0]&&l!==(l=e[24]("gamePage.breakButton")+"")&&ye(a,l),512&t[0]&&B(r,"PanicButtonAnimation",e[9])},d(e){e&&me(i),n[56](null)}}}function Ol(n){let i;function r(e){return e[8]?xl:e[7]?$l:wl}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[83](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[83](null)}}}function Hl(t,e,r){let R;Qe(t,Ki,e=>r(24,R=e));let D,n,i,a,A,o,s,l,c,N,O,d,u,H,j,m,h,g,p,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{favorites:z=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:W=""}=e,{loginevent:k=""}=e,{registerevent:F=""}=e,{depositevent:Y=""}=e,{clockformat:V=""}=e,{haspanicbutton:Z="false"}=e,{playforfun:S="true"}=e,{checksession:J="true"}=e,{integratedgameframedesktop:M="false"}=e,{integratedgameframemobile:K="false"}=e,{gameid:X=""}=e,T=!1,q=!1,E=!0,Q=!1,ee=0,L=!1,te=!1,ne=!1,ie=!0,G=!1,_=window.navigator.userAgent,re=!1,ae=[],oe=!1,se="false",le;var ce,de;({withLocale:ce,translations:de}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(de),Ke.set(ce))}),Object.keys(fl).forEach(e=>{pl(e,fl[e])});const ue=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(6,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,e},me=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),ie=t||!1,fetch(n.href).then(e=>e.json()).then(e=>{r(10,o=ue(e[0])),r(8,E=!1),o.launchUrl&&(r(11,L=!0),r(12,te="true"==S&&o.hasFunMode),r(13,ne="true"==S&&o.hasAnonymousFunMode),r(10,o.isFavored=fe(o.id),o))},e=>{console.error("There was an error",e),r(7,q=!0)}).then(()=>{s&&(ie||(r(18,N=o.width),r(19,O=o.height),H=o.width+"px",j=o.height+"px",d=o.width,u=o.height),ve())}).finally(()=>{r(8,E=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=a&&a.addEventListener("mousedown",Se,!1),null!=a&&a.addEventListener("touchstart",Se,!1),null!=a&&a.addEventListener("mouseup",Me,!1),null!=a&&a.addEventListener("touchend",Me,!1)},ge=()=>{r(9,Q=!1),null!=a&&a.removeEventListener("mousedown",Se),null!=a&&a.removeEventListener("touchstart",Se),null!=a&&a.removeEventListener("mouseup",Me),null!=a&&a.removeEventListener("touchend",Me)},pe=e=>{switch(e.data.type){case"GameLaunchID":me(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":r(51,se="true");break;case"LaunchGameFrame":be(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"false"==M&&!Xe(_)||(window.postMessage({type:"EnableScroll"},window.location.href),r(51,se="false"),ge(),Xe(_)?setTimeout(()=>{r(11,L="true"===K)},500):setTimeout(()=>{r(11,L="true"===M)},500));break;case"UserSessionID":if(0<e.data.session.length){i=e.data.session,e.data.userID,r(6,T=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",i),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),r(10,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":r(18,N=e.data.modalContainerSize.modalWidth),r(19,O=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ae=e.data.receivedFavoriteResults.items)}},fe=t=>-1!==ae.findIndex(e=>e.id==t),ye=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),r(10,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),r(10,o.isFavored=!0,o))},be=(e,n)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t;r(10,o=ue(e[0])),r(8,E=!1),o.launchUrl&&r(10,o.isFavored=(e=o,t=n,r(13,ne="true"==S&&e.hasAnonymousFunMode),r(12,te="true"==S&&t),r(11,L=!0),fe(e.id)),o)}).finally(()=>{r(8,E=!1)})},ve=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,H=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Te()},we=e=>{if(!oe)return Xe(_)?$e(K):$e(M);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};vl("OPEN_GAME",e)},$e=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},xe=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:L},window.location.href),L&&(s&&ve(),window.addEventListener("ModalSize",pe,!1))},I=()=>{k&&"false"==M&&!Xe(_)?window.postMessage({type:k,transition:"Login"},window.location.href):k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{F&&"false"==M&&!Xe(_)?window.postMessage({type:F,transition:"Register"},window.location.href):F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Ce=()=>{Y&&(window.postMessage({type:Y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"GamePage"})),W&&(window.location=W)};function ke(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ke,!1),document.addEventListener("mozfullscreenchange",ke,!1),document.addEventListener("fullscreenchange",ke,!1),document.addEventListener("MSFullscreenChange",ke,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(17,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(17,G=!0)))},Fe=(setInterval(()=>{r(4,D=V?Mr().format(V):Mr().format("LTS"))},100),()=>{"true"==J?Xi(f,b).then(e=>{i=e.Guid,e.UserID,r(6,T=!0)},e=>{r(6,T=!1),console.error("err on session",e)}):(i=b,r(6,T=!0))}),Se=e=>{ee=0,A=setInterval(()=>{ee+=1,r(9,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(A))},1e3)},Me=e=>{ee<3&&r(9,Q=!1),clearInterval(A)},Te=()=>{var e=G?"100%":H,t=G?"100%":j,n=G||!ie?"none":o.width?Math.floor(o.width)+"px":"1280px",i=G||!ie?"none":o.height?Math.floor(o.height)+100+"px":"720px";r(23,le=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+i),G||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,i=parseInt(getComputedStyle(s).height);p=p||i*Math.max(n,.5),r(14,s.style.height=p+"px",s),r(15,l.style.height=p+"px",l),e&&r(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return Ze(()=>(window.addEventListener("resize",xe,!1),window.addEventListener("message",pe,!1),oe=!!bl(_),()=>{ge(),window.removeEventListener("resize",xe),window.removeEventListener("message",pe)})),t.$$set=e=>{"endpoint"in e&&r(32,f=e.endpoint),"lang"in e&&r(33,y=e.lang),"session"in e&&r(34,b=e.session),"userid"in e&&r(35,U=e.userid),"clientstyling"in e&&r(36,v=e.clientstyling),"clientstylingurl"in e&&r(37,w=e.clientstylingurl),"translationurl"in e&&r(38,$=e.translationurl),"favorites"in e&&r(0,z=e.favorites),"loginurl"in e&&r(39,x=e.loginurl),"registerurl"in e&&r(40,C=e.registerurl),"depositurl"in e&&r(41,W=e.depositurl),"loginevent"in e&&r(42,k=e.loginevent),"registerevent"in e&&r(43,F=e.registerevent),"depositevent"in e&&r(44,Y=e.depositevent),"clockformat"in e&&r(45,V=e.clockformat),"haspanicbutton"in e&&r(1,Z=e.haspanicbutton),"playforfun"in e&&r(46,S=e.playforfun),"checksession"in e&&r(47,J=e.checksession),"integratedgameframedesktop"in e&&r(48,M=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(49,K=e.integratedgameframemobile),"gameid"in e&&r(50,X=e.gameid)},t.$$.update=()=>{if(4&t.$$.dirty[1]&&y&&(e=y,Ke.set(e),r(20,re=Xe(_))),524294&t.$$.dirty[1]&&f&&X&&y&&me(X,!0),26&t.$$.dirty[1]&&b&&U&&f&&Fe(),65546&t.$$.dirty[1]&&"false"==J&&b&&f&&Fe(),128&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{pl(e,t[e])})}).catch(e=>{console.log(e)}),8&t.$$.dirty[0]|32&t.$$.dirty[1]&&v&&m){let e=document.createElement("style");e.innerHTML=v,m.appendChild(e)}if(8&t.$$.dirty[0]|64&t.$$.dirty[1]&&w&&m){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==se&&a&&he(),4&t.$$.dirty[0]&&a&&he()},[z,Z,a,m,D,n,T,q,E,Q,o,L,te,ne,s,l,c,G,N,O,re,h,g,"",R,_,ye,we,I,P,Ce,B,f,y,b,U,v,w,$,x,C,W,k,F,Y,V,S,J,M,K,X,se,()=>ye(o.id),()=>ye(o.id),()=>Ce(),()=>{we(o)},function(e){Je[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>I(),()=>P(),()=>{we(o)},()=>I(),()=>P(),function(e){Je[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>Ce(),function(e){Je[e?"unshift":"push"](()=>{g=e,r(22,g)})},function(e){Je[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){Je[e?"unshift":"push"](()=>{h=e,r(21,h)})},function(e){Je[e?"unshift":"push"](()=>{l=e,r(15,l)})},function(e){Je[e?"unshift":"push"](()=>{s=e,r(14,s)})},function(e){Je[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>I(),()=>P(),function(e){Je[e?"unshift":"push"](()=>{g=e,r(22,g)})},()=>B(),()=>B(),function(e){Je[e?"unshift":"push"](()=>{h=e,r(21,h)})},function(e){Je[e?"unshift":"push"](()=>{l=e,r(15,l)})},function(e){Je[e?"unshift":"push"](()=>{s=e,r(14,s)})},()=>I(),()=>P(),function(e){Je[e?"unshift":"push"](()=>{c=e,r(16,c)})},function(e){Je[e?"unshift":"push"](()=>{m=e,r(3,m)})}]}function jl(n){let i,r,a,o,s,l,c,d,t,u,m,h;return{c(){i=he("div"),r=he("div"),(a=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=pe(),s=he("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(r,"class",l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(r,"part",c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(i,"class","FilterModalWindow"),fe(i,"id","FilterModal"),fe(i,"part","FilterModalWindow"),K(()=>n[13].call(i))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(r,o),de(r,s),d=g(i,n[13].bind(i)),u=!0,m||(h=V(a,"click",n[6]),m=!0)},p(e,t){n=e,(!u||8&t&&l!==(l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(r,"class",l),(!u||8&t&&c!==(c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(r,"part",c)},i(e){u||(K(()=>{(t=t||le(i,$s,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||le(i,$s,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&me(i),d(),e&&t&&t.end(),m=!1,h()}}}function Ul(n){let i,r,a=n[0]&&jl(n);return{c(){i=he("div"),a&&a.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),a&&a.m(i,null),n[14](i),r=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&ae(a,1)):((a=jl(e)).c(),ae(a,1),a.m(i,null)):a&&(ie(),oe(a,1,1,()=>{a=null}),re())},i(e){r||(ae(a),r=!0)},o(e){oe(a),r=!1},d(e){e&&me(i),a&&a.d(),n[14](null)}}}function zl(e,t,n){let i,r,a,{show:o=!1}=t,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:m=""}=t,{sessioncheck:h="true"}=t,g=window.navigator.userAgent,p=!1;const f=()=>{n(0,o=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))};return Ze(()=>(window.addEventListener("message",y,!1),Xe(g)&&n(3,p=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,s=e.duration),"session"in e&&n(7,l=e.session),"userid"in e&&n(8,c=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"endpoint"in e&&n(11,m=e.endpoint),"sessioncheck"in e&&n(12,h=e.sessioncheck)},e.$$.update=()=>{if(2432&e.$$.dirty&&l&&c&&m&&"true"==h&&Xi(m,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),516&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(1028&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[o,s,i,p,void 0,void 0,f,l,c,d,u,m,h,function(){r=this.clientWidth,a=this.clientHeight,n(4,r),n(5,a)},function(e){Je[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Wl(e,t){Li(e,t)}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Hl,Ol,t,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,translationurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[35]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},zl,Ul,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11,sessioncheck:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[12]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Yl={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtro",filterModalSubtitle:"Selecciona multiples opciones",filterClear:"Resetear Filtro",filterApply:"Aplicar"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Vl(e,t,n){const i=e.slice();return i[34]=t[n],i}function Zl(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",S=n[6]("filters.filterApply")+"",M=n[1]&&Kl(n),T=n[4]&&Ql(n);return{c(){i=he("div"),r=he("section"),a=he("div"),o=he("h4"),s=ge(k),l=pe(),c=he("h5"),d=ge(F),u=pe(),m=he("section"),M&&M.c(),h=pe(),g=he("section"),T&&T.c(),p=pe(),f=he("div"),y=ge(S),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(r,"class","FilterHeaderSection"),fe(r,"part","FilterHeaderSection"),fe(m,"class","FilterContentSection"),fe(m,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(g,"class","FilterFooterSection"),fe(g,"part","FilterFooterSection"),fe(i,"class",w="FilterModalContent "+(n[2]?"FilterModalMobileContent":"")),fe(i,"part",$="FilterModalContent "+(n[2]?"FilterModalMobileContent":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(i,u),de(i,m),M&&M.m(m,null),de(i,h),de(i,g),T&&T.m(g,null),de(g,p),de(g,f),de(f,y),x||(C=V(f,"click",n[20]),x=!0)},p(e,t){64&t[0]&&k!==(k=e[6]("filters.filterModalTitle")+"")&&ye(s,k),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(d,F),e[1]?M?M.p(e,t):((M=Kl(e)).c(),M.m(m,null)):M&&(M.d(1),M=null),e[4]?T?T.p(e,t):((T=Ql(e)).c(),T.m(g,p)):T&&(T.d(1),T=null),64&t[0]&&S!==(S=e[6]("filters.filterApply")+"")&&ye(y,S),8&t[0]&&b!==(b="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),8&t[0]&&v!==(v="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),4&t[0]&&w!==(w="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(i,"class",w),4&t[0]&&$!==($="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(i,"part",$)},d(e){e&&me(i),M&&M.d(),T&&T.d(),x=!1,C()}}}function Jl(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function Kl(t){let r,a=t[1],o=[];for(let e=0;e<a.length;e+=1)o[e]=ql(Vl(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,r,n)},p(t,n){if(130&n[0]){let e;for(a=t[1],e=0;e<a.length;e+=1){var i=Vl(t,a,e);o[e]?o[e].p(i,n):(o[e]=ql(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){S(o,e),e&&me(r)}}}function Xl(){let n;return{c(){(n=he("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ql(n){let i,r,a,o,s,l,c,d,u,m,h=n[34].isFilterSelected&&Xl();function g(){return n[18](n[34])}return{c(){i=he("div"),r=he("img"),s=pe(),h&&h.c(),l=pe(),fe(r,"class","VendorImage"),fe(r,"part","VendorImage"),ce(r.src,a=n[34].image)||fe(r,"src",a),fe(r,"alt",o=n[34].name),fe(i,"class",c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":"")),fe(i,"part",d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,i,t),de(i,r),de(i,s),h&&h.m(i,null),de(i,l),u||(m=V(i,"click",g),u=!0)},p(e,t){n=e,2&t[0]&&!ce(r.src,a=n[34].image)&&fe(r,"src",a),2&t[0]&&o!==(o=n[34].name)&&fe(r,"alt",o),n[34].isFilterSelected?h||((h=Xl()).c(),h.m(i,l)):h&&(h.d(1),h=null),2&t[0]&&c!==(c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"class",c),2&t[0]&&d!==(d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(i,"part",d)},d(e){e&&me(i),h&&h.d(),u=!1,m()}}}function Ql(e){let n,i=e[4].length&&ec(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){e[4].length?i?i.p(e,t):((i=ec(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function ec(n){let i,r,a,o,s=n[6]("filters.filterClear")+"";return{c(){i=he("div"),r=ge(s),fe(i,"class","ClearFiltersButton"),fe(i,"part","ClearFiltersButton")},m(e,t){ue(e,i,t),de(i,r),a||(o=V(i,"click",n[19]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(r,s)},d(e){e&&me(i),a=!1,o()}}}function tc(n){let i;function r(e){return e[5]?Jl:Zl}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W,fe(i,"part","CustomStylingContainer")},m(e,t){ue(e,i,t),o.m(i,null),n[21](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[21](null)}}}function nc(e,t,r){let n;Qe(e,Ki,e=>r(6,n=e));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{translationurl:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:m=""}=t,h=[],g=!1,p=window.navigator.userAgent,f=!1,y="",b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},$=!1,x=(w[y]&&(w={[y]:[]}),[]);var C,k;({withLocale:C,translations:k}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(k),Ke.set(C))}),Object.keys(Yl).forEach(e=>{Wl(e,Yl[e])});const F=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(y&&((b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&r(4,v=b[y])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}i=`${a}/casino/vendors?filter=games(groups=${y})&datasource=${o}&platform=`+qe(p),new Promise((t,n)=>{fetch(i).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},y&&t[y]&&(e.isFilterSelected=0<=t[y].indexOf(e.id))}),r(1,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),r(4,v=x),r(3,f=!1);break;case"AvailableVendors":r(1,h=t.data.venArray),r(4,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(1,h=t.data.venArray),h&&r(4,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":T(),window.postMessage({type:"ApplyFilters"},window.location.href),r(3,f=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":y=t.data.categoryid,b&&y&&r(4,v=b[y]);break;case"ModalLoader":r(5,$=!1)}var i},S=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),r(3,f=!M(v,x))):(v.includes(t.id)&&r(4,v=v.filter(e=>e!==t.id)),r(3,f=!(!v.length&&M(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},M=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},T=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(3,f=M(v,x)),r(4,v=[]),null!==e&&((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},E=()=>{r(5,$=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)},L=()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)},G=()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})};return Ze(()=>(window.addEventListener("message",F,!1),Xe(p)&&r(2,g=!0),()=>{window.removeEventListener("message",F)})),e.$$set=e=>{"endpoint"in e&&r(10,a=e.endpoint),"datasource"in e&&r(11,o=e.datasource),"lang"in e&&r(12,s=e.lang),"session"in e&&r(13,l=e.session),"userid"in e&&r(14,c=e.userid),"translationurl"in e&&r(15,d=e.translationurl),"clientstyling"in e&&r(16,u=e.clientstyling),"clientstylingurl"in e&&r(17,m=e.clientstylingurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&u&&L(),131072&e.$$.dirty[0]&&m&&G(),32768&e.$$.dirty[0]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Wl(e,t[e])})}).catch(e=>{console.log(e)}),65537&e.$$.dirty[0]&&u&&i&&L(),131073&e.$$.dirty[0]&&m&&i&&G()},[i,h,g,f,v,$,n,S,T,E,a,o,s,l,c,d,u,m,e=>S(e),()=>T(),()=>E(),function(e){Je[e?"unshift":"push"](()=>{i=e,r(0,i)})}]}function ic(e,t){Li(e,t)}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},nc,tc,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,translationurl:15,clientstyling:16,clientstylingurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","translationurl","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const rc={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function ac(e){let n;function i(e){return e[6]?cc:e[11]?lc:void 0}let r=i(e),a=r&&r(e);return{c(){n=he("div"),a&&a.c(),fe(n,"class","CasinoIntegratedGamePage"),fe(n,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),(a=r&&r(e))&&(a.c(),a.m(n,null)))},d(e){e&&me(n),a&&a.d()}}}function oc(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function sc(e){let n;return{c(){(n=he("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:W,d(e){e&&me(n)}}}function lc(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,F,S,M,T=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function L(e){return e[17]?uc:dc}let G=L(n),_=G(n),I="true"==n[1]&&!n[17]&&mc();return{c(){i=he("div"),(r=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=pe(),o=he("p"),s=he("span"),l=ge(n[4]),c=pe(),d=he("div"),u=pe(),m=he("div"),h=he("div"),g=he("iframe"),f=pe(),y=he("div"),b=he("div"),v=he("button"),w=ge(T),$=pe(),x=he("button"),C=ge(E),k=pe(),_.c(),F=pe(),I&&I.c(),fe(r,"class","backButton"),fe(r,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,p=n[10].launchUrl)||fe(g,"src",p),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(x,"class","RegisterButton"),fe(x,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(h,"id","IframeGame"),fe(h,"part","IframeGame"),P(h,"width",n[17]?"100%":n[18]),P(h,"height",n[17]?"100%":n[19]),P(h,"max-width",n[17]||!n[12]?"none":n[10].width?Math.floor(n[10].width)+"px":"1280px"),P(h,"max-height",n[17]||!n[12]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(m,"id","IframeContainer"),fe(m,"part","IframeContainer"),B(m,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(i,a),de(i,o),de(o,s),de(s,l),n[57](o),de(i,c),de(i,d),ue(e,u,t),ue(e,m,t),de(m,h),de(h,g),n[58](g),de(h,f),de(h,y),de(y,b),de(b,v),de(v,w),de(b,$),de(b,x),de(x,C),de(y,k),_.m(y,null),n[63](y),n[64](h),de(m,F),I&&I.m(m,null),n[65](m),S||(M=[V(r,"click",n[56]),V(v,"click",n[59]),V(x,"click",n[60])],S=!0)},p(e,t){16&t[0]&&ye(l,e[4]),1024&t[0]&&!ce(g.src,p=e[10].launchUrl)&&fe(g,"src",p),4194304&t[0]&&T!==(T=e[22]("gamePage.signIn")+"")&&ye(w,T),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye(C,E),G===(G=L(e))&&_?_.p(e,t):(_.d(1),(_=G(e))&&(_.c(),_.m(y,null))),393216&t[0]&&P(h,"width",e[17]?"100%":e[18]),655360&t[0]&&P(h,"height",e[17]?"100%":e[19]),136192&t[0]&&P(h,"max-width",e[17]||!e[12]?"none":e[10].width?Math.floor(e[10].width)+"px":"1280px"),136192&t[0]&&P(h,"max-height",e[17]||!e[12]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?I&&(I.d(1),I=null):I||((I=mc()).c(),I.m(m,null)),131072&t[0]&&B(m,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[57](null),e&&me(u),e&&me(m),n[58](null),_.d(),n[63](null),n[64](null),I&&I.d(),n[65](null),S=!1,Y(M)}}}function cc(n){let i,r,a,o,s,l,c,d,u,m,h,g,p,f,y,b,v,w,$,x,C,k,F=n[22]("gamePage.deposit")+"",S="true"===n[0]&&hc(n);function M(e){return e[17]?pc:gc}let T=M(n),E=T(n),L="true"==n[1]&&!n[17]&&fc();return{c(){i=he("div"),(r=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=pe(),o=he("p"),s=he("span"),l=ge(n[4]),c=pe(),d=he("button"),u=ge(F),m=pe(),h=he("div"),g=he("div"),p=he("iframe"),v=pe(),w=he("div"),S&&S.c(),$=pe(),E.c(),x=pe(),L&&L.c(),fe(r,"class","backButton"),fe(r,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(i,"class","GamePageIntegratedTopSection"),fe(i,"part","GamePageIntegratedTopSection"),fe(p,"title","Games"),fe(p,"id","IframeGame"),fe(p,"class","GamesContainer"),fe(p,"part","GamesContainer"),fe(p,"aria-hidden","false"),ce(p.src,f=n[10].launchUrl)||fe(p,"src",f),fe(p,"width",y=n[14]+"px"),fe(p,"height",b=n[15]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(g,"id","IframeGame"),fe(g,"part","IframeGame"),P(g,"width",n[17]?"100%":n[18]),P(g,"height",n[17]?"100%":n[19]),P(g,"max-width",n[17]?"none":n[10].width?n[10].width+"px":"1280px"),P(g,"max-height",n[17]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[17])},m(e,t){ue(e,i,t),de(i,r),de(i,a),de(i,o),de(o,s),de(s,l),n[47](o),de(i,c),de(i,d),de(d,u),ue(e,m,t),ue(e,h,t),de(h,g),de(g,p),n[49](p),de(g,v),de(g,w),S&&S.m(w,null),de(w,$),E.m(w,null),n[53](w),n[54](g),de(h,x),L&&L.m(h,null),n[55](h),C||(k=[V(r,"click",n[46]),V(d,"click",n[48])],C=!0)},p(e,t){16&t[0]&&ye(l,e[4]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(u,F),1024&t[0]&&!ce(p.src,f=e[10].launchUrl)&&fe(p,"src",f),16384&t[0]&&y!==(y=e[14]+"px")&&fe(p,"width",y),32768&t[0]&&b!==(b=e[15]+"px")&&fe(p,"height",b),"true"===e[0]?S?S.p(e,t):((S=hc(e)).c(),S.m(w,$)):S&&(S.d(1),S=null),T===(T=M(e))&&E?E.p(e,t):(E.d(1),(E=T(e))&&(E.c(),E.m(w,null))),393216&t[0]&&P(g,"width",e[17]?"100%":e[18]),655360&t[0]&&P(g,"height",e[17]?"100%":e[19]),132096&t[0]&&P(g,"max-width",e[17]?"none":e[10].width?e[10].width+"px":"1280px"),132096&t[0]&&P(g,"max-height",e[17]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?L&&(L.d(1),L=null):L||((L=fc()).c(),L.m(h,null)),131072&t[0]&&B(h,"FullsScreenLayout",e[17])},d(e){e&&me(i),n[47](null),e&&me(m),e&&me(h),n[49](null),S&&S.d(),E.d(),n[53](null),n[54](null),L&&L.d(),n[55](null),C=!1,Y(k)}}}function dc(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[62]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function uc(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[61]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function mc(){let n;return{c(){(n=he("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function hc(n){let i,r,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){i=he("div"),r=he("button"),a=ge(o),fe(r,"class",e="PanicButton "+("PC"!==qe(n[23])?"PanicButtonMobile":"")),fe(r,"part",t="PanicButton "+("PC"!==qe(n[23])?"PanicButtonMobile":"")),B(r,"PanicButtonAnimation",n[9]),fe(i,"class","PanicSection"),fe(i,"part","PanicSection")},m(e,t){ue(e,i,t),de(i,r),de(r,a),n[50](r)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(r,"PanicButtonAnimation",e[9])},d(e){e&&me(i),n[50](null)}}}function gc(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[52]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function pc(n){let i,r,a;return{c(){(i=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(i,"class","FullscreenButton"),fe(i,"part","FullscreenButton")},m(e,t){ue(e,i,t),r||(a=V(i,"click",n[51]),r=!0)},p:W,d(e){e&&me(i),r=!1,a()}}}function fc(){let n;return{c(){(n=he("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function yc(n){let i;function r(e){return e[8]?sc:e[7]?oc:ac}let a=r(n),o=a(n);return{c(){i=he("div"),o.c(),this.c=W},m(e,t){ue(e,i,t),o.m(i,null),n[66](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(i,null)))},i:W,o:W,d(e){e&&me(i),o.d(),n[66](null)}}}function bc(t,e,i){let R;Qe(t,Ki,e=>i(22,R=e));let D,n,r,a,A,o,s,l,c,d,u,m,N,O,h,g,p,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:H=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:k=""}=e,{loginevent:F=""}=e,{registerevent:S=""}=e,{depositevent:M=""}=e,{clockformat:T=""}=e,{haspanicbutton:j="false"}=e,{playforfun:E="true"}=e,{checksession:U="true"}=e,{gamebanneractive:z="false"}=e,{gameid:L=""}=e,G=!1,W=!1,Y=!0,_=!1,I=0,V=!1,Z=!1,J=!0,P=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(q),Ke.set(X))}),Object.keys(rc).forEach(e=>{ic(e,rc[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(12,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(10,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),r&&0<r.length&&(i(6,G=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,h.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,i(11,Z="true"==E&&o.hasFunMode),"true"==E&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),i(7,W=!0)}).then(()=>{s&&(ee(),J||(i(18,N=o.width),i(19,O=o.height),u=o.width,m=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);i(14,l=parseInt(e.width.slice(0,-2))),i(15,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),m=parseInt(t.height),l/n>c-g.clientHeight-p.clientHeight?(m=c-g.clientHeight-p.clientHeight,u=c*n):(u=l,m=l/n),i(18,N=u?Math.floor(u)+"px":"1280px"),i(19,O=m?Math.floor(m)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==qe(K)&&ee()},ne=()=>{F&&(window.postMessage({type:F,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ie=()=>{S&&(window.postMessage({type:S,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},re=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),k&&(window.location=k)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!P||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(P?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,P=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,P=!0)))},oe=setInterval(()=>{i(4,D=T?Mr().format(T):Mr().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{I=0,A=setInterval(()=>{I+=1,i(9,_=!0),3<=I&&clearInterval(A)},1e3)},ce=e=>{I<3&&i(9,_=!1),clearInterval(A)};return Ze(()=>(window.addEventListener("resize",te,!1),bl(K),()=>{i(9,_=!1),null!=a&&a.removeEventListener("mousedown",le),null!=a&&a.removeEventListener("touchstart",le),null!=a&&a.removeEventListener("mouseup",ce),null!=a&&a.removeEventListener("touchend",ce),window.removeEventListener("resize",te),clearInterval(oe)})),t.$$set=e=>{"endpoint"in e&&i(29,f=e.endpoint),"lang"in e&&i(30,y=e.lang),"session"in e&&i(31,b=e.session),"userid"in e&&i(32,H=e.userid),"clientstyling"in e&&i(33,v=e.clientstyling),"clientstylingurl"in e&&i(34,w=e.clientstylingurl),"translationurl"in e&&i(35,$=e.translationurl),"loginurl"in e&&i(36,x=e.loginurl),"registerurl"in e&&i(37,C=e.registerurl),"depositurl"in e&&i(38,k=e.depositurl),"loginevent"in e&&i(39,F=e.loginevent),"registerevent"in e&&i(40,S=e.registerevent),"depositevent"in e&&i(41,M=e.depositevent),"clockformat"in e&&i(42,T=e.clockformat),"haspanicbutton"in e&&i(0,j=e.haspanicbutton),"playforfun"in e&&i(43,E=e.playforfun),"checksession"in e&&i(44,U=e.checksession),"gamebanneractive"in e&&i(1,z=e.gamebanneractive),"gameid"in e&&i(45,L=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,Ke.set(e),Xe(K),i(8,Y=!1)),1610612736&t.$$.dirty[0]|16384&t.$$.dirty[1]&&f&&L&&y&&Q(L),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&H&&f&&("true"==U?Xi(f,b).then(e=>{r=e.Guid,e.UserID,i(6,G=!0)},e=>{i(6,G=!1),console.error("err on session",e)}):r=b),8&t.$$.dirty[0]|4&t.$$.dirty[1]&&v&&h){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(8&t.$$.dirty[0]|8&t.$$.dirty[1]&&w&&h){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",le,!1),null!=a&&a.addEventListener("touchstart",le,!1),null!=a&&a.addEventListener("mouseup",ce,!1),null!=a&&a.addEventListener("touchend",ce,!1)),16&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ic(e,t[e])})}).catch(e=>{console.log(e)})},[j,z,a,h,D,n,G,W,Y,_,o,Z,J,s,l,c,d,P,N,O,g,p,R,K,ne,ie,re,B,se,f,y,b,H,v,w,$,x,C,k,F,S,M,T,E,U,L,()=>se(),function(e){Je[e?"unshift":"push"](()=>{p=e,i(21,p)})},()=>re(),function(e){Je[e?"unshift":"push"](()=>{n=e,i(5,n)})},function(e){Je[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){Je[e?"unshift":"push"](()=>{g=e,i(20,g)})},function(e){Je[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){Je[e?"unshift":"push"](()=>{s=e,i(13,s)})},()=>se(),function(e){Je[e?"unshift":"push"](()=>{p=e,i(21,p)})},function(e){Je[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>ne(),()=>ie(),()=>B(),()=>B(),function(e){Je[e?"unshift":"push"](()=>{g=e,i(20,g)})},function(e){Je[e?"unshift":"push"](()=>{d=e,i(16,d)})},function(e){Je[e?"unshift":"push"](()=>{s=e,i(13,s)})},function(e){Je[e?"unshift":"push"](()=>{h=e,i(3,h)})}]}function vc(e){let n,i,r,a,o,s,l,c,d,u,m,h,g,p="true"==e[23]&&$c(e);return{c(){n=he("div"),i=he("div"),r=he("div"),a=pe(),o=he("div"),s=pe(),l=he("casino-categories-slider"),c=pe(),d=he("casino-page"),u=pe(),p&&p.c(),m=pe(),h=he("casino-filter-modal"),g=he("casino-filter-page"),fe(r,"class","HeaderPlaceholder"),fe(r,"part","HeaderPlaceholder"),P(r,"height",e[65]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),k(l,"endpoint",e[58]),k(l,"datasource",e[59]),k(l,"lang",e[60]),k(l,"session",e[64]),k(l,"userid",e[3]),k(l,"sessioncheck","false"),k(l,"actionevent",e[20]),k(l,"filteredcategories",e[8]),k(l,"mostplayed",e[12]),k(l,"mostplayedrounds",e[13]),k(l,"lastplayed",e[14]),k(l,"lastplayedperiod",e[15]),k(l,"favorites",e[16]),k(l,"activecategory",e[1]),k(l,"clientstyling",e[4]),k(l,"clientstylingurl",e[5]),k(l,"containermaxwidth",e[18]),k(l,"location","secondaryMenu"),k(l,"showsubgroups",e[49]),k(d,"session",e[64]),k(d,"userid",e[3]),k(d,"endpoint",e[58]),k(d,"datasource",e[59]),k(d,"lang",e[60]),k(d,"cmsendpoint",e[2]),k(d,"visiblegames",e[25]),k(d,"playrandomgame",e[24]),k(d,"activecategory",e[1]),k(d,"alternativesearch",e[17]),k(d,"favorites",e[16]),k(d,"mostplayedrounds",e[13]),k(d,"mostplayed",e[12]),k(d,"lastplayed",e[14]),k(d,"lastplayedperiod",e[15]),k(d,"clientstyling",e[4]),k(d,"clientstylingurl",e[5]),k(d,"lobbyid",e[7]),k(d,"containermaxwidth",e[18]),k(d,"haspanicbutton",e[19]),k(d,"livecasino",e[21]),k(d,"currency",e[0]),k(d,"filteredcategories",e[8]),k(d,"gamepagemodalurl",e[28]),k(d,"randombuttonicon",e[55]),k(d,"positioncasinocalendar",e[54]),k(d,"filteredrandomgamecategories",e[56]),k(d,"positionwinnerswidget",e[29]),k(d,"periodrecent",e[34]),k(d,"periodtop",e[35]),k(d,"numberusersrecent",e[36]),k(d,"numberuserstop",e[37]),k(d,"amountlimit",e[38]),k(d,"isrecentavailable",e[33]),k(d,"istopavailable",e[32]),k(d,"integratedgameframedesktop",e[26]),k(d,"integratedgameframemobile",e[27]),k(d,"defaultcurrency",e[39]),k(d,"enableautoscroll",e[31]),k(d,"collectionprovidersgamenames",e[53]),k(d,"tabsorder",e[30]),k(d,"positionjackpotbanners",e[40]),k(d,"backgroundsrc",e[45]),k(d,"backgroundsrcmobile",e[46]),k(d,"titlelogopath",e[47]),k(d,"caticon0",e[41]),k(d,"caticon1",e[42]),k(d,"caticon2",e[43]),k(d,"caticon3",e[44]),k(d,"iconlabels",e[48]),k(d,"positioncollections",e[50]),k(d,"type",e[51]),k(d,"titletype",e[52]),k(d,"casinomygames",Cc),k(g,"clientstyling",e[4]),k(g,"clientstylingurl",e[5]),k(g,"session",e[64]),k(g,"userid",e[3]),k(g,"endpoint",e[58]),k(g,"datasource",e[59]),k(g,"lang",e[60]),k(h,"clientstylingurl",e[5]),k(h,"clientstyling",e[4]),k(h,"session",e[64]),k(h,"userid",e[3]),k(h,"endpoint",e[58]),k(h,"datasource",e[59]),k(h,"lang",e[60]),k(h,"sessioncheck","false"),fe(i,"class","WidgetsSection"),fe(i,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,i),de(i,r),de(i,a),de(i,o),de(i,s),de(i,l),de(i,c),de(i,d),de(i,u),p&&p.m(i,null),de(i,m),de(i,h),de(h,g)},p(e,t){8&t[2]&&P(r,"height",e[65]+"px"),134217728&t[1]&&k(l,"endpoint",e[58]),268435456&t[1]&&k(l,"datasource",e[59]),536870912&t[1]&&k(l,"lang",e[60]),4&t[2]&&k(l,"session",e[64]),8&t[0]&&k(l,"userid",e[3]),1048576&t[0]&&k(l,"actionevent",e[20]),256&t[0]&&k(l,"filteredcategories",e[8]),4096&t[0]&&k(l,"mostplayed",e[12]),8192&t[0]&&k(l,"mostplayedrounds",e[13]),16384&t[0]&&k(l,"lastplayed",e[14]),32768&t[0]&&k(l,"lastplayedperiod",e[15]),65536&t[0]&&k(l,"favorites",e[16]),2&t[0]&&k(l,"activecategory",e[1]),16&t[0]&&k(l,"clientstyling",e[4]),32&t[0]&&k(l,"clientstylingurl",e[5]),262144&t[0]&&k(l,"containermaxwidth",e[18]),262144&t[1]&&k(l,"showsubgroups",e[49]),4&t[2]&&k(d,"session",e[64]),8&t[0]&&k(d,"userid",e[3]),134217728&t[1]&&k(d,"endpoint",e[58]),268435456&t[1]&&k(d,"datasource",e[59]),536870912&t[1]&&k(d,"lang",e[60]),4&t[0]&&k(d,"cmsendpoint",e[2]),33554432&t[0]&&k(d,"visiblegames",e[25]),16777216&t[0]&&k(d,"playrandomgame",e[24]),2&t[0]&&k(d,"activecategory",e[1]),131072&t[0]&&k(d,"alternativesearch",e[17]),65536&t[0]&&k(d,"favorites",e[16]),8192&t[0]&&k(d,"mostplayedrounds",e[13]),4096&t[0]&&k(d,"mostplayed",e[12]),16384&t[0]&&k(d,"lastplayed",e[14]),32768&t[0]&&k(d,"lastplayedperiod",e[15]),16&t[0]&&k(d,"clientstyling",e[4]),32&t[0]&&k(d,"clientstylingurl",e[5]),128&t[0]&&k(d,"lobbyid",e[7]),262144&t[0]&&k(d,"containermaxwidth",e[18]),524288&t[0]&&k(d,"haspanicbutton",e[19]),2097152&t[0]&&k(d,"livecasino",e[21]),1&t[0]&&k(d,"currency",e[0]),256&t[0]&&k(d,"filteredcategories",e[8]),268435456&t[0]&&k(d,"gamepagemodalurl",e[28]),16777216&t[1]&&k(d,"randombuttonicon",e[55]),8388608&t[1]&&k(d,"positioncasinocalendar",e[54]),33554432&t[1]&&k(d,"filteredrandomgamecategories",e[56]),536870912&t[0]&&k(d,"positionwinnerswidget",e[29]),8&t[1]&&k(d,"periodrecent",e[34]),16&t[1]&&k(d,"periodtop",e[35]),32&t[1]&&k(d,"numberusersrecent",e[36]),64&t[1]&&k(d,"numberuserstop",e[37]),128&t[1]&&k(d,"amountlimit",e[38]),4&t[1]&&k(d,"isrecentavailable",e[33]),2&t[1]&&k(d,"istopavailable",e[32]),67108864&t[0]&&k(d,"integratedgameframedesktop",e[26]),134217728&t[0]&&k(d,"integratedgameframemobile",e[27]),256&t[1]&&k(d,"defaultcurrency",e[39]),1&t[1]&&k(d,"enableautoscroll",e[31]),4194304&t[1]&&k(d,"collectionprovidersgamenames",e[53]),1073741824&t[0]&&k(d,"tabsorder",e[30]),512&t[1]&&k(d,"positionjackpotbanners",e[40]),16384&t[1]&&k(d,"backgroundsrc",e[45]),32768&t[1]&&k(d,"backgroundsrcmobile",e[46]),65536&t[1]&&k(d,"titlelogopath",e[47]),1024&t[1]&&k(d,"caticon0",e[41]),2048&t[1]&&k(d,"caticon1",e[42]),4096&t[1]&&k(d,"caticon2",e[43]),8192&t[1]&&k(d,"caticon3",e[44]),131072&t[1]&&k(d,"iconlabels",e[48]),524288&t[1]&&k(d,"positioncollections",e[50]),1048576&t[1]&&k(d,"type",e[51]),2097152&t[1]&&k(d,"titletype",e[52]),"true"==e[23]?p?p.p(e,t):((p=$c(e)).c(),p.m(i,m)):p&&(p.d(1),p=null),16&t[0]&&k(g,"clientstyling",e[4]),32&t[0]&&k(g,"clientstylingurl",e[5]),4&t[2]&&k(g,"session",e[64]),8&t[0]&&k(g,"userid",e[3]),134217728&t[1]&&k(g,"endpoint",e[58]),268435456&t[1]&&k(g,"datasource",e[59]),536870912&t[1]&&k(g,"lang",e[60]),32&t[0]&&k(h,"clientstylingurl",e[5]),16&t[0]&&k(h,"clientstyling",e[4]),4&t[2]&&k(h,"session",e[64]),8&t[0]&&k(h,"userid",e[3]),134217728&t[1]&&k(h,"endpoint",e[58]),268435456&t[1]&&k(h,"datasource",e[59]),536870912&t[1]&&k(h,"lang",e[60])},d(e){e&&me(n),p&&p.d()}}}function wc(e){let n,i;return{c(){n=he("p"),i=ge(e[63]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,i)},p(e,t){2&t[2]&&ye(i,e[63])},d(e){e&&me(n)}}}function $c(e){let n,i;return{c(){n=he("casino-modal"),k(i=he("casino-game-page"),"session",e[64]),k(i,"userid",e[3]),k(i,"endpoint",e[58]),k(i,"datasource",e[59]),k(i,"lang",e[60]),k(i,"loginevent",e[9]),k(i,"registerevent",e[10]),k(i,"depositevent",e[11]),k(i,"checksession","false"),k(i,"playforfun",e[22]),k(i,"favorites",e[16]),k(i,"clientstyling",e[4]),k(i,"clientstylingurl",e[5]),k(i,"clockformat",e[6]),k(i,"haspanicbutton",e[19]),k(i,"currency",e[0]),k(i,"integratedgameframedesktop",e[26]),k(i,"integratedgameframemobile",e[27]),k(n,"session",e[64]),k(n,"userid",e[3]),k(n,"endpoint",e[58]),k(n,"datasource",e[59]),k(n,"lang",e[60]),k(n,"sessioncheck","false"),k(n,"clientstyling",e[4]),k(n,"clientstylingurl",e[5]),k(n,"gamepagemodalurl",e[28]),k(n,"haspanicbutton",e[19]),k(n,"integratedgameframedesktop",e[26])},m(e,t){ue(e,n,t),de(n,i)},p(e,t){4&t[2]&&k(i,"session",e[64]),8&t[0]&&k(i,"userid",e[3]),134217728&t[1]&&k(i,"endpoint",e[58]),268435456&t[1]&&k(i,"datasource",e[59]),536870912&t[1]&&k(i,"lang",e[60]),512&t[0]&&k(i,"loginevent",e[9]),1024&t[0]&&k(i,"registerevent",e[10]),2048&t[0]&&k(i,"depositevent",e[11]),4194304&t[0]&&k(i,"playforfun",e[22]),65536&t[0]&&k(i,"favorites",e[16]),16&t[0]&&k(i,"clientstyling",e[4]),32&t[0]&&k(i,"clientstylingurl",e[5]),64&t[0]&&k(i,"clockformat",e[6]),524288&t[0]&&k(i,"haspanicbutton",e[19]),1&t[0]&&k(i,"currency",e[0]),67108864&t[0]&&k(i,"integratedgameframedesktop",e[26]),134217728&t[0]&&k(i,"integratedgameframemobile",e[27]),4&t[2]&&k(n,"session",e[64]),8&t[0]&&k(n,"userid",e[3]),134217728&t[1]&&k(n,"endpoint",e[58]),268435456&t[1]&&k(n,"datasource",e[59]),536870912&t[1]&&k(n,"lang",e[60]),16&t[0]&&k(n,"clientstyling",e[4]),32&t[0]&&k(n,"clientstylingurl",e[5]),268435456&t[0]&&k(n,"gamepagemodalurl",e[28]),524288&t[0]&&k(n,"haspanicbutton",e[19]),67108864&t[0]&&k(n,"integratedgameframedesktop",e[26])},d(e){e&&me(n)}}}function xc(n){let i,r,a;function o(e){return e[62]?wc:vc}let s=o(n),l=s(n);return{c(){i=he("div"),l.c(),this.c=W,fe(i,"class",r=n[61]?"DisplayNone":""),fe(i,"part",a=n[61]?"DisplayNone":"")},m(e,t){ue(e,i,t),l.m(i,null),n[77](i)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(i,null))),1073741824&t[1]&&r!==(r=e[61]?"DisplayNone":"")&&fe(i,"class",r),1073741824&t[1]&&a!==(a=e[61]?"DisplayNone":"")&&fe(i,"part",a)},i:W,o:W,d(e){e&&me(i),l.d(),n[77](null)}}}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},bc,yc,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),f()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),f()}});let Cc="false";function kc(e,t,n){let i,r,a,o,{endpoint:s=""}=t,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=t,{datasource:c=""}=t,{lang:d=""}=t,{session:u=""}=t,{userid:m=""}=t,{opsession:h=""}=t,{clientstyling:g=""}=t,{clientstylingurl:p=""}=t,{clockformat:f=""}=t,{lobbyid:y=""}=t,{currency:b=""}=t,{filteredcategories:v=""}=t,{loginurl:w=""}=t,{registerurl:$=""}=t,{depositurl:x=""}=t,{loginevent:C=""}=t,{registerevent:k=""}=t,{depositevent:R=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:D=""}=t,{lastplayed:S="false"}=t,{lastplayedperiod:A="Last30Days"}=t,{favorites:M=""}=t,{desktopoffset:T="0"}=t,{mobileoffset:E="0"}=t,{alternativesearch:N="false"}=t,{containermaxwidth:O=""}=t,{haspanicbutton:H="false"}=t,{activecategory:L="LOBBY"}=t,{actionevent:j="CategoryChange"}=t,{livecasino:U="false"}=t,{playforfun:z="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:Y="false"}=t,{visiblegames:V="10"}=t,{integratedgameframedesktop:Z="false"}=t,{integratedgameframemobile:J="false"}=t,{gamepagemodalurl:K="false"}=t,{positionwinnerswidget:X=""}=t,{tabsorder:q=""}=t,{enableautoscroll:Q=""}=t,{istopavailable:ee=""}=t,{isrecentavailable:te=""}=t,{periodrecent:ne=""}=t,{periodtop:ie=""}=t,{numberusersrecent:re=""}=t,{numberuserstop:ae=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:se=""}=t,{positionjackpotbanners:le=""}=t,{caticon0:ce=""}=t,{caticon1:de=""}=t,{caticon2:ue=""}=t,{caticon3:me=""}=t,{backgroundsrc:he=""}=t,{backgroundsrcmobile:ge=""}=t,{titlelogopath:pe=""}=t,{iconlabels:fe=""}=t,{visualstructure:ye=""}=t,{showsubgroups:be="false"}=t,{positioncollections:ve=""}=t,{type:we=""}=t,{titletype:$e=""}=t,{collectionprovidersgamenames:xe=""}=t,{positioncasinocalendar:Ce=""}=t,{randombuttonicon:ke=""}=t,{filteredrandomgamecategories:Fe=""}=t,G=!1,_=!1,I="Loading, please wait ...",P="",Se=window.navigator.userAgent,B=0,Me=!1;var Te,Ee;({withLocale:Te,translations:Ee}={withLocale:"en",translations:{}}),Ke.subscribe(e=>{null==e&&(Ti.set(Ee),Ke.set(Te))});const Le=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(Me=e.data.scrollTop)&&(B||n(65,B="PC"===qe(Se)?parseInt(T):parseInt(E)),window.scrollTo({top:B}));break;case"UserSessionID":n(64,P=e.data.session),e.data.userID;break;case"CategoryChange":n(1,L=e.data.itemId)}};return Ze(()=>(window.addEventListener("message",Le,!1),n(65,B="PC"===qe(Se)?parseInt(T):parseInt(E)),()=>{window.removeEventListener("message",Le)})),e.$$set=e=>{"endpoint"in e&&n(66,s=e.endpoint),"cmsendpoint"in e&&n(2,l=e.cmsendpoint),"datasource"in e&&n(67,c=e.datasource),"lang"in e&&n(68,d=e.lang),"session"in e&&n(69,u=e.session),"userid"in e&&n(3,m=e.userid),"opsession"in e&&n(70,h=e.opsession),"clientstyling"in e&&n(4,g=e.clientstyling),"clientstylingurl"in e&&n(5,p=e.clientstylingurl),"clockformat"in e&&n(6,f=e.clockformat),"lobbyid"in e&&n(7,y=e.lobbyid),"currency"in e&&n(0,b=e.currency),"filteredcategories"in e&&n(8,v=e.filteredcategories),"loginurl"in e&&n(71,w=e.loginurl),"registerurl"in e&&n(72,$=e.registerurl),"depositurl"in e&&n(73,x=e.depositurl),"loginevent"in e&&n(9,C=e.loginevent),"registerevent"in e&&n(10,k=e.registerevent),"depositevent"in e&&n(11,R=e.depositevent),"mostplayed"in e&&n(12,F=e.mostplayed),"mostplayedrounds"in e&&n(13,D=e.mostplayedrounds),"lastplayed"in e&&n(14,S=e.lastplayed),"lastplayedperiod"in e&&n(15,A=e.lastplayedperiod),"favorites"in e&&n(16,M=e.favorites),"desktopoffset"in e&&n(74,T=e.desktopoffset),"mobileoffset"in e&&n(75,E=e.mobileoffset),"alternativesearch"in e&&n(17,N=e.alternativesearch),"containermaxwidth"in e&&n(18,O=e.containermaxwidth),"haspanicbutton"in e&&n(19,H=e.haspanicbutton),"activecategory"in e&&n(1,L=e.activecategory),"actionevent"in e&&n(20,j=e.actionevent),"livecasino"in e&&n(21,U=e.livecasino),"playforfun"in e&&n(22,z=e.playforfun),"gamemodal"in e&&n(23,W=e.gamemodal),"playrandomgame"in e&&n(24,Y=e.playrandomgame),"visiblegames"in e&&n(25,V=e.visiblegames),"integratedgameframedesktop"in e&&n(26,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(27,J=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(28,K=e.gamepagemodalurl),"positionwinnerswidget"in e&&n(29,X=e.positionwinnerswidget),"tabsorder"in e&&n(30,q=e.tabsorder),"enableautoscroll"in e&&n(31,Q=e.enableautoscroll),"istopavailable"in e&&n(32,ee=e.istopavailable),"isrecentavailable"in e&&n(33,te=e.isrecentavailable),"periodrecent"in e&&n(34,ne=e.periodrecent),"periodtop"in e&&n(35,ie=e.periodtop),"numberusersrecent"in e&&n(36,re=e.numberusersrecent),"numberuserstop"in e&&n(37,ae=e.numberuserstop),"amountlimit"in e&&n(38,oe=e.amountlimit),"defaultcurrency"in e&&n(39,se=e.defaultcurrency),"positionjackpotbanners"in e&&n(40,le=e.positionjackpotbanners),"caticon0"in e&&n(41,ce=e.caticon0),"caticon1"in e&&n(42,de=e.caticon1),"caticon2"in e&&n(43,ue=e.caticon2),"caticon3"in e&&n(44,me=e.caticon3),"backgroundsrc"in e&&n(45,he=e.backgroundsrc),"backgroundsrcmobile"in e&&n(46,ge=e.backgroundsrcmobile),"titlelogopath"in e&&n(47,pe=e.titlelogopath),"iconlabels"in e&&n(48,fe=e.iconlabels),"visualstructure"in e&&n(76,ye=e.visualstructure),"showsubgroups"in e&&n(49,be=e.showsubgroups),"positioncollections"in e&&n(50,ve=e.positioncollections),"type"in e&&n(51,we=e.type),"titletype"in e&&n(52,$e=e.titletype),"collectionprovidersgamenames"in e&&n(53,xe=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&n(54,Ce=e.positioncasinocalendar),"randombuttonicon"in e&&n(55,ke=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(56,Fe=e.filteredrandomgamecategories)},e.$$.update=()=>{if(64&e.$$.dirty[2]&&d&&qi(d),8&e.$$.dirty[0]|144&e.$$.dirty[2]&&u&&m&&s&&Xi(s,u).then(e=>{n(64,P=e.Guid),e.UserID,n(0,b=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),86016&e.$$.dirty[0]|112&e.$$.dirty[2]&&s&&c&&d&&F&&S&&M&&(s||(n(63,I="Endpoint is missing! Please provide a valid endpointURL."),n(62,_=!0),console.error(I)),c||(n(63,I="Datasource is missing! Please provide a valid datasource."),n(62,_=!0),console.error(I)),(!d||d.length<2)&&(n(63,I="Language is missing! Please provide a valid language (alpha2code)"),n(62,_=!0),console.error(I)),qi(d),n(58,i=s),n(59,r=c),n(60,a=d),n(62,_=!1)),256&e.$$.dirty[2]&&h&&n(64,P=h),16&e.$$.dirty[0]|67108864&e.$$.dirty[1]&&g&&o){let e=document.createElement("style");e.innerHTML=g,o.appendChild(e)}if(32&e.$$.dirty[0]|67108864&e.$$.dirty[1]&&p&&o){n(61,G=!0);let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(61,G=!1)},500))})}},[b,L,l,m,g,p,f,y,v,C,k,R,F,D,S,A,M,N,O,H,j,U,z,W,Y,V,Z,J,K,X,q,Q,ee,te,ne,ie,re,ae,oe,se,le,ce,de,ue,me,he,ge,pe,fe,be,ve,we,$e,xe,Ce,ke,Fe,o,i,r,a,G,_,I,P,B,s,c,d,u,h,w,$,x,T,E,ye,function(e){Je[e?"unshift":"push"](()=>{o=e,n(57,o)})}]}class Fc extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>',i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},kc,xc,t,{endpoint:66,cmsendpoint:2,datasource:67,lang:68,session:69,userid:3,opsession:70,clientstyling:4,clientstylingurl:5,clockformat:6,lobbyid:7,currency:0,filteredcategories:8,loginurl:71,registerurl:72,depositurl:73,loginevent:9,registerevent:10,depositevent:11,mostplayed:12,mostplayedrounds:13,lastplayed:14,lastplayedperiod:15,favorites:16,desktopoffset:74,mobileoffset:75,alternativesearch:17,containermaxwidth:18,haspanicbutton:19,activecategory:1,actionevent:20,livecasino:21,playforfun:22,gamemodal:23,playrandomgame:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,positionwinnerswidget:29,tabsorder:30,enableautoscroll:31,istopavailable:32,isrecentavailable:33,periodrecent:34,periodtop:35,numberusersrecent:36,numberuserstop:37,amountlimit:38,defaultcurrency:39,positionjackpotbanners:40,caticon0:41,caticon1:42,caticon2:43,caticon3:44,backgroundsrc:45,backgroundsrcmobile:46,titlelogopath:47,iconlabels:48,visualstructure:76,showsubgroups:49,positioncollections:50,type:51,titletype:52,collectionprovidersgamenames:53,positioncasinocalendar:54,randombuttonicon:55,filteredrandomgamecategories:56},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","cmsendpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","positioncasinocalendar","randombuttonicon","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[66]}set endpoint(e){this.$$set({endpoint:e}),f()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),f()}get datasource(){return this.$$.ctx[67]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[68]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[69]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[70]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[6]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[7]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[8]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[71]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[72]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[73]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[9]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[10]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[11]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[12]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[13]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[14]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[15]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[74]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[75]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[17]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[18]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[19]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[21]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[22]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[23]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[24]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[29]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[30]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[31]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[32]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[33]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[34]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[35]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[36]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[37]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[38]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[39]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[40]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[41]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[42]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[43]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[44]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[45]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[46]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[47]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[48]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[76]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[49]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positioncollections(){return this.$$.ctx[50]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[51]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[52]}set titletype(e){this.$$set({titletype:e}),f()}get collectionprovidersgamenames(){return this.$$.ctx[53]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),f()}get positioncasinocalendar(){return this.$$.ctx[54]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),f()}get randombuttonicon(){return this.$$.ctx[55]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[56]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Fc),Fc});
|
|
33
33
|
//# sourceMappingURL=casino-lobby.js.map
|