@everymatrix/casino-lobby 1.37.4 → 1.37.5

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.
@@ -1,12 +1,41 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function G(){}const b=e=>e;function g(e){return e()}function h(){return Object.create(null)}function j(e){e.forEach(g)}function L(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s;function ce(e,t){return(s=s||document.createElement("a")).href=t,e===s.href}function u(e,...t){if(null==e)return G;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function rt(e,t,n){e.$$.on_destroy.push(u(t,n))}function E(e){return e&&L(e.destroy)?e.destroy:G}var w="undefined"!=typeof window;let $=w?()=>window.performance.now():()=>Date.now(),x=w?e=>requestAnimationFrame(e):G;const C=new Set;function k(t){C.forEach(e=>{e.c(t)||(C.delete(e),e.f())}),0!==C.size&&x(k)}w="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function de(e,t){e.appendChild(t)}function F(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ue(e,t,n){e.insertBefore(t,n||null)}function me(e){e.parentNode&&e.parentNode.removeChild(e)}function H(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ge(e){return document.createElement(e)}function z(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function he(e){return document.createTextNode(e)}function pe(){return he(" ")}function c(){return he("")}function U(e,t,n,a){return e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function _(e,t){e.value=null==t?"":t}function M(e,t,n,a){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,a?"important":"")}let T;function I(e,t,n){e.classList[n?"add":"remove"](t)}class P{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=z(t.nodeName):this.e=ge(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content: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 a(e){var t={};for(const n of e)t[n.name]=n.value;return t}const R=new Map;let D,A=0;function N(e,t,n,a,i,r,o,s=0){var l=16.666/a;let c="{\n";for(let e=0;e<=1;e+=l){const a=t+(n-t)*r(e);c+=100*e+`%{${o(a,1-a)}}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function A(){}const b=e=>e;function g(e){return e()}function p(){return Object.create(null)}function z(e){e.forEach(g)}function L(e){return"function"==typeof e}function n(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 A;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function rt(e,t,n){e.$$.on_destroy.push(u(t,n))}function M(e){return e&&L(e.destroy)?e.destroy:A}var w="undefined"!=typeof window;let x=w?()=>window.performance.now():()=>Date.now(),$=w?e=>requestAnimationFrame(e):A;const C=new Set;function k(t){C.forEach(e=>{e.c(t)||(C.delete(e),e.f())}),0!==C.size&&$(k)}w="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function de(e,t){e.appendChild(t)}function F(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function ue(e,t,n){e.insertBefore(t,n||null)}function me(e){e.parentNode&&e.parentNode.removeChild(e)}function j(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ge(e){return document.createElement(e)}function H(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function pe(e){return document.createTextNode(e)}function he(){return pe(" ")}function c(){return pe("")}function U(e,t,n,a){return e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function G(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function I(e,t){e.value=null==t?"":t}function S(e,t,n,a){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,a?"important":"")}let E;function B(e,t,n){e.classList[n?"add":"remove"](t)}class t{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=H(t.nodeName):this.e=ge(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content: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 a(e){var t={};for(const n of e)t[n.name]=n.value;return t}const T=new Map;let _,R=0;function P(e,t,n,a,i,r,o,s=0){var l=16.666/a;let c="{\n";for(let e=0;e<=1;e+=l){const a=t+(n-t)*r(e);c+=100*e+`%{${o(a,1-a)}}
2
2
  `}var d,u=c+`100% {${o(n,1-n)}}
3
- }`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=F(e),{stylesheet:g,rules:h}=R.get(m)||(m=m,d={stylesheet:(d=e,h=ge("style"),d=F(d),g=h,de(d.head||d,g),g.sheet,h.sheet),rules:{}},R.set(m,d),d),m=(h[s]||(h[s]=!0,g.insertRule(`@keyframes ${s} `+u,g.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${a}ms linear ${i}ms 1 both`,A+=1,s}function B(e){D=e}function Pe(){if(D)return D;throw new Error("Function called outside component initialization")}function et(e){Pe().$$.on_mount.push(e)}const O=[],tt=[];let W=[];const Y=[],V=Promise.resolve();let Z=!1;function q(){Z||(Z=!0,V.then(m))}function Fe(){return q(),V}function J(e){W.push(e)}const K=new Set;let X,Q=0;function m(){if(0===Q){const a=D;do{try{for(;Q<O.length;){const a=O[Q];Q++,B(a),e=t=void 0;var e,t=a.$$;null!==t.fragment&&(t.update(),j(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(J))}}catch(a){throw O.length=0,Q=0,a}for(B(null),O.length=0,Q=0;tt.length;)tt.pop()();for(let e=0;e<W.length;e+=1){var n=W[e];K.has(n)||(K.add(n),n())}}while(W.length=0,O.length);for(;Y.length;)Y.pop()();Z=!1,K.clear(),B(a)}}function ee(e,t,n){var a;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(a=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),a))}const te=new Set;let ne;function ae(e,t){e&&e.i&&(te.delete(e),e.i(t))}function ie(e,t,n,a){e&&e.o?te.has(e)||(te.add(e),ne.c.push(()=>{te.delete(e),a&&(n&&e.d(1),a())}),e.o(t)):a&&a()}const re={duration:0};function oe(l,e,t,n){const a={direction:"both"};let c=e(l,t,a),d=n?0:1,u=null,m=null,g=null;function h(){var e,t,n,a;g&&(e=l,t=g,n=(e.style.animation||"").split(", "),a=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-a.length)||(e.style.animation=a.join(", "),A-=n)||x(()=>{A||(R.forEach(e=>{e=e.stylesheet.ownerNode;e&&me(e)}),R.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:a=b,tick:i=G,css:r}=c||re,o={start:$()+t,b:e};if(e||((o.group=ne).r+=1),u||m)m=o;else{r&&(h(),g=N(l,d,e,n,t,a,r)),e&&i(0,1),u=p(o,n),J(()=>ee(l,e,"start"));{var s=e=>{return m&&e>m.start&&(u=p(m,n),m=null,ee(l,u.b,"start"),r)&&(h(),g=N(l,d,u.b,u.duration,0,a,c.css)),u&&(e>=u.end?(i(d=u.b,1-d),ee(l,u.b,"end"),m||(u.b?h():--u.group.r||j(u.group.c)),u=null):e>=u.start&&(e=e-u.start,d=u.a+u.d*a(e/u.duration),i(d,1-d))),!(!u&&!m)};let t;0===C.size&&x(k),new Promise(e=>{C.add(t={c:s,f:e})})}}}return{run(e){L(c)?(X||(X=Promise.resolve()).then(()=>{X=null}),X.then(()=>{c=c(a),i(e)})):i(e)},end(){h(),u=m=null}}}function se(e,t){e.d(1),t.delete(e.key)}function le(t,n,a,i,r,o,s,l,e,c,d,u){let m=t.length,g=o.length,h=m;for(var p={};h--;)p[t[h].key]=h;var f=[],y=new Map,v=new Map,b=[];for(h=g;h--;){const t=u(r,o,h),j=a(t);let e=s.get(j);e?i&&b.push(()=>e.p(t,n)):(e=c(j,t)).c(),y.set(j,f[h]=e),j in p&&v.set(j,Math.abs(h-p[j]))}var w=new Set,$=new Set;function x(e){ae(e,1),e.m(l,d),s.set(e.key,e),d=e.first,g--}for(;m&&g;){const n=f[g-1],a=t[m-1],i=n.key,j=a.key;n===a?(d=n.first,m--,g--):y.has(j)?!s.has(i)||w.has(i)?x(n):$.has(j)?m--:v.get(i)>v.get(j)?($.add(i),x(n)):(w.add(j),m--):(e(a,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;g;)x(f[g-1]);return j(b),f}function i(a,e,t,n,i,r,o,s=[-1]){var l=D;B(a);const c=a.$$={fragment:null,ctx:[],props:r,update:G,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(a,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=a).$$.dirty[0]&&(O.push(e),q(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,j(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){r=e.target;const G=Array.from(r.childNodes);c.fragment&&c.fragment.l(G),G.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&ae(a.$$.fragment);var u=a,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:r}=u.$$;n&&n.m(s,o),t||J(()=>{var e=u.$$.on_mount.map(g).filter(L);u.$$.on_destroy?u.$$.on_destroy.push(...e):j(e),u.$$.on_mount=[]}),r.forEach(J),m()}B(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(g).filter(L);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){j(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const a=[],i=[];W.forEach(e=>(-1===n.indexOf(e)?a:i).push(e)),i.forEach(e=>e()),W=a}j(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=G}$on(e,t){if(!L(t))return G;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 ve,be,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},we="URLSearchParams"in l,$e="Symbol"in l&&"iterator"in Symbol,xe="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ce="FormData"in l,ke="ArrayBuffer"in l;function Se(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 Me(e){return e="string"!=typeof e?String(e):e}function Ge(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $e&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Le(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Ee(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function _e(e){var t=new FileReader,n=Ee(t);return t.readAsArrayBuffer(e),n}function Te(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ie(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:xe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:we&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&xe&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||be(e))?this._bodyArrayBuffer=Te(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):we&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},xe&&(this.blob=function(){var e=Le(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(){if(this._bodyArrayBuffer)return Le(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(xe)return this.blob().then(_e);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,a=Le(this);if(a)return a;if(this._bodyBlob)return a=this._bodyBlob,e=new FileReader,t=Ee(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(a.type))?n[1]:"utf-8",e.readAsText(a,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a<t.length;a++)n[a]=String.fromCharCode(t[a]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Ce&&(this.formData=function(){return this.text().then(Ae)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(ve=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],be=ArrayBuffer.isView||function(e){return e&&-1<ve.indexOf(Object.prototype.toString.call(e))}),d.prototype.append=function(e,t){e=Se(e),t=Me(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[Se(e)]},d.prototype.get=function(e){return e=Se(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(Se(e))},d.prototype.set=function(e,t){this.map[Se(e)]=Me(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Ge(n)},d.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ge(t)},d.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ge(n)},$e&&(d.prototype[Symbol.iterator]=d.prototype.entries);var Re=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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,a=(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 d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=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 d(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||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a),"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.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}De.prototype.clone=function(){return new De(this,{body:this._bodyInit})},Ie.call(De.prototype),Ie.call(Ne.prototype),Ne.prototype.clone=function(){return new Ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},Ne.error=function(){var e=new Ne(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Be=[301,302,303,307,308],Oe=(Ne.redirect=function(e,t){if(-1===Be.indexOf(t))throw new RangeError("Invalid status code");return new Ne(null,{status:t,headers:{location:e}})},l.DOMException);try{new Oe}catch(G){(Oe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Oe.prototype.constructor=Oe}function je(a,s){return new Promise(function(i,e){var r=new De(a,s);if(r.signal&&r.signal.aborted)return e(new Oe("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,a,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",a=new d,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 t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{a.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),a)},n=(r.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new Ne(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new Oe("Aborted","AbortError"))},0)},o.open(r.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&(xe?o.responseType="blob":ke&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof d||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Se(e)),o.setRequestHeader(e,Me(s.headers[e]))}),r.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):r.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),r.signal&&(r.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",t)}),o.send(void 0===r._bodyInit?null:r._bodyInit)})}function _n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}je.polyfill=!0,l.fetch||(l.fetch=je,l.Headers=d,l.Request=De,l.Response=Ne);var He=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 Ue(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 We(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&a>=e.length?void 0:e)&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ye(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,i,r=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(a=r.next()).done;)o.push(a.value)}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o}function Ve(e,t,n){if(n||2===arguments.length)for(var a,i=0,r=t.length;i<r;i++)!a&&i in t||((a=a||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(a||Array.prototype.slice.call(t))}function Ze(e){return"function"==typeof e}function qe(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 Je=qe(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 Ke(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}ot.prototype.unsubscribe=function(){var e,t,n,a,i;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var o=We(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(Ze(r))try{r()}catch(e){i=e instanceof Je?e.errors:[e]}r=this._finalizers;if(r){this._finalizers=null;try{for(var l=We(r),c=l.next();!c.done;c=l.next()){var d=c.value;try{lt(d)}catch(e){i=null!=i?i:[],e instanceof Je?i=Ve(Ve([],Ye(i)),Ye(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}if(i)throw new Je(i)}},ot.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)lt(e);else{if(e instanceof ot){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},ot.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ot.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ot.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ke(t,e)},ot.prototype.remove=function(e){var t=this._finalizers;t&&Ke(t,e),e instanceof ot&&e._removeParent(this)},ot.EMPTY=((t=new ot).closed=!0,t);var Xe=ot,Qe=Xe.EMPTY;function ot(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function st(e){return e instanceof Xe||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function lt(e){Ze(e)?e():e.unsubscribe()}var ct=void 0,dt=!1,ut=!1,mt={setTimeout:function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var i=mt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Ve([e,t],Ye(n))):setTimeout.apply(void 0,Ve([e,t],Ye(n)))},clearTimeout:function(e){var t=mt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gt(){}var ht=null;function pt(e){if(dt){var t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){var t=ht,n=t.errorThrown,t=t.error;if(ht=null,n)throw t}}else e()}Ue(bt,ft=Xe),bt.create=function(e,t,n){return new Ct(e,t,n)},bt.prototype.next=function(e){this.isStopped||this._next(e)},bt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},bt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},bt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},bt.prototype._next=function(e){this.destination.next(e)},bt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},bt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,yt=bt,vt=Function.prototype.bind;function bt(e){var t=ft.call(this)||this;return t.isStopped=!1,e?st(t.destination=e)&&e.add(t):t.destination=Mt,t}function wt(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){St(e)}},Ft.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){St(e)}else St(e)},Ft.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){St(e)}};var $t,xt=Ft,Ct=(Ue(kt,$t=yt),kt);function kt(e,t,n){var a=$t.call(this)||this,n=Ze(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:a&&ut?((t=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},{next:e.next&&wt(e.next,t),error:e.error&&wt(e.error,t),complete:e.complete&&wt(e.complete,t)}):e;return a.destination=new xt(n),a}function Ft(e){this.partialObserver=e}function St(e){var t=e;mt.setTimeout(function(){throw t})}var Mt={closed:!0,next:gt,error:function(e){throw e},complete:gt},t="function"==typeof Symbol&&Symbol.observable||"@@observable";Lt.prototype.lift=function(e){var t=new Lt;return t.source=this,t.operator=e,t},Lt.prototype.subscribe=function(e,t,n){var a,i=this,r=(a=e)&&a instanceof yt||a&&Ze(a.next)&&Ze(a.error)&&Ze(a.complete)&&st(a)?e:new Ct(e,t,n);return pt(function(){var e=i.operator,t=i.source;r.add(e?e.call(r,t):t?i._subscribe(r):i._trySubscribe(r))}),r},Lt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Lt.prototype.forEach=function(a,e){var i=this;return new(e=Et(e))(function(e,t){var n=new Ct({next:function(e){try{a(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Lt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Lt.prototype[t]=function(){return this},Lt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Lt.prototype.toPromise=function(e){var a=this;return new(e=Et(e))(function(e,t){var n;a.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Lt.create=function(e){return new Lt(e)};var Gt=Lt;function Lt(e){e&&(this._subscribe=e)}function Et(e){return null!=(e=null!=e?e:ct)?e:Promise}var _t,Tt,It,Pt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=(Ue(Ot,It=Gt),Ot.prototype.lift=function(e){var t=new Rt(this,this);return t.operator=e,t},Ot.prototype._throwIfClosed=function(){if(this.closed)throw new Pt},Ot.prototype.next=function(i){var r=this;pt(function(){var t,e;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var n=We(r.currentObservers),a=n.next();!a.done;a=n.next())a.value.next(i)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ot.prototype.error=function(t){var n=this;pt(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)}})},Ot.prototype.complete=function(){var t=this;pt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ot.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Ot.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Ot.prototype._trySubscribe=function(e){return this._throwIfClosed(),It.prototype._trySubscribe.call(this,e)},Ot.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ot.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,a=this.isStopped,i=this.observers;return n||a?Qe:(this.currentObservers=null,i.push(e),new Xe(function(){t.currentObservers=null,Ke(i,e)}))},Ot.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,a=this.isStopped;t?e.error(n):a&&e.complete()},Ot.prototype.asObservable=function(){var e=new Gt;return e.source=this,e},Ot.create=function(e,t){return new Rt(e,t)},Ot),Rt=(Ue(Bt,Tt=t),Bt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Bt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Bt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Bt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Qe},Bt),Dt={now:function(){return(Dt.delegate||Date).now()},delegate:void 0},At=(Ue(Nt,_t=t),Nt.prototype.next=function(e){var t=this,n=t.isStopped,a=t._buffer,i=t._infiniteTimeWindow,r=t._timestampProvider,t=t._windowTime;n||(a.push(e),i)||a.push(r.now()+t),this._trimBuffer(),_t.prototype.next.call(this,e)},Nt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,a=this._buffer.slice(),i=0;i<a.length&&!e.closed;i+=n?1:2)e.next(a[i]);return this._checkFinalizedStatuses(e),t},Nt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,a=this._infiniteTimeWindow,i=(a?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!a){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)}},Nt);function Nt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Dt);var a=_t.call(this)||this;return a._bufferSize=e,a._windowTime=t,a._timestampProvider=n,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=t===1/0,a._bufferSize=Math.max(1,e),a._windowTime=Math.max(1,t),a}function Bt(e,t){var n=Tt.call(this)||this;return n.destination=e,n.source=t,n}function Ot(){var e=It.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let jt=[],Ht={};const zt=[];function Ut(a,i=G){let r;const o=new Set;function s(e){if(n(a,e)&&(a=e,r)){const e=!zt.length;for(const e of o)e[1](),zt.push(e,a);if(e){for(let e=0;e<zt.length;e+=2)zt[e][0](zt[e+1]);zt.length=0}}}return{set:s,update:function(e){s(e(a))},subscribe:function(e,t=G){const n=[e,t];return o.add(n),1===o.size&&(r=i(s)||G),e(a),()=>{o.delete(n),0===o.size&&r&&(r(),r=null)}}}}function Wt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Ut(t,t=>{let n=!1;const a=[];let i=0,r=G;const o=()=>{var e;i||(r(),e=s(l?a[0]:a,t),d?t(e):r=L(e)?e:G)},e=c.map((e,t)=>u(e,e=>{a[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){j(e),r(),n=!1}}).subscribe}}function Yt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Vt);var t}var Vt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Zt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Qt(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Zt(e,n)})}function Jt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Kt(e,t){try{return t in e}catch(e){return!1}}function Xt(a,i,r){var o={};return r.isMergeableObject(a)&&Jt(a).forEach(function(e){o[e]=Zt(a[e],r)}),Jt(i).forEach(function(e){var t,n;(!Kt(t=a,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Kt(a,e)&&r.isMergeableObject(i[e])?o[e]=((t=r).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Qt)(a[e],i[e],r):o[e]=Zt(i[e],r))}),o}function Qt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Yt,n.cloneUnlessOtherwiseSpecified=Zt;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):Xt(e,t,n):Zt(t,n)}Qt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Qt(e,t,n)},{});throw new Error("first argument should be an array")};var en=Qt,tn=function(e,t){return(tn=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 nn(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}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p,y,an,f=function(){return(f=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function rn(e,t,n){if(n||2===arguments.length)for(var a,i=0,r=t.length;i<r;i++)!a&&i in t||((a=a||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(a||Array.prototype.slice.call(t))}function on(e){return e.type===y.literal}function sn(e){return e.type===y.number}function ln(e){return e.type===y.date}function cn(e){return e.type===y.time}function dn(e){return e.type===y.select}function un(e){return e.type===y.plural}function mn(e){return e.type===y.tag}function gn(e){return e&&"object"==typeof e&&e.type===an.number}function hn(e){return e&&"object"==typeof e&&e.type===an.dateTime}(t=p=p||{})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(t=y=y||{})[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",(t=an=an||{})[t.number=0]="number",t[t.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,pn=/(?:[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 fn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,yn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,vn=/^(@+)?(\+|#+)?[rs]?$/g,bn=/(\*)(0+)|(#+)(0+)|(0+)/g,wn=/^(0+)$/;function $n(e){var a={};return"r"===e[e.length-1]?a.roundingPriority="morePrecision":"s"===e[e.length-1]&&(a.roundingPriority="lessPrecision"),e.replace(vn,function(e,t,n){return"string"!=typeof n?(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length):"+"===n?a.minimumSignificantDigits=t.length:"#"===t[0]?a.maximumSignificantDigits=t.length:(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),a}function xn(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 Cn(e){return xn(e)||{}}function kn(e){for(var o={},t=0,n=e;t<n.length;t++){var a,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.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=i.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=f(f(f({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return f(f({},e),Cn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return f(f({},e),Cn(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(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(bn,function(e,t,n,a,i,r){if(t)o.minimumIntegerDigits=n.length;else{if(a&&i)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(wn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(yn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(yn,function(e,t,n,a,i,r){return"*"===n?o.minimumFractionDigits=t.length:a&&"#"===a[0]?o.maximumFractionDigits=a.length:i&&r?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+r.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var r=i.options[0];"w"===r?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):r&&(o=f(f({},o),$n(r)))}else vn.test(i.stem)?o=f(f({},o),$n(i.stem)):((r=xn(i.stem))&&(o=f(f({},o),r)),(a=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)),!wn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=f(f({},o),a)))}return o}var Fn={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 Sn=new RegExp("^".concat(t.source,"*")),Mn=new RegExp("".concat(t.source,"*$"));function v(e,t){return{start:e,end:t}}var t=!!String.prototype.startsWith,Gn=!!String.fromCodePoint,Ln=!!Object.fromEntries,En=!!String.prototype.codePointAt,Tn=!!String.prototype.trimStart,In=!!String.prototype.trimEnd,Pn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rn=!0;try{Rn="a"===(null==(na=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:na[0])}catch(G){Rn=!1}var Dn,An,Nn=t?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Bn=Gn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,a="",i=e.length,r=0;r<i;){if(1114111<(n=e[r++]))throw RangeError(n+" is not a valid code point");a+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return a},On=Ln?Object.fromEntries:function(e){for(var t={},n=0,a=e;n<a.length;n++){var i=a[n],r=i[0],i=i[1];t[r]=i}return t},jn=En?function(e,t){return e.codePointAt(t)}:function(e,t){var n,a=e.length;if(!(t<0||a<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===a||(a=e.charCodeAt(t+1))<56320||57343<a?n:a-56320+(n-55296<<10)+65536},Hn=Tn?function(e){return e.trimStart()}:function(e){return e.replace(Sn,"")},zn=In?function(e){return e.trimEnd()}:function(e){return e.replace(Mn,"")};function Un(e,t){return new RegExp(e,t)}An=Rn?(Dn=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Dn.lastIndex=t,null!=(t=Dn.exec(e)[1])?t:""}):function(e,t){for(var n,a=[];;){var i=jn(e,t);if(void 0===i||Vn(i)||33<=(n=i)&&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;a.push(i),t+=65536<=i?2:1}return Bn.apply(void 0,a)};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 a=[];!this.isEOF();){var i,r=this.char();if(123===r){if((i=this.parseArgument(e,n)).err)return i;a.push(i.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&&Yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;a.push(i.val)}else{r=this.clonePosition();this.bump(),a.push({type:y.pound,location:v(r,this.clonePosition())})}}}return{val:a,err:null}},r.prototype.parseTag=function(e,t){var n,a=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(a,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Yn(this.char())?this.error(p.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(a,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,v(a,this.clonePosition()))):this.error(p.INVALID_TAG,v(a,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(),a="";;){var i=this.tryParseQuote(t);if(i)a+=i;else{i=this.tryParseUnquoted(e,t);if(i)a+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;a+=i}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:a,location:n},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Yn(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 Bn.apply(void 0,t)},r.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Bn(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 a=this.parseIdentifierIfPossible().value;if(!a)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:a,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,a,n);default:return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=An(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,a){var i,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((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=zn(u.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(a)).err?c:(g=v(a,this.clonePosition()),l&&Nn(null==l?void 0:l.style,"::",0)?(h=Hn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:g,style:u.val},err:null}:0===h.length?this.error(p.EXPECT_DATE_TIME_SKELETON,g):(d=h,this.locale&&(d=function(e,t){for(var n="",a=0;a<e.length;a++){var i=e.charAt(a);if("j"===i){for(var r=0;a+1<e.length&&e.charAt(a+1)===i;)r++,a++;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),(Fn[t||""]||Fn[n||""]||Fn["".concat(n,"-001")]||Fn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),m={type:an.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(pn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.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":i.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":i.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":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.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":i.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""}),i):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:g,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:g,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=u.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(a)).err?c:(h=v(a,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:On(l.val),location:h},err:null}:{val:{type:y.plural,value:n,options:On(l.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:h},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,a=e.split(fn).filter(function(e){return 0<e.length});n<a.length;n++){var i=a[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var r=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:i})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:an.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?kn(n):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(e,t,n,a){for(var i=!1,r=[],o=new Set,s=a.value,l=a.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&&(i=!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&&!i?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:r,err:null}},r.prototype.tryParseDecimalInteger=function(e,t){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,r=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,r=10*r+(o-48),this.bump()}a=v(a,this.clonePosition());return i?Pn(r*=n)?{val:r,err:null}:this.error(t,a):this.error(e,a)},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=jn(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(Nn(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()&&Vn(this.char());)this.bump()},r.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Wn=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 Yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Zn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Wn(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,dn(e)||un(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else sn(e)&&gn(e.style)||(ln(e)||cn(e))&&hn(e.style)?delete e.style.location:mn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:aa,a=t&&t.serializer?t.serializer:Qn;return(t&&t.strategy?t.strategy:function(e,t){return Xn(e,this,1===e.length?Jn:Kn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:a})}function Jn(e,t,n,a){var n=null==a||"number"==typeof a||"boolean"==typeof a?a:n(a),i=t.get(n);return void 0===i&&(i=e.call(this,a),t.set(n,i)),i}function Kn(e,t,n){var a=Array.prototype.slice.call(arguments,3),n=n(a),i=t.get(n);return void 0===i&&(i=e.apply(this,a),t.set(n,i)),i}function Xn(e,t,n,a,i){return n.bind(t,e,a,i)}var Qn=function(){return JSON.stringify(arguments)};function ea(){this.cache=Object.create(null)}ea.prototype.get=function(e){return this.cache[e]},ea.prototype.set=function(e,t){this.cache[e]=t};var ta,na,aa={create:function(){return new ea}},ia={variadic:function(e,t){return Xn(e,this,Kn,t.cache.create(),t.serializer)},monadic:function(e,t){return Xn(e,this,Jn,t.cache.create(),t.serializer)}};(na=ta=ta||{}).MISSING_VALUE="MISSING_VALUE",na.INVALID_VALUE="INVALID_VALUE",na.MISSING_INTL_API="MISSING_INTL_API";nn(ya,ca=Error),ya.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ra,oa,sa,la,ca,da=ya,ua=(nn(fa,la=da),fa),ma=(nn(pa,sa=da),pa),ga=(nn(ha,oa=da),ha);function ha(e,t){return oa.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ta.MISSING_VALUE,t)||this}function pa(e,t,n){return sa.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ta.INVALID_VALUE,n)||this}function fa(e,t,n,a){return la.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ta.INVALID_VALUE,a)||this}function ya(e,t,n){e=ca.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function va(e,t,n,a,i,r,o){if(1===e.length&&on(e[0]))return[{type:ra.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(on(d))s.push({type:ra.literal,value:d.value});else if(d.type===y.pound)"number"==typeof r&&s.push({type:ra.literal,value:n.getNumberFormat(t).format(r)});else{var u=d.value;if(!(i&&u in i))throw new ga(u,o);u=i[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?ra.literal:ra.object,value:u});else if(ln(d)){var m="string"==typeof d.style?a.date[d.style]:hn(d.style)?d.style.parsedOptions:void 0;s.push({type:ra.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(cn(d))m="string"==typeof d.style?a.time[d.style]:hn(d.style)?d.style.parsedOptions:a.time.medium,s.push({type:ra.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(sn(d))(m="string"==typeof d.style?a.number[d.style]:gn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:ra.literal,value:n.getNumberFormat(t,m).format(u)});else{if(mn(d)){var g=d.children,h=d.value,p=i[h];if("function"!=typeof p)throw new ma(h,"function",o);h=p(va(g,t,n,a,i,r).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ra.literal:ra.object,value:e}}))}if(dn(d)){if(!(f=d.options[u]||d.options.other))throw new ua(d.value,u,Object.keys(d.options),o);s.push.apply(s,va(f.value,t,n,a,i))}else if(un(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new da('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ta.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 ua(d.value,u,Object.keys(d.options),o);s.push.apply(s,va(f.value,t,n,a,i,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===ra.literal&&t.type===ra.literal?n.value+=t.value:e.push(t),e},[])}function ba(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(t=ra=ra||{})[t.literal=0]="literal",t[t.object=1]="object";Object.defineProperty($a,"defaultLocale",{get:function(){return $a.memoizedDefaultLocale||($a.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),$a.memoizedDefaultLocale},enumerable:!1,configurable:!0}),$a.memoizedDefaultLocale=null,$a.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])},$a.__parse=Zn,$a.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 wa=$a;function $a(e,t,n,a){var i,r,o=this;if(void 0===t&&(t=$a.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ra.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return va(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=$a.resolveLocale(t),"string"==typeof e){if(this.message=e,!$a.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=$a.__parse(e,{ignoreTag:null==a?void 0:a.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=(i=$a.formats,(r=n)?Object.keys(i).reduce(function(e,t){var n,a;return e[t]=(n=i[t],(a=r[t])?f(f(f({},n||{}),a||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),a[t]||{}),e},{})):n),e},f({},i)):i),this.formatters=a&&a.formatters||{getNumberFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,rn([void 0],t,!1)))},{cache:ba((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ia.variadic}),getDateTimeFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,rn([void 0],t,!1)))},{cache:ba(t.dateTime),strategy:ia.variadic}),getPluralRules:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,rn([void 0],t,!1)))},{cache:ba(t.pluralRules),strategy:ia.variadic})}}const xa={},Ca=(e,t,n)=>n&&(t in xa||(xa[t]={}),e in xa[t]||(xa[t][e]=n),n),ka=(t,n)=>{if(null!=n){if(n in xa&&t in xa[n])return xa[n][t];var a=za(n);for(let e=0;e<a.length;e++){var i=function(e,t){if(!Ma(e))return null;e=function(e){return Fa[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var a=n.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const n=a.slice(e,a.length).join(".");if(n in t){t=t[n];break}}t=t[a[e]]}else t=void 0;return t}}}(a[e],t);if(i)return Ca(t,n,i)}}};let Fa;const Sa=Ut({});function Ma(e){return e in Fa}function o(t,...n){delete xa[t],Sa.update(e=>(e[t]=en.all([e[t]||{},...n]),e))}Wt([Sa],([e])=>Object.keys(e)),Sa.subscribe(e=>Fa=e);const Ga={};function La(e){return Ga[e]}function Ea(e){return null!=e&&za(e).some(e=>{return null==(e=La(e))?void 0:e.size})}function _a(a,e){return Promise.all(e.map(e=>{return t=a,n=e,Ga[t].delete(n),0===Ga[t].size&&delete Ga[t],e().then(e=>e.default||e);var t,n})).then(e=>o(a,...e))}const Ta={};const Ia={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 Pa=Ut(!1);var Ra=Object.defineProperty,Gn=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,Aa=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,Ba=(e,t,n)=>t in e?Ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Oa;const ja=Ut(null);function Ha(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function za(e,t=Ia.fallbackLocale){e=Ha(e);return t?[...new Set([...e,...Ha(t)])]:e}function Ua(){return null!=Oa?Oa:void 0}ja.subscribe(e=>{Oa=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const nt=Gn(((e,t)=>{for(var n in t=t||{})Aa.call(t,n)&&Ba(e,n,t[n]);if(Da)for(var n of Da(t))Na.call(t,n)&&Ba(e,n,t[n]);return e})({},ja),Ln({set:t=>{if(t&&function(e){if(null!=e){var t=za(e);for(let e=0;e<t.length;e++){var n=t[e];if(Ma(n))return n}}}(t)&&Ea(t)){var n=Ia["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ua()&&n?e=window.setTimeout(()=>Pa.set(!0),n):Pa.set(!0),function e(t){var n;return Ea(t)?(n=za(t).map(e=>{var t=La(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Ta[t]=Promise.all(n.map(([e,t])=>_a(e,t))).then(()=>{if(Ea(t))return e(t);delete Ta[t]}),Ta[t]):t in Ta?Ta[t]:Promise.resolve()}(t).then(()=>{ja.set(t)}).finally(()=>{clearTimeout(e),Pa.set(!1)})}return ja.set(t)}}));var En=n=>{const a=Object.create(null);return e=>{var t=JSON.stringify(e);return t in a?a[t]:a[t]=n(e)}},Wa=Object.defineProperty,Ya=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,qa=(e,t,n)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ja=(e,t)=>{for(var n in t=t||{})Va.call(t,n)&&qa(e,n,t[n]);if(Ya)for(var n of Ya(t))Za.call(t,n)&&qa(e,n,t[n]);return e},Ka=(e,t)=>{var n={};for(a in e)Va.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&Ya)for(var a of Ya(e))t.indexOf(a)<0&&Za.call(e,a)&&(n[a]=e[a]);return n};const Xa=(e,t)=>{var n=Ia["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Qa=En(e=>{var{locale:t,format:n}=e,e=Ka(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Xa("number",n)),new Intl.NumberFormat(t,e)}),ei=En(e=>{var{locale:t,format:n}=e,e=Ka(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Xa("date",n):0===Object.keys(e).length&&(e=Xa("date","short")),new Intl.DateTimeFormat(t,e)}),ti=En(e=>{var{locale:t,format:n}=e,e=Ka(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Xa("time",n):0===Object.keys(e).length&&(e=Xa("time","short")),new Intl.DateTimeFormat(t,e)}),ni=En((e,t=Ua())=>new wa(e,t,Ia.formats,{ignoreTag:Ia.ignoreTag})),ai=Wt([nt,Sa],()=>(e,t={})=>{var n,a;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:r,locale:o=Ua(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=ka(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!=(a=null!=(n=null==(n=(a=Ia).handleMissingMessage)?void 0:n.call(a,{locale:o,id:e,defaultValue:s}))?n:s)?a:e;if(!r)return l;let c=l;try{c=ni(l,o).format(r)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),at=(Wt([nt],()=>(e,t)=>((e={})=>{var{locale:t=Ua()}=e,e=Ka(e,["locale"]);return ti(Ja({locale:t},e))})(t).format(e)),Wt([nt],()=>(e,t)=>((e={})=>{var{locale:t=Ua()}=e,e=Ka(e,["locale"]);return ei(Ja({locale:t},e))})(t).format(e)),Wt([nt],()=>(e,t)=>((e={})=>{var{locale:t=Ua()}=e,e=Ka(e,["locale"]);return Qa(Ja({locale:t},e))})(t).format(e)),Wt([nt,Sa],()=>(e,t=Ua())=>ka(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==jt.indexOf(e)&&(t=new At(t),Ht[e]=t,jt.push(e)),Ht[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))),it=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ii(a,i){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",i),He(a+"/v1/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function ri(e){nt.set(e)}function oi(e,t){o(e,t)}const si={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};function li(e,t){o(e,t)}const ci={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function di(e,t,n){e=e.slice();return e[50]=t[n],e[52]=n,e}function ui(e,t,n){e=e.slice();return e[53]=t[n],e}function mi(e,t,n){e=e.slice();return e[56]=t[n],e[58]=n,e}function gi(t){let a,i=[],n=new Map,r=t[9];const o=e=>e[50].id;for(let e=0;e<r.length;e+=1){var s=di(t,r,e),l=o(s);n.set(l,i[e]=$i(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();a=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,a,n)},p(e,t){77775&t[0]&&(r=e[9],i=le(i,t,o,1,e,r,n,a.parentNode,se,$i,a,di))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(a)}}}function hi(e){let n,a,i=e[50].name+"";return{c(){n=ge("button"),a=he(i),fe(n,"class","CategoryButton")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&i!==(i=e[50].name+"")&&ye(a,i)},d(e){e&&me(n)}}}function pi(e){let n,a,i,r=e[50].label+"";return{c(){n=ge("a"),a=he(r),fe(n,"href",i=e[50].path)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&r!==(r=e[50].label+"")&&ye(a,r),512&t[0]&&i!==(i=e[50].path)&&fe(n,"href",i)},d(e){e&&me(n)}}}function fi(e){let n,a=0<e[10].length&&"true"==e[2]&&yi(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[2]?a?a.p(e,t):((a=yi(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function yi(t){let i,r=t[10],o=[];for(let e=0;e<r.length;e+=1)o[e]=wi(ui(t,r,e));return{c(){i=ge("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropDown")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null)},p(t,n){if(10176&n[0]){let e;for(r=t[10],e=0;e<r.length;e+=1){var a=ui(t,r,e);o[e]?o[e].p(a,n):(o[e]=wi(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){e&&me(i),H(o,e)}}}function vi(n){let a,i,r,o,s,l,c,d=n[56]?.name+"";function u(...e){return n[32](n[50],n[52],n[56],n[58],...e)}return{c(){a=ge("li"),i=ge("a"),r=he(d),s=pe(),fe(i,"class",o="SubDropDown "+(n[52]!=n[6]||n[7]!=n[58]&&n[8]!=n[58]?"":"active"))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,s),l||(c=U(a,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[56]?.name+"")&&ye(r,d),1984&t[0]&&o!==(o="SubDropDown "+(n[52]!=n[6]||n[7]!=n[58]&&n[8]!=n[58]?"":"active"))&&fe(i,"class",o)},d(e){e&&me(a),l=!1,c()}}}function bi(e,n){let a,i,r=n[52]==n[53].index&&vi(n);return{key:e,first:null,c(){a=c(),r&&r.c(),i=c(),this.first=a},m(e,t){ue(e,a,t),r&&r.m(e,t),ue(e,i,t)},p(e,t){(n=e)[52]==n[53].index?r?r.p(n,t):((r=vi(n)).c(),r.m(i.parentNode,i)):r&&(r.d(1),r=null)},d(e){e&&me(a),r&&r.d(e),e&&me(i)}}}function wi(t){let a,i=[],n=new Map,r=t[53].items;const o=e=>e[56].id;for(let e=0;e<r.length;e+=1){var s=mi(t,r,e),l=o(s);n.set(l,i[e]=bi(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();a=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,a,n)},p(e,t){10176&t[0]&&(r=e[53].items,i=le(i,t,o,1,e,r,n,a.parentNode,se,bi,a,mi))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(a)}}}function $i(e,n){let a,i,r,o,s,l,c,d,u,m,g;function h(e){return"headerMain"===e[0]?pi:hi}let p=h(n),f=p(n),y=1==n[11][n[52]]&&fi(n);function v(...e){return n[33](n[50],n[52],...e)}return{key:e,first:null,c(){a=ge("li"),i=ge("div"),r=ge("img"),l=pe(),f.c(),c=pe(),y&&y.c(),d=pe(),fe(r,"class",o="CategoryIconImg "+("true"===n[3]?"":"DisplayNone")),ce(r.src,s=n[16](n[50]))||fe(r,"src",s),fe(i,"class","CategoryIcon"),fe(a,"class",u="CarouselItem "+(-1<n[1]?.toString().indexOf("$")?n[1]?.split("$").pop()==n[50].id.split("$").pop()?"active":"":n[1]==n[50].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(a,"part","CarouselItem"),this.first=a},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,l),f.m(a,null),de(a,c),y&&y.m(a,null),de(a,d),m||(g=U(a,"click",v),m=!0)},p(e,t){n=e,8&t[0]&&o!==(o="CategoryIconImg "+("true"===n[3]?"":"DisplayNone"))&&fe(r,"class",o),512&t[0]&&!ce(r.src,s=n[16](n[50]))&&fe(r,"src",s),p===(p=h(n))&&f?f.p(n,t):(f.d(1),(f=p(n))&&(f.c(),f.m(a,c))),1==n[11][n[52]]?y?y.p(n,t):((y=fi(n)).c(),y.m(a,d)):y&&(y.d(1),y=null),515&t[0]&&u!==(u="CarouselItem "+(-1<n[1]?.toString().indexOf("$")?n[1]?.split("$").pop()==n[50].id.split("$").pop()?"active":"":n[1]==n[50].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(a,"class",u)},d(e){e&&me(a),f.d(),y&&y.d(),m=!1,g()}}}function xi(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v=0<n[9].length&&gi(n);return{c(){a=ge("div"),i=ge("div"),(r=ge("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" 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=ge("div"),l=ge("ul"),(c=ge("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=pe(),v&&v.c(),u=pe(),(m=ge("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=G,fe(r,"class","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(i,"class",g="CarouselContainer CarouselContainerMobile "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(i,"style",h="headerMain"===n[0]?"max-width: auto":void 0),fe(a,"class",p="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(s,l),de(l,c),de(l,d),v&&v.m(l,null),n[34](l),n[35](s),de(i,u),de(i,m),n[37](a),f||(y=[U(r,"click",n[31]),U(m,"click",n[36])],f=!0)},p(e,t){0<e[9].length?v?v.p(e,t):((v=gi(e)).c(),v.m(l,null)):v&&(v.d(1),v=null),1&t[0]&&g!==(g="CarouselContainer CarouselContainerMobile "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(i,"class",g),1&t[0]&&h!==(h="headerMain"===e[0]?"max-width: auto":void 0)&&fe(i,"style",h),1&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(a,"class",p)},i:G,o:G,d(e){e&&me(a),v&&v.d(),n[34](null),n[35](null),n[37](null),f=!1,j(y)}}}function Ci(t,e,r){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:a="0"}=e,{location:c=""}=e,{clientstyling:i=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{isprimarymenu:g=!1}=e,{issecondarymenu:h=!1}=e,{lang:p=""}=e,{activeindex:f="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:v="false"}=e,{lobbyiconimage:b=""}=e,{mygamesiconimage:w=""}=e;var $,x;({withLocale:$,translations:x}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(x),nt.set($))}),Object.keys(ci).forEach(e=>{li(e,ci[e])});let C,k,F,S,M,D=window.navigator.userAgent;it(D);let G,L=[],E=[],_=[],T=(e,t,n,a,i)=>{e.subGroups&&null===a||(R(),r(6,k=t),r(6,k),"secondary"!=i?(window.postMessage({type:"CategoryChange"==l?"CategoryChange":"NavigateTo",buzz:"1",itemId:e.id,index:t,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(i=e.attrs)?void 0:i.target)||null},window.location.href),r(7,F=null),r(8,S=null)):(r(7,F=a),r(7,F),r(8,S=F),window.postMessage({type:l,itemId:n.id,subIndex:a,subItem:n},window.location.href)))},I=()=>{G.scrollBy({left:-250,behavior:"smooth"})},P=()=>{G.scrollBy({left:250,behavior:"smooth"})};const A=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(r(9,L=e.data.data),r(11,_=new Array(L.length).fill(!1)),"true"==y)&&L.forEach((e,t)=>{var a,i,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(r(11,_[t]=!0,_),a=e,i=t,"secondaryMenu"==c&&o&&s&&p&&a.id&&(n=new URL(`${o}/v1/casino/groups/${s}/${a.id}/subGroups?language=`+p),fetch(n.href).then(e=>e.json()).then(e=>{e.index=i,r(10,E=E.concat(e)),"false"==y&&window.postMessage({type:l,itemId:a.id,index:i,item:a},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},window.location.href)}).then(()=>{C.querySelectorAll(".DropDown")&&R()})),"headerMain"==c)&&window.postMessage({type:l,item:a},window.location.href)}),"GoToHomepage"==e.data.type&&L.forEach((e,t)=>{e.path.endsWith("/casino")&&(r(6,k=t),r(6,k))})},R=()=>{var t=C.querySelectorAll(".DropDown");document.activeElement.blur(),G.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+G.scrollLeft+"px)";G.classList.remove("isScrolling")};return et(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",A,!1),setTimeout(()=>{G.addEventListener("scroll",R)},500),()=>{window.removeEventListener("message",A),C.removeEventListener("scroll",R)})),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,a=e.favoritesnumber),"location"in e&&r(0,c=e.location),"clientstyling"in e&&r(22,i=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),"isprimarymenu"in e&&r(26,g=e.isprimarymenu),"issecondarymenu"in e&&r(27,h=e.issecondarymenu),"lang"in e&&r(28,p=e.lang),"activeindex"in e&&r(1,f=e.activeindex),"showsubgroups"in e&&r(2,y=e.showsubgroups),"categoriesicon"in e&&r(3,v=e.categoriesicon),"lobbyiconimage"in e&&r(29,b=e.lobbyiconimage),"mygamesiconimage"in e&&r(30,w=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{li(e,t[e])})}).catch(e=>{console.log(e)}),4194320&t.$$.dirty[0]&&i&&M&&((e=document.createElement("style")).innerHTML=i,M.appendChild(e)),8388624&t.$$.dirty[0]&&d&&M){let t=document.createElement("style"),e=new URL(d);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{M.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&p&&(e=p,nt.set(e))},[c,f,y,v,M,C,k,F,S,L,E,_,G,T,I,P,e=>{let t="";return"LOBBY"===e.id?t=b:"MYGAMES"===e.id&&(t=w),e.icon||t},o,s,n,l,a,i,d,u,m,g,h,p,b,w,()=>I(),(e,t,n,a,i)=>{T(e,t,n,a,"secondary"),i.stopPropagation()},(e,t,n)=>{T(e,t,null,null,"main"),n.preventDefault()},function(e){tt[e?"unshift":"push"](()=>{C=e,r(5,C)})},function(e){tt[e?"unshift":"push"](()=>{G=e,r(12,G)})},()=>P(),function(e){tt[e?"unshift":"push"](()=>{M=e,r(4,M)})}]}function ki(n){let a,i,r,o;return{c(){a=ge("div"),S(i=ge("casino-slider"),"lang",n[3]),S(i,"datasource",n[2]),S(i,"endpoint",n[1]),S(i,"identity",Gi),S(i,"favoritesnumber",n[15]),S(i,"showsubgroups",n[8]),S(i,"clientstyling",n[4]),S(i,"clientstylingurl",n[5]),S(i,"activeindex",n[0]),S(i,"actionevent",n[6]),S(i,"location",n[7]),S(i,"categoriesicon",n[9]),S(i,"lobbyiconimage",n[10]),S(i,"mygamesiconimage",n[11]),fe(a,"class","CasinoCategoriesContainer"),fe(a,"part","CasinoCategoriesContainer")},m(e,t){ue(e,a,t),de(a,i),r||(o=E(n[16].call(null,i)),r=!0)},p(e,t){8&t[0]&&S(i,"lang",e[3]),4&t[0]&&S(i,"datasource",e[2]),2&t[0]&&S(i,"endpoint",e[1]),32768&t[0]&&S(i,"favoritesnumber",e[15]),256&t[0]&&S(i,"showsubgroups",e[8]),16&t[0]&&S(i,"clientstyling",e[4]),32&t[0]&&S(i,"clientstylingurl",e[5]),1&t[0]&&S(i,"activeindex",e[0]),64&t[0]&&S(i,"actionevent",e[6]),128&t[0]&&S(i,"location",e[7]),512&t[0]&&S(i,"categoriesicon",e[9]),1024&t[0]&&S(i,"lobbyiconimage",e[10]),2048&t[0]&&S(i,"mygamesiconimage",e[11])},d(e){e&&me(a),r=!1,o()}}}function Fi(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Si(e){let n;return{c(){fe(n=ge("div"),"class","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Mi(n){let a;function i(e){return e[12]?Si:e[14]?Fi:ki}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[26](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[26](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.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-categories-contrast, var(--emfe-w-color-background, #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}.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:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.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;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, 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-categories-contrast, var(--emfe-w-color-background, #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-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, 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-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.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-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, 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-header-typography, 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}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ci,xi,n,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),m()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),m()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),m()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),m()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),m()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),m()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),m()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),m()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),m()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),m()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),m()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});let Gi="CasinoSliderData";function Li(n,e,i){let a;rt(n,ai,e=>i(32,a=e));let r,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{userid:t=""}=e,{session:m=""}=e,{mostplayed:g=""}=e,{lastplayed:h="false"}=e,{favorites:p=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{activecategory:v=""}=e,{actionevent:b=""}=e,{sessioncheck:w=""}=e,{location:$="secondaryMenu"}=e,{showsubgroups:x="false"}=e,{filteredcategories:C=""}=e,{translationurl:k=""}=e,{categoriesicon:F=""}=e,{lobbyiconimage:S=""}=e,{mygamesiconimage:M=""}=e,G=!0,L=[],E=!1,_=window.navigator.userAgent,T=!1,I=!1;Object.keys(si).forEach(e=>{oi(e,si[e])});const P=()=>{window.postMessage({type:"SliderData",identity:Gi,data:L},window.location.href)};return n.$$set=e=>{"endpoint"in e&&i(1,c=e.endpoint),"datasource"in e&&i(2,d=e.datasource),"lang"in e&&i(3,u=e.lang),"userid"in e&&i(17,t=e.userid),"session"in e&&i(18,m=e.session),"mostplayed"in e&&i(19,g=e.mostplayed),"lastplayed"in e&&i(20,h=e.lastplayed),"favorites"in e&&i(21,p=e.favorites),"clientstyling"in e&&i(4,f=e.clientstyling),"clientstylingurl"in e&&i(5,y=e.clientstylingurl),"activecategory"in e&&i(0,v=e.activecategory),"actionevent"in e&&i(6,b=e.actionevent),"sessioncheck"in e&&i(22,w=e.sessioncheck),"location"in e&&i(7,$=e.location),"showsubgroups"in e&&i(8,x=e.showsubgroups),"filteredcategories"in e&&i(23,C=e.filteredcategories),"translationurl"in e&&i(24,k=e.translationurl),"categoriesicon"in e&&i(9,F=e.categoriesicon),"lobbyiconimage"in e&&i(10,S=e.lobbyiconimage),"mygamesiconimage"in e&&i(11,M=e.mygamesiconimage)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&c&&d&&u&&(r=a("myGamesName"),o=a("lobbyName"),c||(s="Endpoint is missing! Please provide a valid endpointURL.",i(14,E=!0),i(12,G=!1),console.error(s)),d||(s="Datasource is missing! Please provide a valid datasource.",i(14,E=!0),i(12,G=!1),console.error(s)),(!u||u.length<2)&&(s="Language is missing! Please provide a valid language (alpha2code)",i(14,E=!0),i(12,G=!1),console.error(s)),E||((t=new URL(c+"/v1/casino/groups/"+d)).searchParams.append("datasource",d),t.searchParams.append("language",u),t.searchParams.append("platform",it(_)),fetch(t).then(e=>e.json()).then(e=>{let a=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of a)e.flags==n&&(t=!1);return t});(L=(L=[]).concat(t)).unshift({id:"LOBBY",name:o,href:"",games:[]}),i(12,G=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{i(14,E=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{i(14,E=!0),console.error("There was an error while fetching the categories",e)}))),3936258&n.$$.dirty[0]&&c&&m&&(g||h||p)&&!G&&(0!=T||"true"!=p&&"true"!=g&&"true"!=h||L.splice(1,0,{id:"MYGAMES",name:r,href:"",games:[]}),Fe(),T=!0,i(25,I=!0),P()),33820673&n.$$.dirty[0]&&!G&&v&&(!m||I)&&(t=v.split("$"),i(0,v=2<t.length?v.split("$").slice(0,2).join("$"):v)),8208&n.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),16777216&n.$$.dirty[0]&&k&&fetch(k).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{oi(e,t[e])})}).catch(e=>{console.log(e)}),8224&n.$$.dirty[0]&&y&&l){let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e,t},i(15,0),[v,c,d,u,f,y,b,$,x,F,S,M,G,l,E,0,P,t,m,g,h,p,w,C,k,I,function(e){tt[e?"unshift":"push"](()=>{l=e,i(13,l)})}]}function Ei(e,t){o(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoCategoriesLoading{height:52px}p{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Li,Mi,n,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories","translationurl","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),m()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),m()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),m()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),m()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});const _i={en:{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",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除"},de:{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",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen"},it:{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ò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera"},fr:{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",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair"},es:{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",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный"},ro:{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",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto"},hu:{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",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás"},pl:{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",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć"},pt:{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",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar"},sl:{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",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev"},sr:{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",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar"}};function Ti(e,t){o(e,t)}const Ii={en:{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-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",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:{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:{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:{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:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",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.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{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:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{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:{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:{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:{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:{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."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};Ri=Pi={path:void 0,exports:{},require:function(e,t){return _n(null==t&&Pi.path)}},Pi.exports,Ri.exports=function(){var D;function h(){return D.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N(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 B(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 j(e,t){for(var n=[],a=e.length,i=0;i<a;++i)n.push(t(e[i],i));return n}function H(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,a){return _t(e,t,n,a,!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 z(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 U(e){var t=c(NaN);return null!=e?H(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1},Y=h.momentProperties=[],V=!1;function Z(e,t){var n,a,i,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(i=t[a=Y[n]])||(e[a]=i);return e}function q(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,h.updateOffset(this),V=!1)}function l(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function J(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,o){var s=!0;return H(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,r),s){for(var e,t,n=[],a=arguments.length,i=0;i<a;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}J(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),K[e]||(J(t),K[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,a=H({},e);for(n in t)p(t,n)&&(A(e[n])&&A(t[n])?(a[n]={},H(a[n],e[n]),H(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)p(e,n)&&!p(t,n)&&A(e[n])&&(a[n]=H({},a[n]));return a}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.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 a=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-a.length)).toString().substr(1)+a}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,ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},re={};function a(e,t,n,a){var i="string"==typeof a?function(){return this[a]()}:a;e&&(re[e]=i),t&&(re[t[0]]=function(){return r(i.apply(this,arguments),t[1],t[2])}),n&&(re[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(a){for(var e,i=a.match(ne),t=0,r=i.length;t<r;t++)re[i[t]]?i[t]=re[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=d(i[n])?i[n].call(e,a):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(ae.lastIndex=0;0<=n&&ae.test(e);)e=e.replace(ae,a),ae.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,a={};for(n in e)p(e,n)&&(t=u(n))&&(a[t]=e[n]);return a}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 g(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?(he(this,t,e),h.updateOffset(this,n),this):ge(this,t)}}function ge(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=g(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,pe=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\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,b=/[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,a){Ge[e]=d(n)?n:function(e,t){return e&&a?a:n}}function Me(e,t){return p(Ge,e)?Ge[e](t._strict,t._locale):new RegExp($(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,i){return t||n||a||i})))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ge={},Le={};function x(e,n){var t,a,i=n;for("string"==typeof e&&(e=[e]),B(n)&&(i=function(e,t){t[n]=g(e)}),a=e.length,t=0;t<a;t++)Le[e[t]]=i}function Ee(e,i){x(e,function(e,t,n,a){n._w=n._w||{},i(e,n._w,n,a)})}var C,k=0,F=1,S=2,M=3,G=4,L=5,_e=6,Te=7,Ie=8;function Pe(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,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},a("M",["MM",2],"Mo",function(){return this.month()+1}),a("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),a("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",v),w("MM",v,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]=g(e)-1}),x(["MMM","MMMM"],function(e,t,n,a){a=n._locale.monthsParse(e,a,n._strict);null!=a?t[F]=a:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne=b,Be=b;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(!B(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 je(e){return null!=e?(Oe(this,e),h.updateOffset(this,!0),this):ge(this,"Month")}function He(){function e(e,t){return t.length-e.length}for(var t,n=[],a=[],i=[],r=0;r<12;r++)t=c([2e3,r]),n.push(this.monthsShort(t,"")),a.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),a.sort(e),i.sort(e),r=0;r<12;r++)n[r]=$(n[r]),a[r]=$(a[r]);for(r=0;r<24;r++)i[r]=$(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ze(e){return ue(e)?366:365}a("Y",0,0,function(){var e=this.year();return e<=9999?r(e,4):"+"+e}),a(0,["YY",2],0,function(){return this.year()%100}),a(0,["YYYY",4],0,"year"),a(0,["YYYYY",5],0,"year"),a(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",ke),w("YY",v,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?h.parseTwoDigitYear(e):g(e)}),x("YY",function(e,t){t[k]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[k]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return g(e)+(68<g(e)?1900:2e3)};var Ue=me("FullYear",!0);function We(e,t,n,a,i,r,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,a,i,r,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,a,i,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,a,i){var r,t=1+7*(t-1)+(7+n-a)%7+Ve(e,a,i),n=t<=0?ze(r=e-1)+t:t>ze(e)?(r=e+1,t-ze(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var a,i,r=Ve(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?a=r+E(i=e.year()-1,t,n):r>E(e.year(),t,n)?(a=r-E(e.year(),t,n),i=e.year()+1):(i=e.year(),a=r),{week:a,year:i}}function E(e,t,n){var a=Ve(e,t,n),t=Ve(e+1,t,n);return(ze(e)-a+t)/7}a("w",["ww",2],"wo","week"),a("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Ee(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=g(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}a("d",0,"do","day"),a("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),a("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),a("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),a("e",0,0,"weekday"),a("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",v),w("e",v),w("E",v),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)}),Ee(["dd","ddd","dddd"],function(e,t,n,a){a=n._locale.weekdaysParse(e,a,n._strict);null!=a?t.d=a:f(n).invalidWeekday=e}),Ee(["d","e","E"],function(e,t,n,a){t[a]=g(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,nt=b;function at(){function e(e,t){return t.length-e.length}for(var t,n,a,i=[],r=[],o=[],s=[],l=0;l<7;l++)a=c([2e3,1]).day(l),t=$(this.weekdaysMin(a,"")),n=$(this.weekdaysShort(a,"")),a=$(this.weekdays(a,"")),i.push(t),r.push(n),o.push(a),s.push(t),s.push(n),s.push(a);i.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("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function rt(e,t){a(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}a("H",["HH",2],0,"hour"),a("h",["hh",2],0,it),a("k",["kk",2],0,function(){return this.hours()||24}),a("hmm",0,0,function(){return""+it.apply(this)+r(this.minutes(),2)}),a("hmmss",0,0,function(){return""+it.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),a("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),a("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",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),x(["H","HH"],M),x(["k","kk"],function(e,t,n){e=g(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]=g(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var a=e.length-2;t[M]=g(e.substr(0,a)),t[G]=g(e.substr(a)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var a=e.length-4,i=e.length-2;t[M]=g(e.substr(0,a)),t[G]=g(e.substr(a,2)),t[L]=g(e.substr(i)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var a=e.length-2;t[M]=g(e.substr(0,a)),t[G]=g(e.substr(a))}),x("Hmmss",function(e,t,n){var a=e.length-4,i=e.length-2;t[M]=g(e.substr(0,a)),t[G]=g(e.substr(a,2)),t[L]=g(e.substr(i))});b=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:De,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},_={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,a,i,r=0;r<e.length;){for(t=(i=dt(e[r]).split("-")).length,n=(n=dt(e[r+1]))?n.split("-"):null;0<t;){if(a=mt(i.slice(0,t).join("-")))return a;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),a=0;a<n;a+=1)if(e[a]!==t[a])return a;return n}(i,n)>=t-1)break;t--}r++}return st}function mt(t){var e;if(void 0===_[t]&&Ri&&Ri.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,_n(),gt(e)}catch(e){_[t]=null}return _[t]}function gt(e,t){return e&&((t=s(t)?T(e):ht(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null===t)return delete _[e],null;var n,a=lt;if(t.abbr=e,null!=_[e])X("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."),a=_[e]._config;else if(null!=t.parentLocale)if(null!=_[t.parentLocale])a=_[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;a=n._config}return _[e]=new ee(Q(a,t)),ct[e]&&ct[e].forEach(function(e){ht(e.name,e.config)}),gt(e),_[e]}function T(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[G]||0!==t[L]||0!==t[_e])?M:t[G]<0||59<t[G]?G:t[L]<0||59<t[L]?L:t[_e]<0||999<t[_e]?_e:-1,f(e)._overflowDayOfYear&&(t<k||S<t)&&(t=S),f(e)._overflowWeeks&&-1===t&&(t=Te),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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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,a,i,r,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=bt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(bt[t][1].exec(l[1])){i=bt[t][0],a=!1!==bt[t][2];break}if(null==i)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(!a&&null!=r)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(r||"")+(o||""),Lt(e)}else e._isValid=!1}function Ft(e,t,n,a,i,r){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(i,10)];return r&&e.push(parseInt(r,10)),e}function St(e){var t,n,a,i,r=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Ft(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],a=t,i=e,n&&Xe.indexOf(n)!==new Date(a[0],a[1],a[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=r[8],a=r[9],i=r[10],n?Ct[n]:a?0:((n=parseInt(i,10))-(a=n%100))/100*60+a),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 Gt(e){var t,n,a,i,r,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(h.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,a=Mt(u.GG,d._a[k],qe(I(),1,4).year),i=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=qe(I(),o,s),a=Mt(u.gg,d._a[k],c.year),i=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),i<1||i>E(a,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(a,i,r,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[k],n[k]),(e._dayOfYear>ze(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[G]&&0===e._a[L]&&0===e._a[_e]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:We).apply(null,m),a=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!==a&&(f(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,a,i=""+e._i,r=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)a=n[l],(t=(i.match(Me(a,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),o+=t.length),re[a]?(t?f(e).empty=!1:f(e).unusedTokens.push(a),u=a,g=e,null!=(m=t)&&p(Le,u)&&Le[u](m,g._a,g,u)):e._strict&&!t&&f(e).unusedTokens.push(a);f(e).charsLeftOver=r-o,0<i.length&&f(e).unusedInput.push(i),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])),Gt(e),pt(e)}else St(e);else kt(e);var c,d,u,m,g}function Et(e){var t,n=e._i,a=e._f;{var i,r;return(e._locale=e._locale||T(e._l),null===n||void 0===a&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new q(pt(n)):(O(n)?e._d=n:o(a)?function(e){var t,n,a,i,r,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)r=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Lt(t),z(t)&&(o=!0),r=(r+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=r,s?r<a&&(a=r,n=t):(null==a||r<a||o)&&(a=r,n=t,o)&&(s=!0);H(e,n||t)}(e):a?Lt(e):s(a=(n=e)._i)?n._d=new Date(h.now()):O(a)?n._d=new Date(a.valueOf()):"string"==typeof a?(i=n,null===(r=$t.exec(i._i))?(kt(i),!1===i._isValid&&(delete i._isValid,St(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:h.createFromInputFallback(i))):i._d=new Date(+r[1])):o(a)?(n._a=j(a.slice(0),function(e){return parseInt(e,10)}),Gt(n)):A(a)?(i=n)._d||(t=void 0===(r=ce(i._i)).day?r.date:r.day,i._a=j([r.year,r.month,t,r.hour,r.minute,r.second,r.millisecond],function(e){return e&&parseInt(e,10)}),Gt(i)):B(a)?n._d=new Date(a):h.createFromInputFallback(n),z(e)||(e._d=null),e))}}function _t(e,t,n,a,i){var r={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(A(e)&&N(e)||o(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=a,(i=new q(pt(Et(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function I(e,t,n,a){return _t(e,t,n,a,!1)}h.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":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};ve=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:U()}),be=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:U()});function Tt(e,t){var n,a;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return I();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);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,a=e.month||0,i=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,a=!1,i=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<i;++n)if(e[It[n]]){if(a)return!1;parseFloat(e[It[n]])!==g(e[It[n]])&&(a=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+r+7*i,this._months=+a+3*n+12*t,this._data={},this._locale=T(),this._bubble()}function Rt(e){return e instanceof Pt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){a(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)})}At("Z",":"),At("ZZ",""),w("Z",Se),w("ZZ",Se),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(Se,e)});var Nt=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Nt)||["-",0,0])[1]+g(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),h.updateOffset(t,!1),t):I(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?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,a,i=e;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:B(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=zt.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:g(t[S])*n,h:g(t[M])*n,m:g(t[G])*n,s:g(t[L])*n,ms:g(Dt(1e3*t[_e]))*n}):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,i={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=I(i.from),n=I(i.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?a=Yt(t,n):((a=Yt(n,t)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),a=new Pt(i),Rt(e)&&p(e,"_locale")&&(a._locale=e._locale),Rt(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(a,i){return function(e,t){var n;return null===t||isNaN(+t)||(X(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(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),a),this}}function Zt(e,t,n,a){var i=t._milliseconds,r=Dt(t._days),t=Dt(t._months);e.isValid()&&(a=null==a||a,t&&Oe(e,ge(e,"Month")+t*n),r&&he(e,"Date",ge(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),a)&&h.updateOffset(e,r||t)}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Re=Vt(1,"add"),Ke=Vt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Jt(e){return l(e)||O(e)||qt(e)||B(e)||(n=o(t=e),a=!1,n&&(a=0===t.filter(function(e){return!B(e)&&qt(t)}).length),n&&a)||function(e){var t,n,a=A(e)&&!N(e),i=!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],i=i||p(e,n);return a&&i}(e)||null==e;var t,n,a}function Kt(e,t){var n,a;return e.date()<t.date()?-Kt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(a=e.clone().add(n,"months"))<0?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(1+n,"months")-a)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=T(e))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.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=[],a=[],i=this.eras(),r=0,o=i.length;r<o;++r)t.push($(i[r].name)),e.push($(i[r].abbr)),n.push($(i[r].narrow)),a.push($(i[r].name)),a.push($(i[r].abbr)),a.push($(i[r].narrow));this._erasRegex=new RegExp("^("+a.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){a(0,[e,e.length],0,t)}function ln(e,t,n,a,i){var r;return null==e?qe(this,a,i).year:(t>(r=E(e,a,i))&&(t=r),function(e,t,n,a,i){e=Ze(e,t,n,a,i),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,a,i))}a("N",0,0,"eraAbbr"),a("NN",0,0,"eraAbbr"),a("NNN",0,0,"eraAbbr"),a("NNNN",0,0,"eraName"),a("NNNNN",0,0,"eraNarrow"),a("y",["y",1],"yo","eraYear"),a("y",["yy",2],0,"eraYear"),a("y",["yyy",3],0,"eraYear"),a("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,a){a=n._locale.erasParse(e,a,n._strict);a?f(n).era=a: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,a){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,i):t[k]=parseInt(e,10)}),a(0,["gg",2],0,function(){return this.weekYear()%100}),a(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",v,y),w("gg",v,y),w("GGGG",$e,fe),w("gggg",$e,fe),w("GGGGG",xe,ye),w("ggggg",xe,ye),Ee(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=g(e)}),Ee(["gg","GG"],function(e,t,n,a){t[a]=h.parseTwoDigitYear(e)}),a("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),x("Q",function(e,t){t[F]=3*(g(e)-1)}),a("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",v),w("DD",v,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]=g(e.match(v)[0])});$e=me("Date",!0);a("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=g(e)}),a("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",v),w("mm",v,y),x(["m","mm"],G);fe=me("Minutes",!1);a("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",v),w("ss",v,y),x(["s","ss"],L);var cn,xe=me("Seconds",!1);for(a("S",0,0,function(){return~~(this.millisecond()/100)}),a(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),a(0,["SSS",3],0,"millisecond"),a(0,["SSSS",4],0,function(){return 10*this.millisecond()}),a(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),a(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),a(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),a(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),a(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,i),w("SS",we,y),w("SSS",we,pe),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[_e]=g(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,dn);ye=me("Milliseconds",!1),a("z",0,0,"zoneAbbr"),a("zz",0,0,"zoneName");i=q.prototype;function un(e){return e}i.add=Re,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=A(e)&&!N(e),n=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<a.length;i+=1)n=n||p(e,a[i]);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=h.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)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var a,i,r;if(!this.isValid())return NaN;if(!(a=Ot(e,this)).isValid())return NaN;switch(i=6e4*(a.utcOffset()-this.utcOffset()),t=u(t)){case"year":r=Kt(this,a)/12;break;case"month":r=Kt(this,a);break;case"quarter":r=Kt(this,a)/3;break;case"second":r=(this-a)/1e3;break;case"minute":r=(this-a)/6e4;break;case"hour":r=(this-a)/36e5;break;case"day":r=(this-a-i)/864e5;break;case"week":r=(this-a-i)/6048e5;break;default:r=this-a}return n?r:m(r)},i.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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}this._d.setTime(t),h.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.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()},i.fromNow=function(e){return this.from(I(),e)},i.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()},i.toNow=function(e){return this.to(I(),e)},i.get=function(e){return d(this[e=u(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.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())},i.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())},i.isBetween=function(e,t,n,a){return e=l(e)?e:I(e),t=l(t)?t:I(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(a=a||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.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()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return z(this)},i.lang=Qe,i.locale=Xt,i.localeData=Qt,i.max=be,i.min=ve,i.parsingFlags=function(){return H({},f(this))},i.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)),a=n.length,i=0;i<a;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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)}this._d.setTime(t),h.updateOffset(this,!0)}return this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).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"):null},i.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",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+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++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""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++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""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++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""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),a=0,i=n.length;a<i;++a)if(e=n[a].since<=n[a].until?1:-1,t=this.clone().startOf("day").valueOf(),n[a].since<=t&&t<=n[a].until||n[a].until<=t&&t<=n[a].since)return(this.year()-h(n[a].since).year())*e+n[a].offset;return this.year()},i.year=Ue,i.isLeapYear=function(){return ue(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=je,i.daysInMonth=function(){return Pe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return E(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return E(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return E(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return E(this.isoWeekYear(),1,4)},i.date=$e,i.day=i.days=function(e){var t,n,a;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,a=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=a.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},i.isoWeekday=function(e){var t,n;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},i.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")},i.hour=i.hours=b,i.minute=i.minutes=fe,i.second=i.seconds=xe,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var a,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:jt(this);if("string"==typeof e){if(null===(e=Bt(Se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=jt(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,P(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Ht,i.isUTC=Ht,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",$e),i.months=e("months accessor is deprecated. Use month instead",je),i.years=e("years accessor is deprecated. Use year instead",Ue),i.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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=Et(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,o=0;o<a;o++)(n&&e[o]!==t[o]||!n&&g(e[o])!==g(t[o]))&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function mn(e,t,n,a){var i=T(),a=c().set(a,t);return i[n](a,e)}function gn(e,t,n){if(B(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var a=[],i=0;i<12;i++)a[i]=mn(e,i,n,"month");return a}function hn(e,t,n,a){t=("boolean"==typeof e||(n=t=e,e=!1),B(t)&&(n=t,t=void 0),t||"");var i,r=T(),o=e?r._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,a,"day");for(i=0;i<7;i++)s[i]=mn(t,(i+o)%7,a,"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,a){var i=this._relativeTime[n];return d(i)?i(e,t,n,a):i.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,a=this._eras||T("en")._eras,i=0,r=a.length;i<r;++i)switch("string"==typeof a[i].since&&(n=h(a[i].since).startOf("day"),a[i].since=n.valueOf()),typeof a[i].until){case"undefined":a[i].until=1/0;break;case"string":n=h(a[i].until).startOf("day").valueOf(),a[i].until=n.valueOf()}return a},y.erasParse=function(e,t,n){var a,i,r,o,s,l=this.eras();for(e=e.toUpperCase(),a=0,i=l.length;a<i;++a)if(r=l[a].name.toUpperCase(),o=l[a].abbr.toUpperCase(),s=l[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[a];break;case"NNNN":if(r===e)return l[a];break;case"NNNNN":if(s===e)return l[a]}else if(0<=[r,o,s].indexOf(e))return l[a]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(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||Ae).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[Ae.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var a,i;if(this._monthsParseExact)return function(e,t,n){var a,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)r=c([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=C.call(this._shortMonthsParse,e))?i:null:-1!==(i=C.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=C.call(this._shortMonthsParse,e))||-1!==(i=C.call(this._longMonthsParse,e))?i:null:-1!==(i=C.call(this._longMonthsParse,e))||-1!==(i=C.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(i=c([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[a]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ne),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return qe(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?Je(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var a,i;if(this._weekdaysParseExact)return function(e,t,n){var a,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)r=c([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=C.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=C.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._shortWeekdaysParse,e))||-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=C.call(this._shortWeekdaysParse,e))||-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:-1!==(i=C.call(this._minWeekdaysParse,e))||-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(i=c([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[a]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||at.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")||at.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")||at.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"},gt("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===g(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",gt),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",T);var pn=Math.abs;function fn(e,t,n,a){t=P(t,n);return e._milliseconds+=a*t._milliseconds,e._days+=a*t._days,e._months+=a*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),pe=wn("s"),Re=wn("m"),be=wn("h"),ve=wn("d"),Ke=wn("w"),b=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"),Ue=$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,a){var i=P(e).abs(),r=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),d=Fn(i.as("w")),i=Fn(i.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])||(i<=1?["y"]:["yy",i]))[2]=t,r[3]=0<+e,r[4]=a,function(e,t,n,a,i){return i.relativeTime(t||1,!!n,e,a)}.apply(null,r)}var Gn=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function En(){var e,t,n,a,i,r,o,s,l,c,d;return this.isValid()?(s=Gn(this._milliseconds)/1e3,l=Gn(this._days),c=Gn(this._months),(d=this.asSeconds())?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Ln(this._months)!==Ln(d)?"-":"",r=Ln(this._days)!==Ln(d)?"-":"",o=Ln(this._milliseconds)!==Ln(d)?"-":"",(d<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?r+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+a+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Pt.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,a=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+a/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=pe,R.asMinutes=Re,R.asHours=be,R.asDays=ve,R.asWeeks=Ke,R.asMonths=b,R.asQuarters=fe,R.asYears=xe,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,a=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=t=0),a.milliseconds=e%1e3,e=m(e/1e3),a.seconds=e%60,e=m(e/60),a.minutes=e%60,e=m(e/60),a.hours=e%24,t+=m(e/24),n+=e=m(vn(t)),t-=yn(bn(e)),e=m(n/12),n%=12,a.days=t,a.months=n,a.years=e,this},R.clone=function(){return P(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=$e,R.minutes=Ue,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){var n,a;return this.isValid()?(n=!1,a=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(a=Object.assign({},Sn,t),null!=t.s)&&null==t.ss&&(a.ss=t.s-1),t=Mn(this,!n,a,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=En,R.toString=En,R.toJSON=En,R.locale=Xt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),R.lang=Qe,a("X",0,0,"unix"),a("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(g(e))}),h.version="2.29.4",D=I,h.fn=i,h.min=function(){return Tt("isBefore",[].slice.call(arguments,0))},h.max=function(){return Tt("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return I(1e3*e)},h.months=function(e,t){return gn(e,t,"months")},h.isDate=O,h.locale=gt,h.invalid=U,h.duration=P,h.isMoment=l,h.weekdays=function(e,t,n){return hn(e,t,n,"weekdays")},h.parseZone=function(){return I.apply(null,arguments).parseZone()},h.localeData=T,h.isDuration=Rt,h.monthsShort=function(e,t){return gn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return hn(e,t,n,"weekdaysMin")},h.defineLocale=ht,h.updateLocale=function(e,t){var n,a;return null!=t?(a=lt,null!=_[e]&&null!=_[e].parentLocale?_[e].set(Q(_[e]._config,t)):(t=Q(a=null!=(n=mt(e))?n._config:a,t),null==n&&(t.abbr=e),(a=new ee(t)).parentLocale=_[e],_[e]=a),gt(e)):null!=_[e]&&(null!=_[e].parentLocale?(_[e]=_[e].parentLocale,e===gt()&&gt(e)):null!=_[e]&&delete _[e]),_[e]},h.locales=function(){return te(_)},h.weekdaysShort=function(e,t,n){return hn(e,t,n,"weekdaysShort")},h.normalizeUnits=u,h.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},h.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"},h.prototype=i,h.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"},h}();var Pi,Ri,Di=Pi.exports;function Ai(e,t){o(e,t)}const Ni={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započni sada!",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Bi={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 Oi(e,t,n){e=e.slice();return e[104]=t[n],e[106]=n,e}function ji(e,t,n){e=e.slice();return e[101]=t[n],e}function Hi(n){let a,i,r,o,s,l,e=!at(n[36]),c=n[35]("playNow")+"",d=e&&function(){let n,a,i,r,o,s;return{c(){n=z("svg"),a=z("g"),i=z("g"),r=z("path"),o=z("path"),s=z("path"),fe(r,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),fe(r,"stroke","none"),fe(o,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),fe(o,"stroke","none"),fe(o,"fill","#fff"),fe(i,"id","Ellipse_664_copy"),fe(i,"data-name","Ellipse 664 copy"),fe(i,"transform","translate(26 13)"),fe(i,"fill","rgba(249,165,2,0)"),fe(s,"id","Rounded_Rectangle_683"),fe(s,"data-name","Rounded Rectangle 683"),fe(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),fe(s,"transform","translate(-1102 -885)"),fe(s,"fill","#fff"),fe(a,"id","Group_5260"),fe(a,"data-name","Group 5260"),fe(a,"transform","translate(-26 -13)"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"width","28"),fe(n,"height","28"),fe(n,"viewBox","0 0 28 28")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(i,r),de(i,o),de(a,s)},d(e){e&&me(n)}}}();return{c(){a=ge("button"),d&&d.c(),i=pe(),r=ge("span"),o=he(c),fe(a,"class","GameInfoBtn")},m(e,t){ue(e,a,t),d&&d.m(a,null),de(a,i),de(a,r),de(r,o),s||(l=U(a,"click",n[63]),s=!0)},p(e,t){16&t[1]&&c!==(c=e[35]("playNow")+"")&&ye(o,c)},d(e){e&&me(a),d&&d.d(),s=!1,l()}}}function zi(e){let n,a,i=e[35]("new")+"";return{c(){n=ge("span"),a=he(i),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&i!==(i=e[35]("new")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Ui(e){let n,a;return{c(){n=ge("span"),a=he(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function Wi(e){let n,a,i=!e[22]&&e[20]&&e[21]&&Yi(e);function r(e){return e[22]&&e[19]&&e[19]===lr?Zi:e[22]&&e[19]&&e[19]===cr?Vi:void 0}let o=r(e),s=o&&o(e);return{c(){i&&i.c(),n=pe(),s&&s.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Yi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(a)}}}function Yi(e){let n,a,i,r,o,s,l,c,d,u,m=e[35]("opens")+"",g=Di.utc(e[20]).local().format(e[21])+"",h=e[41](e[34])+"",p=e[40](e[26],e[27],e[25])+"";return{c(){n=ge("div"),a=ge("div"),i=he(m),r=pe(),o=ge("span"),s=he(g),l=pe(),c=new P(!1),d=pe(),u=new P(!1),fe(a,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(o,s),de(n,l),c.m(h,n),de(n,d),u.m(p,n)},p(e,t){16&t[1]&&m!==(m=e[35]("opens")+"")&&ye(i,m),3145728&t[0]&&g!==(g=Di.utc(e[20]).local().format(e[21])+"")&&ye(s,g),8&t[1]&&h!==(h=e[41](e[34])+"")&&c.p(h),234881024&t[0]&&p!==(p=e[40](e[26],e[27],e[25])+"")&&u.p(p)},d(e){e&&me(n)}}}function Vi(n){let a,i,r,o,s,l,c=n[41](n[34])+"",d=n[40](n[26],n[27],n[25])+"",u=new Array(ur),m=[];for(let e=0;e<u.length;e+=1)m[e]=Xi(Oi(n,u,e));return{c(){a=ge("div"),i=ge("div");for(let e=0;e<m.length;e+=1)m[e].c();r=pe(),o=new P(!1),s=pe(),l=new P(!1),fe(i,"class","LiveIcons"),o.a=s,l.a=null,fe(a,"class",n[30])},m(e,t){ue(e,a,t),de(a,i);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);n[64](i),de(a,r),o.m(c,a),de(a,s),l.m(d,a)},p(t,n){if(536887296&n[0]|2049&n[1]){let e;for(u=new Array(ur),e=0;e<u.length;e+=1){const o=Oi(t,u,e);m[e]?m[e].p(o,n):(m[e]=Xi(o),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}8&n[1]&&c!==(c=t[41](t[34])+"")&&o.p(c),234881024&n[0]&&d!==(d=t[40](t[26],t[27],t[25])+"")&&l.p(d),1073741824&n[0]&&fe(a,"class",t[30])},d(e){e&&me(a),H(m,e),n[64](null)}}}function Zi(e){let n,a,i,r,o,s,l=e[41](e[34])+"",c=e[40](e[26],e[27],e[25])+"";function d(e){return e[32]?er:Qi}let u=d(e),m=u(e);return{c(){n=ge("div"),a=ge("div"),m.c(),i=pe(),r=new P(!1),o=pe(),s=new P(!1),fe(a,"class","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,a),m.m(a,null),de(n,i),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(a,null))),8&t[1]&&l!==(l=e[41](e[34])+"")&&r.p(l),234881024&t[0]&&c!==(c=e[40](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function qi(e){let n;function a(e){return e[29]?Ki:Ji}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Ji(e){let n,a,i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"";return{c(){n=new P(!1),a=c(),n.a=a},m(e,t){n.m(i,e,t),ue(e,a,t)},p(e,t){16384&t[0]|1&t[1]&&i!==(i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"")&&n.p(i)},d(e){e&&me(a),e&&n.d()}}}function Ki(e){let n,a,i,r,o,s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"",l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"";return{c(){n=ge("div"),a=new P(!1),i=pe(),r=new P(!1),o=pe(),a.a=i,r.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),a.m(s,n),de(n,i),r.m(l,n),de(n,o)},p(e,t){16384&t[0]|1&t[1]&&s!==(s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"")&&a.p(s),16384&t[0]|1&t[1]&&l!==(l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"")&&r.p(l)},d(e){e&&me(n)}}}function Xi(e){let n,a=e[14]&&e[14][e[106]]&&qi(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[106]]?a?a.p(e,t):((a=qi(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Qi(t){let i,r=t[24],o=[];for(let e=0;e<r.length;e+=1)o[e]=tr(ji(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(285212672&n[0]|256&n[1]){let e;for(r=t[24],e=0;e<r.length;e+=1){var a=ji(t,r,e);o[e]?o[e].p(a,n):(o[e]=tr(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){H(o,e),e&&me(i)}}}function er(e){let n,a,i=e[35]("full")+"";return{c(){n=ge("span"),a=he(i),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&i!==(i=e[35]("full")+"")&&ye(a,i)},d(e){e&&me(n)}}}function tr(e){let n,a,i,r,o,s;return{c(){n=ge("span"),a=z("svg"),i=z("path"),r=z("path"),o=pe(),fe(i,"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(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"width","13"),fe(a,"height","14"),fe(a,"viewBox","0 0 13 14"),fe(n,"class",s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function nr(e){let n;return{c(){(n=ge("div")).innerHTML='<svg version="1.1" class="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: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" 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")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function ar(e){let n,a,i;function r(e){return e[0]&&e[16]&&e[2]?rr:!e[0]&&e[16]?ir:void 0}let o=r(e),s=o&&o(e);return{c(){n=ge("div"),a=ge("span"),i=pe(),s&&s.c(),fe(a,"class","GameInfoVendor"),M(a,"background-image","url("+e[5]+")"),fe(n,"class","GameTopContainer")},m(e,t){ue(e,n,t),de(n,a),de(n,i),s&&s.m(n,null)},p(e,t){32&t[0]&&M(a,"background-image","url("+e[5]+")"),o===(o=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),s&&s.d()}}}function ir(n){let a,i,r;return{c(){(a=ge("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[66]),i=!0)},p:G,d(e){e&&me(a),i=!1,r()}}}function rr(n){let a,i,r;return{c(){(a=ge("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[65]),i=!0)},p:G,d(e){e&&me(a),i=!1,r()}}}function or(e){let n,a;return{c(){n=ge("p"),a=he(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[0]&&ye(a,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function sr(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,t,y,v,b,w=n[1]&&Hi(n),$=n[7]&&zi(n),x=n[8]&&Ui(n),C=n[13]&&Wi(n);function k(e){return(t=null==t?!at(e[36]):t)?ar:e[0]&&e[16]&&e[2]?nr:void 0}let F=k(n),S=F&&F(n),M="true"===n[10]&&or(n);return{c(){a=ge("div"),i=ge("div"),r=ge("img"),l=pe(),c=ge("div"),d=ge("div"),w&&w.c(),u=pe(),m=ge("div"),g=ge("div"),$&&$.c(),h=pe(),x&&x.c(),p=pe(),C&&C.c(),f=pe(),S&&S.c(),v=pe(),M&&M.c(),this.c=G,ce(r.src,o=n[3])||fe(r,"src",o),fe(r,"class",s=`GameBg GameBg-${n[9]} `+(n[17]?"Loaded":"")),fe(r,"alt","Game thumbnail"),fe(r,"loading","lazy"),fe(d,"class","GameInfo"),fe(c,"class","GameInfoWrapper"),fe(g,"class","GameExtraInfo"),fe(m,"class","GameExtraInfoContainer"),fe(i,"class",y="GameInnerContainer "+(n[13]&&!n[22]&&n[23].value||n[13]&&n[32]?"GameInnerContainerUnavailable":"")),fe(a,"class",b=`GameContainer ${n[33]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),I(a,"WithGameName",n[10])},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[62](r),de(i,l),de(i,c),de(c,d),w&&w.m(d,null),de(i,u),de(i,m),de(m,g),$&&$.m(g,null),de(g,h),x&&x.m(g,null),de(g,p),C&&C.m(g,null),de(m,f),S&&S.m(m,null),de(a,v),M&&M.m(a,null),n[67](a)},p(e,t){8&t[0]&&!ce(r.src,o=e[3])&&fe(r,"src",o),131584&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[17]?"Loaded":""))&&fe(r,"class",s),e[1]?w?w.p(e,t):((w=Hi(e)).c(),w.m(d,null)):w&&(w.d(1),w=null),e[7]?$?$.p(e,t):(($=zi(e)).c(),$.m(g,h)):$&&($.d(1),$=null),e[8]?x?x.p(e,t):((x=Ui(e)).c(),x.m(g,p)):x&&(x.d(1),x=null),e[13]?C?C.p(e,t):((C=Wi(e)).c(),C.m(g,null)):C&&(C.d(1),C=null),F===(F=k(e))&&S?S.p(e,t):(S&&S.d(1),(S=F&&F(e))&&(S.c(),S.m(m,null))),12591104&t[0]|2&t[1]&&y!==(y="GameInnerContainer "+(e[13]&&!e[22]&&e[23].value||e[13]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",y),"true"===e[10]?M?M.p(e,t):((M=or(e)).c(),M.m(a,null)):M&&(M.d(1),M=null),2048&t[0]|4&t[1]&&b!==(b=`GameContainer ${e[33]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(a,"class",b),3072&t[0]|4&t[1]&&I(a,"WithGameName",e[10])},i:G,o:G,d(e){e&&me(a),n[62](null),w&&w.d(),$&&$.d(),x&&x.d(),C&&C.d(),S&&S.d(),M&&M.d(),n[67](null)}}}const lr="blackjack",cr="roulette",dr="doubleballroulette",ur=5;function mr(r,e,o){let D;rt(r,ai,e=>o(35,D=e));let A,s,l,c,t,N,B,d,u,O,j,H,m,z,U,W,g,Y,V,Z,h,q,p,J,K,{session:X=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{favorites:Q=""}=e,{gamethumbnail:ee=""}=e,{gamename:te=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:a=""}=e,{gameid:i=""}=e,{gameisnew:ne=""}=e,{gametag:ae=""}=e,{gamefunmode:$=!1}=e,{gamefavorite:x=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:C=!1}=e,{showgamename:re=""}=e,{currency:k=""}=e,{gamepagemodalurl:F="false"}=e,{endpoint:S=""}=e,{categoryid:M=""}=e,{livelobbyendpoint:G=""}=e,{connectlive:L=""}=e,{visibilityconnect:E=""}=e,{integratedgameframedesktop:_="false"}=e,{integratedgameframemobile:T="false"}=e,{casinogamesgridslider:oe="false"}=e,se=!1,le=!1,I=window.navigator.userAgent,ce="HH:mm",de,ue=[],me="EUR",P="";const ge=[lr],he=[cr,dr],pe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},fe={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"},ye=(Object.keys(Ni).forEach(e=>{Ai(e,Ni[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+i||C||o(0,x=!0),e.data.type!=="RemoveFavoriteThumbnail_"+i||C||o(0,x=!1),"UserSessionID"===e.data.type&&(o(16,se=!0),e.data.session,A=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,c=null)}),ve=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(A||"Not logged in")}),at(I)&&"true"==T?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:F,isMobile:at(I),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:a},window.location.href):at(I)&&"false"==T&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:at(I)},window.location.href),at(I)||"true"!=_?at(I)||"false"!=_||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:at(I)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:$,gamepagemodalurl:F,isMobile:at(I),identifier:"Lobby",subVendor:n,launchUrl:a},window.location.href)},be=e=>{x?window.postMessage({type:"SetUnfavoredGame"+M,id:e},window.location.href):window.postMessage({type:"SetFavoredGame"+M,id:e},window.location.href)},we=()=>{G&&EventSource&&!t&&n&&i&&(t=new EventSource(`${S}/v1/encoder/lobby/updates/${n}/`+i)).addEventListener("message",xe)},$e=()=>{t&&(t.close(),t=void 0)},xe=async e=>{const{type:t,data:n}=e;let a;if("message"===t){if(n)try{a=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(a){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:r}=a;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,m=i),o(13,c.currentOccupiedSeats=i,c),await Fe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(z=n,o(13,c.currentRouletteNumbers=n,c),await Fe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(13,c.currentDoubleBallRouletteNumbers=n,c),await Fe());break;case"TableOpened":case"TableClosed":o(22,d=r),o(13,c.isOpen=r,c),await Fe()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),ke=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return et(()=>(window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye),t&&t.removeEventListener("message",xe)})),r.$$set=e=>{"session"in e&&o(43,X=e.session),"userid"in e&&o(44,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(45,v=e.clientstyling),"clientstylingurl"in e&&o(46,b=e.clientstylingurl),"translationurl"in e&&o(47,w=e.translationurl),"favorites"in e&&o(2,Q=e.favorites),"gamethumbnail"in e&&o(3,ee=e.gamethumbnail),"gamename"in e&&o(4,te=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(48,a=e.gamelaunchurl),"gameid"in e&&o(6,i=e.gameid),"gameisnew"in e&&o(7,ne=e.gameisnew),"gametag"in e&&o(8,ae=e.gametag),"gamefunmode"in e&&o(49,$=e.gamefunmode),"gamefavorite"in e&&o(0,x=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(50,C=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(51,k=e.currency),"gamepagemodalurl"in e&&o(52,F=e.gamepagemodalurl),"endpoint"in e&&o(53,S=e.endpoint),"categoryid"in e&&o(54,M=e.categoryid),"livelobbyendpoint"in e&&o(55,G=e.livelobbyendpoint),"connectlive"in e&&o(56,L=e.connectlive),"visibilityconnect"in e&&o(57,E=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,_=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,T=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,oe=e.casinogamesgridslider)},r.$$.update=()=>{if(33554432&r.$$.dirty[1]&&L&&("disconnect"===L?$e():"connect"===L&&we()),67108864&r.$$.dirty[1]&&E&&("disconnect"===E?$e():"connect"===E&&"connect"===L&&we()),2&r.$$.dirty[0]&&y&&(n=y,nt.set(n)),4206592&r.$$.dirty[1]&&X&&f&&S&&(o(16,se=!0),A=f),8&r.$$.dirty[0]&&ee&&s&&o(18,s.onload=()=>{o(17,le=!0)},s),4096&r.$$.dirty[0]|16384&r.$$.dirty[1]&&v&&l&&((n=document.createElement("style")).innerHTML=v,l.appendChild(n)),4096&r.$$.dirty[0]|32768&r.$$.dirty[1]&&b&&l&&ke(),r.$$.dirty[0],65536&r.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ai(e,t[e])})}).catch(e=>{console.log(e)}),512&r.$$.dirty[0]|32768&r.$$.dirty[1]&&ie&&b&&ke(),20971520&r.$$.dirty[1]&&S&&G&&((t=new URL(""+G.split("?")[0])).searchParams.append("platform",it(I)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,c=e)})),8192&r.$$.dirty[0]&&c&&c&&(o(22,d=c.isOpen),de=c.betLimit||{},o(23,u=c.openHours),o(24,ue=(e=>{H=e.totalSeats||7,o(28,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=H;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(20,B=t),o(21,ce=e||ce)),d&&o(19,N=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(ge,e)?t=lr:R(he,e)&&(t=cr)}}return t})(c)),o(25,me=Bi[k]),o(26,O=(de.min||{})[k]),o(27,j=(de.max||{})[k]),z=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,W=c.vendorCategory,o(29,g=W.toLowerCase()===dr),o(14,Y=(g?U:z)||[]),o(30,V="GameProp LiveProps RoulleteProps"),o(30,V+=g?" Double":""),o(31,Z=R(he,W.toLowerCase())?fe:pe),q=h,o(32,h=Array.isArray(m)&&m.length===H),c.dealer&&o(34,J=c.dealer.DealerName),K=c.numberOfPlayers,o(33,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(33,P+=" GameBackdrop"),d&&h&&O&&j&&c.currentOccupiedSeats?o(33,P+=" GameContainerDimmed"):!1===d&&B&&o(33,P+=" GameContainerFullyDimmed"),l)&&(!q&&h?(o(33,P+=" PulsatingRedShadow"),o(33,P=P.replace(" PulsatingGreenShadow",""))):q&&!h&&(o(33,P+=" PulsatingGreenShadow"),o(33,P=P.replace(" PulsatingRedShadow","")))),49152&r.$$.dirty[0]&&p&&Y){const a="FirstElementAnimated",i=p.getElementsByClassName("First")[0];i&&(i.classList.add(a),setTimeout(()=>{i.classList.remove(a)},2e3))}var e,t,n},[x,y,Q,ee,te,n,i,ne,ae,ie,re,oe,l,c,Y,p,se,le,s,N,B,ce,d,u,ue,me,O,j,m,g,V,Z,h,P,J,D,I,ve,be,R,(e,t,n)=>{let a,i;return null!=e&&null!=t&&(i=`
3
+ }`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_`+s,m=F(e),{stylesheet:g,rules:p}=T.get(m)||(m=m,d={stylesheet:(d=e,p=ge("style"),d=F(d),g=p,de(d.head||d,g),g.sheet,p.sheet),rules:{}},T.set(m,d),d),m=(p[s]||(p[s]=!0,g.insertRule(`@keyframes ${s} `+u,g.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${a}ms linear ${i}ms 1 both`,R+=1,s}function D(e){_=e}function Re(){if(_)return _;throw new Error("Function called outside component initialization")}function et(e){Re().$$.on_mount.push(e)}const N=[],tt=[];let O=[];const W=[],Y=Promise.resolve();let V=!1;function Z(){V||(V=!0,Y.then(m))}function Fe(){return Z(),Y}function q(e){O.push(e)}const K=new Set;let J,X=0;function m(){if(0===X){const a=_;do{try{for(;X<N.length;){const a=N[X];X++,D(a),e=t=void 0;var e,t=a.$$;null!==t.fragment&&(t.update(),z(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(q))}}catch(a){throw N.length=0,X=0,a}for(D(null),N.length=0,X=0;tt.length;)tt.pop()();for(let e=0;e<O.length;e+=1){var n=O[e];K.has(n)||(K.add(n),n())}}while(O.length=0,N.length);for(;W.length;)W.pop()();V=!1,K.clear(),D(a)}}function Q(e,t,n){var a;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(a=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),a))}const ee=new Set;let te;function ne(e,t){e&&e.i&&(ee.delete(e),e.i(t))}function ae(e,t,n,a){e&&e.o?ee.has(e)||(ee.add(e),te.c.push(()=>{ee.delete(e),a&&(n&&e.d(1),a())}),e.o(t)):a&&a()}const ie={duration:0};function re(l,e,t,n){const a={direction:"both"};let c=e(l,t,a),d=n?0:1,u=null,m=null,g=null;function p(){var e,t,n,a;g&&(e=l,t=g,n=(e.style.animation||"").split(", "),a=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-a.length)||(e.style.animation=a.join(", "),R-=n)||$(()=>{R||(T.forEach(e=>{e=e.stylesheet.ownerNode;e&&me(e)}),T.clear())}))}function h(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:a=b,tick:i=A,css:r}=c||ie,o={start:x()+t,b:e};if(e||((o.group=te).r+=1),u||m)m=o;else{r&&(p(),g=P(l,d,e,n,t,a,r)),e&&i(0,1),u=h(o,n),q(()=>Q(l,e,"start"));{var s=e=>{return m&&e>m.start&&(u=h(m,n),m=null,Q(l,u.b,"start"),r)&&(p(),g=P(l,d,u.b,u.duration,0,a,c.css)),u&&(e>=u.end?(i(d=u.b,1-d),Q(l,u.b,"end"),m||(u.b?p():--u.group.r||z(u.group.c)),u=null):e>=u.start&&(e=e-u.start,d=u.a+u.d*a(e/u.duration),i(d,1-d))),!(!u&&!m)};let t;0===C.size&&$(k),new Promise(e=>{C.add(t={c:s,f:e})})}}}return{run(e){L(c)?(J||(J=Promise.resolve()).then(()=>{J=null}),J.then(()=>{c=c(a),i(e)})):i(e)},end(){p(),u=m=null}}}function oe(e,t){e.d(1),t.delete(e.key)}function se(t,n,a,i,r,o,s,l,e,c,d,u){let m=t.length,g=o.length,p=m;for(var h={};p--;)h[t[p].key]=p;var f=[],y=new Map,v=new Map,b=[];for(p=g;p--;){const t=u(r,o,p),z=a(t);let e=s.get(z);e?i&&b.push(()=>e.p(t,n)):(e=c(z,t)).c(),y.set(z,f[p]=e),z in h&&v.set(z,Math.abs(p-h[z]))}var w=new Set,x=new Set;function $(e){ne(e,1),e.m(l,d),s.set(e.key,e),d=e.first,g--}for(;m&&g;){const n=f[g-1],a=t[m-1],i=n.key,z=a.key;n===a?(d=n.first,m--,g--):y.has(z)?!s.has(i)||w.has(i)?$(n):x.has(z)?m--:v.get(i)>v.get(z)?(x.add(i),$(n)):(w.add(z),m--):(e(a,s),m--)}for(;m--;){const n=t[m];y.has(n.key)||e(n,s)}for(;g;)$(f[g-1]);return z(b),f}function i(a,e,t,n,i,r,o,s=[-1]){var l=_;D(a);const c=a.$$={fragment:null,ctx:[],props:r,update:A,not_equal:i,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:p(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(a,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=a).$$.dirty[0]&&(N.push(e),Z(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,z(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){r=e.target;const A=Array.from(r.childNodes);c.fragment&&c.fragment.l(A),A.forEach(me)}else c.fragment&&c.fragment.c();e.intro&&ne(a.$$.fragment);var u=a,s=e.target,o=e.anchor,t=e.customElement,{fragment:n,after_update:r}=u.$$;n&&n.m(s,o),t||q(()=>{var e=u.$$.on_mount.map(g).filter(L);u.$$.on_destroy?u.$$.on_destroy.push(...e):z(e),u.$$.on_mount=[]}),r.forEach(q),m()}D(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(g).filter(L);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const a=[],i=[];O.forEach(e=>(-1===n.indexOf(e)?a:i).push(e)),i.forEach(e=>e()),O=a}z(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=A}$on(e,t){if(!L(t))return A;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 le,ve,be="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},we="URLSearchParams"in be,xe="Symbol"in be&&"iterator"in Symbol,$e="FileReader"in be&&"Blob"in be&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ce="FormData"in be,ke="ArrayBuffer"in be;function Ge(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 Se(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 xe&&(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){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Me(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Ie(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ee(e){var t=new FileReader,n=Ie(t);return t.readAsArrayBuffer(e),n}function Te(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function _e(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:$e&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:we&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&$e&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||ve(e))?this._bodyArrayBuffer=Te(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):we&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$e&&(this.blob=function(){var e=Me(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(){if(this._bodyArrayBuffer)return Me(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if($e)return this.blob().then(Ee);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,a=Me(this);if(a)return a;if(this._bodyBlob)return a=this._bodyBlob,e=new FileReader,t=Ie(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(a.type))?n[1]:"utf-8",e.readAsText(a,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a<t.length;a++)n[a]=String.fromCharCode(t[a]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Ce&&(this.formData=function(){return this.text().then(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(le=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ve=ArrayBuffer.isView||function(e){return e&&-1<le.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Ge(e),t=Se(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Ge(e)]},l.prototype.get=function(e){return e=Ge(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Ge(e))},l.prototype.set=function(e,t){this.map[Ge(e)]=Se(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)},xe&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Pe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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,a=(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,a||null==e._bodyInit||(a=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<Pe.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in be)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a),"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 Ne(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 Ae(e,t){if(!(this instanceof Ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");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})},_e.call(De.prototype),_e.call(Ae.prototype),Ae.prototype.clone=function(){return new Ae(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ae.error=function(){var e=new Ae(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Be=[301,302,303,307,308],Oe=(Ae.redirect=function(e,t){if(-1===Be.indexOf(t))throw new RangeError("Invalid status code");return new Ae(null,{status:t,headers:{location:e}})},be.DOMException);try{new Oe}catch(A){(Oe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Oe.prototype.constructor=Oe}function ze(a,s){return new Promise(function(i,e){var r=new De(a,s);if(r.signal&&r.signal.aborted)return e(new Oe("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,a,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",a=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 t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{a.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),a)},n=(r.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new Ae(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new Oe("Aborted","AbortError"))},0)},o.open(r.method,function(t){try{return""===t&&be.location.href?be.location.href:t}catch(e){return t}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&($e?o.responseType="blob":ke&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof l||be.Headers&&s.headers instanceof be.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Ge(e)),o.setRequestHeader(e,Se(s.headers[e]))}),r.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):r.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),r.signal&&(r.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",t)}),o.send(void 0===r._bodyInit?null:r._bodyInit)})}function En(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ze.polyfill=!0,be.fetch||(be.fetch=ze,be.Headers=l,be.Request=De,be.Response=Ae);var je=self.fetch.bind(self),He=function(e,t){return(He=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 Ue(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}He(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function We(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&a>=e.length?void 0:e)&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ye(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,i,r=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(a=r.next()).done;)o.push(a.value)}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o}function Ve(e,t,n){if(n||2===arguments.length)for(var a,i=0,r=t.length;i<r;i++)!a&&i in t||((a=a||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(a||Array.prototype.slice.call(t))}function Ze(e){return"function"==typeof e}function qe(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 Ke=qe(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 Je(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}ot.prototype.unsubscribe=function(){var e,t,n,a,i;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var o=We(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(Ze(r))try{r()}catch(e){i=e instanceof Ke?e.errors:[e]}r=this._finalizers;if(r){this._finalizers=null;try{for(var l=We(r),c=l.next();!c.done;c=l.next()){var d=c.value;try{lt(d)}catch(e){i=null!=i?i:[],e instanceof Ke?i=Ve(Ve([],Ye(i)),Ye(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}if(i)throw new Ke(i)}},ot.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)lt(e);else{if(e instanceof ot){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},ot.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ot.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ot.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Je(t,e)},ot.prototype.remove=function(e){var t=this._finalizers;t&&Je(t,e),e instanceof ot&&e._removeParent(this)},ot.EMPTY=((r=new ot).closed=!0,r);var Xe=ot,Qe=Xe.EMPTY;function ot(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function st(e){return e instanceof Xe||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function lt(e){Ze(e)?e():e.unsubscribe()}var ct=void 0,dt=!1,ut=!1,mt={setTimeout:function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var i=mt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,Ve([e,t],Ye(n))):setTimeout.apply(void 0,Ve([e,t],Ye(n)))},clearTimeout:function(e){var t=mt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gt(){}var pt=null;function ht(e){if(dt){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()}Ue(bt,ft=Xe),bt.create=function(e,t,n){return new Ct(e,t,n)},bt.prototype.next=function(e){this.isStopped||this._next(e)},bt.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},bt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},bt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ft.prototype.unsubscribe.call(this),this.destination=null)},bt.prototype._next=function(e){this.destination.next(e)},bt.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},bt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ft,yt=bt,vt=Function.prototype.bind;function bt(e){var t=ft.call(this)||this;return t.isStopped=!1,e?st(t.destination=e)&&e.add(t):t.destination=St,t}function wt(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){Gt(e)}},Ft.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Gt(e)}else Gt(e)},Ft.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Gt(e)}};var xt,$t=Ft,Ct=(Ue(kt,xt=yt),kt);function kt(e,t,n){var a=xt.call(this)||this,n=Ze(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:a&&ut?((t=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},{next:e.next&&wt(e.next,t),error:e.error&&wt(e.error,t),complete:e.complete&&wt(e.complete,t)}):e;return a.destination=new $t(n),a}function Ft(e){this.partialObserver=e}function Gt(e){var t=e;mt.setTimeout(function(){throw t})}var St={closed:!0,next:gt,error:function(e){throw e},complete:gt},r="function"==typeof Symbol&&Symbol.observable||"@@observable";Mt.prototype.lift=function(e){var t=new Mt;return t.source=this,t.operator=e,t},Mt.prototype.subscribe=function(e,t,n){var a,i=this,r=(a=e)&&a instanceof yt||a&&Ze(a.next)&&Ze(a.error)&&Ze(a.complete)&&st(a)?e:new Ct(e,t,n);return ht(function(){var e=i.operator,t=i.source;r.add(e?e.call(r,t):t?i._subscribe(r):i._trySubscribe(r))}),r},Mt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Mt.prototype.forEach=function(a,e){var i=this;return new(e=It(e))(function(e,t){var n=new Ct({next:function(e){try{a(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Mt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Mt.prototype[r]=function(){return this},Mt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Mt.prototype.toPromise=function(e){var a=this;return new(e=It(e))(function(e,t){var n;a.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Mt.create=function(e){return new Mt(e)};var Lt=Mt;function Mt(e){e&&(this._subscribe=e)}function It(e){return null!=(e=null!=e?e:ct)?e:Promise}var Et,Tt,_t,Rt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(Ue(Ot,_t=Lt),Ot.prototype.lift=function(e){var t=new Pt(this,this);return t.operator=e,t},Ot.prototype._throwIfClosed=function(){if(this.closed)throw new Rt},Ot.prototype.next=function(i){var r=this;ht(function(){var t,e;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var n=We(r.currentObservers),a=n.next();!a.done;a=n.next())a.value.next(i)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ot.prototype.error=function(t){var n=this;ht(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)}})},Ot.prototype.complete=function(){var t=this;ht(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ot.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Ot.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Ot.prototype._trySubscribe=function(e){return this._throwIfClosed(),_t.prototype._trySubscribe.call(this,e)},Ot.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ot.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,a=this.isStopped,i=this.observers;return n||a?Qe:(this.currentObservers=null,i.push(e),new Xe(function(){t.currentObservers=null,Je(i,e)}))},Ot.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,a=this.isStopped;t?e.error(n):a&&e.complete()},Ot.prototype.asObservable=function(){var e=new Lt;return e.source=this,e},Ot.create=function(e,t){return new Pt(e,t)},Ot),Pt=(Ue(Bt,Tt=r),Bt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Bt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Bt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Bt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Qe},Bt),Dt={now:function(){return(Dt.delegate||Date).now()},delegate:void 0},Nt=(Ue(At,Et=r),At.prototype.next=function(e){var t=this,n=t.isStopped,a=t._buffer,i=t._infiniteTimeWindow,r=t._timestampProvider,t=t._windowTime;n||(a.push(e),i)||a.push(r.now()+t),this._trimBuffer(),Et.prototype.next.call(this,e)},At.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,a=this._buffer.slice(),i=0;i<a.length&&!e.closed;i+=n?1:2)e.next(a[i]);return this._checkFinalizedStatuses(e),t},At.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,a=this._infiniteTimeWindow,i=(a?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!a){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)}},At);function At(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Dt);var a=Et.call(this)||this;return a._bufferSize=e,a._windowTime=t,a._timestampProvider=n,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=t===1/0,a._bufferSize=Math.max(1,e),a._windowTime=Math.max(1,t),a}function Bt(e,t){var n=Tt.call(this)||this;return n.destination=e,n.source=t,n}function Ot(){var e=_t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let zt=[],jt={};const Ht=[];function Ut(a,i=A){let r;const o=new Set;function s(e){if(n(a,e)&&(a=e,r)){const e=!Ht.length;for(const e of o)e[1](),Ht.push(e,a);if(e){for(let e=0;e<Ht.length;e+=2)Ht[e][0](Ht[e+1]);Ht.length=0}}}return{set:s,update:function(e){s(e(a))},subscribe:function(e,t=A){const n=[e,t];return o.add(n),1===o.size&&(r=i(s)||A),e(a),()=>{o.delete(n),0===o.size&&r&&(r(),r=null)}}}}function Wt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Ut(t,t=>{let n=!1;const a=[];let i=0,r=A;const o=()=>{var e;i||(r(),e=s(l?a[0]:a,t),d?t(e):r=L(e)?e:A)},e=c.map((e,t)=>u(e,e=>{a[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){z(e),r(),n=!1}}).subscribe}}function Yt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Vt);var t}var Vt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Zt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Qt(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Zt(e,n)})}function Kt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Jt(e,t){try{return t in e}catch(e){return!1}}function Xt(a,i,r){var o={};return r.isMergeableObject(a)&&Kt(a).forEach(function(e){o[e]=Zt(a[e],r)}),Kt(i).forEach(function(e){var t,n;(!Jt(t=a,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Jt(a,e)&&r.isMergeableObject(i[e])?o[e]=((t=r).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Qt)(a[e],i[e],r):o[e]=Zt(i[e],r))}),o}function Qt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Yt,n.cloneUnlessOtherwiseSpecified=Zt;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):Xt(e,t,n):Zt(t,n)}Qt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Qt(e,t,n)},{});throw new Error("first argument should be an array")};var en=Qt,tn=function(e,t){return(tn=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 nn(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}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var h,y,an,f=function(){return(f=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function rn(e,t,n){if(n||2===arguments.length)for(var a,i=0,r=t.length;i<r;i++)!a&&i in t||((a=a||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(a||Array.prototype.slice.call(t))}function on(e){return e.type===y.literal}function sn(e){return e.type===y.number}function ln(e){return e.type===y.date}function cn(e){return e.type===y.time}function dn(e){return e.type===y.select}function un(e){return e.type===y.plural}function mn(e){return e.type===y.tag}function gn(e){return e&&"object"==typeof e&&e.type===an.number}function pn(e){return e&&"object"==typeof e&&e.type===an.dateTime}(r=h=h||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=y=y||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=an=an||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,hn=/(?:[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 fn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,yn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,vn=/^(@+)?(\+|#+)?[rs]?$/g,bn=/(\*)(0+)|(#+)(0+)|(0+)/g,wn=/^(0+)$/;function xn(e){var a={};return"r"===e[e.length-1]?a.roundingPriority="morePrecision":"s"===e[e.length-1]&&(a.roundingPriority="lessPrecision"),e.replace(vn,function(e,t,n){return"string"!=typeof n?(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length):"+"===n?a.minimumSignificantDigits=t.length:"#"===t[0]?a.maximumSignificantDigits=t.length:(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),a}function $n(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 Cn(e){return $n(e)||{}}function kn(e){for(var o={},t=0,n=e;t<n.length;t++){var a,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.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=i.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=f(f(f({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return f(f({},e),Cn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return f(f({},e),Cn(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(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(bn,function(e,t,n,a,i,r){if(t)o.minimumIntegerDigits=n.length;else{if(a&&i)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(wn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(yn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(yn,function(e,t,n,a,i,r){return"*"===n?o.minimumFractionDigits=t.length:a&&"#"===a[0]?o.maximumFractionDigits=a.length:i&&r?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+r.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var r=i.options[0];"w"===r?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):r&&(o=f(f({},o),xn(r)))}else vn.test(i.stem)?o=f(f({},o),xn(i.stem)):((r=$n(i.stem))&&(o=f(f({},o),r)),(a=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)),!wn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=f(f({},o),a)))}return o}var Fn={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 Gn=new RegExp("^".concat(r.source,"*")),Sn=new RegExp("".concat(r.source,"*$"));function v(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,Ln=!!String.fromCodePoint,Mn=!!Object.fromEntries,In=!!String.prototype.codePointAt,Tn=!!String.prototype.trimStart,_n=!!String.prototype.trimEnd,Rn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pn=!0;try{Pn="a"===(null==(na=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:na[0])}catch(A){Pn=!1}var Dn,Nn,An=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Bn=Ln?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,a="",i=e.length,r=0;r<i;){if(1114111<(n=e[r++]))throw RangeError(n+" is not a valid code point");a+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return a},On=Mn?Object.fromEntries:function(e){for(var t={},n=0,a=e;n<a.length;n++){var i=a[n],r=i[0],i=i[1];t[r]=i}return t},zn=In?function(e,t){return e.codePointAt(t)}:function(e,t){var n,a=e.length;if(!(t<0||a<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===a||(a=e.charCodeAt(t+1))<56320||57343<a?n:a-56320+(n-55296<<10)+65536},jn=Tn?function(e){return e.trimStart()}:function(e){return e.replace(Gn,"")},Hn=_n?function(e){return e.trimEnd()}:function(e){return e.replace(Sn,"")};function Un(e,t){return new RegExp(e,t)}Nn=Pn?(Dn=Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Dn.lastIndex=t,null!=(t=Dn.exec(e)[1])?t:""}):function(e,t){for(var n,a=[];;){var i=zn(e,t);if(void 0===i||Vn(i)||33<=(n=i)&&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;a.push(i),t+=65536<=i?2:1}return Bn.apply(void 0,a)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var a=[];!this.isEOF();){var i,r=this.char();if(123===r){if((i=this.parseArgument(e,n)).err)return i;a.push(i.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(h.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Yn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;a.push(i.val)}else{r=this.clonePosition();this.bump(),a.push({type:y.pound,location:v(r,this.clonePosition())})}}}return{val:a,err:null}},o.prototype.parseTag=function(e,t){var n,a=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(a,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Yn(this.char())?this.error(h.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),i!==this.parseTagName()?this.error(h.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(a,this.clonePosition())},err:null}:this.error(h.INVALID_TAG,v(e,this.clonePosition())))):this.error(h.UNCLOSED_TAG,v(a,this.clonePosition()))):this.error(h.INVALID_TAG,v(a,this.clonePosition()))},o.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())},o.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),a="";;){var i=this.tryParseQuote(t);if(i)a+=i;else{i=this.tryParseUnquoted(e,t);if(i)a+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;a+=i}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:a,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Yn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.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 Bn.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Bn(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(h.EMPTY_ARGUMENT,v(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(h.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:a,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,a,n);default:return this.error(h.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.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())}},o.prototype.parseArgumentOptions=function(e,t,n,a){var i,r=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(h.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((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=Hn(u.val)).length)return this.error(h.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(a)).err?c:(g=v(a,this.clonePosition()),l&&An(null==l?void 0:l.style,"::",0)?(p=jn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:g,style:u.val},err:null}:0===p.length?this.error(h.EXPECT_DATE_TIME_SKELETON,g):(d=p,this.locale&&(d=function(e,t){for(var n="",a=0;a<e.length;a++){var i=e.charAt(a);if("j"===i){for(var r=0;a+1<e.length&&e.charAt(a+1)===i;)r++,a++;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),(Fn[t||""]||Fn[n||""]||Fn["".concat(n,"-001")]||Fn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===i?"H":i}return n}(p,this.locale)),m={type:an.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(hn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.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":i.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":i.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":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.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":i.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""}),i):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:g,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:g,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(h.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(h.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(h.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,h.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=u.val}var p,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(a)).err?c:(p=v(a,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:On(l.val),location:p},err:null}:{val:{type:y.plural,value:n,options:On(l.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:p},err:null});default:return this.error(h.INVALID_ARGUMENT_TYPE,v(r,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(h.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.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(h.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}},o.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,a=e.split(fn).filter(function(e){return 0<e.length});n<a.length;n++){var i=a[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var r=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:i})}return t}(e)}catch(e){return this.error(h.INVALID_NUMBER_SKELETON,t)}return{val:{type:an.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?kn(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,a){for(var i=!1,r=[],o=new Set,s=a.value,l=a.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(h.EXPECT_PLURAL_ARGUMENT_SELECTOR,h.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?h.DUPLICATE_SELECT_ARGUMENT_SELECTOR:h.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?h.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:h.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?h.EXPECT_SELECT_ARGUMENT_SELECTOR:h.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(h.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:r,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,r=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,r=10*r+(o-48),this.bump()}a=v(a,this.clonePosition());return i?Rn(r*=n)?{val:r,err:null}:this.error(t,a):this.error(e,a)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=zn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.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))},o.prototype.bumpIf=function(e){if(An(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.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)},o.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}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vn(this.char());)this.bump()},o.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Wn=o;function o(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 Yn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Zn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Wn(e,t).parse();if(e.err)throw(n=SyntaxError(h[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,dn(e)||un(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else sn(e)&&gn(e.style)||(ln(e)||cn(e))&&pn(e.style)?delete e.style.location:mn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:aa,a=t&&t.serializer?t.serializer:Qn;return(t&&t.strategy?t.strategy:function(e,t){return Xn(e,this,1===e.length?Kn:Jn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:a})}function Kn(e,t,n,a){var n=null==a||"number"==typeof a||"boolean"==typeof a?a:n(a),i=t.get(n);return void 0===i&&(i=e.call(this,a),t.set(n,i)),i}function Jn(e,t,n){var a=Array.prototype.slice.call(arguments,3),n=n(a),i=t.get(n);return void 0===i&&(i=e.apply(this,a),t.set(n,i)),i}function Xn(e,t,n,a,i){return n.bind(t,e,a,i)}var Qn=function(){return JSON.stringify(arguments)};function ea(){this.cache=Object.create(null)}ea.prototype.get=function(e){return this.cache[e]},ea.prototype.set=function(e,t){this.cache[e]=t};var ta,na,aa={create:function(){return new ea}},ia={variadic:function(e,t){return Xn(e,this,Jn,t.cache.create(),t.serializer)},monadic:function(e,t){return Xn(e,this,Kn,t.cache.create(),t.serializer)}};(na=ta=ta||{}).MISSING_VALUE="MISSING_VALUE",na.INVALID_VALUE="INVALID_VALUE",na.MISSING_INTL_API="MISSING_INTL_API";nn(ya,ca=Error),ya.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ra,oa,sa,la,ca,da=ya,ua=(nn(fa,la=da),fa),ma=(nn(ha,sa=da),ha),ga=(nn(pa,oa=da),pa);function pa(e,t){return oa.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ta.MISSING_VALUE,t)||this}function ha(e,t,n){return sa.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ta.INVALID_VALUE,n)||this}function fa(e,t,n,a){return la.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ta.INVALID_VALUE,a)||this}function ya(e,t,n){e=ca.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function va(e,t,n,a,i,r,o){if(1===e.length&&on(e[0]))return[{type:ra.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(on(d))s.push({type:ra.literal,value:d.value});else if(d.type===y.pound)"number"==typeof r&&s.push({type:ra.literal,value:n.getNumberFormat(t).format(r)});else{var u=d.value;if(!(i&&u in i))throw new ga(u,o);u=i[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?ra.literal:ra.object,value:u});else if(ln(d)){var m="string"==typeof d.style?a.date[d.style]:pn(d.style)?d.style.parsedOptions:void 0;s.push({type:ra.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(cn(d))m="string"==typeof d.style?a.time[d.style]:pn(d.style)?d.style.parsedOptions:a.time.medium,s.push({type:ra.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(sn(d))(m="string"==typeof d.style?a.number[d.style]:gn(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:ra.literal,value:n.getNumberFormat(t,m).format(u)});else{if(mn(d)){var g=d.children,p=d.value,h=i[p];if("function"!=typeof h)throw new ma(p,"function",o);p=h(va(g,t,n,a,i,r).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?ra.literal:ra.object,value:e}}))}if(dn(d)){if(!(f=d.options[u]||d.options.other))throw new ua(d.value,u,Object.keys(d.options),o);s.push.apply(s,va(f.value,t,n,a,i))}else if(un(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new da('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ta.MISSING_INTL_API,o);var h=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[h]||d.options.other}if(!f)throw new ua(d.value,u,Object.keys(d.options),o);s.push.apply(s,va(f.value,t,n,a,i,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===ra.literal&&t.type===ra.literal?n.value+=t.value:e.push(t),e},[])}function ba(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=ra=ra||{})[r.literal=0]="literal",r[r.object=1]="object";Object.defineProperty(xa,"defaultLocale",{get:function(){return xa.memoizedDefaultLocale||(xa.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),xa.memoizedDefaultLocale},enumerable:!1,configurable:!0}),xa.memoizedDefaultLocale=null,xa.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])},xa.__parse=Zn,xa.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 wa=xa;function xa(e,t,n,a){var i,r,o=this;if(void 0===t&&(t=xa.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ra.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return va(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=xa.resolveLocale(t),"string"==typeof e){if(this.message=e,!xa.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=xa.__parse(e,{ignoreTag:null==a?void 0:a.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=(i=xa.formats,(r=n)?Object.keys(i).reduce(function(e,t){var n,a;return e[t]=(n=i[t],(a=r[t])?f(f(f({},n||{}),a||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),a[t]||{}),e},{})):n),e},f({},i)):i),this.formatters=a&&a.formatters||{getNumberFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,rn([void 0],t,!1)))},{cache:ba((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ia.variadic}),getDateTimeFormat:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,rn([void 0],t,!1)))},{cache:ba(t.dateTime),strategy:ia.variadic}),getPluralRules:qn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,rn([void 0],t,!1)))},{cache:ba(t.pluralRules),strategy:ia.variadic})}}const $a={},Ca=(e,t,n)=>n&&(t in $a||($a[t]={}),e in $a[t]||($a[t][e]=n),n),ka=(t,n)=>{if(null!=n){if(n in $a&&t in $a[n])return $a[n][t];var a=Ha(n);for(let e=0;e<a.length;e++){var i=function(e,t){if(!Sa(e))return null;e=function(e){return Fa[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var a=n.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const n=a.slice(e,a.length).join(".");if(n in t){t=t[n];break}}t=t[a[e]]}else t=void 0;return t}}}(a[e],t);if(i)return Ca(t,n,i)}}};let Fa;const Ga=Ut({});function Sa(e){return e in Fa}function s(t,...n){delete $a[t],Ga.update(e=>(e[t]=en.all([e[t]||{},...n]),e))}Wt([Ga],([e])=>Object.keys(e)),Ga.subscribe(e=>Fa=e);const La={};function Ma(e){return La[e]}function Ia(e){return null!=e&&Ha(e).some(e=>{return null==(e=Ma(e))?void 0:e.size})}function Ea(a,e){return Promise.all(e.map(e=>{return t=a,n=e,La[t].delete(n),0===La[t].size&&delete La[t],e().then(e=>e.default||e);var t,n})).then(e=>s(a,...e))}const Ta={};const _a={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 Ra=Ut(!1);var Pa=Object.defineProperty,Ln=Object.defineProperties,Mn=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable,Ba=(e,t,n)=>t in e?Pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Oa;const za=Ut(null);function ja(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Ha(e,t=_a.fallbackLocale){e=ja(e);return t?[...new Set([...e,...ja(t)])]:e}function Ua(){return null!=Oa?Oa:void 0}za.subscribe(e=>{Oa=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const nt=Ln(((e,t)=>{for(var n in t=t||{})Na.call(t,n)&&Ba(e,n,t[n]);if(Da)for(var n of Da(t))Aa.call(t,n)&&Ba(e,n,t[n]);return e})({},za),Mn({set:t=>{if(t&&function(e){if(null!=e){var t=Ha(e);for(let e=0;e<t.length;e++){var n=t[e];if(Sa(n))return n}}}(t)&&Ia(t)){var n=_a["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ua()&&n?e=window.setTimeout(()=>Ra.set(!0),n):Ra.set(!0),function e(t){var n;return Ia(t)?(n=Ha(t).map(e=>{var t=Ma(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Ta[t]=Promise.all(n.map(([e,t])=>Ea(e,t))).then(()=>{if(Ia(t))return e(t);delete Ta[t]}),Ta[t]):t in Ta?Ta[t]:Promise.resolve()}(t).then(()=>{za.set(t)}).finally(()=>{clearTimeout(e),Ra.set(!1)})}return za.set(t)}}));var In=n=>{const a=Object.create(null);return e=>{var t=JSON.stringify(e);return t in a?a[t]:a[t]=n(e)}},Wa=Object.defineProperty,Ya=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,qa=(e,t,n)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ka=(e,t)=>{for(var n in t=t||{})Va.call(t,n)&&qa(e,n,t[n]);if(Ya)for(var n of Ya(t))Za.call(t,n)&&qa(e,n,t[n]);return e},Ja=(e,t)=>{var n={};for(a in e)Va.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&Ya)for(var a of Ya(e))t.indexOf(a)<0&&Za.call(e,a)&&(n[a]=e[a]);return n};const Xa=(e,t)=>{var n=_a["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Qa=In(e=>{var{locale:t,format:n}=e,e=Ja(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Xa("number",n)),new Intl.NumberFormat(t,e)}),ei=In(e=>{var{locale:t,format:n}=e,e=Ja(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Xa("date",n):0===Object.keys(e).length&&(e=Xa("date","short")),new Intl.DateTimeFormat(t,e)}),ti=In(e=>{var{locale:t,format:n}=e,e=Ja(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Xa("time",n):0===Object.keys(e).length&&(e=Xa("time","short")),new Intl.DateTimeFormat(t,e)}),ni=In((e,t=Ua())=>new wa(e,t,_a.formats,{ignoreTag:_a.ignoreTag})),ai=Wt([nt,Ga],()=>(e,t={})=>{var n,a;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:r,locale:o=Ua(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=ka(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!=(a=null!=(n=null==(n=(a=_a).handleMissingMessage)?void 0:n.call(a,{locale:o,id:e,defaultValue:s}))?n:s)?a:e;if(!r)return l;let c=l;try{c=ni(l,o).format(r)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),at=(Wt([nt],()=>(e,t)=>((e={})=>{var{locale:t=Ua()}=e,e=Ja(e,["locale"]);return ti(Ka({locale:t},e))})(t).format(e)),Wt([nt],()=>(e,t)=>((e={})=>{var{locale:t=Ua()}=e,e=Ja(e,["locale"]);return ei(Ka({locale:t},e))})(t).format(e)),Wt([nt],()=>(e,t)=>((e={})=>{var{locale:t=Ua()}=e,e=Ja(e,["locale"]);return Qa(Ka({locale:t},e))})(t).format(e)),Wt([nt,Ga],()=>(e,t=Ua())=>ka(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==zt.indexOf(e)&&(t=new Nt(t),jt[e]=t,zt.push(e)),jt[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))),it=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ii(e){var t=window.navigator.userAgent;return at(t)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})}function ri(a,i){return new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",i),je(a+"/v1/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function oi(e){nt.set(e)}function si(e,t){s(e,t)}const li={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};function ci(e,t){s(e,t)}const di={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function ui(e,t,n){e=e.slice();return e[50]=t[n],e[52]=n,e}function mi(e,t,n){e=e.slice();return e[53]=t[n],e}function gi(e,t,n){e=e.slice();return e[56]=t[n],e[58]=n,e}function pi(t){let a,i=[],n=new Map,r=t[9];const o=e=>e[50].id;for(let e=0;e<r.length;e+=1){var s=ui(t,r,e),l=o(s);n.set(l,i[e]=$i(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();a=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,a,n)},p(e,t){77775&t[0]&&(r=e[9],i=se(i,t,o,1,e,r,n,a.parentNode,oe,$i,a,ui))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(a)}}}function hi(e){let n,a,i=e[50].name+"";return{c(){n=ge("button"),a=pe(i),fe(n,"class","CategoryButton")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&i!==(i=e[50].name+"")&&ye(a,i)},d(e){e&&me(n)}}}function fi(e){let n,a,i,r=e[50].label+"";return{c(){n=ge("a"),a=pe(r),fe(n,"href",i=e[50].path)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&r!==(r=e[50].label+"")&&ye(a,r),512&t[0]&&i!==(i=e[50].path)&&fe(n,"href",i)},d(e){e&&me(n)}}}function yi(e){let n,a=0<e[10].length&&"true"==e[2]&&vi(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){0<e[10].length&&"true"==e[2]?a?a.p(e,t):((a=vi(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function vi(t){let i,r=t[10],o=[];for(let e=0;e<r.length;e+=1)o[e]=xi(mi(t,r,e));return{c(){i=ge("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","DropDown")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null)},p(t,n){if(10176&n[0]){let e;for(r=t[10],e=0;e<r.length;e+=1){var a=mi(t,r,e);o[e]?o[e].p(a,n):(o[e]=xi(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){e&&me(i),j(o,e)}}}function bi(n){let a,i,r,o,s,l,c,d=n[56]?.name+"";function u(...e){return n[32](n[50],n[52],n[56],n[58],...e)}return{c(){a=ge("li"),i=ge("a"),r=pe(d),s=he(),fe(i,"class",o="SubDropDown "+(n[52]!=n[6]||n[7]!=n[58]&&n[8]!=n[58]?"":"active"))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,s),l||(c=U(a,"click",u),l=!0)},p(e,t){n=e,1024&t[0]&&d!==(d=n[56]?.name+"")&&ye(r,d),1984&t[0]&&o!==(o="SubDropDown "+(n[52]!=n[6]||n[7]!=n[58]&&n[8]!=n[58]?"":"active"))&&fe(i,"class",o)},d(e){e&&me(a),l=!1,c()}}}function wi(e,n){let a,i,r=n[52]==n[53].index&&bi(n);return{key:e,first:null,c(){a=c(),r&&r.c(),i=c(),this.first=a},m(e,t){ue(e,a,t),r&&r.m(e,t),ue(e,i,t)},p(e,t){(n=e)[52]==n[53].index?r?r.p(n,t):((r=bi(n)).c(),r.m(i.parentNode,i)):r&&(r.d(1),r=null)},d(e){e&&me(a),r&&r.d(e),e&&me(i)}}}function xi(t){let a,i=[],n=new Map,r=t[53].items;const o=e=>e[56].id;for(let e=0;e<r.length;e+=1){var s=gi(t,r,e),l=o(s);n.set(l,i[e]=wi(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();a=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,a,n)},p(e,t){10176&t[0]&&(r=e[53].items,i=se(i,t,o,1,e,r,n,a.parentNode,oe,wi,a,gi))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&me(a)}}}function $i(e,n){let a,i,r,o,s,l,c,d,u,m,g;function p(e){return"headerMain"===e[0]?fi:hi}let h=p(n),f=h(n),y=1==n[11][n[52]]&&yi(n);function v(...e){return n[33](n[50],n[52],...e)}return{key:e,first:null,c(){a=ge("li"),i=ge("div"),r=ge("img"),l=he(),f.c(),c=he(),y&&y.c(),d=he(),fe(r,"class",o="CategoryIconImg "+("true"===n[3]?"":"DisplayNone")),ce(r.src,s=n[16](n[50]))||fe(r,"src",s),fe(i,"class","CategoryIcon"),fe(a,"class",u="CarouselItem "+(-1<n[1]?.toString().indexOf("$")?n[1]?.split("$").pop()==n[50].id.split("$").pop()?"active":"":n[1]==n[50].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu")),fe(a,"part","CarouselItem"),this.first=a},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,l),f.m(a,null),de(a,c),y&&y.m(a,null),de(a,d),m||(g=U(a,"click",v),m=!0)},p(e,t){n=e,8&t[0]&&o!==(o="CategoryIconImg "+("true"===n[3]?"":"DisplayNone"))&&fe(r,"class",o),512&t[0]&&!ce(r.src,s=n[16](n[50]))&&fe(r,"src",s),h===(h=p(n))&&f?f.p(n,t):(f.d(1),(f=h(n))&&(f.c(),f.m(a,c))),1==n[11][n[52]]?y?y.p(n,t):((y=yi(n)).c(),y.m(a,d)):y&&(y.d(1),y=null),515&t[0]&&u!==(u="CarouselItem "+(-1<n[1]?.toString().indexOf("$")?n[1]?.split("$").pop()==n[50].id.split("$").pop()?"active":"":n[1]==n[50].id?"active":"")+" "+("headerMain"==n[0]?"":"SecondaryMenu"))&&fe(a,"class",u)},d(e){e&&me(a),f.d(),y&&y.d(),m=!1,g()}}}function Ci(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v=0<n[9].length&&pi(n);return{c(){a=ge("div"),i=ge("div"),(r=ge("div")).innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" 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=he(),s=ge("div"),l=ge("ul"),(c=ge("li")).innerHTML='<a href="#CarouselNav">Close Subs</a>',d=he(),v&&v.c(),u=he(),(m=ge("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=A,fe(r,"class","CarouselLeftArrow"),fe(c,"class","TouchOnly"),fe(l,"id","CarouselNav"),fe(l,"class","CarouselItems"),fe(s,"class","CarouselNavWrap"),fe(m,"class","CarouselRightArrow"),fe(i,"class",g="CarouselContainer CarouselContainerMobile "+("headerMain"===n[0]?"CarouselContainerHeaderMain":"")),fe(i,"style",p="headerMain"===n[0]?"max-width: auto":void 0),fe(a,"class",h="CarouselWrapper "+("headerMain"===n[0]?"CarouselWrapperHeaderMain":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(s,l),de(l,c),de(l,d),v&&v.m(l,null),n[34](l),n[35](s),de(i,u),de(i,m),n[37](a),f||(y=[U(r,"click",n[31]),U(m,"click",n[36])],f=!0)},p(e,t){0<e[9].length?v?v.p(e,t):((v=pi(e)).c(),v.m(l,null)):v&&(v.d(1),v=null),1&t[0]&&g!==(g="CarouselContainer CarouselContainerMobile "+("headerMain"===e[0]?"CarouselContainerHeaderMain":""))&&fe(i,"class",g),1&t[0]&&p!==(p="headerMain"===e[0]?"max-width: auto":void 0)&&fe(i,"style",p),1&t[0]&&h!==(h="CarouselWrapper "+("headerMain"===e[0]?"CarouselWrapperHeaderMain":""))&&fe(a,"class",h)},i:A,o:A,d(e){e&&me(a),v&&v.d(),n[34](null),n[35](null),n[37](null),f=!1,z(y)}}}function ki(t,e,r){let{endpoint:o=""}=e,{datasource:s=""}=e,{onclickeventname:n="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:a="0"}=e,{location:c=""}=e,{clientstyling:i=""}=e,{clientstylingurl:d=""}=e,{identity:u=""}=e,{translationurl:m=""}=e,{isprimarymenu:g=!1}=e,{issecondarymenu:p=!1}=e,{lang:h=""}=e,{activeindex:f="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:v="false"}=e,{lobbyiconimage:b=""}=e,{mygamesiconimage:w=""}=e;var x,$;({withLocale:x,translations:$}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set($),nt.set(x))}),Object.keys(di).forEach(e=>{ci(e,di[e])});let C,k,F,G,S,D=window.navigator.userAgent;it(D);let L,M=[],I=[],E=[],T=(e,t,n,a,i)=>{e.subGroups&&null===a||(P(),r(6,k=t),r(6,k),"secondary"!=i?(window.postMessage({type:"CategoryChange"==l?"CategoryChange":"NavigateTo",buzz:"1",itemId:e.id,index:t,item:e,path:e.path,externalLink:e.externalLink||!1,target:(null==(i=e.attrs)?void 0:i.target)||null},window.location.href),r(7,F=null),r(8,G=null)):(r(7,F=a),r(7,F),r(8,G=F),window.postMessage({type:l,itemId:n.id,subIndex:a,subItem:n},window.location.href)))},_=()=>{L.scrollBy({left:-250,behavior:"smooth"})},R=()=>{L.scrollBy({left:250,behavior:"smooth"})};const N=e=>{"SliderData"==e.data.type&&e.data.identity==u&&(r(9,M=e.data.data),r(11,E=new Array(M.length).fill(!1)),"true"==y)&&M.forEach((e,t)=>{var a,i,n;0<(null==(n=null==e?void 0:e.subGroups)?void 0:n.count)&&(r(11,E[t]=!0,E),a=e,i=t,"secondaryMenu"==c&&o&&s&&h&&a.id&&(n=new URL(`${o}/v1/casino/groups/${s}/${a.id}/subGroups?language=`+h),fetch(n.href).then(e=>e.json()).then(e=>{e.index=i,r(10,I=I.concat(e)),"false"==y&&window.postMessage({type:l,itemId:a.id,index:i,item:a},window.location.href);const n=[];I.map(e=>(e.items.forEach(t=>{n.find(e=>t.id==e)||n.push(t.id)}),n.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:n},window.location.href)}).then(()=>{C.querySelectorAll(".DropDown")&&P()})),"headerMain"==c)&&window.postMessage({type:l,item:a},window.location.href)}),"GoToHomepage"==e.data.type&&M.forEach((e,t)=>{e.path.endsWith("/casino")&&(r(6,k=t),r(6,k))})},P=()=>{var t=C.querySelectorAll(".DropDown");document.activeElement.blur(),L.classList.add("isScrolling");for(let e=0;e<t.length;e++)t[e].style.transform="translateX(-"+L.scrollLeft+"px)";L.classList.remove("isScrolling")};return et(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",N,!1),setTimeout(()=>{L.addEventListener("scroll",P)},500),()=>{window.removeEventListener("message",N),C.removeEventListener("scroll",P)})),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,a=e.favoritesnumber),"location"in e&&r(0,c=e.location),"clientstyling"in e&&r(22,i=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),"isprimarymenu"in e&&r(26,g=e.isprimarymenu),"issecondarymenu"in e&&r(27,p=e.issecondarymenu),"lang"in e&&r(28,h=e.lang),"activeindex"in e&&r(1,f=e.activeindex),"showsubgroups"in e&&r(2,y=e.showsubgroups),"categoriesicon"in e&&r(3,v=e.categoriesicon),"lobbyiconimage"in e&&r(29,b=e.lobbyiconimage),"mygamesiconimage"in e&&r(30,w=e.mygamesiconimage)},t.$$.update=()=>{if(t.$$.dirty[0],33554432&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ci(e,t[e])})}).catch(e=>{console.log(e)}),4194320&t.$$.dirty[0]&&i&&S&&((e=document.createElement("style")).innerHTML=i,S.appendChild(e)),8388624&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]&&h&&(e=h,nt.set(e))},[c,f,y,v,S,C,k,F,G,M,I,E,L,T,_,R,e=>{let t="";return"LOBBY"===e.id?t=b:"MYGAMES"===e.id&&(t=w),e.icon||t},o,s,n,l,a,i,d,u,m,g,p,h,b,w,()=>_(),(e,t,n,a,i)=>{T(e,t,n,a,"secondary"),i.stopPropagation()},(e,t,n)=>{T(e,t,null,null,"main"),n.preventDefault()},function(e){tt[e?"unshift":"push"](()=>{C=e,r(5,C)})},function(e){tt[e?"unshift":"push"](()=>{L=e,r(12,L)})},()=>R(),function(e){tt[e?"unshift":"push"](()=>{S=e,r(4,S)})}]}function Fi(n){let a,i,r,o;return{c(){a=ge("div"),G(i=ge("casino-slider"),"lang",n[3]),G(i,"datasource",n[2]),G(i,"endpoint",n[1]),G(i,"identity",Mi),G(i,"favoritesnumber",n[15]),G(i,"showsubgroups",n[8]),G(i,"clientstyling",n[4]),G(i,"clientstylingurl",n[5]),G(i,"activeindex",n[0]),G(i,"actionevent",n[6]),G(i,"location",n[7]),G(i,"categoriesicon",n[9]),G(i,"lobbyiconimage",n[10]),G(i,"mygamesiconimage",n[11]),fe(a,"class","CasinoCategoriesContainer"),fe(a,"part","CasinoCategoriesContainer")},m(e,t){ue(e,a,t),de(a,i),r||(o=M(n[16].call(null,i)),r=!0)},p(e,t){8&t[0]&&G(i,"lang",e[3]),4&t[0]&&G(i,"datasource",e[2]),2&t[0]&&G(i,"endpoint",e[1]),32768&t[0]&&G(i,"favoritesnumber",e[15]),256&t[0]&&G(i,"showsubgroups",e[8]),16&t[0]&&G(i,"clientstyling",e[4]),32&t[0]&&G(i,"clientstylingurl",e[5]),1&t[0]&&G(i,"activeindex",e[0]),64&t[0]&&G(i,"actionevent",e[6]),128&t[0]&&G(i,"location",e[7]),512&t[0]&&G(i,"categoriesicon",e[9]),1024&t[0]&&G(i,"lobbyiconimage",e[10]),2048&t[0]&&G(i,"mygamesiconimage",e[11])},d(e){e&&me(a),r=!1,o()}}}function Gi(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Si(e){let n;return{c(){fe(n=ge("div"),"class","CasinoCategoriesLoading")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Li(n){let a;function i(e){return e[12]?Si:e[14]?Gi:Fi}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A},m(e,t){ue(e,a,t),o.m(a,null),n[26](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[26](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.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-categories-contrast, var(--emfe-w-color-background, #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}.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:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.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;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, 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-categories-contrast, var(--emfe-w-color-background, #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-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, 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-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, 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-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.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-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, 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-header-typography, 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}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ki,Ci,n,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","translationurl","isprimarymenu","issecondarymenu","lang","activeindex","showsubgroups","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),m()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),m()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),m()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),m()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),m()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),m()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),m()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),m()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),m()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),m()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),m()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});let Mi="CasinoSliderData";function Ii(n,e,i){let a;rt(n,ai,e=>i(32,a=e));let r,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{userid:t=""}=e,{session:m=""}=e,{mostplayed:g=""}=e,{lastplayed:p="false"}=e,{favorites:h=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{activecategory:v=""}=e,{actionevent:b=""}=e,{sessioncheck:w=""}=e,{location:x="secondaryMenu"}=e,{showsubgroups:$="false"}=e,{filteredcategories:C=""}=e,{translationurl:k=""}=e,{categoriesicon:F=""}=e,{lobbyiconimage:G=""}=e,{mygamesiconimage:S=""}=e,L=!0,M=[],I=!1,E=window.navigator.userAgent,T=!1,_=!1;Object.keys(li).forEach(e=>{si(e,li[e])});const R=()=>{window.postMessage({type:"SliderData",identity:Mi,data:M},window.location.href)};return n.$$set=e=>{"endpoint"in e&&i(1,c=e.endpoint),"datasource"in e&&i(2,d=e.datasource),"lang"in e&&i(3,u=e.lang),"userid"in e&&i(17,t=e.userid),"session"in e&&i(18,m=e.session),"mostplayed"in e&&i(19,g=e.mostplayed),"lastplayed"in e&&i(20,p=e.lastplayed),"favorites"in e&&i(21,h=e.favorites),"clientstyling"in e&&i(4,f=e.clientstyling),"clientstylingurl"in e&&i(5,y=e.clientstylingurl),"activecategory"in e&&i(0,v=e.activecategory),"actionevent"in e&&i(6,b=e.actionevent),"sessioncheck"in e&&i(22,w=e.sessioncheck),"location"in e&&i(7,x=e.location),"showsubgroups"in e&&i(8,$=e.showsubgroups),"filteredcategories"in e&&i(23,C=e.filteredcategories),"translationurl"in e&&i(24,k=e.translationurl),"categoriesicon"in e&&i(9,F=e.categoriesicon),"lobbyiconimage"in e&&i(10,G=e.lobbyiconimage),"mygamesiconimage"in e&&i(11,S=e.mygamesiconimage)},n.$$.update=()=>{if(14&n.$$.dirty[0]&&c&&d&&u&&(r=a("myGamesName"),o=a("lobbyName"),c||(s="Endpoint is missing! Please provide a valid endpointURL.",i(14,I=!0),i(12,L=!1),console.error(s)),d||(s="Datasource is missing! Please provide a valid datasource.",i(14,I=!0),i(12,L=!1),console.error(s)),(!u||u.length<2)&&(s="Language is missing! Please provide a valid language (alpha2code)",i(14,I=!0),i(12,L=!1),console.error(s)),I||((t=new URL(c+"/v1/casino/groups/"+d)).searchParams.append("datasource",d),t.searchParams.append("language",u),t.searchParams.append("platform",it(E)),fetch(t).then(e=>e.json()).then(e=>{let a=C.split(","),t=e.items.filter(e=>{let t=!1;if(0<e.games.total&&(t=!0,C))for(var n of a)e.flags==n&&(t=!1);return t});(M=(M=[]).concat(t)).unshift({id:"LOBBY",name:o,href:"",games:[]}),i(12,L=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{i(14,I=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{i(14,I=!0),console.error("There was an error while fetching the categories",e)}))),3936258&n.$$.dirty[0]&&c&&m&&(g||p||h)&&!L&&(0!=T||"true"!=h&&"true"!=g&&"true"!=p||M.splice(1,0,{id:"MYGAMES",name:r,href:"",games:[]}),Fe(),T=!0,i(25,_=!0),R()),33820673&n.$$.dirty[0]&&!L&&v&&(!m||_)&&(t=v.split("$"),i(0,v=2<t.length?v.split("$").slice(0,2).join("$"):v)),8208&n.$$.dirty[0]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),16777216&n.$$.dirty[0]&&k&&fetch(k).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{si(e,t[e])})}).catch(e=>{console.log(e)}),8224&n.$$.dirty[0]&&y&&l){let t=document.createElement("style"),e=new URL(y);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e,t},i(15,0),[v,c,d,u,f,y,b,x,$,F,G,S,L,l,I,0,R,t,m,g,p,h,w,C,k,_,function(e){tt[e?"unshift":"push"](()=>{l=e,i(13,l)})}]}function Ei(e,t){s(e,t)}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoCategoriesLoading{height:52px}p{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ii,Li,n,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","lastplayed","favorites","clientstyling","clientstylingurl","activecategory","actionevent","sessioncheck","location","showsubgroups","filteredcategories","translationurl","categoriesicon","lobbyiconimage","mygamesiconimage"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),m()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),m()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),m()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),m()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}});const Ti={en:{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",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除"},de:{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",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen"},it:{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ò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera"},fr:{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",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair"},es:{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",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный"},ro:{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",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto"},hu:{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",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás"},pl:{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",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć"},pt:{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",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar"},sl:{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",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev"},sr:{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",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar"}};function _i(e,t){s(e,t)}const Ri={en:{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-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",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:{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:{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:{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:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",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.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{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:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{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:{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:{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:{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:{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."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};Di=Pi={path:void 0,exports:{},require:function(e,t){return En(null==t&&Pi.path)}},Pi.exports,Di.exports=function(){var D;function p(){return D.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function N(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function h(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(h(e,t))return;return 1}function s(e){return void 0===e}function B(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 z(e,t){for(var n=[],a=e.length,i=0;i<a;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)h(t,n)&&(e[n]=t[n]);return h(t,"toString")&&(e.toString=t.toString),h(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,a){return Et(e,t,n,a,!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 H(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 U(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,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1},Y=p.momentProperties=[],V=!1;function Z(e,t){var n,a,i,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(i=t[a=Y[n]])||(e[a]=i);return e}function q(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,p.updateOffset(this),V=!1)}function l(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function K(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(r,o){var s=!0;return j(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,r),s){for(var e,t,n=[],a=arguments.length,i=0;i<a;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])h(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];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 J={};function X(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),J[e]||(K(t),J[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,a=j({},e);for(n in t)h(t,n)&&(N(e[n])&&N(t[n])?(a[n]={},j(a[n],e[n]),j(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)h(e,n)&&!h(t,n)&&N(e[n])&&(a[n]=j({},a[n]));return a}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)h(e,t)&&n.push(t);return n};function r(e,t,n){var a=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-a.length)).toString().substr(1)+a}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,ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},re={};function a(e,t,n,a){var i="string"==typeof a?function(){return this[a]()}:a;e&&(re[e]=i),t&&(re[t[0]]=function(){return r(i.apply(this,arguments),t[1],t[2])}),n&&(re[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ie[t]=ie[t]||function(a){for(var e,i=a.match(ne),t=0,r=i.length;t<r;t++)re[i[t]]?i[t]=re[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=d(i[n])?i[n].call(e,a):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(ae.lastIndex=0;0<=n&&ae.test(e);)e=e.replace(ae,a),ae.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,a={};for(n in e)h(e,n)&&(t=u(n))&&(a[t]=e[n]);return a}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 g(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?(pe(this,t,e),p.updateOffset(this,n),this):ge(this,t)}}function ge(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=g(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Re(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,he=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,$e=/[+-]?\d{1,6}/,Ce=/\d+/,ke=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,Ge=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[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,a){Le[e]=d(n)?n:function(e,t){return e&&a?a:n}}function Se(e,t){return h(Le,e)?Le[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,i){return t||n||a||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Le={},Me={};function $(e,n){var t,a,i=n;for("string"==typeof e&&(e=[e]),B(n)&&(i=function(e,t){t[n]=g(e)}),a=e.length,t=0;t<a;t++)Me[e[t]]=i}function Ie(e,i){$(e,function(e,t,n,a){n._w=n._w||{},i(e,n._w,n,a)})}var C,k=0,F=1,G=2,S=3,L=4,M=5,Ee=6,Te=7,_e=8;function Re(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,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},a("M",["MM",2],"Mo",function(){return this.month()+1}),a("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),a("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),$(["M","MM"],function(e,t){t[F]=g(e)-1}),$(["MMM","MMMM"],function(e,t,n,a){a=n._locale.monthsParse(e,a,n._strict);null!=a?t[F]=a:f(n).invalidMonth=e});var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ne=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=b,Be=b;function Oe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(!B(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function ze(e){return null!=e?(Oe(this,e),p.updateOffset(this,!0),this):ge(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],a=[],i=[],r=0;r<12;r++)t=c([2e3,r]),n.push(this.monthsShort(t,"")),a.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),a.sort(e),i.sort(e),r=0;r<12;r++)n[r]=x(n[r]),a[r]=x(a[r]);for(r=0;r<24;r++)i[r]=x(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function He(e){return ue(e)?366:365}a("Y",0,0,function(){var e=this.year();return e<=9999?r(e,4):"+"+e}),a(0,["YY",2],0,function(){return this.year()%100}),a(0,["YYYY",4],0,"year"),a(0,["YYYYY",5],0,"year"),a(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",ke),w("YY",v,y),w("YYYY",xe,fe),w("YYYYY",$e,ye),w("YYYYYY",$e,ye),$(["YYYYY","YYYYYY"],k),$("YYYY",function(e,t){t[k]=2===e.length?p.parseTwoDigitYear(e):g(e)}),$("YY",function(e,t){t[k]=p.parseTwoDigitYear(e)}),$("Y",function(e,t){t[k]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return g(e)+(68<g(e)?1900:2e3)};var Ue=me("FullYear",!0);function We(e,t,n,a,i,r,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,a,i,r,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,a,i,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,a,i){var r,t=1+7*(t-1)+(7+n-a)%7+Ve(e,a,i),n=t<=0?He(r=e-1)+t:t>He(e)?(r=e+1,t-He(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var a,i,r=Ve(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?a=r+I(i=e.year()-1,t,n):r>I(e.year(),t,n)?(a=r-I(e.year(),t,n),i=e.year()+1):(i=e.year(),a=r),{week:a,year:i}}function I(e,t,n){var a=Ve(e,t,n),t=Ve(e+1,t,n);return(He(e)-a+t)/7}a("w",["ww",2],"wo","week"),a("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Ie(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=g(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}a("d",0,"do","day"),a("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),a("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),a("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),a("e",0,0,"weekday"),a("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",v),w("e",v),w("E",v),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)}),Ie(["dd","ddd","dddd"],function(e,t,n,a){a=n._locale.weekdaysParse(e,a,n._strict);null!=a?t.d=a:f(n).invalidWeekday=e}),Ie(["d","e","E"],function(e,t,n,a){t[a]=g(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,nt=b;function at(){function e(e,t){return t.length-e.length}for(var t,n,a,i=[],r=[],o=[],s=[],l=0;l<7;l++)a=c([2e3,1]).day(l),t=x(this.weekdaysMin(a,"")),n=x(this.weekdaysShort(a,"")),a=x(this.weekdays(a,"")),i.push(t),r.push(n),o.push(a),s.push(t),s.push(n),s.push(a);i.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("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function rt(e,t){a(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}a("H",["HH",2],0,"hour"),a("h",["hh",2],0,it),a("k",["kk",2],0,function(){return this.hours()||24}),a("hmm",0,0,function(){return""+it.apply(this)+r(this.minutes(),2)}),a("hmmss",0,0,function(){return""+it.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),a("Hmm",0,0,function(){return""+this.hours()+r(this.minutes(),2)}),a("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",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),$(["H","HH"],S),$(["k","kk"],function(e,t,n){e=g(e);t[S]=24===e?0:e}),$(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$(["h","hh"],function(e,t,n){t[S]=g(e),f(n).bigHour=!0}),$("hmm",function(e,t,n){var a=e.length-2;t[S]=g(e.substr(0,a)),t[L]=g(e.substr(a)),f(n).bigHour=!0}),$("hmmss",function(e,t,n){var a=e.length-4,i=e.length-2;t[S]=g(e.substr(0,a)),t[L]=g(e.substr(a,2)),t[M]=g(e.substr(i)),f(n).bigHour=!0}),$("Hmm",function(e,t,n){var a=e.length-2;t[S]=g(e.substr(0,a)),t[L]=g(e.substr(a))}),$("Hmmss",function(e,t,n){var a=e.length-4,i=e.length-2;t[S]=g(e.substr(0,a)),t[L]=g(e.substr(a,2)),t[M]=g(e.substr(i))});b=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:Pe,monthsShort:De,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},E={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,a,i,r=0;r<e.length;){for(t=(i=dt(e[r]).split("-")).length,n=(n=dt(e[r+1]))?n.split("-"):null;0<t;){if(a=mt(i.slice(0,t).join("-")))return a;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),a=0;a<n;a+=1)if(e[a]!==t[a])return a;return n}(i,n)>=t-1)break;t--}r++}return st}function mt(t){var e;if(void 0===E[t]&&Di&&Di.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,En(),gt(e)}catch(e){E[t]=null}return E[t]}function gt(e,t){return e&&((t=s(t)?T(e):pt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function pt(e,t){if(null===t)return delete E[e],null;var n,a=lt;if(t.abbr=e,null!=E[e])X("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."),a=E[e]._config;else if(null!=t.parentLocale)if(null!=E[t.parentLocale])a=E[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;a=n._config}return E[e]=new ee(Q(a,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),gt(e),E[e]}function T(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 ht(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[G]<1||t[G]>Re(t[k],t[F])?G:t[S]<0||24<t[S]||24===t[S]&&(0!==t[L]||0!==t[M]||0!==t[Ee])?S:t[L]<0||59<t[L]?L:t[M]<0||59<t[M]?M:t[Ee]<0||999<t[Ee]?Ee:-1,f(e)._overflowDayOfYear&&(t<k||G<t)&&(t=G),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=_e),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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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/]],xt=/^\/?Date\((-?\d+)/i,$t=/^(?:(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,a,i,r,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=bt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(bt[t][1].exec(l[1])){i=bt[t][0],a=!1!==bt[t][2];break}if(null==i)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(!a&&null!=r)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(r||"")+(o||""),Mt(e)}else e._isValid=!1}function Ft(e,t,n,a,i,r){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(i,10)];return r&&e.push(parseInt(r,10)),e}function Gt(e){var t,n,a,i,r=$t.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Ft(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],a=t,i=e,n&&Xe.indexOf(n)!==new Date(a[0],a[1],a[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=r[8],a=r[9],i=r[10],n?Ct[n]:a?0:((n=parseInt(i,10))-(a=n%100))/100*60+a),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function St(e,t,n){return null!=e?e:null!=t?t:n}function Lt(e){var t,n,a,i,r,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(p.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[G]&&null==e._a[F]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,a=St(u.GG,d._a[k],qe(_(),1,4).year),i=St(u.W,1),((r=St(u.E,1))<1||7<r)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=qe(_(),o,s),a=St(u.gg,d._a[k],c.year),i=St(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),i<1||i>I(a,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(a,i,r,o,s),d._a[k]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=St(e._a[k],n[k]),(e._dayOfYear>He(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(u,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[G]=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[S]&&0===e._a[L]&&0===e._a[M]&&0===e._a[Ee]&&(e._nextDay=!0,e._a[S]=0),e._d=(e._useUTC?Ye:We).apply(null,m),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[S]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(f(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,a,i=""+e._i,r=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)a=n[l],(t=(i.match(Se(a,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),o+=t.length),re[a]?(t?f(e).empty=!1:f(e).unusedTokens.push(a),u=a,g=e,null!=(m=t)&&h(Me,u)&&Me[u](m,g._a,g,u)):e._strict&&!t&&f(e).unusedTokens.push(a);f(e).charsLeftOver=r-o,0<i.length&&f(e).unusedInput.push(i),e._a[S]<=12&&!0===f(e).bigHour&&0<e._a[S]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[S]=(r=e._locale,c=e._a[S],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])),Lt(e),ht(e)}else Gt(e);else kt(e);var c,d,u,m,g}function It(e){var t,n=e._i,a=e._f;{var i,r;return(e._locale=e._locale||T(e._l),null===n||void 0===a&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new q(ht(n)):(O(n)?e._d=n:o(a)?function(e){var t,n,a,i,r,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)r=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Mt(t),H(t)&&(o=!0),r=(r+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=r,s?r<a&&(a=r,n=t):(null==a||r<a||o)&&(a=r,n=t,o)&&(s=!0);j(e,n||t)}(e):a?Mt(e):s(a=(n=e)._i)?n._d=new Date(p.now()):O(a)?n._d=new Date(a.valueOf()):"string"==typeof a?(i=n,null===(r=xt.exec(i._i))?(kt(i),!1===i._isValid&&(delete i._isValid,Gt(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:p.createFromInputFallback(i))):i._d=new Date(+r[1])):o(a)?(n._a=z(a.slice(0),function(e){return parseInt(e,10)}),Lt(n)):N(a)?(i=n)._d||(t=void 0===(r=ce(i._i)).day?r.date:r.day,i._a=z([r.year,r.month,t,r.hour,r.minute,r.second,r.millisecond],function(e){return e&&parseInt(e,10)}),Lt(i)):B(a)?n._d=new Date(a):p.createFromInputFallback(n),H(e)||(e._d=null),e))}}function Et(e,t,n,a,i){var r={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(N(e)&&A(e)||o(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=a,(i=new q(ht(It(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function _(e,t,n,a){return Et(e,t,n,a,!1)}p.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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Tt(e,t){var n,a;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return _();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}var _t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,a=e.month||0,i=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,a=!1,i=_t.length;for(t in e)if(h(e,t)&&(-1===C.call(_t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[_t[n]]){if(a)return!1;parseFloat(e[_t[n]])!==g(e[_t[n]])&&(a=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+r+7*i,this._months=+a+3*n+12*t,this._data={},this._locale=T(),this._bubble()}function Pt(e){return e instanceof Rt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,n){a(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)})}Nt("Z",":"),Nt("ZZ",""),w("Z",Ge),w("ZZ",Ge),$(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(Ge,e)});var At=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(At)||["-",0,0])[1]+g(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:_(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):_(e).local()}function zt(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Ht=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function R(e,t){var n,a,i=e;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:B(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=Ht.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:g(t[G])*n,h:g(t[S])*n,m:g(t[L])*n,s:g(t[M])*n,ms:g(Dt(1e3*t[Ee]))*n}):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,i={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=_(i.from),n=_(i.to),t=t.isValid()&&n.isValid()?(n=Ot(n,t),t.isBefore(n)?a=Yt(t,n):((a=Yt(n,t)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),a=new Rt(i),Pt(e)&&h(e,"_locale")&&(a._locale=e._locale),Pt(e)&&h(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(a,i){return function(e,t){var n;return null===t||isNaN(+t)||(X(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,R(e,t),a),this}}function Zt(e,t,n,a){var i=t._milliseconds,r=Dt(t._days),t=Dt(t._months);e.isValid()&&(a=null==a||a,t&&Oe(e,ge(e,"Month")+t*n),r&&pe(e,"Date",ge(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),a)&&p.updateOffset(e,r||t)}R.fn=Rt.prototype,R.invalid=function(){return R(NaN)};Pe=Vt(1,"add"),Je=Vt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||O(e)||qt(e)||B(e)||(n=o(t=e),a=!1,n&&(a=0===t.filter(function(e){return!B(e)&&qt(t)}).length),n&&a)||function(e){var t,n,a=N(e)&&!A(e),i=!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],i=i||h(e,n);return a&&i}(e)||null==e;var t,n,a}function Jt(e,t){var n,a;return e.date()<t.date()?-Jt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(a=e.clone().add(n,"months"))<0?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(1+n,"months")-a)))||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=T(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.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=[],a=[],i=this.eras(),r=0,o=i.length;r<o;++r)t.push(x(i[r].name)),e.push(x(i[r].abbr)),n.push(x(i[r].narrow)),a.push(x(i[r].name)),a.push(x(i[r].abbr)),a.push(x(i[r].narrow));this._erasRegex=new RegExp("^("+a.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){a(0,[e,e.length],0,t)}function ln(e,t,n,a,i){var r;return null==e?qe(this,a,i).year:(t>(r=I(e,a,i))&&(t=r),function(e,t,n,a,i){e=Ze(e,t,n,a,i),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,a,i))}a("N",0,0,"eraAbbr"),a("NN",0,0,"eraAbbr"),a("NNN",0,0,"eraAbbr"),a("NNNN",0,0,"eraName"),a("NNNNN",0,0,"eraNarrow"),a("y",["y",1],"yo","eraYear"),a("y",["yy",2],0,"eraYear"),a("y",["yyy",3],0,"eraYear"),a("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)}),$(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,a){a=n._locale.erasParse(e,a,n._strict);a?f(n).era=a: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}),$(["y","yy","yyy","yyyy"],k),$(["yo"],function(e,t,n,a){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,i):t[k]=parseInt(e,10)}),a(0,["gg",2],0,function(){return this.weekYear()%100}),a(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",v,y),w("gg",v,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",$e,ye),w("ggggg",$e,ye),Ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=g(e)}),Ie(["gg","GG"],function(e,t,n,a){t[a]=p.parseTwoDigitYear(e)}),a("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),$("Q",function(e,t){t[F]=3*(g(e)-1)}),a("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),$(["D","DD"],G),$("Do",function(e,t){t[G]=g(e.match(v)[0])});xe=me("Date",!0);a("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",he),$(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),a("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",v),w("mm",v,y),$(["m","mm"],L);fe=me("Minutes",!1);a("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",v),w("ss",v,y),$(["s","ss"],M);var cn,$e=me("Seconds",!1);for(a("S",0,0,function(){return~~(this.millisecond()/100)}),a(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),a(0,["SSS",3],0,"millisecond"),a(0,["SSSS",4],0,function(){return 10*this.millisecond()}),a(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),a(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),a(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),a(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),a(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,i),w("SS",we,y),w("SSS",we,he),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function dn(e,t){t[Ee]=g(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")$(cn,dn);ye=me("Milliseconds",!1),a("z",0,0,"zoneAbbr"),a("zz",0,0,"zoneName");i=q.prototype;function un(e){return e}i.add=Pe,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=N(e)&&!A(e),n=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<a.length;i+=1)n=n||h(e,a[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||_(),n=Ot(e,this).startOf("day"),n=p.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,_(e)))},i.clone=function(){return new q(this)},i.diff=function(e,t,n){var a,i,r;if(!this.isValid())return NaN;if(!(a=Ot(e,this)).isValid())return NaN;switch(i=6e4*(a.utcOffset()-this.utcOffset()),t=u(t)){case"year":r=Jt(this,a)/12;break;case"month":r=Jt(this,a);break;case"quarter":r=Jt(this,a)/3;break;case"second":r=(this-a)/1e3;break;case"minute":r=(this-a)/6e4;break;case"hour":r=(this-a)/36e5;break;case"day":r=(this-a-i)/864e5;break;case"week":r=(this-a-i)/6048e5;break;default:r=this-a}return n?r:m(r)},i.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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}this._d.setTime(t),p.updateOffset(this,!0)}return this},i.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?R({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(_(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||_(e).isValid())?R({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(_(),e)},i.get=function(e){return d(this[e=u(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:_(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,a){return e=l(e)?e:_(e),t=l(t)?t:_(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(a=a||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:_(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()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return H(this)},i.lang=Qe,i.locale=Xt,i.localeData=Qt,i.max=be,i.min=ve,i.parsingFlags=function(){return j({},f(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)h(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),a=n.length,i=0;i<a;i++)this[n[i].unit](e[n[i].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){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)}this._d.setTime(t),p.updateOffset(this,!0)}return this},i.subtract=Je,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).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"):null},i.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",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+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++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""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++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""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++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""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),a=0,i=n.length;a<i;++a)if(e=n[a].since<=n[a].until?1:-1,t=this.clone().startOf("day").valueOf(),n[a].since<=t&&t<=n[a].until||n[a].until<=t&&t<=n[a].since)return(this.year()-p(n[a].since).year())*e+n[a].offset;return this.year()},i.year=Ue,i.isLeapYear=function(){return ue(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=ze,i.daysInMonth=function(){return Re(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return I(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return I(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return I(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return I(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.days=function(e){var t,n,a;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,a=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=a.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},i.isoWeekday=function(e){var t,n;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},i.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")},i.hour=i.hours=b,i.minute=i.minutes=fe,i.second=i.seconds=$e,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var a,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:zt(this);if("string"==typeof e){if(null===(e=Bt(Ge,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=zt(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,R(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(zt(this),"m"),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=jt,i.isUTC=jt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",xe),i.months=e("months accessor is deprecated. Use month instead",ze),i.years=e("years accessor is deprecated. Use year instead",Ue),i.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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=It(t))._a?(e=(t._isUTC?c:_)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,o=0;o<a;o++)(n&&e[o]!==t[o]||!n&&g(e[o])!==g(t[o]))&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function mn(e,t,n,a){var i=T(),a=c().set(a,t);return i[n](a,e)}function gn(e,t,n){if(B(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");for(var a=[],i=0;i<12;i++)a[i]=mn(e,i,n,"month");return a}function pn(e,t,n,a){t=("boolean"==typeof e||(n=t=e,e=!1),B(t)&&(n=t,t=void 0),t||"");var i,r=T(),o=e?r._week.dow:0,s=[];if(null!=n)return mn(t,(n+o)%7,a,"day");for(i=0;i<7;i++)s[i]=mn(t,(i+o)%7,a,"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,a){var i=this._relativeTime[n];return d(i)?i(e,t,n,a):i.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)h(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,a=this._eras||T("en")._eras,i=0,r=a.length;i<r;++i)switch("string"==typeof a[i].since&&(n=p(a[i].since).startOf("day"),a[i].since=n.valueOf()),typeof a[i].until){case"undefined":a[i].until=1/0;break;case"string":n=p(a[i].until).startOf("day").valueOf(),a[i].until=n.valueOf()}return a},y.erasParse=function(e,t,n){var a,i,r,o,s,l=this.eras();for(e=e.toUpperCase(),a=0,i=l.length;a<i;++a)if(r=l[a].name.toUpperCase(),o=l[a].abbr.toUpperCase(),s=l[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[a];break;case"NNNN":if(r===e)return l[a];break;case"NNNNN":if(s===e)return l[a]}else if(0<=[r,o,s].indexOf(e))return l[a]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return h(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return h(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return h(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||Ne).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[Ne.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var a,i;if(this._monthsParseExact)return function(e,t,n){var a,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)r=c([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=C.call(this._shortMonthsParse,e))?i:null:-1!==(i=C.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=C.call(this._shortMonthsParse,e))||-1!==(i=C.call(this._longMonthsParse,e))?i:null:-1!==(i=C.call(this._longMonthsParse,e))||-1!==(i=C.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(i=c([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[a]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}},y.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return qe(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 a,i;if(this._weekdaysParseExact)return function(e,t,n){var a,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)r=c([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=C.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=C.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._shortWeekdaysParse,e))||-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=C.call(this._shortWeekdaysParse,e))||-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._minWeekdaysParse,e))?i:null:-1!==(i=C.call(this._minWeekdaysParse,e))||-1!==(i=C.call(this._weekdaysParse,e))||-1!==(i=C.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(i=c([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[a]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||at.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||at.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||at.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(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"},gt("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===g(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",gt),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",T);var hn=Math.abs;function fn(e,t,n,a){t=R(t,n);return e._milliseconds+=a*t._milliseconds,e._days+=a*t._days,e._months+=a*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),he=wn("s"),Pe=wn("m"),be=wn("h"),ve=wn("d"),Je=wn("w"),b=wn("M"),fe=wn("Q"),$e=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),Ue=xn("minutes"),y=xn("hours"),$n=xn("days"),Cn=xn("months"),kn=xn("years");var Fn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sn(e,t,n,a){var i=R(e).abs(),r=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),d=Fn(i.as("w")),i=Fn(i.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])||(i<=1?["y"]:["yy",i]))[2]=t,r[3]=0<+e,r[4]=a,function(e,t,n,a,i){return i.relativeTime(t||1,!!n,e,a)}.apply(null,r)}var Ln=Math.abs;function Mn(e){return(0<e)-(e<0)||+e}function In(){var e,t,n,a,i,r,o,s,l,c,d;return this.isValid()?(s=Ln(this._milliseconds)/1e3,l=Ln(this._days),c=Ln(this._months),(d=this.asSeconds())?(e=m(s/60),t=m(e/60),s%=60,e%=60,n=m(c/12),c%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Mn(this._months)!==Mn(d)?"-":"",r=Mn(this._days)!==Mn(d)?"-":"",o=Mn(this._milliseconds)!==Mn(d)?"-":"",(d<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?r+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+a+"S":"")):"P0D"):this.localeData().invalidDate()}var P=Rt.prototype;return P.isValid=function(){return this._isValid},P.abs=function(){var e=this._data;return this._milliseconds=hn(this._milliseconds),this._days=hn(this._days),this._months=hn(this._months),e.milliseconds=hn(e.milliseconds),e.seconds=hn(e.seconds),e.minutes=hn(e.minutes),e.hours=hn(e.hours),e.months=hn(e.months),e.years=hn(e.years),this},P.add=function(e,t){return fn(this,e,t,1)},P.subtract=function(e,t){return fn(this,e,t,-1)},P.as=function(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+a/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}},P.asMilliseconds=we,P.asSeconds=he,P.asMinutes=Pe,P.asHours=be,P.asDays=ve,P.asWeeks=Je,P.asMonths=b,P.asQuarters=fe,P.asYears=$e,P.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN},P._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,a=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=t=0),a.milliseconds=e%1e3,e=m(e/1e3),a.seconds=e%60,e=m(e/60),a.minutes=e%60,e=m(e/60),a.hours=e%24,t+=m(e/24),n+=e=m(vn(t)),t-=yn(bn(e)),e=m(n/12),n%=12,a.days=t,a.months=n,a.years=e,this},P.clone=function(){return R(this)},P.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},P.milliseconds=ye,P.seconds=xe,P.minutes=Ue,P.hours=y,P.days=$n,P.weeks=function(){return m(this.days()/7)},P.months=Cn,P.years=kn,P.humanize=function(e,t){var n,a;return this.isValid()?(n=!1,a=Gn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(a=Object.assign({},Gn,t),null!=t.s)&&null==t.ss&&(a.ss=t.s-1),t=Sn(this,!n,a,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},P.toISOString=In,P.toString=In,P.toJSON=In,P.locale=Xt,P.localeData=Qt,P.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",In),P.lang=Qe,a("X",0,0,"unix"),a("x",0,0,"valueOf"),w("x",ke),w("X",/[+-]?\d+(\.\d{1,3})?/),$("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),$("x",function(e,t,n){n._d=new Date(g(e))}),p.version="2.29.4",D=_,p.fn=i,p.min=function(){return Tt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Tt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return _(1e3*e)},p.months=function(e,t){return gn(e,t,"months")},p.isDate=O,p.locale=gt,p.invalid=U,p.duration=R,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return _.apply(null,arguments).parseZone()},p.localeData=T,p.isDuration=Pt,p.monthsShort=function(e,t){return gn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,a;return null!=t?(a=lt,null!=E[e]&&null!=E[e].parentLocale?E[e].set(Q(E[e]._config,t)):(t=Q(a=null!=(n=mt(e))?n._config:a,t),null==n&&(t.abbr=e),(a=new ee(t)).parentLocale=E[e],E[e]=a),gt(e)):null!=E[e]&&(null!=E[e].parentLocale?(E[e]=E[e].parentLocale,e===gt()&&gt(e)):null!=E[e]&&delete E[e]),E[e]},p.locales=function(){return te(E)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=u,p.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},p.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"},p.prototype=i,p.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"},p}();var Pi,Di,Ni=Pi.exports;function Ai(e,t){s(e,t)}const Bi={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započni sada!",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Oi={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 zi(e,t,n){e=e.slice();return e[104]=t[n],e[106]=n,e}function ji(e,t,n){e=e.slice();return e[101]=t[n],e}function Hi(n){let a,i,r,o,s=n[35]("playNow")+"";return{c(){a=ge("button"),i=pe(s),fe(a,"class","GameInfoBtn")},m(e,t){ue(e,a,t),de(a,i),r||(o=U(a,"click",n[63]),r=!0)},p(e,t){16&t[1]&&s!==(s=e[35]("playNow")+"")&&ye(i,s)},d(e){e&&me(a),r=!1,o()}}}function Ui(e){let n,a,i=e[35]("new")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&i!==(i=e[35]("new")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Wi(e){let n,a;return{c(){n=ge("span"),a=pe(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function Yi(e){let n,a,i=!e[22]&&e[20]&&e[21]&&Vi(e);function r(e){return e[22]&&e[19]&&e[19]===lr?qi:e[22]&&e[19]&&e[19]===cr?Zi:void 0}let o=r(e),s=o&&o(e);return{c(){i&&i.c(),n=he(),s&&s.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Vi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(a)}}}function Vi(e){let n,a,i,r,o,s,l,c,d,u,m=e[35]("opens")+"",g=Ni.utc(e[20]).local().format(e[21])+"",p=e[41](e[34])+"",h=e[40](e[26],e[27],e[25])+"";return{c(){n=ge("div"),a=ge("div"),i=pe(m),r=he(),o=ge("span"),s=pe(g),l=he(),c=new t(!1),d=he(),u=new t(!1),fe(a,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(o,s),de(n,l),c.m(p,n),de(n,d),u.m(h,n)},p(e,t){16&t[1]&&m!==(m=e[35]("opens")+"")&&ye(i,m),3145728&t[0]&&g!==(g=Ni.utc(e[20]).local().format(e[21])+"")&&ye(s,g),8&t[1]&&p!==(p=e[41](e[34])+"")&&c.p(p),234881024&t[0]&&h!==(h=e[40](e[26],e[27],e[25])+"")&&u.p(h)},d(e){e&&me(n)}}}function Zi(n){let a,i,r,o,s,l,c=n[41](n[34])+"",d=n[40](n[26],n[27],n[25])+"",u=new Array(ur),m=[];for(let e=0;e<u.length;e+=1)m[e]=Qi(zi(n,u,e));return{c(){a=ge("div"),i=ge("div");for(let e=0;e<m.length;e+=1)m[e].c();r=he(),o=new t(!1),s=he(),l=new t(!1),fe(i,"class","LiveIcons"),o.a=s,l.a=null,fe(a,"class",n[30])},m(e,t){ue(e,a,t),de(a,i);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);n[64](i),de(a,r),o.m(c,a),de(a,s),l.m(d,a)},p(t,n){if(536887296&n[0]|2049&n[1]){let e;for(u=new Array(ur),e=0;e<u.length;e+=1){const o=zi(t,u,e);m[e]?m[e].p(o,n):(m[e]=Qi(o),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}8&n[1]&&c!==(c=t[41](t[34])+"")&&o.p(c),234881024&n[0]&&d!==(d=t[40](t[26],t[27],t[25])+"")&&l.p(d),1073741824&n[0]&&fe(a,"class",t[30])},d(e){e&&me(a),j(m,e),n[64](null)}}}function qi(e){let n,a,i,r,o,s,l=e[41](e[34])+"",c=e[40](e[26],e[27],e[25])+"";function d(e){return e[32]?tr:er}let u=d(e),m=u(e);return{c(){n=ge("div"),a=ge("div"),m.c(),i=he(),r=new t(!1),o=he(),s=new t(!1),fe(a,"class","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,a),m.m(a,null),de(n,i),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(a,null))),8&t[1]&&l!==(l=e[41](e[34])+"")&&r.p(l),234881024&t[0]&&c!==(c=e[40](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function Ki(e){let n;function a(e){return e[29]?Xi:Ji}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Ji(e){let n,a,i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"";return{c(){n=new t(!1),a=c(),n.a=a},m(e,t){n.m(i,e,t),ue(e,a,t)},p(e,t){16384&t[0]|1&t[1]&&i!==(i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"")&&n.p(i)},d(e){e&&me(a),e&&n.d()}}}function Xi(e){let n,a,i,r,o,s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"",l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"";return{c(){n=ge("div"),a=new t(!1),i=he(),r=new t(!1),o=he(),a.a=i,r.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),a.m(s,n),de(n,i),r.m(l,n),de(n,o)},p(e,t){16384&t[0]|1&t[1]&&s!==(s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"")&&a.p(s),16384&t[0]|1&t[1]&&l!==(l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"")&&r.p(l)},d(e){e&&me(n)}}}function Qi(e){let n,a=e[14]&&e[14][e[106]]&&Ki(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[106]]?a?a.p(e,t):((a=Ki(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function er(t){let i,r=t[24],o=[];for(let e=0;e<r.length;e+=1)o[e]=nr(ji(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(285212672&n[0]|256&n[1]){let e;for(r=t[24],e=0;e<r.length;e+=1){var a=ji(t,r,e);o[e]?o[e].p(a,n):(o[e]=nr(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){j(o,e),e&&me(i)}}}function tr(e){let n,a,i=e[35]("full")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&i!==(i=e[35]("full")+"")&&ye(a,i)},d(e){e&&me(n)}}}function nr(e){let n,a,i,r,o,s;return{c(){n=ge("span"),a=H("svg"),i=H("path"),r=H("path"),o=he(),fe(i,"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(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"width","13"),fe(a,"height","14"),fe(a,"viewBox","0 0 13 14"),fe(n,"class",s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function ar(e){let n;return{c(){(n=ge("div")).innerHTML='<svg version="1.1" class="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: var(--emfe-w-color-white, #FFFFFF);" 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")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function ir(n){let a,i,r;return{c(){(a=ge("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: var(--emfe-w-color-white, #FFFFFF);" 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(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[66]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function rr(n){let a,i,r;return{c(){(a=ge("div")).innerHTML='<svg version="1.1" class="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: var(--emfe-w-color-white, #FFFFFF);" 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(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[65]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function or(e){let n,a;return{c(){n=ge("p"),a=pe(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[0]&&ye(a,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function sr(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,C,k,F,G,S,L,M=(n[5]||"-")+"",I=n[1]&&Hi(n),E=n[7]&&Ui(n),T=n[8]&&Wi(n),_=n[13]&&Yi(n);function R(e,t){return 65541&t[0]&&(C=null),65537&t[0]&&(k=null),65541&t[0]&&(F=null),(C=null==C?!(at(e[36])||!e[0]||!e[16]||!e[2]):C)?rr:(k=null==k?!(at(e[36])||e[0]||!e[16]):k)?ir:(F=null==F?!!(at(e[36])&&e[0]&&e[16]&&e[2]):F)?ar:void 0}let P=R(n,[-1,-1,-1,-1]),D=P&&P(n),N="true"===n[10]&&or(n);return{c(){a=ge("div"),i=ge("div"),r=ge("img"),l=he(),c=ge("div"),d=ge("div"),u=ge("p"),m=pe(n[4]),g=he(),I&&I.c(),p=he(),h=ge("span"),f=pe(M),y=he(),v=ge("div"),b=ge("div"),E&&E.c(),w=he(),T&&T.c(),x=he(),_&&_.c(),$=he(),D&&D.c(),S=he(),N&&N.c(),this.c=A,ce(r.src,o=n[3])||fe(r,"src",o),fe(r,"class",s=`GameBg GameBg-${n[9]} `+(n[17]?"Loaded":"")),fe(r,"alt",""),fe(r,"loading","lazy"),fe(u,"class","GameInfoName"),fe(u,"title",n[4]),fe(d,"class","GameInfo"),fe(h,"class","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(b,"class","GameExtraInfo"),fe(v,"class","GameExtraInfoContainer"),fe(i,"class",G="GameInnerContainer "+(n[13]&&!n[22]&&n[23].value||n[13]&&n[32]?"GameInnerContainerUnavailable":"")),fe(a,"class",L=`GameContainer ${n[33]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),B(a,"WithGameName",n[10])},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[62](r),de(i,l),de(i,c),de(c,d),de(d,u),de(u,m),de(d,g),I&&I.m(d,null),de(c,p),de(c,h),de(h,f),de(i,y),de(i,v),de(v,b),E&&E.m(b,null),de(b,w),T&&T.m(b,null),de(b,x),_&&_.m(b,null),de(v,$),D&&D.m(v,null),de(a,S),N&&N.m(a,null),n[67](a)},p(e,t){8&t[0]&&!ce(r.src,o=e[3])&&fe(r,"src",o),131584&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[17]?"Loaded":""))&&fe(r,"class",s),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(u,"title",e[4]),e[1]?I?I.p(e,t):((I=Hi(e)).c(),I.m(d,null)):I&&(I.d(1),I=null),32&t[0]&&M!==(M=(e[5]||"-")+"")&&ye(f,M),e[7]?E?E.p(e,t):((E=Ui(e)).c(),E.m(b,w)):E&&(E.d(1),E=null),e[8]?T?T.p(e,t):((T=Wi(e)).c(),T.m(b,x)):T&&(T.d(1),T=null),e[13]?_?_.p(e,t):((_=Yi(e)).c(),_.m(b,null)):_&&(_.d(1),_=null),P===(P=R(e,t))&&D?D.p(e,t):(D&&D.d(1),(D=P&&P(e))&&(D.c(),D.m(v,null))),12591104&t[0]|2&t[1]&&G!==(G="GameInnerContainer "+(e[13]&&!e[22]&&e[23].value||e[13]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",G),"true"===e[10]?N?N.p(e,t):((N=or(e)).c(),N.m(a,null)):N&&(N.d(1),N=null),2048&t[0]|4&t[1]&&L!==(L=`GameContainer ${e[33]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(a,"class",L),3072&t[0]|4&t[1]&&B(a,"WithGameName",e[10])},i:A,o:A,d(e){e&&me(a),n[62](null),I&&I.d(),E&&E.d(),T&&T.d(),_&&_.d(),D&&D.d(),N&&N.d(),n[67](null)}}}const lr="blackjack",cr="roulette",dr="doubleballroulette",ur=5;function mr(r,e,o){let D;rt(r,ai,e=>o(35,D=e));let N,s,l,c,t,A,B,d,u,O,z,j,m,H,U,W,g,Y,V,Z,p,q,h,K,J,{session:X=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{favorites:Q=""}=e,{gamethumbnail:ee=""}=e,{gamename:te=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:a=""}=e,{gameid:i=""}=e,{gameisnew:ne=""}=e,{gametag:ae=""}=e,{gamefunmode:x=!1}=e,{gamefavorite:$=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:C=!1}=e,{showgamename:re=""}=e,{currency:k=""}=e,{gamepagemodalurl:F="false"}=e,{endpoint:G=""}=e,{categoryid:S=""}=e,{livelobbyendpoint:L=""}=e,{connectlive:M=""}=e,{visibilityconnect:I=""}=e,{integratedgameframedesktop:E="false"}=e,{integratedgameframemobile:T="false"}=e,{casinogamesgridslider:oe="false"}=e,se=!1,le=!1,_=window.navigator.userAgent,ce="HH:mm",de,ue=[],me="EUR",R="";const ge=[lr],pe=[cr,dr],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},fe={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"},ye=(Object.keys(Bi).forEach(e=>{Ai(e,Bi[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+i||C||o(0,$=!0),e.data.type!=="RemoveFavoriteThumbnail_"+i||C||o(0,$=!1),"UserSessionID"===e.data.type&&(o(16,se=!0),e.data.session,N=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,c=null)}),ve=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(N||"Not logged in")}),at(_)&&"true"==T?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:F,isMobile:at(_),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:a},window.location.href):at(_)&&"false"==T&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:at(_)},window.location.href),at(_)||"true"!=E?at(_)||"false"!=E||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:at(_)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:F,isMobile:at(_),identifier:"Lobby",subVendor:n,launchUrl:a},window.location.href)},be=e=>{$?window.postMessage({type:"SetUnfavoredGame"+S,id:e},window.location.href):window.postMessage({type:"SetFavoredGame"+S,id:e},window.location.href)},we=()=>{L&&EventSource&&!t&&n&&i&&(t=new EventSource(`${G}/v1/encoder/lobby/updates/${n}/`+i)).addEventListener("message",$e)},xe=()=>{t&&(t.close(),t=void 0)},$e=async e=>{const{type:t,data:n}=e;let a;if("message"===t){if(n)try{a=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(a){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:r}=a;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,m=i),o(13,c.currentOccupiedSeats=i,c),await Fe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(H=n,o(13,c.currentRouletteNumbers=n,c),await Fe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(13,c.currentDoubleBallRouletteNumbers=n,c),await Fe());break;case"TableOpened":case"TableClosed":o(22,d=r),o(13,c.isOpen=r,c),await Fe()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",P=(e,t)=>e.some(e=>e===t),ke=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return et(()=>(window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye),t&&t.removeEventListener("message",$e)})),r.$$set=e=>{"session"in e&&o(43,X=e.session),"userid"in e&&o(44,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(45,v=e.clientstyling),"clientstylingurl"in e&&o(46,b=e.clientstylingurl),"translationurl"in e&&o(47,w=e.translationurl),"favorites"in e&&o(2,Q=e.favorites),"gamethumbnail"in e&&o(3,ee=e.gamethumbnail),"gamename"in e&&o(4,te=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(48,a=e.gamelaunchurl),"gameid"in e&&o(6,i=e.gameid),"gameisnew"in e&&o(7,ne=e.gameisnew),"gametag"in e&&o(8,ae=e.gametag),"gamefunmode"in e&&o(49,x=e.gamefunmode),"gamefavorite"in e&&o(0,$=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(50,C=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(51,k=e.currency),"gamepagemodalurl"in e&&o(52,F=e.gamepagemodalurl),"endpoint"in e&&o(53,G=e.endpoint),"categoryid"in e&&o(54,S=e.categoryid),"livelobbyendpoint"in e&&o(55,L=e.livelobbyendpoint),"connectlive"in e&&o(56,M=e.connectlive),"visibilityconnect"in e&&o(57,I=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,E=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,T=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,oe=e.casinogamesgridslider)},r.$$.update=()=>{if(33554432&r.$$.dirty[1]&&M&&("disconnect"===M?xe():"connect"===M&&we()),67108864&r.$$.dirty[1]&&I&&("disconnect"===I?xe():"connect"===I&&"connect"===M&&we()),2&r.$$.dirty[0]&&y&&(n=y,nt.set(n)),4206592&r.$$.dirty[1]&&X&&f&&G&&(o(16,se=!0),N=f),8&r.$$.dirty[0]&&ee&&s&&o(18,s.onload=()=>{o(17,le=!0)},s),4096&r.$$.dirty[0]|16384&r.$$.dirty[1]&&v&&l&&((n=document.createElement("style")).innerHTML=v,l.appendChild(n)),4096&r.$$.dirty[0]|32768&r.$$.dirty[1]&&b&&l&&ke(),r.$$.dirty[0],65536&r.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ai(e,t[e])})}).catch(e=>{console.log(e)}),512&r.$$.dirty[0]|32768&r.$$.dirty[1]&&ie&&b&&ke(),20971520&r.$$.dirty[1]&&G&&L&&((t=new URL(""+L.split("?")[0])).searchParams.append("platform",it(_)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,c=e)})),8192&r.$$.dirty[0]&&c&&c&&(o(22,d=c.isOpen),de=c.betLimit||{},o(23,u=c.openHours),o(24,ue=(e=>{j=e.totalSeats||7,o(28,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=j;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(20,B=t),o(21,ce=e||ce)),d&&o(19,A=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();P(ge,e)?t=lr:P(pe,e)&&(t=cr)}}return t})(c)),o(25,me=Oi[k]),o(26,O=(de.min||{})[k]),o(27,z=(de.max||{})[k]),H=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,W=c.vendorCategory,o(29,g=W.toLowerCase()===dr),o(14,Y=(g?U:H)||[]),o(30,V="GameProp LiveProps RoulleteProps"),o(30,V+=g?" Double":""),o(31,Z=P(pe,W.toLowerCase())?fe:he),q=p,o(32,p=Array.isArray(m)&&m.length===j),c.dealer&&o(34,K=c.dealer.DealerName),J=c.numberOfPlayers,o(33,R="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(33,R+=" GameBackdrop"),d&&p&&O&&z&&c.currentOccupiedSeats?o(33,R+=" GameContainerDimmed"):!1===d&&B&&o(33,R+=" GameContainerFullyDimmed"),l)&&(!q&&p?(o(33,R+=" PulsatingRedShadow"),o(33,R=R.replace(" PulsatingGreenShadow",""))):q&&!p&&(o(33,R+=" PulsatingGreenShadow"),o(33,R=R.replace(" PulsatingRedShadow","")))),49152&r.$$.dirty[0]&&h&&Y){const a="FirstElementAnimated",i=h.getElementsByClassName("First")[0];i&&(i.classList.add(a),setTimeout(()=>{i.classList.remove(a)},2e3))}var e,t,n},[$,y,Q,ee,te,n,i,ne,ae,ie,re,oe,l,c,Y,h,se,le,s,A,B,ce,d,u,ue,me,O,z,m,g,V,Z,p,R,K,D,_,ve,be,P,(e,t,n)=>{let a,i;return null!=e&&null!=t&&(i=`
4
4
  <span>
5
5
  ${n}
6
6
  </span>
7
- ${Ce(e)}-`+Ce(t)),(a=K?`
7
+ ${Ce(e)}-`+Ce(t)),(a=J?`
8
+ <svg fill="var(--emfe-w-color-white, #FFFFFF);" 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">${J}</span>`:a)||i?`
10
+ <p class="LiveLimits">
11
+ <span class="BetLimitLeft">
12
+ ${i||""}
13
+ </span>
14
+ <span class="BetLimitRight">
15
+ ${a||""}
16
+ </span>
17
+ </p>`:""},e=>e?`
18
+ <p class="LiveLimits">
19
+ <span class="DealerName">${D("dealer")}: ${e}</span>
20
+ </p>
21
+ `:"",(e,t,n,a="")=>{e=e+" "+a,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`
22
+ <span
23
+ id=${t}
24
+ class="${e}"
25
+ >
26
+ ${n}
27
+ </span>
28
+ `:`
29
+ <span id=${t} class="${e}">
30
+ ${n}
31
+ </span>
32
+ `},X,f,v,b,w,a,x,C,k,F,G,S,L,M,I,E,T,he,fe,function(e){tt[e?"unshift":"push"](()=>{s=e,o(18,s)})},()=>ve(i),function(e){tt[e?"unshift":"push"](()=>{h=e,o(15,h)})},()=>be(i),()=>be(i),function(e){tt[e?"unshift":"push"](()=>{l=e,o(12,l)})}]}function gr(e,t){s(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.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;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.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}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;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}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},mr,sr,n,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),m()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const pr={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};function hr(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function fr(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,e,x,N,$,C,A,k,F,G,S,L,M,B,I=n[11]("filterby")+"",E=n[11]("providers")+"",T=n[11]("clear")+"";function O(e){return e[7]?br:vr}let _=O(n),R=_(n),P=n[5],D=[];for(let e=0;e<P.length;e+=1)D[e]=$r(hr(n,P,e));return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=H("svg"),s=H("path"),l=he(),c=ge("div"),d=ge("span"),u=pe(I),m=he(),g=ge("div"),p=ge("span"),h=pe(E),f=he(),R.c(),y=he(),v=ge("span"),b=H("svg"),w=H("path"),N=he(),$=ge("div"),C=ge("ul");for(let e=0;e<D.length;e+=1)D[e].c();A=he(),k=ge("button"),F=pe(T),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(g,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(r,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(b,"xmlns","http://www.w3.org/2000/svg"),fe(b,"width","14"),fe(b,"height","6.835"),fe(b,"viewBox","0 0 14 6.835"),fe(v,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(i,"class",x="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(k,"class","ClearFilters"),k.disabled=G=n[7]&&n[6].length!=n[5].length,fe($,"class",S="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(a,"class",L="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(o,s),de(r,l),de(r,c),de(c,d),de(d,u),de(c,m),de(c,g),de(g,p),de(p,h),de(g,f),R.m(g,null),de(i,y),de(i,v),de(v,b),de(b,w),de(a,N),de(a,$),de($,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de($,A),de($,k),de(k,F),M||(B=[U(i,"click",n[22]),U(k,"click",n[25])],M=!0)},p(t,n){if(2048&n[0]&&I!==(I=t[11]("filterby")+"")&&ye(u,I),2048&n[0]&&E!==(E=t[11]("providers")+"")&&ye(h,E),_===(_=O(t))&&R?R.p(t,n):(R.d(1),(R=_(t))&&(R.c(),R.m(g,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(v,"class",e),16&n[0]&&x!==(x="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(i,"class",x),8228&n[0]){let e;for(P=t[5],e=0;e<P.length;e+=1){const i=hr(t,P,e);D[e]?D[e].p(i,n):(D[e]=$r(i),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=P.length}2048&n[0]&&T!==(T=t[11]("clear")+"")&&ye(F,T),224&n[0]&&G!==(G=t[7]&&t[6].length!=t[5].length)&&(k.disabled=G),16&n[0]&&S!==(S="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe($,"class",S),3&n[0]&&L!==(L="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(a,"class",L)},d(e){e&&me(a),R.d(),j(D,e),M=!1,z(B)}}}function yr(e){let n,a,i=e[11]("500")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&i!==(i=e[11]("500")+"")&&ye(a,i)},d(e){e&&me(n)}}}function vr(e){let n,a;return{c(){n=ge("span"),a=pe(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function br(e){let n,a,i=e[11]("all")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&i!==(i=e[11]("all")+"")&&ye(a,i)},d(e){e&&me(n)}}}function wr(e){let n,a;return{c(){ce((n=ge("img")).src,a=e[36].logo)||fe(n,"src",a),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,a=e[36].logo)&&fe(n,"src",a)},d(e){e&&me(n)}}}function xr(e){let n,a,i,r,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=ge("div"),a=ge("span"),i=pe(d),r=he(),o=ge("span"),s=pe("("),l=pe(u),c=pe(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(n,r),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(i,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function $r(n){let a,i,r,o,s,l,c,d,u,m,g,p;function h(){n[23].call(r,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?xr:"true"===e[2]?wr:void 0}let v=y(n),b=v&&v(n);return{c(){a=ge("li"),i=ge("label"),r=ge("input"),s=he(),l=ge("span"),c=he(),b&&b.c(),d=he(),fe(r,"type","checkbox"),fe(r,"name","checkbox"),r.__value=o=n[36].name,r.value=r.__value,fe(l,"class","FiltersCheckmark"),fe(i,"class","FilterLabel"),fe(a,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),a.value=m=n[36].name},m(e,t){ue(e,a,t),de(a,i),de(i,r),r.checked=n[36].isFilterSelected,de(i,s),de(i,l),de(i,c),b&&b.m(i,null),de(a,d),g||(p=[U(r,"change",h),U(r,"click",f)],g=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(r.__value=o,r.value=r.__value),32&t[0]&&(r.checked=n[36].isFilterSelected),v===(v=y(n))&&b?b.p(n,t):(b&&b.d(1),(b=v&&v(n))&&(b.c(),b.m(i,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(a,"class",u),32&t[0]&&m!==(m=n[36].name)&&(a.value=m)},d(e){e&&me(a),b&&b.d(),g=!1,z(p)}}}function Cr(n){let a;function i(e){return e[10]?yr:e[9]?void 0:fr}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=A},m(e,t){ue(e,a,t),o&&o.m(a,null),n[26](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o&&o.d(),n[26](null)}}}function kr(n,e,a){let t;rt(n,ai,e=>a(11,t=e));let i,{endpoint:r=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:g="false"}=e,{filterbylogo:p="false"}=e,h=!1,f=window.navigator.userAgent,y=[],v=[],b={},w=!1,x=0,$=!0,C=!1;var k,F;({withLocale:k,translations:F}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(F),nt.set(k))}),Object.keys(pr).forEach(e=>{gr(e,pr[e])}),b[u]&&(b={[u]:[]});const G=()=>{a(4,h=!h),window.postMessage({type:"FilterOpened"},window.location.href)},S=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,v.length&&0!=v.filter(e=>e.name===t.name).length?a(6,v=v.filter(e=>e.name!==t.name)):v.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})):((e=JSON.parse(e))[u]=v.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),L()},L=()=>{a(7,w=v.length===y.length||0==v.length),a(8,x=v.length)},M=()=>{a(6,v=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),a(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),a(7,w=!0),a(4,h=!1)},I=e=>{"SortingOpened"==e.data.type&&a(4,h=!1)};return et(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),n.$$set=e=>{"endpoint"in e&&a(15,r=e.endpoint),"datasource"in e&&a(16,o=e.datasource),"lang"in e&&a(17,s=e.lang),"translationurl"in e&&a(18,l=e.translationurl),"clientstyling"in e&&a(19,c=e.clientstyling),"clientstylingurl"in e&&a(20,d=e.clientstylingurl),"categoryid"in e&&a(21,u=e.categoryid),"addfilterselector"in e&&a(0,m=e.addfilterselector),"addsortingselector"in e&&a(1,g=e.addsortingselector),"filterbylogo"in e&&a(2,p=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&r&&o&&u&&p&&(t=new URL(r+"/v1/casino/vendors"),a(4,h=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",it(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,a(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),a(6,v=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,v.push(e)):e.isFilterSelected=!1}),a(5,y=e),L()}).catch(e=>{console.error(e),a(10,C=!0),n(e)}).finally(()=>{a(9,$=!1)})})),524296&n.$$.dirty[0]&&c&&i&&((t=document.createElement("style")).innerHTML=c,i.appendChild(t)),1048584&n.$$.dirty[0]&&d&&i){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{gr(e,t[e])})}).catch(e=>{console.log(e)})},[m,g,p,i,h,y,v,w,x,$,C,t,G,S,M,r,o,s,l,c,d,u,()=>G(),function(e,t){e[t].isFilterSelected=this.checked,a(5,y)},e=>S(e),()=>M(),function(e){tt[e?"unshift":"push"](()=>{i=e,a(3,i)})}]}function Fr(e,t){s(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},kr,Cr,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});const Gr={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function Sr(e,t,n){e=e.slice();return e[23]=t[n],e}function Lr(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,e,C,k,F,G,S,L,M,I=n[4]("sortby")+"",E=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),_=[];for(let e=0;e<T.length;e+=1)_[e]=Mr(Sr(n,T,e));return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=H("svg"),s=H("g"),l=H("path"),c=H("path"),d=H("path"),u=he(),m=ge("div"),g=ge("span"),p=pe(I),h=he(),f=ge("div"),y=ge("span"),v=pe(E),b=he(),w=ge("span"),x=H("svg"),$=H("path"),k=he(),F=ge("div"),G=ge("ul");for(let e=0;e<_.length;e+=1)_[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(g,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(r,"class","SorterMainArea"),fe($,"id","arrow"),fe($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe($,"transform","translate(-274.511 -441.088)"),fe($,"fill","#d1d1d1"),fe(x,"xmlns","http://www.w3.org/2000/svg"),fe(x,"width","14"),fe(x,"height","6.835"),fe(x,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(i,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(G,"class","SorterDropdown"),fe(F,"class",S="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(a,"class","SorterContainer")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(o,s),de(s,l),de(s,c),de(s,d),de(r,u),de(r,m),de(m,g),de(g,p),de(m,h),de(m,f),de(f,y),de(y,v),de(i,b),de(i,w),de(w,x),de(x,$),de(a,k),de(a,F),de(F,G);for(let e=0;e<_.length;e+=1)_[e]&&_[e].m(G,null);L||(M=U(i,"click",n[13]),L=!0)},p(t,n){if(16&n&&I!==(I=t[4]("sortby")+"")&&ye(p,I),24&n&&E!==(E=(t[3]||t[4]("all"))+"")&&ye(v,E),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(i,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var a=Sr(t,T,e);_[e]?_[e].p(a,n):(_[e]=Mr(a),_[e].c(),_[e].m(G,null))}for(;e<_.length;e+=1)_[e].d(1);_.length=T.length}2&n&&S!==(S="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(F,"class",S)},d(e){e&&me(a),j(_,e),L=!1,M()}}}function Mr(n){let a,i,r,o,s,l,c,d,u,m,g,p,e=n[23]+"";function h(){return n[14](n[23])}return{c(){a=ge("li"),i=ge("label"),r=ge("input"),s=he(),l=ge("span"),c=he(),d=ge("span"),u=pe(e),m=he(),fe(r,"type","radio"),fe(r,"name","radio"),r.value=n[23],r.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(i,"class","SorterLabel CustomRadioButton"),fe(a,"class","SorterItem"),a.value=n[23]},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,s),de(i,l),de(i,c),de(i,d),de(d,u),de(a,m),g||(p=U(r,"click",h),g=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(r.checked=o)},d(e){e&&me(a),g=!1,p()}}}function Ir(n){let a;function i(e){if(!e[2])return Lr}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=A},m(e,t){ue(e,a,t),o&&o.m(a,null),n[15](a)},p(e,[t]){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o&&o.d(),n[15](null)}}}function Er(t,e,a){let n;rt(t,ai,e=>a(4,n=e));let i,{lang:r=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",g="All";var p,h;({withLocale:p,translations:h}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(h),nt.set(p))}),Object.keys(Gr).forEach(e=>{Fr(e,Gr[e])});const f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{a(3,g=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),a(1,d=!d)},v=()=>{a(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},b=e=>{"FilterOpened"==e.data.type&&a(1,d=!1)};return et(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),t.$$set=e=>{"lang"in e&&a(8,r=e.lang),"translationurl"in e&&a(9,o=e.translationurl),"clientstyling"in e&&a(10,s=e.clientstyling),"clientstylingurl"in e&&a(11,l=e.clientstylingurl),"categoryid"in e&&a(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(a(3,g="All"),a(2,u=!1),a(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],a(3,g=e||"All"),a(3,g=f[e])),1025&t.$$.dirty&&s&&i&&((e=document.createElement("style")).innerHTML=s,i.appendChild(e)),2049&t.$$.dirty&&l&&i){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fr(e,t[e])})}).catch(e=>{console.log(e)})},[i,d,u,g,n,f,y,v,r,o,s,l,c,()=>v(),e=>y(e),function(e){tt[e?"unshift":"push"](()=>{i=e,a(0,i)})}]}function Tr(e,t,n){e=e.slice();return e[89]=t[n],e[91]=n,e}function _r(e,t,n){e=e.slice();return e[89]=t[n],e[92]=t,e[91]=n,e}function Rr(e,t,n){e=e.slice();return e[89]=t[n],e[91]=n,e}function Pr(e){let n;function a(e){return e[26]?Br:e[37]?Ar:void 0}let i=a(e),r=i&&i(e);return{c(){n=ge("div"),r&&r.c()},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r&&r.d(1),(r=i&&i(e))&&(r.c(),r.m(n,null)))},d(e){e&&me(n),r&&r.d()}}}function Dr(e){let n,a,i;function r(e){return e[30]?uo:e[27].length?lo:co}let o=r(e),s=o(e);function l(e){return e[27]?go:mo}let c=l(e),d=c(e);return{c(){n=ge("div"),a=ge("div"),s.c(),i=he(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(at(e[42])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),s.m(a,null),de(n,i),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(a,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 Nr(e){let n;function a(e){return e[32]?yo:fo}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i!==(i=a(e))&&(r.d(1),r=i(e))&&(r.c(),r.m(n.parentNode,n))},d(e){r.d(e),e&&me(n)}}}function Ar(n){let a,i,r,o,s="true"!==n[18]&&Or(n);function l(e){return e[23]&&!e[34]?Hr:e[40]?jr:zr}let c=l(n),d=c(n);return{c(){a=ge("div"),s&&s.c(),i=he(),r=ge("ul"),d.c(),fe(r,"class",o=(0!=n[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer")},m(e,t){ue(e,a,t),s&&s.m(a,null),de(a,i),de(a,r),d.m(r,null),n[56](r)},p(e,t){"true"!==e[18]?s?s.p(e,t):((s=Or(e)).c(),s.m(a,i)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null))),512&t[1]&&o!==(o=(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(r,"class",o)},d(e){e&&me(a),s&&s.d(),d.d(),n[56](null)}}}function Br(e){let n,a,i="true"!==e[18]&&Qr(e);function r(e){return e[23]&&!e[34]?oo:0!==e[27].length?ro:io}let o=r(e),s=o(e);return{c(){n=ge("div"),i&&i.c(),a=he(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,a),s.m(n,null)},p(e,t){"true"!==e[18]?i?i.p(e,t):((i=Qr(e)).c(),i.m(n,a)):i&&(i.d(1),i=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),i&&i.d(),s.d()}}}function Or(n){let a,i,r,o,s,l,c,d,u=n[41]("favorites")+"",m=n[40].items.length+"";return{c(){a=ge("div"),i=ge("h3"),r=pe(u),o=he(),s=ge("span"),l=pe("("),c=pe(m),d=pe(")"),fe(s,"class","CategoryFavName"),fe(i,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(s,l),de(s,c),de(s,d),n[55](i)},p(e,t){1024&t[1]&&u!==(u=e[41]("favorites")+"")&&ye(r,u),512&t[1]&&m!==(m=e[40].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[55](null)}}}function zr(e){let n,a,i=e[41]("waiting")+"";return{c(){n=ge("p"),a=pe(i)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("waiting")+"")&&ye(a,i)},d(e){e&&me(n)}}}function jr(t){let a,i=t[40].items,r=[];for(let e=0;e<i.length;e+=1)r[e]=Xr(Tr(t,i,e));let o=null;return i.length||(o=Ur(t)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();a=c(),o&&o.c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);ue(t,a,n),o&&o.m(t,n)},p(t,n){if(262121&n[0]|8128&n[1]){let e;for(i=t[40].items,e=0;e<i.length;e+=1){const o=Tr(t,i,e);r[e]?r[e].p(o,n):(r[e]=Xr(o),r[e].c(),r[e].m(a.parentNode,a))}for(;e<r.length;e+=1)r[e].d(1);r.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=Ur(t)).c(),o.m(a.parentNode,a))}},d(e){j(r,e),e&&me(a),o&&o.d(e)}}}function Hr(e){let n;return{c(){fe(n=ge("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Ur(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h,f=e[41]("noFavoritesTitle")+"",t=(v=e,at(v[42])?Yr:Wr),y=t(e);var v;return{c(){n=ge("p"),a=H("svg"),i=H("rect"),r=H("rect"),o=H("circle"),s=H("path"),l=H("path"),c=H("path"),d=H("path"),u=he(),m=ge("span"),g=pe(f),p=he(),y.c(),h=he(),fe(i,"x","1"),fe(i,"y","18.053"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(r,"x","106.737"),fe(r,"y","56.737"),fe(r,"width","90.263"),fe(r,"height","90.263"),fe(r,"rx","12"),fe(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(r,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emfe-w-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(a,"width","198"),fe(a,"height","148"),fe(a,"viewBox","0 0 198 148"),fe(a,"fill","none"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(at(e[42])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(a,s),de(a,l),de(a,c),de(a,d),de(n,u),de(n,m),de(m,g),de(n,p),y.m(n,null),de(n,h)},p(e,t){1024&t[1]&&f!==(f=e[41]("noFavoritesTitle")+"")&&ye(g,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function Wr(e){let n,a,i=e[41]("noFavorites")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noFavorites")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Yr(e){let n,a,i=e[41]("noFavoritesMobile")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noFavoritesMobile")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Vr(e){let n,a=e[89].gameModel.isFavorite&&Zr(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[89].gameModel.isFavorite?a?a.p(e,t):((a=Zr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Zr(e){let n,a=function(e){let n,a,i;function r(e,t){return 512&t[1]&&(a=null),(n=null==n?!!at(e[42]):n)?Kr:(a=null==a?!!e[89].gameModel.platform.includes("PC"):a)?qr:void 0}let o=r(e,[-1,-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,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(i.parentNode,i)))},d(e){s&&s.d(e),e&&me(i)}}}(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function qr(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h,f;return{c(){G(n=ge("casino-game-thumbnail"),"class",a=""+(bo+(e[89].cellSize||"1x1"))),G(n,"part",i=""+(bo+(e[89].cellSize||"1x1"))),G(n,"session",e[6]),G(n,"userid",e[7]),G(n,"lang",e[5]),G(n,"translationurl",e[11]),G(n,"favorites",e[8]),G(n,"categoryid",e[0]),G(n,"gamethumbnail",r=e[89].gameModel.thumbnail),G(n,"gamename",o=e[89].gameModel.name),G(n,"gamevendor",s=e[89].gameModel.vendor.name),G(n,"gamelaunchurl",l=e[89].launchUrl),G(n,"gameisnew",c=e[89].gameModel.isNew),G(n,"gametag",d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags)),G(n,"gamecellsize",u=e[89].cellSize),G(n,"gameid",m=e[89].gameModel.id),G(n,"gamefunmode",g=e[89].gameModel.hasFunMode),G(n,"showgamename",e[13]),G(n,"gamefavorite",p=e[89].gameModel.isFavorite),G(n,"showfavoredcategory",e[37]),G(n,"connectlive",h=1==e[38][e[89].id]?"connect":"disconnect"),G(n,"visibilityconnect",e[39]),G(n,"currency",e[12]),G(n,"livelobbyendpoint",f=e[89].gameModel.details?e[89].gameModel.launchUrl:""),G(n,"clientstyling",e[9]),G(n,"clientstylingurl",e[10]),G(n,"endpoint",e[3]),G(n,"livecasino",e[14]),G(n,"gamepagemodalurl",e[15]),G(n,"integratedgameframedesktop",e[16]),G(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(bo+(e[89].cellSize||"1x1")))&&G(n,"class",a),512&t[1]&&i!==(i=""+(bo+(e[89].cellSize||"1x1")))&&G(n,"part",i),64&t[0]&&G(n,"session",e[6]),128&t[0]&&G(n,"userid",e[7]),32&t[0]&&G(n,"lang",e[5]),2048&t[0]&&G(n,"translationurl",e[11]),256&t[0]&&G(n,"favorites",e[8]),1&t[0]&&G(n,"categoryid",e[0]),512&t[1]&&r!==(r=e[89].gameModel.thumbnail)&&G(n,"gamethumbnail",r),512&t[1]&&o!==(o=e[89].gameModel.name)&&G(n,"gamename",o),512&t[1]&&s!==(s=e[89].gameModel.vendor.name)&&G(n,"gamevendor",s),512&t[1]&&l!==(l=e[89].launchUrl)&&G(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[89].gameModel.isNew)&&G(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags))&&G(n,"gametag",d),512&t[1]&&u!==(u=e[89].cellSize)&&G(n,"gamecellsize",u),512&t[1]&&m!==(m=e[89].gameModel.id)&&G(n,"gameid",m),512&t[1]&&g!==(g=e[89].gameModel.hasFunMode)&&G(n,"gamefunmode",g),8192&t[0]&&G(n,"showgamename",e[13]),512&t[1]&&p!==(p=e[89].gameModel.isFavorite)&&G(n,"gamefavorite",p),64&t[1]&&G(n,"showfavoredcategory",e[37]),640&t[1]&&h!==(h=1==e[38][e[89].id]?"connect":"disconnect")&&G(n,"connectlive",h),256&t[1]&&G(n,"visibilityconnect",e[39]),4096&t[0]&&G(n,"currency",e[12]),512&t[1]&&f!==(f=e[89].gameModel.details?e[89].gameModel.launchUrl:"")&&G(n,"livelobbyendpoint",f),512&t[0]&&G(n,"clientstyling",e[9]),1024&t[0]&&G(n,"clientstylingurl",e[10]),8&t[0]&&G(n,"endpoint",e[3]),16384&t[0]&&G(n,"livecasino",e[14]),32768&t[0]&&G(n,"gamepagemodalurl",e[15]),65536&t[0]&&G(n,"integratedgameframedesktop",e[16]),131072&t[0]&&G(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function Kr(e){let n,a=e[89].gameModel.platform.includes("iPad")||e[89].gameModel.platform.includes("iPhone")||e[89].gameModel.platform.includes("Android"),i=a&&Jr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){(a=512&t[1]?e[89].gameModel.platform.includes("iPad")||e[89].gameModel.platform.includes("iPhone")||e[89].gameModel.platform.includes("Android"):a)?i?i.p(e,t):((i=Jr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function Jr(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h,f;return{c(){G(n=ge("casino-game-thumbnail"),"class",a=""+(bo+(e[89].cellSize||"1x1"))),G(n,"part",i=""+(bo+(e[89].cellSize||"1x1"))),G(n,"session",e[6]),G(n,"userid",e[7]),G(n,"lang",e[5]),G(n,"favorites",e[8]),G(n,"categoryid",e[0]),G(n,"gamethumbnail",r=e[89].gameModel.thumbnail),G(n,"gamename",o=e[89].gameModel.name),G(n,"gamevendor",s=e[89].gameModel.vendor.name),G(n,"gamelaunchurl",l=e[89].launchUrl),G(n,"gameisnew",c=e[89].gameModel.isNew),G(n,"gametag",d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags)),G(n,"gamecellsize",u=e[89].cellSize),G(n,"gameid",m=e[89].gameModel.id),G(n,"gamefunmode",g=e[89].gameModel.hasFunMode),G(n,"showgamename",e[13]),G(n,"gamefavorite",p=e[89].gameModel.isFavorite),G(n,"showfavoredcategory",e[37]),G(n,"connectlive",h=1==e[38][e[89].id]?"connect":"disconnect"),G(n,"visibilityconnect",e[39]),G(n,"translationurl",e[11]),G(n,"currency",e[12]),G(n,"livelobbyendpoint",f=e[89].gameModel.details?e[89].gameModel.launchUrl:""),G(n,"clientstyling",e[9]),G(n,"clientstylingurl",e[10]),G(n,"endpoint",e[3]),G(n,"livecasino",e[14]),G(n,"gamepagemodalurl",e[15]),G(n,"integratedgameframedesktop",e[16]),G(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(bo+(e[89].cellSize||"1x1")))&&G(n,"class",a),512&t[1]&&i!==(i=""+(bo+(e[89].cellSize||"1x1")))&&G(n,"part",i),64&t[0]&&G(n,"session",e[6]),128&t[0]&&G(n,"userid",e[7]),32&t[0]&&G(n,"lang",e[5]),256&t[0]&&G(n,"favorites",e[8]),1&t[0]&&G(n,"categoryid",e[0]),512&t[1]&&r!==(r=e[89].gameModel.thumbnail)&&G(n,"gamethumbnail",r),512&t[1]&&o!==(o=e[89].gameModel.name)&&G(n,"gamename",o),512&t[1]&&s!==(s=e[89].gameModel.vendor.name)&&G(n,"gamevendor",s),512&t[1]&&l!==(l=e[89].launchUrl)&&G(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[89].gameModel.isNew)&&G(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags))&&G(n,"gametag",d),512&t[1]&&u!==(u=e[89].cellSize)&&G(n,"gamecellsize",u),512&t[1]&&m!==(m=e[89].gameModel.id)&&G(n,"gameid",m),512&t[1]&&g!==(g=e[89].gameModel.hasFunMode)&&G(n,"gamefunmode",g),8192&t[0]&&G(n,"showgamename",e[13]),512&t[1]&&p!==(p=e[89].gameModel.isFavorite)&&G(n,"gamefavorite",p),64&t[1]&&G(n,"showfavoredcategory",e[37]),640&t[1]&&h!==(h=1==e[38][e[89].id]?"connect":"disconnect")&&G(n,"connectlive",h),256&t[1]&&G(n,"visibilityconnect",e[39]),2048&t[0]&&G(n,"translationurl",e[11]),4096&t[0]&&G(n,"currency",e[12]),512&t[1]&&f!==(f=e[89].gameModel.details?e[89].gameModel.launchUrl:"")&&G(n,"livelobbyendpoint",f),512&t[0]&&G(n,"clientstyling",e[9]),1024&t[0]&&G(n,"clientstylingurl",e[10]),8&t[0]&&G(n,"endpoint",e[3]),16384&t[0]&&G(n,"livecasino",e[14]),32768&t[0]&&G(n,"gamepagemodalurl",e[15]),65536&t[0]&&G(n,"integratedgameframedesktop",e[16]),131072&t[0]&&G(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function Xr(e){let n,a=e[89].gameModel&&Vr(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[89].gameModel?a?a.p(e,t):((a=Vr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Qr(n){let a,i,r,o,s=n[26].name+"";function l(e){return e[28]?to:eo}let c=l(n),d=c(n);return{c(){a=ge("div"),i=ge("h3"),r=pe(s),o=he(),d.c(),fe(i,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[51](i),de(a,o),d.m(a,null)},p(e,t){67108864&t[0]&&s!==(s=e[26].name+"")&&ye(r,s),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(a,null)))},d(e){e&&me(a),n[51](null),d.d()}}}function eo(e){let n,a,i,r="true"==e[1]&&no(e),o="true"==e[2]&&ao(e);return{c(){n=ge("div"),r&&r.c(),a=he(),o&&o.c(),fe(n,"class",i="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),o&&o.m(n,null)},p(e,t){"true"==e[1]?r?r.p(e,t):((r=no(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),"true"==e[2]?o?o.p(e,t):((o=ao(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&i!==(i="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",i)},d(e){e&&me(n),r&&r.d(),o&&o.d()}}}function to(n){let a,i,r,o,s,l,c,d,u=n[41]("viewAll")+"",m=n[26].games.total+"";return{c(){a=ge("a"),i=ge("span"),r=pe(u),o=pe(" ("),s=pe(m),l=pe(")"),fe(i,"class","CategoryLoadMore"),fe(a,"class","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(i,l),c||(d=U(a,"click",n[52]),c=!0)},p(e,t){1024&t[1]&&u!==(u=e[41]("viewAll")+"")&&ye(r,u),67108864&t[0]&&m!==(m=e[26].games.total+"")&&ye(s,m)},d(e){e&&me(a),c=!1,d()}}}function no(e){let n;return{c(){G(n=ge("casino-filter"),"clientstylingurl",e[10]),G(n,"clientstyling",e[9]),G(n,"endpoint",e[3]),G(n,"datasource",e[4]),G(n,"lang",e[5]),G(n,"categoryid",e[0]),G(n,"addfilterselector",e[1]),G(n,"addsortingselector",e[2]),G(n,"filterbylogo",e[19])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&G(n,"clientstylingurl",e[10]),512&t[0]&&G(n,"clientstyling",e[9]),8&t[0]&&G(n,"endpoint",e[3]),16&t[0]&&G(n,"datasource",e[4]),32&t[0]&&G(n,"lang",e[5]),1&t[0]&&G(n,"categoryid",e[0]),2&t[0]&&G(n,"addfilterselector",e[1]),4&t[0]&&G(n,"addsortingselector",e[2]),524288&t[0]&&G(n,"filterbylogo",e[19])},d(e){e&&me(n)}}}function ao(e){let n;return{c(){G(n=ge("casino-sort"),"clientstylingurl",e[10]),G(n,"clientstyling",e[9]),G(n,"lang",e[5]),G(n,"categoryid",e[0]),G(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&G(n,"clientstylingurl",e[10]),512&t[0]&&G(n,"clientstyling",e[9]),32&t[0]&&G(n,"lang",e[5]),1&t[0]&&G(n,"categoryid",e[0]),4&t[0]&&G(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function io(e){let n,a,i=e[41]("noResults")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noResults")+"")&&ye(a,i)},d(e){e&&me(n)}}}function ro(n){let i,e,r=n[27],o=[];for(let e=0;e<r.length;e+=1)o[e]=so(_r(n,r,e));return{c(){i=ge("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class",e=(0===n[40].items.length&&n[37]?"":"CasinoGamesGrid")+" "+(n[25]&&"true"==n[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null);n[54](i)},p(t,n){if(139722729&n[0]|4480&n[1]){let e;for(r=t[27],e=0;e<r.length;e+=1){var a=_r(t,r,e);o[e]?o[e].p(a,n):(o[e]=so(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}34603008&n[0]|576&n[1]&&e!==(e=(0===t[40].items.length&&t[37]?"":"CasinoGamesGrid")+" "+(t[25]&&"true"==t[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(i,"class",e)},d(e){e&&me(i),j(o,e),n[54](null)}}}function oo(e){let n;return{c(){fe(n=ge("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function so(e){let n,a=function(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v=n[91];const b=()=>n[53](a,v),w=()=>n[53](null,v);return{c(){G(a=ge("casino-game-thumbnail"),"session",n[6]),G(a,"userid",n[7]),G(a,"lang",n[5]),G(a,"class",i=""+(bo+(n[89].cellSize||"1x1"))),G(a,"part",r=""+(bo+(n[89].cellSize||"1x1"))),G(a,"favorites",n[8]),G(a,"categoryid",n[0]),G(a,"gamethumbnail",o=n[89].thumbnail),G(a,"gamename",s=n[89].name),G(a,"gamevendor",l=n[89].vendor.name),G(a,"gamelaunchurl",c=n[89].launchUrl),G(a,"gameisnew",d=n[89].isNew),G(a,"gametag",u=0<n[89].advancedTags?.length&&n[43](n[89].advancedTags)),G(a,"gamecellsize",m=n[89].cellSize),G(a,"gameid",g=n[89].id),G(a,"gamefunmode",p=n[89].hasFunMode),G(a,"gamefavorite",h=n[89].isFavorite),G(a,"translationurl",n[11]),G(a,"showgamename",n[13]),G(a,"connectlive",f=1==n[38][n[89].id]?"connect":"disconnect"),G(a,"visibilityconnect",n[39]),G(a,"currency",n[12]),G(a,"livelobbyendpoint",y=n[89].details?n[89].href:""),G(a,"clientstyling",n[9]),G(a,"clientstylingurl",n[10]),G(a,"endpoint",n[3]),G(a,"livecasino",n[14]),G(a,"gamepagemodalurl",n[15]),G(a,"integratedgameframedesktop",n[16]),G(a,"integratedgameframemobile",n[17]),G(a,"casinogamesgridslider",n[20])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,64&t[0]&&G(a,"session",n[6]),128&t[0]&&G(a,"userid",n[7]),32&t[0]&&G(a,"lang",n[5]),134217728&t[0]&&i!==(i=""+(bo+(n[89].cellSize||"1x1")))&&G(a,"class",i),134217728&t[0]&&r!==(r=""+(bo+(n[89].cellSize||"1x1")))&&G(a,"part",r),256&t[0]&&G(a,"favorites",n[8]),1&t[0]&&G(a,"categoryid",n[0]),134217728&t[0]&&o!==(o=n[89].thumbnail)&&G(a,"gamethumbnail",o),134217728&t[0]&&s!==(s=n[89].name)&&G(a,"gamename",s),134217728&t[0]&&l!==(l=n[89].vendor.name)&&G(a,"gamevendor",l),134217728&t[0]&&c!==(c=n[89].launchUrl)&&G(a,"gamelaunchurl",c),134217728&t[0]&&d!==(d=n[89].isNew)&&G(a,"gameisnew",d),134217728&t[0]&&u!==(u=0<n[89].advancedTags?.length&&n[43](n[89].advancedTags))&&G(a,"gametag",u),134217728&t[0]&&m!==(m=n[89].cellSize)&&G(a,"gamecellsize",m),134217728&t[0]&&g!==(g=n[89].id)&&G(a,"gameid",g),134217728&t[0]&&p!==(p=n[89].hasFunMode)&&G(a,"gamefunmode",p),134217728&t[0]&&h!==(h=n[89].isFavorite)&&G(a,"gamefavorite",h),2048&t[0]&&G(a,"translationurl",n[11]),8192&t[0]&&G(a,"showgamename",n[13]),134217728&t[0]|128&t[1]&&f!==(f=1==n[38][n[89].id]?"connect":"disconnect")&&G(a,"connectlive",f),256&t[1]&&G(a,"visibilityconnect",n[39]),4096&t[0]&&G(a,"currency",n[12]),134217728&t[0]&&y!==(y=n[89].details?n[89].href:"")&&G(a,"livelobbyendpoint",y),512&t[0]&&G(a,"clientstyling",n[9]),1024&t[0]&&G(a,"clientstylingurl",n[10]),8&t[0]&&G(a,"endpoint",n[3]),16384&t[0]&&G(a,"livecasino",n[14]),32768&t[0]&&G(a,"gamepagemodalurl",n[15]),65536&t[0]&&G(a,"integratedgameframedesktop",n[16]),131072&t[0]&&G(a,"integratedgameframemobile",n[17]),1048576&t[0]&&G(a,"casinogamesgridslider",n[20]),v!==n[91]&&(w(),v=n[91],b())},d(e){e&&me(a),w()}}}(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function lo(e){let n,a,i=e[41]("searchedItems")+"";return{c(){n=ge("h3"),a=pe(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("searchedItems")+"")&&ye(a,i)},d(e){e&&me(n)}}}function co(e){let n,a,i=e[41]("noResults")+"";return{c(){n=ge("h3"),a=pe(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noResults")+"")&&ye(a,i)},d(e){e&&me(n)}}}function uo(e){let n,a,i=e[41]("recentSearchedItems")+"";return{c(){n=ge("h3"),a=pe(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("recentSearchedItems")+"")&&ye(a,i)},d(e){e&&me(n)}}}function mo(e){let n;return{c(){(n=ge("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function go(t){let a,i,r=!t[33]&&po(t),o=t[27],s=[];for(let e=0;e<o.length;e+=1)s[e]=ho(Rr(t,o,e));return{c(){r&&r.c(),a=he(),i=ge("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){r&&r.m(e,t),ue(e,a,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(i,null)},p(t,n){if(t[33]?r&&(r.d(1),r=null):r?r.p(t,n):((r=po(t)).c(),r.m(a.parentNode,a)),134479849&n[0]|4097&n[1]){let e;for(o=t[27],e=0;e<o.length;e+=1){const r=Rr(t,o,e);s[e]?s[e].p(r,n):(s[e]=ho(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){r&&r.d(e),e&&me(a),e&&me(i),j(s,e)}}}function po(e){let n,a,i=e[41]("noRecentSearch")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(at(e[42])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noRecentSearch")+"")&&ye(a,i)},d(e){e&&me(n)}}}function ho(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h;return{c(){G(n=ge("casino-game-thumbnail"),"class",a=""+(bo+(e[89].cellSize||"1x1"))),G(n,"part",i=""+(bo+(e[89].cellSize||"1x1"))),G(n,"session",e[6]),G(n,"userid",e[7]),G(n,"lang",e[5]),G(n,"searchitem",e[31]),G(n,"favorites",e[8]),G(n,"categoryid",e[0]),G(n,"gamethumbnail",r=e[89].thumbnail),G(n,"gamename",o=e[89].name),G(n,"gamevendor",s=e[89].vendor.name),G(n,"gamelaunchurl",l=e[89].launchUrl),G(n,"gameisnew",c=e[89].isNew),G(n,"gametag",d=0<e[89].advancedTags?.length&&e[43](e[89].advancedTags)),G(n,"gamecellsize",u=e[89].cellSize),G(n,"gameid",m=e[89].id),G(n,"gamefunmode",g=e[89].hasFunMode),G(n,"showgamename",e[13]),G(n,"translationurl",e[11]),G(n,"gamefavorite",p=e[89].isFavorite),G(n,"currency",e[12]),G(n,"livelobbyendpoint",h=e[89].details?e[89].href:""),G(n,"clientstyling",e[9]),G(n,"clientstylingurl",e[10]),G(n,"endpoint",e[3]),G(n,"livecasino",e[14]),G(n,"gamepagemodalurl",e[15]),G(n,"integratedgameframedesktop",e[16]),G(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){134217728&t[0]&&a!==(a=""+(bo+(e[89].cellSize||"1x1")))&&G(n,"class",a),134217728&t[0]&&i!==(i=""+(bo+(e[89].cellSize||"1x1")))&&G(n,"part",i),64&t[0]&&G(n,"session",e[6]),128&t[0]&&G(n,"userid",e[7]),32&t[0]&&G(n,"lang",e[5]),1&t[1]&&G(n,"searchitem",e[31]),256&t[0]&&G(n,"favorites",e[8]),1&t[0]&&G(n,"categoryid",e[0]),134217728&t[0]&&r!==(r=e[89].thumbnail)&&G(n,"gamethumbnail",r),134217728&t[0]&&o!==(o=e[89].name)&&G(n,"gamename",o),134217728&t[0]&&s!==(s=e[89].vendor.name)&&G(n,"gamevendor",s),134217728&t[0]&&l!==(l=e[89].launchUrl)&&G(n,"gamelaunchurl",l),134217728&t[0]&&c!==(c=e[89].isNew)&&G(n,"gameisnew",c),134217728&t[0]&&d!==(d=0<e[89].advancedTags?.length&&e[43](e[89].advancedTags))&&G(n,"gametag",d),134217728&t[0]&&u!==(u=e[89].cellSize)&&G(n,"gamecellsize",u),134217728&t[0]&&m!==(m=e[89].id)&&G(n,"gameid",m),134217728&t[0]&&g!==(g=e[89].hasFunMode)&&G(n,"gamefunmode",g),8192&t[0]&&G(n,"showgamename",e[13]),2048&t[0]&&G(n,"translationurl",e[11]),134217728&t[0]&&p!==(p=e[89].isFavorite)&&G(n,"gamefavorite",p),4096&t[0]&&G(n,"currency",e[12]),134217728&t[0]&&h!==(h=e[89].details?e[89].href:"")&&G(n,"livelobbyendpoint",h),512&t[0]&&G(n,"clientstyling",e[9]),1024&t[0]&&G(n,"clientstylingurl",e[10]),8&t[0]&&G(n,"endpoint",e[3]),16384&t[0]&&G(n,"livecasino",e[14]),32768&t[0]&&G(n,"gamepagemodalurl",e[15]),65536&t[0]&&G(n,"integratedgameframedesktop",e[16]),131072&t[0]&&G(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function fo(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function yo(e){let n;return{c(){(n=ge("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function vo(n){let a;function i(e){return e[24]?Nr:e[29]?Dr:Pr}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A,fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),o.m(a,null),n[57](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[57](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Er,Ir,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});const bo="game-tile-";function wo(a,e,l){let D;rt(a,ai,e=>l(41,D=e));let i,r,o,t,N,n,s,c,A,d,{endpoint:u=""}=e,{datasource:m=""}=e,{lang:g=""}=e,{session:p=""}=e,{userid:h=""}=e,{favorites:f=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,{currency:B=""}=e,{categoryid:w=""}=e,{showgamename:O=""}=e,{livecasino:z="false"}=e,{gamepagemodalurl:j="true"}=e,{integratedgameframedesktop:H="false"}=e,{integratedgameframemobile:U="false"}=e,{casinomygames:W="false"}=e,{addfilterselector:Y="false"}=e,{addsortingselector:V="false"}=e,{filterbylogo:Z=""}=e,{casinogamesgridslider:q="false"}=e,{fetchviaevent:x="false"}=e,{showallpage:K="casino"}=e,{actionevent:J="CategoryChange"}=e,{displayedgamecount:X="10"}=e,{showallbuttongamescount:Q="10"}=e,$=!0,ee=!1,C=!0,te=window.navigator.userAgent,k=[],F=!0,G=40,S=!1,ne=!1,ae=!1,L=!1,ie=!1,re=!0,oe=!1,se=!1,le=!1,M=new Array(1e4),I={},ce="",E="",T=[],_={items:[],count:0,name:""},de=(Object.keys(Ri).forEach(e=>{_i(e,Ri[e])}),void 0!==document.hidden?c="hidden":void 0!==document.msHidden?c="msHidden":void 0!==document.webkitHidden&&(c="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>G&&he(w),l(38,I[t]=1,I)):l(38,I[t]=0,I)})}));const ue=(e,t)=>{let a=u+`/v1/player/${t}/favorites/`,i=(l(23,$=!0),{method:"GET",headers:{"X-SessionID":e}});return new Promise((t,n)=>{fetch(a,i).then(e=>e.json()).then(e=>{l(23,$=!1),d=[],e?(e.items.forEach(e=>{e.gameModel&&(d.push(e),T.includes(e.id)||T.push(e.id))}),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d})):d=[],"FAVORITES"===w&&pe(d),k.forEach(e=>{e.isFavorite=P(e.id)});e=k;l(27,k=void 0),l(27,k=e),t(d)}).catch(e=>{console.error(e),n(e)})})},R=(a,e,i)=>{l(23,$=!0);let t,r="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return r=1<(a.match(/\$/g)||[]).length?(t=a.split("$").slice(0,2).join("$"),new URL(`${u}/v1/casino/groups/${m}/${t}/subGroups`)):new URL(`${u}/v1/casino/groups/${m}/`+a),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",it(te)),r.searchParams.append("pagination",`games(offset=${e},limit=${i})`),r.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:a},window.location.href),o&&o[a])if(o[a].length&&!1===C&&!1===se){let t="";l(32,ie=!0),o[a].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),r.searchParams.append("filter",""+t)}else l(32,ie=!1);s&&(s[a]?s[a]&&"All"!=s[a]&&("isNew"==s[a]||"advancedTags(name(hot))"==s[a]?(r.searchParams.append("sortedField",`games(${s[a]})`),r.searchParams.append("orderBy","DES")):r.searchParams.append("sortedField",`games(${s[a]})`)):E&&"All"!=E&&("advancedTags(name(hot))"==E||"isNew"==E?(r.searchParams.append("sortedField",`games(${E})`),r.searchParams.append("orderBy","DES")):r.searchParams.append("sortedField",`games(${E})`))),fetch(r).then(e=>e.json()).then(e=>{l(23,$=!1),1<(a.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==a)return e})[0]),l(50,A=!0),l(24,ee=!1),N=e.games.total,t(e)},e=>{l(24,ee=!0),console.error(e),n(e)})})},me=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==w&&(l(29,S=!1),l(25,C=!1),l(28,F=!1),l(27,k=t.data.mostPlayedGames),l(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(23,$=!1);break;case"LastPlayedData":"LASTPLAYED"==w&&(l(29,S=!1),l(25,C=!1),l(28,F=!1),l(27,k=t.data.lastPlayedGames),l(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(23,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(29,S=!0),l(30,ne=!0),0<t.data.searchData.length?(l(27,k=t.data.searchData),l(33,re=!0),k&&k.forEach(e=>{e.isFavorite=P(e.id)})):(l(27,k=[]),l(33,re=!1));break;case"OutOfRecentSearches":l(29,S=!1),l(30,ne=!1);break;case"SearchData":l(29,S=!0),l(30,ne=!1),l(27,k=t.data.searchData.items||[]),l(31,L=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=P(e.id)});break;case"CategoryData_"+w:l(29,S=!1),l(25,C=!0),l(1,Y="false"),l(2,V="false"),l(28,F=!0),l(31,L=!1),le=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),R(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(26,o=e),l(27,k=o.games.items),k&&k.forEach(e=>{e.isFavorite=P(e.id)})});break;case"CategoryChange":G=20;break;case"ApplySorter":l(0,w=t.data.itemId),E=t.data.sortBy,R(w,0,G).then(e=>{l(26,o=e),l(27,k=o.games.items),l(28,F=!1)});break;case"CategoryUpdate":l(29,S=!1),l(25,C=!1),l(31,L=!1),le=!0,l(0,w=t.data.itemId),"MOSTPLAYED"!==w&&l(28,F=!1),"true"!==W&&R(w,0,G).then(e=>{l(26,o=e),o.games.items.forEach(e=>{e.isFavorite=P(e.id)}),l(27,k=o.games.items),l(28,F=!1),k.length<10&&0==t.data.origin&&(ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ae},window.location.href)},500))});break;case"SetUnfavoredGame"+w:e=`${u}/v1/player/${h}/favorites`,n=p,a=t.data.id,fetch(e+"/"+a,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+a},window.location.href),ge(e,n)}),T.includes(a)&&(T=T.filter(e=>e!=a));break;case"SetFavoredGame"+w:(async(e,t,n)=>{await ge(e,t),T.includes(n)||T.push(n);let a={items:T},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(e,i).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)}).catch(e=>{console.error("Err",e)})})(`${u}/v1/player/${h}/favorites`,p,t.data.id);break;case"UserSessionID":i=t.data.session,r=t.data.userID,"true"==f&&r&&r.length&&i&&0<i.length&&ue(i,r);break;case"UpdateFavoredList":"FAVORITES"===w&&ge(t.data.url,t.data.sessionID)}var e,n,a},P=t=>{var e;return null!=(e=null==d?void 0:d.some(e=>e.id===t))&&e};const ge=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>{d=e.items,x?(d.forEach(e=>{T.includes(e.id)||T.push(e.id)}),o&&(l(27,k=o.games.items),k.forEach(e=>{e.isFavorite=P(e.id)}))):d.forEach(e=>{e.isFavorite=P(e.id)}),"FAVORITES"===w&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d}),pe(d))}).catch(e=>{console.error(e)}),pe=e=>{e&&(0<(e=(null==e?void 0:e.items)||e||[]).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!0)}),l(40,_.items=ii(e,_),_),l(40,_.name="Favorites",_),l(23,$=!1))},he=e=>{G+=1,l(34,oe=!0),G<=N&&R(e,0,G).then(e=>{l(26,o=e),o.games.items.length>k.length&&(l(27,k=o.games.items),k.forEach(e=>{e.isFavorite=P(e.id)})),l(34,oe=!1)})},fe=e=>{window.postMessage({type:""+J,itemId:e,showallpage:K},window.location.href)};return et(()=>(window.addEventListener("visibilitychange",e=>{document[c]?l(39,ce="disconnect"):l(39,ce="connect")}),window.addEventListener("message",me,!1),()=>{window.removeEventListener("message",me),window.removeEventListener("visibilitychange",me)})),a.$$set=e=>{"endpoint"in e&&l(3,u=e.endpoint),"datasource"in e&&l(4,m=e.datasource),"lang"in e&&l(5,g=e.lang),"session"in e&&l(6,p=e.session),"userid"in e&&l(7,h=e.userid),"favorites"in e&&l(8,f=e.favorites),"clientstyling"in e&&l(9,y=e.clientstyling),"clientstylingurl"in e&&l(10,v=e.clientstylingurl),"translationurl"in e&&l(11,b=e.translationurl),"currency"in e&&l(12,B=e.currency),"categoryid"in e&&l(0,w=e.categoryid),"showgamename"in e&&l(13,O=e.showgamename),"livecasino"in e&&l(14,z=e.livecasino),"gamepagemodalurl"in e&&l(15,j=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(16,H=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(17,U=e.integratedgameframemobile),"casinomygames"in e&&l(18,W=e.casinomygames),"addfilterselector"in e&&l(1,Y=e.addfilterselector),"addsortingselector"in e&&l(2,V=e.addsortingselector),"filterbylogo"in e&&l(19,Z=e.filterbylogo),"casinogamesgridslider"in e&&l(20,q=e.casinogamesgridslider),"fetchviaevent"in e&&l(45,x=e.fetchviaevent),"showallpage"in e&&l(46,K=e.showallpage),"actionevent"in e&&l(47,J=e.actionevent),"displayedgamecount"in e&&l(48,X=e.displayedgamecount),"showallbuttongamescount"in e&&l(49,Q=e.showallbuttongamescount)},a.$$.update=()=>{if(32&a.$$.dirty[0]&&g&&(n=g,nt.set(n)),57&a.$$.dirty[0]|409600&a.$$.dirty[1]&&("false"===x||""===x)&&u&&g&&w&&m&&X&&Q&&(n=w,e=X,t=Q,""!==n)&&(l(29,S=!1),l(25,C=!0),l(1,Y="false"),l(2,V="false"),l(31,L=!1),le=!1,l(28,F=+t<+e),R(n,0,+e).then(e=>{l(26,o=e),l(27,k=o.games.items),k&&k.forEach(e=>{e.isFavorite=P(e.id)})})),456&a.$$.dirty[0]&&"true"===f&&u&&p&&h&&ue(p,h),4194304&a.$$.dirty[0]|524288&a.$$.dirty[1]&&A&&M&&le&&M.forEach((e,t)=>{e&&(e.elems_index=t,de.observe(e))}),225&a.$$.dirty[0]&&g&&w&&h&&p)switch(w){case"FAVORITES":l(37,se=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===W&&l(37,se=!1)}if(2048&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_i(e,t[e])})}).catch(e=>{console.log(e)}),2097664&a.$$.dirty[0]&&y&&s&&((t=document.createElement("style")).innerHTML=y,s.appendChild(t)),2098176&a.$$.dirty[0]&&v&&s){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t,n},[w,Y,V,u,m,g,p,h,f,y,v,b,B,O,z,j,H,U,W,Z,q,s,M,$,ee,C,o,k,F,S,ne,L,ie,re,oe,t,n,se,I,ce,_,D,te,a=>{if(0===(null==a?void 0:a.length))return"";let i,r="",o=999999999999;const s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ni(e).diff(s)<o&&(o=Ni(e).diff(s),i=t),Ni(s).isAfter(n)&&Ni(s).isBefore(e)&&(r=a[i].name)}),r},fe,x,K,J,X,Q,A,function(e){tt[e?"unshift":"push"](()=>{n=e,l(36,n)})},e=>fe(o.id),function(e,t){tt[e?"unshift":"push"](()=>{M[t]=e,l(22,M)})},function(e){tt[e?"unshift":"push"](()=>{t=e,l(35,t)})},function(e){tt[e?"unshift":"push"](()=>{n=e,l(36,n)})},function(e){tt[e?"unshift":"push"](()=>{t=e,l(35,t)})},function(e){tt[e?"unshift":"push"](()=>{s=e,l(21,s)})}]}function xo(e,t){s(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, 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-casino-typography, 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 .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-casino-typography, 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 0 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}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},wo,vo,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),m()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),m()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),m()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),m()}});const $o={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"}};function Co(e,t,n){e=e.slice();return e[36]=t[n],e[38]=n,e}function ko(n){let a,i,r,o,s,l,c,d=!n[7]&&Fo(n),u=n[7]&&So(n);return{c(){a=ge("div"),i=ge("div"),(r=ge("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=he(),d&&d.c(),s=he(),u&&u.c(),fe(r,"class","ModalCloseBtn"),fe(r,"role","button"),fe(i,"class","ModalContainer"),fe(a,"class","ModalWindow")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),d&&d.m(i,null),de(i,s),u&&u.m(i,null),l||(c=U(r,"click",n[12]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Fo(e)).c(),d.m(i,s)),e[7]?u?u.p(e,t):((u=So(e)).c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&me(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Fo(t){let n,a,i,r,o,s,e=t[9]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Go(Co(t,l,e));return{c(){n=ge("div"),a=ge("main"),i=ge("div");for(let e=0;e<c.length;e+=1)c[e].c();r=he(),o=ge("p"),s=pe(e),fe(i,"class","items"),S(i,"transform","translateY("+t[6]+"px)"),fe(a,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,i);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(i,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 a=Co(t,l,e);c[e]?c[e].p(a,n):(c[e]=Go(a),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&S(i,"transform","translateY("+t[6]+"px)"),512&n[0]&&e!==(e=t[9]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),j(c,e)}}}function Go(e){let n,a,i,r,o,s;return{c(){n=ge("div"),a=ge("img"),s=he(),fe(a,"class","RandomGameImage"),ce(a.src,i=e[36].thumbnail)||fe(a,"src",i),fe(a,"alt",r=e[36].name),fe(a,"title",o=e[36].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,a),de(n,s)},p(e,t){16&t[0]&&!ce(a.src,i=e[36].thumbnail)&&fe(a,"src",i),16&t[0]&&r!==(r=e[36].name)&&fe(a,"alt",r),16&t[0]&&o!==(o=e[36].name)&&fe(a,"title",o)},d(e){e&&me(n)}}}function So(e){let n;function a(e){return e[8]?Mo:Lo}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Lo(e){let n,a,i=e[9]("noGames")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","RandomGameLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&i!==(i=e[9]("noGames")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Mo(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,C=n[3].name+"",k=n[3].vendor.name+"",F=n[9]("playNowRandomGame")+"";return{c(){a=ge("div"),i=ge("div"),r=ge("img"),c=he(),(d=ge("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-button-typography, 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=he(),m=ge("div"),g=ge("p"),p=pe(C),h=he(),f=ge("p"),y=pe(k),v=he(),b=ge("button"),w=pe(F),fe(r,"class","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(i,"class","item"),fe(g,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(b,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(a,"class","RandomGameWrapper")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,c),de(i,d),de(a,u),de(a,m),de(m,g),de(g,p),de(m,h),de(m,f),de(f,y),de(m,v),de(m,b),de(b,w),x||($=[U(d,"click",n[21]),U(b,"click",n[22])],x=!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(p,C),8&t[0]&&k!==(k=e[3].vendor.name+"")&&ye(y,k),512&t[0]&&F!==(F=e[9]("playNowRandomGame")+"")&&ye(w,F)},d(e){e&&me(a),x=!1,z($)}}}function Io(e){let n,a,i=e[9]("playRandomGame")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&i!==(i=e[9]("playRandomGame")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Eo(e){let n,a;return{c(){n=ge("span"),a=pe(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2&t[0]&&ye(a,e[1])},d(e){e&&me(n)}}}function To(n){let a,i,r,o,s,l,c,d,u=n[5]&&ko(n);function m(e){return e[1]?Eo:e[1]?void 0:Io}let g=m(n),p=g&&g(n);return{c(){a=ge("div"),u&&u.c(),i=he(),r=ge("div"),o=ge("button"),p&&p.c(),s=he(),l=ge("span"),this.c=A,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(r,"class","RandomButtonWrapper"),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),u&&u.m(a,null),de(a,i),de(a,r),de(r,o),p&&p.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[24](a),c||(d=U(o,"click",n[23]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=ko(e)).c(),u.m(a,i)):u&&(u.d(1),u=null),g===(g=m(e))&&p?p.p(e,t):(p&&p.d(1),(p=g&&g(e))&&(p.c(),p.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:A,o:A,d(e){e&&me(a),u&&u.d(),p&&p.d(),n[24](null),c=!1,d()}}}function _o(n,e,a){let t;rt(n,ai,e=>a(9,t=e));let i,r,o,{endpoint:s=""}=e,{datasource:l=""}=e,{gameevent:c=""}=e,{lang:d=""}=e,{randombuttonicon:u=""}=e,{buttontext:m=""}=e,{translationurl:g=""}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{filteredrandomgamecategories:f=""}=e,y=[],v="",b=!1,w=0,x=0,$=!1,C=!1,k=window.navigator.userAgent;var F,G;({withLocale:F,translations:G}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(G),nt.set(F))}),Object.keys($o).forEach(e=>{xo(e,$o[e])});const S=e=>{C?(a(4,i=(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})(i)),a(6,w=0),x=0,a(7,$=!1),a(3,v=y[Math.floor(Math.random()*y.length)]),a(5,b=!0),clearInterval(r),r=setInterval(()=>{a(6,w-=75),20==++x&&(a(7,$=!0),clearInterval(r))},150)):(a(5,b=!0),a(7,$=!0)),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},L=()=>{window.postMessage({type:c,gameId:v.gId||v.id},window.location.href),a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)})};return n.$$set=e=>{"endpoint"in e&&a(13,s=e.endpoint),"datasource"in e&&a(14,l=e.datasource),"gameevent"in e&&a(15,c=e.gameevent),"lang"in e&&a(16,d=e.lang),"randombuttonicon"in e&&a(0,u=e.randombuttonicon),"buttontext"in e&&a(1,m=e.buttontext),"translationurl"in e&&a(17,g=e.translationurl),"clientstyling"in e&&a(18,p=e.clientstyling),"clientstylingurl"in e&&a(19,h=e.clientstylingurl),"filteredrandomgamecategories"in e&&a(20,f=e.filteredrandomgamecategories)},n.$$.update=()=>{if(65536&n.$$.dirty[0]&&d&&(t=d,nt.set(t)),131072&n.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xo(e,t[e])})}).catch(e=>{console.log(e)}),24576&n.$$.dirty[0]&&s&&l&&((t=new URL(s+"/v1/casino/games")).searchParams.append("platform",it(k)),t.searchParams.append("datasource",l),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),f&&t.searchParams.append("filter","groups="+f),t.searchParams.append("expand","categories,vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{(y=e.items).length?(a(4,i=y.slice(0,19)),a(8,C=!0)):(a(4,i=[]),a(8,C=!1))}).catch(e=>{console.log(e),a(8,C=!1)})),262148&n.$$.dirty[0]&&p&&o&&((e=document.createElement("style")).innerHTML=p,o.appendChild(e)),524292&n.$$.dirty[0]&&h&&o){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t},[u,m,o,v,i,b,w,$,C,t,S,L,()=>{a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,l,c,d,g,p,h,f,()=>S(!0),()=>L(),()=>S(),function(e){tt[e?"unshift":"push"](()=>{o=e,a(2,o)})}]}function Ro(e,t){s(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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, 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, 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-casino-color-primary, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},_o,To,n,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[15]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});const Po={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};function Do(n){let a;return{c(){(a=ge("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=A},m(e,t){ue(e,a,t),n[3](a)},p:A,i:A,o:A,d(e){e&&me(a),n[3](null)}}}function No(t,e,n){let a,{clientstyling:i=""}=e,{clientstylingurl:r=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,i=e.clientstyling),"clientstylingurl"in e&&n(2,r=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&i&&a&&((e=document.createElement("style")).innerHTML=i,a.appendChild(e)),5&t.$$.dirty&&r&&a){let e=new URL(r),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[a,i,r,function(e){tt[e?"unshift":"push"](()=>{a=e,n(0,a)})}]}function Ao(e,t,n){e=e.slice();return e[67]=t[n],e}function Bo(e,t,n){e=e.slice();return e[70]=t[n],e}function Oo(n){let i,a,r,o,s,l,c,d,e,u,m,g,p,h,f,y,v,b,w,x=n[17],$=[];for(let e=0;e<x.length;e+=1)$[e]=Uo(Bo(n,x,e));function C(e){return e[18]?Yo:Wo}let k=C(n),F=k(n);return{c(){i=ge("div"),a=ge("div"),r=ge("div");for(let e=0;e<$.length;e+=1)$[e].c();o=he(),s=ge("div"),l=ge("button"),c=H("svg"),d=H("path"),u=he(),m=ge("button"),g=H("svg"),p=H("path"),y=he(),F.c(),fe(r,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].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(p,"style",h=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(g,"id","Component_46_2"),fe(g,"data-name","Component 46 – 2"),fe(g,"xmlns","http://www.w3.org/2000/svg"),fe(g,"width","15"),fe(g,"height","15"),fe(g,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(i,"class",v="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r);for(let e=0;e<$.length;e+=1)$[e]&&$[e].m(r,null);de(a,o),de(a,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,g),de(g,p),de(i,y),F.m(i,null),b||(w=[U(l,"click",n[42]),U(m,"click",n[43])],b=!0)},p(t,n){if(1704963&n[0]){let e;for(x=t[17],e=0;e<x.length;e+=1){var a=Bo(t,x,e);$[e]?$[e].p(a,n):($[e]=Uo(a),$[e].c(),$[e].m(r,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=x.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&h!==(h=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(p,"style",h),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),k===(k=C(t))&&F?F.p(t,n):(F.d(1),(F=k(t))&&(F.c(),F.m(i,null))),8192&n[0]&&v!==(v="CasinoWinners "+(t[13]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&me(i),j($,e),F.d(),b=!1,z(w)}}}function zo(e){let n;return{c(){G(n=ge("general-animation-loading"),"clientstyling",e[4]),G(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&G(n,"clientstyling",e[4]),32&t[0]&&G(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function jo(n){let a,i,r,o,s,l=n[19]("recentWinners")+"";return{c(){a=ge("button"),i=pe(l),fe(a,"class",r="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),o||(s=U(a,"click",n[40]),o=!0)},p(e,t){524288&t[0]&&l!==(l=e[19]("recentWinners")+"")&&ye(i,l),1025&t[0]&&r!==(r="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",r)},d(e){e&&me(a),o=!1,s()}}}function Ho(n){let a,i,r,o,s,l,c=n[19]("topWinners")+"";return{c(){a=ge("button"),i=pe(c),r=he(),fe(a,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),de(a,r),s||(l=U(a,"click",n[41]),s=!0)},p(e,t){524288&t[0]&&c!==(c=e[19]("topWinners")+"")&&ye(i,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function Uo(e){let n,a,i="recent"==e[70]&&jo(e),r="top"==e[70]&&Ho(e);return{c(){i&&i.c(),n=he(),r&&r.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),r&&r.m(e,t),ue(e,a,t)},p(e,t){"recent"==e[70]?i?i.p(e,t):((i=jo(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[70]?r?r.p(e,t):((r=Ho(e)).c(),r.m(a.parentNode,a)):r&&(r.d(1),r=null)},d(e){i&&i.d(e),e&&me(n),r&&r.d(e),e&&me(a)}}}function Wo(n){let i,r=n[11],o=[];for(let e=0;e<r.length;e+=1)o[e]=Vo(Ao(n,r,e));return{c(){i=ge("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","WinnersSlider")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null);n[45](i)},p(t,n){if(6883468&n[0]){let e;for(r=t[11],e=0;e<r.length;e+=1){var a=Ao(t,r,e);o[e]?o[e].p(a,n):(o[e]=Vo(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){e&&me(i),j(o,e),n[45](null)}}}function Yo(e){let n;return{c(){G(n=ge("general-animation-loading"),"clientstyling",e[4]),G(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&G(n,"clientstyling",e[4]),32&t[0]&&G(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Vo(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,C,k,F,G,S=n[67].gameName+"",L=n[21](n[67].username)+"",M=n[19]("won")+"",I=n[67].specifiedCurrencyAmount.toFixed(2)+"",E=(n[7]?n[3]:n[2])+"";function T(){return n[44](n[67])}return{c(){a=ge("div"),i=ge("div"),r=ge("img"),l=he(),c=ge("p"),d=pe(S),u=he(),m=ge("p"),g=pe(L),p=he(),h=ge("p"),f=pe(M),y=he(),v=ge("p"),b=pe(I),w=he(),x=ge("span"),$=pe(E),C=he(),ce(r.src,o=n[67]?.gameModel?.thumbnail)||fe(r,"src",o),fe(r,"alt",s=n[67]?.gameModel?.thumbnail),fe(r,"class","WinnersImage"),fe(h,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(a,"class",k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,l),de(i,c),de(c,d),de(i,u),de(i,m),de(m,g),de(i,p),de(i,h),de(h,f),de(i,y),de(i,v),de(v,b),de(v,w),de(v,x),de(x,$),de(a,C),F||(G=U(r,"click",T),F=!0)},p(e,t){n=e,2048&t[0]&&!ce(r.src,o=n[67]?.gameModel?.thumbnail)&&fe(r,"src",o),2048&t[0]&&s!==(s=n[67]?.gameModel?.thumbnail)&&fe(r,"alt",s),2048&t[0]&&S!==(S=n[67].gameName+"")&&ye(d,S),2048&t[0]&&L!==(L=n[21](n[67].username)+"")&&ye(g,L),524288&t[0]&&M!==(M=n[19]("won")+"")&&ye(f,M),2048&t[0]&&I!==(I=n[67].specifiedCurrencyAmount.toFixed(2)+"")&&ye(b,I),140&t[0]&&E!==(E=(n[7]?n[3]:n[2])+"")&&ye($,E),65536&t[0]&&k!==(k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(a,"class",k)},d(e){e&&me(a),F=!1,G()}}}function Zo(n){let a;function i(e){return e[14]||e[15]?zo:Oo}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A},m(e,t){ue(e,a,t),o.m(a,null),n[46](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[46](null)}}}function qo(n,e,a){let t;rt(n,ai,e=>a(19,t=e));let i,r,N,o,A,s,B,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:g=""}=e,{periodrecent:p="Today"}=e,{periodtop:h="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:v="1"}=e,{vendorCategory:b="All"}=e,{lang:w="en"}=e,{isrecentavailable:x="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:C=""}=e,{usercurrency:k=""}=e,{clientstyling:F=""}=e,{clientstylingurl:G=""}=e,{enableautoscroll:S=""}=e,{tabsorder:L=""}=e,{translationurl:M=""}=e,{winnersdatasources:I=""}=e,{hascustomstyling:E="false"}=e,T=[],_=0,R=0,O=window.navigator.userAgent,P=!0,D=!1,z=!1,j=[],H=!1;Object.keys(Po).forEach(e=>{Ro(e,Po[e])});const U=()=>{j=I.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/v1/casino/${r}-winners`);a(18,H=!0),t.searchParams.append("limit","recent"==r?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==r?p:h),t.searchParams.append("language",w),t.searchParams.append("amountLimit",v),t.searchParams.append("vendorCategory",b),j.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{a(11,T=[]),a(11,T=e.items.map(e=>e)),a(18,H=!1),setTimeout(()=>{a(12,R=Math.round(i.offsetWidth/225)),V(),"true"==S&&(clearInterval(l),_=0,R<B?l=setInterval(()=>{K()},3e3):clearInterval(l)),a(14,P=!1)},5)})},1e3)},W=e=>{r!==e&&(a(11,T=[]),a(10,r=e),U())},Y=(e,t,n,a)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(A||"Not logged in")})},V=n=>{var e=[...i.children];B=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{a(16,z=!0)},10)},Z=()=>{V(_)},q=()=>{var e;R>=T.length||(e=T.length,0===_?_=e-R:_-R<0?_=0:_-=R,Z())},K=()=>{var e;R>=T.length||(e=T.length,"true"==S&&(_===e-R?_=0:_++),"false"==S&&(_===e-R?_=0:e-R<_+R?_=e-R:_+=R),Z())},J=()=>{a(39,d=o?k:C)};return et(()=>(a(13,N=at(O)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&a(26,u=e.endpoint),"session"in e&&a(27,m=e.session),"userid"in e&&a(28,g=e.userid),"periodrecent"in e&&a(29,p=e.periodrecent),"periodtop"in e&&a(30,h=e.periodtop),"numberusersrecent"in e&&a(31,f=e.numberusersrecent),"numberuserstop"in e&&a(32,y=e.numberuserstop),"amountlimit"in e&&a(25,v=e.amountlimit),"vendorCategory"in e&&a(33,b=e.vendorCategory),"lang"in e&&a(34,w=e.lang),"isrecentavailable"in e&&a(0,x=e.isrecentavailable),"istopavailable"in e&&a(1,$=e.istopavailable),"defaultcurrency"in e&&a(2,C=e.defaultcurrency),"usercurrency"in e&&a(3,k=e.usercurrency),"clientstyling"in e&&a(4,F=e.clientstyling),"clientstylingurl"in e&&a(5,G=e.clientstylingurl),"enableautoscroll"in e&&a(6,S=e.enableautoscroll),"tabsorder"in e&&a(35,L=e.tabsorder),"translationurl"in e&&a(36,M=e.translationurl),"winnersdatasources"in e&&a(37,I=e.winnersdatasources),"hascustomstyling"in e&&a(38,E=e.hascustomstyling)},n.$$.update=()=>{if(1644167171&n.$$.dirty[0]|31&n.$$.dirty[1]&&x&&$&&p&&h&&f&&y&&v&&b&&w&&L&&(a(17,c=L.split(",")),a(10,r=c[0]),"false"==x&&a(25,v=""),J(),a(14,P=!1)),134217728&n.$$.dirty[0]&&m&&(a(7,o=!0),A=g),140&n.$$.dirty[0]&&o&&(k||C)&&J(),67108864&n.$$.dirty[0]|320&n.$$.dirty[1]&&u&&I&&d&&U(),8&n.$$.dirty[1]&&w&&(t=w,nt.set(t)),32&n.$$.dirty[1]&&M&&(t=new URL(M),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ro(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[1]&&E&&"true"===E&&(F||G||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!F)&&G&&a(15,D=!0),272&n.$$.dirty[0]&&F&&s&&((e=document.createElement("style")).innerHTML=F,s.appendChild(e)),288&n.$$.dirty[0]&&G&&s){let e=new URL(G),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500),a(15,D=!1)})}var e,t},[x,$,C,k,F,G,S,o,s,i,r,T,R,N,P,D,z,c,H,t,W,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Y,q,K,v,u,m,g,p,h,f,y,b,w,L,M,I,E,d,()=>W("recent"),()=>W("top"),()=>q(),()=>K(),e=>Y(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){tt[e?"unshift":"push"](()=>{i=e,a(9,i)})},function(e){tt[e?"unshift":"push"](()=>{s=e,a(8,s)})}]}function Ko(e,t){s(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},No,Do,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, 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-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, 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:last-child{margin-right:0}.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}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},qo,Zo,n,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:25,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:35,translationurl:36,winnersdatasources:37,hascustomstyling:38},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[27]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[28]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[30]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[25]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[35]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[37]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[38]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});const Jo={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."}};function Xo(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function Qo(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b;function w(e){return e[5]?ns:as}let x=w(n),$=x(n);return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=ge("div"),s=ge("img"),c=he(),d=ge("div"),$.c(),u=he(),m=ge("div"),g=ge("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(g.src,p=n[11])||fe(g,"src",p),fe(g,"alt",""),fe(m,"class","title"),fe(r,"class",h="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),S(r,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(a,"class",f=n[12]?"DisplayNone":""),fe(a,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(o,s),de(r,c),de(r,d),$.m(d,null),de(r,u),de(r,m),de(m,g),v||(b=U(i,"click",n[31]),v=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(d,null))),2048&t[0]&&!ce(g.src,p=e[11])&&fe(g,"src",p),49&t[0]&&h!==(h="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(r,"class",h),1024&t[0]&&S(r,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(a,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(a,"part",y)},d(e){e&&me(a),$.d(),v=!1,b()}}}function es(e){let n;return{c(){fe(n=ge("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function ts(e){let n;return{c(){(n=ge("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function ns(e){let n,a,i,r,o,s,N,l,c,A,B,d,O,z,u,m,g,p,h,j,f,y,H,U,v,W,Y,b,w,x,$,C,k,V,F,G,Z,q,S,K,J,L,M,I,E,T,X,_,R,Q,ee,P,te,D=e[8][0]+"",ne=e[7][0]+"",ae=e[8][1]+"",ie=e[7][1]+"",re=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=ge("div"),a=ge("div"),i=ge("div"),r=ge("img"),s=ge("span"),N=pe(D),l=ge("span"),c=ge("span"),A=pe(ne),B=he(),d=ge("span"),O=pe(e[1]),z=he(),u=ge("div"),m=ge("div"),g=ge("img"),h=ge("span"),j=pe(ae),f=ge("span"),y=ge("span"),H=pe(ie),U=he(),v=ge("span"),W=pe(e[1]),Y=he(),b=ge("div"),w=ge("div"),x=ge("div"),$=ge("img"),k=ge("span"),V=pe(re),F=ge("span"),G=ge("span"),Z=pe(oe),q=he(),S=ge("span"),K=pe(e[1]),J=he(),L=ge("div"),M=ge("div"),I=ge("img"),T=ge("span"),X=pe(se),_=ge("span"),R=ge("span"),Q=pe(le),ee=he(),P=ge("span"),te=pe(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(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(a,"class","displayCard"),fe(g,"class","displayCardIcon"),ce(g.src,p=e[9][1])||fe(g,"src",p),fe(g,"alt",""),fe(h,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(v,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(k,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(G,"class","jackpotValue"),fe(S,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(I,"class","displayCardIcon"),ce(I.src,E=e[9][3])||fe(I,"src",E),fe(I,"alt",""),fe(T,"class","cardLabel"),fe(M,"class","iconWrapper"),fe(R,"class","jackpotValue"),fe(P,"class","jackpot-currency"),fe(_,"class","cardTextWrapper"),fe(L,"class","displayCard"),fe(b,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(i,r),de(i,s),de(s,N),de(a,l),de(l,c),de(c,A),de(l,B),de(l,d),de(d,O),de(n,z),de(n,u),de(u,m),de(m,g),de(m,h),de(h,j),de(u,f),de(f,y),de(y,H),de(f,U),de(f,v),de(v,W),ue(e,Y,t),ue(e,b,t),de(b,w),de(w,x),de(x,$),de(x,k),de(k,V),de(w,F),de(F,G),de(G,Z),de(F,q),de(F,S),de(S,K),de(b,J),de(b,L),de(L,M),de(M,I),de(M,T),de(T,X),de(L,_),de(_,R),de(R,Q),de(_,ee),de(_,P),de(P,te)},p(e,t){512&t[0]&&!ce(r.src,o=e[9][0])&&fe(r,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(N,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(A,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(g.src,p=e[9][1])&&fe(g,"src",p),256&t[0]&&ae!==(ae=e[8][1]+"")&&ye(j,ae),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(H,ie),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"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(I.src,E=e[9][3])&&fe(I,"src",E),256&t[0]&&se!==(se=e[8][3]+"")&&ye(X,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(b)}}}function as(t){let i,r=Array(4),o=[];for(let e=0;e<r.length;e+=1)o[e]=is(Xo(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(898&n[0]){let e;for(r=Array(4),e=0;e<r.length;e+=1){var a=Xo(t,r,e);o[e]?o[e].p(a,n):(o[e]=is(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){j(o,e),e&&me(i)}}}function is(e){let n,a,i,r,o,s,l,c,d,u,m,g,p=e[8][e[50]]+"",h=(e[7][e[50]]??"")+"";return{c(){n=ge("div"),a=ge("div"),i=ge("img"),o=ge("span"),s=pe(p),l=ge("span"),c=ge("span"),d=pe(h),u=he(),m=ge("span"),g=pe(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,r=e[9][e[50]])||fe(i,"src",r),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(a,"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,a),de(a,i),de(a,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,g)},p(e,t){512&t[0]&&!ce(i.src,r=e[9][e[50]])&&fe(i,"src",r),256&t[0]&&p!==(p=e[8][e[50]]+"")&&ye(s,p),128&t[0]&&h!==(h=(e[7][e[50]]??"")+"")&&ye(d,h),2&t[0]&&ye(g,e[1])},d(e){e&&me(n)}}}function rs(n){let a;function i(e){return e[13]?ts:e[3]?es:Qo}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A},m(e,t){ue(e,a,t),o.m(a,null),n[32](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[32](null)}}}function os(a,e,i){let r,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:g=""}=e,{currency:p=""}=e,{backgroundsrcmobile:h=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,N=window.navigator.userAgent,C=!1,k=!1,F="",G=[],S=[],L=[],M=[],I=[],E="",T="",_=!1,R=!0,P=!1;Object.keys(Jo).forEach(e=>{Ko(e,Jo[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};return a.$$set=e=>{"visualstructure"in e&&i(0,s=e.visualstructure),"title"in e&&i(15,t=e.title),"caticon0"in e&&i(16,l=e.caticon0),"caticon1"in e&&i(17,c=e.caticon1),"caticon2"in e&&i(18,d=e.caticon2),"caticon3"in e&&i(19,u=e.caticon3),"iconlabels"in e&&i(20,m=e.iconlabels),"backgroundsrc"in e&&i(21,g=e.backgroundsrc),"currency"in e&&i(1,p=e.currency),"backgroundsrcmobile"in e&&i(22,h=e.backgroundsrcmobile),"titlelogopath"in e&&i(23,f=e.titlelogopath),"lang"in e&&i(24,y=e.lang),"clientstyling"in e&&i(25,v=e.clientstyling),"clientstylingurl"in e&&i(26,b=e.clientstylingurl),"translationurl"in e&&i(27,w=e.translationurl),"endpoint"in e&&i(28,x=e.endpoint),"gameid"in e&&i(29,$=e.gameid)},a.$$.update=()=>{if(268435456&a.$$.dirty[0]&&x&&(n=new URL(x+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{i(30,S=e.egtJackpotIds.map(e=>e))})),33554436&a.$$.dirty[0]&&r&&v&&((n=document.createElement("style")).innerHTML=v,r.appendChild(n)),67108868&a.$$.dirty[0]&&r&&b){i(12,_=!0);let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{i(12,_=!1)},500)})}var e,t,n;1358954498&a.$$.dirty[0]&&x&&y&&p&&0<S.length&&x&&y&&p&&((t=new URL(x+"/v1/casino/jackpots")).searchParams.append("filter","id="+$),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",p),fetch(t.href).then(e=>e.json().then(e=>{i(3,R=!1),o=e,S.includes($)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>G.push(+e)),e=o,i(6,F=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{i(13,P=!0),i(3,R=!1),console.error(e)}))),16777226&a.$$.dirty[0]&&p&&y&&!R&&(i(4,C=at(N)&&1<window.innerHeight/window.innerWidth),i(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==G.length&&i(7,L=G.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),i(8,M=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?i(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),i(0,s=D[0])),i(10,E=h&&C&&!k?h:g),i(11,T=f),i(9,I=[l,c,d,u])),16777216&a.$$.dirty[0]&&y&&(e=y,nt.set(e)),134217728&a.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ko(e,t[e])})}).catch(e=>{console.log(e)})},[s,p,r,R,C,k,F,L,M,I,E,T,_,P,n,t,l,c,d,u,m,g,h,f,y,v,b,w,x,$,S,()=>n(),function(e){tt[e?"unshift":"push"](()=>{r=e,i(2,r)})}]}function ss(e,t){s(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=':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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner: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:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},os,rs,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}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}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});const ls={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function cs(e,t,n){e=e.slice();return e[39]=t[n],e}function ds(e,t,n){e=e.slice();return e[42]=t[n],e}function us(n){let i,a,r,o,s,l,c,d,u,m,g,e,p,h,f=("vendor"==n[0]?n[8]("providers"):n[8]("collections"))+"",y=n[3],v=[];for(let e=0;e<y.length;e+=1)v[e]=ys(cs(n,y,e));return{c(){i=ge("div"),a=ge("div"),r=ge("p"),o=pe(f),s=he(),l=ge("div"),(c=ge("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=he(),(u=ge("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=he(),g=ge("div");for(let e=0;e<v.length;e+=1)v[e].c();fe(r,"class","Title"),fe(l,"class","ButtonsContainer"),fe(a,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":"")+" "+("vendor"===n[0]?"Providers":"Collections"))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(r,o),de(a,s),de(a,l),de(l,c),de(l,d),de(l,u),de(i,m),de(i,g);for(let e=0;e<v.length;e+=1)v[e]&&v[e].m(g,null);n[23](g),p||(h=[U(c,"click",n[19]),U(u,"click",n[20])],p=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("providers"):t[8]("collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var a=cs(t,y,e);v[e]?v[e].p(a,n):(v[e]=ys(a),v[e].c(),v[e].m(g,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=y.length}129&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":"")+" "+("vendor"===t[0]?"Providers":"Collections"))&&fe(i,"class",e)},d(e){e&&me(i),j(v,e),n[23](null),p=!1,z(h)}}}function ms(e){let n;return{c(){fe(n=ge("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function gs(e){let n,a,i=e[39].name+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[39].name+"")&&ye(a,i)},d(e){e&&me(n)}}}function ps(e){let n,a,i;return{c(){fe(n=ge("img"),"class","CategorySlideLogo"),ce(n.src,a=e[39].icon)||fe(n,"src",a),fe(n,"alt",i=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[39].icon)&&fe(n,"src",a),8&t[0]&&i!==(i=e[39].name+" icon")&&fe(n,"alt",i)},d(e){e&&me(n)}}}function hs(e){let n,a,i,r=e[42].name+"";return{c(){n=ge("p"),a=pe(r),fe(n,"title",i=e[42].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[42].name+"")&&ye(a,r),8&t[0]&&i!==(i=e[42].name)&&fe(n,"title",i)},d(e){e&&me(n)}}}function fs(n){let a,i,r,o,s,l,c,d;function u(){return n[21](n[42])}let m="true"==n[2]&&hs(n);return{c(){a=ge("div"),i=ge("img"),s=he(),m&&m.c(),l=he(),fe(i,"class","CategorySlideGameImage"),ce(i.src,r=n[42].defaultThumbnail)||fe(i,"src",r),fe(i,"alt",o=n[42].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,i),de(a,s),m&&m.m(a,null),de(a,l),c||(d=U(i,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(i.src,r=n[42].defaultThumbnail)&&fe(i,"src",r),8&t[0]&&o!==(o=n[42].name)&&fe(i,"alt",o),"true"==n[2]?m?m.p(n,t):((m=hs(n)).c(),m.m(a,l)):m&&(m.d(1),m=null)},d(e){e&&me(a),m&&m.d(),c=!1,d()}}}function ys(n){let a,i,r,o,s,l,c,d,u;function m(e){return"logo"==e[1]?ps:"title"==e[1]?gs:void 0}let g=m(n),p=g&&g(n),h=n[39].games,f=[];for(let e=0;e<h.length;e+=1)f[e]=fs(ds(n,h,e));function y(){return n[22](n[39])}return{c(){a=ge("div"),i=ge("div"),r=ge("div"),p&&p.c(),o=he(),s=ge("div");for(let e=0;e<f.length;e+=1)f[e].c();c=he(),fe(r,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),S(i,"background-image","url("+n[39]?.background+")"),S(i,"background-size","cover"),fe(a,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,a,t),de(a,i),de(i,r),p&&p.m(r,null),de(i,o),de(i,s);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(s,null);de(a,c),d||(u=U(i,"click",y),d=!0)},p(e,t){if(g===(g=m(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=g&&g(n))&&(p.c(),p.m(r,null))),2060&t[0]){let e;for(h=n[39].games,e=0;e<h.length;e+=1){const i=ds(n,h,e);f[e]?f[e].p(i,t):(f[e]=fs(i),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=h.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),8&t[0]&&S(i,"background-image","url("+n[39]?.background+")")},d(e){e&&me(a),p&&p.d(),j(f,e),d=!1,u()}}}function vs(n){let a;function i(e){return e[6]?ms:us}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A},m(e,t){ue(e,a,t),o.m(a,null),n[24](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[24](null)}}}function bs(n,e,a){let t;rt(n,ai,e=>a(8,t=e));let i,r,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:g=""}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,v=[],b=!0,w=0,x=0,$=0,C=window.navigator.userAgent;Object.keys(ls).forEach(e=>{ss(e,ls[e])});const k=n=>{(o=[...i.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>r=e.getBoundingClientRect().width),$=Math.round(i.offsetWidth/r)},F=()=>{k(w)},G=()=>{$>=x||(0===w?w=x-$:w-$<-1?w=0:w--,F())},S=()=>{$>=x||(w===x-$?w=0:x-$<w+1?w=x-$:w++,F())},L=(e,t,n,a)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return et(()=>{a(7,l=at(C))}),n.$$set=e=>{"endpoint"in e&&a(13,c=e.endpoint),"datasource"in e&&a(14,d=e.datasource),"lang"in e&&a(15,u=e.lang),"type"in e&&a(0,m=e.type),"titletype"in e&&a(1,g=e.titletype),"clientstyling"in e&&a(16,p=e.clientstyling),"clientstylingurl"in e&&a(17,h=e.clientstylingurl),"translationurl"in e&&a(18,f=e.translationurl),"collectionprovidersgamenames"in e&&a(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{a(6,b=!1);e=e.items.filter(e=>e.flags==m);a(3,v=e.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}})),x=v.length})),24&n.$$.dirty[0]&&v&&i&&k(),32768&n.$$.dirty[0]&&u&&(t=u,nt.set(t)),65568&n.$$.dirty[0]&&p&&s&&((e=document.createElement("style")).innerHTML=p,s.appendChild(e)),131104&n.$$.dirty[0]&&h&&s){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ss(e,t[e])})}).catch(e=>{console.log(e)})},[m,g,y,v,i,s,b,l,t,G,S,L,M,c,d,u,p,h,f,()=>G(),()=>S(),e=>L(e.gameId,e.launchUrl,e.name,e.subVendor),e=>M(e.id),function(e){tt[e?"unshift":"push"](()=>{i=e,a(4,i)})},function(e){tt[e?"unshift":"push"](()=>{s=e,a(5,s)})}]}function ws(e,t){s(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, 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;cursor:pointer}.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{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.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:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},bs,vs,n,{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),m())}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}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}});const xs={en:{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-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",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:{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:{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:{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:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",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.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{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:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{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:{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:{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:{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:{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."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};function $s(e,t){s(e,t)}const Cs={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započni sada!",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},ks={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 Fs(e,t,n){e=e.slice();return e[104]=t[n],e[106]=n,e}function Gs(e,t,n){e=e.slice();return e[101]=t[n],e}function Ss(n){let a,i,r,o,s,l,e=!at(n[36]),c=n[35]("playNow")+"",d=e&&function(){let n,a,i,r,o,s;return{c(){n=H("svg"),a=H("g"),i=H("g"),r=H("path"),o=H("path"),s=H("path"),fe(r,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),fe(r,"stroke","none"),fe(o,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),fe(o,"stroke","none"),fe(o,"fill","#fff"),fe(i,"id","Ellipse_664_copy"),fe(i,"data-name","Ellipse 664 copy"),fe(i,"transform","translate(26 13)"),fe(i,"fill","rgba(249,165,2,0)"),fe(s,"id","Rounded_Rectangle_683"),fe(s,"data-name","Rounded Rectangle 683"),fe(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),fe(s,"transform","translate(-1102 -885)"),fe(s,"fill","#fff"),fe(a,"id","Group_5260"),fe(a,"data-name","Group 5260"),fe(a,"transform","translate(-26 -13)"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"width","28"),fe(n,"height","28"),fe(n,"viewBox","0 0 28 28")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(i,r),de(i,o),de(a,s)},d(e){e&&me(n)}}}();return{c(){a=ge("button"),d&&d.c(),i=he(),r=ge("span"),o=pe(c),fe(a,"class","GameInfoBtn")},m(e,t){ue(e,a,t),d&&d.m(a,null),de(a,i),de(a,r),de(r,o),s||(l=U(a,"click",n[63]),s=!0)},p(e,t){16&t[1]&&c!==(c=e[35]("playNow")+"")&&ye(o,c)},d(e){e&&me(a),d&&d.d(),s=!1,l()}}}function Ls(e){let n,a,i=e[35]("new")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&i!==(i=e[35]("new")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Ms(e){let n,a;return{c(){n=ge("span"),a=pe(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function Is(e){let n,a,i=!e[22]&&e[20]&&e[21]&&Es(e);function r(e){return e[22]&&e[19]&&e[19]===Vs?_s:e[22]&&e[19]&&e[19]===Zs?Ts:void 0}let o=r(e),s=o&&o(e);return{c(){i&&i.c(),n=he(),s&&s.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Es(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){i&&i.d(e),e&&me(n),s&&s.d(e),e&&me(a)}}}function Es(e){let n,a,i,r,o,s,l,c,d,u,m=e[35]("opens")+"",g=Ni.utc(e[20]).local().format(e[21])+"",p=e[41](e[34])+"",h=e[40](e[26],e[27],e[25])+"";return{c(){n=ge("div"),a=ge("div"),i=pe(m),r=he(),o=ge("span"),s=pe(g),l=he(),c=new t(!1),d=he(),u=new t(!1),fe(a,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(o,s),de(n,l),c.m(p,n),de(n,d),u.m(h,n)},p(e,t){16&t[1]&&m!==(m=e[35]("opens")+"")&&ye(i,m),3145728&t[0]&&g!==(g=Ni.utc(e[20]).local().format(e[21])+"")&&ye(s,g),8&t[1]&&p!==(p=e[41](e[34])+"")&&c.p(p),234881024&t[0]&&h!==(h=e[40](e[26],e[27],e[25])+"")&&u.p(h)},d(e){e&&me(n)}}}function Ts(n){let a,i,r,o,s,l,c=n[41](n[34])+"",d=n[40](n[26],n[27],n[25])+"",u=new Array(Ks),m=[];for(let e=0;e<u.length;e+=1)m[e]=Ns(Fs(n,u,e));return{c(){a=ge("div"),i=ge("div");for(let e=0;e<m.length;e+=1)m[e].c();r=he(),o=new t(!1),s=he(),l=new t(!1),fe(i,"class","LiveIcons"),o.a=s,l.a=null,fe(a,"class",n[30])},m(e,t){ue(e,a,t),de(a,i);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);n[64](i),de(a,r),o.m(c,a),de(a,s),l.m(d,a)},p(t,n){if(536887296&n[0]|2049&n[1]){let e;for(u=new Array(Ks),e=0;e<u.length;e+=1){const o=Fs(t,u,e);m[e]?m[e].p(o,n):(m[e]=Ns(o),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}8&n[1]&&c!==(c=t[41](t[34])+"")&&o.p(c),234881024&n[0]&&d!==(d=t[40](t[26],t[27],t[25])+"")&&l.p(d),1073741824&n[0]&&fe(a,"class",t[30])},d(e){e&&me(a),j(m,e),n[64](null)}}}function _s(e){let n,a,i,r,o,s,l=e[41](e[34])+"",c=e[40](e[26],e[27],e[25])+"";function d(e){return e[32]?Bs:As}let u=d(e),m=u(e);return{c(){n=ge("div"),a=ge("div"),m.c(),i=he(),r=new t(!1),o=he(),s=new t(!1),fe(a,"class","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,a),m.m(a,null),de(n,i),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(a,null))),8&t[1]&&l!==(l=e[41](e[34])+"")&&r.p(l),234881024&t[0]&&c!==(c=e[40](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function Rs(e){let n;function a(e){return e[29]?Ds:Ps}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Ps(e){let n,a,i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"";return{c(){n=new t(!1),a=c(),n.a=a},m(e,t){n.m(i,e,t),ue(e,a,t)},p(e,t){16384&t[0]|1&t[1]&&i!==(i=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"")&&n.p(i)},d(e){e&&me(a),e&&n.d()}}}function Ds(e){let n,a,i,r,o,s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"",l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"";return{c(){n=ge("div"),a=new t(!1),i=he(),r=new t(!1),o=he(),a.a=i,r.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),a.m(s,n),de(n,i),r.m(l,n),de(n,o)},p(e,t){16384&t[0]|1&t[1]&&s!==(s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"")&&a.p(s),16384&t[0]|1&t[1]&&l!==(l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"")&&r.p(l)},d(e){e&&me(n)}}}function Ns(e){let n,a=e[14]&&e[14][e[106]]&&Rs(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[106]]?a?a.p(e,t):((a=Rs(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function As(t){let i,r=t[24],o=[];for(let e=0;e<r.length;e+=1)o[e]=Os(Gs(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(285212672&n[0]|256&n[1]){let e;for(r=t[24],e=0;e<r.length;e+=1){var a=Gs(t,r,e);o[e]?o[e].p(a,n):(o[e]=Os(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){j(o,e),e&&me(i)}}}function Bs(e){let n,a,i=e[35]("full")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&i!==(i=e[35]("full")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Os(e){let n,a,i,r,o,s;return{c(){n=ge("span"),a=H("svg"),i=H("path"),r=H("path"),o=he(),fe(i,"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(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"width","13"),fe(a,"height","14"),fe(a,"viewBox","0 0 13 14"),fe(n,"class",s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function zs(e){let n;return{c(){(n=ge("div")).innerHTML='<svg version="1.1" class="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: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" 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")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function js(e){let n,a,i;function r(e){return e[0]&&e[16]&&e[2]?Us:!e[0]&&e[16]?Hs:void 0}let o=r(e),s=o&&o(e);return{c(){n=ge("div"),a=ge("span"),i=he(),s&&s.c(),fe(a,"class","GameInfoVendor"),S(a,"background-image","url("+e[5]+")"),fe(n,"class","GameTopContainer")},m(e,t){ue(e,n,t),de(n,a),de(n,i),s&&s.m(n,null)},p(e,t){32&t[0]&&S(a,"background-image","url("+e[5]+")"),o===(o=r(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),s&&s.d()}}}function Hs(n){let a,i,r;return{c(){(a=ge("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[66]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function Us(n){let a,i,r;return{c(){(a=ge("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[65]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function Ws(e){let n,a;return{c(){n=ge("p"),a=pe(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[0]&&ye(a,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function Ys(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,t,y,v,b,w=n[1]&&Ss(n),x=n[7]&&Ls(n),$=n[8]&&Ms(n),C=n[13]&&Is(n);function k(e){return(t=null==t?!at(e[36]):t)?js:e[0]&&e[16]&&e[2]?zs:void 0}let F=k(n),G=F&&F(n),S="true"===n[10]&&Ws(n);return{c(){a=ge("div"),i=ge("div"),r=ge("img"),l=he(),c=ge("div"),d=ge("div"),w&&w.c(),u=he(),m=ge("div"),g=ge("div"),x&&x.c(),p=he(),$&&$.c(),h=he(),C&&C.c(),f=he(),G&&G.c(),v=he(),S&&S.c(),this.c=A,ce(r.src,o=n[3])||fe(r,"src",o),fe(r,"class",s=`GameBg GameBg-${n[9]} `+(n[17]?"Loaded":"")),fe(r,"alt","Game thumbnail"),fe(r,"loading","lazy"),fe(d,"class","GameInfo"),fe(c,"class","GameInfoWrapper"),fe(g,"class","GameExtraInfo"),fe(m,"class","GameExtraInfoContainer"),fe(i,"class",y="GameInnerContainer "+(n[13]&&!n[22]&&n[23].value||n[13]&&n[32]?"GameInnerContainerUnavailable":"")),fe(a,"class",b=`GameContainer ${n[33]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),B(a,"WithGameName",n[10])},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[62](r),de(i,l),de(i,c),de(c,d),w&&w.m(d,null),de(i,u),de(i,m),de(m,g),x&&x.m(g,null),de(g,p),$&&$.m(g,null),de(g,h),C&&C.m(g,null),de(m,f),G&&G.m(m,null),de(a,v),S&&S.m(a,null),n[67](a)},p(e,t){8&t[0]&&!ce(r.src,o=e[3])&&fe(r,"src",o),131584&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[17]?"Loaded":""))&&fe(r,"class",s),e[1]?w?w.p(e,t):((w=Ss(e)).c(),w.m(d,null)):w&&(w.d(1),w=null),e[7]?x?x.p(e,t):((x=Ls(e)).c(),x.m(g,p)):x&&(x.d(1),x=null),e[8]?$?$.p(e,t):(($=Ms(e)).c(),$.m(g,h)):$&&($.d(1),$=null),e[13]?C?C.p(e,t):((C=Is(e)).c(),C.m(g,null)):C&&(C.d(1),C=null),F===(F=k(e))&&G?G.p(e,t):(G&&G.d(1),(G=F&&F(e))&&(G.c(),G.m(m,null))),12591104&t[0]|2&t[1]&&y!==(y="GameInnerContainer "+(e[13]&&!e[22]&&e[23].value||e[13]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",y),"true"===e[10]?S?S.p(e,t):((S=Ws(e)).c(),S.m(a,null)):S&&(S.d(1),S=null),2048&t[0]|4&t[1]&&b!==(b=`GameContainer ${e[33]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(a,"class",b),3072&t[0]|4&t[1]&&B(a,"WithGameName",e[10])},i:A,o:A,d(e){e&&me(a),n[62](null),w&&w.d(),x&&x.d(),$&&$.d(),C&&C.d(),G&&G.d(),S&&S.d(),n[67](null)}}}const Vs="blackjack",Zs="roulette",qs="doubleballroulette",Ks=5;function Js(r,e,o){let D;rt(r,ai,e=>o(35,D=e));let N,s,l,c,t,A,B,d,u,O,z,j,m,H,U,W,g,Y,V,Z,p,q,h,K,J,{session:X=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{favorites:Q=""}=e,{gamethumbnail:ee=""}=e,{gamename:te=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:a=""}=e,{gameid:i=""}=e,{gameisnew:ne=""}=e,{gametag:ae=""}=e,{gamefunmode:x=!1}=e,{gamefavorite:$=!1}=e,{gamecellsize:ie=""}=e,{showfavoredcategory:C=!1}=e,{showgamename:re=""}=e,{currency:k=""}=e,{gamepagemodalurl:F="false"}=e,{endpoint:G=""}=e,{categoryid:S=""}=e,{livelobbyendpoint:L=""}=e,{connectlive:M=""}=e,{visibilityconnect:I=""}=e,{integratedgameframedesktop:E="false"}=e,{integratedgameframemobile:T="false"}=e,{casinogamesgridslider:oe="false"}=e,se=!1,le=!1,_=window.navigator.userAgent,ce="HH:mm",de,ue=[],me="EUR",R="";const ge=[Vs],pe=[Zs,qs],he={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},fe={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"},ye=(Object.keys(Cs).forEach(e=>{$s(e,Cs[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+i||C||o(0,$=!0),e.data.type!=="RemoveFavoriteThumbnail_"+i||C||o(0,$=!1),"UserSessionID"===e.data.type&&(o(16,se=!0),e.data.session,N=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,c=null)}),ve=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(N||"Not logged in")}),at(_)&&"true"==T?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:F,isMobile:at(_),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:a},window.location.href):at(_)&&"false"==T&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:at(_)},window.location.href),at(_)||"true"!=E?at(_)||"false"!=E||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:at(_)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:F,isMobile:at(_),identifier:"Lobby",subVendor:n,launchUrl:a},window.location.href)},be=e=>{$?window.postMessage({type:"SetUnfavoredGame"+S,id:e},window.location.href):window.postMessage({type:"SetFavoredGame"+S,id:e},window.location.href)},we=()=>{L&&EventSource&&!t&&n&&i&&(t=new EventSource(`${G}/v1/encoder/lobby/updates/${n}/`+i)).addEventListener("message",$e)},xe=()=>{t&&(t.close(),t=void 0)},$e=async e=>{const{type:t,data:n}=e;let a;if("message"===t){if(n)try{a=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(a){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:r}=a;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,m=i),o(13,c.currentOccupiedSeats=i,c),await Fe());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(H=n,o(13,c.currentRouletteNumbers=n,c),await Fe());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(13,c.currentDoubleBallRouletteNumbers=n,c),await Fe());break;case"TableOpened":case"TableClosed":o(22,d=r),o(13,c.isOpen=r,c),await Fe()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",P=(e,t)=>e.some(e=>e===t),ke=()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return et(()=>(window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye),t&&t.removeEventListener("message",$e)})),r.$$set=e=>{"session"in e&&o(43,X=e.session),"userid"in e&&o(44,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(45,v=e.clientstyling),"clientstylingurl"in e&&o(46,b=e.clientstylingurl),"translationurl"in e&&o(47,w=e.translationurl),"favorites"in e&&o(2,Q=e.favorites),"gamethumbnail"in e&&o(3,ee=e.gamethumbnail),"gamename"in e&&o(4,te=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(48,a=e.gamelaunchurl),"gameid"in e&&o(6,i=e.gameid),"gameisnew"in e&&o(7,ne=e.gameisnew),"gametag"in e&&o(8,ae=e.gametag),"gamefunmode"in e&&o(49,x=e.gamefunmode),"gamefavorite"in e&&o(0,$=e.gamefavorite),"gamecellsize"in e&&o(9,ie=e.gamecellsize),"showfavoredcategory"in e&&o(50,C=e.showfavoredcategory),"showgamename"in e&&o(10,re=e.showgamename),"currency"in e&&o(51,k=e.currency),"gamepagemodalurl"in e&&o(52,F=e.gamepagemodalurl),"endpoint"in e&&o(53,G=e.endpoint),"categoryid"in e&&o(54,S=e.categoryid),"livelobbyendpoint"in e&&o(55,L=e.livelobbyendpoint),"connectlive"in e&&o(56,M=e.connectlive),"visibilityconnect"in e&&o(57,I=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,E=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,T=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,oe=e.casinogamesgridslider)},r.$$.update=()=>{if(33554432&r.$$.dirty[1]&&M&&("disconnect"===M?xe():"connect"===M&&we()),67108864&r.$$.dirty[1]&&I&&("disconnect"===I?xe():"connect"===I&&"connect"===M&&we()),2&r.$$.dirty[0]&&y&&(n=y,nt.set(n)),4206592&r.$$.dirty[1]&&X&&f&&G&&(o(16,se=!0),N=f),8&r.$$.dirty[0]&&ee&&s&&o(18,s.onload=()=>{o(17,le=!0)},s),4096&r.$$.dirty[0]|16384&r.$$.dirty[1]&&v&&l&&((n=document.createElement("style")).innerHTML=v,l.appendChild(n)),4096&r.$$.dirty[0]|32768&r.$$.dirty[1]&&b&&l&&ke(),r.$$.dirty[0],65536&r.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{$s(e,t[e])})}).catch(e=>{console.log(e)}),512&r.$$.dirty[0]|32768&r.$$.dirty[1]&&ie&&b&&ke(),20971520&r.$$.dirty[1]&&G&&L&&((t=new URL(""+L.split("?")[0])).searchParams.append("platform",it(_)),t.searchParams.append("language",y),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,c=e)})),8192&r.$$.dirty[0]&&c&&c&&(o(22,d=c.isOpen),de=c.betLimit||{},o(23,u=c.openHours),o(24,ue=(e=>{j=e.totalSeats||7,o(28,m=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=j;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(20,B=t),o(21,ce=e||ce)),d&&o(19,A=(e=>{let t=null;if(e){var n=e["vendorCategory"];if(n){const e=n.toLowerCase();P(ge,e)?t=Vs:P(pe,e)&&(t=Zs)}}return t})(c)),o(25,me=ks[k]),o(26,O=(de.min||{})[k]),o(27,z=(de.max||{})[k]),H=c.currentRouletteNumbers,U=c.currentDoubleBallRouletteNumbers,W=c.vendorCategory,o(29,g=W.toLowerCase()===qs),o(14,Y=(g?U:H)||[]),o(30,V="GameProp LiveProps RoulleteProps"),o(30,V+=g?" Double":""),o(31,Z=P(pe,W.toLowerCase())?fe:he),q=p,o(32,p=Array.isArray(m)&&m.length===j),c.dealer&&o(34,K=c.dealer.DealerName),J=c.numberOfPlayers,o(33,R="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(33,R+=" GameBackdrop"),d&&p&&O&&z&&c.currentOccupiedSeats?o(33,R+=" GameContainerDimmed"):!1===d&&B&&o(33,R+=" GameContainerFullyDimmed"),l)&&(!q&&p?(o(33,R+=" PulsatingRedShadow"),o(33,R=R.replace(" PulsatingGreenShadow",""))):q&&!p&&(o(33,R+=" PulsatingGreenShadow"),o(33,R=R.replace(" PulsatingRedShadow","")))),49152&r.$$.dirty[0]&&h&&Y){const a="FirstElementAnimated",i=h.getElementsByClassName("First")[0];i&&(i.classList.add(a),setTimeout(()=>{i.classList.remove(a)},2e3))}var e,t,n},[$,y,Q,ee,te,n,i,ne,ae,ie,re,oe,l,c,Y,h,se,le,s,A,B,ce,d,u,ue,me,O,z,m,g,V,Z,p,R,K,D,_,ve,be,P,(e,t,n)=>{let a,i;return null!=e&&null!=t&&(i=`
33
+ <span>
34
+ ${n}
35
+ </span>
36
+ ${Ce(e)}-`+Ce(t)),(a=J?`
8
37
  <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" 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>`:a)||i?`
38
+ <span class="NrOfPlayers">${J}</span>`:a)||i?`
10
39
  <p class="LiveLimits">
11
40
  <span class="BetLimitLeft">
12
41
  ${i||""}
@@ -29,5 +58,5 @@
29
58
  <span id=${t} class="${e}">
30
59
  ${n}
31
60
  </span>
32
- `},X,f,v,b,w,a,$,C,k,F,S,M,G,L,E,_,T,pe,fe,function(e){tt[e?"unshift":"push"](()=>{s=e,o(18,s)})},()=>ve(i),function(e){tt[e?"unshift":"push"](()=>{p=e,o(15,p)})},()=>be(i),()=>be(i),function(e){tt[e?"unshift":"push"](()=>{l=e,o(12,l)})}]}function gr(e,t){o(e,t)}customElements.get("casino-game-thumbnail-nd")||customElements.define("casino-game-thumbnail-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.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 .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #F1BED9)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;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-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 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(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.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}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.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(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},mr,sr,n,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),m()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const hr={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};function pr(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function fr(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,e,$,A,x,C,N,k,F,S,M,G,L,B,E=n[11]("filterby")+"",_=n[11]("providers")+"",T=n[11]("clear")+"";function O(e){return e[7]?br:vr}let I=O(n),P=I(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=xr(pr(n,R,e));return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=z("svg"),s=z("path"),l=pe(),c=ge("div"),d=ge("span"),u=he(E),m=pe(),g=ge("div"),h=ge("span"),p=he(_),f=pe(),P.c(),y=pe(),v=ge("span"),b=z("svg"),w=z("path"),A=pe(),x=ge("div"),C=ge("ul");for(let e=0;e<D.length;e+=1)D[e].c();N=pe(),k=ge("button"),F=he(T),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(g,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(r,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(b,"xmlns","http://www.w3.org/2000/svg"),fe(b,"width","14"),fe(b,"height","6.835"),fe(b,"viewBox","0 0 14 6.835"),fe(v,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(i,"class",$="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(k,"class","ClearFilters"),k.disabled=S=n[7]&&n[6].length!=n[5].length,fe(x,"class",M="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(a,"class",G="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(o,s),de(r,l),de(r,c),de(c,d),de(d,u),de(c,m),de(c,g),de(g,h),de(h,p),de(g,f),P.m(g,null),de(i,y),de(i,v),de(v,b),de(b,w),de(a,A),de(a,x),de(x,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de(x,N),de(x,k),de(k,F),L||(B=[U(i,"click",n[22]),U(k,"click",n[25])],L=!0)},p(t,n){if(2048&n[0]&&E!==(E=t[11]("filterby")+"")&&ye(u,E),2048&n[0]&&_!==(_=t[11]("providers")+"")&&ye(p,_),I===(I=O(t))&&P?P.p(t,n):(P.d(1),(P=I(t))&&(P.c(),P.m(g,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(v,"class",e),16&n[0]&&$!==($="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(i,"class",$),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const i=pr(t,R,e);D[e]?D[e].p(i,n):(D[e]=xr(i),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&T!==(T=t[11]("clear")+"")&&ye(F,T),224&n[0]&&S!==(S=t[7]&&t[6].length!=t[5].length)&&(k.disabled=S),16&n[0]&&M!==(M="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe(x,"class",M),3&n[0]&&G!==(G="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(a,"class",G)},d(e){e&&me(a),P.d(),H(D,e),L=!1,j(B)}}}function yr(e){let n,a,i=e[11]("500")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&i!==(i=e[11]("500")+"")&&ye(a,i)},d(e){e&&me(n)}}}function vr(e){let n,a;return{c(){n=ge("span"),a=he(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function br(e){let n,a,i=e[11]("all")+"";return{c(){n=ge("span"),a=he(i),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&i!==(i=e[11]("all")+"")&&ye(a,i)},d(e){e&&me(n)}}}function wr(e){let n,a;return{c(){ce((n=ge("img")).src,a=e[36].logo)||fe(n,"src",a),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,a=e[36].logo)&&fe(n,"src",a)},d(e){e&&me(n)}}}function $r(e){let n,a,i,r,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=ge("div"),a=ge("span"),i=he(d),r=pe(),o=ge("span"),s=he("("),l=he(u),c=he(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(n,r),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(i,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function xr(n){let a,i,r,o,s,l,c,d,u,m,g,h;function p(){n[23].call(r,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?$r:"true"===e[2]?wr:void 0}let v=y(n),b=v&&v(n);return{c(){a=ge("li"),i=ge("label"),r=ge("input"),s=pe(),l=ge("span"),c=pe(),b&&b.c(),d=pe(),fe(r,"type","checkbox"),fe(r,"name","checkbox"),r.__value=o=n[36].name,r.value=r.__value,fe(l,"class","FiltersCheckmark"),fe(i,"class","FilterLabel"),fe(a,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),a.value=m=n[36].name},m(e,t){ue(e,a,t),de(a,i),de(i,r),r.checked=n[36].isFilterSelected,de(i,s),de(i,l),de(i,c),b&&b.m(i,null),de(a,d),g||(h=[U(r,"change",p),U(r,"click",f)],g=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(r.__value=o,r.value=r.__value),32&t[0]&&(r.checked=n[36].isFilterSelected),v===(v=y(n))&&b?b.p(n,t):(b&&b.d(1),(b=v&&v(n))&&(b.c(),b.m(i,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(a,"class",u),32&t[0]&&m!==(m=n[36].name)&&(a.value=m)},d(e){e&&me(a),b&&b.d(),g=!1,j(h)}}}function Cr(n){let a;function i(e){return e[10]?yr:e[9]?void 0:fr}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[26](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[26](null)}}}function kr(n,e,a){let t;rt(n,ai,e=>a(11,t=e));let i,{endpoint:r=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:g="false"}=e,{filterbylogo:h="false"}=e,p=!1,f=window.navigator.userAgent,y=[],v=[],b={},w=!1,$=0,x=!0,C=!1;var k,F;({withLocale:k,translations:F}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(F),nt.set(k))}),Object.keys(hr).forEach(e=>{gr(e,hr[e])}),b[u]&&(b={[u]:[]});const S=()=>{a(4,p=!p),window.postMessage({type:"FilterOpened"},window.location.href)},M=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,v.length&&0!=v.filter(e=>e.name===t.name).length?a(6,v=v.filter(e=>e.name!==t.name)):v.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})):((e=JSON.parse(e))[u]=v.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),G()},G=()=>{a(7,w=v.length===y.length||0==v.length),a(8,$=v.length)},L=()=>{a(6,v=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),a(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),a(7,w=!0),a(4,p=!1)},E=e=>{"SortingOpened"==e.data.type&&a(4,p=!1)};return et(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),n.$$set=e=>{"endpoint"in e&&a(15,r=e.endpoint),"datasource"in e&&a(16,o=e.datasource),"lang"in e&&a(17,s=e.lang),"translationurl"in e&&a(18,l=e.translationurl),"clientstyling"in e&&a(19,c=e.clientstyling),"clientstylingurl"in e&&a(20,d=e.clientstylingurl),"categoryid"in e&&a(21,u=e.categoryid),"addfilterselector"in e&&a(0,m=e.addfilterselector),"addsortingselector"in e&&a(1,g=e.addsortingselector),"filterbylogo"in e&&a(2,h=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&r&&o&&u&&h&&(t=new URL(r+"/v1/casino/vendors"),a(4,p=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",it(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,a(9,x=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),a(6,v=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,v.push(e)):e.isFilterSelected=!1}),a(5,y=e),G()}).catch(e=>{console.error(e),a(10,C=!0),n(e)}).finally(()=>{a(9,x=!1)})})),524296&n.$$.dirty[0]&&c&&i&&((t=document.createElement("style")).innerHTML=c,i.appendChild(t)),1048584&n.$$.dirty[0]&&d&&i){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{gr(e,t[e])})}).catch(e=>{console.log(e)})},[m,g,h,i,p,y,v,w,$,x,C,t,S,M,L,r,o,s,l,c,d,u,()=>S(),function(e,t){e[t].isFilterSelected=this.checked,a(5,y)},e=>M(e),()=>L(),function(e){tt[e?"unshift":"push"](()=>{i=e,a(3,i)})}]}function Fr(e,t){o(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},kr,Cr,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});const Sr={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function Mr(e,t,n){e=e.slice();return e[23]=t[n],e}function Gr(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x,e,C,k,F,S,M,G,L,E=n[4]("sortby")+"",_=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),I=[];for(let e=0;e<T.length;e+=1)I[e]=Lr(Mr(n,T,e));return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=z("svg"),s=z("g"),l=z("path"),c=z("path"),d=z("path"),u=pe(),m=ge("div"),g=ge("span"),h=he(E),p=pe(),f=ge("div"),y=ge("span"),v=he(_),b=pe(),w=ge("span"),$=z("svg"),x=z("path"),k=pe(),F=ge("div"),S=ge("ul");for(let e=0;e<I.length;e+=1)I[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(g,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(r,"class","SorterMainArea"),fe(x,"id","arrow"),fe(x,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(x,"transform","translate(-274.511 -441.088)"),fe(x,"fill","#d1d1d1"),fe($,"xmlns","http://www.w3.org/2000/svg"),fe($,"width","14"),fe($,"height","6.835"),fe($,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(i,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(S,"class","SorterDropdown"),fe(F,"class",M="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(a,"class","SorterContainer")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(o,s),de(s,l),de(s,c),de(s,d),de(r,u),de(r,m),de(m,g),de(g,h),de(m,p),de(m,f),de(f,y),de(y,v),de(i,b),de(i,w),de(w,$),de($,x),de(a,k),de(a,F),de(F,S);for(let e=0;e<I.length;e+=1)I[e]&&I[e].m(S,null);G||(L=U(i,"click",n[13]),G=!0)},p(t,n){if(16&n&&E!==(E=t[4]("sortby")+"")&&ye(h,E),24&n&&_!==(_=(t[3]||t[4]("all"))+"")&&ye(v,_),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(i,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var a=Mr(t,T,e);I[e]?I[e].p(a,n):(I[e]=Lr(a),I[e].c(),I[e].m(S,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=T.length}2&n&&M!==(M="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(F,"class",M)},d(e){e&&me(a),H(I,e),G=!1,L()}}}function Lr(n){let a,i,r,o,s,l,c,d,u,m,g,h,e=n[23]+"";function p(){return n[14](n[23])}return{c(){a=ge("li"),i=ge("label"),r=ge("input"),s=pe(),l=ge("span"),c=pe(),d=ge("span"),u=he(e),m=pe(),fe(r,"type","radio"),fe(r,"name","radio"),r.value=n[23],r.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(i,"class","SorterLabel CustomRadioButton"),fe(a,"class","SorterItem"),a.value=n[23]},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,s),de(i,l),de(i,c),de(i,d),de(d,u),de(a,m),g||(h=U(r,"click",p),g=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(r.checked=o)},d(e){e&&me(a),g=!1,h()}}}function Er(n){let a;function i(e){if(!e[2])return Gr}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[15](a)},p(e,[t]){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[15](null)}}}function _r(t,e,a){let n;rt(t,ai,e=>a(4,n=e));let i,{lang:r=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",g="All";var h,p;({withLocale:h,translations:p}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(p),nt.set(h))}),Object.keys(Sr).forEach(e=>{Fr(e,Sr[e])});const f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{a(3,g=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),a(1,d=!d)},v=()=>{a(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},b=e=>{"FilterOpened"==e.data.type&&a(1,d=!1)};return et(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),t.$$set=e=>{"lang"in e&&a(8,r=e.lang),"translationurl"in e&&a(9,o=e.translationurl),"clientstyling"in e&&a(10,s=e.clientstyling),"clientstylingurl"in e&&a(11,l=e.clientstylingurl),"categoryid"in e&&a(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(a(3,g="All"),a(2,u=!1),a(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],a(3,g=e||"All"),a(3,g=f[e])),1025&t.$$.dirty&&s&&i&&((e=document.createElement("style")).innerHTML=s,i.appendChild(e)),2049&t.$$.dirty&&l&&i){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fr(e,t[e])})}).catch(e=>{console.log(e)})},[i,d,u,g,n,f,y,v,r,o,s,l,c,()=>v(),e=>y(e),function(e){tt[e?"unshift":"push"](()=>{i=e,a(0,i)})}]}function Tr(e,t,n){e=e.slice();return e[89]=t[n],e[91]=n,e}function Ir(e,t,n){e=e.slice();return e[89]=t[n],e[92]=t,e[91]=n,e}function Pr(e,t,n){e=e.slice();return e[89]=t[n],e[91]=n,e}function Rr(e){let n;function a(e){return e[26]?Br:e[37]?Nr:void 0}let i=a(e),r=i&&i(e);return{c(){n=ge("div"),r&&r.c()},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r&&r.d(1),(r=i&&i(e))&&(r.c(),r.m(n,null)))},d(e){e&&me(n),r&&r.d()}}}function Dr(e){let n,a,i;function r(e){return e[30]?uo:e[27].length?lo:co}let o=r(e),s=o(e);function l(e){return e[27]?go:mo}let c=l(e),d=c(e);return{c(){n=ge("div"),a=ge("div"),s.c(),i=pe(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(at(e[42])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),s.m(a,null),de(n,i),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(a,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 Ar(e){let n;function a(e){return e[32]?yo:fo}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i!==(i=a(e))&&(r.d(1),r=i(e))&&(r.c(),r.m(n.parentNode,n))},d(e){r.d(e),e&&me(n)}}}function Nr(n){let a,i,r,o,s="true"!==n[18]&&Or(n);function l(e){return e[23]&&!e[34]?zr:e[40]?Hr:jr}let c=l(n),d=c(n);return{c(){a=ge("div"),s&&s.c(),i=pe(),r=ge("ul"),d.c(),fe(r,"class",o=(0!=n[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer")},m(e,t){ue(e,a,t),s&&s.m(a,null),de(a,i),de(a,r),d.m(r,null),n[56](r)},p(e,t){"true"!==e[18]?s?s.p(e,t):((s=Or(e)).c(),s.m(a,i)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null))),512&t[1]&&o!==(o=(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(r,"class",o)},d(e){e&&me(a),s&&s.d(),d.d(),n[56](null)}}}function Br(e){let n,a,i="true"!==e[18]&&Qr(e);function r(e){return e[23]&&!e[34]?oo:0!==e[27].length?ro:io}let o=r(e),s=o(e);return{c(){n=ge("div"),i&&i.c(),a=pe(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,a),s.m(n,null)},p(e,t){"true"!==e[18]?i?i.p(e,t):((i=Qr(e)).c(),i.m(n,a)):i&&(i.d(1),i=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),i&&i.d(),s.d()}}}function Or(n){let a,i,r,o,s,l,c,d,u=n[41]("favorites")+"",m=n[40].items.length+"";return{c(){a=ge("div"),i=ge("h3"),r=he(u),o=pe(),s=ge("span"),l=he("("),c=he(m),d=he(")"),fe(s,"class","CategoryFavName"),fe(i,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(s,l),de(s,c),de(s,d),n[55](i)},p(e,t){1024&t[1]&&u!==(u=e[41]("favorites")+"")&&ye(r,u),512&t[1]&&m!==(m=e[40].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[55](null)}}}function jr(e){let n,a,i=e[41]("waiting")+"";return{c(){n=ge("p"),a=he(i)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("waiting")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Hr(t){let a,i=t[40].items,r=[];for(let e=0;e<i.length;e+=1)r[e]=Xr(Tr(t,i,e));let o=null;return i.length||(o=Ur(t)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();a=c(),o&&o.c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);ue(t,a,n),o&&o.m(t,n)},p(t,n){if(262121&n[0]|8128&n[1]){let e;for(i=t[40].items,e=0;e<i.length;e+=1){const o=Tr(t,i,e);r[e]?r[e].p(o,n):(r[e]=Xr(o),r[e].c(),r[e].m(a.parentNode,a))}for(;e<r.length;e+=1)r[e].d(1);r.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=Ur(t)).c(),o.m(a.parentNode,a))}},d(e){H(r,e),e&&me(a),o&&o.d(e)}}}function zr(e){let n;return{c(){fe(n=ge("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Ur(e){let n,a,i,r,o,s,l,c,d,u,m,g,h,p,f=e[41]("noFavoritesTitle")+"",t=(v=e,at(v[42])?Yr:Wr),y=t(e);var v;return{c(){n=ge("p"),a=z("svg"),i=z("rect"),r=z("rect"),o=z("circle"),s=z("path"),l=z("path"),c=z("path"),d=z("path"),u=pe(),m=ge("span"),g=he(f),h=pe(),y.c(),p=pe(),fe(i,"x","1"),fe(i,"y","18.053"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emw--color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(r,"x","106.737"),fe(r,"y","56.737"),fe(r,"width","90.263"),fe(r,"height","90.263"),fe(r,"rx","12"),fe(r,"stroke","var(--emw--color-gray-150, #828282)"),fe(r,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emw-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(a,"width","198"),fe(a,"height","148"),fe(a,"viewBox","0 0 198 148"),fe(a,"fill","none"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(at(e[42])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(a,s),de(a,l),de(a,c),de(a,d),de(n,u),de(n,m),de(m,g),de(n,h),y.m(n,null),de(n,p)},p(e,t){1024&t[1]&&f!==(f=e[41]("noFavoritesTitle")+"")&&ye(g,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function Wr(e){let n,a,i=e[41]("noFavorites")+"";return{c(){n=ge("span"),a=he(i),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noFavorites")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Yr(e){let n,a,i=e[41]("noFavoritesMobile")+"";return{c(){n=ge("span"),a=he(i),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noFavoritesMobile")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Vr(e){let n,a=e[89].gameModel.isFavorite&&Zr(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[89].gameModel.isFavorite?a?a.p(e,t):((a=Zr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Zr(e){let n,a=function(e){let n,a,i;function r(e,t){return 512&t[1]&&(a=null),(n=null==n?!!at(e[42]):n)?Jr:(a=null==a?!!e[89].gameModel.platform.includes("PC"):a)?qr:void 0}let o=r(e,[-1,-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,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(i.parentNode,i)))},d(e){s&&s.d(e),e&&me(i)}}}(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function qr(e){let n,a,i,r,o,s,l,c,d,u,m,g,h,p,f;return{c(){S(n=ge("casino-game-thumbnail-nd"),"class",a=""+(bo+(e[89].cellSize||"1x1"))),S(n,"part",i=""+(bo+(e[89].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"translationurl",e[11]),S(n,"favorites",e[8]),S(n,"categoryid",e[0]),S(n,"gamethumbnail",r=e[89].gameModel.thumbnail),S(n,"gamename",o=e[89].gameModel.name),S(n,"gamevendor",s=e[89].gameModel.vendor.logo),S(n,"gamelaunchurl",l=e[89].launchUrl),S(n,"gameisnew",c=e[89].gameModel.isNew),S(n,"gametag",d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags)),S(n,"gamecellsize",u=e[89].cellSize),S(n,"gameid",m=e[89].gameModel.id),S(n,"gamefunmode",g=e[89].gameModel.hasFunMode),S(n,"showgamename",e[13]),S(n,"gamefavorite",h=e[89].gameModel.isFavorite),S(n,"showfavoredcategory",e[37]),S(n,"connectlive",p=1==e[38][e[89].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[39]),S(n,"currency",e[12]),S(n,"livelobbyendpoint",f=e[89].gameModel.details?e[89].gameModel.launchUrl:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[14]),S(n,"gamepagemodalurl",e[15]),S(n,"integratedgameframedesktop",e[16]),S(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(bo+(e[89].cellSize||"1x1")))&&S(n,"class",a),512&t[1]&&i!==(i=""+(bo+(e[89].cellSize||"1x1")))&&S(n,"part",i),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),2048&t[0]&&S(n,"translationurl",e[11]),256&t[0]&&S(n,"favorites",e[8]),1&t[0]&&S(n,"categoryid",e[0]),512&t[1]&&r!==(r=e[89].gameModel.thumbnail)&&S(n,"gamethumbnail",r),512&t[1]&&o!==(o=e[89].gameModel.name)&&S(n,"gamename",o),512&t[1]&&s!==(s=e[89].gameModel.vendor.logo)&&S(n,"gamevendor",s),512&t[1]&&l!==(l=e[89].launchUrl)&&S(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[89].gameModel.isNew)&&S(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags))&&S(n,"gametag",d),512&t[1]&&u!==(u=e[89].cellSize)&&S(n,"gamecellsize",u),512&t[1]&&m!==(m=e[89].gameModel.id)&&S(n,"gameid",m),512&t[1]&&g!==(g=e[89].gameModel.hasFunMode)&&S(n,"gamefunmode",g),8192&t[0]&&S(n,"showgamename",e[13]),512&t[1]&&h!==(h=e[89].gameModel.isFavorite)&&S(n,"gamefavorite",h),64&t[1]&&S(n,"showfavoredcategory",e[37]),640&t[1]&&p!==(p=1==e[38][e[89].id]?"connect":"disconnect")&&S(n,"connectlive",p),256&t[1]&&S(n,"visibilityconnect",e[39]),4096&t[0]&&S(n,"currency",e[12]),512&t[1]&&f!==(f=e[89].gameModel.details?e[89].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",f),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),16384&t[0]&&S(n,"livecasino",e[14]),32768&t[0]&&S(n,"gamepagemodalurl",e[15]),65536&t[0]&&S(n,"integratedgameframedesktop",e[16]),131072&t[0]&&S(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function Jr(e){let n,a=e[89].gameModel.platform.includes("iPad")||e[89].gameModel.platform.includes("iPhone")||e[89].gameModel.platform.includes("Android"),i=a&&Kr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){(a=512&t[1]?e[89].gameModel.platform.includes("iPad")||e[89].gameModel.platform.includes("iPhone")||e[89].gameModel.platform.includes("Android"):a)?i?i.p(e,t):((i=Kr(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function Kr(e){let n,a,i,r,o,s,l,c,d,u,m,g,h,p,f;return{c(){S(n=ge("casino-game-thumbnail-nd"),"class",a=""+(bo+(e[89].cellSize||"1x1"))),S(n,"part",i=""+(bo+(e[89].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"favorites",e[8]),S(n,"categoryid",e[0]),S(n,"gamethumbnail",r=e[89].gameModel.thumbnail),S(n,"gamename",o=e[89].gameModel.name),S(n,"gamevendor",s=e[89].gameModel.vendor.logo),S(n,"gamelaunchurl",l=e[89].launchUrl),S(n,"gameisnew",c=e[89].gameModel.isNew),S(n,"gametag",d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags)),S(n,"gamecellsize",u=e[89].cellSize),S(n,"gameid",m=e[89].gameModel.id),S(n,"gamefunmode",g=e[89].gameModel.hasFunMode),S(n,"showgamename",e[13]),S(n,"gamefavorite",h=e[89].gameModel.isFavorite),S(n,"showfavoredcategory",e[37]),S(n,"connectlive",p=1==e[38][e[89].id]?"connect":"disconnect"),S(n,"visibilityconnect",e[39]),S(n,"translationurl",e[11]),S(n,"currency",e[12]),S(n,"livelobbyendpoint",f=e[89].gameModel.details?e[89].gameModel.launchUrl:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[14]),S(n,"gamepagemodalurl",e[15]),S(n,"integratedgameframedesktop",e[16]),S(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(bo+(e[89].cellSize||"1x1")))&&S(n,"class",a),512&t[1]&&i!==(i=""+(bo+(e[89].cellSize||"1x1")))&&S(n,"part",i),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),256&t[0]&&S(n,"favorites",e[8]),1&t[0]&&S(n,"categoryid",e[0]),512&t[1]&&r!==(r=e[89].gameModel.thumbnail)&&S(n,"gamethumbnail",r),512&t[1]&&o!==(o=e[89].gameModel.name)&&S(n,"gamename",o),512&t[1]&&s!==(s=e[89].gameModel.vendor.logo)&&S(n,"gamevendor",s),512&t[1]&&l!==(l=e[89].launchUrl)&&S(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[89].gameModel.isNew)&&S(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags))&&S(n,"gametag",d),512&t[1]&&u!==(u=e[89].cellSize)&&S(n,"gamecellsize",u),512&t[1]&&m!==(m=e[89].gameModel.id)&&S(n,"gameid",m),512&t[1]&&g!==(g=e[89].gameModel.hasFunMode)&&S(n,"gamefunmode",g),8192&t[0]&&S(n,"showgamename",e[13]),512&t[1]&&h!==(h=e[89].gameModel.isFavorite)&&S(n,"gamefavorite",h),64&t[1]&&S(n,"showfavoredcategory",e[37]),640&t[1]&&p!==(p=1==e[38][e[89].id]?"connect":"disconnect")&&S(n,"connectlive",p),256&t[1]&&S(n,"visibilityconnect",e[39]),2048&t[0]&&S(n,"translationurl",e[11]),4096&t[0]&&S(n,"currency",e[12]),512&t[1]&&f!==(f=e[89].gameModel.details?e[89].gameModel.launchUrl:"")&&S(n,"livelobbyendpoint",f),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),16384&t[0]&&S(n,"livecasino",e[14]),32768&t[0]&&S(n,"gamepagemodalurl",e[15]),65536&t[0]&&S(n,"integratedgameframedesktop",e[16]),131072&t[0]&&S(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function Xr(e){let n,a=e[89].gameModel&&Vr(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[89].gameModel?a?a.p(e,t):((a=Vr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function Qr(n){let a,i,r,o,s,l,c=n[26].name+"";function d(e){return e[28]?to:eo}let u=d(n),m=u(n);return{c(){a=ge("div"),(i=ge("span")).innerHTML='<div class="CategoryIconAnimation"></div> \n <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',r=pe(),o=ge("h3"),s=he(c),l=pe(),m.c(),fe(i,"class","CategoryIcon"),fe(o,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,i),de(a,r),de(a,o),de(o,s),n[51](o),de(a,l),m.m(a,null)},p(e,t){67108864&t[0]&&c!==(c=e[26].name+"")&&ye(s,c),u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(a,null)))},d(e){e&&me(a),n[51](null),m.d()}}}function eo(e){let n,a,i,r="true"==e[1]&&no(e),o="true"==e[2]&&ao(e);return{c(){n=ge("div"),r&&r.c(),a=pe(),o&&o.c(),fe(n,"class",i="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),o&&o.m(n,null)},p(e,t){"true"==e[1]?r?r.p(e,t):((r=no(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),"true"==e[2]?o?o.p(e,t):((o=ao(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&i!==(i="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",i)},d(e){e&&me(n),r&&r.d(),o&&o.d()}}}function to(n){let a,i,r,o,s,l,c,d,u=n[41]("viewAll")+"",m=n[26].games.total+"";return{c(){a=ge("a"),i=ge("span"),r=he(u),o=he(" ("),s=he(m),l=he(")"),fe(i,"class","CategoryLoadMore"),fe(a,"class","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(i,l),c||(d=U(a,"click",n[52]),c=!0)},p(e,t){1024&t[1]&&u!==(u=e[41]("viewAll")+"")&&ye(r,u),67108864&t[0]&&m!==(m=e[26].games.total+"")&&ye(s,m)},d(e){e&&me(a),c=!1,d()}}}function no(e){let n;return{c(){S(n=ge("casino-filter"),"clientstylingurl",e[10]),S(n,"clientstyling",e[9]),S(n,"endpoint",e[3]),S(n,"datasource",e[4]),S(n,"lang",e[5]),S(n,"categoryid",e[0]),S(n,"addfilterselector",e[1]),S(n,"addsortingselector",e[2]),S(n,"filterbylogo",e[19])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&S(n,"clientstylingurl",e[10]),512&t[0]&&S(n,"clientstyling",e[9]),8&t[0]&&S(n,"endpoint",e[3]),16&t[0]&&S(n,"datasource",e[4]),32&t[0]&&S(n,"lang",e[5]),1&t[0]&&S(n,"categoryid",e[0]),2&t[0]&&S(n,"addfilterselector",e[1]),4&t[0]&&S(n,"addsortingselector",e[2]),524288&t[0]&&S(n,"filterbylogo",e[19])},d(e){e&&me(n)}}}function ao(e){let n;return{c(){S(n=ge("casino-sort"),"clientstylingurl",e[10]),S(n,"clientstyling",e[9]),S(n,"lang",e[5]),S(n,"categoryid",e[0]),S(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&S(n,"clientstylingurl",e[10]),512&t[0]&&S(n,"clientstyling",e[9]),32&t[0]&&S(n,"lang",e[5]),1&t[0]&&S(n,"categoryid",e[0]),4&t[0]&&S(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function io(e){let n,a,i=e[41]("noResults")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noResults")+"")&&ye(a,i)},d(e){e&&me(n)}}}function ro(n){let i,e,r=n[27],o=[];for(let e=0;e<r.length;e+=1)o[e]=so(Ir(n,r,e));return{c(){i=ge("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class",e=(0===n[40].items.length&&n[37]?"":"CasinoGamesGrid")+" "+(n[25]&&"true"==n[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null);n[54](i)},p(t,n){if(139722729&n[0]|4480&n[1]){let e;for(r=t[27],e=0;e<r.length;e+=1){var a=Ir(t,r,e);o[e]?o[e].p(a,n):(o[e]=so(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}34603008&n[0]|576&n[1]&&e!==(e=(0===t[40].items.length&&t[37]?"":"CasinoGamesGrid")+" "+(t[25]&&"true"==t[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(i,"class",e)},d(e){e&&me(i),H(o,e),n[54](null)}}}function oo(e){let n;return{c(){fe(n=ge("div"),"class","DualRing")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function so(e){let n,a=function(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v=n[91];const b=()=>n[53](a,v),w=()=>n[53](null,v);return{c(){S(a=ge("casino-game-thumbnail-nd"),"session",n[6]),S(a,"userid",n[7]),S(a,"lang",n[5]),S(a,"class",i=""+(bo+(n[89].cellSize||"1x1"))),S(a,"part",r=""+(bo+(n[89].cellSize||"1x1"))),S(a,"favorites",n[8]),S(a,"categoryid",n[0]),S(a,"gamethumbnail",o=n[89].thumbnail),S(a,"gamename",s=n[89].name),S(a,"gamevendor",l=n[89].vendor.logo),S(a,"gamelaunchurl",c=n[89].launchUrl),S(a,"gameisnew",d=n[89].isNew),S(a,"gametag",u=0<n[89].advancedTags?.length&&n[43](n[89].advancedTags)),S(a,"gamecellsize",m=n[89].cellSize),S(a,"gameid",g=n[89].id),S(a,"gamefunmode",h=n[89].hasFunMode),S(a,"gamefavorite",p=n[89].isFavorite),S(a,"translationurl",n[11]),S(a,"showgamename",n[13]),S(a,"connectlive",f=1==n[38][n[89].id]?"connect":"disconnect"),S(a,"visibilityconnect",n[39]),S(a,"currency",n[12]),S(a,"livelobbyendpoint",y=n[89].details?n[89].href:""),S(a,"clientstyling",n[9]),S(a,"clientstylingurl",n[10]),S(a,"endpoint",n[3]),S(a,"livecasino",n[14]),S(a,"gamepagemodalurl",n[15]),S(a,"integratedgameframedesktop",n[16]),S(a,"integratedgameframemobile",n[17]),S(a,"casinogamesgridslider",n[20])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,64&t[0]&&S(a,"session",n[6]),128&t[0]&&S(a,"userid",n[7]),32&t[0]&&S(a,"lang",n[5]),134217728&t[0]&&i!==(i=""+(bo+(n[89].cellSize||"1x1")))&&S(a,"class",i),134217728&t[0]&&r!==(r=""+(bo+(n[89].cellSize||"1x1")))&&S(a,"part",r),256&t[0]&&S(a,"favorites",n[8]),1&t[0]&&S(a,"categoryid",n[0]),134217728&t[0]&&o!==(o=n[89].thumbnail)&&S(a,"gamethumbnail",o),134217728&t[0]&&s!==(s=n[89].name)&&S(a,"gamename",s),134217728&t[0]&&l!==(l=n[89].vendor.logo)&&S(a,"gamevendor",l),134217728&t[0]&&c!==(c=n[89].launchUrl)&&S(a,"gamelaunchurl",c),134217728&t[0]&&d!==(d=n[89].isNew)&&S(a,"gameisnew",d),134217728&t[0]&&u!==(u=0<n[89].advancedTags?.length&&n[43](n[89].advancedTags))&&S(a,"gametag",u),134217728&t[0]&&m!==(m=n[89].cellSize)&&S(a,"gamecellsize",m),134217728&t[0]&&g!==(g=n[89].id)&&S(a,"gameid",g),134217728&t[0]&&h!==(h=n[89].hasFunMode)&&S(a,"gamefunmode",h),134217728&t[0]&&p!==(p=n[89].isFavorite)&&S(a,"gamefavorite",p),2048&t[0]&&S(a,"translationurl",n[11]),8192&t[0]&&S(a,"showgamename",n[13]),134217728&t[0]|128&t[1]&&f!==(f=1==n[38][n[89].id]?"connect":"disconnect")&&S(a,"connectlive",f),256&t[1]&&S(a,"visibilityconnect",n[39]),4096&t[0]&&S(a,"currency",n[12]),134217728&t[0]&&y!==(y=n[89].details?n[89].href:"")&&S(a,"livelobbyendpoint",y),512&t[0]&&S(a,"clientstyling",n[9]),1024&t[0]&&S(a,"clientstylingurl",n[10]),8&t[0]&&S(a,"endpoint",n[3]),16384&t[0]&&S(a,"livecasino",n[14]),32768&t[0]&&S(a,"gamepagemodalurl",n[15]),65536&t[0]&&S(a,"integratedgameframedesktop",n[16]),131072&t[0]&&S(a,"integratedgameframemobile",n[17]),1048576&t[0]&&S(a,"casinogamesgridslider",n[20]),v!==n[91]&&(w(),v=n[91],b())},d(e){e&&me(a),w()}}}(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function lo(e){let n,a,i=e[41]("searchedItems")+"";return{c(){n=ge("h3"),a=he(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("searchedItems")+"")&&ye(a,i)},d(e){e&&me(n)}}}function co(e){let n,a,i=e[41]("noResults")+"";return{c(){n=ge("h3"),a=he(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noResults")+"")&&ye(a,i)},d(e){e&&me(n)}}}function uo(e){let n,a,i=e[41]("recentSearchedItems")+"";return{c(){n=ge("h3"),a=he(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("recentSearchedItems")+"")&&ye(a,i)},d(e){e&&me(n)}}}function mo(e){let n;return{c(){(n=ge("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function go(t){let a,i,r=!t[33]&&ho(t),o=t[27],s=[];for(let e=0;e<o.length;e+=1)s[e]=po(Pr(t,o,e));return{c(){r&&r.c(),a=pe(),i=ge("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){r&&r.m(e,t),ue(e,a,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(i,null)},p(t,n){if(t[33]?r&&(r.d(1),r=null):r?r.p(t,n):((r=ho(t)).c(),r.m(a.parentNode,a)),134479849&n[0]|4097&n[1]){let e;for(o=t[27],e=0;e<o.length;e+=1){const r=Pr(t,o,e);s[e]?s[e].p(r,n):(s[e]=po(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){r&&r.d(e),e&&me(a),e&&me(i),H(s,e)}}}function ho(e){let n,a,i=e[41]("noRecentSearch")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(at(e[42])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noRecentSearch")+"")&&ye(a,i)},d(e){e&&me(n)}}}function po(e){let n,a,i,r,o,s,l,c,d,u,m,g,h,p;return{c(){S(n=ge("casino-game-thumbnail-nd"),"class",a=""+(bo+(e[89].cellSize||"1x1"))),S(n,"part",i=""+(bo+(e[89].cellSize||"1x1"))),S(n,"session",e[6]),S(n,"userid",e[7]),S(n,"lang",e[5]),S(n,"searchitem",e[31]),S(n,"favorites",e[8]),S(n,"categoryid",e[0]),S(n,"gamethumbnail",r=e[89].thumbnail),S(n,"gamename",o=e[89].name),S(n,"gamevendor",s=e[89].vendor.logo),S(n,"gamelaunchurl",l=e[89].launchUrl),S(n,"gameisnew",c=e[89].isNew),S(n,"gametag",d=0<e[89].advancedTags?.length&&e[43](e[89].advancedTags)),S(n,"gamecellsize",u=e[89].cellSize),S(n,"gameid",m=e[89].id),S(n,"gamefunmode",g=e[89].hasFunMode),S(n,"showgamename",e[13]),S(n,"translationurl",e[11]),S(n,"gamefavorite",h=e[89].isFavorite),S(n,"currency",e[12]),S(n,"livelobbyendpoint",p=e[89].details?e[89].href:""),S(n,"clientstyling",e[9]),S(n,"clientstylingurl",e[10]),S(n,"endpoint",e[3]),S(n,"livecasino",e[14]),S(n,"gamepagemodalurl",e[15]),S(n,"integratedgameframedesktop",e[16]),S(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){134217728&t[0]&&a!==(a=""+(bo+(e[89].cellSize||"1x1")))&&S(n,"class",a),134217728&t[0]&&i!==(i=""+(bo+(e[89].cellSize||"1x1")))&&S(n,"part",i),64&t[0]&&S(n,"session",e[6]),128&t[0]&&S(n,"userid",e[7]),32&t[0]&&S(n,"lang",e[5]),1&t[1]&&S(n,"searchitem",e[31]),256&t[0]&&S(n,"favorites",e[8]),1&t[0]&&S(n,"categoryid",e[0]),134217728&t[0]&&r!==(r=e[89].thumbnail)&&S(n,"gamethumbnail",r),134217728&t[0]&&o!==(o=e[89].name)&&S(n,"gamename",o),134217728&t[0]&&s!==(s=e[89].vendor.logo)&&S(n,"gamevendor",s),134217728&t[0]&&l!==(l=e[89].launchUrl)&&S(n,"gamelaunchurl",l),134217728&t[0]&&c!==(c=e[89].isNew)&&S(n,"gameisnew",c),134217728&t[0]&&d!==(d=0<e[89].advancedTags?.length&&e[43](e[89].advancedTags))&&S(n,"gametag",d),134217728&t[0]&&u!==(u=e[89].cellSize)&&S(n,"gamecellsize",u),134217728&t[0]&&m!==(m=e[89].id)&&S(n,"gameid",m),134217728&t[0]&&g!==(g=e[89].hasFunMode)&&S(n,"gamefunmode",g),8192&t[0]&&S(n,"showgamename",e[13]),2048&t[0]&&S(n,"translationurl",e[11]),134217728&t[0]&&h!==(h=e[89].isFavorite)&&S(n,"gamefavorite",h),4096&t[0]&&S(n,"currency",e[12]),134217728&t[0]&&p!==(p=e[89].details?e[89].href:"")&&S(n,"livelobbyendpoint",p),512&t[0]&&S(n,"clientstyling",e[9]),1024&t[0]&&S(n,"clientstylingurl",e[10]),8&t[0]&&S(n,"endpoint",e[3]),16384&t[0]&&S(n,"livecasino",e[14]),32768&t[0]&&S(n,"gamepagemodalurl",e[15]),65536&t[0]&&S(n,"integratedgameframedesktop",e[16]),131072&t[0]&&S(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function fo(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function yo(e){let n;return{c(){(n=ge("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function vo(n){let a;function i(e){return e[24]?Ar:e[29]?Dr:Rr}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=G,fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),o.m(a,null),n[57](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[57](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},_r,Er,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});const bo="game-tile-";function wo(a,e,l){let D;rt(a,ai,e=>l(41,D=e));let i,r,o,t,A,n,s,c,N,d,{endpoint:u=""}=e,{datasource:m=""}=e,{lang:g=""}=e,{session:h=""}=e,{userid:p=""}=e,{favorites:f=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,{currency:B=""}=e,{categoryid:w=""}=e,{showgamename:O=""}=e,{livecasino:j="false"}=e,{gamepagemodalurl:H="true"}=e,{integratedgameframedesktop:z="false"}=e,{integratedgameframemobile:U="false"}=e,{casinomygames:W="false"}=e,{addfilterselector:Y="false"}=e,{addsortingselector:V="false"}=e,{filterbylogo:Z=""}=e,{casinogamesgridslider:q="false"}=e,{fetchviaevent:$="false"}=e,{showallpage:J="casino"}=e,{actionevent:K="CategoryChange"}=e,{displayedgamecount:X="10"}=e,{showallbuttongamescount:Q="10"}=e,x=!0,ee=!1,C=!0,te=window.navigator.userAgent,k=[],F=!0,S=40,M=!1,ne=!1,ae=!1,G=!1,ie=!1,re=!0,oe=!1,se=!1,le=!1,L=new Array(1e4),E={},ce="",_="",T=[],I={items:[],count:0,name:""},de=(Object.keys(Ii).forEach(e=>{Ti(e,Ii[e])}),void 0!==document.hidden?c="hidden":void 0!==document.msHidden?c="msHidden":void 0!==document.webkitHidden&&(c="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&pe(w),l(38,E[t]=1,E)):l(38,E[t]=0,E)})}));const ue=(e,t)=>{let a=u+`/v1/player/${t}/favorites/`,i=(l(23,x=!0),{method:"GET",headers:{"X-SessionID":e}});return new Promise((t,n)=>{fetch(a,i).then(e=>e.json()).then(e=>{l(23,x=!1),d=[],e?(e.items.forEach(e=>{e.gameModel&&(d.push(e),T.includes(e.id)||T.push(e.id))}),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d})):d=[],"FAVORITES"===w&&he(d),k.forEach(e=>{e.isFavorite=R(e.id)});e=k;l(27,k=void 0),l(27,k=e),t(d)}).catch(e=>{console.error(e),n(e)})})},P=(a,e,i)=>{l(23,x=!0);let t,r="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return r=1<(a.match(/\$/g)||[]).length?(t=a.split("$").slice(0,2).join("$"),new URL(`${u}/v1/casino/groups/${m}/${t}/subGroups`)):new URL(`${u}/v1/casino/groups/${m}/`+a),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",it(te)),r.searchParams.append("pagination",`games(offset=${e},limit=${i})`),r.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:a},window.location.href),o&&o[a])if(o[a].length&&!1===C&&!1===se){let t="";l(32,ie=!0),o[a].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),r.searchParams.append("filter",""+t)}else l(32,ie=!1);s&&(s[a]?s[a]&&"All"!=s[a]&&("isNew"==s[a]||"advancedTags(name(hot))"==s[a]?(r.searchParams.append("sortedField",`games(${s[a]})`),r.searchParams.append("orderBy","DES")):r.searchParams.append("sortedField",`games(${s[a]})`)):_&&"All"!=_&&("advancedTags(name(hot))"==_||"isNew"==_?(r.searchParams.append("sortedField",`games(${_})`),r.searchParams.append("orderBy","DES")):r.searchParams.append("sortedField",`games(${_})`))),fetch(r).then(e=>e.json()).then(e=>{l(23,x=!1),1<(a.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==a)return e})[0]),l(50,N=!0),l(24,ee=!1),A=e.games.total,t(e)},e=>{l(24,ee=!0),console.error(e),n(e)})})},me=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==w&&(l(29,M=!1),l(25,C=!1),l(28,F=!1),l(27,k=t.data.mostPlayedGames),l(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(23,x=!1);break;case"LastPlayedData":"LASTPLAYED"==w&&(l(29,M=!1),l(25,C=!1),l(28,F=!1),l(27,k=t.data.lastPlayedGames),l(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(23,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(29,M=!0),l(30,ne=!0),0<t.data.searchData.length?(l(27,k=t.data.searchData),l(33,re=!0),k&&k.forEach(e=>{e.isFavorite=R(e.id)})):(l(27,k=[]),l(33,re=!1));break;case"OutOfRecentSearches":l(29,M=!1),l(30,ne=!1);break;case"SearchData":l(29,M=!0),l(30,ne=!1),l(27,k=t.data.searchData.items||[]),l(31,G=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+w:l(29,M=!1),l(25,C=!0),l(1,Y="false"),l(2,V="false"),l(28,F=!0),l(31,G=!1),le=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),P(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(26,o=e),l(27,k=o.games.items),k&&k.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":S=20;break;case"ApplySorter":l(0,w=t.data.itemId),_=t.data.sortBy,P(w,0,S).then(e=>{l(26,o=e),l(27,k=o.games.items),l(28,F=!1)});break;case"CategoryUpdate":l(29,M=!1),l(25,C=!1),l(31,G=!1),le=!0,l(0,w=t.data.itemId),"MOSTPLAYED"!==w&&l(28,F=!1),"true"!==W&&P(w,0,S).then(e=>{l(26,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),l(27,k=o.games.items),l(28,F=!1),k.length<10&&0==t.data.origin&&(ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ae},window.location.href)},500))});break;case"SetUnfavoredGame"+w:e=`${u}/v1/player/${p}/favorites`,n=h,a=t.data.id,fetch(e+"/"+a,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+a},window.location.href),ge(e,n)}),T.includes(a)&&(T=T.filter(e=>e!=a));break;case"SetFavoredGame"+w:(async(e,t,n)=>{await ge(e,t),T.includes(n)||T.push(n);let a={items:T},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(e,i).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)}).catch(e=>{console.error("Err",e)})})(`${u}/v1/player/${p}/favorites`,h,t.data.id);break;case"UserSessionID":i=t.data.session,r=t.data.userID,"true"==f&&r&&r.length&&i&&0<i.length&&ue(i,r);break;case"UpdateFavoredList":"FAVORITES"===w&&ge(t.data.url,t.data.sessionID)}var e,n,a},R=t=>{var e;return null!=(e=null==d?void 0:d.some(e=>e.id===t))&&e};const ge=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>{d=e.items,$?(d.forEach(e=>{T.includes(e.id)||T.push(e.id)}),o&&(l(27,k=o.games.items),k.forEach(e=>{e.isFavorite=R(e.id)}))):d.forEach(e=>{e.isFavorite=R(e.id)}),"FAVORITES"===w&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d}),he(d))}).catch(e=>{console.error(e)}),he=e=>{var t;e&&(0<(e=(null==e?void 0:e.items)||e||[]).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!0)}),l(40,I.items=(e=e,I,t=window.navigator.userAgent,at(t)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),I),l(40,I.name="Favorites",I),l(23,x=!1))},pe=e=>{S+=1,l(34,oe=!0),S<=A&&P(e,0,S).then(e=>{l(26,o=e),o.games.items.length>k.length&&(l(27,k=o.games.items),k.forEach(e=>{e.isFavorite=R(e.id)})),l(34,oe=!1)})},fe=e=>{window.postMessage({type:""+K,itemId:e,showallpage:J},window.location.href)};return et(()=>(window.addEventListener("visibilitychange",e=>{document[c]?l(39,ce="disconnect"):l(39,ce="connect")}),window.addEventListener("message",me,!1),()=>{window.removeEventListener("message",me),window.removeEventListener("visibilitychange",me)})),a.$$set=e=>{"endpoint"in e&&l(3,u=e.endpoint),"datasource"in e&&l(4,m=e.datasource),"lang"in e&&l(5,g=e.lang),"session"in e&&l(6,h=e.session),"userid"in e&&l(7,p=e.userid),"favorites"in e&&l(8,f=e.favorites),"clientstyling"in e&&l(9,y=e.clientstyling),"clientstylingurl"in e&&l(10,v=e.clientstylingurl),"translationurl"in e&&l(11,b=e.translationurl),"currency"in e&&l(12,B=e.currency),"categoryid"in e&&l(0,w=e.categoryid),"showgamename"in e&&l(13,O=e.showgamename),"livecasino"in e&&l(14,j=e.livecasino),"gamepagemodalurl"in e&&l(15,H=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(16,z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(17,U=e.integratedgameframemobile),"casinomygames"in e&&l(18,W=e.casinomygames),"addfilterselector"in e&&l(1,Y=e.addfilterselector),"addsortingselector"in e&&l(2,V=e.addsortingselector),"filterbylogo"in e&&l(19,Z=e.filterbylogo),"casinogamesgridslider"in e&&l(20,q=e.casinogamesgridslider),"fetchviaevent"in e&&l(45,$=e.fetchviaevent),"showallpage"in e&&l(46,J=e.showallpage),"actionevent"in e&&l(47,K=e.actionevent),"displayedgamecount"in e&&l(48,X=e.displayedgamecount),"showallbuttongamescount"in e&&l(49,Q=e.showallbuttongamescount)},a.$$.update=()=>{if(32&a.$$.dirty[0]&&g&&(n=g,nt.set(n)),57&a.$$.dirty[0]|409600&a.$$.dirty[1]&&("false"===$||""===$)&&u&&g&&w&&m&&X&&Q&&(n=w,e=X,t=Q,""!==n)&&(l(29,M=!1),l(25,C=!0),l(1,Y="false"),l(2,V="false"),l(31,G=!1),le=!1,l(28,F=+t<+e),P(n,0,+e).then(e=>{l(26,o=e),l(27,k=o.games.items),k&&k.forEach(e=>{e.isFavorite=R(e.id)})})),456&a.$$.dirty[0]&&"true"===f&&u&&h&&p&&ue(h,p),4194304&a.$$.dirty[0]|524288&a.$$.dirty[1]&&N&&L&&le&&L.forEach((e,t)=>{e&&(e.elems_index=t,de.observe(e))}),225&a.$$.dirty[0]&&g&&w&&p&&h)switch(w){case"FAVORITES":l(37,se=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===W&&l(37,se=!1)}if(2048&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ti(e,t[e])})}).catch(e=>{console.log(e)}),2097664&a.$$.dirty[0]&&y&&s&&((t=document.createElement("style")).innerHTML=y,s.appendChild(t)),2098176&a.$$.dirty[0]&&v&&s){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t,n},[w,Y,V,u,m,g,h,p,f,y,v,b,B,O,j,H,z,U,W,Z,q,s,L,x,ee,C,o,k,F,M,ne,G,ie,re,oe,t,n,se,E,ce,I,D,te,a=>{if(0===(null==a?void 0:a.length))return"";let i,r="",o=999999999999;const s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Di(e).diff(s)<o&&(o=Di(e).diff(s),i=t),Di(s).isAfter(n)&&Di(s).isBefore(e)&&(r=a[i].name)}),r},fe,$,J,K,X,Q,N,function(e){tt[e?"unshift":"push"](()=>{n=e,l(36,n)})},e=>fe(o.id),function(e,t){tt[e?"unshift":"push"](()=>{L[t]=e,l(22,L)})},function(e){tt[e?"unshift":"push"](()=>{t=e,l(35,t)})},function(e){tt[e?"unshift":"push"](()=>{n=e,l(36,n)})},function(e){tt[e?"unshift":"push"](()=>{t=e,l(35,t)})},function(e){tt[e?"unshift":"push"](()=>{s=e,l(21,s)})}]}function $o(e,t){o(e,t)}customElements.get("casino-games-category-section-nd")||customElements.define("casino-games-category-section-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-semibold, 500)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw-casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw-casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;padding:8px 0 0;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 180px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 180px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 180px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 180px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw-casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 20px)}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw-casino-color-primary, #D0046C);border-color:var(--emw-casino-color-primary, #D0046C) transparent var(--emw-casino-color-primary, #D0046C);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:40px;height:40px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #262626), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:3px;background:linear-gradient(var(--emw-casino-categories-animation-fill-main-color, #161616), var(--emfe-casino-categories-animation-fill-secondary-color, #262626));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},wo,vo,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),m()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),m()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),m()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),m()}});const xo={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"}};function Co(e,t,n){e=e.slice();return e[36]=t[n],e[38]=n,e}function ko(n){let a,i,r,o,s,l,c,d=!n[7]&&Fo(n),u=n[7]&&Mo(n);return{c(){a=ge("div"),i=ge("div"),(r=ge("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,"role","button"),fe(i,"class","ModalContainer"),fe(a,"class","ModalWindow")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),d&&d.m(i,null),de(i,s),u&&u.m(i,null),l||(c=U(r,"click",n[12]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Fo(e)).c(),d.m(i,s)),e[7]?u?u.p(e,t):((u=Mo(e)).c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&me(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Fo(t){let n,a,i,r,o,s,e=t[9]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=So(Co(t,l,e));return{c(){n=ge("div"),a=ge("main"),i=ge("div");for(let e=0;e<c.length;e+=1)c[e].c();r=pe(),o=ge("p"),s=he(e),fe(i,"class","items"),M(i,"transform","translateY("+t[6]+"px)"),fe(a,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,i);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(i,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 a=Co(t,l,e);c[e]?c[e].p(a,n):(c[e]=So(a),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&M(i,"transform","translateY("+t[6]+"px)"),512&n[0]&&e!==(e=t[9]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),H(c,e)}}}function So(e){let n,a,i,r,o,s;return{c(){n=ge("div"),a=ge("img"),s=pe(),fe(a,"class","RandomGameImage"),ce(a.src,i=e[36].thumbnail)||fe(a,"src",i),fe(a,"alt",r=e[36].name),fe(a,"title",o=e[36].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,a),de(n,s)},p(e,t){16&t[0]&&!ce(a.src,i=e[36].thumbnail)&&fe(a,"src",i),16&t[0]&&r!==(r=e[36].name)&&fe(a,"alt",r),16&t[0]&&o!==(o=e[36].name)&&fe(a,"title",o)},d(e){e&&me(n)}}}function Mo(e){let n;function a(e){return e[8]?Lo:Go}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Go(e){let n,a,i=e[9]("noGames")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","RandomGameLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&i!==(i=e[9]("noGames")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Lo(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x,C=n[3].name+"",k=n[3].vendor.name+"",F=n[9]("playNowRandomGame")+"";return{c(){a=ge("div"),i=ge("div"),r=ge("img"),c=pe(),(d=ge("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-button-typography, 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=ge("div"),g=ge("p"),h=he(C),p=pe(),f=ge("p"),y=he(k),v=pe(),b=ge("button"),w=he(F),fe(r,"class","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(i,"class","item"),fe(g,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(b,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(a,"class","RandomGameWrapper")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,c),de(i,d),de(a,u),de(a,m),de(m,g),de(g,h),de(m,p),de(m,f),de(f,y),de(m,v),de(m,b),de(b,w),$||(x=[U(d,"click",n[21]),U(b,"click",n[22])],$=!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(h,C),8&t[0]&&k!==(k=e[3].vendor.name+"")&&ye(y,k),512&t[0]&&F!==(F=e[9]("playNowRandomGame")+"")&&ye(w,F)},d(e){e&&me(a),$=!1,j(x)}}}function Eo(e){let n,a,i=e[9]("playRandomGame")+"";return{c(){n=ge("span"),a=he(i),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&i!==(i=e[9]("playRandomGame")+"")&&ye(a,i)},d(e){e&&me(n)}}}function _o(e){let n,a;return{c(){n=ge("span"),a=he(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2&t[0]&&ye(a,e[1])},d(e){e&&me(n)}}}function To(n){let a,i,r,o,s,l,c,d,u=n[5]&&ko(n);function m(e){return e[1]?_o:e[1]?void 0:Eo}let g=m(n),h=g&&g(n);return{c(){a=ge("div"),u&&u.c(),i=pe(),r=ge("div"),o=ge("button"),h&&h.c(),s=pe(),l=ge("span"),this.c=G,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(r,"class","RandomButtonWrapper"),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),u&&u.m(a,null),de(a,i),de(a,r),de(r,o),h&&h.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[24](a),c||(d=U(o,"click",n[23]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=ko(e)).c(),u.m(a,i)):u&&(u.d(1),u=null),g===(g=m(e))&&h?h.p(e,t):(h&&h.d(1),(h=g&&g(e))&&(h.c(),h.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:G,o:G,d(e){e&&me(a),u&&u.d(),h&&h.d(),n[24](null),c=!1,d()}}}function Io(n,e,a){let t;rt(n,ai,e=>a(9,t=e));let i,r,o,{endpoint:s=""}=e,{datasource:l=""}=e,{gameevent:c=""}=e,{lang:d=""}=e,{randombuttonicon:u=""}=e,{buttontext:m=""}=e,{translationurl:g=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:f=""}=e,y=[],v="",b=!1,w=0,$=0,x=!1,C=!1,k=window.navigator.userAgent;var F,S;({withLocale:F,translations:S}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(S),nt.set(F))}),Object.keys(xo).forEach(e=>{$o(e,xo[e])});const M=e=>{C?(a(4,i=(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})(i)),a(6,w=0),$=0,a(7,x=!1),a(3,v=y[Math.floor(Math.random()*y.length)]),a(5,b=!0),clearInterval(r),r=setInterval(()=>{a(6,w-=75),20==++$&&(a(7,x=!0),clearInterval(r))},150)):(a(5,b=!0),a(7,x=!0)),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},G=()=>{window.postMessage({type:c,gameId:v.gId||v.id},window.location.href),a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)})};return n.$$set=e=>{"endpoint"in e&&a(13,s=e.endpoint),"datasource"in e&&a(14,l=e.datasource),"gameevent"in e&&a(15,c=e.gameevent),"lang"in e&&a(16,d=e.lang),"randombuttonicon"in e&&a(0,u=e.randombuttonicon),"buttontext"in e&&a(1,m=e.buttontext),"translationurl"in e&&a(17,g=e.translationurl),"clientstyling"in e&&a(18,h=e.clientstyling),"clientstylingurl"in e&&a(19,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&a(20,f=e.filteredrandomgamecategories)},n.$$.update=()=>{if(65536&n.$$.dirty[0]&&d&&(t=d,nt.set(t)),131072&n.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{$o(e,t[e])})}).catch(e=>{console.log(e)}),24576&n.$$.dirty[0]&&s&&l&&((t=new URL(s+"/v1/casino/games")).searchParams.append("platform",it(k)),t.searchParams.append("datasource",l),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),f&&t.searchParams.append("filter","groups="+f),t.searchParams.append("expand","categories,vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{(y=e.items).length?(a(4,i=y.slice(0,19)),a(8,C=!0)):(a(4,i=[]),a(8,C=!1))}).catch(e=>{console.log(e),a(8,C=!1)})),262148&n.$$.dirty[0]&&h&&o&&((e=document.createElement("style")).innerHTML=h,o.appendChild(e)),524292&n.$$.dirty[0]&&p&&o){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t},[u,m,o,v,i,b,w,x,C,t,M,G,()=>{a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,l,c,d,g,h,p,f,()=>M(!0),()=>G(),()=>M(),function(e){tt[e?"unshift":"push"](()=>{o=e,a(2,o)})}]}function Po(e,t){o(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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, 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, 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-casino-color-primary, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Io,To,n,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[15]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});const Ro={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};function Do(n){let a;return{c(){(a=ge("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=G},m(e,t){ue(e,a,t),n[3](a)},p:G,i:G,o:G,d(e){e&&me(a),n[3](null)}}}function Ao(t,e,n){let a,{clientstyling:i=""}=e,{clientstylingurl:r=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,i=e.clientstyling),"clientstylingurl"in e&&n(2,r=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&i&&a&&((e=document.createElement("style")).innerHTML=i,a.appendChild(e)),5&t.$$.dirty&&r&&a){let e=new URL(r),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[a,i,r,function(e){tt[e?"unshift":"push"](()=>{a=e,n(0,a)})}]}function No(e,t,n){e=e.slice();return e[67]=t[n],e}function Bo(e,t,n){e=e.slice();return e[70]=t[n],e}function Oo(n){let i,a,r,o,s,l,c,d,e,u,m,g,h,p,f,y,v,b,w,$=n[17],x=[];for(let e=0;e<$.length;e+=1)x[e]=Uo(Bo(n,$,e));function C(e){return e[18]?Yo:Wo}let k=C(n),F=k(n);return{c(){i=ge("div"),a=ge("div"),r=ge("div");for(let e=0;e<x.length;e+=1)x[e].c();o=pe(),s=ge("div"),l=ge("button"),c=z("svg"),d=z("path"),u=pe(),m=ge("button"),g=z("svg"),h=z("path"),y=pe(),F.c(),fe(r,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].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(h,"style",p=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(h,"id","Path_36"),fe(h,"data-name","Path 36"),fe(h,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(h,"transform","translate(0 24.656) rotate(-90)"),fe(h,"fill","#fff"),fe(g,"id","Component_46_2"),fe(g,"data-name","Component 46 – 2"),fe(g,"xmlns","http://www.w3.org/2000/svg"),fe(g,"width","15"),fe(g,"height","15"),fe(g,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(i,"class",v="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,a),de(a,r);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(r,null);de(a,o),de(a,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,g),de(g,h),de(i,y),F.m(i,null),b||(w=[U(l,"click",n[42]),U(m,"click",n[43])],b=!0)},p(t,n){if(1704963&n[0]){let e;for($=t[17],e=0;e<$.length;e+=1){var a=Bo(t,$,e);x[e]?x[e].p(a,n):(x[e]=Uo(a),x[e].c(),x[e].m(r,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=$.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&p!==(p=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(h,"style",p),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),k===(k=C(t))&&F?F.p(t,n):(F.d(1),(F=k(t))&&(F.c(),F.m(i,null))),8192&n[0]&&v!==(v="CasinoWinners "+(t[13]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&me(i),H(x,e),F.d(),b=!1,j(w)}}}function jo(e){let n;return{c(){S(n=ge("general-animation-loading"),"clientstyling",e[4]),S(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"clientstyling",e[4]),32&t[0]&&S(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Ho(n){let a,i,r,o,s,l=n[19]("recentWinners")+"";return{c(){a=ge("button"),i=he(l),fe(a,"class",r="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),o||(s=U(a,"click",n[40]),o=!0)},p(e,t){524288&t[0]&&l!==(l=e[19]("recentWinners")+"")&&ye(i,l),1025&t[0]&&r!==(r="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",r)},d(e){e&&me(a),o=!1,s()}}}function zo(n){let a,i,r,o,s,l,c=n[19]("topWinners")+"";return{c(){a=ge("button"),i=he(c),r=pe(),fe(a,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),de(a,r),s||(l=U(a,"click",n[41]),s=!0)},p(e,t){524288&t[0]&&c!==(c=e[19]("topWinners")+"")&&ye(i,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function Uo(e){let n,a,i="recent"==e[70]&&Ho(e),r="top"==e[70]&&zo(e);return{c(){i&&i.c(),n=pe(),r&&r.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),r&&r.m(e,t),ue(e,a,t)},p(e,t){"recent"==e[70]?i?i.p(e,t):((i=Ho(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[70]?r?r.p(e,t):((r=zo(e)).c(),r.m(a.parentNode,a)):r&&(r.d(1),r=null)},d(e){i&&i.d(e),e&&me(n),r&&r.d(e),e&&me(a)}}}function Wo(n){let i,r=n[11],o=[];for(let e=0;e<r.length;e+=1)o[e]=Vo(No(n,r,e));return{c(){i=ge("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class","WinnersSlider")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null);n[45](i)},p(t,n){if(6883468&n[0]){let e;for(r=t[11],e=0;e<r.length;e+=1){var a=No(t,r,e);o[e]?o[e].p(a,n):(o[e]=Vo(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){e&&me(i),H(o,e),n[45](null)}}}function Yo(e){let n;return{c(){S(n=ge("general-animation-loading"),"clientstyling",e[4]),S(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"clientstyling",e[4]),32&t[0]&&S(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Vo(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x,C,k,F,S,M=n[67].gameName+"",G=n[21](n[67].username)+"",L=n[19]("won")+"",E=n[67].specifiedCurrencyAmount.toFixed(2)+"",_=(n[7]?n[3]:n[2])+"";function T(){return n[44](n[67])}return{c(){a=ge("div"),i=ge("div"),r=ge("img"),l=pe(),c=ge("p"),d=he(M),u=pe(),m=ge("p"),g=he(G),h=pe(),p=ge("p"),f=he(L),y=pe(),v=ge("p"),b=he(E),w=pe(),$=ge("span"),x=he(_),C=pe(),ce(r.src,o=n[67]?.gameModel?.thumbnail)||fe(r,"src",o),fe(r,"alt",s=n[67]?.gameModel?.thumbnail),fe(r,"class","WinnersImage"),fe(p,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(a,"class",k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,l),de(i,c),de(c,d),de(i,u),de(i,m),de(m,g),de(i,h),de(i,p),de(p,f),de(i,y),de(i,v),de(v,b),de(v,w),de(v,$),de($,x),de(a,C),F||(S=U(r,"click",T),F=!0)},p(e,t){n=e,2048&t[0]&&!ce(r.src,o=n[67]?.gameModel?.thumbnail)&&fe(r,"src",o),2048&t[0]&&s!==(s=n[67]?.gameModel?.thumbnail)&&fe(r,"alt",s),2048&t[0]&&M!==(M=n[67].gameName+"")&&ye(d,M),2048&t[0]&&G!==(G=n[21](n[67].username)+"")&&ye(g,G),524288&t[0]&&L!==(L=n[19]("won")+"")&&ye(f,L),2048&t[0]&&E!==(E=n[67].specifiedCurrencyAmount.toFixed(2)+"")&&ye(b,E),140&t[0]&&_!==(_=(n[7]?n[3]:n[2])+"")&&ye(x,_),65536&t[0]&&k!==(k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(a,"class",k)},d(e){e&&me(a),F=!1,S()}}}function Zo(n){let a;function i(e){return e[14]||e[15]?jo:Oo}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[46](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[46](null)}}}function qo(n,e,a){let t;rt(n,ai,e=>a(19,t=e));let i,r,A,o,N,s,B,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:g=""}=e,{periodrecent:h="Today"}=e,{periodtop:p="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:v="1"}=e,{vendorCategory:b="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:G=""}=e,{translationurl:L=""}=e,{winnersdatasources:E=""}=e,{hascustomstyling:_="false"}=e,T=[],I=0,P=0,O=window.navigator.userAgent,R=!0,D=!1,j=!1,H=[],z=!1;Object.keys(Ro).forEach(e=>{Po(e,Ro[e])});const U=()=>{H=E.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/v1/casino/${r}-winners`);a(18,z=!0),t.searchParams.append("limit","recent"==r?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==r?h:p),t.searchParams.append("language",w),t.searchParams.append("amountLimit",v),t.searchParams.append("vendorCategory",b),H.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{a(11,T=[]),a(11,T=e.items.map(e=>e)),a(18,z=!1),setTimeout(()=>{a(12,P=Math.round(i.offsetWidth/225)),V(),"true"==M&&(clearInterval(l),I=0,P<B?l=setInterval(()=>{J()},3e3):clearInterval(l)),a(14,R=!1)},5)})},1e3)},W=e=>{r!==e&&(a(11,T=[]),a(10,r=e),U())},Y=(e,t,n,a)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(N||"Not logged in")})},V=n=>{var e=[...i.children];B=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{a(16,j=!0)},10)},Z=()=>{V(I)},q=()=>{var e;P>=T.length||(e=T.length,0===I?I=e-P:I-P<0?I=0:I-=P,Z())},J=()=>{var e;P>=T.length||(e=T.length,"true"==M&&(I===e-P?I=0:I++),"false"==M&&(I===e-P?I=0:e-P<I+P?I=e-P:I+=P),Z())},K=()=>{a(39,d=o?k:C)};return et(()=>(a(13,A=at(O)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&a(26,u=e.endpoint),"session"in e&&a(27,m=e.session),"userid"in e&&a(28,g=e.userid),"periodrecent"in e&&a(29,h=e.periodrecent),"periodtop"in e&&a(30,p=e.periodtop),"numberusersrecent"in e&&a(31,f=e.numberusersrecent),"numberuserstop"in e&&a(32,y=e.numberuserstop),"amountlimit"in e&&a(25,v=e.amountlimit),"vendorCategory"in e&&a(33,b=e.vendorCategory),"lang"in e&&a(34,w=e.lang),"isrecentavailable"in e&&a(0,$=e.isrecentavailable),"istopavailable"in e&&a(1,x=e.istopavailable),"defaultcurrency"in e&&a(2,C=e.defaultcurrency),"usercurrency"in e&&a(3,k=e.usercurrency),"clientstyling"in e&&a(4,F=e.clientstyling),"clientstylingurl"in e&&a(5,S=e.clientstylingurl),"enableautoscroll"in e&&a(6,M=e.enableautoscroll),"tabsorder"in e&&a(35,G=e.tabsorder),"translationurl"in e&&a(36,L=e.translationurl),"winnersdatasources"in e&&a(37,E=e.winnersdatasources),"hascustomstyling"in e&&a(38,_=e.hascustomstyling)},n.$$.update=()=>{if(1644167171&n.$$.dirty[0]|31&n.$$.dirty[1]&&$&&x&&h&&p&&f&&y&&v&&b&&w&&G&&(a(17,c=G.split(",")),a(10,r=c[0]),"false"==$&&a(25,v=""),K(),a(14,R=!1)),134217728&n.$$.dirty[0]&&m&&(a(7,o=!0),N=g),140&n.$$.dirty[0]&&o&&(k||C)&&K(),67108864&n.$$.dirty[0]|320&n.$$.dirty[1]&&u&&E&&d&&U(),8&n.$$.dirty[1]&&w&&(t=w,nt.set(t)),32&n.$$.dirty[1]&&L&&(t=new URL(L),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Po(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[1]&&_&&"true"===_&&(F||S||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!F)&&S&&a(15,D=!0),272&n.$$.dirty[0]&&F&&s&&((e=document.createElement("style")).innerHTML=F,s.appendChild(e)),288&n.$$.dirty[0]&&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),a(15,D=!1)})}var e,t},[$,x,C,k,F,S,M,o,s,i,r,T,P,A,R,D,j,c,z,t,W,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Y,q,J,v,u,m,g,h,p,f,y,b,w,G,L,E,_,d,()=>W("recent"),()=>W("top"),()=>q(),()=>J(),e=>Y(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){tt[e?"unshift":"push"](()=>{i=e,a(9,i)})},function(e){tt[e?"unshift":"push"](()=>{s=e,a(8,s)})}]}function Jo(e,t){o(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ao,Do,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, 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-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, 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:last-child{margin-right:0}.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}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},qo,Zo,n,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:25,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:35,translationurl:36,winnersdatasources:37,hascustomstyling:38},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[27]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[28]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[30]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[25]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[35]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[37]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[38]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});const Ko={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."}};function Xo(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function Qo(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b;function w(e){return e[5]?ns:as}let $=w(n),x=$(n);return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=ge("div"),s=ge("img"),c=pe(),d=ge("div"),x.c(),u=pe(),m=ge("div"),g=ge("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(g.src,h=n[11])||fe(g,"src",h),fe(g,"alt",""),fe(m,"class","title"),fe(r,"class",p="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),M(r,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(a,"class",f=n[12]?"DisplayNone":""),fe(a,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,a,t),de(a,i),de(i,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,g),v||(b=U(i,"click",n[31]),v=!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(g.src,h=e[11])&&fe(g,"src",h),49&t[0]&&p!==(p="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(r,"class",p),1024&t[0]&&M(r,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(a,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(a,"part",y)},d(e){e&&me(a),x.d(),v=!1,b()}}}function es(e){let n;return{c(){fe(n=ge("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function ts(e){let n;return{c(){(n=ge("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function ns(e){let n,a,i,r,o,s,A,l,c,N,B,d,O,j,u,m,g,h,p,H,f,y,z,U,v,W,Y,b,w,$,x,C,k,V,F,S,Z,q,M,J,K,G,L,E,_,T,X,I,P,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",ae=e[8][1]+"",ie=e[7][1]+"",re=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=ge("div"),a=ge("div"),i=ge("div"),r=ge("img"),s=ge("span"),A=he(D),l=ge("span"),c=ge("span"),N=he(ne),B=pe(),d=ge("span"),O=he(e[1]),j=pe(),u=ge("div"),m=ge("div"),g=ge("img"),p=ge("span"),H=he(ae),f=ge("span"),y=ge("span"),z=he(ie),U=pe(),v=ge("span"),W=he(e[1]),Y=pe(),b=ge("div"),w=ge("div"),$=ge("div"),x=ge("img"),k=ge("span"),V=he(re),F=ge("span"),S=ge("span"),Z=he(oe),q=pe(),M=ge("span"),J=he(e[1]),K=pe(),G=ge("div"),L=ge("div"),E=ge("img"),T=ge("span"),X=he(se),I=ge("span"),P=ge("span"),Q=he(le),ee=pe(),R=ge("span"),te=he(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(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(a,"class","displayCard"),fe(g,"class","displayCardIcon"),ce(g.src,h=e[9][1])||fe(g,"src",h),fe(g,"alt",""),fe(p,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(v,"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(E,"class","displayCardIcon"),ce(E.src,_=e[9][3])||fe(E,"src",_),fe(E,"alt",""),fe(T,"class","cardLabel"),fe(L,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(I,"class","cardTextWrapper"),fe(G,"class","displayCard"),fe(b,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(i,r),de(i,s),de(s,A),de(a,l),de(l,c),de(c,N),de(l,B),de(l,d),de(d,O),de(n,j),de(n,u),de(u,m),de(m,g),de(m,p),de(p,H),de(u,f),de(f,y),de(y,z),de(f,U),de(f,v),de(v,W),ue(e,Y,t),ue(e,b,t),de(b,w),de(w,$),de($,x),de($,k),de(k,V),de(w,F),de(F,S),de(S,Z),de(F,q),de(F,M),de(M,J),de(b,K),de(b,G),de(G,L),de(L,E),de(L,T),de(T,X),de(G,I),de(I,P),de(P,Q),de(I,ee),de(I,R),de(R,te)},p(e,t){512&t[0]&&!ce(r.src,o=e[9][0])&&fe(r,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(N,ne),2&t[0]&&ye(O,e[1]),512&t[0]&&!ce(g.src,h=e[9][1])&&fe(g,"src",h),256&t[0]&&ae!==(ae=e[8][1]+"")&&ye(H,ae),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(z,ie),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(J,e[1]),512&t[0]&&!ce(E.src,_=e[9][3])&&fe(E,"src",_),256&t[0]&&se!==(se=e[8][3]+"")&&ye(X,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(b)}}}function as(t){let i,r=Array(4),o=[];for(let e=0;e<r.length;e+=1)o[e]=is(Xo(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(898&n[0]){let e;for(r=Array(4),e=0;e<r.length;e+=1){var a=Xo(t,r,e);o[e]?o[e].p(a,n):(o[e]=is(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){H(o,e),e&&me(i)}}}function is(e){let n,a,i,r,o,s,l,c,d,u,m,g,h=e[8][e[50]]+"",p=(e[7][e[50]]??"")+"";return{c(){n=ge("div"),a=ge("div"),i=ge("img"),o=ge("span"),s=he(h),l=ge("span"),c=ge("span"),d=he(p),u=pe(),m=ge("span"),g=he(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,r=e[9][e[50]])||fe(i,"src",r),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(a,"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,a),de(a,i),de(a,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,g)},p(e,t){512&t[0]&&!ce(i.src,r=e[9][e[50]])&&fe(i,"src",r),256&t[0]&&h!==(h=e[8][e[50]]+"")&&ye(s,h),128&t[0]&&p!==(p=(e[7][e[50]]??"")+"")&&ye(d,p),2&t[0]&&ye(g,e[1])},d(e){e&&me(n)}}}function rs(n){let a;function i(e){return e[13]?ts:e[3]?es:Qo}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[32](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[32](null)}}}function os(a,e,i){let r,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:g=""}=e,{currency:h=""}=e,{backgroundsrcmobile:p=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,C=!1,k=!1,F="",S=[],M=[],G=[],L=[],E=[],_="",T="",I=!1,P=!0,R=!1;Object.keys(Ko).forEach(e=>{Jo(e,Ko[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};return a.$$set=e=>{"visualstructure"in e&&i(0,s=e.visualstructure),"title"in e&&i(15,t=e.title),"caticon0"in e&&i(16,l=e.caticon0),"caticon1"in e&&i(17,c=e.caticon1),"caticon2"in e&&i(18,d=e.caticon2),"caticon3"in e&&i(19,u=e.caticon3),"iconlabels"in e&&i(20,m=e.iconlabels),"backgroundsrc"in e&&i(21,g=e.backgroundsrc),"currency"in e&&i(1,h=e.currency),"backgroundsrcmobile"in e&&i(22,p=e.backgroundsrcmobile),"titlelogopath"in e&&i(23,f=e.titlelogopath),"lang"in e&&i(24,y=e.lang),"clientstyling"in e&&i(25,v=e.clientstyling),"clientstylingurl"in e&&i(26,b=e.clientstylingurl),"translationurl"in e&&i(27,w=e.translationurl),"endpoint"in e&&i(28,$=e.endpoint),"gameid"in e&&i(29,x=e.gameid)},a.$$.update=()=>{if(268435456&a.$$.dirty[0]&&$&&(n=new URL($+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{i(30,M=e.egtJackpotIds.map(e=>e))})),33554436&a.$$.dirty[0]&&r&&v&&((n=document.createElement("style")).innerHTML=v,r.appendChild(n)),67108868&a.$$.dirty[0]&&r&&b){i(12,I=!0);let e=new URL(b),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)})}var e,t,n;1358954498&a.$$.dirty[0]&&$&&y&&h&&0<M.length&&$&&y&&h&&((t=new URL($+"/v1/casino/jackpots")).searchParams.append("filter","id="+x),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",h),fetch(t.href).then(e=>e.json().then(e=>{i(3,P=!1),o=e,M.includes(x)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>S.push(+e)),e=o,i(6,F=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{i(13,R=!0),i(3,P=!1),console.error(e)}))),16777226&a.$$.dirty[0]&&h&&y&&!P&&(i(4,C=at(A)&&1<window.innerHeight/window.innerWidth),i(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==S.length&&i(7,G=S.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),i(8,L=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?i(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),i(0,s=D[0])),i(10,_=p&&C&&!k?p:g),i(11,T=f),i(9,E=[l,c,d,u])),16777216&a.$$.dirty[0]&&y&&(e=y,nt.set(e)),134217728&a.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Jo(e,t[e])})}).catch(e=>{console.log(e)})},[s,h,r,P,C,k,F,G,L,E,_,T,I,R,n,t,l,c,d,u,m,g,p,f,y,v,b,w,$,x,M,()=>n(),function(e){tt[e?"unshift":"push"](()=>{r=e,i(2,r)})}]}function ss(e,t){o(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=':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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner: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:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},os,rs,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}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}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});const ls={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function cs(e,t,n){e=e.slice();return e[39]=t[n],e}function ds(e,t,n){e=e.slice();return e[42]=t[n],e}function us(n){let i,a,r,o,s,l,c,d,u,m,g,e,h,p,f=("vendor"==n[0]?n[8]("providers"):n[8]("collections"))+"",y=n[3],v=[];for(let e=0;e<y.length;e+=1)v[e]=ys(cs(n,y,e));return{c(){i=ge("div"),a=ge("div"),r=ge("p"),o=he(f),s=pe(),l=ge("div"),(c=ge("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=ge("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(),g=ge("div");for(let e=0;e<v.length;e+=1)v[e].c();fe(r,"class","Title"),fe(l,"class","ButtonsContainer"),fe(a,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":"")+" "+("vendor"===n[0]?"Providers":"Collections"))},m(e,t){ue(e,i,t),de(i,a),de(a,r),de(r,o),de(a,s),de(a,l),de(l,c),de(l,d),de(l,u),de(i,m),de(i,g);for(let e=0;e<v.length;e+=1)v[e]&&v[e].m(g,null);n[23](g),h||(p=[U(c,"click",n[19]),U(u,"click",n[20])],h=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("providers"):t[8]("collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var a=cs(t,y,e);v[e]?v[e].p(a,n):(v[e]=ys(a),v[e].c(),v[e].m(g,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=y.length}129&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":"")+" "+("vendor"===t[0]?"Providers":"Collections"))&&fe(i,"class",e)},d(e){e&&me(i),H(v,e),n[23](null),h=!1,j(p)}}}function ms(e){let n;return{c(){fe(n=ge("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function gs(e){let n,a,i=e[39].name+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[39].name+"")&&ye(a,i)},d(e){e&&me(n)}}}function hs(e){let n,a,i;return{c(){fe(n=ge("img"),"class","CategorySlideLogo"),ce(n.src,a=e[39].icon)||fe(n,"src",a),fe(n,"alt",i=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[39].icon)&&fe(n,"src",a),8&t[0]&&i!==(i=e[39].name+" icon")&&fe(n,"alt",i)},d(e){e&&me(n)}}}function ps(e){let n,a,i,r=e[42].name+"";return{c(){n=ge("p"),a=he(r),fe(n,"title",i=e[42].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[42].name+"")&&ye(a,r),8&t[0]&&i!==(i=e[42].name)&&fe(n,"title",i)},d(e){e&&me(n)}}}function fs(n){let a,i,r,o,s,l,c,d;function u(){return n[21](n[42])}let m="true"==n[2]&&ps(n);return{c(){a=ge("div"),i=ge("img"),s=pe(),m&&m.c(),l=pe(),fe(i,"class","CategorySlideGameImage"),ce(i.src,r=n[42].defaultThumbnail)||fe(i,"src",r),fe(i,"alt",o=n[42].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,i),de(a,s),m&&m.m(a,null),de(a,l),c||(d=U(i,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(i.src,r=n[42].defaultThumbnail)&&fe(i,"src",r),8&t[0]&&o!==(o=n[42].name)&&fe(i,"alt",o),"true"==n[2]?m?m.p(n,t):((m=ps(n)).c(),m.m(a,l)):m&&(m.d(1),m=null)},d(e){e&&me(a),m&&m.d(),c=!1,d()}}}function ys(n){let a,i,r,o,s,l,c,d,u;function m(e){return"logo"==e[1]?hs:"title"==e[1]?gs:void 0}let g=m(n),h=g&&g(n),p=n[39].games,f=[];for(let e=0;e<p.length;e+=1)f[e]=fs(ds(n,p,e));function y(){return n[22](n[39])}return{c(){a=ge("div"),i=ge("div"),r=ge("div"),h&&h.c(),o=pe(),s=ge("div");for(let e=0;e<f.length;e+=1)f[e].c();c=pe(),fe(r,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),M(i,"background-image","url("+n[39]?.background+")"),M(i,"background-size","cover"),fe(a,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,a,t),de(a,i),de(i,r),h&&h.m(r,null),de(i,o),de(i,s);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(s,null);de(a,c),d||(u=U(i,"click",y),d=!0)},p(e,t){if(g===(g=m(n=e))&&h?h.p(n,t):(h&&h.d(1),(h=g&&g(n))&&(h.c(),h.m(r,null))),2060&t[0]){let e;for(p=n[39].games,e=0;e<p.length;e+=1){const i=ds(n,p,e);f[e]?f[e].p(i,t):(f[e]=fs(i),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[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),8&t[0]&&M(i,"background-image","url("+n[39]?.background+")")},d(e){e&&me(a),h&&h.d(),H(f,e),d=!1,u()}}}function vs(n){let a;function i(e){return e[6]?ms:us}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[24](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[24](null)}}}function bs(n,e,a){let t;rt(n,ai,e=>a(8,t=e));let i,r,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:g=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,v=[],b=!0,w=0,$=0,x=0,C=window.navigator.userAgent;Object.keys(ls).forEach(e=>{ss(e,ls[e])});const k=n=>{(o=[...i.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>r=e.getBoundingClientRect().width),x=Math.round(i.offsetWidth/r)},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())},G=(e,t,n,a)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},L=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return et(()=>{a(7,l=at(C))}),n.$$set=e=>{"endpoint"in e&&a(13,c=e.endpoint),"datasource"in e&&a(14,d=e.datasource),"lang"in e&&a(15,u=e.lang),"type"in e&&a(0,m=e.type),"titletype"in e&&a(1,g=e.titletype),"clientstyling"in e&&a(16,h=e.clientstyling),"clientstylingurl"in e&&a(17,p=e.clientstylingurl),"translationurl"in e&&a(18,f=e.translationurl),"collectionprovidersgamenames"in e&&a(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{a(6,b=!1);e=e.items.filter(e=>e.flags==m);a(3,v=e.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}})),$=v.length})),24&n.$$.dirty[0]&&v&&i&&k(),32768&n.$$.dirty[0]&&u&&(t=u,nt.set(t)),65568&n.$$.dirty[0]&&h&&s&&((e=document.createElement("style")).innerHTML=h,s.appendChild(e)),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)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ss(e,t[e])})}).catch(e=>{console.log(e)})},[m,g,y,v,i,s,b,l,t,S,M,G,L,c,d,u,h,p,f,()=>S(),()=>M(),e=>G(e.gameId,e.launchUrl,e.name,e.subVendor),e=>L(e.id),function(e){tt[e?"unshift":"push"](()=>{i=e,a(4,i)})},function(e){tt[e?"unshift":"push"](()=>{s=e,a(5,s)})}]}function ws(n){let a,i;return{c(){a=ge("div"),i=ge("casino-games-category-section-nd"),this.c=G,S(i,"session",n[4]),S(i,"userid",n[5]),S(i,"endpoint",n[0]),S(i,"datasource",n[1]),S(i,"lang",n[3]),S(i,"currency",n[2]),S(i,"favorites",n[14]),S(i,"fetchviaevent",n[16]),S(i,"categoryid","FAVORITES"),S(i,"class","CategoryContainer"),S(i,"showgamename",n[11]),S(i,"clientstyling",n[6]),S(i,"clientstylingurl",n[7]),S(i,"livecasino",n[8]),S(i,"visiblegames",n[13]),S(i,"gamepagemodalurl",n[12]),S(i,"integratedgameframedesktop",n[10]),S(i,"integratedgameframemobile",n[9]),S(i,"casinomygames",n[15]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,i),n[18](a)},p(e,[t]){16&t&&S(i,"session",e[4]),32&t&&S(i,"userid",e[5]),1&t&&S(i,"endpoint",e[0]),2&t&&S(i,"datasource",e[1]),8&t&&S(i,"lang",e[3]),4&t&&S(i,"currency",e[2]),16384&t&&S(i,"favorites",e[14]),65536&t&&S(i,"fetchviaevent",e[16]),2048&t&&S(i,"showgamename",e[11]),64&t&&S(i,"clientstyling",e[6]),128&t&&S(i,"clientstylingurl",e[7]),256&t&&S(i,"livecasino",e[8]),8192&t&&S(i,"visiblegames",e[13]),4096&t&&S(i,"gamepagemodalurl",e[12]),1024&t&&S(i,"integratedgameframedesktop",e[10]),512&t&&S(i,"integratedgameframemobile",e[9]),32768&t&&S(i,"casinomygames",e[15])},i:G,o:G,d(e){e&&me(a),n[18](null)}}}function $s(t,e,n){let a,{endpoint:i=""}=e,{datasource:r=""}=e,{currency:o=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:h="false"}=e,{showgamename:p=""}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:v=""}=e,{casinomygames:b="false"}=e,{fetchviaevent:w="true"}=e;var $,x;return{withLocale:$,translations:x}=[{withLocale:"en",translations:{}}][0],nt.subscribe(e=>{null==e&&(Sa.set(x),nt.set($))}),t.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,r=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,u=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,h=e.integratedgameframedesktop),"showgamename"in e&&n(11,p=e.showgamename),"gamepagemodalurl"in e&&n(12,f=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},t.$$.update=()=>{if(131136&t.$$.dirty&&d&&a&&((e=document.createElement("style")).innerHTML=d,a.appendChild(e)),131200&t.$$.dirty&&u&&a){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,a,function(e){tt[e?"unshift":"push"](()=>{a=e,n(17,a)})}]}function xs(e,t){o(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, 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;cursor:pointer}.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{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.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:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},bs,vs,n,{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),m())}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}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},$s,ws,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});const Cs={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."}};function ks(e){let n;return{c(){S(n=ge("casino-games-category-section-nd"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[14]),S(n,"fetchviaevent",e[16]),S(n,"categoryid","LASTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[12]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[13]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16384&t[0]&&S(n,"favorites",e[14]),65536&t[0]&&S(n,"fetchviaevent",e[16]),4096&t[0]&&S(n,"showgamename",e[12]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),8192&t[0]&&S(n,"visiblegames",e[13]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),32768&t[0]&&S(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Fs(e){let n,a,i=e[19]("noRecentGames")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&i!==(i=e[19]("noRecentGames")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Ss(n){let a,i;function r(e){return e[18]?Fs:ks}let o=r(n),s=o(n);return{c(){a=ge("div"),i=ge("div"),s.c(),this.c=G,fe(i,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,i),s.m(i,null),n[25](a)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:G,o:G,d(e){e&&me(a),s.d(),n[25](null)}}}function Ms(t,e,n){let a;rt(t,ai,e=>n(19,a=e));let i,r,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{translationurl:h=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:v="false"}=e,{showgamename:b=""}=e,{visiblegames:w=""}=e,{favorites:$=""}=e,{lastplayedperiod:x="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:k=""}=e,{casinomygames:F="false"}=e,{lastplayedunique:S="true"}=e,{fetchviaevent:M="true"}=e,G=window.navigator.userAgent,L=!1,E=[];Object.keys(Cs).forEach(e=>{xs(e,Cs[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,l=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,g=e.clientstylingurl),"translationurl"in e&&n(20,h=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,v=e.gamepagemodalurl),"showgamename"in e&&n(12,b=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,$=e.favorites),"lastplayedperiod"in e&&n(21,x=e.lastplayedperiod),"lastplayedorder"in e&&n(22,C=e.lastplayedorder),"lastplayedlimit"in e&&n(23,k=e.lastplayedlimit),"casinomygames"in e&&n(15,F=e.casinomygames),"lastplayedunique"in e&&n(24,S=e.lastplayedunique),"fetchviaevent"in e&&n(16,M=e.fetchviaevent)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",S),n.searchParams.append("limit",k),n.searchParams.append("order",C),n.searchParams.append("period",x),"PC"===it(G)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),i=p?n:n.href,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),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(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{E=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===F&&(E=E.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:E},window.location.href)})}else n(18,L=!0)}),1048576&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xs(e,t[e])})}).catch(e=>{console.log(e)}),131136&t.$$.dirty[0]&&m&&r&&((e=document.createElement("style")).innerHTML=m,r.appendChild(e)),131200&t.$$.dirty[0]&&g&&r){let t=document.createElement("style");fetch(new URL(g)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,nt.set(e))},[o,s,l,c,d,u,m,g,p,f,y,v,b,w,$,F,M,r,L,a,h,x,C,k,S,function(e){tt[e?"unshift":"push"](()=>{r=e,n(17,r)})}]}function Gs(e,t){o(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ms,Ss,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});const Ls={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Es(e){let n;return{c(){S(n=ge("casino-games-category-section-nd"),"session",e[4]),S(n,"userid",e[5]),S(n,"endpoint",e[0]),S(n,"datasource",e[1]),S(n,"lang",e[3]),S(n,"currency",e[2]),S(n,"favorites",e[14]),S(n,"fetchviaevent",e[16]),S(n,"categoryid","MOSTPLAYED"),S(n,"categoryindex","1"),S(n,"categorygames","9"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[12]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[13]),S(n,"gamepagemodalurl",e[11]),S(n,"integratedgameframedesktop",e[10]),S(n,"integratedgameframemobile",e[9]),S(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&S(n,"session",e[4]),32&t[0]&&S(n,"userid",e[5]),1&t[0]&&S(n,"endpoint",e[0]),2&t[0]&&S(n,"datasource",e[1]),8&t[0]&&S(n,"lang",e[3]),4&t[0]&&S(n,"currency",e[2]),16384&t[0]&&S(n,"favorites",e[14]),65536&t[0]&&S(n,"fetchviaevent",e[16]),4096&t[0]&&S(n,"showgamename",e[12]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),8192&t[0]&&S(n,"visiblegames",e[13]),2048&t[0]&&S(n,"gamepagemodalurl",e[11]),1024&t[0]&&S(n,"integratedgameframedesktop",e[10]),512&t[0]&&S(n,"integratedgameframemobile",e[9]),32768&t[0]&&S(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function _s(e){let n,a,i=e[19]("noGames")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&i!==(i=e[19]("noGames")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Ts(n){let a,i;function r(e){return e[18]?_s:Es}let o=r(n),s=o(n);return{c(){a=ge("div"),i=ge("div"),s.c(),this.c=G,fe(i,"class","casino-most-played-section"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,i),s.m(i,null),n[23](a)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:G,o:G,d(e){e&&me(a),s.d(),n[23](null)}}}function Is(a,e,i){let t,{endpoint:r=""}=(rt(a,ai,e=>i(19,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:h="false"}=e,{gamepagemodalurl:p="false"}=e,{showgamename:f=""}=e,y=e["visiblegames"],{favorites:v=""}=e,{translationurl:b=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:$="Last30Days"}=e,{mostplayedrounds:x="10"}=e,{fetchviaevent:C="true"}=e,k=window.navigator.userAgent;Object.keys(Ls).forEach(e=>{Gs(e,Ls[e])});let F,S,M=[],G=!1;return a.$$set=e=>{"endpoint"in e&&i(0,r=e.endpoint),"datasource"in e&&i(1,o=e.datasource),"currency"in e&&i(2,n=e.currency),"lang"in e&&i(3,s=e.lang),"session"in e&&i(4,l=e.session),"userid"in e&&i(5,c=e.userid),"clientstyling"in e&&i(6,d=e.clientstyling),"clientstylingurl"in e&&i(7,u=e.clientstylingurl),"livecasino"in e&&i(8,m=e.livecasino),"integratedgameframemobile"in e&&i(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&i(10,h=e.integratedgameframedesktop),"gamepagemodalurl"in e&&i(11,p=e.gamepagemodalurl),"showgamename"in e&&i(12,f=e.showgamename),"visiblegames"in e&&i(13,y=e.visiblegames),"favorites"in e&&i(14,v=e.favorites),"translationurl"in e&&i(20,b=e.translationurl),"casinomygames"in e&&i(15,w=e.casinomygames),"mostplayedperiod"in e&&i(21,$=e.mostplayedperiod),"mostplayedrounds"in e&&i(22,x=e.mostplayedrounds),"fetchviaevent"in e&&i(16,C=e.fetchviaevent)},a.$$.update=()=>{if(41&a.$$.dirty[0]&&r&&c&&s&&(e={limit:100,device:it(k),rounds:x},t=new URL(`${r}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",$),(n=e.device)?"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),F=m?t:t.href,new Promise((e,t)=>{fetch(F).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)})}).then(e=>{if(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(r+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{M=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===w&&(M=M.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:M},window.location.href)})}else i(18,G=!0)})),131136&a.$$.dirty[0]&&d&&S&&((n=document.createElement("style")).innerHTML=d,S.appendChild(n)),131200&a.$$.dirty[0]&&u&&S){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{S.appendChild(t)},1)})}var e,t,n;1048576&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Gs(e,t[e])})}).catch(e=>{console.log(e)}),8&a.$$.dirty[0]&&s&&(e=s,nt.set(e))},[r,o,n,s,l,c,d,u,m,g,h,p,f,y,v,w,C,S,G,t,b,$,x,function(e){tt[e?"unshift":"push"](()=>{S=e,i(17,S)})}]}function Ps(e,t){o(e,t)}customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Is,Ts,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});const Rs={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Ds(e,t,n){e=e.slice();return e[43]=t[n],e}function As(t){let i,n,r,a,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=js(Ds(t,s,e));function c(e){return"Favorites"==e[25]?Us:"MostPlayed"==e[25]?zs:"LastPlayed"==e[25]?Hs:void 0}let d=c(t),u=d&&d(t);return{c(){i=ge("div"),n=ge("div"),r=ge("div");for(let e=0;e<l.length;e+=1)l[e].c();a=pe(),o=ge("div"),u&&u.c(),fe(r,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(i,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,n),de(n,r);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(r,null);de(i,a),de(i,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var a=Ds(t,s,e);l[e]?l[e].p(a,n):(l[e]=js(a),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))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&me(i),H(l,e),u&&u.d()}}}function Ns(n){let a,i,r,o,s,l,c,d,u,m,g=n[29]("favorites")+"";return{c(){a=ge("button"),i=he(g),r=pe(),o=ge("span"),s=he("("),l=he(n[28]),c=he(")"),fe(a,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),de(a,r),de(a,o),de(o,s),de(o,l),de(o,c),u||(m=U(a,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&g!==(g=e[29]("favorites")+"")&&ye(i,g),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",d)},d(e){e&&me(a),u=!1,m()}}}function Bs(n){let a,i,r,o,s,l=n[29]("mostPlayed")+"";return{c(){a=ge("button"),i=he(l),fe(a,"class",r="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),o||(s=U(a,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(i,l),33587200&t[0]&&r!==(r="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",r)},d(e){e&&me(a),o=!1,s()}}}function Os(n){let a,i,r,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){a=ge("button"),i=he(c),r=pe(),fe(a,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),de(a,r),s||(l=U(a,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(i,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function js(e){let n,a,i,r="Favorites"==e[43]&&Ns(e),o="MostPlayed"==e[43]&&Bs(e),s="LastPlayed"==e[43]&&Os(e);return{c(){r&&r.c(),n=pe(),o&&o.c(),a=pe(),s&&s.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,a,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){"Favorites"==e[43]?r?r.p(e,t):((r=Ns(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=Bs(e)).c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=Os(e)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){r&&r.d(e),e&&me(n),o&&o.d(e),e&&me(a),s&&s.d(e),e&&me(i)}}}function Hs(e){let n;return{c(){S(n=ge("casino-last-played-section"),"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"favorites",e[14]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"lastplayedperiod",e[18]),S(n,"lastplayedorder",e[20]),S(n,"lastplayedlimit",e[21]),S(n,"lastplayedunique",e[22]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16384&t[0]&&S(n,"favorites",e[14]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),262144&t[0]&&S(n,"lastplayedperiod",e[18]),1048576&t[0]&&S(n,"lastplayedorder",e[20]),2097152&t[0]&&S(n,"lastplayedlimit",e[21]),4194304&t[0]&&S(n,"lastplayedunique",e[22]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function zs(e){let n;return{c(){S(n=ge("casino-most-played-section"),"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"session",e[1]),S(n,"userid",e[0]),S(n,"favorites",e[14]),S(n,"categoryindex","0"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"mostplayedrounds",e[23]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"mostplayedperiod",e[19]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),16384&t[0]&&S(n,"favorites",e[14]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),8388608&t[0]&&S(n,"mostplayedrounds",e[23]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),524288&t[0]&&S(n,"mostplayedperiod",e[19]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Us(e){let n;return{c(){S(n=ge("casino-favorites-section"),"session",e[1]),S(n,"userid",e[0]),S(n,"endpoint",e[2]),S(n,"datasource",e[3]),S(n,"lang",e[4]),S(n,"currency",e[5]),S(n,"favorites",e[14]),S(n,"categoryid","FAVORITES"),S(n,"class","CategoryContainer"),S(n,"showgamename",e[11]),S(n,"clientstyling",e[6]),S(n,"clientstylingurl",e[7]),S(n,"livecasino",e[8]),S(n,"visiblegames",e[9]),S(n,"gamepagemodalurl",e[10]),S(n,"integratedgameframedesktop",e[12]),S(n,"integratedgameframemobile",e[13]),S(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"session",e[1]),1&t[0]&&S(n,"userid",e[0]),4&t[0]&&S(n,"endpoint",e[2]),8&t[0]&&S(n,"datasource",e[3]),16&t[0]&&S(n,"lang",e[4]),32&t[0]&&S(n,"currency",e[5]),16384&t[0]&&S(n,"favorites",e[14]),2048&t[0]&&S(n,"showgamename",e[11]),64&t[0]&&S(n,"clientstyling",e[6]),128&t[0]&&S(n,"clientstylingurl",e[7]),256&t[0]&&S(n,"livecasino",e[8]),512&t[0]&&S(n,"visiblegames",e[9]),1024&t[0]&&S(n,"gamepagemodalurl",e[10]),4096&t[0]&&S(n,"integratedgameframedesktop",e[12]),8192&t[0]&&S(n,"integratedgameframemobile",e[13]),131072&t[0]&&S(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Ws(n){let a;function i(e){if(e[17])return As}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[35](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[35](null)}}}function Ys(t,e,n){let a;rt(t,ai,e=>n(29,a=e));let i,{userid:r=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:g=""}=e,{visiblegames:h=""}=e,{gamepagemodalurl:p=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:v=""}=e,{translationurl:b=""}=e,{favorites:w="false"}=e,{mostplayed:$="false"}=e,{lastplayed:x="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:k="Last30Days"}=e,{mostplayedperiod:F="Last30Days"}=e,{lastplayedorder:S=""}=e,{lastplayedlimit:M=""}=e,{lastplayedunique:G="true"}=e,{mostplayedrounds:L=""}=e,D=window.navigator.userAgent,E="",_=!1,T=["","",""],I="0";var P,A;({withLocale:P,translations:A}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(A),nt.set(P))}),Object.keys(Rs).forEach(e=>{Ps(e,Rs[e])});const R=e=>{E!==e&&n(25,E=e)},N=()=>{var e;n(25,E="true"===w?"Favorites":"true"===$?"MostPlayed":"true"===x?"LastPlayed":""),n(27,T[0]="true"===w?"Favorites":"",T),n(27,T[1]="true"===$?"MostPlayed":"",T),n(27,T[2]="true"===x?"LastPlayed":"",T),e=c,nt.set(e)},B=e=>{var t;e.data&&"UpdateFavoritesCount"===e.data.type&&(e.data.favoriteGames?n(28,I=null==(t=e.data.favoriteGames)?void 0:t.length):n(28,I=null==(t=e.data.listOfFavoritesGames)?void 0:t.length))};return et(()=>(window.addEventListener("message",B,!1),n(26,_=at(D)),()=>{window.removeEventListener("message",B)})),t.$$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,g=e.livecasino),"visiblegames"in e&&n(9,h=e.visiblegames),"gamepagemodalurl"in e&&n(10,p=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"translationurl"in e&&n(31,b=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,$=e.mostplayed),"lastplayed"in e&&n(16,x=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,k=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,F=e.mostplayedperiod),"lastplayedorder"in e&&n(20,S=e.lastplayedorder),"lastplayedlimit"in e&&n(21,M=e.lastplayedlimit),"lastplayedunique"in e&&n(22,G=e.lastplayedunique),"mostplayedrounds"in e&&n(23,L=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&s&&l&&c&&N(),114688&t.$$.dirty[0]&&w&&$&&x&&N(),1&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ps(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&i&&((e=document.createElement("style")).innerHTML=u,i.appendChild(e)),16777344&t.$$.dirty[0]&&m&&i){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e},[r,o,s,l,c,d,u,m,g,h,p,f,y,v,w,$,x,C,k,F,S,M,G,L,i,E,_,T,I,a,R,b,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){tt[e?"unshift":"push"](()=>{i=e,n(24,i)})}]}function Vs(e,t){o(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ys,Ws,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const Zs={en:{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-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{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:{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:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",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:{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:{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:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{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:{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.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{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:{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:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",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:{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:{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."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};function qs(e,t,n){e=e.slice();return e[53]=t[n],e}function Js(n){let a,i,r,o,s,l=n[20]("cancel")+"";return{c(){a=ge("small"),i=he(l),fe(a,"class",r="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,a,t),de(a,i),o||(s=U(a,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(i,l),4096&t[0]&&r!==(r="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(a,"class",r)},d(e){e&&me(a),o=!1,s()}}}function Ks(e){let n,a,i,r;function o(e){return 1==e[16]&&e[11].length<2?el:0!=e[14].length?Qs:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&il(e),d=2<=e[11].length&&0==e[14].length&&ol(e);return{c(){l&&l.c(),n=pe(),a=ge("div"),c&&c.c(),i=pe(),d&&d.c(),fe(a,"class",r="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,a,t),c&&c.m(a,null),de(a,i),d&&d.m(a,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[12]?c?c.p(e,t):((c=il(e)).c(),c.m(a,i)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=ol(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),65536&t[0]&&r!==(r="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(a,"class",r)},d(e){l&&l.d(e),e&&me(n),e&&me(a),c&&c.d(),d&&d.d()}}}function Xs(e){let n,a,i=e[20]("loading")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&i!==(i=e[20]("loading")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Qs(e){let n,a,i=e[20]("searchResult")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&i!==(i=e[20]("searchResult")+"")&&ye(a,i)},d(e){e&&me(n)}}}function el(e){let n,a,i=0!==e[14].length&&tl(e),r=0==e[14].length&&nl(e);return{c(){i&&i.c(),n=pe(),r&&r.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),r&&r.m(e,t),ue(e,a,t)},p(e,t){0!==e[14].length?i?i.p(e,t):((i=tl(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),0==e[14].length?r?r.p(e,t):((r=nl(e)).c(),r.m(a.parentNode,a)):r&&(r.d(1),r=null)},d(e){i&&i.d(e),e&&me(n),r&&r.d(e),e&&me(a)}}}function tl(e){let n,a,i=e[20]("recentSearch")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&i!==(i=e[20]("recentSearch")+"")&&ye(a,i)},d(e){e&&me(n)}}}function nl(e){let n,a,i,r,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&al();return{c(){n=ge("div"),l&&l.c(),a=pe(),i=ge("p"),r=he(s),fe(i,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,a),de(n,i),de(i,r)},p(e,t){"true"===e[10]?l||((l=al()).c(),l.m(n,a)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(r,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function al(){let n;return{c(){(n=ge("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function il(t){let i,r=t[14],o=[];for(let e=0;e<r.length;e+=1)o[e]=rl(qs(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(17580543&n[0]){let e;for(r=t[14],e=0;e<r.length;e+=1){var a=qs(t,r,e);o[e]?o[e].p(a,n):(o[e]=rl(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){H(o,e),e&&me(i)}}}function rl(e){let n,a,i,r,o,s,l,c,d,u,m,g;return{c(){S(n=ge("casino-game-thumbnail-nd"),"endpoint",e[0]),S(n,"session",e[18]),S(n,"userid",e[19]),S(n,"favorites",e[8]),S(n,"lang",e[1]),S(n,"gamethumbnail",a=e[53].thumbnail),S(n,"gamename",i=e[53].name),S(n,"gamevendor",r=e[53].vendor.name),S(n,"gamelaunchurl",o=e[53].launchUrl),S(n,"gameisnew",s=e[53].isNew),S(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),S(n,"gamecellsize",c=e[53].cellSize),S(n,"gameid",d=e[53].id),S(n,"showgamename",e[6]),S(n,"gamefunmode",u=e[53].hasFunMode),S(n,"gamefavorite",m=e[53].isFavorite),S(n,"livelobbyendpoint",g=e[53].details?e[53].launchUrl:""),S(n,"integratedgameframedesktop",e[4]),S(n,"integratedgameframemobile",e[5]),S(n,"clientstyling",e[2]),S(n,"clientstylingurl",e[3]),S(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&S(n,"endpoint",e[0]),262144&t[0]&&S(n,"session",e[18]),524288&t[0]&&S(n,"userid",e[19]),256&t[0]&&S(n,"favorites",e[8]),2&t[0]&&S(n,"lang",e[1]),16384&t[0]&&a!==(a=e[53].thumbnail)&&S(n,"gamethumbnail",a),16384&t[0]&&i!==(i=e[53].name)&&S(n,"gamename",i),16384&t[0]&&r!==(r=e[53].vendor.name)&&S(n,"gamevendor",r),16384&t[0]&&o!==(o=e[53].launchUrl)&&S(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&S(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&S(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&S(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&S(n,"gameid",d),64&t[0]&&S(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&S(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&S(n,"gamefavorite",m),16384&t[0]&&g!==(g=e[53].details?e[53].launchUrl:"")&&S(n,"livelobbyendpoint",g),16&t[0]&&S(n,"integratedgameframedesktop",e[4]),32&t[0]&&S(n,"integratedgameframemobile",e[5]),4&t[0]&&S(n,"clientstyling",e[2]),8&t[0]&&S(n,"clientstylingurl",e[3]),128&t[0]&&S(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function ol(e){let n,a,i,r,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&sl();return{c(){n=ge("div"),m&&m.c(),a=pe(),i=ge("p"),r=he(d),o=pe(),s=ge("p"),l=he(u),fe(i,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,a),de(n,i),de(i,r),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=sl()).c(),m.m(n,a)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(r,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function sl(){let n;return{c(){(n=ge("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ll(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x,C="true"===n[9]&&Js(n);function k(e){return e[17]?Xs:Ks}let F=k(n),S=F(n);return{c(){a=ge("div"),i=ge("div"),r=ge("div"),(o=ge("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>',s=pe(),l=ge("input"),d=pe(),u=ge("span"),m=z("svg"),g=z("path"),p=pe(),C&&C.c(),y=pe(),v=ge("div"),w=pe(),S.c(),this.c=G,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(g,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(g,"stroke","#717171"),fe(g,"stroke-width","2"),fe(g,"stroke-linecap","round"),fe(g,"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",h="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(r,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(i,"class","SearchWrap"),fe(v,"class",b="true"!=n[9]?"OverlayCancel":""),fe(a,"class",("PC"!==it(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(r,s),de(r,l),_(l,n[11]),n[33](l),de(r,d),de(r,u),de(u,m),de(m,g),de(r,p),C&&C.m(r,null),de(a,y),de(a,v),de(a,w),S.m(a,null),n[36](a),$||(x=[U(l,"input",n[32]),U(l,"focus",n[22]),U(u,"click",n[34]),U(v,"click",n[23])],$=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&_(l,e[11]),2560&t[0]&&h!==(h="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",h),"true"===e[9]?C?C.p(e,t):((C=Js(e)).c(),C.m(r,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(r,"class",f),512&t[0]&&b!==(b="true"!=e[9]?"OverlayCancel":"")&&fe(v,"class",b),F===(F=k(e))&&S?S.p(e,t):(S.d(1),(S=F(e))&&(S.c(),S.m(a,null)))},i:G,o:G,d(e){e&&me(a),n[33](null),C&&C.d(),S.d(),n[36](null),$=!1,j(x)}}}function cl(a,e,o){let t;rt(a,ai,e=>o(20,t=e));let n,i,r,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:h=""}=e,{integratedgameframedesktop:p="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:v="true"}=e,{translationurl:b=""}=e,{showfavorites:w=""}=e,{cancelbutton:$="true"}=e,{notfoundicon:x="false"}=e,C=window.navigator.userAgent,k=[],F=[],S={},M="",G=!0,L=!1,E=!1,_=!1,T=[];Object.keys(Zs).forEach(e=>{Vs(e,Zs[e])});const I=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(F=(F=localStorage.getItem("searchedGamesWds_casino"))?F.split(","):[]).indexOf(t))&&(F.unshift(t),n=F.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(o(18,r=e.data.session),o(19,s=e.data.userid),o(31,_=!0)),"CategoryChange"==e.data.type&&R()},D=()=>{if(o(12,G=!1),o(16,L=!0),l&&c&&m&&M.length<2){o(14,k=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],a=0,i=(t=e?e.split(","):t).length;if(0<i){for(a=0;a<i;a++){var r=new URL(l+"/v1/casino/games/"+t[a]);r.searchParams.append("language",m),r.searchParams.append("datasource",c),r.searchParams.append("platform",it(C)),n.push(((e,a)=>new Promise((t,n)=>{o(17,E=!0),a&&Object.keys(S).indexOf(a)>=0?(o(17,E=!1),t(S[a])):fetch(e).then(e=>e.json()).then(e=>{o(17,E=!1),e.error||(S[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,E=!1),console.error(e),n(e)})}))(r,t[a]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,k=e.map(e=>(e.isFavorite=A(e.id),e))),k.length?P("searchSuccess","SearchWidget"):P("searchFail","SearchWidget")}).catch(e=>{P("searchError","SearchWidget")})}}B(L),P("searchAttempt","SearchWidget"),P("SearchInitialized","SearchWidget")},P=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},A=t=>-1!==T.findIndex(e=>e==t),R=()=>{o(11,M=""),o(12,G=!0),o(17,E=!1),o(14,k=[]),o(16,L=!1),B(L)},N=()=>{o(11,M=""),n.focus()},B=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return et(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)})),a.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,g=e.clientstyling),"clientstylingurl"in e&&o(3,h=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,p=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,v=e.gamepagemodalurl),"translationurl"in e&&o(30,b=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,$=e.cancelbutton),"notfoundicon"in e&&o(10,x=e.notfoundicon)},a.$$.update=()=>{if(134223875&a.$$.dirty[0])if(2<=M.length){const a=new URL(l+"/v1/casino/games");a.searchParams.append("datasource",c),a.searchParams.append("expand","vendor"),a.searchParams.append("platform",it(C)),a.searchParams.append("language",m),a.searchParams.append("pagination","offset=0,limit=30"),a.searchParams.append("filter","name="+M),e=a,new Promise((t,n)=>{o(17,E=!0),fetch(e.href).then(e=>e.json()).then(e=>{o(17,E=!1),t(e)}).catch(e=>{o(17,E=!1),console.error(e),n(e)})}).then(e=>{o(14,k=e.items.map(e=>(e.isFavorite=A(e.id),e)))})}else G||D();var e,t,n;if(2&a.$$.dirty[0]&&m&&(n=m,nt.set(n)),1073741824&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vs(e,t[e])})}).catch(e=>{console.log(e)}),805306368&a.$$.dirty[0]&&d&&u&&(o(31,_=!0),o(18,r=d),o(19,s=u)),256&a.$$.dirty[0]|1&a.$$.dirty[1]&&w&&_&&(n=new URL(`${l}/v1/player/${s}/favorites/`),o(17,E=!0),t={method:"GET",headers:{"X-SessionID":r}},fetch(n.href,t).then(e=>e.json()).then(e=>{o(17,E=!1),T=e.items.map(e=>e.id)})),8196&a.$$.dirty[0]&&g&&i&&((t=document.createElement("style")).innerHTML=g,i.appendChild(t)),8200&a.$$.dirty[0]&&h&&i){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[l,m,g,h,p,f,y,v,w,$,x,M,G,i,k,n,L,E,r,s,t,C,D,()=>{"true"!=$&&R()},a=>{if(0===(null==a?void 0:a.length))return"";let i,r,o=99999999999;const s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Di(e).diff(s)<o&&(o=Di(e).diff(s),r=t),Di(s).isAfter(n)&&Di(s).isBefore(e)&&(i=a[r].name)}),i},R,N,c,d,u,b,_,function(){M=this.value,o(11,M)},function(e){tt[e?"unshift":"push"](()=>{n=e,o(15,n)})},()=>N(),()=>R(),function(e){tt[e?"unshift":"push"](()=>{i=e,o(13,i)})}]}function dl(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function ul(e,t,n){e=e.slice();return e[29]=t[n],e[31]=n,e}function ml(n){let i,a,r,o,s,l,e,c,d,u=n[3],m=[];for(let e=0;e<u.length;e+=1)m[e]=bl(dl(n,u,e));return{c(){i=ge("div"),(a=ge("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>',r=pe(),o=ge("div"),s=he(n[1]),l=pe();for(let e=0;e<m.length;e+=1)m[e].c();fe(a,"class","ModalCloseBtn"),fe(a,"role","button"),fe(o,"class","CasinoCalendarDailyDay"),fe(i,"class",e="CasinoCalendarDailyDetailsBackground "+(n[5]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,a),de(i,r),de(i,o),de(o,s),de(i,l);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);c||(d=U(a,"click",n[6]),c=!0)},p(t,n){if(2&n[0]&&ye(s,t[1]),393&n[0]){let e;for(u=t[3],e=0;e<u.length;e+=1){var a=dl(t,u,e);m[e]?m[e].p(a,n):(m[e]=bl(a),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}32&n[0]&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[5]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&me(i),H(m,e),c=!1,d()}}}function gl(e){let n;return{c(){(n=ge("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function hl(e){let n,a;return{c(){n=z("svg"),fe(a=z("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"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","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function pl(e){let n,a;return{c(){n=z("svg"),fe(a=z("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"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","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function fl(t){let a,n,i,r=t[26].details,o=[];for(let e=0;e<r.length;e+=1)o[e]=yl(ul(t,r,e));let s=t[26].detailsExpanded&&vl(t);return{c(){a=ge("div");for(let e=0;e<o.length;e+=1)o[e].c();n=pe(),s&&s.c(),i=c(),fe(a,"class","DetailsTabsTitles")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(t,n){if(264&n[0]){let e;for(r=t[26].details,e=0;e<r.length;e+=1){const s=ul(t,r,e);o[e]?o[e].p(s,n):(o[e]=yl(s),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}t[26].detailsExpanded?s?s.p(t,n):((s=vl(t)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){e&&me(a),H(o,e),e&&me(n),s&&s.d(e),e&&me(i)}}}function yl(n){let a,i,r,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[31],n[28])}return{c(){a=ge("div"),i=ge("div"),r=ge("button"),s=pe(),fe(r,"class",o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":"")),fe(i,"class","Header"),fe(a,"class",l=n[31]===n[26].selectedTab?"SelectedTab":""),fe(a,"id","CollapseMoreInfoButton"),M(a,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,a,t),de(a,i),de(i,r),r.innerHTML=u,de(a,s),c||(d=U(r,"click",m),c=!0)},p(e,t){n=e,8&t[0]&&u!==(u=n[29].title+"")&&(r.innerHTML=u),8&t[0]&&o!==(o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":""))&&fe(r,"class",o),8&t[0]&&l!==(l=n[31]===n[26].selectedTab?"SelectedTab":"")&&fe(a,"class",l),8&t[0]&&M(a,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(a),c=!1,d()}}}function vl(e){let n,a,i=e[26].details[e[26].selectedTab].description+"";return{c(){fe(n=ge("div"),"class",a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),n.innerHTML=i},p(e,t){8&t[0]&&i!==(i=e[26].details[e[26].selectedTab].description+"")&&(n.innerHTML=i),8&t[0]&&a!==(a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function bl(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$=n[26].title+"",x=n[26].description+"";function C(e){return 1==e[26].expandedInfo?pl:hl}let k=C(n),F=k(n);function S(){return n[17](n[26],n[27],n[28])}let M=1==n[26].expandedInfo&&fl(n);return{c(){a=ge("div"),i=ge("div"),r=pe(),o=ge("div"),s=ge("img"),d=pe(),u=ge("div"),m=pe(),g=ge("div"),h=ge("button"),p=new P(!1),f=pe(),F.c(),y=pe(),M&&M.c(),v=pe(),fe(i,"class","CasinoCalendarDailyTitle"),fe(s,"class","CasinoCalendarFitImage"),ce(s.src,l=n[26].image)||fe(s,"src",l),fe(s,"alt",c=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(u,"class","CasinoCalendarDailyDescription"),p.a=f,fe(h,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(a,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,a,t),de(a,i),i.innerHTML=$,de(a,r),de(a,o),de(o,s),de(a,d),de(a,u),u.innerHTML=x,de(a,m),de(a,g),de(g,h),p.m(n[0],h),de(h,f),F.m(h,null),de(g,y),M&&M.m(g,null),de(a,v),b||(w=U(h,"click",S),b=!0)},p(e,t){n=e,8&t[0]&&$!==($=n[26].title+"")&&(i.innerHTML=$),8&t[0]&&!ce(s.src,l=n[26].image)&&fe(s,"src",l),8&t[0]&&c!==(c=n[26].image)&&fe(s,"alt",c),8&t[0]&&x!==(x=n[26].description+"")&&(u.innerHTML=x),1&t[0]&&p.p(n[0]),k!==(k=C(n))&&(F.d(1),F=k(n))&&(F.c(),F.m(h,null)),1==n[26].expandedInfo?M?M.p(n,t):((M=fl(n)).c(),M.m(g,null)):M&&(M.d(1),M=null)},d(e){e&&me(a),F.d(),M&&M.d(),b=!1,w()}}}function wl(n){let a;function i(e){return e[4]?gl:ml}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[19](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[19](null)}}}function $l(t,e,a){let n,{dailybackground:i=""}=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:g=""}=e,h=[],p=!0,f=!1,y=window.navigator.userAgent;var v,b;({withLocale:v,translations:b}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(b),nt.set(v))});const w=e=>{"DailyEventsData"==e.data.type&&(a(4,p=!1),a(3,h=e.data.data),h.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.selectedTab=0,e.details.forEach((e,t)=>{e.expandedTab=0==t})}))},$=e=>{a(3,h[e].detailsExpanded=!h[e].detailsExpanded,h),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},x=(e,t,n)=>{a(3,h[n].selectedTab=t,h),e.details.forEach((e,t)=>{h[n].selectedTab!=t?e.expandedTab=!1:e.expandedTab=!0})};return et(()=>(window.addEventListener("message",w,!1),at(y)&&a(5,f=!0),()=>{window.removeEventListener("message",w)})),t.$$set=e=>{"dailybackground"in e&&a(9,i=e.dailybackground),"dailybuttontitle"in e&&a(0,r=e.dailybuttontitle),"dailyday"in e&&a(1,o=e.dailyday),"dailydescription"in e&&a(10,s=e.dailydescription),"dailyicon"in e&&a(11,l=e.dailyicon),"dailytitle"in e&&a(12,c=e.dailytitle),"lang"in e&&a(13,d=e.lang),"clientstyling"in e&&a(14,u=e.clientstyling),"clientstylingurl"in e&&a(15,m=e.clientstylingurl),"translationUrl"in e&&a(16,g=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty[0]&&d&&(e=d,nt.set(e)),16388&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty[0]&&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,h,p,f,()=>{window.postMessage({type:"ModalClosed"},window.location.href),h.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t,e.selectedTab=0})},$,x,i,s,l,c,d,u,m,g,(e,t,n)=>{a(3,t[n].expandedInfo=!e.expandedInfo,h),$(n)},(e,t,n)=>{x(e,t,n)},function(e){tt[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function xl(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x,C,k,F;return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=ge("div"),(s=ge("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=pe(),c=ge("div"),d=ge("div"),u=ge("img"),g=pe(),h=ge("div"),p=he(n[2]),f=pe(),y=ge("div"),v=pe(),b=ge("div"),w=ge("button"),$=he(n[3]),this.c=G,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(h,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(b,"class","CasinoCalendarDailyItemButton"),fe(c,"class",x="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),M(c,"background-image","url('"+n[0]+"')"),M(c,"background-size","cover"),M(c,"background-position","center"),M(c,"-webkit-background-size","cover"),M(c,"-moz-background-size","cover"),M(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(r,"class","CasinoCalendarItems"),fe(i,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,g),de(c,h),de(h,p),de(c,f),de(c,y),n[14](y),de(c,v),de(c,b),de(b,w),de(w,$),n[16](a),k||(F=U(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&&M(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(i,"class",C)},i:G,o:G,d(e){e&&me(a),n[14](null),n[16](null),k=!1,F()}}}function Cl(t,e,n){let a,i,{cmsendpoint:r=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:g=""}=e,{clientstylingurl:h=""}=e;var p,f;({withLocale:p,translations:f}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(f),nt.set(p))});let y=!1,v=window.navigator.userAgent;const b=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return et(()=>{at(v)&&n(7,y=!0)}),t.$$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,g=e.clientstyling),"clientstylingurl"in e&&n(13,h=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,a)&&a.append(e),4128&t.$$.dirty&&g&&i&&((e=document.createElement("style")).innerHTML=g,i.appendChild(e)),8224&t.$$.dirty&&h&&i){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,i,a,y,b,r,o,d,g,h,function(e){tt[e?"unshift":"push"](()=>{a=e,n(6,a)})},()=>b(),function(e){tt[e?"unshift":"push"](()=>{i=e,n(5,i)})}]}function kl(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function Fl(t){let a,i,e,r=t[4],o=[];for(let e=0;e<r.length;e+=1)o[e]=Gl(kl(t,r,e));let s=1==t[9]&&Ll(t);return{c(){a=ge("div");for(let e=0;e<o.length;e+=1)o[e].c();i=pe(),s&&s.c(),fe(a,"class",e="CasinoCalendarItem "+(t[8]?"Mobile":""))},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);de(a,i),s&&s.m(a,null)},p(t,n){if(23&n){let e;for(r=t[4],e=0;e<r.length;e+=1){const s=kl(t,r,e);o[e]?o[e].p(s,n):(o[e]=Gl(s),o[e].c(),o[e].m(a,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}1==t[9]?s?s.p(t,n):((s=Ll(t)).c(),s.m(a,null)):s&&(s.d(1),s=null),256&n&&e!==(e="CasinoCalendarItem "+(t[8]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),H(o,e),s&&s.d()}}}function Sl(e){let n;return{c(){fe(n=ge("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Ml(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Gl(e){let n,a,i,r,o,s;return{c(){S(n=ge("casino-calendar-daily-item"),"dailybackground",a=e[21].dailyBackground),S(n,"dailyicon",i=e[21].dailyIcon),S(n,"dailyday",r=e[21].dailyDay),S(n,"dailydescription",o=e[21].dailyDescription),S(n,"dailybuttontitle",s=e[21].dailyButtonTitle),S(n,"index",e[23]),S(n,"lang",e[0]),S(n,"clientstyling",e[1]),S(n,"clientstylingurl",e[2])},m(e,t){ue(e,n,t)},p(e,t){16&t&&a!==(a=e[21].dailyBackground)&&S(n,"dailybackground",a),16&t&&i!==(i=e[21].dailyIcon)&&S(n,"dailyicon",i),16&t&&r!==(r=e[21].dailyDay)&&S(n,"dailyday",r),16&t&&o!==(o=e[21].dailyDescription)&&S(n,"dailydescription",o),16&t&&s!==(s=e[21].dailyButtonTitle)&&S(n,"dailybuttontitle",s),1&t&&S(n,"lang",e[0]),2&t&&S(n,"clientstyling",e[1]),4&t&&S(n,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function Ll(e){let n,a,i,r,o,s,l,c;return{c(){n=ge("div"),S(a=ge("casino-calendar-daily-details"),"dailybackground",i=e[4][e[5]].dailyBackground),S(a,"dailybuttontitle",r=e[4][e[5]].dailyButtonTitle),S(a,"dailyday",o=e[4][e[5]].dailyDay),S(a,"dailydescription",s=e[4][e[5]].dailyDescription),S(a,"dailyicon",l=e[4][e[5]].dailyIcon),S(a,"dailytitle",c=e[4][e[5]].dailyTitle),S(a,"lang",e[0]),S(a,"clientstyling",e[1]),S(a,"clientstylingurl",e[2]),fe(n,"class","CalendarDetailsWrapper")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){48&t&&i!==(i=e[4][e[5]].dailyBackground)&&S(a,"dailybackground",i),48&t&&r!==(r=e[4][e[5]].dailyButtonTitle)&&S(a,"dailybuttontitle",r),48&t&&o!==(o=e[4][e[5]].dailyDay)&&S(a,"dailyday",o),48&t&&s!==(s=e[4][e[5]].dailyDescription)&&S(a,"dailydescription",s),48&t&&l!==(l=e[4][e[5]].dailyIcon)&&S(a,"dailyicon",l),48&t&&c!==(c=e[4][e[5]].dailyTitle)&&S(a,"dailytitle",c),1&t&&S(a,"lang",e[0]),2&t&&S(a,"clientstyling",e[1]),4&t&&S(a,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function El(n){let a;function i(e){return e[7]?Ml:e[6]?Sl:e[4]?.length?Fl:void 0}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[13](a)},p(e,[t]){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[13](null)}}}function _l(n,e,a){let i,r,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,g=!0,h=!1,t=!1,p=window.navigator.userAgent,f=!1;const y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(a(5,m=e.data.index),a(9,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=r[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&a(9,f=!1)};return et(()=>(window.addEventListener("message",y,!1),at(p)&&a(8,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&a(10,o=e.cmsendpoint),"env"in e&&a(11,s=e.env),"userroles"in e&&a(12,l=e.userroles),"lang"in e&&a(0,c=e.lang),"clientstyling"in e&&a(1,d=e.clientstyling),"clientstylingurl"in e&&a(2,u=e.clientstylingurl)},n.$$.update=()=>{if(7169&n.$$.dirty&&o&&c&&s&&l&&(a(6,g=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=it(p))&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{a(4,r=e)}).catch(e=>{console.log(e),a(7,h=!0)}).finally(()=>{a(6,g=!1)})),10&n.$$.dirty&&d&&i&&((t=document.createElement("style")).innerHTML=d,i.appendChild(t)),12&n.$$.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),setTimeout(()=>{},500)})}var e,t},[c,d,u,i,r,m,g,h,t,f,o,s,l,function(e){tt[e?"unshift":"push"](()=>{i=e,a(3,i)})}]}customElements.get("casino-search")||customElements.define("casino-search",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.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 var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.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}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;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}@media screen and (max-width: 480px){.SearchResultsContainer{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}}@media screen and (max-width: 385px){.SearchResultsContainer{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}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{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}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},cl,ll,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, 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));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.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;flex-direction:column}.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;cursor:pointer;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-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},$l,wl,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}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}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;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:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);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 var(--emfe-w-color-white, #FFFFFF);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:var(--emfe-w-color-white, #FFFFFF);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:var(--emfe-w-color-white, #FFFFFF);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}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:8px 6px;border-radius:5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Cl,xl,n,{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),m())}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}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},_l,El,n,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[11]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[12]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});const Tl=w["document"];function Il(e,t,n){e=e.slice();return e[125]=t[n],e[127]=n,e}function Pl(e){let n,a,i,r,o,s,l="true"==e[21]&&0==Ql&&!e[83]&&Dl(e),c="true"==e[22]&&0==Ql&&!e[83]&&Al(e);function d(e){return e[77]?Bl:e[83]?void 0:Nl}let u=d(e),m=u&&u(e),g=e[79]&&"true"==e[16]&&Kl(e);return{c(){n=ge("section"),a=ge("casino-search"),i=pe(),l&&l.c(),r=pe(),c&&c.c(),o=pe(),m&&m.c(),s=pe(),g&&g.c(),S(a,"endpoint",e[1]),S(a,"datasource",e[3]),S(a,"showgamename",e[19]),S(a,"lang",e[5]),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10]),S(a,"integratedgameframedesktop",e[31]),S(a,"integratedgameframemobile",e[32]),S(a,"translationurl",e[11]),S(a,"showfavorites",e[15]),fe(n,"class","CategoriesLobby")},m(e,t){ue(e,n,t),de(n,a),de(n,i),l&&l.m(n,null),de(n,r),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),g&&g.m(n,null)},p(e,t){2&t[0]&&S(a,"endpoint",e[1]),8&t[0]&&S(a,"datasource",e[3]),524288&t[0]&&S(a,"showgamename",e[19]),32&t[0]&&S(a,"lang",e[5]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10]),1&t[1]&&S(a,"integratedgameframedesktop",e[31]),2&t[1]&&S(a,"integratedgameframemobile",e[32]),2048&t[0]&&S(a,"translationurl",e[11]),32768&t[0]&&S(a,"showfavorites",e[15]),"true"!=e[21]||0!=Ql||e[83]?l&&(l.d(1),l=null):l?l.p(e,t):((l=Dl(e)).c(),l.m(n,r)),"true"!=e[22]||0!=Ql||e[83]?c&&(c.d(1),c=null):c?c.p(e,t):((c=Al(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[79]&&"true"==e[16]?g?g.p(e,t):((g=Kl(e)).c(),g.m(n,null)):g&&(g.d(1),g=null)},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),g&&g.d()}}}function Rl(e){let n,a,i=e[85]("500")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&i!==(i=e[85]("500")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Dl(e){let n;return{c(){S(n=ge("casino-random-game"),"datasource",e[3]),S(n,"filteredrandomgamecategories",e[23]),S(n,"endpoint",e[1]),S(n,"lang",e[5]),S(n,"gameevent",e[76]),S(n,"randombuttonicon",e[72]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&S(n,"datasource",e[3]),8388608&t[0]&&S(n,"filteredrandomgamecategories",e[23]),2&t[0]&&S(n,"endpoint",e[1]),32&t[0]&&S(n,"lang",e[5]),16384&t[2]&&S(n,"gameevent",e[76]),1024&t[2]&&S(n,"randombuttonicon",e[72]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Al(e){let n;return{c(){S(n=ge("casino-play-random-game"),"datasource",e[3]),S(n,"endpoint",e[1]),S(n,"language",e[5]),S(n,"specific-category",e[68]),S(n,"icon-visible",e[70]),S(n,"icon-visible-on-anim",e[71]),S(n,"launch-by-game-card",e[69]),S(n,"client-styling",e[8]),S(n,"client-styling-url",e[10]),S(n,"translation-url",e[11])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&S(n,"datasource",e[3]),2&t[0]&&S(n,"endpoint",e[1]),32&t[0]&&S(n,"language",e[5]),64&t[2]&&S(n,"specific-category",e[68]),256&t[2]&&S(n,"icon-visible",e[70]),512&t[2]&&S(n,"icon-visible-on-anim",e[71]),128&t[2]&&S(n,"launch-by-game-card",e[69]),256&t[0]&&S(n,"client-styling",e[8]),1024&t[0]&&S(n,"client-styling-url",e[10]),2048&t[0]&&S(n,"translation-url",e[11])},d(e){e&&me(n)}}}function Nl(e){let n;function a(e){return e[82]?Hl:e[81]?jl:Ol}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Bl(e){let n,a,i=e[85]("loading")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&i!==(i=e[85]("loading")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Ol(e){let n;return{c(){S(n=ge("casino-games-category-section-nd"),"userid",e[7]),S(n,"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"favorites",e[15]),S(n,"lang",e[5]),S(n,"currency",e[4]),S(n,"session",e[6]),S(n,"categoryid",e[74]),S(n,"categorygames","9"),S(n,"fetchviaevent",e[66]),S(n,"class","CategoryContainer"),S(n,"showgamename",e[19]),S(n,"translationurl",e[11]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10]),S(n,"livecasino",e[20]),S(n,"visiblegames",e[14]),S(n,"gamepagemodalurl",e[24]),S(n,"integratedgameframedesktop",e[31]),S(n,"integratedgameframemobile",e[32]),S(n,"casinomygames",e[0]),S(n,"filterbylogo",e[55]),S(n,"addfilterselector",e[53]),S(n,"addsortingselector",e[54]),S(n,"casinogamesgridslider",e[25])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&S(n,"userid",e[7]),2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32768&t[0]&&S(n,"favorites",e[15]),32&t[0]&&S(n,"lang",e[5]),16&t[0]&&S(n,"currency",e[4]),64&t[0]&&S(n,"session",e[6]),4096&t[2]&&S(n,"categoryid",e[74]),16&t[2]&&S(n,"fetchviaevent",e[66]),524288&t[0]&&S(n,"showgamename",e[19]),2048&t[0]&&S(n,"translationurl",e[11]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10]),1048576&t[0]&&S(n,"livecasino",e[20]),16384&t[0]&&S(n,"visiblegames",e[14]),16777216&t[0]&&S(n,"gamepagemodalurl",e[24]),1&t[1]&&S(n,"integratedgameframedesktop",e[31]),2&t[1]&&S(n,"integratedgameframemobile",e[32]),1&t[0]&&S(n,"casinomygames",e[0]),16777216&t[1]&&S(n,"filterbylogo",e[55]),4194304&t[1]&&S(n,"addfilterselector",e[53]),8388608&t[1]&&S(n,"addsortingselector",e[54]),33554432&t[0]&&S(n,"casinogamesgridslider",e[25])},d(e){e&&me(n)}}}function jl(e){let n;return{c(){S(n=ge("casino-my-games"),"userid",e[7]),S(n,"session",e[6]),S(n,"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"currency",e[4]),S(n,"favorites",e[15]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10]),S(n,"livecasino",e[20]),S(n,"visiblegames",e[14]),S(n,"gamepagemodalurl",e[24]),S(n,"showgamename",e[19]),S(n,"integratedgameframedesktop",e[31]),S(n,"integratedgameframemobile",e[32]),S(n,"translationurl",e[11]),S(n,"mostplayed",e[57]),S(n,"lastplayed",e[58]),S(n,"filteredcategories",e[17]),S(n,"activecategory",e[18]),S(n,"lastplayedunique",e[63]),S(n,"categoryindex","0"),S(n,"categoryid","MYGAMES"),S(n,"casinomygames",e[0]),S(n,"lastplayedperiod",e[59]),S(n,"mostplayedperiod",e[60]),S(n,"lastplayedorder",e[61]),S(n,"lastplayedlimit",e[62]),S(n,"mostplayedrounds",e[64])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&S(n,"userid",e[7]),64&t[0]&&S(n,"session",e[6]),2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),16&t[0]&&S(n,"currency",e[4]),32768&t[0]&&S(n,"favorites",e[15]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10]),1048576&t[0]&&S(n,"livecasino",e[20]),16384&t[0]&&S(n,"visiblegames",e[14]),16777216&t[0]&&S(n,"gamepagemodalurl",e[24]),524288&t[0]&&S(n,"showgamename",e[19]),1&t[1]&&S(n,"integratedgameframedesktop",e[31]),2&t[1]&&S(n,"integratedgameframemobile",e[32]),2048&t[0]&&S(n,"translationurl",e[11]),67108864&t[1]&&S(n,"mostplayed",e[57]),134217728&t[1]&&S(n,"lastplayed",e[58]),131072&t[0]&&S(n,"filteredcategories",e[17]),262144&t[0]&&S(n,"activecategory",e[18]),2&t[2]&&S(n,"lastplayedunique",e[63]),1&t[0]&&S(n,"casinomygames",e[0]),268435456&t[1]&&S(n,"lastplayedperiod",e[59]),536870912&t[1]&&S(n,"mostplayedperiod",e[60]),1073741824&t[1]&&S(n,"lastplayedorder",e[61]),1&t[2]&&S(n,"lastplayedlimit",e[62]),4&t[2]&&S(n,"mostplayedrounds",e[64])},d(e){e&&me(n)}}}function Hl(t){let i,r=t[84],o=[];for(let e=0;e<r.length;e+=1)o[e]=Jl(Il(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(2132344831&n[0]|67108863&n[1]|20971576&n[2]){let e;for(r=t[84],e=0;e<r.length;e+=1){var a=Il(t,r,e);o[e]?o[e].p(a,n):(o[e]=Jl(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){H(o,e),e&&me(i)}}}function zl(e){let n,a;return{c(){n=ge("div"),S(a=ge("casino-winners"),"session",e[6]),S(a,"userid",e[7]),S(a,"periodrecent",e[33]),S(a,"periodtop",e[34]),S(a,"numberusersrecent",e[35]),S(a,"numberuserstop",e[36]),S(a,"amountlimit",e[37]),S(a,"isrecentavailable",e[30]),S(a,"istopavailable",e[29]),S(a,"defaultcurrency",e[38]),S(a,"usercurrency",e[4]),S(a,"enableautoscroll",e[28]),S(a,"tabsorder",e[27]),S(a,"lang",e[5]),S(a,"clientstyling",e[8]),S(a,"clientstylingurl",e[10]),S(a,"endpoint",e[1]),S(a,"winnersdatasources",e[65]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[0]&&S(a,"session",e[6]),128&t[0]&&S(a,"userid",e[7]),4&t[1]&&S(a,"periodrecent",e[33]),8&t[1]&&S(a,"periodtop",e[34]),16&t[1]&&S(a,"numberusersrecent",e[35]),32&t[1]&&S(a,"numberuserstop",e[36]),64&t[1]&&S(a,"amountlimit",e[37]),1073741824&t[0]&&S(a,"isrecentavailable",e[30]),536870912&t[0]&&S(a,"istopavailable",e[29]),128&t[1]&&S(a,"defaultcurrency",e[38]),16&t[0]&&S(a,"usercurrency",e[4]),268435456&t[0]&&S(a,"enableautoscroll",e[28]),134217728&t[0]&&S(a,"tabsorder",e[27]),32&t[0]&&S(a,"lang",e[5]),256&t[0]&&S(a,"clientstyling",e[8]),1024&t[0]&&S(a,"clientstylingurl",e[10]),2&t[0]&&S(a,"endpoint",e[1]),8&t[2]&&S(a,"winnersdatasources",e[65])},d(e){e&&me(n)}}}function Ul(e){let n,a,i;return{c(){n=ge("br"),a=pe(),S(i=ge("casino-calendar"),"userroles",e[9]),S(i,"cmsendpoint",e[12]),S(i,"env",e[2]),S(i,"lang",e[5]),S(i,"clientstyling",e[8]),S(i,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p(e,t){512&t[0]&&S(i,"userroles",e[9]),4096&t[0]&&S(i,"cmsendpoint",e[12]),4&t[0]&&S(i,"env",e[2]),32&t[0]&&S(i,"lang",e[5]),256&t[0]&&S(i,"clientstyling",e[8]),1024&t[0]&&S(i,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(i)}}}function Wl(e){let n,a,i;return{c(){n=ge("br"),a=pe(),fe(i=ge("slot"),"name","je-jackpots-widget"),fe(i,"class",at(e[86])?"":"JackpotsContainer")},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p:G,d(e){e&&me(n),e&&me(a),e&&me(i)}}}function Yl(e){let n,a,i,r;return{c(){n=ge("br"),a=pe(),S(i=ge("casino-jackpot-banner"),"title","Jackpot Cards"),S(i,"currency",r=e[4]||"RON"),S(i,"gameid","999"),S(i,"endpoint",e[1]),S(i,"lang",e[5]),S(i,"backgroundsrc","/assets/background0.jpg"),S(i,"backgroundsrcmobile","/assets/background0.jpg"),S(i,"titlelogopath","/assets/jackpots_logo.svg"),S(i,"caticon0","/assets/icon0.svg"),S(i,"caticon1","/assets/icon1.svg"),S(i,"caticon2","/assets/icon2.svg"),S(i,"caticon3","/assets/icon3.svg"),S(i,"visualstructure","typeSpread"),S(i,"clientstyling",e[8]),S(i,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p(e,t){16&t[0]&&r!==(r=e[4]||"RON")&&S(i,"currency",r),2&t[0]&&S(i,"endpoint",e[1]),32&t[0]&&S(i,"lang",e[5]),256&t[0]&&S(i,"clientstyling",e[8]),1024&t[0]&&S(i,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(i)}}}function Vl(e){let n,a,i,r;return{c(){n=ge("br"),a=pe(),S(i=ge("casino-jackpot-banner"),"title","Egypt Quest"),S(i,"currency",r=e[4]||"RON"),S(i,"gameid","998"),S(i,"endpoint",e[1]),S(i,"lang",e[5]),S(i,"backgroundsrc",e[44]),S(i,"backgroundsrcmobile",e[45]),S(i,"titlelogopath",e[46]),S(i,"caticon0",e[40]),S(i,"caticon1",e[41]),S(i,"caticon2",e[42]),S(i,"caticon3",e[43]),S(i,"iconlabels",e[47]),S(i,"visualstructure",e[48]),S(i,"clientstyling",e[8]),S(i,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p(e,t){16&t[0]&&r!==(r=e[4]||"RON")&&S(i,"currency",r),2&t[0]&&S(i,"endpoint",e[1]),32&t[0]&&S(i,"lang",e[5]),8192&t[1]&&S(i,"backgroundsrc",e[44]),16384&t[1]&&S(i,"backgroundsrcmobile",e[45]),32768&t[1]&&S(i,"titlelogopath",e[46]),512&t[1]&&S(i,"caticon0",e[40]),1024&t[1]&&S(i,"caticon1",e[41]),2048&t[1]&&S(i,"caticon2",e[42]),4096&t[1]&&S(i,"caticon3",e[43]),65536&t[1]&&S(i,"iconlabels",e[47]),131072&t[1]&&S(i,"visualstructure",e[48]),256&t[0]&&S(i,"clientstyling",e[8]),1024&t[0]&&S(i,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(i)}}}function Zl(e){let n;return{c(){S(n=ge("casino-collections-providers"),"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"type","vendor"),S(n,"titletype","logo"),S(n,"collectionprovidersgamenames",e[52]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),2097152&t[1]&&S(n,"collectionprovidersgamenames",e[52]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function ql(e){let n;return{c(){S(n=ge("casino-collections-providers"),"endpoint",e[1]),S(n,"datasource",e[3]),S(n,"lang",e[5]),S(n,"type",e[50]),S(n,"collectionprovidersgamenames",e[52]),S(n,"titletype",e[51]),S(n,"clientstyling",e[8]),S(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&S(n,"endpoint",e[1]),8&t[0]&&S(n,"datasource",e[3]),32&t[0]&&S(n,"lang",e[5]),524288&t[1]&&S(n,"type",e[50]),2097152&t[1]&&S(n,"collectionprovidersgamenames",e[52]),1048576&t[1]&&S(n,"titletype",e[51]),256&t[0]&&S(n,"clientstyling",e[8]),1024&t[0]&&S(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Jl(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y=n[26]&&n[127]==+n[26]&&zl(n),v=n[56]&&n[127]==+n[56]&&Ul(n),b=n[67]&&n[127]==+n[67]&&Wl(n);function w(e,t){return 256&t[1]|4194304&t[2]&&(o=null),256&t[1]|4194304&t[2]&&(s=null),(o=null==o?!(!e[39]||e[127]!=(""==e[39].split(",")[0]?e[84].length:+e[39].split(",")[0])):o)?Vl:(s=null==s?!(!e[39]||e[127]!=(""==e[39].split(",")[1]?e[84].length:+e[39].split(",")[1])):s)?Yl:void 0}let $=w(n,[-1,-1,-1,-1,-1]),x=$&&$(n);function C(e,t){return 262144&t[1]|4194304&t[2]&&(c=null),262144&t[1]|4194304&t[2]&&(d=null),(c=null==c?!(!e[49]||e[127]!=(""==e[49].split(",")[0]?e[84].length:+e[49].split(",")[0])):c)?ql:(d=null==d?!(!e[49]||e[127]!=(""==e[49].split(",")[1]?e[84].length:+e[49].split(",")[1])):d)?Zl:void 0}let k=C(n,[-1,-1,-1,-1,-1]),F=k&&k(n);return{c(){y&&y.c(),a=pe(),v&&v.c(),i=pe(),b&&b.c(),r=pe(),x&&x.c(),l=pe(),F&&F.c(),u=pe(),S(m=ge("casino-games-category-section-nd"),"session",n[6]),S(m,"userid",n[7]),S(m,"endpoint",n[1]),S(m,"datasource",n[3]),S(m,"lang",n[5]),S(m,"currency",n[4]),S(m,"categoryid",g=n[125]),S(m,"categoryindex",n[127]),S(m,"categorygames","9"),S(m,"fetchviaevent",n[66]),S(m,"favorites",n[15]),S(m,"showgamename",n[19]),S(m,"translationurl",n[11]),S(m,"class","CategoryContainer"),M(m,"background-color",n[127]%2!=0?n[13]:"transparent"),S(m,"clientstyling",n[8]),S(m,"clientstylingurl",n[10]),S(m,"livecasino",n[20]),S(m,"visiblegames",n[14]),S(m,"gamepagemodalurl",n[24]),S(m,"integratedgameframedesktop",n[31]),S(m,"integratedgameframemobile",n[32]),S(m,"casinomygames",n[0]),S(m,"filterbylogo",n[55]),S(m,"addfilterselector",n[53]),S(m,"addsortingselector",n[54]),S(m,"casinogamesgridslider",n[25])},m(e,t){y&&y.m(e,t),ue(e,a,t),v&&v.m(e,t),ue(e,i,t),b&&b.m(e,t),ue(e,r,t),x&&x.m(e,t),ue(e,l,t),F&&F.m(e,t),ue(e,u,t),ue(e,m,t),p||(f=E(h=n[87].call(null,m,n[125])),p=!0)},p(e,t){(n=e)[26]&&n[127]==+n[26]?y?y.p(n,t):((y=zl(n)).c(),y.m(a.parentNode,a)):y&&(y.d(1),y=null),n[56]&&n[127]==+n[56]?v?v.p(n,t):((v=Ul(n)).c(),v.m(i.parentNode,i)):v&&(v.d(1),v=null),n[67]&&n[127]==+n[67]?b?b.p(n,t):((b=Wl(n)).c(),b.m(r.parentNode,r)):b&&(b.d(1),b=null),$===($=w(n,t))&&x?x.p(n,t):(x&&x.d(1),(x=$&&$(n))&&(x.c(),x.m(l.parentNode,l))),k===(k=C(n,t))&&F?F.p(n,t):(F&&F.d(1),(F=k&&k(n))&&(F.c(),F.m(u.parentNode,u))),64&t[0]&&S(m,"session",n[6]),128&t[0]&&S(m,"userid",n[7]),2&t[0]&&S(m,"endpoint",n[1]),8&t[0]&&S(m,"datasource",n[3]),32&t[0]&&S(m,"lang",n[5]),16&t[0]&&S(m,"currency",n[4]),4194304&t[2]&&g!==(g=n[125])&&S(m,"categoryid",g),16&t[2]&&S(m,"fetchviaevent",n[66]),32768&t[0]&&S(m,"favorites",n[15]),524288&t[0]&&S(m,"showgamename",n[19]),2048&t[0]&&S(m,"translationurl",n[11]),8192&t[0]&&M(m,"background-color",n[127]%2!=0?n[13]:"transparent"),256&t[0]&&S(m,"clientstyling",n[8]),1024&t[0]&&S(m,"clientstylingurl",n[10]),1048576&t[0]&&S(m,"livecasino",n[20]),16384&t[0]&&S(m,"visiblegames",n[14]),16777216&t[0]&&S(m,"gamepagemodalurl",n[24]),1&t[1]&&S(m,"integratedgameframedesktop",n[31]),2&t[1]&&S(m,"integratedgameframemobile",n[32]),1&t[0]&&S(m,"casinomygames",n[0]),16777216&t[1]&&S(m,"filterbylogo",n[55]),4194304&t[1]&&S(m,"addfilterselector",n[53]),8388608&t[1]&&S(m,"addsortingselector",n[54]),33554432&t[0]&&S(m,"casinogamesgridslider",n[25]),h&&L(h.update)&&4194304&t[2]&&h.update.call(null,n[125])},d(e){y&&y.d(e),e&&me(a),v&&v.d(e),e&&me(i),b&&b.d(e),e&&me(r),x&&x.d(e),e&&me(l),F&&F.d(e),e&&me(u),e&&me(m),p=!1,f()}}}function Kl(n){let a,i,r,o=n[85]("breakButton")+"";return{c(){a=ge("div"),i=ge("button"),r=he(o),fe(i,"class","PanicButton "+("PC"!==it(n[86])?"PanicButtonMobile ":"")),I(i,"PanicButtonAnimation",n[80]),fe(a,"class","PanicSection "+("PC"!==it(n[86])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[90](i)},p(e,t){8388608&t[2]&&o!==(o=e[85]("breakButton")+"")&&ye(r,o),262144&t[2]&&I(i,"PanicButtonAnimation",e[80])},d(e){e&&me(a),n[90](null)}}}function Xl(n){let a,i,r;function o(e){return e[78]?Rl:Pl}let s=o(n),l=s(n);return{c(){a=ge("script"),i=pe(),r=ge("div"),l.c(),this.c=G,fe(a,"type","module"),ce(a.src,"https://unpkg.com/@everymatrix/casino-play-random-game")||fe(a,"src","https://unpkg.com/@everymatrix/casino-play-random-game")},m(e,t){de(Tl.head,a),ue(e,i,t),ue(e,r,t),l.m(r,null),n[91](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null)))},i:G,o:G,d(e){me(a),e&&me(i),e&&me(r),l.d(),n[91](null)}}}let Ql=!1;function ec(n,e,i){let D;rt(n,ai,e=>i(85,D=e));let A,{endpoint:r=""}=e,{env:N=""}=e,{datasource:o=""}=e,{currency:B=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{userroles:O=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:j=""}=e,{categorybackground:H=""}=e,a=e["visiblegames"],{favorites:z=""}=e,{haspanicbutton:U="false"}=e,{filteredcategories:g=""}=e,{activecategory:h=""}=e,{showgamename:W=""}=e,{livecasino:Y="false"}=e,{playrandomgame:V="false"}=e,{randomgameslider:Z="false"}=e,{filteredrandomgamecategories:q=""}=e,{gamepagemodalurl:J="false"}=e,{casinogamesgridslider:K="false"}=e,{positionwinnerswidget:X=""}=e,{tabsorder:Q=""}=e,{enableautoscroll:ee=""}=e,{istopavailable:te=""}=e,{isrecentavailable:ne=""}=e,{integratedgameframedesktop:ae="false"}=e,{integratedgameframemobile:ie="false"}=e,{periodrecent:re=""}=e,{periodtop:oe=""}=e,{numberusersrecent:se=""}=e,{numberuserstop:le=""}=e,{amountlimit:ce=""}=e,{defaultcurrency:de=""}=e,{showsubgroups:p=""}=e,{positionjackpotbanners:ue=""}=e,{caticon0:me=""}=e,{caticon1:ge=""}=e,{caticon2:he=""}=e,{caticon3:pe=""}=e,{backgroundsrc:fe=""}=e,{backgroundsrcmobile:ye=""}=e,{titlelogopath:ve=""}=e,{iconlabels:be=""}=e,{visualstructure:we=""}=e,{positioncollections:$e=""}=e,{type:xe=""}=e,{titletype:Ce=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Fe="false"}=e,{addsortingselector:Se="false"}=e,{filterbylogo:Me=""}=e,{positioncasinocalendar:Ge=""}=e,{casinomygames:t="false"}=e,{mostplayed:f=""}=e,{lastplayed:y=""}=e,{lastplayedperiod:Le="Last30Days"}=e,{mostplayedperiod:Ee="Last30Days"}=e,{lastplayedorder:_e=""}=e,{lastplayedlimit:Te=""}=e,{lastplayedunique:Ie="true"}=e,{mostplayedrounds:Pe=""}=e,{winnersdatasources:Re=""}=e,{fetchviaevent:De="true"}=e,{positionjelobbywidget:Ae=""}=e,{specificcategory:Ne=""}=e,{launchbygamecard:Be=""}=e,{iconvisible:Oe=""}=e,{iconvisibleonanim:je=""}=e,{randombuttonicon:He=""}=e,v=window.navigator.userAgent;A=at(v)?"OpenGameFrame":"ShowGameModal";let b,w,$,x,ze,Ue,C,k=!1,F=!1,We=!1,S="",M=!1,G=0,L=!1,E=!0,_=!1,Ye=[],T=[],Ve=!1,I="",Ze=!1;var qe,Je;({withLocale:qe,translations:Je}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(Je),nt.set(qe))}),Object.keys(_i).forEach(e=>{Ei(e,_i[e])});const Ke=e=>{switch(Ve=!0,i(0,t="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ve},window.location.href)}),e.data.itemId){case"LOBBY":i(82,E=!0),i(81,L=!1),i(74,$="");break;case"MYGAMES":i(0,t="true"),i(82,E=!1),i(81,L=!0),i(74,$="");break;case"FAVORITES":i(82,E=!1),i(81,L=!0),i(74,$="");break;case"MOSTPLAYED":"true"==f&&(i(74,$=""),i(82,E=!1),i(81,L=!0));break;case"LASTPLAYED":"true"==y&&(i(74,$=""),i(82,E=!1),i(81,L=!0));break;default:i(82,E=!1),i(81,L=!1),i(74,$=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:$},window.location.href)},2e3)}},Xe=t=>{if(t.data)switch(t.data.type){case"CategoryChange":Ke(t);break;case"UserSessionID":t.data.session,t.data.userID;break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:I,origin:t.data.origin},window.location.href);break;case"CategoryVendors":I=t.data.categoryid;break;case"searchCancelled":i(83,_=!1),$&&Ke({data:{itemId:$}});break;case"searchActive":i(83,_=!0);break;case"ModalClosed":break;case"SubgroupsIds":T.some(e=>t.data.subGroupsIds.includes(e))||T.push(...t.data.subGroupsIds)}},Qe=()=>{x&&(ze=x.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},P=e=>{G=0,w=setInterval(()=>{G+=1,i(80,M=!0),3<=G&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(w))},1e3)},R=e=>{G<3&&i(80,M=!1),clearInterval(w)};return et(()=>(window.addEventListener("scroll",Qe,!1),window.addEventListener("message",Xe,!1),()=>{window.removeEventListener("scroll",Qe),window.removeEventListener("message",Xe),i(80,M=!1),null!=b&&b.removeEventListener("mousedown",P),null!=b&&b.removeEventListener("touchstart",P),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&i(1,r=e.endpoint),"env"in e&&i(2,N=e.env),"datasource"in e&&i(3,o=e.datasource),"currency"in e&&i(4,B=e.currency),"lang"in e&&i(5,s=e.lang),"session"in e&&i(6,l=e.session),"userid"in e&&i(7,c=e.userid),"clientstyling"in e&&i(8,d=e.clientstyling),"userroles"in e&&i(9,O=e.userroles),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,m=e.translationurl),"cmsendpoint"in e&&i(12,j=e.cmsendpoint),"categorybackground"in e&&i(13,H=e.categorybackground),"visiblegames"in e&&i(14,a=e.visiblegames),"favorites"in e&&i(15,z=e.favorites),"haspanicbutton"in e&&i(16,U=e.haspanicbutton),"filteredcategories"in e&&i(17,g=e.filteredcategories),"activecategory"in e&&i(18,h=e.activecategory),"showgamename"in e&&i(19,W=e.showgamename),"livecasino"in e&&i(20,Y=e.livecasino),"playrandomgame"in e&&i(21,V=e.playrandomgame),"randomgameslider"in e&&i(22,Z=e.randomgameslider),"filteredrandomgamecategories"in e&&i(23,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&i(24,J=e.gamepagemodalurl),"casinogamesgridslider"in e&&i(25,K=e.casinogamesgridslider),"positionwinnerswidget"in e&&i(26,X=e.positionwinnerswidget),"tabsorder"in e&&i(27,Q=e.tabsorder),"enableautoscroll"in e&&i(28,ee=e.enableautoscroll),"istopavailable"in e&&i(29,te=e.istopavailable),"isrecentavailable"in e&&i(30,ne=e.isrecentavailable),"integratedgameframedesktop"in e&&i(31,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(32,ie=e.integratedgameframemobile),"periodrecent"in e&&i(33,re=e.periodrecent),"periodtop"in e&&i(34,oe=e.periodtop),"numberusersrecent"in e&&i(35,se=e.numberusersrecent),"numberuserstop"in e&&i(36,le=e.numberuserstop),"amountlimit"in e&&i(37,ce=e.amountlimit),"defaultcurrency"in e&&i(38,de=e.defaultcurrency),"showsubgroups"in e&&i(88,p=e.showsubgroups),"positionjackpotbanners"in e&&i(39,ue=e.positionjackpotbanners),"caticon0"in e&&i(40,me=e.caticon0),"caticon1"in e&&i(41,ge=e.caticon1),"caticon2"in e&&i(42,he=e.caticon2),"caticon3"in e&&i(43,pe=e.caticon3),"backgroundsrc"in e&&i(44,fe=e.backgroundsrc),"backgroundsrcmobile"in e&&i(45,ye=e.backgroundsrcmobile),"titlelogopath"in e&&i(46,ve=e.titlelogopath),"iconlabels"in e&&i(47,be=e.iconlabels),"visualstructure"in e&&i(48,we=e.visualstructure),"positioncollections"in e&&i(49,$e=e.positioncollections),"type"in e&&i(50,xe=e.type),"titletype"in e&&i(51,Ce=e.titletype),"collectionprovidersgamenames"in e&&i(52,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&i(53,Fe=e.addfilterselector),"addsortingselector"in e&&i(54,Se=e.addsortingselector),"filterbylogo"in e&&i(55,Me=e.filterbylogo),"positioncasinocalendar"in e&&i(56,Ge=e.positioncasinocalendar),"casinomygames"in e&&i(0,t=e.casinomygames),"mostplayed"in e&&i(57,f=e.mostplayed),"lastplayed"in e&&i(58,y=e.lastplayed),"lastplayedperiod"in e&&i(59,Le=e.lastplayedperiod),"mostplayedperiod"in e&&i(60,Ee=e.mostplayedperiod),"lastplayedorder"in e&&i(61,_e=e.lastplayedorder),"lastplayedlimit"in e&&i(62,Te=e.lastplayedlimit),"lastplayedunique"in e&&i(63,Ie=e.lastplayedunique),"mostplayedrounds"in e&&i(64,Pe=e.mostplayedrounds),"winnersdatasources"in e&&i(65,Re=e.winnersdatasources),"fetchviaevent"in e&&i(66,De=e.fetchviaevent),"positionjelobbywidget"in e&&i(67,Ae=e.positionjelobbywidget),"specificcategory"in e&&i(68,Ne=e.specificcategory),"launchbygamecard"in e&&i(69,Be=e.launchbygamecard),"iconvisible"in e&&i(70,Oe=e.iconvisible),"iconvisibleonanim"in e&&i(71,je=e.iconvisibleonanim),"randombuttonicon"in e&&i(72,He=e.randombuttonicon)},n.$$.update=()=>{if(262176&n.$$.dirty[0]&&s&&h&&(i(74,$=h),Ke({data:{itemId:$}})),194&n.$$.dirty[0]&&l&&c&&r&&i(79,We=!0),134221824&n.$$.dirty[2]&&$&&T&&T&&!T.includes(decodeURI($))&&""!=$&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&r&&o&&s&&(r||(S="Endpoint is missing! Please provide a valid endpointURL.",i(78,F=!0),i(77,k=!1),console.error(S)),o||(S="Datasource is missing! Please provide a valid datasource.",i(78,F=!0),i(77,k=!1),console.error(S)),(!s||s.length<2)&&(S="Language is missing! Please provide a valid language (alpha2code)",i(78,F=!0),i(77,k=!1),console.error(S)),F||(i(77,k=!0),t=s,nt.set(t),(t=new URL(r+"/v1/casino/groups/"+o)).searchParams.append("language",s),t.searchParams.append("platform",it(v)),a=t,new Promise((t,n)=>{i(77,k=!0),fetch(a).then(e=>e.json()).then(e=>{i(77,k=!1),t(e)}).catch(e=>{i(78,F=!0),i(77,k=!1),console.error(e),n(e)})}).then(e=>{let a=g.split(",");e&&(Ue=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,g))for(var n of a)e.flags==n&&(t=!1);return t}),i(84,Ye=Ue.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==p)}).map(e=>e.id)),i(89,T=e.items.map(e=>e.id.toString())),i(77,k=!1))}),x=void 0)),32&n.$$.dirty[0]&&s&&(Ze&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:$},window.location.href)},500),Ze=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ei(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|8192&n.$$.dirty[2]&&d&&C&&((e=document.createElement("style")).innerHTML=d,C.appendChild(e)),1024&n.$$.dirty[0]|8192&n.$$.dirty[2]&&u&&C){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{C.appendChild(t)},1)})}var e,a,t;2048&n.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",P,!1),null!=b&&b.addEventListener("touchstart",P,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b)&&b.addEventListener("touchend",R,!1)},[t,r,N,o,B,s,l,c,d,O,u,m,j,H,a,z,U,g,h,W,Y,V,Z,q,J,K,X,Q,ee,te,ne,ae,ie,re,oe,se,le,ce,de,ue,me,ge,he,pe,fe,ye,ve,be,we,$e,xe,Ce,ke,Fe,Se,Me,Ge,f,y,Le,Ee,_e,Te,Ie,Pe,Re,De,Ae,Ne,Be,Oe,je,He,b,$,C,A,k,F,We,M,L,E,_,Ye,D,v,(e,t)=>{I=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:a,receivedFavoriteResults:void 0},window.location.href)},p,T,function(e){tt[e?"unshift":"push"](()=>{b=e,i(73,b)})},function(e){tt[e?"unshift":"push"](()=>{C=e,i(75,C)})}]}function tc(e,{delay:t=0,duration:n=400,easing:a=b}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:a,css:e=>"opacity: "+e*i}}function nc(n){let a,i,r,o,s,l,c,d,t,u,m,g;return{c(){a=ge("div"),i=ge("div"),(r=ge("div")).innerHTML="<slot></slot>",o=pe(),s=ge("span"),(l=ge("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,"role","button"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow"),fe(i,"id","Modal"),J(()=>n[19].call(i)),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(s,l),n[18](i),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=ge("iframe"),a=(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===T){T=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){T=!0}}return T}());let i;return a?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=U(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=U(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(a||i&&n.contentWindow)&&i(),me(n)}}(i,n[19].bind(i)),n[20](a),u=!0,m||(g=U(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||(J(()=>{u&&(t=t||oe(i,tc,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||oe(i,tc,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(a),n[18](null),d(),e&&t&&t.end(),n[20](null),m=!1,g()}}}function ac(e){let n,a,i=e[7]&&nc(e);return{c(){i&&i.c(),n=c(),this.c=G},m(e,t){i&&i.m(e,t),ue(e,n,t),a=!0},p(e,[t]){e[7]?i?(i.p(e,t),128&t&&ae(i,1)):((i=nc(e)).c(),ae(i,1),i.m(n.parentNode,n)):i&&(ne={r:0,c:[],p:ne},ie(i,1,1,()=>{i=null}),ne.r||j(ne.c),ne=ne.p)},i(e){a||(ae(i),a=!0)},o(e){ie(i),a=!1},d(e){i&&i.d(e),e&&me(n)}}}function ic(t,e,n){let a,i,r,o,{duration:s=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:m=""}=e,{endpoint:g=""}=e,{haspanicbutton:h="false"}=e,{gamepagemodalurl:p="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,v=window.navigator.userAgent,b=!1,w=!1,$=!1;const x=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,$=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"true"!==y&&!at(v)||n(7,$=!1),"ShowGameModal"===e.data.type&&(n(7,$=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,$=!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:a?getComputedStyle(a).width:null,modalHeight:a?getComputedStyle(a).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(a).width,modalHeight:getComputedStyle(a).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return et(()=>(n(3,b=at(v)),window.addEventListener("message",x,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",x),window.removeEventListener("resize",x)})),t.$$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),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,m=e.clientstylingurl),"endpoint"in e&&n(14,g=e.endpoint),"haspanicbutton"in e&&n(1,h=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,p=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&g&&"true"==f&&ii(g,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&t.$$.dirty&&d&&i&&((e=document.createElement("style")).innerHTML=d,i.appendChild(e)),8196&t.$$.dirty&&m&&i){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)})}var e},[s,h,i,b,a,void 0,void 0,$,()=>{n(7,$=!1),n(3,b=at(v)),window.postMessage({type:"ModalClosed",gamepagemodalurl:p,mobileView:b,closeIntegratedGameFrameDesktop:!0},window.location.href)},l,c,d,u,m,g,p,f,y,function(e){tt[e?"unshift":"push"](()=>{a=e,n(4,a)})},function(){r=this.clientWidth,o=this.clientHeight,n(5,r),n(6,o)},function(e){tt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function rc(e,t){o(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-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,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ec,Xl,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,randomgameslider:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:88,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,fetchviaevent:66,positionjelobbywidget:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,randombuttonicon:72},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","randomgameslider","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","fetchviaevent","positionjelobbywidget","specificcategory","launchbygamecard","iconvisible","iconvisibleonanim","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[19]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get randomgameslider(){return this.$$.ctx[22]}set randomgameslider(e){this.$$set({randomgameslider:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[88]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get fetchviaevent(){return this.$$.ctx[66]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(e){this.$$set({specificcategory:e}),m()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(e){this.$$set({launchbygamecard:e}),m()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(e){this.$$set({iconvisible:e}),m()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(e){this.$$set({iconvisibleonanim:e}),m()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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)}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ic,ac,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}});const oc={en:{signIn:"LOGIN",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-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",loading:"Es lädt, bitte warten..."},it:{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",loading:"Loading, please wait..."},fr:{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:{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",loading:"Cargando por favor espere ..."},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",loading:"Yükleniyor, lütfen bekleyin..."},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."},ro:{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",loading:"Se incarca, te rugam asteapta…"},hr:{signIn:"PRIJAVA",register:"REGISTRACIJA",deposit:"UPLATA",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",loading:"Učitavanje"},hu:{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",loading:"Betöltés, kérjük várjon..."},pl:{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",loading:"Loading, please wait..."},pt:{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",loading:"Carregando, por favor espere ..."},sl:{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",loading:"Loading, please wait..."},sr:{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",loading:"Loading, please wait..."},"pt-br":{signIn:"ENTRAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Pressione o botão por 3 segundos para uma pausa de 24 horas",Loading:"Carregando, por favor espere..."},"es-mx":{signIn:"INGRESAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jugar Por Diversión",playNow:"Comenzar ahora!",breakButton:"Presionar botón 3 segundos para un bloqueo de 24 horas",Loading:"Cargando, por favor espere..."}};function sc(n){let a,i,r=n[13]&&dc(n);return{c(){a=ge("div"),i=ge("div"),r&&r.c(),fe(i,"class","CasinoGamePageContainer"),M(i,"background","rgba(0, 0, 0, 0.5)"),fe(a,"class","GamePageBackground"),M(a,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),M(a,"background-size","cover")},m(e,t){ue(e,a,t),de(a,i),r&&r.m(i,null),n[85](a)},p(e,t){e[13]?r?r.p(e,t):((r=dc(e)).c(),r.m(i,null)):r&&(r.d(1),r=null),4198400&t[0]&&M(a,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&me(a),r&&r.d(),n[85](null)}}}function lc(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function cc(e){let n,a,i=e[26]("loading")+"";return{c(){n=ge("p"),a=he(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){67108864&t[0]&&i!==(i=e[26]("loading")+"")&&ye(a,i)},d(e){e&&me(n)}}}function dc(e){let n;function a(e){return e[22]?gc:e[6]?mc:e[7]?void 0:uc}let i=a(e),r=i&&i(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r&&r.d(1),(r=i&&i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&me(n)}}}function uc(e){let n;function a(e){return e[14]?pc:hc}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function mc(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w=n[26]("deposit")+"",$="true"===n[1]&&vc(n);function x(e){return e[19]?wc:bc}let C=x(n),k=C(n);return{c(){a=ge("div"),i=ge("div"),r=ge("iframe"),s=pe(),l=ge("div"),c=ge("button"),d=he(w),u=pe(),m=ge("p"),g=ge("span"),h=he(n[4]),p=pe(),$&&$.c(),f=pe(),k.c(),fe(r,"title","Games"),fe(r,"id","IframeGame"),fe(r,"class","GamesContainer"),fe(r,"aria-hidden","false"),ce(r.src,o=n[12].launchUrl)||fe(r,"src",o),fe(c,"class","DepositButton"),fe(m,"class","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"style",n[25]),fe(a,"id","IframeContainer"),M(a,"width",n[20]),M(a,"height",n[21]),I(a,"FullsScreenLayout",n[19])},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[65](r),de(i,s),de(i,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,g),de(g,h),n[67](m),de(l,p),$&&$.m(l,null),de(l,f),k.m(l,null),n[71](l),n[72](i),n[73](a),v||(b=U(c,"click",n[66]),v=!0)},p(e,t){4096&t[0]&&!ce(r.src,o=e[12].launchUrl)&&fe(r,"src",o),67108864&t[0]&&w!==(w=e[26]("deposit")+"")&&ye(d,w),16&t[0]&&ye(h,e[4]),"true"===e[1]?$?$.p(e,t):(($=vc(e)).c(),$.m(l,f)):$&&($.d(1),$=null),C===(C=x(e))&&k?k.p(e,t):(k.d(1),(k=C(e))&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),33554432&t[0]&&fe(i,"style",e[25]),1048576&t[0]&&M(a,"width",e[20]),2097152&t[0]&&M(a,"height",e[21]),524288&t[0]&&I(a,"FullsScreenLayout",e[19])},d(e){e&&me(a),n[65](null),n[67](null),$&&$.d(),k.d(),n[71](null),n[72](null),n[73](null),v=!1,b()}}}function gc(e){let n;function a(e){return e[6]?Cc:e[15]&&!e[7]?xc:e[7]?void 0:$c}let i=a(e),r=i&&i(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r&&r.d(1),(r=i&&i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&me(n)}}}function hc(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$=n[12].name+"",x=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){a=ge("div"),i=ge("h3"),r=he($),o=pe(),s=ge("img"),c=pe(),d=ge("div"),u=ge("button"),m=he(x),g=pe(),h=ge("button"),p=he(C),f=pe(),y=ge("p"),v=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(a,"class","GameDetails"),fe(a,"part","GameDetails")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,o),de(a,s),de(a,c),de(a,d),de(d,u),de(u,m),de(d,g),de(d,h),de(h,p),de(a,f),de(a,y),de(y,v),b||(w=[U(u,"click",n[83]),U(h,"click",n[84])],b=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(r,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(m,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(p,C),16&t[0]&&ye(v,e[4])},d(e){e&&me(a),b=!1,j(w)}}}function pc(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x=n[26]("signIn")+"",C=n[26]("register")+"";function k(e){return e[19]?yc:fc}let F=k(n),S=F(n);return{c(){a=ge("div"),i=ge("div"),r=ge("iframe"),s=pe(),l=ge("div"),c=ge("div"),d=ge("button"),u=he(x),m=pe(),g=ge("button"),h=he(C),p=pe(),f=ge("p"),y=ge("span"),v=he(n[4]),b=pe(),S.c(),fe(r,"title","Games"),fe(r,"id","IframeGame"),fe(r,"class","GamesContainer"),fe(r,"aria-hidden","false"),ce(r.src,o=n[12].launchUrl)||fe(r,"src",o),fe(d,"class","LoginButton"),fe(g,"class","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(f,"class","Time"),fe(l,"class","BottomGame"),fe(i,"id","IframeGame"),fe(i,"style",n[25]),fe(a,"id","IframeContainer"),M(a,"width",n[20]),M(a,"height",n[21]),I(a,"FullsScreenLayout",n[19])},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[74](r),de(i,s),de(i,l),de(l,c),de(c,d),de(d,u),de(c,m),de(c,g),de(g,h),de(l,p),de(l,f),de(f,y),de(y,v),n[77](f),de(l,b),S.m(l,null),n[80](l),n[81](i),n[82](a),w||($=[U(d,"click",n[75]),U(g,"click",n[76])],w=!0)},p(e,t){4096&t[0]&&!ce(r.src,o=e[12].launchUrl)&&fe(r,"src",o),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(u,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(h,C),16&t[0]&&ye(v,e[4]),F===(F=k(e))&&S?S.p(e,t):(S.d(1),(S=F(e))&&(S.c(),S.m(l,null))),33554432&t[0]&&fe(i,"style",e[25]),1048576&t[0]&&M(a,"width",e[20]),2097152&t[0]&&M(a,"height",e[21]),524288&t[0]&&I(a,"FullsScreenLayout",e[19])},d(e){e&&me(a),n[74](null),n[77](null),S.d(),n[80](null),n[81](null),n[82](null),w=!1,j($)}}}function fc(n){let a,i,r;return{c(){(a=ge("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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[79]),i=!0)},p:G,d(e){e&&me(a),i=!1,r()}}}function yc(n){let a,i,r;return{c(){(a=ge("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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[78]),i=!0)},p:G,d(e){e&&me(a),i=!1,r()}}}function vc(n){let a,i,r,o=n[26]("breakButton")+"";return{c(){a=ge("div"),i=ge("button"),r=he(o),fe(i,"class","Button"),I(i,"PanicButtonAnimation",n[11]),fe(a,"class","PanicSection")},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[68](i)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(r,o),2048&t[0]&&I(i,"PanicButtonAnimation",e[11])},d(e){e&&me(a),n[68](null)}}}function bc(n){let a,i,r;return{c(){(a=ge("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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[70]),i=!0)},p:G,d(e){e&&me(a),i=!1,r()}}}function wc(n){let a,i,r;return{c(){(a=ge("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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[69]),i=!0)},p:G,d(e){e&&me(a),i=!1,r()}}}function $c(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$=n[12].name+"",x=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){a=ge("div"),i=ge("h3"),r=he($),o=pe(),s=ge("img"),c=pe(),d=ge("div"),u=ge("button"),m=he(x),g=pe(),h=ge("button"),p=he(C),f=pe(),y=ge("p"),v=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(a,"class","GameDetails"),fe(a,"part","GameDetails")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,o),de(a,s),de(a,c),de(a,d),de(d,u),de(u,m),de(d,g),de(d,h),de(h,p),de(a,f),de(a,y),de(y,v),b||(w=[U(u,"click",n[63]),U(h,"click",n[64])],b=!0)},p(e,t){4096&t[0]&&$!==($=e[12].name+"")&&ye(r,$),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&x!==(x=e[26]("signIn")+"")&&ye(m,x),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(p,C),16&t[0]&&ye(v,e[4])},d(e){e&&me(a),b=!1,j(w)}}}function xc(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x,C,k=n[12].name+"",F=n[26]("signIn")+"",S=n[26]("register")+"",M=n[26]("playForFun")+"";return{c(){a=ge("div"),i=ge("h3"),r=he(k),o=pe(),s=ge("img"),c=pe(),d=ge("div"),u=ge("button"),m=he(F),g=pe(),h=ge("button"),p=he(S),f=pe(),y=ge("button"),v=he(M),b=pe(),w=ge("p"),$=he(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(h,"class","RegisterButton"),fe(y,"class","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(a,"class","GameDetails")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,o),de(a,s),de(a,c),de(a,d),de(d,u),de(u,m),de(d,g),de(d,h),de(h,p),de(d,f),de(d,y),de(y,v),de(a,b),de(a,w),de(w,$),x||(C=[U(u,"click",n[60]),U(h,"click",n[61]),U(y,"click",n[62])],x=!0)},p(e,t){4096&t[0]&&k!==(k=e[12].name+"")&&ye(r,k),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&F!==(F=e[26]("signIn")+"")&&ye(m,F),67108864&t[0]&&S!==(S=e[26]("register")+"")&&ye(p,S),67108864&t[0]&&M!==(M=e[26]("playForFun")+"")&&ye(v,M),16&t[0]&&ye($,e[4])},d(e){e&&me(a),x=!1,j(C)}}}function Cc(n){let a,i,r,o,s,l,c,d,u,m,g,h,p,f,y,v,b,w,$,x,C=n[12].name+"",k=n[26]("deposit")+"",F=n[26]("playNow")+"",S="true"==n[0]&&kc(n),M="true"===n[1]&&Lc(n);return{c(){S&&S.c(),a=pe(),i=ge("div"),r=ge("h3"),o=he(C),s=pe(),l=ge("img"),d=pe(),u=ge("div"),m=ge("button"),g=he(k),h=pe(),p=ge("button"),f=he(F),y=pe(),M&&M.c(),v=pe(),b=ge("p"),w=he(n[4]),ce(l.src,c=n[12].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(m,"class","DepositButton"),fe(p,"class","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(i,"class","GameDetails")},m(e,t){S&&S.m(e,t),ue(e,a,t),ue(e,i,t),de(i,r),de(r,o),de(i,s),de(i,l),de(i,d),de(i,u),de(u,m),de(m,g),de(u,h),de(u,p),de(p,f),de(i,y),M&&M.m(i,null),de(i,v),de(i,b),de(b,w),$||(x=[U(m,"click",n[57]),U(p,"click",n[58])],$=!0)},p(e,t){"true"==e[0]?S?S.p(e,t):((S=kc(e)).c(),S.m(a.parentNode,a)):S&&(S.d(1),S=null),4096&t[0]&&C!==(C=e[12].name+"")&&ye(o,C),4096&t[0]&&!ce(l.src,c=e[12].thumbnail)&&fe(l,"src",c),67108864&t[0]&&k!==(k=e[26]("deposit")+"")&&ye(g,k),67108864&t[0]&&F!==(F=e[26]("playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=Lc(e)).c(),M.m(i,v)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){S&&S.d(e),e&&me(a),e&&me(i),M&&M.d(),$=!1,j(x)}}}function kc(e){let n;function a(e){return e[8]?Fc:Sc}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Fc(e){let n,a,i,r;return{c(){n=ge("div"),a=ge("div"),i=ge("div"),fe(n,"class",r="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))},m(e,t){ue(e,n,t),de(n,a),de(n,i)},p(e,t){2&t[0]&&r!==(r="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))&&fe(n,"class",r)},d(e){e&&me(n)}}}function Sc(e){let n;function a(e){return e[12].isFavorite?Gc:Mc}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Mc(n){let a,i,r,o,s,l;return{c(){a=ge("div"),i=z("svg"),M(r=z("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),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,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),M(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(a,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),s||(l=U(a,"click",n[56]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function Gc(n){let a,i,r,o,s,l;return{c(){a=ge("div"),i=z("svg"),M(r=z("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),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(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(a,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),s||(l=U(a,"click",n[55]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function Lc(n){let a,i,r,o=n[26]("breakButton")+"";return{c(){a=ge("div"),i=ge("button"),r=he(o),fe(i,"class","PanicButton "+("PC"!==it(n[27])?"PanicButtonMobile":"")),I(i,"PanicButtonAnimation",n[11]),fe(a,"class","PanicSection "+("PC"!==it(n[27])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[59](i)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(r,o),2048&t[0]&&I(i,"PanicButtonAnimation",e[11])},d(e){e&&me(a),n[59](null)}}}function Ec(n){let a;function i(e){return e[10]?cc:e[9]?lc:sc}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[86](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[86](null)}}}function _c(n,e,i){let D,A;rt(n,ai,e=>i(26,A=e));let N,t,a,r,B,o,s,l,c,O,j,d,u,H,z,m,g,h,p,{endpoint:f=""}=e,{lang:y=""}=e,{session:v=""}=e,{userid:b=""}=e,{clientstyling:w=""}=e,{clientstylingurl:$=""}=e,{translationurl:x=""}=e,{favorites:U=""}=e,{loginurl:C=""}=e,{registerurl:W=""}=e,{depositurl:Y=""}=e,{loginevent:V=""}=e,{registerevent:Z=""}=e,{depositevent:q=""}=e,{shortcashierenabled:J=""}=e,{clockformat:K=""}=e,{haspanicbutton:X="false"}=e,{playforfun:Q="true"}=e,{checksession:ee="true"}=e,{integratedgameframedesktop:k="false"}=e,{integratedgameframemobile:te="false"}=e,{gameid:ne=""}=e,F=!1,ae=!1,S=!1,ie=!1,M=!0,re=!1,oe=0,G=!1,se=!1,le=!1,ce=!0,L=!1,E=window.navigator.userAgent,de=!1,_=[],T=[],ue="false",me;var ge,he;({withLocale:ge,translations:he}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(he),nt.set(ge))}),Object.keys(oc).forEach(e=>{rc(e,oc[e])});const pe=e=>{var t=new URL(e.launchUrl);return t.searchParams.append("language",y),a&&0<a.length&&(i(6,F=!0),t.searchParams.append("_sid",a),t.searchParams.append("funMode","false")),e.launchUrl=t,e},fe=(t,n)=>{t=new URL(f+"/v1/casino/games/"+t);t.searchParams.append("language",y),t.searchParams.append("expand","vendor"),ce=n||!1,fetch(t.href).then(e=>e.json()).then(e=>{i(12,o=pe(e[0])),i(10,M=!1),o.launchUrl&&(i(12,o.isFavorite=xe(o,o.hasFunMode),o),i(8,S=!1))},e=>{console.error("There was an error",e),i(9,ie=!0)}).then(()=>{s&&(ce||(i(20,O=o.width),i(21,j=o.height),H=o.width+"px",z=o.height+"px",d=o.width,u=o.height),ke())}).finally(()=>{i(10,M=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href);{n=v,t=b;let e=f+`/v1/player/${t}/favorites/`,a=(i(10,M=!0),{method:"GET",headers:{"X-SessionID":n}});new Promise((t,n)=>{fetch(e,a).then(e=>e.json()).then(e=>{i(10,M=!1),(_=e.items)?(o&&o.id&&i(12,o.isFavorite=$e(o.id),o),i(8,S=!1),_.forEach(e=>{T.includes(e.id)||T.push(e.id)})):_=[],t(_)}).catch(e=>{console.error(e),n(e)})})}},ye=()=>{null!=r&&r.addEventListener("mousedown",_e,!1),null!=r&&r.addEventListener("touchstart",_e,!1),null!=r&&r.addEventListener("mouseup",Te,!1),null!=r&&r.addEventListener("touchend",Te,!1)},ve=()=>{i(11,re=!1),null!=r&&r.removeEventListener("mousedown",_e),null!=r&&r.removeEventListener("touchstart",_e),null!=r&&r.removeEventListener("mouseup",Te),null!=r&&r.removeEventListener("touchend",Te)},be=e=>{var t;switch(e.data.type){case"GameLaunchID":fe(e.data.gameId,!0);break;case"LaunchGameFrame":Ce(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"true"===k||at(E)?(i(54,ue="false"),ve(),at(E)?setTimeout(()=>{i(13,G="true"===te)},500):setTimeout(()=>{i(13,G="true"===k)},500)):"false"===k&&!0!==(null==(t=e.data)?void 0:t.closeIntegratedGameFrameDesktop)&&window.postMessage({type:"DisableScroll"},window.location.href);break;case"UserSessionID":if(0<e.data.session.length){a=e.data.session,e.data.userID,i(6,F=!0);let t=setInterval(()=>{var e;o&&((e=new URL(o.launchUrl)).searchParams.get("_sid")||e.searchParams.append("_sid",a),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(12,o.launchUrl=e,o),clearInterval(t))},250)}break;case"ModalSize":i(20,O=e.data.modalContainerSize.modalWidth),i(21,j=e.data.modalContainerSize.modalHeight)}},we=e=>{var t,n,a;o.isFavorite?(t=`${f}/v1/player/${b}/favorites`,n=v,a=o.id,fetch(t+"/"+a,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+a},window.location.href),window.postMessage({type:"UpdateFavoredList",url:t,sessionID:n}),e.items&&(_=e.items),i(12,o.isFavorite=$e(o.id),o)}),T.includes(a)&&(T=T.filter(e=>e!=a))):(async(t,n,a)=>{T.includes(a.id)||T.push(a.id);let e={items:T},i={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a.id}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:t,sessionID:n}),e.items&&(_=e.items),a.isFavorite=$e(a.id)}).catch(e=>{console.error("Err",e)})})(`${f}/v1/player/${b}/favorites`,v,o)};const $e=t=>-1!==_.findIndex(e=>e.id==t),xe=(e,t)=>(i(15,le="true"==Q&&e.hasAnonymousFunMode),i(14,se="true"==Q&&t),i(13,G=!0),$e(e.id)),Ce=(e,t)=>{e=new URL(f+"/v1/casino/games/"+e);e.searchParams.append("language",y),fetch(e.href).then(e=>e.json()).then(e=>{i(12,o=pe(e[0])),i(10,M=!1),o.launchUrl&&(i(12,o.isFavorite=xe(o,t),o),i(8,S=!1))}).finally(()=>{i(10,M=!1)})},ke=()=>{var e=getComputedStyle(s),e=(getComputedStyle(l),parseInt(e.width.slice(0,-2)),parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width)*e,u=parseInt(o.height),H=d?Math.floor(d)+"px":"1280px",z=u?Math.floor(u)+"px":"720px",Ie()},Fe=e=>{at(E)?Se(te):Se(k)},Se=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:o.subVendor,gameId:o.id,launchUrl:null==(e=o.launchUrl)?void 0:e.href},window.location.href)},Me=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:G},window.location.href),G&&(s&&ke(),window.addEventListener("ModalSize",be,!1))},I=()=>{V&&(at(E)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:V,transition:"Login"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{Z&&(at(E)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:Z,transition:"Register"},window.location.href)),W&&(window.location=W),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Ge=e=>{D&&!e?window.postMessage({type:"OpenShortCashier"},window.location.href):q&&(window.postMessage({type:q},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"}),Y&&!D&&(window.location=Y)};function Le(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!L||R()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Le,!1),document.addEventListener("mozfullscreenchange",Le,!1),document.addEventListener("fullscreenchange",Le,!1),document.addEventListener("MSFullscreenChange",Le,!1));const R=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(L?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(19,L=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(19,L=!0)))},Ee=(setInterval(()=>{i(4,N=K?Di().format(K):Di().format("LTS"))},100),()=>{"true"==ee?ii(f,v).then(e=>{a=e.Guid,e.UserID,i(6,F=!0)},e=>{i(6,F=!1),console.error("err on session",e)}):(a=v,i(6,F=!0))}),_e=e=>{oe=0,B=setInterval(()=>{oe+=1,i(11,re=!0),3<=oe&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(B))},1e3)},Te=e=>{oe<3&&i(11,re=!1),clearInterval(B)},Ie=()=>{var e=L?"100%":H,t=L?"100%":z,n=L||!ce?"none":o.width?Math.floor(o.width)+"px":"1280px",a=L||!ce?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(25,me=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+a),L||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,a=parseInt(getComputedStyle(s).height);p=p||a*Math.max(n,.5),i(16,s.style.height=p+"px",s),i(17,l.style.height=p+"px",l),e&&i(18,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return e=()=>{i(7,ae=(v||b)&&!F)},Pe().$$.before_update.push(e),et(()=>(window.addEventListener("resize",Me,!1),window.addEventListener("message",be,!1),()=>{ve(),window.removeEventListener("resize",Me),window.removeEventListener("message",be)})),n.$$set=e=>{"endpoint"in e&&i(34,f=e.endpoint),"lang"in e&&i(35,y=e.lang),"session"in e&&i(36,v=e.session),"userid"in e&&i(37,b=e.userid),"clientstyling"in e&&i(38,w=e.clientstyling),"clientstylingurl"in e&&i(39,$=e.clientstylingurl),"translationurl"in e&&i(40,x=e.translationurl),"favorites"in e&&i(0,U=e.favorites),"loginurl"in e&&i(41,C=e.loginurl),"registerurl"in e&&i(42,W=e.registerurl),"depositurl"in e&&i(43,Y=e.depositurl),"loginevent"in e&&i(44,V=e.loginevent),"registerevent"in e&&i(45,Z=e.registerevent),"depositevent"in e&&i(46,q=e.depositevent),"shortcashierenabled"in e&&i(47,J=e.shortcashierenabled),"clockformat"in e&&i(48,K=e.clockformat),"haspanicbutton"in e&&i(1,X=e.haspanicbutton),"playforfun"in e&&i(49,Q=e.playforfun),"checksession"in e&&i(50,ee=e.checksession),"integratedgameframedesktop"in e&&i(51,k=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(52,te=e.integratedgameframemobile),"gameid"in e&&i(53,ne=e.gameid)},n.$$.update=()=>{if(16&n.$$.dirty[1]&&y&&(t=y,nt.set(t),i(22,de=at(E))),65536&n.$$.dirty[1]&&(D="true"===J.toLocaleLowerCase()),4194328&n.$$.dirty[1]&&f&&ne&&y&&fe(ne,!0),104&n.$$.dirty[1]&&v&&b&&f&&Ee(),524328&n.$$.dirty[1]&&"false"==ee&&v&&f&&Ee(),512&n.$$.dirty[1]&&x&&fetch(x).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{rc(e,t[e])})}).catch(e=>{console.log(e)}),1&n.$$.dirty[0]&&U&&i(8,S=!0),8&n.$$.dirty[0]|128&n.$$.dirty[1]&&w&&m&&((t=document.createElement("style")).innerHTML=w,m.appendChild(t)),8&n.$$.dirty[0]|256&n.$$.dirty[1]&&$&&m){let t=document.createElement("style");var e;$&&(e=new URL($),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var t;4&n.$$.dirty[0]|8388608&n.$$.dirty[1]&&"true"==ue&&r&&ye(),4&n.$$.dirty[0]&&r&&ye()},[U,X,r,m,N,t,F,ae,S,ie,M,re,o,G,se,le,s,l,c,L,O,j,de,g,h,"",A,E,we,Fe,I,P,Ge,R,f,y,v,b,w,$,x,C,W,Y,V,Z,q,J,K,Q,ee,k,te,ne,ue,()=>we(o.id),()=>we(o.id),()=>Ge(de),()=>{Fe()},function(e){tt[e?"unshift":"push"](()=>{r=e,i(2,r)})},()=>I(),()=>P(),()=>{Fe()},()=>I(),()=>P(),function(e){tt[e?"unshift":"push"](()=>{t=e,i(5,t)})},()=>Ge(de),function(e){tt[e?"unshift":"push"](()=>{h=e,i(24,h)})},function(e){tt[e?"unshift":"push"](()=>{r=e,i(2,r)})},()=>R(),()=>R(),function(e){tt[e?"unshift":"push"](()=>{g=e,i(23,g)})},function(e){tt[e?"unshift":"push"](()=>{l=e,i(17,l)})},function(e){tt[e?"unshift":"push"](()=>{s=e,i(16,s)})},function(e){tt[e?"unshift":"push"](()=>{t=e,i(5,t)})},()=>I(),()=>P(),function(e){tt[e?"unshift":"push"](()=>{h=e,i(24,h)})},()=>R(),()=>R(),function(e){tt[e?"unshift":"push"](()=>{g=e,i(23,g)})},function(e){tt[e?"unshift":"push"](()=>{l=e,i(17,l)})},function(e){tt[e?"unshift":"push"](()=>{s=e,i(16,s)})},()=>I(),()=>P(),function(e){tt[e?"unshift":"push"](()=>{c=e,i(18,c)})},function(e){tt[e?"unshift":"push"](()=>{m=e,i(3,m)})}]}function Tc(e){let n,a,i,r,o,s,l,c,d,u,m,g="true"==e[22]&&Pc(e);return{c(){n=ge("div"),a=ge("div"),i=ge("div"),r=pe(),o=ge("div"),s=pe(),l=ge("casino-categories-slider"),c=pe(),d=ge("casino-page"),(u=ge("div")).innerHTML='<slot name="content"></slot>',m=pe(),g&&g.c(),fe(i,"class","HeaderPlaceholder"),M(i,"height",e[86]+"px"),fe(o,"class","ScrollTop"),S(l,"endpoint",e[79]),S(l,"datasource",e[80]),S(l,"lang",e[81]),S(l,"session",e[85]),S(l,"userid",e[4]),S(l,"sessioncheck","false"),S(l,"actionevent",e[18]),S(l,"filteredcategories",e[9]),S(l,"mostplayed",e[64]),S(l,"lastplayed",e[66]),S(l,"favorites",e[16]),S(l,"activecategory",e[1]),S(l,"translationurl",e[11]),S(l,"clientstyling",e[5]),S(l,"clientstylingurl",e[6]),S(l,"location","secondaryMenu"),S(l,"showsubgroups",e[53]),S(l,"categoriesicon",e[30]),S(l,"lobbyiconimage",e[31]),S(l,"mygamesiconimage",e[32]),fe(u,"slot","je-jackpots-widget"),S(d,"session",e[85]),S(d,"userid",e[4]),S(d,"endpoint",e[79]),S(d,"datasource",e[80]),S(d,"lang",e[81]),S(d,"showgamename",e[21]),S(d,"cmsendpoint",e[2]),S(d,"env",e[3]),S(d,"translationurl",e[11]),S(d,"visiblegames",e[25]),S(d,"playrandomgame",e[23]),S(d,"randomgameslider",e[24]),S(d,"specificcategory",e[67]),S(d,"launchbygamecard",e[68]),S(d,"iconvisible",e[69]),S(d,"iconvisibleonanim",e[70]),S(d,"activecategory",e[1]),S(d,"favorites",e[16]),S(d,"clientstyling",e[5]),S(d,"clientstylingurl",e[6]),S(d,"lobbyid",e[8]),S(d,"haspanicbutton",e[17]),S(d,"livecasino",e[19]),S(d,"currency",e[0]),S(d,"filteredcategories",e[9]),S(d,"gamepagemodalurl",e[28]),S(d,"randombuttonicon",e[72]),S(d,"positioncasinocalendar",e[58]),S(d,"filteredrandomgamecategories",e[73]),S(d,"positionwinnerswidget",e[33]),S(d,"periodrecent",e[38]),S(d,"periodtop",e[39]),S(d,"userroles",e[10]),S(d,"numberusersrecent",e[40]),S(d,"numberuserstop",e[41]),S(d,"amountlimit",e[42]),S(d,"isrecentavailable",e[37]),S(d,"istopavailable",e[36]),S(d,"integratedgameframedesktop",e[26]),S(d,"integratedgameframemobile",e[27]),S(d,"defaultcurrency",e[43]),S(d,"enableautoscroll",e[35]),S(d,"collectionprovidersgamenames",e[57]),S(d,"tabsorder",e[34]),S(d,"positionjackpotbanners",e[44]),S(d,"backgroundsrc",e[49]),S(d,"backgroundsrcmobile",e[50]),S(d,"titlelogopath",e[51]),S(d,"caticon0",e[45]),S(d,"caticon1",e[46]),S(d,"caticon2",e[47]),S(d,"caticon3",e[48]),S(d,"iconlabels",e[52]),S(d,"positioncollections",e[54]),S(d,"type",e[55]),S(d,"titletype",e[56]),S(d,"casinomygames",Dc),S(d,"filterbylogo",e[76]),S(d,"addfilterselector",e[74]),S(d,"addsortingselector",e[75]),S(d,"lastplayedunique",e[63]),S(d,"lastplayedlimit",e[62]),S(d,"lastplayedorder",e[61]),S(d,"mostplayedrounds",e[65]),S(d,"mostplayed",e[64]),S(d,"lastplayed",e[66]),S(d,"lastplayedperiod",e[59]),S(d,"mostplayedperiod",e[60]),S(d,"showsubgroups",e[53]),S(d,"winnersdatasources",e[77]),S(d,"casinogamesgridslider",e[29]),S(d,"positionjelobbywidget",e[71]),fe(a,"class","WidgetsSection"),fe(n,"class","CasinoLobby")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(a,s),de(a,l),de(a,c),de(a,d),de(d,u),de(a,m),g&&g.m(a,null)},p(e,t){16777216&t[2]&&M(i,"height",e[86]+"px"),131072&t[2]&&S(l,"endpoint",e[79]),262144&t[2]&&S(l,"datasource",e[80]),524288&t[2]&&S(l,"lang",e[81]),8388608&t[2]&&S(l,"session",e[85]),16&t[0]&&S(l,"userid",e[4]),262144&t[0]&&S(l,"actionevent",e[18]),512&t[0]&&S(l,"filteredcategories",e[9]),4&t[2]&&S(l,"mostplayed",e[64]),16&t[2]&&S(l,"lastplayed",e[66]),65536&t[0]&&S(l,"favorites",e[16]),2&t[0]&&S(l,"activecategory",e[1]),2048&t[0]&&S(l,"translationurl",e[11]),32&t[0]&&S(l,"clientstyling",e[5]),64&t[0]&&S(l,"clientstylingurl",e[6]),4194304&t[1]&&S(l,"showsubgroups",e[53]),1073741824&t[0]&&S(l,"categoriesicon",e[30]),1&t[1]&&S(l,"lobbyiconimage",e[31]),2&t[1]&&S(l,"mygamesiconimage",e[32]),8388608&t[2]&&S(d,"session",e[85]),16&t[0]&&S(d,"userid",e[4]),131072&t[2]&&S(d,"endpoint",e[79]),262144&t[2]&&S(d,"datasource",e[80]),524288&t[2]&&S(d,"lang",e[81]),2097152&t[0]&&S(d,"showgamename",e[21]),4&t[0]&&S(d,"cmsendpoint",e[2]),8&t[0]&&S(d,"env",e[3]),2048&t[0]&&S(d,"translationurl",e[11]),33554432&t[0]&&S(d,"visiblegames",e[25]),8388608&t[0]&&S(d,"playrandomgame",e[23]),16777216&t[0]&&S(d,"randomgameslider",e[24]),32&t[2]&&S(d,"specificcategory",e[67]),64&t[2]&&S(d,"launchbygamecard",e[68]),128&t[2]&&S(d,"iconvisible",e[69]),256&t[2]&&S(d,"iconvisibleonanim",e[70]),2&t[0]&&S(d,"activecategory",e[1]),65536&t[0]&&S(d,"favorites",e[16]),32&t[0]&&S(d,"clientstyling",e[5]),64&t[0]&&S(d,"clientstylingurl",e[6]),256&t[0]&&S(d,"lobbyid",e[8]),131072&t[0]&&S(d,"haspanicbutton",e[17]),524288&t[0]&&S(d,"livecasino",e[19]),1&t[0]&&S(d,"currency",e[0]),512&t[0]&&S(d,"filteredcategories",e[9]),268435456&t[0]&&S(d,"gamepagemodalurl",e[28]),1024&t[2]&&S(d,"randombuttonicon",e[72]),134217728&t[1]&&S(d,"positioncasinocalendar",e[58]),2048&t[2]&&S(d,"filteredrandomgamecategories",e[73]),4&t[1]&&S(d,"positionwinnerswidget",e[33]),128&t[1]&&S(d,"periodrecent",e[38]),256&t[1]&&S(d,"periodtop",e[39]),1024&t[0]&&S(d,"userroles",e[10]),512&t[1]&&S(d,"numberusersrecent",e[40]),1024&t[1]&&S(d,"numberuserstop",e[41]),2048&t[1]&&S(d,"amountlimit",e[42]),64&t[1]&&S(d,"isrecentavailable",e[37]),32&t[1]&&S(d,"istopavailable",e[36]),67108864&t[0]&&S(d,"integratedgameframedesktop",e[26]),134217728&t[0]&&S(d,"integratedgameframemobile",e[27]),4096&t[1]&&S(d,"defaultcurrency",e[43]),16&t[1]&&S(d,"enableautoscroll",e[35]),67108864&t[1]&&S(d,"collectionprovidersgamenames",e[57]),8&t[1]&&S(d,"tabsorder",e[34]),8192&t[1]&&S(d,"positionjackpotbanners",e[44]),262144&t[1]&&S(d,"backgroundsrc",e[49]),524288&t[1]&&S(d,"backgroundsrcmobile",e[50]),1048576&t[1]&&S(d,"titlelogopath",e[51]),16384&t[1]&&S(d,"caticon0",e[45]),32768&t[1]&&S(d,"caticon1",e[46]),65536&t[1]&&S(d,"caticon2",e[47]),131072&t[1]&&S(d,"caticon3",e[48]),2097152&t[1]&&S(d,"iconlabels",e[52]),8388608&t[1]&&S(d,"positioncollections",e[54]),16777216&t[1]&&S(d,"type",e[55]),33554432&t[1]&&S(d,"titletype",e[56]),16384&t[2]&&S(d,"filterbylogo",e[76]),4096&t[2]&&S(d,"addfilterselector",e[74]),8192&t[2]&&S(d,"addsortingselector",e[75]),2&t[2]&&S(d,"lastplayedunique",e[63]),1&t[2]&&S(d,"lastplayedlimit",e[62]),1073741824&t[1]&&S(d,"lastplayedorder",e[61]),8&t[2]&&S(d,"mostplayedrounds",e[65]),4&t[2]&&S(d,"mostplayed",e[64]),16&t[2]&&S(d,"lastplayed",e[66]),268435456&t[1]&&S(d,"lastplayedperiod",e[59]),536870912&t[1]&&S(d,"mostplayedperiod",e[60]),4194304&t[1]&&S(d,"showsubgroups",e[53]),32768&t[2]&&S(d,"winnersdatasources",e[77]),536870912&t[0]&&S(d,"casinogamesgridslider",e[29]),512&t[2]&&S(d,"positionjelobbywidget",e[71]),"true"==e[22]?g?g.p(e,t):((g=Pc(e)).c(),g.m(a,null)):g&&(g.d(1),g=null)},d(e){e&&me(n),g&&g.d()}}}function Ic(e){let n,a;return{c(){n=ge("p"),a=he(e[84]),M(n,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){4194304&t[2]&&ye(a,e[84])},d(e){e&&me(n)}}}function Pc(e){let n,a;return{c(){n=ge("casino-modal"),S(a=ge("casino-game-page"),"session",e[85]),S(a,"userid",e[4]),S(a,"endpoint",e[79]),S(a,"datasource",e[80]),S(a,"lang",e[81]),S(a,"loginevent",e[12]),S(a,"registerevent",e[13]),S(a,"depositevent",e[14]),S(a,"checksession","false"),S(a,"playforfun",e[20]),S(a,"translationurl",e[11]),S(a,"shortcashierenabled",e[15]),S(a,"favorites",e[16]),S(a,"clientstyling",e[5]),S(a,"clientstylingurl",e[6]),S(a,"clockformat",e[7]),S(a,"haspanicbutton",e[17]),S(a,"currency",e[0]),S(a,"integratedgameframedesktop",e[26]),S(a,"integratedgameframemobile",e[27]),S(n,"session",e[85]),S(n,"userid",e[4]),S(n,"endpoint",e[79]),S(n,"datasource",e[80]),S(n,"lang",e[81]),S(n,"sessioncheck","false"),S(n,"translationurl",e[11]),S(n,"clientstyling",e[5]),S(n,"clientstylingurl",e[6]),S(n,"gamepagemodalurl",e[28]),S(n,"haspanicbutton",e[17]),S(n,"integratedgameframedesktop",e[26]),S(n,"identifier","Lobby")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&S(a,"session",e[85]),16&t[0]&&S(a,"userid",e[4]),131072&t[2]&&S(a,"endpoint",e[79]),262144&t[2]&&S(a,"datasource",e[80]),524288&t[2]&&S(a,"lang",e[81]),4096&t[0]&&S(a,"loginevent",e[12]),8192&t[0]&&S(a,"registerevent",e[13]),16384&t[0]&&S(a,"depositevent",e[14]),1048576&t[0]&&S(a,"playforfun",e[20]),2048&t[0]&&S(a,"translationurl",e[11]),32768&t[0]&&S(a,"shortcashierenabled",e[15]),65536&t[0]&&S(a,"favorites",e[16]),32&t[0]&&S(a,"clientstyling",e[5]),64&t[0]&&S(a,"clientstylingurl",e[6]),128&t[0]&&S(a,"clockformat",e[7]),131072&t[0]&&S(a,"haspanicbutton",e[17]),1&t[0]&&S(a,"currency",e[0]),67108864&t[0]&&S(a,"integratedgameframedesktop",e[26]),134217728&t[0]&&S(a,"integratedgameframemobile",e[27]),8388608&t[2]&&S(n,"session",e[85]),16&t[0]&&S(n,"userid",e[4]),131072&t[2]&&S(n,"endpoint",e[79]),262144&t[2]&&S(n,"datasource",e[80]),524288&t[2]&&S(n,"lang",e[81]),2048&t[0]&&S(n,"translationurl",e[11]),32&t[0]&&S(n,"clientstyling",e[5]),64&t[0]&&S(n,"clientstylingurl",e[6]),268435456&t[0]&&S(n,"gamepagemodalurl",e[28]),131072&t[0]&&S(n,"haspanicbutton",e[17]),67108864&t[0]&&S(n,"integratedgameframedesktop",e[26])},d(e){e&&me(n)}}}function Rc(n){let a,i;function r(e){return e[83]?Ic:Tc}let o=r(n),s=o(n);return{c(){a=ge("div"),s.c(),this.c=G,fe(a,"class",i=n[82]?"DisplayNone":"")},m(e,t){ue(e,a,t),s.m(a,null),n[94](a)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null))),1048576&t[2]&&i!==(i=e[82]?"DisplayNone":"")&&fe(a,"class",i)},i:G,o:G,d(e){e&&me(a),s.d(),n[94](null)}}}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoGamePageContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF))}p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},_c,Ec,n,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,translationurl:40,favorites:0,loginurl:41,registerurl:42,depositurl:43,loginevent:44,registerevent:45,depositevent:46,shortcashierenabled:47,clockformat:48,haspanicbutton:1,playforfun:49,checksession:50,integratedgameframedesktop:51,integratedgameframemobile:52,gameid:53},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),m()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),m()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),m()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),m()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),m()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[47]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get clockformat(){return this.$$.ctx[48]}set clockformat(e){this.$$set({clockformat:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get playforfun(){return this.$$.ctx[49]}set playforfun(e){this.$$set({playforfun:e}),m()}get checksession(){return this.$$.ctx[50]}set checksession(e){this.$$set({checksession:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[51]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[52]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gameid(){return this.$$.ctx[53]}set gameid(e){this.$$set({gameid:e}),m()}});let Dc="false";function Ac(t,e,n){let a,i,r,o,{endpoint:s=""}=e,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=e,{env:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{session:m=""}=e,{userid:g=""}=e,{opsession:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e,{clockformat:y=""}=e,{lobbyid:v=""}=e,{currency:b=""}=e,{filteredcategories:w=""}=e,{userroles:$=""}=e,{translationurl:x=""}=e,{loginevent:D=""}=e,{registerevent:A=""}=e,{depositevent:N=""}=e,{shortcashierenabled:B=""}=e,{favorites:C=""}=e,{desktopoffset:k="0"}=e,{mobileoffset:F="0"}=e,{haspanicbutton:O="false"}=e,{activecategory:S="LOBBY"}=e,{actionevent:j="CategoryChange"}=e,{livecasino:H="false"}=e,{playforfun:z="true"}=e,{showgamename:U="false"}=e,{gamemodal:W="true"}=e,{playrandomgame:Y="false"}=e,{randomgameslider:V="false"}=e,{visiblegames:Z="10"}=e,{integratedgameframedesktop:q="false"}=e,{integratedgameframemobile:J="false"}=e,{gamepagemodalurl:K="false"}=e,{casinogamesgridslider:X="false"}=e,{categoriesicon:Q="false"}=e,{lobbyiconimage:ee=""}=e,{mygamesiconimage:te=""}=e,{positionwinnerswidget:ne=""}=e,{tabsorder:ae=""}=e,{enableautoscroll:ie=""}=e,{istopavailable:re=""}=e,{isrecentavailable:oe=""}=e,{periodrecent:se=""}=e,{periodtop:le=""}=e,{numberusersrecent:ce=""}=e,{numberuserstop:de=""}=e,{amountlimit:ue=""}=e,{defaultcurrency:me=""}=e,{positionjackpotbanners:ge=""}=e,{caticon0:he=""}=e,{caticon1:pe=""}=e,{caticon2:fe=""}=e,{caticon3:ye=""}=e,{backgroundsrc:ve=""}=e,{backgroundsrcmobile:be=""}=e,{titlelogopath:we=""}=e,{iconlabels:$e=""}=e,{showsubgroups:xe="false"}=e,{positioncollections:Ce=""}=e,{type:ke=""}=e,{titletype:Fe=""}=e,{collectionprovidersgamenames:Se=""}=e,{positioncasinocalendar:Me=""}=e,{lastplayedperiod:Ge="Last30Days"}=e,{mostplayedperiod:Le="Last30Days"}=e,{lastplayedorder:Ee=""}=e,{lastplayedlimit:_e=""}=e,{lastplayedunique:Te="true"}=e,{mostplayed:M=""}=e,{mostplayedrounds:Ie=""}=e,{lastplayed:G="false"}=e,{specificcategory:Pe=""}=e,{launchbygamecard:Re=""}=e,{iconvisible:De=""}=e,{iconvisibleonanim:Ae=""}=e,{positionjelobbywidget:Ne=""}=e,{randombuttonicon:Be=""}=e,{filteredrandomgamecategories:Oe=""}=e,{addfilterselector:je="false"}=e,{addsortingselector:He="false"}=e,{filterbylogo:ze="false"}=e,{winnersdatasources:Ue=""}=e,L=!1,E=!1,_="Loading, please wait ...",T="",I=window.navigator.userAgent,P=!1,R=0,We=!1;var Ye,Ve;({withLocale:Ye,translations:Ve}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Sa.set(Ve),nt.set(Ye))});const Ze=e=>{if(e.data)switch(e.data.type){case"searchCancelled":P=!0;break;case"WidgetTopReference":(We=e.data.scrollTop)&&(R||n(86,R="PC"===it(I)?parseInt(k):parseInt(F)),P||window.scrollTo({top:R}),P=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:e.data.gameId,isMobile:at(I),gamefunmode:e.data.gamefunmode,gamepagemodalurl:e.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":n(85,T=e.data.session),e.data.userID;break;case"CategoryChange":n(1,S=e.data.itemId)}};return et(()=>(window.addEventListener("message",Ze,!1),n(86,R="PC"===it(I)?parseInt(k):parseInt(F)),()=>{window.removeEventListener("message",Ze)})),t.$$set=e=>{"endpoint"in e&&n(87,s=e.endpoint),"cmsendpoint"in e&&n(2,l=e.cmsendpoint),"env"in e&&n(3,c=e.env),"datasource"in e&&n(88,d=e.datasource),"lang"in e&&n(89,u=e.lang),"session"in e&&n(90,m=e.session),"userid"in e&&n(4,g=e.userid),"opsession"in e&&n(91,h=e.opsession),"clientstyling"in e&&n(5,p=e.clientstyling),"clientstylingurl"in e&&n(6,f=e.clientstylingurl),"clockformat"in e&&n(7,y=e.clockformat),"lobbyid"in e&&n(8,v=e.lobbyid),"currency"in e&&n(0,b=e.currency),"filteredcategories"in e&&n(9,w=e.filteredcategories),"userroles"in e&&n(10,$=e.userroles),"translationurl"in e&&n(11,x=e.translationurl),"loginevent"in e&&n(12,D=e.loginevent),"registerevent"in e&&n(13,A=e.registerevent),"depositevent"in e&&n(14,N=e.depositevent),"shortcashierenabled"in e&&n(15,B=e.shortcashierenabled),"favorites"in e&&n(16,C=e.favorites),"desktopoffset"in e&&n(92,k=e.desktopoffset),"mobileoffset"in e&&n(93,F=e.mobileoffset),"haspanicbutton"in e&&n(17,O=e.haspanicbutton),"activecategory"in e&&n(1,S=e.activecategory),"actionevent"in e&&n(18,j=e.actionevent),"livecasino"in e&&n(19,H=e.livecasino),"playforfun"in e&&n(20,z=e.playforfun),"showgamename"in e&&n(21,U=e.showgamename),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,Y=e.playrandomgame),"randomgameslider"in e&&n(24,V=e.randomgameslider),"visiblegames"in e&&n(25,Z=e.visiblegames),"integratedgameframedesktop"in e&&n(26,q=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(27,J=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(28,K=e.gamepagemodalurl),"casinogamesgridslider"in e&&n(29,X=e.casinogamesgridslider),"categoriesicon"in e&&n(30,Q=e.categoriesicon),"lobbyiconimage"in e&&n(31,ee=e.lobbyiconimage),"mygamesiconimage"in e&&n(32,te=e.mygamesiconimage),"positionwinnerswidget"in e&&n(33,ne=e.positionwinnerswidget),"tabsorder"in e&&n(34,ae=e.tabsorder),"enableautoscroll"in e&&n(35,ie=e.enableautoscroll),"istopavailable"in e&&n(36,re=e.istopavailable),"isrecentavailable"in e&&n(37,oe=e.isrecentavailable),"periodrecent"in e&&n(38,se=e.periodrecent),"periodtop"in e&&n(39,le=e.periodtop),"numberusersrecent"in e&&n(40,ce=e.numberusersrecent),"numberuserstop"in e&&n(41,de=e.numberuserstop),"amountlimit"in e&&n(42,ue=e.amountlimit),"defaultcurrency"in e&&n(43,me=e.defaultcurrency),"positionjackpotbanners"in e&&n(44,ge=e.positionjackpotbanners),"caticon0"in e&&n(45,he=e.caticon0),"caticon1"in e&&n(46,pe=e.caticon1),"caticon2"in e&&n(47,fe=e.caticon2),"caticon3"in e&&n(48,ye=e.caticon3),"backgroundsrc"in e&&n(49,ve=e.backgroundsrc),"backgroundsrcmobile"in e&&n(50,be=e.backgroundsrcmobile),"titlelogopath"in e&&n(51,we=e.titlelogopath),"iconlabels"in e&&n(52,$e=e.iconlabels),"showsubgroups"in e&&n(53,xe=e.showsubgroups),"positioncollections"in e&&n(54,Ce=e.positioncollections),"type"in e&&n(55,ke=e.type),"titletype"in e&&n(56,Fe=e.titletype),"collectionprovidersgamenames"in e&&n(57,Se=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&n(58,Me=e.positioncasinocalendar),"lastplayedperiod"in e&&n(59,Ge=e.lastplayedperiod),"mostplayedperiod"in e&&n(60,Le=e.mostplayedperiod),"lastplayedorder"in e&&n(61,Ee=e.lastplayedorder),"lastplayedlimit"in e&&n(62,_e=e.lastplayedlimit),"lastplayedunique"in e&&n(63,Te=e.lastplayedunique),"mostplayed"in e&&n(64,M=e.mostplayed),"mostplayedrounds"in e&&n(65,Ie=e.mostplayedrounds),"lastplayed"in e&&n(66,G=e.lastplayed),"specificcategory"in e&&n(67,Pe=e.specificcategory),"launchbygamecard"in e&&n(68,Re=e.launchbygamecard),"iconvisible"in e&&n(69,De=e.iconvisible),"iconvisibleonanim"in e&&n(70,Ae=e.iconvisibleonanim),"positionjelobbywidget"in e&&n(71,Ne=e.positionjelobbywidget),"randombuttonicon"in e&&n(72,Be=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(73,Oe=e.filteredrandomgamecategories),"addfilterselector"in e&&n(74,je=e.addfilterselector),"addsortingselector"in e&&n(75,He=e.addsortingselector),"filterbylogo"in e&&n(76,ze=e.filterbylogo),"winnersdatasources"in e&&n(77,Ue=e.winnersdatasources)},t.$$.update=()=>{if(134217728&t.$$.dirty[2]&&u&&ri(u),16&t.$$.dirty[0]|301989888&t.$$.dirty[2]&&m&&g&&s&&ii(s,m).then(e=>{n(85,T=e.Guid),e.UserID,n(0,b=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),65536&t.$$.dirty[0]|234881044&t.$$.dirty[2]&&s&&d&&u&&M&&G&&C&&(s||(n(84,_="Endpoint is missing! Please provide a valid endpointURL."),n(83,E=!0),console.error(_)),d||(n(84,_="Datasource is missing! Please provide a valid datasource."),n(83,E=!0),console.error(_)),(!u||u.length<2)&&(n(84,_="Language is missing! Please provide a valid language (alpha2code)"),n(83,E=!0),console.error(_)),ri(u),n(79,a=s),n(80,i=d),n(81,r=u),n(83,E=!1)),536870912&t.$$.dirty[2]&&h&&n(85,T=h),32&t.$$.dirty[0]|65536&t.$$.dirty[2]&&p&&o&&((e=document.createElement("style")).innerHTML=p,o.appendChild(e)),64&t.$$.dirty[0]|65536&t.$$.dirty[2]&&f&&o){n(82,L=!0);let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(82,L=!1)},500))})}var e},[b,S,l,c,g,p,f,y,v,w,$,x,D,A,N,B,C,O,j,H,z,U,W,Y,V,Z,q,J,K,X,Q,ee,te,ne,ae,ie,re,oe,se,le,ce,de,ue,me,ge,he,pe,fe,ye,ve,be,we,$e,xe,Ce,ke,Fe,Se,Me,Ge,Le,Ee,_e,Te,M,Ie,G,Pe,Re,De,Ae,Ne,Be,Oe,je,He,ze,Ue,o,a,i,r,L,E,_,T,R,s,d,u,m,h,k,F,function(e){tt[e?"unshift":"push"](()=>{o=e,n(78,o)})}]}class Nc extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ac,Rc,n,{endpoint:87,cmsendpoint:2,env:3,datasource:88,lang:89,session:90,userid:4,opsession:91,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:92,mobileoffset:93,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,positioncollections:54,type:55,titletype:56,collectionprovidersgamenames:57,positioncasinocalendar:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayed:64,mostplayedrounds:65,lastplayed:66,specificcategory:67,launchbygamecard:68,iconvisible:69,iconvisibleonanim:70,positionjelobbywidget:71,randombuttonicon:72,filteredrandomgamecategories:73,addfilterselector:74,addsortingselector:75,filterbylogo:76,winnersdatasources:77},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","cmsendpoint","env","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","userroles","translationurl","loginevent","registerevent","depositevent","shortcashierenabled","favorites","desktopoffset","mobileoffset","haspanicbutton","activecategory","actionevent","livecasino","playforfun","showgamename","gamemodal","playrandomgame","randomgameslider","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","casinogamesgridslider","categoriesicon","lobbyiconimage","mygamesiconimage","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","positioncasinocalendar","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayed","mostplayedrounds","lastplayed","specificcategory","launchbygamecard","iconvisible","iconvisibleonanim","positionjelobbywidget","randombuttonicon","filteredrandomgamecategories","addfilterselector","addsortingselector","filterbylogo","winnersdatasources"]}get endpoint(){return this.$$.ctx[87]}set endpoint(e){this.$$set({endpoint:e}),m()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[3]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[88]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[89]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[90]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),m()}get opsession(){return this.$$.ctx[91]}set opsession(e){this.$$set({opsession:e}),m()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get clockformat(){return this.$$.ctx[7]}set clockformat(e){this.$$set({clockformat:e}),m()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),m()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get userroles(){return this.$$.ctx[10]}set userroles(e){this.$$set({userroles:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get loginevent(){return this.$$.ctx[12]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[13]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[14]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),m()}get desktopoffset(){return this.$$.ctx[92]}set desktopoffset(e){this.$$set({desktopoffset:e}),m()}get mobileoffset(){return this.$$.ctx[93]}set mobileoffset(e){this.$$set({mobileoffset:e}),m()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[18]}set actionevent(e){this.$$set({actionevent:e}),m()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),m()}get playforfun(){return this.$$.ctx[20]}set playforfun(e){this.$$set({playforfun:e}),m()}get showgamename(){return this.$$.ctx[21]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),m()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(e){this.$$set({randomgameslider:e}),m()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[39]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[45]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[46]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[47]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[48]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positioncollections(){return this.$$.ctx[54]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[55]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[56]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[57]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get positioncasinocalendar(){return this.$$.ctx[58]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayed(){return this.$$.ctx[64]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get mostplayedrounds(){return this.$$.ctx[65]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get lastplayed(){return this.$$.ctx[66]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get specificcategory(){return this.$$.ctx[67]}set specificcategory(e){this.$$set({specificcategory:e}),m()}get launchbygamecard(){return this.$$.ctx[68]}set launchbygamecard(e){this.$$set({launchbygamecard:e}),m()}get iconvisible(){return this.$$.ctx[69]}set iconvisible(e){this.$$set({iconvisible:e}),m()}get iconvisibleonanim(){return this.$$.ctx[70]}set iconvisibleonanim(e){this.$$set({iconvisibleonanim:e}),m()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[73]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get addfilterselector(){return this.$$.ctx[74]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[75]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[76]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get winnersdatasources(){return this.$$.ctx[77]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Nc),Nc});
61
+ `},X,f,v,b,w,a,x,C,k,F,G,S,L,M,I,E,T,he,fe,function(e){tt[e?"unshift":"push"](()=>{s=e,o(18,s)})},()=>ve(i),function(e){tt[e?"unshift":"push"](()=>{h=e,o(15,h)})},()=>be(i),()=>be(i),function(e){tt[e?"unshift":"push"](()=>{l=e,o(12,l)})}]}function Xs(e,t,n){e=e.slice();return e[89]=t[n],e[91]=n,e}function Qs(e,t,n){e=e.slice();return e[89]=t[n],e[92]=t,e[91]=n,e}function el(e,t,n){e=e.slice();return e[89]=t[n],e[91]=n,e}function tl(e){let n;function a(e){return e[26]?rl:e[37]?il:void 0}let i=a(e),r=i&&i(e);return{c(){n=ge("div"),r&&r.c()},m(e,t){ue(e,n,t),r&&r.m(n,null)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r&&r.d(1),(r=i&&i(e))&&(r.c(),r.m(n,null)))},d(e){e&&me(n),r&&r.d()}}}function nl(e){let n,a,i;function r(e){return e[30]?Il:e[27].length?Ll:Ml}let o=r(e),s=o(e);function l(e){return e[27]?Tl:El}let c=l(e),d=c(e);return{c(){n=ge("div"),a=ge("div"),s.c(),i=he(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(at(e[42])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),s.m(a,null),de(n,i),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(a,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 al(e){let n;function a(e){return e[32]?Dl:Pl}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i!==(i=a(e))&&(r.d(1),r=i(e))&&(r.c(),r.m(n.parentNode,n))},d(e){r.d(e),e&&me(n)}}}function il(n){let a,i,r,o,s="true"!==n[18]&&ol(n);function l(e){return e[23]&&!e[34]?cl:e[40]?ll:sl}let c=l(n),d=c(n);return{c(){a=ge("div"),s&&s.c(),i=he(),r=ge("ul"),d.c(),fe(r,"class",o=(0!=n[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer")},m(e,t){ue(e,a,t),s&&s.m(a,null),de(a,i),de(a,r),d.m(r,null),n[56](r)},p(e,t){"true"!==e[18]?s?s.p(e,t):((s=ol(e)).c(),s.m(a,i)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null))),512&t[1]&&o!==(o=(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(r,"class",o)},d(e){e&&me(a),s&&s.d(),d.d(),n[56](null)}}}function rl(e){let n,a,i="true"!==e[18]&&bl(e);function r(e){return e[23]&&!e[34]?Gl:0!==e[27].length?Fl:kl}let o=r(e),s=o(e);return{c(){n=ge("div"),i&&i.c(),a=he(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,a),s.m(n,null)},p(e,t){"true"!==e[18]?i?i.p(e,t):((i=bl(e)).c(),i.m(n,a)):i&&(i.d(1),i=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),i&&i.d(),s.d()}}}function ol(n){let a,i,r,o,s,l,c,d,u=n[41]("favorites")+"",m=n[40].items.length+"";return{c(){a=ge("div"),i=ge("h3"),r=pe(u),o=he(),s=ge("span"),l=pe("("),c=pe(m),d=pe(")"),fe(s,"class","CategoryFavName"),fe(i,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(s,l),de(s,c),de(s,d),n[55](i)},p(e,t){1024&t[1]&&u!==(u=e[41]("favorites")+"")&&ye(r,u),512&t[1]&&m!==(m=e[40].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[55](null)}}}function sl(e){let n,a,i=e[41]("waiting")+"";return{c(){n=ge("p"),a=pe(i)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("waiting")+"")&&ye(a,i)},d(e){e&&me(n)}}}function ll(t){let a,i=t[40].items,r=[];for(let e=0;e<i.length;e+=1)r[e]=vl(Xs(t,i,e));let o=null;return i.length||(o=dl(t)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();a=c(),o&&o.c()},m(t,n){for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,n);ue(t,a,n),o&&o.m(t,n)},p(t,n){if(262121&n[0]|8128&n[1]){let e;for(i=t[40].items,e=0;e<i.length;e+=1){const o=Xs(t,i,e);r[e]?r[e].p(o,n):(r[e]=vl(o),r[e].c(),r[e].m(a.parentNode,a))}for(;e<r.length;e+=1)r[e].d(1);r.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=dl(t)).c(),o.m(a.parentNode,a))}},d(e){j(r,e),e&&me(a),o&&o.d(e)}}}function cl(e){let n;return{c(){fe(n=ge("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function dl(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h,f=e[41]("noFavoritesTitle")+"",t=(v=e,at(v[42])?ml:ul),y=t(e);var v;return{c(){n=ge("p"),a=H("svg"),i=H("rect"),r=H("rect"),o=H("circle"),s=H("path"),l=H("path"),c=H("path"),d=H("path"),u=he(),m=ge("span"),g=pe(f),p=he(),y.c(),h=he(),fe(i,"x","1"),fe(i,"y","18.053"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emw--color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(r,"x","106.737"),fe(r,"y","56.737"),fe(r,"width","90.263"),fe(r,"height","90.263"),fe(r,"rx","12"),fe(r,"stroke","var(--emw--color-gray-150, #828282)"),fe(r,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emw-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(a,"width","198"),fe(a,"height","148"),fe(a,"viewBox","0 0 198 148"),fe(a,"fill","none"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(at(e[42])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(a,s),de(a,l),de(a,c),de(a,d),de(n,u),de(n,m),de(m,g),de(n,p),y.m(n,null),de(n,h)},p(e,t){1024&t[1]&&f!==(f=e[41]("noFavoritesTitle")+"")&&ye(g,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function ul(e){let n,a,i=e[41]("noFavorites")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noFavorites")+"")&&ye(a,i)},d(e){e&&me(n)}}}function ml(e){let n,a,i=e[41]("noFavoritesMobile")+"";return{c(){n=ge("span"),a=pe(i),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noFavoritesMobile")+"")&&ye(a,i)},d(e){e&&me(n)}}}function gl(e){let n,a=e[89].gameModel.isFavorite&&pl(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[89].gameModel.isFavorite?a?a.p(e,t):((a=pl(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function pl(e){let n,a=function(e){let n,a,i;function r(e,t){return 512&t[1]&&(a=null),(n=null==n?!!at(e[42]):n)?fl:(a=null==a?!!e[89].gameModel.platform.includes("PC"):a)?hl:void 0}let o=r(e,[-1,-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,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(i.parentNode,i)))},d(e){s&&s.d(e),e&&me(i)}}}(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function hl(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h,f;return{c(){G(n=ge("casino-game-thumbnail-nd"),"class",a=""+(Al+(e[89].cellSize||"1x1"))),G(n,"part",i=""+(Al+(e[89].cellSize||"1x1"))),G(n,"session",e[6]),G(n,"userid",e[7]),G(n,"lang",e[5]),G(n,"translationurl",e[11]),G(n,"favorites",e[8]),G(n,"categoryid",e[0]),G(n,"gamethumbnail",r=e[89].gameModel.thumbnail),G(n,"gamename",o=e[89].gameModel.name),G(n,"gamevendor",s=e[89].gameModel.vendor.logo),G(n,"gamelaunchurl",l=e[89].launchUrl),G(n,"gameisnew",c=e[89].gameModel.isNew),G(n,"gametag",d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags)),G(n,"gamecellsize",u=e[89].cellSize),G(n,"gameid",m=e[89].gameModel.id),G(n,"gamefunmode",g=e[89].gameModel.hasFunMode),G(n,"showgamename",e[13]),G(n,"gamefavorite",p=e[89].gameModel.isFavorite),G(n,"showfavoredcategory",e[37]),G(n,"connectlive",h=1==e[38][e[89].id]?"connect":"disconnect"),G(n,"visibilityconnect",e[39]),G(n,"currency",e[12]),G(n,"livelobbyendpoint",f=e[89].gameModel.details?e[89].gameModel.launchUrl:""),G(n,"clientstyling",e[9]),G(n,"clientstylingurl",e[10]),G(n,"endpoint",e[3]),G(n,"livecasino",e[14]),G(n,"gamepagemodalurl",e[15]),G(n,"integratedgameframedesktop",e[16]),G(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(Al+(e[89].cellSize||"1x1")))&&G(n,"class",a),512&t[1]&&i!==(i=""+(Al+(e[89].cellSize||"1x1")))&&G(n,"part",i),64&t[0]&&G(n,"session",e[6]),128&t[0]&&G(n,"userid",e[7]),32&t[0]&&G(n,"lang",e[5]),2048&t[0]&&G(n,"translationurl",e[11]),256&t[0]&&G(n,"favorites",e[8]),1&t[0]&&G(n,"categoryid",e[0]),512&t[1]&&r!==(r=e[89].gameModel.thumbnail)&&G(n,"gamethumbnail",r),512&t[1]&&o!==(o=e[89].gameModel.name)&&G(n,"gamename",o),512&t[1]&&s!==(s=e[89].gameModel.vendor.logo)&&G(n,"gamevendor",s),512&t[1]&&l!==(l=e[89].launchUrl)&&G(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[89].gameModel.isNew)&&G(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags))&&G(n,"gametag",d),512&t[1]&&u!==(u=e[89].cellSize)&&G(n,"gamecellsize",u),512&t[1]&&m!==(m=e[89].gameModel.id)&&G(n,"gameid",m),512&t[1]&&g!==(g=e[89].gameModel.hasFunMode)&&G(n,"gamefunmode",g),8192&t[0]&&G(n,"showgamename",e[13]),512&t[1]&&p!==(p=e[89].gameModel.isFavorite)&&G(n,"gamefavorite",p),64&t[1]&&G(n,"showfavoredcategory",e[37]),640&t[1]&&h!==(h=1==e[38][e[89].id]?"connect":"disconnect")&&G(n,"connectlive",h),256&t[1]&&G(n,"visibilityconnect",e[39]),4096&t[0]&&G(n,"currency",e[12]),512&t[1]&&f!==(f=e[89].gameModel.details?e[89].gameModel.launchUrl:"")&&G(n,"livelobbyendpoint",f),512&t[0]&&G(n,"clientstyling",e[9]),1024&t[0]&&G(n,"clientstylingurl",e[10]),8&t[0]&&G(n,"endpoint",e[3]),16384&t[0]&&G(n,"livecasino",e[14]),32768&t[0]&&G(n,"gamepagemodalurl",e[15]),65536&t[0]&&G(n,"integratedgameframedesktop",e[16]),131072&t[0]&&G(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function fl(e){let n,a=e[89].gameModel.platform.includes("iPad")||e[89].gameModel.platform.includes("iPhone")||e[89].gameModel.platform.includes("Android"),i=a&&yl(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){(a=512&t[1]?e[89].gameModel.platform.includes("iPad")||e[89].gameModel.platform.includes("iPhone")||e[89].gameModel.platform.includes("Android"):a)?i?i.p(e,t):((i=yl(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&me(n)}}}function yl(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h,f;return{c(){G(n=ge("casino-game-thumbnail-nd"),"class",a=""+(Al+(e[89].cellSize||"1x1"))),G(n,"part",i=""+(Al+(e[89].cellSize||"1x1"))),G(n,"session",e[6]),G(n,"userid",e[7]),G(n,"lang",e[5]),G(n,"favorites",e[8]),G(n,"categoryid",e[0]),G(n,"gamethumbnail",r=e[89].gameModel.thumbnail),G(n,"gamename",o=e[89].gameModel.name),G(n,"gamevendor",s=e[89].gameModel.vendor.logo),G(n,"gamelaunchurl",l=e[89].launchUrl),G(n,"gameisnew",c=e[89].gameModel.isNew),G(n,"gametag",d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags)),G(n,"gamecellsize",u=e[89].cellSize),G(n,"gameid",m=e[89].gameModel.id),G(n,"gamefunmode",g=e[89].gameModel.hasFunMode),G(n,"showgamename",e[13]),G(n,"gamefavorite",p=e[89].gameModel.isFavorite),G(n,"showfavoredcategory",e[37]),G(n,"connectlive",h=1==e[38][e[89].id]?"connect":"disconnect"),G(n,"visibilityconnect",e[39]),G(n,"translationurl",e[11]),G(n,"currency",e[12]),G(n,"livelobbyendpoint",f=e[89].gameModel.details?e[89].gameModel.launchUrl:""),G(n,"clientstyling",e[9]),G(n,"clientstylingurl",e[10]),G(n,"endpoint",e[3]),G(n,"livecasino",e[14]),G(n,"gamepagemodalurl",e[15]),G(n,"integratedgameframedesktop",e[16]),G(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(Al+(e[89].cellSize||"1x1")))&&G(n,"class",a),512&t[1]&&i!==(i=""+(Al+(e[89].cellSize||"1x1")))&&G(n,"part",i),64&t[0]&&G(n,"session",e[6]),128&t[0]&&G(n,"userid",e[7]),32&t[0]&&G(n,"lang",e[5]),256&t[0]&&G(n,"favorites",e[8]),1&t[0]&&G(n,"categoryid",e[0]),512&t[1]&&r!==(r=e[89].gameModel.thumbnail)&&G(n,"gamethumbnail",r),512&t[1]&&o!==(o=e[89].gameModel.name)&&G(n,"gamename",o),512&t[1]&&s!==(s=e[89].gameModel.vendor.logo)&&G(n,"gamevendor",s),512&t[1]&&l!==(l=e[89].launchUrl)&&G(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[89].gameModel.isNew)&&G(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[89].gameModel.advancedTags?.length&&e[43](e[89].gameModel.advancedTags))&&G(n,"gametag",d),512&t[1]&&u!==(u=e[89].cellSize)&&G(n,"gamecellsize",u),512&t[1]&&m!==(m=e[89].gameModel.id)&&G(n,"gameid",m),512&t[1]&&g!==(g=e[89].gameModel.hasFunMode)&&G(n,"gamefunmode",g),8192&t[0]&&G(n,"showgamename",e[13]),512&t[1]&&p!==(p=e[89].gameModel.isFavorite)&&G(n,"gamefavorite",p),64&t[1]&&G(n,"showfavoredcategory",e[37]),640&t[1]&&h!==(h=1==e[38][e[89].id]?"connect":"disconnect")&&G(n,"connectlive",h),256&t[1]&&G(n,"visibilityconnect",e[39]),2048&t[0]&&G(n,"translationurl",e[11]),4096&t[0]&&G(n,"currency",e[12]),512&t[1]&&f!==(f=e[89].gameModel.details?e[89].gameModel.launchUrl:"")&&G(n,"livelobbyendpoint",f),512&t[0]&&G(n,"clientstyling",e[9]),1024&t[0]&&G(n,"clientstylingurl",e[10]),8&t[0]&&G(n,"endpoint",e[3]),16384&t[0]&&G(n,"livecasino",e[14]),32768&t[0]&&G(n,"gamepagemodalurl",e[15]),65536&t[0]&&G(n,"integratedgameframedesktop",e[16]),131072&t[0]&&G(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function vl(e){let n,a=e[89].gameModel&&gl(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[89].gameModel?a?a.p(e,t):((a=gl(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function bl(n){let a,i,r,o,s,l,c=n[26].name+"";function d(e){return e[28]?xl:wl}let u=d(n),m=u(n);return{c(){a=ge("div"),(i=ge("span")).innerHTML='<div class="CategoryIconAnimation"></div> \n <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',r=he(),o=ge("h3"),s=pe(c),l=he(),m.c(),fe(i,"class","CategoryIcon"),fe(o,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,i),de(a,r),de(a,o),de(o,s),n[51](o),de(a,l),m.m(a,null)},p(e,t){67108864&t[0]&&c!==(c=e[26].name+"")&&ye(s,c),u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(a,null)))},d(e){e&&me(a),n[51](null),m.d()}}}function wl(e){let n,a,i,r="true"==e[1]&&$l(e),o="true"==e[2]&&Cl(e);return{c(){n=ge("div"),r&&r.c(),a=he(),o&&o.c(),fe(n,"class",i="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),o&&o.m(n,null)},p(e,t){"true"==e[1]?r?r.p(e,t):((r=$l(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),"true"==e[2]?o?o.p(e,t):((o=Cl(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&i!==(i="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",i)},d(e){e&&me(n),r&&r.d(),o&&o.d()}}}function xl(n){let a,i,r,o,s,l,c,d,u=n[41]("viewAll")+"",m=n[26].games.total+"";return{c(){a=ge("a"),i=ge("span"),r=pe(u),o=pe(" ("),s=pe(m),l=pe(")"),fe(i,"class","CategoryLoadMore"),fe(a,"class","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(i,l),c||(d=U(a,"click",n[52]),c=!0)},p(e,t){1024&t[1]&&u!==(u=e[41]("viewAll")+"")&&ye(r,u),67108864&t[0]&&m!==(m=e[26].games.total+"")&&ye(s,m)},d(e){e&&me(a),c=!1,d()}}}function $l(e){let n;return{c(){G(n=ge("casino-filter"),"clientstylingurl",e[10]),G(n,"clientstyling",e[9]),G(n,"endpoint",e[3]),G(n,"datasource",e[4]),G(n,"lang",e[5]),G(n,"categoryid",e[0]),G(n,"addfilterselector",e[1]),G(n,"addsortingselector",e[2]),G(n,"filterbylogo",e[19])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&G(n,"clientstylingurl",e[10]),512&t[0]&&G(n,"clientstyling",e[9]),8&t[0]&&G(n,"endpoint",e[3]),16&t[0]&&G(n,"datasource",e[4]),32&t[0]&&G(n,"lang",e[5]),1&t[0]&&G(n,"categoryid",e[0]),2&t[0]&&G(n,"addfilterselector",e[1]),4&t[0]&&G(n,"addsortingselector",e[2]),524288&t[0]&&G(n,"filterbylogo",e[19])},d(e){e&&me(n)}}}function Cl(e){let n;return{c(){G(n=ge("casino-sort"),"clientstylingurl",e[10]),G(n,"clientstyling",e[9]),G(n,"lang",e[5]),G(n,"categoryid",e[0]),G(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&G(n,"clientstylingurl",e[10]),512&t[0]&&G(n,"clientstyling",e[9]),32&t[0]&&G(n,"lang",e[5]),1&t[0]&&G(n,"categoryid",e[0]),4&t[0]&&G(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function kl(e){let n,a,i=e[41]("noResults")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noResults")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Fl(n){let i,e,r=n[27],o=[];for(let e=0;e<r.length;e+=1)o[e]=Sl(Qs(n,r,e));return{c(){i=ge("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(i,"class",e=(0===n[40].items.length&&n[37]?"":"CasinoGamesGrid")+" "+(n[25]&&"true"==n[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,i,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null);n[54](i)},p(t,n){if(139722729&n[0]|4480&n[1]){let e;for(r=t[27],e=0;e<r.length;e+=1){var a=Qs(t,r,e);o[e]?o[e].p(a,n):(o[e]=Sl(a),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}34603008&n[0]|576&n[1]&&e!==(e=(0===t[40].items.length&&t[37]?"":"CasinoGamesGrid")+" "+(t[25]&&"true"==t[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(i,"class",e)},d(e){e&&me(i),j(o,e),n[54](null)}}}function Gl(e){let n;return{c(){fe(n=ge("div"),"class","DualRing")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Sl(e){let n,a=function(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v=n[91];const b=()=>n[53](a,v),w=()=>n[53](null,v);return{c(){G(a=ge("casino-game-thumbnail-nd"),"session",n[6]),G(a,"userid",n[7]),G(a,"lang",n[5]),G(a,"class",i=""+(Al+(n[89].cellSize||"1x1"))),G(a,"part",r=""+(Al+(n[89].cellSize||"1x1"))),G(a,"favorites",n[8]),G(a,"categoryid",n[0]),G(a,"gamethumbnail",o=n[89].thumbnail),G(a,"gamename",s=n[89].name),G(a,"gamevendor",l=n[89].vendor.logo),G(a,"gamelaunchurl",c=n[89].launchUrl),G(a,"gameisnew",d=n[89].isNew),G(a,"gametag",u=0<n[89].advancedTags?.length&&n[43](n[89].advancedTags)),G(a,"gamecellsize",m=n[89].cellSize),G(a,"gameid",g=n[89].id),G(a,"gamefunmode",p=n[89].hasFunMode),G(a,"gamefavorite",h=n[89].isFavorite),G(a,"translationurl",n[11]),G(a,"showgamename",n[13]),G(a,"connectlive",f=1==n[38][n[89].id]?"connect":"disconnect"),G(a,"visibilityconnect",n[39]),G(a,"currency",n[12]),G(a,"livelobbyendpoint",y=n[89].details?n[89].href:""),G(a,"clientstyling",n[9]),G(a,"clientstylingurl",n[10]),G(a,"endpoint",n[3]),G(a,"livecasino",n[14]),G(a,"gamepagemodalurl",n[15]),G(a,"integratedgameframedesktop",n[16]),G(a,"integratedgameframemobile",n[17]),G(a,"casinogamesgridslider",n[20])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,64&t[0]&&G(a,"session",n[6]),128&t[0]&&G(a,"userid",n[7]),32&t[0]&&G(a,"lang",n[5]),134217728&t[0]&&i!==(i=""+(Al+(n[89].cellSize||"1x1")))&&G(a,"class",i),134217728&t[0]&&r!==(r=""+(Al+(n[89].cellSize||"1x1")))&&G(a,"part",r),256&t[0]&&G(a,"favorites",n[8]),1&t[0]&&G(a,"categoryid",n[0]),134217728&t[0]&&o!==(o=n[89].thumbnail)&&G(a,"gamethumbnail",o),134217728&t[0]&&s!==(s=n[89].name)&&G(a,"gamename",s),134217728&t[0]&&l!==(l=n[89].vendor.logo)&&G(a,"gamevendor",l),134217728&t[0]&&c!==(c=n[89].launchUrl)&&G(a,"gamelaunchurl",c),134217728&t[0]&&d!==(d=n[89].isNew)&&G(a,"gameisnew",d),134217728&t[0]&&u!==(u=0<n[89].advancedTags?.length&&n[43](n[89].advancedTags))&&G(a,"gametag",u),134217728&t[0]&&m!==(m=n[89].cellSize)&&G(a,"gamecellsize",m),134217728&t[0]&&g!==(g=n[89].id)&&G(a,"gameid",g),134217728&t[0]&&p!==(p=n[89].hasFunMode)&&G(a,"gamefunmode",p),134217728&t[0]&&h!==(h=n[89].isFavorite)&&G(a,"gamefavorite",h),2048&t[0]&&G(a,"translationurl",n[11]),8192&t[0]&&G(a,"showgamename",n[13]),134217728&t[0]|128&t[1]&&f!==(f=1==n[38][n[89].id]?"connect":"disconnect")&&G(a,"connectlive",f),256&t[1]&&G(a,"visibilityconnect",n[39]),4096&t[0]&&G(a,"currency",n[12]),134217728&t[0]&&y!==(y=n[89].details?n[89].href:"")&&G(a,"livelobbyendpoint",y),512&t[0]&&G(a,"clientstyling",n[9]),1024&t[0]&&G(a,"clientstylingurl",n[10]),8&t[0]&&G(a,"endpoint",n[3]),16384&t[0]&&G(a,"livecasino",n[14]),32768&t[0]&&G(a,"gamepagemodalurl",n[15]),65536&t[0]&&G(a,"integratedgameframedesktop",n[16]),131072&t[0]&&G(a,"integratedgameframemobile",n[17]),1048576&t[0]&&G(a,"casinogamesgridslider",n[20]),v!==n[91]&&(w(),v=n[91],b())},d(e){e&&me(a),w()}}}(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function Ll(e){let n,a,i=e[41]("searchedItems")+"";return{c(){n=ge("h3"),a=pe(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("searchedItems")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Ml(e){let n,a,i=e[41]("noResults")+"";return{c(){n=ge("h3"),a=pe(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noResults")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Il(e){let n,a,i=e[41]("recentSearchedItems")+"";return{c(){n=ge("h3"),a=pe(i),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("recentSearchedItems")+"")&&ye(a,i)},d(e){e&&me(n)}}}function El(e){let n;return{c(){(n=ge("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Tl(t){let a,i,r=!t[33]&&_l(t),o=t[27],s=[];for(let e=0;e<o.length;e+=1)s[e]=Rl(el(t,o,e));return{c(){r&&r.c(),a=he(),i=ge("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){r&&r.m(e,t),ue(e,a,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(i,null)},p(t,n){if(t[33]?r&&(r.d(1),r=null):r?r.p(t,n):((r=_l(t)).c(),r.m(a.parentNode,a)),134479849&n[0]|4097&n[1]){let e;for(o=t[27],e=0;e<o.length;e+=1){const r=el(t,o,e);s[e]?s[e].p(r,n):(s[e]=Rl(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){r&&r.d(e),e&&me(a),e&&me(i),j(s,e)}}}function _l(e){let n,a,i=e[41]("noRecentSearch")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(at(e[42])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&i!==(i=e[41]("noRecentSearch")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Rl(e){let n,a,i,r,o,s,l,c,d,u,m,g,p,h;return{c(){G(n=ge("casino-game-thumbnail-nd"),"class",a=""+(Al+(e[89].cellSize||"1x1"))),G(n,"part",i=""+(Al+(e[89].cellSize||"1x1"))),G(n,"session",e[6]),G(n,"userid",e[7]),G(n,"lang",e[5]),G(n,"searchitem",e[31]),G(n,"favorites",e[8]),G(n,"categoryid",e[0]),G(n,"gamethumbnail",r=e[89].thumbnail),G(n,"gamename",o=e[89].name),G(n,"gamevendor",s=e[89].vendor.logo),G(n,"gamelaunchurl",l=e[89].launchUrl),G(n,"gameisnew",c=e[89].isNew),G(n,"gametag",d=0<e[89].advancedTags?.length&&e[43](e[89].advancedTags)),G(n,"gamecellsize",u=e[89].cellSize),G(n,"gameid",m=e[89].id),G(n,"gamefunmode",g=e[89].hasFunMode),G(n,"showgamename",e[13]),G(n,"translationurl",e[11]),G(n,"gamefavorite",p=e[89].isFavorite),G(n,"currency",e[12]),G(n,"livelobbyendpoint",h=e[89].details?e[89].href:""),G(n,"clientstyling",e[9]),G(n,"clientstylingurl",e[10]),G(n,"endpoint",e[3]),G(n,"livecasino",e[14]),G(n,"gamepagemodalurl",e[15]),G(n,"integratedgameframedesktop",e[16]),G(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){134217728&t[0]&&a!==(a=""+(Al+(e[89].cellSize||"1x1")))&&G(n,"class",a),134217728&t[0]&&i!==(i=""+(Al+(e[89].cellSize||"1x1")))&&G(n,"part",i),64&t[0]&&G(n,"session",e[6]),128&t[0]&&G(n,"userid",e[7]),32&t[0]&&G(n,"lang",e[5]),1&t[1]&&G(n,"searchitem",e[31]),256&t[0]&&G(n,"favorites",e[8]),1&t[0]&&G(n,"categoryid",e[0]),134217728&t[0]&&r!==(r=e[89].thumbnail)&&G(n,"gamethumbnail",r),134217728&t[0]&&o!==(o=e[89].name)&&G(n,"gamename",o),134217728&t[0]&&s!==(s=e[89].vendor.logo)&&G(n,"gamevendor",s),134217728&t[0]&&l!==(l=e[89].launchUrl)&&G(n,"gamelaunchurl",l),134217728&t[0]&&c!==(c=e[89].isNew)&&G(n,"gameisnew",c),134217728&t[0]&&d!==(d=0<e[89].advancedTags?.length&&e[43](e[89].advancedTags))&&G(n,"gametag",d),134217728&t[0]&&u!==(u=e[89].cellSize)&&G(n,"gamecellsize",u),134217728&t[0]&&m!==(m=e[89].id)&&G(n,"gameid",m),134217728&t[0]&&g!==(g=e[89].hasFunMode)&&G(n,"gamefunmode",g),8192&t[0]&&G(n,"showgamename",e[13]),2048&t[0]&&G(n,"translationurl",e[11]),134217728&t[0]&&p!==(p=e[89].isFavorite)&&G(n,"gamefavorite",p),4096&t[0]&&G(n,"currency",e[12]),134217728&t[0]&&h!==(h=e[89].details?e[89].href:"")&&G(n,"livelobbyendpoint",h),512&t[0]&&G(n,"clientstyling",e[9]),1024&t[0]&&G(n,"clientstylingurl",e[10]),8&t[0]&&G(n,"endpoint",e[3]),16384&t[0]&&G(n,"livecasino",e[14]),32768&t[0]&&G(n,"gamepagemodalurl",e[15]),65536&t[0]&&G(n,"integratedgameframedesktop",e[16]),131072&t[0]&&G(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function Pl(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Dl(e){let n;return{c(){(n=ge("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Nl(n){let a;function i(e){return e[24]?al:e[29]?nl:tl}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A,fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),o.m(a,null),n[57](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[57](null)}}}customElements.get("casino-game-thumbnail-nd")||customElements.define("casino-game-thumbnail-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.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 .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #F1BED9)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;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-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 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(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.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}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.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(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #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(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Js,Ys,n,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),m()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const Al="game-tile-";function Bl(a,e,l){let D;rt(a,ai,e=>l(41,D=e));let i,r,o,t,N,n,s,c,A,d,{endpoint:u=""}=e,{datasource:m=""}=e,{lang:g=""}=e,{session:p=""}=e,{userid:h=""}=e,{favorites:f=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,{currency:B=""}=e,{categoryid:w=""}=e,{showgamename:O=""}=e,{livecasino:z="false"}=e,{gamepagemodalurl:j="true"}=e,{integratedgameframedesktop:H="false"}=e,{integratedgameframemobile:U="false"}=e,{casinomygames:W="false"}=e,{addfilterselector:Y="false"}=e,{addsortingselector:V="false"}=e,{filterbylogo:Z=""}=e,{casinogamesgridslider:q="false"}=e,{fetchviaevent:x="false"}=e,{showallpage:K="casino"}=e,{actionevent:J="CategoryChange"}=e,{displayedgamecount:X="10"}=e,{showallbuttongamescount:Q="10"}=e,$=!0,ee=!1,C=!0,te=window.navigator.userAgent,k=[],F=!0,G=40,S=!1,ne=!1,ae=!1,L=!1,ie=!1,re=!0,oe=!1,se=!1,le=!1,M=new Array(1e4),I={},ce="",E="",T=[],_={items:[],count:0,name:""},de=(Object.keys(xs).forEach(e=>{ws(e,xs[e])}),void 0!==document.hidden?c="hidden":void 0!==document.msHidden?c="msHidden":void 0!==document.webkitHidden&&(c="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>G&&he(w),l(38,I[t]=1,I)):l(38,I[t]=0,I)})}));const ue=(e,t)=>{let a=u+`/v1/player/${t}/favorites/`,i=(l(23,$=!0),{method:"GET",headers:{"X-SessionID":e}});return new Promise((t,n)=>{fetch(a,i).then(e=>e.json()).then(e=>{l(23,$=!1),d=[],e?(e.items.forEach(e=>{e.gameModel&&(d.push(e),T.includes(e.id)||T.push(e.id))}),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d})):d=[],"FAVORITES"===w&&pe(d),k.forEach(e=>{e.isFavorite=P(e.id)});e=k;l(27,k=void 0),l(27,k=e),t(d)}).catch(e=>{console.error(e),n(e)})})},R=(a,e,i)=>{l(23,$=!0);let t,r="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return r=1<(a.match(/\$/g)||[]).length?(t=a.split("$").slice(0,2).join("$"),new URL(`${u}/v1/casino/groups/${m}/${t}/subGroups`)):new URL(`${u}/v1/casino/groups/${m}/`+a),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",it(te)),r.searchParams.append("pagination",`games(offset=${e},limit=${i})`),r.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:a},window.location.href),o&&o[a])if(o[a].length&&!1===C&&!1===se){let t="";l(32,ie=!0),o[a].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),r.searchParams.append("filter",""+t)}else l(32,ie=!1);s&&(s[a]?s[a]&&"All"!=s[a]&&("isNew"==s[a]||"advancedTags(name(hot))"==s[a]?(r.searchParams.append("sortedField",`games(${s[a]})`),r.searchParams.append("orderBy","DES")):r.searchParams.append("sortedField",`games(${s[a]})`)):E&&"All"!=E&&("advancedTags(name(hot))"==E||"isNew"==E?(r.searchParams.append("sortedField",`games(${E})`),r.searchParams.append("orderBy","DES")):r.searchParams.append("sortedField",`games(${E})`))),fetch(r).then(e=>e.json()).then(e=>{l(23,$=!1),1<(a.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==a)return e})[0]),l(50,A=!0),l(24,ee=!1),N=e.games.total,t(e)},e=>{l(24,ee=!0),console.error(e),n(e)})})},me=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==w&&(l(29,S=!1),l(25,C=!1),l(28,F=!1),l(27,k=t.data.mostPlayedGames),l(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(23,$=!1);break;case"LastPlayedData":"LASTPLAYED"==w&&(l(29,S=!1),l(25,C=!1),l(28,F=!1),l(27,k=t.data.lastPlayedGames),l(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(23,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(29,S=!0),l(30,ne=!0),0<t.data.searchData.length?(l(27,k=t.data.searchData),l(33,re=!0),k&&k.forEach(e=>{e.isFavorite=P(e.id)})):(l(27,k=[]),l(33,re=!1));break;case"OutOfRecentSearches":l(29,S=!1),l(30,ne=!1);break;case"SearchData":l(29,S=!0),l(30,ne=!1),l(27,k=t.data.searchData.items||[]),l(31,L=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=P(e.id)});break;case"CategoryData_"+w:l(29,S=!1),l(25,C=!0),l(1,Y="false"),l(2,V="false"),l(28,F=!0),l(31,L=!1),le=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),R(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(26,o=e),l(27,k=o.games.items),k&&k.forEach(e=>{e.isFavorite=P(e.id)})});break;case"CategoryChange":G=20;break;case"ApplySorter":l(0,w=t.data.itemId),E=t.data.sortBy,R(w,0,G).then(e=>{l(26,o=e),l(27,k=o.games.items),l(28,F=!1)});break;case"CategoryUpdate":l(29,S=!1),l(25,C=!1),l(31,L=!1),le=!0,l(0,w=t.data.itemId),"MOSTPLAYED"!==w&&l(28,F=!1),"true"!==W&&R(w,0,G).then(e=>{l(26,o=e),o.games.items.forEach(e=>{e.isFavorite=P(e.id)}),l(27,k=o.games.items),l(28,F=!1),k.length<10&&0==t.data.origin&&(ae=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ae},window.location.href)},500))});break;case"SetUnfavoredGame"+w:e=`${u}/v1/player/${h}/favorites`,n=p,a=t.data.id,fetch(e+"/"+a,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+a},window.location.href),ge(e,n)}),T.includes(a)&&(T=T.filter(e=>e!=a));break;case"SetFavoredGame"+w:(async(e,t,n)=>{await ge(e,t),T.includes(n)||T.push(n);let a={items:T},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(e,i).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)}).catch(e=>{console.error("Err",e)})})(`${u}/v1/player/${h}/favorites`,p,t.data.id);break;case"UserSessionID":i=t.data.session,r=t.data.userID,"true"==f&&r&&r.length&&i&&0<i.length&&ue(i,r);break;case"UpdateFavoredList":"FAVORITES"===w&&ge(t.data.url,t.data.sessionID)}var e,n,a},P=t=>{var e;return null!=(e=null==d?void 0:d.some(e=>e.id===t))&&e};const ge=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>{d=e.items,x?(d.forEach(e=>{T.includes(e.id)||T.push(e.id)}),o&&(l(27,k=o.games.items),k.forEach(e=>{e.isFavorite=P(e.id)}))):d.forEach(e=>{e.isFavorite=P(e.id)}),"FAVORITES"===w&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d}),pe(d))}).catch(e=>{console.error(e)}),pe=e=>{e&&(0<(e=(null==e?void 0:e.items)||e||[]).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!0)}),l(40,_.items=ii(e,_),_),l(40,_.name="Favorites",_),l(23,$=!1))},he=e=>{G+=1,l(34,oe=!0),G<=N&&R(e,0,G).then(e=>{l(26,o=e),o.games.items.length>k.length&&(l(27,k=o.games.items),k.forEach(e=>{e.isFavorite=P(e.id)})),l(34,oe=!1)})},fe=e=>{window.postMessage({type:""+J,itemId:e,showallpage:K},window.location.href)};return et(()=>(window.addEventListener("visibilitychange",e=>{document[c]?l(39,ce="disconnect"):l(39,ce="connect")}),window.addEventListener("message",me,!1),()=>{window.removeEventListener("message",me),window.removeEventListener("visibilitychange",me)})),a.$$set=e=>{"endpoint"in e&&l(3,u=e.endpoint),"datasource"in e&&l(4,m=e.datasource),"lang"in e&&l(5,g=e.lang),"session"in e&&l(6,p=e.session),"userid"in e&&l(7,h=e.userid),"favorites"in e&&l(8,f=e.favorites),"clientstyling"in e&&l(9,y=e.clientstyling),"clientstylingurl"in e&&l(10,v=e.clientstylingurl),"translationurl"in e&&l(11,b=e.translationurl),"currency"in e&&l(12,B=e.currency),"categoryid"in e&&l(0,w=e.categoryid),"showgamename"in e&&l(13,O=e.showgamename),"livecasino"in e&&l(14,z=e.livecasino),"gamepagemodalurl"in e&&l(15,j=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(16,H=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(17,U=e.integratedgameframemobile),"casinomygames"in e&&l(18,W=e.casinomygames),"addfilterselector"in e&&l(1,Y=e.addfilterselector),"addsortingselector"in e&&l(2,V=e.addsortingselector),"filterbylogo"in e&&l(19,Z=e.filterbylogo),"casinogamesgridslider"in e&&l(20,q=e.casinogamesgridslider),"fetchviaevent"in e&&l(45,x=e.fetchviaevent),"showallpage"in e&&l(46,K=e.showallpage),"actionevent"in e&&l(47,J=e.actionevent),"displayedgamecount"in e&&l(48,X=e.displayedgamecount),"showallbuttongamescount"in e&&l(49,Q=e.showallbuttongamescount)},a.$$.update=()=>{if(32&a.$$.dirty[0]&&g&&(n=g,nt.set(n)),57&a.$$.dirty[0]|409600&a.$$.dirty[1]&&("false"===x||""===x)&&u&&g&&w&&m&&X&&Q&&(n=w,e=X,t=Q,""!==n)&&(l(29,S=!1),l(25,C=!0),l(1,Y="false"),l(2,V="false"),l(31,L=!1),le=!1,l(28,F=+t<+e),R(n,0,+e).then(e=>{l(26,o=e),l(27,k=o.games.items),k&&k.forEach(e=>{e.isFavorite=P(e.id)})})),456&a.$$.dirty[0]&&"true"===f&&u&&p&&h&&ue(p,h),4194304&a.$$.dirty[0]|524288&a.$$.dirty[1]&&A&&M&&le&&M.forEach((e,t)=>{e&&(e.elems_index=t,de.observe(e))}),225&a.$$.dirty[0]&&g&&w&&h&&p)switch(w){case"FAVORITES":l(37,se=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===W&&l(37,se=!1)}if(2048&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ws(e,t[e])})}).catch(e=>{console.log(e)}),2097664&a.$$.dirty[0]&&y&&s&&((t=document.createElement("style")).innerHTML=y,s.appendChild(t)),2098176&a.$$.dirty[0]&&v&&s){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t,n},[w,Y,V,u,m,g,p,h,f,y,v,b,B,O,z,j,H,U,W,Z,q,s,M,$,ee,C,o,k,F,S,ne,L,ie,re,oe,t,n,se,I,ce,_,D,te,a=>{if(0===(null==a?void 0:a.length))return"";let i,r="",o=999999999999;const s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ni(e).diff(s)<o&&(o=Ni(e).diff(s),i=t),Ni(s).isAfter(n)&&Ni(s).isBefore(e)&&(r=a[i].name)}),r},fe,x,K,J,X,Q,A,function(e){tt[e?"unshift":"push"](()=>{n=e,l(36,n)})},e=>fe(o.id),function(e,t){tt[e?"unshift":"push"](()=>{M[t]=e,l(22,M)})},function(e){tt[e?"unshift":"push"](()=>{t=e,l(35,t)})},function(e){tt[e?"unshift":"push"](()=>{n=e,l(36,n)})},function(e){tt[e?"unshift":"push"](()=>{t=e,l(35,t)})},function(e){tt[e?"unshift":"push"](()=>{s=e,l(21,s)})}]}function Ol(n){let a,i;return{c(){a=ge("div"),i=ge("casino-games-category-section-nd"),this.c=A,G(i,"session",n[4]),G(i,"userid",n[5]),G(i,"endpoint",n[0]),G(i,"datasource",n[1]),G(i,"lang",n[3]),G(i,"currency",n[2]),G(i,"favorites",n[14]),G(i,"fetchviaevent",n[16]),G(i,"categoryid","FAVORITES"),G(i,"class","CategoryContainer"),G(i,"showgamename",n[11]),G(i,"clientstyling",n[6]),G(i,"clientstylingurl",n[7]),G(i,"livecasino",n[8]),G(i,"visiblegames",n[13]),G(i,"gamepagemodalurl",n[12]),G(i,"integratedgameframedesktop",n[10]),G(i,"integratedgameframemobile",n[9]),G(i,"casinomygames",n[15]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,i),n[18](a)},p(e,[t]){16&t&&G(i,"session",e[4]),32&t&&G(i,"userid",e[5]),1&t&&G(i,"endpoint",e[0]),2&t&&G(i,"datasource",e[1]),8&t&&G(i,"lang",e[3]),4&t&&G(i,"currency",e[2]),16384&t&&G(i,"favorites",e[14]),65536&t&&G(i,"fetchviaevent",e[16]),2048&t&&G(i,"showgamename",e[11]),64&t&&G(i,"clientstyling",e[6]),128&t&&G(i,"clientstylingurl",e[7]),256&t&&G(i,"livecasino",e[8]),8192&t&&G(i,"visiblegames",e[13]),4096&t&&G(i,"gamepagemodalurl",e[12]),1024&t&&G(i,"integratedgameframedesktop",e[10]),512&t&&G(i,"integratedgameframemobile",e[9]),32768&t&&G(i,"casinomygames",e[15])},i:A,o:A,d(e){e&&me(a),n[18](null)}}}function zl(t,e,n){let a,{endpoint:i=""}=e,{datasource:r=""}=e,{currency:o=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:p="false"}=e,{showgamename:h=""}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:v=""}=e,{casinomygames:b="false"}=e,{fetchviaevent:w="true"}=e;var x,$;return{withLocale:x,translations:$}=[{withLocale:"en",translations:{}}][0],nt.subscribe(e=>{null==e&&(Ga.set($),nt.set(x))}),t.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,r=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,u=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"showgamename"in e&&n(11,h=e.showgamename),"gamepagemodalurl"in e&&n(12,f=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},t.$$.update=()=>{if(131136&t.$$.dirty&&d&&a&&((e=document.createElement("style")).innerHTML=d,a.appendChild(e)),131200&t.$$.dirty&&u&&a){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,a,function(e){tt[e?"unshift":"push"](()=>{a=e,n(17,a)})}]}function jl(e,t){s(e,t)}customElements.get("casino-games-category-section-nd")||customElements.define("casino-games-category-section-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-semibold, 500)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw-casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw-casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;padding:8px 0 0;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 220px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 220px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-height-scroll, 220px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 220px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 220px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 220px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-scroll, 220px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 220px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw-casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 20px)}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw-casino-color-primary, #D0046C);border-color:var(--emw-casino-color-primary, #D0046C) transparent var(--emw-casino-color-primary, #D0046C);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:40px;height:40px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #262626), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:3px;background:linear-gradient(var(--emw-casino-categories-animation-fill-main-color, #161616), var(--emfe-casino-categories-animation-fill-secondary-color, #262626));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Bl,Nl,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),m()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),m()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),m()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),m()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},zl,Ol,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});const Hl={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."}};function Ul(e){let n;return{c(){G(n=ge("casino-games-category-section-nd"),"session",e[4]),G(n,"userid",e[5]),G(n,"endpoint",e[0]),G(n,"datasource",e[1]),G(n,"lang",e[3]),G(n,"currency",e[2]),G(n,"favorites",e[14]),G(n,"fetchviaevent",e[16]),G(n,"categoryid","LASTPLAYED"),G(n,"categoryindex","1"),G(n,"categorygames","9"),G(n,"class","CategoryContainer"),G(n,"showgamename",e[12]),G(n,"clientstyling",e[6]),G(n,"clientstylingurl",e[7]),G(n,"livecasino",e[8]),G(n,"visiblegames",e[13]),G(n,"gamepagemodalurl",e[11]),G(n,"integratedgameframedesktop",e[10]),G(n,"integratedgameframemobile",e[9]),G(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&G(n,"session",e[4]),32&t[0]&&G(n,"userid",e[5]),1&t[0]&&G(n,"endpoint",e[0]),2&t[0]&&G(n,"datasource",e[1]),8&t[0]&&G(n,"lang",e[3]),4&t[0]&&G(n,"currency",e[2]),16384&t[0]&&G(n,"favorites",e[14]),65536&t[0]&&G(n,"fetchviaevent",e[16]),4096&t[0]&&G(n,"showgamename",e[12]),64&t[0]&&G(n,"clientstyling",e[6]),128&t[0]&&G(n,"clientstylingurl",e[7]),256&t[0]&&G(n,"livecasino",e[8]),8192&t[0]&&G(n,"visiblegames",e[13]),2048&t[0]&&G(n,"gamepagemodalurl",e[11]),1024&t[0]&&G(n,"integratedgameframedesktop",e[10]),512&t[0]&&G(n,"integratedgameframemobile",e[9]),32768&t[0]&&G(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Wl(e){let n,a,i=e[19]("noRecentGames")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&i!==(i=e[19]("noRecentGames")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Yl(n){let a,i;function r(e){return e[18]?Wl:Ul}let o=r(n),s=o(n);return{c(){a=ge("div"),i=ge("div"),s.c(),this.c=A,fe(i,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,i),s.m(i,null),n[25](a)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:A,o:A,d(e){e&&me(a),s.d(),n[25](null)}}}function Vl(t,e,n){let a;rt(t,ai,e=>n(19,a=e));let i,r,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{translationurl:p=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:v="false"}=e,{showgamename:b=""}=e,{visiblegames:w=""}=e,{favorites:x=""}=e,{lastplayedperiod:$="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:k=""}=e,{casinomygames:F="false"}=e,{lastplayedunique:G="true"}=e,{fetchviaevent:S="true"}=e,L=window.navigator.userAgent,M=!1,I=[];Object.keys(Hl).forEach(e=>{jl(e,Hl[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,l=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,g=e.clientstylingurl),"translationurl"in e&&n(20,p=e.translationurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,v=e.gamepagemodalurl),"showgamename"in e&&n(12,b=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,x=e.favorites),"lastplayedperiod"in e&&n(21,$=e.lastplayedperiod),"lastplayedorder"in e&&n(22,C=e.lastplayedorder),"lastplayedlimit"in e&&n(23,k=e.lastplayedlimit),"casinomygames"in e&&n(15,F=e.casinomygames),"lastplayedunique"in e&&n(24,G=e.lastplayedunique),"fetchviaevent"in e&&n(16,S=e.fetchviaevent)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",G),n.searchParams.append("limit",k),n.searchParams.append("order",C),n.searchParams.append("period",$),"PC"===it(L)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),i=h?n:n.href,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),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(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{I=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===F&&(I=I.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:I},window.location.href)})}else n(18,M=!0)}),1048576&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{jl(e,t[e])})}).catch(e=>{console.log(e)}),131136&t.$$.dirty[0]&&m&&r&&((e=document.createElement("style")).innerHTML=m,r.appendChild(e)),131200&t.$$.dirty[0]&&g&&r){let t=document.createElement("style");fetch(new URL(g)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,nt.set(e))},[o,s,l,c,d,u,m,g,h,f,y,v,b,w,x,F,S,r,M,a,p,$,C,k,G,function(e){tt[e?"unshift":"push"](()=>{r=e,n(17,r)})}]}function Zl(e,t){s(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Vl,Yl,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});const ql={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Kl(e){let n;return{c(){G(n=ge("casino-games-category-section-nd"),"session",e[4]),G(n,"userid",e[5]),G(n,"endpoint",e[0]),G(n,"datasource",e[1]),G(n,"lang",e[3]),G(n,"currency",e[2]),G(n,"favorites",e[14]),G(n,"fetchviaevent",e[16]),G(n,"categoryid","MOSTPLAYED"),G(n,"categoryindex","1"),G(n,"categorygames","9"),G(n,"class","CategoryContainer"),G(n,"showgamename",e[12]),G(n,"clientstyling",e[6]),G(n,"clientstylingurl",e[7]),G(n,"livecasino",e[8]),G(n,"visiblegames",e[13]),G(n,"gamepagemodalurl",e[11]),G(n,"integratedgameframedesktop",e[10]),G(n,"integratedgameframemobile",e[9]),G(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&G(n,"session",e[4]),32&t[0]&&G(n,"userid",e[5]),1&t[0]&&G(n,"endpoint",e[0]),2&t[0]&&G(n,"datasource",e[1]),8&t[0]&&G(n,"lang",e[3]),4&t[0]&&G(n,"currency",e[2]),16384&t[0]&&G(n,"favorites",e[14]),65536&t[0]&&G(n,"fetchviaevent",e[16]),4096&t[0]&&G(n,"showgamename",e[12]),64&t[0]&&G(n,"clientstyling",e[6]),128&t[0]&&G(n,"clientstylingurl",e[7]),256&t[0]&&G(n,"livecasino",e[8]),8192&t[0]&&G(n,"visiblegames",e[13]),2048&t[0]&&G(n,"gamepagemodalurl",e[11]),1024&t[0]&&G(n,"integratedgameframedesktop",e[10]),512&t[0]&&G(n,"integratedgameframemobile",e[9]),32768&t[0]&&G(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Jl(e){let n,a,i=e[19]("noGames")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&i!==(i=e[19]("noGames")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Xl(n){let a,i;function r(e){return e[18]?Jl:Kl}let o=r(n),s=o(n);return{c(){a=ge("div"),i=ge("div"),s.c(),this.c=A,fe(i,"class","casino-most-played-section"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,i),s.m(i,null),n[23](a)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:A,o:A,d(e){e&&me(a),s.d(),n[23](null)}}}function Ql(a,e,i){let t,{endpoint:r=""}=(rt(a,ai,e=>i(19,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:g="false"}=e,{integratedgameframedesktop:p="false"}=e,{gamepagemodalurl:h="false"}=e,{showgamename:f=""}=e,y=e["visiblegames"],{favorites:v=""}=e,{translationurl:b=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:x="Last30Days"}=e,{mostplayedrounds:$="10"}=e,{fetchviaevent:C="true"}=e,k=window.navigator.userAgent;Object.keys(ql).forEach(e=>{Zl(e,ql[e])});let F,G,S=[],L=!1;return a.$$set=e=>{"endpoint"in e&&i(0,r=e.endpoint),"datasource"in e&&i(1,o=e.datasource),"currency"in e&&i(2,n=e.currency),"lang"in e&&i(3,s=e.lang),"session"in e&&i(4,l=e.session),"userid"in e&&i(5,c=e.userid),"clientstyling"in e&&i(6,d=e.clientstyling),"clientstylingurl"in e&&i(7,u=e.clientstylingurl),"livecasino"in e&&i(8,m=e.livecasino),"integratedgameframemobile"in e&&i(9,g=e.integratedgameframemobile),"integratedgameframedesktop"in e&&i(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&i(11,h=e.gamepagemodalurl),"showgamename"in e&&i(12,f=e.showgamename),"visiblegames"in e&&i(13,y=e.visiblegames),"favorites"in e&&i(14,v=e.favorites),"translationurl"in e&&i(20,b=e.translationurl),"casinomygames"in e&&i(15,w=e.casinomygames),"mostplayedperiod"in e&&i(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&i(22,$=e.mostplayedrounds),"fetchviaevent"in e&&i(16,C=e.fetchviaevent)},a.$$.update=()=>{if(41&a.$$.dirty[0]&&r&&c&&s&&(e={limit:100,device:it(k),rounds:$},t=new URL(`${r}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x),(n=e.device)?"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),F=m?t:t.href,new Promise((e,t)=>{fetch(F).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)})}).then(e=>{if(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(r+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{S=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===w&&(S=S.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:S},window.location.href)})}else i(18,L=!0)})),131136&a.$$.dirty[0]&&d&&G&&((n=document.createElement("style")).innerHTML=d,G.appendChild(n)),131200&a.$$.dirty[0]&&u&&G){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{G.appendChild(t)},1)})}var e,t,n;1048576&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Zl(e,t[e])})}).catch(e=>{console.log(e)}),8&a.$$.dirty[0]&&s&&(e=s,nt.set(e))},[r,o,n,s,l,c,d,u,m,g,p,h,f,y,v,w,C,G,L,t,b,x,$,function(e){tt[e?"unshift":"push"](()=>{G=e,i(17,G)})}]}function ec(e,t){s(e,t)}customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ql,Xl,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});const tc={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function nc(e,t,n){e=e.slice();return e[43]=t[n],e}function ac(t){let i,n,r,a,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=sc(nc(t,s,e));function c(e){return"Favorites"==e[25]?dc:"MostPlayed"==e[25]?cc:"LastPlayed"==e[25]?lc:void 0}let d=c(t),u=d&&d(t);return{c(){i=ge("div"),n=ge("div"),r=ge("div");for(let e=0;e<l.length;e+=1)l[e].c();a=he(),o=ge("div"),u&&u.c(),fe(r,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(i,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,n),de(n,r);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(r,null);de(i,a),de(i,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var a=nc(t,s,e);l[e]?l[e].p(a,n):(l[e]=sc(a),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))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&me(i),j(l,e),u&&u.d()}}}function ic(n){let a,i,r,o,s,l,c,d,u,m,g=n[29]("favorites")+"";return{c(){a=ge("button"),i=pe(g),r=he(),o=ge("span"),s=pe("("),l=pe(n[28]),c=pe(")"),fe(a,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),de(a,r),de(a,o),de(o,s),de(o,l),de(o,c),u||(m=U(a,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&g!==(g=e[29]("favorites")+"")&&ye(i,g),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",d)},d(e){e&&me(a),u=!1,m()}}}function rc(n){let a,i,r,o,s,l=n[29]("mostPlayed")+"";return{c(){a=ge("button"),i=pe(l),fe(a,"class",r="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),o||(s=U(a,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(i,l),33587200&t[0]&&r!==(r="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",r)},d(e){e&&me(a),o=!1,s()}}}function oc(n){let a,i,r,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){a=ge("button"),i=pe(c),r=he(),fe(a,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,a,t),de(a,i),de(a,r),s||(l=U(a,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(i,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function sc(e){let n,a,i,r="Favorites"==e[43]&&ic(e),o="MostPlayed"==e[43]&&rc(e),s="LastPlayed"==e[43]&&oc(e);return{c(){r&&r.c(),n=he(),o&&o.c(),a=he(),s&&s.c(),i=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,a,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){"Favorites"==e[43]?r?r.p(e,t):((r=ic(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=rc(e)).c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=oc(e)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){r&&r.d(e),e&&me(n),o&&o.d(e),e&&me(a),s&&s.d(e),e&&me(i)}}}function lc(e){let n;return{c(){G(n=ge("casino-last-played-section"),"userid",e[0]),G(n,"endpoint",e[2]),G(n,"datasource",e[3]),G(n,"favorites",e[14]),G(n,"lang",e[4]),G(n,"currency",e[5]),G(n,"session",e[1]),G(n,"class","CategoryContainer"),G(n,"showgamename",e[11]),G(n,"clientstyling",e[6]),G(n,"clientstylingurl",e[7]),G(n,"livecasino",e[8]),G(n,"visiblegames",e[9]),G(n,"lastplayedperiod",e[18]),G(n,"lastplayedorder",e[20]),G(n,"lastplayedlimit",e[21]),G(n,"lastplayedunique",e[22]),G(n,"gamepagemodalurl",e[10]),G(n,"integratedgameframedesktop",e[12]),G(n,"integratedgameframemobile",e[13]),G(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&G(n,"userid",e[0]),4&t[0]&&G(n,"endpoint",e[2]),8&t[0]&&G(n,"datasource",e[3]),16384&t[0]&&G(n,"favorites",e[14]),16&t[0]&&G(n,"lang",e[4]),32&t[0]&&G(n,"currency",e[5]),2&t[0]&&G(n,"session",e[1]),2048&t[0]&&G(n,"showgamename",e[11]),64&t[0]&&G(n,"clientstyling",e[6]),128&t[0]&&G(n,"clientstylingurl",e[7]),256&t[0]&&G(n,"livecasino",e[8]),512&t[0]&&G(n,"visiblegames",e[9]),262144&t[0]&&G(n,"lastplayedperiod",e[18]),1048576&t[0]&&G(n,"lastplayedorder",e[20]),2097152&t[0]&&G(n,"lastplayedlimit",e[21]),4194304&t[0]&&G(n,"lastplayedunique",e[22]),1024&t[0]&&G(n,"gamepagemodalurl",e[10]),4096&t[0]&&G(n,"integratedgameframedesktop",e[12]),8192&t[0]&&G(n,"integratedgameframemobile",e[13]),131072&t[0]&&G(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function cc(e){let n;return{c(){G(n=ge("casino-most-played-section"),"endpoint",e[2]),G(n,"datasource",e[3]),G(n,"lang",e[4]),G(n,"currency",e[5]),G(n,"session",e[1]),G(n,"userid",e[0]),G(n,"favorites",e[14]),G(n,"categoryindex","0"),G(n,"class","CategoryContainer"),G(n,"showgamename",e[11]),G(n,"clientstyling",e[6]),G(n,"clientstylingurl",e[7]),G(n,"livecasino",e[8]),G(n,"visiblegames",e[9]),G(n,"gamepagemodalurl",e[10]),G(n,"mostplayedrounds",e[23]),G(n,"integratedgameframedesktop",e[12]),G(n,"integratedgameframemobile",e[13]),G(n,"mostplayedperiod",e[19]),G(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&G(n,"endpoint",e[2]),8&t[0]&&G(n,"datasource",e[3]),16&t[0]&&G(n,"lang",e[4]),32&t[0]&&G(n,"currency",e[5]),2&t[0]&&G(n,"session",e[1]),1&t[0]&&G(n,"userid",e[0]),16384&t[0]&&G(n,"favorites",e[14]),2048&t[0]&&G(n,"showgamename",e[11]),64&t[0]&&G(n,"clientstyling",e[6]),128&t[0]&&G(n,"clientstylingurl",e[7]),256&t[0]&&G(n,"livecasino",e[8]),512&t[0]&&G(n,"visiblegames",e[9]),1024&t[0]&&G(n,"gamepagemodalurl",e[10]),8388608&t[0]&&G(n,"mostplayedrounds",e[23]),4096&t[0]&&G(n,"integratedgameframedesktop",e[12]),8192&t[0]&&G(n,"integratedgameframemobile",e[13]),524288&t[0]&&G(n,"mostplayedperiod",e[19]),131072&t[0]&&G(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function dc(e){let n;return{c(){G(n=ge("casino-favorites-section"),"session",e[1]),G(n,"userid",e[0]),G(n,"endpoint",e[2]),G(n,"datasource",e[3]),G(n,"lang",e[4]),G(n,"currency",e[5]),G(n,"favorites",e[14]),G(n,"categoryid","FAVORITES"),G(n,"class","CategoryContainer"),G(n,"showgamename",e[11]),G(n,"clientstyling",e[6]),G(n,"clientstylingurl",e[7]),G(n,"livecasino",e[8]),G(n,"visiblegames",e[9]),G(n,"gamepagemodalurl",e[10]),G(n,"integratedgameframedesktop",e[12]),G(n,"integratedgameframemobile",e[13]),G(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&G(n,"session",e[1]),1&t[0]&&G(n,"userid",e[0]),4&t[0]&&G(n,"endpoint",e[2]),8&t[0]&&G(n,"datasource",e[3]),16&t[0]&&G(n,"lang",e[4]),32&t[0]&&G(n,"currency",e[5]),16384&t[0]&&G(n,"favorites",e[14]),2048&t[0]&&G(n,"showgamename",e[11]),64&t[0]&&G(n,"clientstyling",e[6]),128&t[0]&&G(n,"clientstylingurl",e[7]),256&t[0]&&G(n,"livecasino",e[8]),512&t[0]&&G(n,"visiblegames",e[9]),1024&t[0]&&G(n,"gamepagemodalurl",e[10]),4096&t[0]&&G(n,"integratedgameframedesktop",e[12]),8192&t[0]&&G(n,"integratedgameframemobile",e[13]),131072&t[0]&&G(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function uc(n){let a;function i(e){if(e[17])return ac}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=A},m(e,t){ue(e,a,t),o&&o.m(a,null),n[35](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o&&o.d(),n[35](null)}}}function mc(t,e,n){let a;rt(t,ai,e=>n(29,a=e));let i,{userid:r=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:g=""}=e,{visiblegames:p=""}=e,{gamepagemodalurl:h=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:v=""}=e,{translationurl:b=""}=e,{favorites:w="false"}=e,{mostplayed:x="false"}=e,{lastplayed:$="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:k="Last30Days"}=e,{mostplayedperiod:F="Last30Days"}=e,{lastplayedorder:G=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:L="true"}=e,{mostplayedrounds:M=""}=e,D=window.navigator.userAgent,I="",E=!1,T=["","",""],_="0";var R,N;({withLocale:R,translations:N}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(N),nt.set(R))}),Object.keys(tc).forEach(e=>{ec(e,tc[e])});const P=e=>{I!==e&&n(25,I=e)},A=()=>{var e;n(25,I="true"===w?"Favorites":"true"===x?"MostPlayed":"true"===$?"LastPlayed":""),n(27,T[0]="true"===w?"Favorites":"",T),n(27,T[1]="true"===x?"MostPlayed":"",T),n(27,T[2]="true"===$?"LastPlayed":"",T),e=c,nt.set(e)},B=e=>{var t;e.data&&"UpdateFavoritesCount"===e.data.type&&(e.data.favoriteGames?n(28,_=null==(t=e.data.favoriteGames)?void 0:t.length):n(28,_=null==(t=e.data.listOfFavoritesGames)?void 0:t.length))};return et(()=>(window.addEventListener("message",B,!1),n(26,E=at(D)),()=>{window.removeEventListener("message",B)})),t.$$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,g=e.livecasino),"visiblegames"in e&&n(9,p=e.visiblegames),"gamepagemodalurl"in e&&n(10,h=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"translationurl"in e&&n(31,b=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,x=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,k=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,F=e.mostplayedperiod),"lastplayedorder"in e&&n(20,G=e.lastplayedorder),"lastplayedlimit"in e&&n(21,S=e.lastplayedlimit),"lastplayedunique"in e&&n(22,L=e.lastplayedunique),"mostplayedrounds"in e&&n(23,M=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&s&&l&&c&&A(),114688&t.$$.dirty[0]&&w&&x&&$&&A(),1&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ec(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&i&&((e=document.createElement("style")).innerHTML=u,i.appendChild(e)),16777344&t.$$.dirty[0]&&m&&i){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e},[r,o,s,l,c,d,u,m,g,p,h,f,y,v,w,x,$,C,k,F,G,S,L,M,i,I,E,T,_,a,P,b,()=>P("Favorites"),()=>P("MostPlayed"),()=>P("LastPlayed"),function(e){tt[e?"unshift":"push"](()=>{i=e,n(24,i)})}]}function gc(e,t){s(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},mc,uc,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const pc={en:{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-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{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:{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:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",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:{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:{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:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{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:{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.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{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:{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:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",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:{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:{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."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};function hc(e,t,n){e=e.slice();return e[53]=t[n],e}function fc(n){let a,i,r,o,s,l=n[20]("cancel")+"";return{c(){a=ge("small"),i=pe(l),fe(a,"class",r="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,a,t),de(a,i),o||(s=U(a,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(i,l),4096&t[0]&&r!==(r="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(a,"class",r)},d(e){e&&me(a),o=!1,s()}}}function yc(e){let n,a,i,r;function o(e){return 1==e[16]&&e[11].length<2?wc:0!=e[14].length?bc:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&kc(e),d=2<=e[11].length&&0==e[14].length&&Gc(e);return{c(){l&&l.c(),n=he(),a=ge("div"),c&&c.c(),i=he(),d&&d.c(),fe(a,"class",r="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,a,t),c&&c.m(a,null),de(a,i),d&&d.m(a,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[12]?c?c.p(e,t):((c=kc(e)).c(),c.m(a,i)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=Gc(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),65536&t[0]&&r!==(r="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(a,"class",r)},d(e){l&&l.d(e),e&&me(n),e&&me(a),c&&c.d(),d&&d.d()}}}function vc(e){let n,a,i=e[20]("loading")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&i!==(i=e[20]("loading")+"")&&ye(a,i)},d(e){e&&me(n)}}}function bc(e){let n,a,i=e[20]("searchResult")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&i!==(i=e[20]("searchResult")+"")&&ye(a,i)},d(e){e&&me(n)}}}function wc(e){let n,a,i=0!==e[14].length&&xc(e),r=0==e[14].length&&$c(e);return{c(){i&&i.c(),n=he(),r&&r.c(),a=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),r&&r.m(e,t),ue(e,a,t)},p(e,t){0!==e[14].length?i?i.p(e,t):((i=xc(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),0==e[14].length?r?r.p(e,t):((r=$c(e)).c(),r.m(a.parentNode,a)):r&&(r.d(1),r=null)},d(e){i&&i.d(e),e&&me(n),r&&r.d(e),e&&me(a)}}}function xc(e){let n,a,i=e[20]("recentSearch")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&i!==(i=e[20]("recentSearch")+"")&&ye(a,i)},d(e){e&&me(n)}}}function $c(e){let n,a,i,r,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&Cc();return{c(){n=ge("div"),l&&l.c(),a=he(),i=ge("p"),r=pe(s),fe(i,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,a),de(n,i),de(i,r)},p(e,t){"true"===e[10]?l||((l=Cc()).c(),l.m(n,a)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(r,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function Cc(){let n;return{c(){(n=ge("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function kc(t){let i,r=t[14],o=[];for(let e=0;e<r.length;e+=1)o[e]=Fc(hc(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(17580543&n[0]){let e;for(r=t[14],e=0;e<r.length;e+=1){var a=hc(t,r,e);o[e]?o[e].p(a,n):(o[e]=Fc(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){j(o,e),e&&me(i)}}}function Fc(e){let n,a,i,r,o,s,l,c,d,u,m,g;return{c(){G(n=ge("casino-game-thumbnail-nd"),"endpoint",e[0]),G(n,"session",e[18]),G(n,"userid",e[19]),G(n,"favorites",e[8]),G(n,"lang",e[1]),G(n,"gamethumbnail",a=e[53].thumbnail),G(n,"gamename",i=e[53].name),G(n,"gamevendor",r=e[53].vendor.name),G(n,"gamelaunchurl",o=e[53].launchUrl),G(n,"gameisnew",s=e[53].isNew),G(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),G(n,"gamecellsize",c=e[53].cellSize),G(n,"gameid",d=e[53].id),G(n,"showgamename",e[6]),G(n,"gamefunmode",u=e[53].hasFunMode),G(n,"gamefavorite",m=e[53].isFavorite),G(n,"livelobbyendpoint",g=e[53].details?e[53].launchUrl:""),G(n,"integratedgameframedesktop",e[4]),G(n,"integratedgameframemobile",e[5]),G(n,"clientstyling",e[2]),G(n,"clientstylingurl",e[3]),G(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&G(n,"endpoint",e[0]),262144&t[0]&&G(n,"session",e[18]),524288&t[0]&&G(n,"userid",e[19]),256&t[0]&&G(n,"favorites",e[8]),2&t[0]&&G(n,"lang",e[1]),16384&t[0]&&a!==(a=e[53].thumbnail)&&G(n,"gamethumbnail",a),16384&t[0]&&i!==(i=e[53].name)&&G(n,"gamename",i),16384&t[0]&&r!==(r=e[53].vendor.name)&&G(n,"gamevendor",r),16384&t[0]&&o!==(o=e[53].launchUrl)&&G(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&G(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&G(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&G(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&G(n,"gameid",d),64&t[0]&&G(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&G(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&G(n,"gamefavorite",m),16384&t[0]&&g!==(g=e[53].details?e[53].launchUrl:"")&&G(n,"livelobbyendpoint",g),16&t[0]&&G(n,"integratedgameframedesktop",e[4]),32&t[0]&&G(n,"integratedgameframemobile",e[5]),4&t[0]&&G(n,"clientstyling",e[2]),8&t[0]&&G(n,"clientstylingurl",e[3]),128&t[0]&&G(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function Gc(e){let n,a,i,r,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&Sc();return{c(){n=ge("div"),m&&m.c(),a=he(),i=ge("p"),r=pe(d),o=he(),s=ge("p"),l=pe(u),fe(i,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,a),de(n,i),de(i,r),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=Sc()).c(),m.m(n,a)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(r,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function Sc(){let n;return{c(){(n=ge("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Lc(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,C="true"===n[9]&&fc(n);function k(e){return e[17]?vc:yc}let F=k(n),G=F(n);return{c(){a=ge("div"),i=ge("div"),r=ge("div"),(o=ge("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>',s=he(),l=ge("input"),d=he(),u=ge("span"),m=H("svg"),g=H("path"),h=he(),C&&C.c(),y=he(),v=ge("div"),w=he(),G.c(),this.c=A,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(g,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(g,"stroke","#717171"),fe(g,"stroke-width","2"),fe(g,"stroke-linecap","round"),fe(g,"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",p="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(r,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(i,"class","SearchWrap"),fe(v,"class",b="true"!=n[9]?"OverlayCancel":""),fe(a,"class",("PC"!==it(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(r,s),de(r,l),I(l,n[11]),n[33](l),de(r,d),de(r,u),de(u,m),de(m,g),de(r,h),C&&C.m(r,null),de(a,y),de(a,v),de(a,w),G.m(a,null),n[36](a),x||($=[U(l,"input",n[32]),U(l,"focus",n[22]),U(u,"click",n[34]),U(v,"click",n[23])],x=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&I(l,e[11]),2560&t[0]&&p!==(p="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",p),"true"===e[9]?C?C.p(e,t):((C=fc(e)).c(),C.m(r,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(r,"class",f),512&t[0]&&b!==(b="true"!=e[9]?"OverlayCancel":"")&&fe(v,"class",b),F===(F=k(e))&&G?G.p(e,t):(G.d(1),(G=F(e))&&(G.c(),G.m(a,null)))},i:A,o:A,d(e){e&&me(a),n[33](null),C&&C.d(),G.d(),n[36](null),x=!1,z($)}}}function Mc(a,e,o){let t;rt(a,ai,e=>o(20,t=e));let n,i,r,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{integratedgameframedesktop:h="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:v="true"}=e,{translationurl:b=""}=e,{showfavorites:w=""}=e,{cancelbutton:x="true"}=e,{notfoundicon:$="false"}=e,C=window.navigator.userAgent,k=[],F=[],G={},S="",L=!0,M=!1,I=!1,E=!1,T=[];Object.keys(pc).forEach(e=>{gc(e,pc[e])});const _=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(F=(F=localStorage.getItem("searchedGamesWds_casino"))?F.split(","):[]).indexOf(t))&&(F.unshift(t),n=F.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(o(18,r=e.data.session),o(19,s=e.data.userid),o(31,E=!0)),"CategoryChange"==e.data.type&&P()},D=()=>{if(o(12,L=!1),o(16,M=!0),l&&c&&m&&S.length<2){o(14,k=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],a=0,i=(t=e?e.split(","):t).length;if(0<i){for(a=0;a<i;a++){var r=new URL(l+"/v1/casino/games/"+t[a]);r.searchParams.append("language",m),r.searchParams.append("datasource",c),r.searchParams.append("platform",it(C)),n.push(((e,a)=>new Promise((t,n)=>{o(17,I=!0),a&&Object.keys(G).indexOf(a)>=0?(o(17,I=!1),t(G[a])):fetch(e).then(e=>e.json()).then(e=>{o(17,I=!1),e.error||(G[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,I=!1),console.error(e),n(e)})}))(r,t[a]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,k=e.map(e=>(e.isFavorite=N(e.id),e))),k.length?R("searchSuccess","SearchWidget"):R("searchFail","SearchWidget")}).catch(e=>{R("searchError","SearchWidget")})}}B(M),R("searchAttempt","SearchWidget"),R("SearchInitialized","SearchWidget")},R=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},N=t=>-1!==T.findIndex(e=>e==t),P=()=>{o(11,S=""),o(12,L=!0),o(17,I=!1),o(14,k=[]),o(16,M=!1),B(M)},A=()=>{o(11,S=""),n.focus()},B=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return et(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),a.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,g=e.clientstyling),"clientstylingurl"in e&&o(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,h=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,v=e.gamepagemodalurl),"translationurl"in e&&o(30,b=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,x=e.cancelbutton),"notfoundicon"in e&&o(10,$=e.notfoundicon)},a.$$.update=()=>{if(134223875&a.$$.dirty[0])if(2<=S.length){const a=new URL(l+"/v1/casino/games");a.searchParams.append("datasource",c),a.searchParams.append("expand","vendor"),a.searchParams.append("platform",it(C)),a.searchParams.append("language",m),a.searchParams.append("pagination","offset=0,limit=30"),a.searchParams.append("filter","name="+S),e=a,new Promise((t,n)=>{o(17,I=!0),fetch(e.href).then(e=>e.json()).then(e=>{o(17,I=!1),t(e)}).catch(e=>{o(17,I=!1),console.error(e),n(e)})}).then(e=>{o(14,k=e.items.map(e=>(e.isFavorite=N(e.id),e)))})}else L||D();var e,t,n;if(2&a.$$.dirty[0]&&m&&(n=m,nt.set(n)),1073741824&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{gc(e,t[e])})}).catch(e=>{console.log(e)}),805306368&a.$$.dirty[0]&&d&&u&&(o(31,E=!0),o(18,r=d),o(19,s=u)),256&a.$$.dirty[0]|1&a.$$.dirty[1]&&w&&E&&(n=new URL(`${l}/v1/player/${s}/favorites/`),o(17,I=!0),t={method:"GET",headers:{"X-SessionID":r}},fetch(n.href,t).then(e=>e.json()).then(e=>{o(17,I=!1),T=e.items.map(e=>e.id)})),8196&a.$$.dirty[0]&&g&&i&&((t=document.createElement("style")).innerHTML=g,i.appendChild(t)),8200&a.$$.dirty[0]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[l,m,g,p,h,f,y,v,w,x,$,S,L,i,k,n,M,I,r,s,t,C,D,()=>{"true"!=x&&P()},a=>{if(0===(null==a?void 0:a.length))return"";let i,r,o=99999999999;const s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ni(e).diff(s)<o&&(o=Ni(e).diff(s),r=t),Ni(s).isAfter(n)&&Ni(s).isBefore(e)&&(i=a[r].name)}),i},P,A,c,d,u,b,E,function(){S=this.value,o(11,S)},function(e){tt[e?"unshift":"push"](()=>{n=e,o(15,n)})},()=>A(),()=>P(),function(e){tt[e?"unshift":"push"](()=>{i=e,o(13,i)})}]}function Ic(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function Ec(e,t,n){e=e.slice();return e[29]=t[n],e[31]=n,e}function Tc(n){let i,a,r,o,s,l,e,c,d,u=n[3],m=[];for(let e=0;e<u.length;e+=1)m[e]=Bc(Ic(n,u,e));return{c(){i=ge("div"),(a=ge("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>',r=he(),o=ge("div"),s=pe(n[1]),l=he();for(let e=0;e<m.length;e+=1)m[e].c();fe(a,"class","ModalCloseBtn"),fe(a,"role","button"),fe(o,"class","CasinoCalendarDailyDay"),fe(i,"class",e="CasinoCalendarDailyDetailsBackground "+(n[5]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,a),de(i,r),de(i,o),de(o,s),de(i,l);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);c||(d=U(a,"click",n[6]),c=!0)},p(t,n){if(2&n[0]&&ye(s,t[1]),393&n[0]){let e;for(u=t[3],e=0;e<u.length;e+=1){var a=Ic(t,u,e);m[e]?m[e].p(a,n):(m[e]=Bc(a),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}32&n[0]&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[5]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&me(i),j(m,e),c=!1,d()}}}function _c(e){let n;return{c(){(n=ge("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Rc(e){let n,a;return{c(){n=H("svg"),fe(a=H("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"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","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function Pc(e){let n,a;return{c(){n=H("svg"),fe(a=H("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"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","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function Dc(t){let a,n,i,r=t[26].details,o=[];for(let e=0;e<r.length;e+=1)o[e]=Nc(Ec(t,r,e));let s=t[26].detailsExpanded&&Ac(t);return{c(){a=ge("div");for(let e=0;e<o.length;e+=1)o[e].c();n=he(),s&&s.c(),i=c(),fe(a,"class","DetailsTabsTitles")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);ue(e,n,t),s&&s.m(e,t),ue(e,i,t)},p(t,n){if(264&n[0]){let e;for(r=t[26].details,e=0;e<r.length;e+=1){const s=Ec(t,r,e);o[e]?o[e].p(s,n):(o[e]=Nc(s),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}t[26].detailsExpanded?s?s.p(t,n):((s=Ac(t)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){e&&me(a),j(o,e),e&&me(n),s&&s.d(e),e&&me(i)}}}function Nc(n){let a,i,r,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[31],n[28])}return{c(){a=ge("div"),i=ge("div"),r=ge("button"),s=he(),fe(r,"class",o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":"")),fe(i,"class","Header"),fe(a,"class",l=n[31]===n[26].selectedTab?"SelectedTab":""),fe(a,"id","CollapseMoreInfoButton"),S(a,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,a,t),de(a,i),de(i,r),r.innerHTML=u,de(a,s),c||(d=U(r,"click",m),c=!0)},p(e,t){n=e,8&t[0]&&u!==(u=n[29].title+"")&&(r.innerHTML=u),8&t[0]&&o!==(o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":""))&&fe(r,"class",o),8&t[0]&&l!==(l=n[31]===n[26].selectedTab?"SelectedTab":"")&&fe(a,"class",l),8&t[0]&&S(a,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(a),c=!1,d()}}}function Ac(e){let n,a,i=e[26].details[e[26].selectedTab].description+"";return{c(){fe(n=ge("div"),"class",a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),n.innerHTML=i},p(e,t){8&t[0]&&i!==(i=e[26].details[e[26].selectedTab].description+"")&&(n.innerHTML=i),8&t[0]&&a!==(a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function Bc(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x=n[26].title+"",$=n[26].description+"";function C(e){return 1==e[26].expandedInfo?Pc:Rc}let k=C(n),F=k(n);function G(){return n[17](n[26],n[27],n[28])}let S=1==n[26].expandedInfo&&Dc(n);return{c(){a=ge("div"),i=ge("div"),r=he(),o=ge("div"),s=ge("img"),d=he(),u=ge("div"),m=he(),g=ge("div"),p=ge("button"),h=new t(!1),f=he(),F.c(),y=he(),S&&S.c(),v=he(),fe(i,"class","CasinoCalendarDailyTitle"),fe(s,"class","CasinoCalendarFitImage"),ce(s.src,l=n[26].image)||fe(s,"src",l),fe(s,"alt",c=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(u,"class","CasinoCalendarDailyDescription"),h.a=f,fe(p,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(a,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,a,t),de(a,i),i.innerHTML=x,de(a,r),de(a,o),de(o,s),de(a,d),de(a,u),u.innerHTML=$,de(a,m),de(a,g),de(g,p),h.m(n[0],p),de(p,f),F.m(p,null),de(g,y),S&&S.m(g,null),de(a,v),b||(w=U(p,"click",G),b=!0)},p(e,t){n=e,8&t[0]&&x!==(x=n[26].title+"")&&(i.innerHTML=x),8&t[0]&&!ce(s.src,l=n[26].image)&&fe(s,"src",l),8&t[0]&&c!==(c=n[26].image)&&fe(s,"alt",c),8&t[0]&&$!==($=n[26].description+"")&&(u.innerHTML=$),1&t[0]&&h.p(n[0]),k!==(k=C(n))&&(F.d(1),F=k(n))&&(F.c(),F.m(p,null)),1==n[26].expandedInfo?S?S.p(n,t):((S=Dc(n)).c(),S.m(g,null)):S&&(S.d(1),S=null)},d(e){e&&me(a),F.d(),S&&S.d(),b=!1,w()}}}function Oc(n){let a;function i(e){return e[4]?_c:Tc}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A},m(e,t){ue(e,a,t),o.m(a,null),n[19](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[19](null)}}}function zc(t,e,a){let n,{dailybackground:i=""}=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:g=""}=e,p=[],h=!0,f=!1,y=window.navigator.userAgent;var v,b;({withLocale:v,translations:b}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(b),nt.set(v))});const w=e=>{"DailyEventsData"==e.data.type&&(a(4,h=!1),a(3,p=e.data.data),p.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.selectedTab=0,e.details.forEach((e,t)=>{e.expandedTab=0==t})}))},x=e=>{a(3,p[e].detailsExpanded=!p[e].detailsExpanded,p),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},$=(e,t,n)=>{a(3,p[n].selectedTab=t,p),e.details.forEach((e,t)=>{p[n].selectedTab!=t?e.expandedTab=!1:e.expandedTab=!0})};return et(()=>(window.addEventListener("message",w,!1),at(y)&&a(5,f=!0),()=>{window.removeEventListener("message",w)})),t.$$set=e=>{"dailybackground"in e&&a(9,i=e.dailybackground),"dailybuttontitle"in e&&a(0,r=e.dailybuttontitle),"dailyday"in e&&a(1,o=e.dailyday),"dailydescription"in e&&a(10,s=e.dailydescription),"dailyicon"in e&&a(11,l=e.dailyicon),"dailytitle"in e&&a(12,c=e.dailytitle),"lang"in e&&a(13,d=e.lang),"clientstyling"in e&&a(14,u=e.clientstyling),"clientstylingurl"in e&&a(15,m=e.clientstylingurl),"translationUrl"in e&&a(16,g=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty[0]&&d&&(e=d,nt.set(e)),16388&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty[0]&&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,p,h,f,()=>{window.postMessage({type:"ModalClosed"},window.location.href),p.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t,e.selectedTab=0})},x,$,i,s,l,c,d,u,m,g,(e,t,n)=>{a(3,t[n].expandedInfo=!e.expandedInfo,p),x(n)},(e,t,n)=>{$(e,t,n)},function(e){tt[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function jc(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,C,k,F;return{c(){a=ge("div"),i=ge("div"),r=ge("div"),o=ge("div"),(s=ge("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=he(),c=ge("div"),d=ge("div"),u=ge("img"),g=he(),p=ge("div"),h=pe(n[2]),f=he(),y=ge("div"),v=he(),b=ge("div"),w=ge("button"),x=pe(n[3]),this.c=A,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(p,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(b,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),S(c,"background-image","url('"+n[0]+"')"),S(c,"background-size","cover"),S(c,"background-position","center"),S(c,"-webkit-background-size","cover"),S(c,"-moz-background-size","cover"),S(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(r,"class","CasinoCalendarItems"),fe(i,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(r,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,g),de(c,p),de(p,h),de(c,f),de(c,y),n[14](y),de(c,v),de(c,b),de(b,w),de(w,x),n[16](a),k||(F=U(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(h,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&S(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(i,"class",C)},i:A,o:A,d(e){e&&me(a),n[14](null),n[16](null),k=!1,F()}}}function Hc(t,e,n){let a,i,{cmsendpoint:r=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e;var h,f;({withLocale:h,translations:f}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(f),nt.set(h))});let y=!1,v=window.navigator.userAgent;const b=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return et(()=>{at(v)&&n(7,y=!0)}),t.$$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,g=e.clientstyling),"clientstylingurl"in e&&n(13,p=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,a)&&a.append(e),4128&t.$$.dirty&&g&&i&&((e=document.createElement("style")).innerHTML=g,i.appendChild(e)),8224&t.$$.dirty&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,i,a,y,b,r,o,d,g,p,function(e){tt[e?"unshift":"push"](()=>{a=e,n(6,a)})},()=>b(),function(e){tt[e?"unshift":"push"](()=>{i=e,n(5,i)})}]}function Uc(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function Wc(t){let a,i,e,r=t[4],o=[];for(let e=0;e<r.length;e+=1)o[e]=Zc(Uc(t,r,e));let s=1==t[9]&&qc(t);return{c(){a=ge("div");for(let e=0;e<o.length;e+=1)o[e].c();i=he(),s&&s.c(),fe(a,"class",e="CasinoCalendarItem "+(t[8]?"Mobile":""))},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);de(a,i),s&&s.m(a,null)},p(t,n){if(23&n){let e;for(r=t[4],e=0;e<r.length;e+=1){const s=Uc(t,r,e);o[e]?o[e].p(s,n):(o[e]=Zc(s),o[e].c(),o[e].m(a,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}1==t[9]?s?s.p(t,n):((s=qc(t)).c(),s.m(a,null)):s&&(s.d(1),s=null),256&n&&e!==(e="CasinoCalendarItem "+(t[8]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(o,e),s&&s.d()}}}function Yc(e){let n;return{c(){fe(n=ge("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Vc(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Zc(e){let n,a,i,r,o,s;return{c(){G(n=ge("casino-calendar-daily-item"),"dailybackground",a=e[21].dailyBackground),G(n,"dailyicon",i=e[21].dailyIcon),G(n,"dailyday",r=e[21].dailyDay),G(n,"dailydescription",o=e[21].dailyDescription),G(n,"dailybuttontitle",s=e[21].dailyButtonTitle),G(n,"index",e[23]),G(n,"lang",e[0]),G(n,"clientstyling",e[1]),G(n,"clientstylingurl",e[2])},m(e,t){ue(e,n,t)},p(e,t){16&t&&a!==(a=e[21].dailyBackground)&&G(n,"dailybackground",a),16&t&&i!==(i=e[21].dailyIcon)&&G(n,"dailyicon",i),16&t&&r!==(r=e[21].dailyDay)&&G(n,"dailyday",r),16&t&&o!==(o=e[21].dailyDescription)&&G(n,"dailydescription",o),16&t&&s!==(s=e[21].dailyButtonTitle)&&G(n,"dailybuttontitle",s),1&t&&G(n,"lang",e[0]),2&t&&G(n,"clientstyling",e[1]),4&t&&G(n,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function qc(e){let n,a,i,r,o,s,l,c;return{c(){n=ge("div"),G(a=ge("casino-calendar-daily-details"),"dailybackground",i=e[4][e[5]].dailyBackground),G(a,"dailybuttontitle",r=e[4][e[5]].dailyButtonTitle),G(a,"dailyday",o=e[4][e[5]].dailyDay),G(a,"dailydescription",s=e[4][e[5]].dailyDescription),G(a,"dailyicon",l=e[4][e[5]].dailyIcon),G(a,"dailytitle",c=e[4][e[5]].dailyTitle),G(a,"lang",e[0]),G(a,"clientstyling",e[1]),G(a,"clientstylingurl",e[2]),fe(n,"class","CalendarDetailsWrapper")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){48&t&&i!==(i=e[4][e[5]].dailyBackground)&&G(a,"dailybackground",i),48&t&&r!==(r=e[4][e[5]].dailyButtonTitle)&&G(a,"dailybuttontitle",r),48&t&&o!==(o=e[4][e[5]].dailyDay)&&G(a,"dailyday",o),48&t&&s!==(s=e[4][e[5]].dailyDescription)&&G(a,"dailydescription",s),48&t&&l!==(l=e[4][e[5]].dailyIcon)&&G(a,"dailyicon",l),48&t&&c!==(c=e[4][e[5]].dailyTitle)&&G(a,"dailytitle",c),1&t&&G(a,"lang",e[0]),2&t&&G(a,"clientstyling",e[1]),4&t&&G(a,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function Kc(n){let a;function i(e){return e[7]?Vc:e[6]?Yc:e[4]?.length?Wc:void 0}let r=i(n),o=r&&r(n);return{c(){a=ge("div"),o&&o.c(),this.c=A},m(e,t){ue(e,a,t),o&&o.m(a,null),n[13](a)},p(e,[t]){r===(r=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=r&&r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o&&o.d(),n[13](null)}}}function Jc(n,e,a){let i,r,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,g=!0,p=!1,t=!1,h=window.navigator.userAgent,f=!1;const y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(a(5,m=e.data.index),a(9,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=r[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&a(9,f=!1)};return et(()=>(window.addEventListener("message",y,!1),at(h)&&a(8,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&a(10,o=e.cmsendpoint),"env"in e&&a(11,s=e.env),"userroles"in e&&a(12,l=e.userroles),"lang"in e&&a(0,c=e.lang),"clientstyling"in e&&a(1,d=e.clientstyling),"clientstylingurl"in e&&a(2,u=e.clientstylingurl)},n.$$.update=()=>{if(7169&n.$$.dirty&&o&&c&&s&&l&&(a(6,g=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=it(h))&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{a(4,r=e)}).catch(e=>{console.log(e),a(7,p=!0)}).finally(()=>{a(6,g=!1)})),10&n.$$.dirty&&d&&i&&((t=document.createElement("style")).innerHTML=d,i.appendChild(t)),12&n.$$.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),setTimeout(()=>{},500)})}var e,t},[c,d,u,i,r,m,g,p,t,f,o,s,l,function(e){tt[e?"unshift":"push"](()=>{i=e,a(3,i)})}]}customElements.get("casino-search")||customElements.define("casino-search",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.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 var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.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}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;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}@media screen and (max-width: 480px){.SearchResultsContainer{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}}@media screen and (max-width: 385px){.SearchResultsContainer{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}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{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}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Mc,Lc,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, 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));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.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;flex-direction:column}.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;cursor:pointer;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-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},zc,Oc,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}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}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;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:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);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 var(--emfe-w-color-white, #FFFFFF);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:var(--emfe-w-color-white, #FFFFFF);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:var(--emfe-w-color-white, #FFFFFF);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}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:8px 6px;border-radius:5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Hc,jc,n,{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),m())}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}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Jc,Kc,n,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[11]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[12]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});const Xc=w["document"];function Qc(e,t,n){e=e.slice();return e[125]=t[n],e[127]=n,e}function ed(e){let n,a,i,r,o,s,l="true"==e[21]&&0==bd&&!e[83]&&nd(e),c="true"==e[22]&&0==bd&&!e[83]&&ad(e);function d(e){return e[77]?rd:e[83]?void 0:id}let u=d(e),m=u&&u(e),g=e[79]&&"true"==e[16]&&yd(e);return{c(){n=ge("section"),a=ge("casino-search"),i=he(),l&&l.c(),r=he(),c&&c.c(),o=he(),m&&m.c(),s=he(),g&&g.c(),G(a,"endpoint",e[1]),G(a,"datasource",e[3]),G(a,"showgamename",e[19]),G(a,"lang",e[5]),G(a,"clientstyling",e[8]),G(a,"clientstylingurl",e[10]),G(a,"integratedgameframedesktop",e[31]),G(a,"integratedgameframemobile",e[32]),G(a,"translationurl",e[11]),G(a,"showfavorites",e[15]),fe(n,"class","CategoriesLobby")},m(e,t){ue(e,n,t),de(n,a),de(n,i),l&&l.m(n,null),de(n,r),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),g&&g.m(n,null)},p(e,t){2&t[0]&&G(a,"endpoint",e[1]),8&t[0]&&G(a,"datasource",e[3]),524288&t[0]&&G(a,"showgamename",e[19]),32&t[0]&&G(a,"lang",e[5]),256&t[0]&&G(a,"clientstyling",e[8]),1024&t[0]&&G(a,"clientstylingurl",e[10]),1&t[1]&&G(a,"integratedgameframedesktop",e[31]),2&t[1]&&G(a,"integratedgameframemobile",e[32]),2048&t[0]&&G(a,"translationurl",e[11]),32768&t[0]&&G(a,"showfavorites",e[15]),"true"!=e[21]||0!=bd||e[83]?l&&(l.d(1),l=null):l?l.p(e,t):((l=nd(e)).c(),l.m(n,r)),"true"!=e[22]||0!=bd||e[83]?c&&(c.d(1),c=null):c?c.p(e,t):((c=ad(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[79]&&"true"==e[16]?g?g.p(e,t):((g=yd(e)).c(),g.m(n,null)):g&&(g.d(1),g=null)},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),g&&g.d()}}}function td(e){let n,a,i=e[85]("500")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&i!==(i=e[85]("500")+"")&&ye(a,i)},d(e){e&&me(n)}}}function nd(e){let n;return{c(){G(n=ge("casino-random-game"),"datasource",e[3]),G(n,"filteredrandomgamecategories",e[23]),G(n,"endpoint",e[1]),G(n,"lang",e[5]),G(n,"gameevent",e[76]),G(n,"randombuttonicon",e[72]),G(n,"clientstyling",e[8]),G(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&G(n,"datasource",e[3]),8388608&t[0]&&G(n,"filteredrandomgamecategories",e[23]),2&t[0]&&G(n,"endpoint",e[1]),32&t[0]&&G(n,"lang",e[5]),16384&t[2]&&G(n,"gameevent",e[76]),1024&t[2]&&G(n,"randombuttonicon",e[72]),256&t[0]&&G(n,"clientstyling",e[8]),1024&t[0]&&G(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function ad(e){let n;return{c(){G(n=ge("casino-play-random-game"),"datasource",e[3]),G(n,"endpoint",e[1]),G(n,"language",e[5]),G(n,"specific-category",e[68]),G(n,"icon-visible",e[70]),G(n,"icon-visible-on-anim",e[71]),G(n,"launch-by-game-card",e[69]),G(n,"client-styling",e[8]),G(n,"client-styling-url",e[10]),G(n,"translation-url",e[11])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&G(n,"datasource",e[3]),2&t[0]&&G(n,"endpoint",e[1]),32&t[0]&&G(n,"language",e[5]),64&t[2]&&G(n,"specific-category",e[68]),256&t[2]&&G(n,"icon-visible",e[70]),512&t[2]&&G(n,"icon-visible-on-anim",e[71]),128&t[2]&&G(n,"launch-by-game-card",e[69]),256&t[0]&&G(n,"client-styling",e[8]),1024&t[0]&&G(n,"client-styling-url",e[10]),2048&t[0]&&G(n,"translation-url",e[11])},d(e){e&&me(n)}}}function id(e){let n;function a(e){return e[82]?ld:e[81]?sd:od}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function rd(e){let n,a,i=e[85]("loading")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&i!==(i=e[85]("loading")+"")&&ye(a,i)},d(e){e&&me(n)}}}function od(e){let n;return{c(){G(n=ge("casino-games-category-section-nd"),"userid",e[7]),G(n,"endpoint",e[1]),G(n,"datasource",e[3]),G(n,"favorites",e[15]),G(n,"lang",e[5]),G(n,"currency",e[4]),G(n,"session",e[6]),G(n,"categoryid",e[74]),G(n,"categorygames","9"),G(n,"fetchviaevent",e[66]),G(n,"class","CategoryContainer"),G(n,"showgamename",e[19]),G(n,"translationurl",e[11]),G(n,"clientstyling",e[8]),G(n,"clientstylingurl",e[10]),G(n,"livecasino",e[20]),G(n,"visiblegames",e[14]),G(n,"gamepagemodalurl",e[24]),G(n,"integratedgameframedesktop",e[31]),G(n,"integratedgameframemobile",e[32]),G(n,"casinomygames",e[0]),G(n,"filterbylogo",e[55]),G(n,"addfilterselector",e[53]),G(n,"addsortingselector",e[54]),G(n,"casinogamesgridslider",e[25])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&G(n,"userid",e[7]),2&t[0]&&G(n,"endpoint",e[1]),8&t[0]&&G(n,"datasource",e[3]),32768&t[0]&&G(n,"favorites",e[15]),32&t[0]&&G(n,"lang",e[5]),16&t[0]&&G(n,"currency",e[4]),64&t[0]&&G(n,"session",e[6]),4096&t[2]&&G(n,"categoryid",e[74]),16&t[2]&&G(n,"fetchviaevent",e[66]),524288&t[0]&&G(n,"showgamename",e[19]),2048&t[0]&&G(n,"translationurl",e[11]),256&t[0]&&G(n,"clientstyling",e[8]),1024&t[0]&&G(n,"clientstylingurl",e[10]),1048576&t[0]&&G(n,"livecasino",e[20]),16384&t[0]&&G(n,"visiblegames",e[14]),16777216&t[0]&&G(n,"gamepagemodalurl",e[24]),1&t[1]&&G(n,"integratedgameframedesktop",e[31]),2&t[1]&&G(n,"integratedgameframemobile",e[32]),1&t[0]&&G(n,"casinomygames",e[0]),16777216&t[1]&&G(n,"filterbylogo",e[55]),4194304&t[1]&&G(n,"addfilterselector",e[53]),8388608&t[1]&&G(n,"addsortingselector",e[54]),33554432&t[0]&&G(n,"casinogamesgridslider",e[25])},d(e){e&&me(n)}}}function sd(e){let n;return{c(){G(n=ge("casino-my-games"),"userid",e[7]),G(n,"session",e[6]),G(n,"endpoint",e[1]),G(n,"datasource",e[3]),G(n,"lang",e[5]),G(n,"currency",e[4]),G(n,"favorites",e[15]),G(n,"clientstyling",e[8]),G(n,"clientstylingurl",e[10]),G(n,"livecasino",e[20]),G(n,"visiblegames",e[14]),G(n,"gamepagemodalurl",e[24]),G(n,"showgamename",e[19]),G(n,"integratedgameframedesktop",e[31]),G(n,"integratedgameframemobile",e[32]),G(n,"translationurl",e[11]),G(n,"mostplayed",e[57]),G(n,"lastplayed",e[58]),G(n,"filteredcategories",e[17]),G(n,"activecategory",e[18]),G(n,"lastplayedunique",e[63]),G(n,"categoryindex","0"),G(n,"categoryid","MYGAMES"),G(n,"casinomygames",e[0]),G(n,"lastplayedperiod",e[59]),G(n,"mostplayedperiod",e[60]),G(n,"lastplayedorder",e[61]),G(n,"lastplayedlimit",e[62]),G(n,"mostplayedrounds",e[64])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&G(n,"userid",e[7]),64&t[0]&&G(n,"session",e[6]),2&t[0]&&G(n,"endpoint",e[1]),8&t[0]&&G(n,"datasource",e[3]),32&t[0]&&G(n,"lang",e[5]),16&t[0]&&G(n,"currency",e[4]),32768&t[0]&&G(n,"favorites",e[15]),256&t[0]&&G(n,"clientstyling",e[8]),1024&t[0]&&G(n,"clientstylingurl",e[10]),1048576&t[0]&&G(n,"livecasino",e[20]),16384&t[0]&&G(n,"visiblegames",e[14]),16777216&t[0]&&G(n,"gamepagemodalurl",e[24]),524288&t[0]&&G(n,"showgamename",e[19]),1&t[1]&&G(n,"integratedgameframedesktop",e[31]),2&t[1]&&G(n,"integratedgameframemobile",e[32]),2048&t[0]&&G(n,"translationurl",e[11]),67108864&t[1]&&G(n,"mostplayed",e[57]),134217728&t[1]&&G(n,"lastplayed",e[58]),131072&t[0]&&G(n,"filteredcategories",e[17]),262144&t[0]&&G(n,"activecategory",e[18]),2&t[2]&&G(n,"lastplayedunique",e[63]),1&t[0]&&G(n,"casinomygames",e[0]),268435456&t[1]&&G(n,"lastplayedperiod",e[59]),536870912&t[1]&&G(n,"mostplayedperiod",e[60]),1073741824&t[1]&&G(n,"lastplayedorder",e[61]),1&t[2]&&G(n,"lastplayedlimit",e[62]),4&t[2]&&G(n,"mostplayedrounds",e[64])},d(e){e&&me(n)}}}function ld(t){let i,r=t[84],o=[];for(let e=0;e<r.length;e+=1)o[e]=fd(Qc(t,r,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,i,n)},p(t,n){if(2132344831&n[0]|67108863&n[1]|20971576&n[2]){let e;for(r=t[84],e=0;e<r.length;e+=1){var a=Qc(t,r,e);o[e]?o[e].p(a,n):(o[e]=fd(a),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=r.length}},d(e){j(o,e),e&&me(i)}}}function cd(e){let n,a;return{c(){n=ge("div"),G(a=ge("casino-winners"),"session",e[6]),G(a,"userid",e[7]),G(a,"periodrecent",e[33]),G(a,"periodtop",e[34]),G(a,"numberusersrecent",e[35]),G(a,"numberuserstop",e[36]),G(a,"amountlimit",e[37]),G(a,"isrecentavailable",e[30]),G(a,"istopavailable",e[29]),G(a,"defaultcurrency",e[38]),G(a,"usercurrency",e[4]),G(a,"enableautoscroll",e[28]),G(a,"tabsorder",e[27]),G(a,"lang",e[5]),G(a,"clientstyling",e[8]),G(a,"clientstylingurl",e[10]),G(a,"endpoint",e[1]),G(a,"winnersdatasources",e[65]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[0]&&G(a,"session",e[6]),128&t[0]&&G(a,"userid",e[7]),4&t[1]&&G(a,"periodrecent",e[33]),8&t[1]&&G(a,"periodtop",e[34]),16&t[1]&&G(a,"numberusersrecent",e[35]),32&t[1]&&G(a,"numberuserstop",e[36]),64&t[1]&&G(a,"amountlimit",e[37]),1073741824&t[0]&&G(a,"isrecentavailable",e[30]),536870912&t[0]&&G(a,"istopavailable",e[29]),128&t[1]&&G(a,"defaultcurrency",e[38]),16&t[0]&&G(a,"usercurrency",e[4]),268435456&t[0]&&G(a,"enableautoscroll",e[28]),134217728&t[0]&&G(a,"tabsorder",e[27]),32&t[0]&&G(a,"lang",e[5]),256&t[0]&&G(a,"clientstyling",e[8]),1024&t[0]&&G(a,"clientstylingurl",e[10]),2&t[0]&&G(a,"endpoint",e[1]),8&t[2]&&G(a,"winnersdatasources",e[65])},d(e){e&&me(n)}}}function dd(e){let n,a,i;return{c(){n=ge("br"),a=he(),G(i=ge("casino-calendar"),"userroles",e[9]),G(i,"cmsendpoint",e[12]),G(i,"env",e[2]),G(i,"lang",e[5]),G(i,"clientstyling",e[8]),G(i,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p(e,t){512&t[0]&&G(i,"userroles",e[9]),4096&t[0]&&G(i,"cmsendpoint",e[12]),4&t[0]&&G(i,"env",e[2]),32&t[0]&&G(i,"lang",e[5]),256&t[0]&&G(i,"clientstyling",e[8]),1024&t[0]&&G(i,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(i)}}}function ud(e){let n,a,i;return{c(){n=ge("br"),a=he(),fe(i=ge("slot"),"name","je-jackpots-widget"),fe(i,"class",at(e[86])?"":"JackpotsContainer")},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p:A,d(e){e&&me(n),e&&me(a),e&&me(i)}}}function md(e){let n,a,i,r;return{c(){n=ge("br"),a=he(),G(i=ge("casino-jackpot-banner"),"title","Jackpot Cards"),G(i,"currency",r=e[4]||"RON"),G(i,"gameid","999"),G(i,"endpoint",e[1]),G(i,"lang",e[5]),G(i,"backgroundsrc","/assets/background0.jpg"),G(i,"backgroundsrcmobile","/assets/background0.jpg"),G(i,"titlelogopath","/assets/jackpots_logo.svg"),G(i,"caticon0","/assets/icon0.svg"),G(i,"caticon1","/assets/icon1.svg"),G(i,"caticon2","/assets/icon2.svg"),G(i,"caticon3","/assets/icon3.svg"),G(i,"visualstructure","typeSpread"),G(i,"clientstyling",e[8]),G(i,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p(e,t){16&t[0]&&r!==(r=e[4]||"RON")&&G(i,"currency",r),2&t[0]&&G(i,"endpoint",e[1]),32&t[0]&&G(i,"lang",e[5]),256&t[0]&&G(i,"clientstyling",e[8]),1024&t[0]&&G(i,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(i)}}}function gd(e){let n,a,i,r;return{c(){n=ge("br"),a=he(),G(i=ge("casino-jackpot-banner"),"title","Egypt Quest"),G(i,"currency",r=e[4]||"RON"),G(i,"gameid","998"),G(i,"endpoint",e[1]),G(i,"lang",e[5]),G(i,"backgroundsrc",e[44]),G(i,"backgroundsrcmobile",e[45]),G(i,"titlelogopath",e[46]),G(i,"caticon0",e[40]),G(i,"caticon1",e[41]),G(i,"caticon2",e[42]),G(i,"caticon3",e[43]),G(i,"iconlabels",e[47]),G(i,"visualstructure",e[48]),G(i,"clientstyling",e[8]),G(i,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,i,t)},p(e,t){16&t[0]&&r!==(r=e[4]||"RON")&&G(i,"currency",r),2&t[0]&&G(i,"endpoint",e[1]),32&t[0]&&G(i,"lang",e[5]),8192&t[1]&&G(i,"backgroundsrc",e[44]),16384&t[1]&&G(i,"backgroundsrcmobile",e[45]),32768&t[1]&&G(i,"titlelogopath",e[46]),512&t[1]&&G(i,"caticon0",e[40]),1024&t[1]&&G(i,"caticon1",e[41]),2048&t[1]&&G(i,"caticon2",e[42]),4096&t[1]&&G(i,"caticon3",e[43]),65536&t[1]&&G(i,"iconlabels",e[47]),131072&t[1]&&G(i,"visualstructure",e[48]),256&t[0]&&G(i,"clientstyling",e[8]),1024&t[0]&&G(i,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(i)}}}function pd(e){let n;return{c(){G(n=ge("casino-collections-providers"),"endpoint",e[1]),G(n,"datasource",e[3]),G(n,"lang",e[5]),G(n,"type","vendor"),G(n,"titletype","logo"),G(n,"collectionprovidersgamenames",e[52]),G(n,"clientstyling",e[8]),G(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&G(n,"endpoint",e[1]),8&t[0]&&G(n,"datasource",e[3]),32&t[0]&&G(n,"lang",e[5]),2097152&t[1]&&G(n,"collectionprovidersgamenames",e[52]),256&t[0]&&G(n,"clientstyling",e[8]),1024&t[0]&&G(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function hd(e){let n;return{c(){G(n=ge("casino-collections-providers"),"endpoint",e[1]),G(n,"datasource",e[3]),G(n,"lang",e[5]),G(n,"type",e[50]),G(n,"collectionprovidersgamenames",e[52]),G(n,"titletype",e[51]),G(n,"clientstyling",e[8]),G(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&G(n,"endpoint",e[1]),8&t[0]&&G(n,"datasource",e[3]),32&t[0]&&G(n,"lang",e[5]),524288&t[1]&&G(n,"type",e[50]),2097152&t[1]&&G(n,"collectionprovidersgamenames",e[52]),1048576&t[1]&&G(n,"titletype",e[51]),256&t[0]&&G(n,"clientstyling",e[8]),1024&t[0]&&G(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function fd(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y=n[26]&&n[127]==+n[26]&&cd(n),v=n[56]&&n[127]==+n[56]&&dd(n),b=n[67]&&n[127]==+n[67]&&ud(n);function w(e,t){return 256&t[1]|4194304&t[2]&&(o=null),256&t[1]|4194304&t[2]&&(s=null),(o=null==o?!(!e[39]||e[127]!=(""==e[39].split(",")[0]?e[84].length:+e[39].split(",")[0])):o)?gd:(s=null==s?!(!e[39]||e[127]!=(""==e[39].split(",")[1]?e[84].length:+e[39].split(",")[1])):s)?md:void 0}let x=w(n,[-1,-1,-1,-1,-1]),$=x&&x(n);function C(e,t){return 262144&t[1]|4194304&t[2]&&(c=null),262144&t[1]|4194304&t[2]&&(d=null),(c=null==c?!(!e[49]||e[127]!=(""==e[49].split(",")[0]?e[84].length:+e[49].split(",")[0])):c)?hd:(d=null==d?!(!e[49]||e[127]!=(""==e[49].split(",")[1]?e[84].length:+e[49].split(",")[1])):d)?pd:void 0}let k=C(n,[-1,-1,-1,-1,-1]),F=k&&k(n);return{c(){y&&y.c(),a=he(),v&&v.c(),i=he(),b&&b.c(),r=he(),$&&$.c(),l=he(),F&&F.c(),u=he(),G(m=ge("casino-games-category-section-nd"),"session",n[6]),G(m,"userid",n[7]),G(m,"endpoint",n[1]),G(m,"datasource",n[3]),G(m,"lang",n[5]),G(m,"currency",n[4]),G(m,"categoryid",g=n[125]),G(m,"categoryindex",n[127]),G(m,"categorygames","9"),G(m,"fetchviaevent",n[66]),G(m,"favorites",n[15]),G(m,"showgamename",n[19]),G(m,"translationurl",n[11]),G(m,"class","CategoryContainer"),S(m,"background-color",n[127]%2!=0?n[13]:"transparent"),G(m,"clientstyling",n[8]),G(m,"clientstylingurl",n[10]),G(m,"livecasino",n[20]),G(m,"visiblegames",n[14]),G(m,"gamepagemodalurl",n[24]),G(m,"integratedgameframedesktop",n[31]),G(m,"integratedgameframemobile",n[32]),G(m,"casinomygames",n[0]),G(m,"filterbylogo",n[55]),G(m,"addfilterselector",n[53]),G(m,"addsortingselector",n[54]),G(m,"casinogamesgridslider",n[25])},m(e,t){y&&y.m(e,t),ue(e,a,t),v&&v.m(e,t),ue(e,i,t),b&&b.m(e,t),ue(e,r,t),$&&$.m(e,t),ue(e,l,t),F&&F.m(e,t),ue(e,u,t),ue(e,m,t),h||(f=M(p=n[87].call(null,m,n[125])),h=!0)},p(e,t){(n=e)[26]&&n[127]==+n[26]?y?y.p(n,t):((y=cd(n)).c(),y.m(a.parentNode,a)):y&&(y.d(1),y=null),n[56]&&n[127]==+n[56]?v?v.p(n,t):((v=dd(n)).c(),v.m(i.parentNode,i)):v&&(v.d(1),v=null),n[67]&&n[127]==+n[67]?b?b.p(n,t):((b=ud(n)).c(),b.m(r.parentNode,r)):b&&(b.d(1),b=null),x===(x=w(n,t))&&$?$.p(n,t):($&&$.d(1),($=x&&x(n))&&($.c(),$.m(l.parentNode,l))),k===(k=C(n,t))&&F?F.p(n,t):(F&&F.d(1),(F=k&&k(n))&&(F.c(),F.m(u.parentNode,u))),64&t[0]&&G(m,"session",n[6]),128&t[0]&&G(m,"userid",n[7]),2&t[0]&&G(m,"endpoint",n[1]),8&t[0]&&G(m,"datasource",n[3]),32&t[0]&&G(m,"lang",n[5]),16&t[0]&&G(m,"currency",n[4]),4194304&t[2]&&g!==(g=n[125])&&G(m,"categoryid",g),16&t[2]&&G(m,"fetchviaevent",n[66]),32768&t[0]&&G(m,"favorites",n[15]),524288&t[0]&&G(m,"showgamename",n[19]),2048&t[0]&&G(m,"translationurl",n[11]),8192&t[0]&&S(m,"background-color",n[127]%2!=0?n[13]:"transparent"),256&t[0]&&G(m,"clientstyling",n[8]),1024&t[0]&&G(m,"clientstylingurl",n[10]),1048576&t[0]&&G(m,"livecasino",n[20]),16384&t[0]&&G(m,"visiblegames",n[14]),16777216&t[0]&&G(m,"gamepagemodalurl",n[24]),1&t[1]&&G(m,"integratedgameframedesktop",n[31]),2&t[1]&&G(m,"integratedgameframemobile",n[32]),1&t[0]&&G(m,"casinomygames",n[0]),16777216&t[1]&&G(m,"filterbylogo",n[55]),4194304&t[1]&&G(m,"addfilterselector",n[53]),8388608&t[1]&&G(m,"addsortingselector",n[54]),33554432&t[0]&&G(m,"casinogamesgridslider",n[25]),p&&L(p.update)&&4194304&t[2]&&p.update.call(null,n[125])},d(e){y&&y.d(e),e&&me(a),v&&v.d(e),e&&me(i),b&&b.d(e),e&&me(r),$&&$.d(e),e&&me(l),F&&F.d(e),e&&me(u),e&&me(m),h=!1,f()}}}function yd(n){let a,i,r,o=n[85]("breakButton")+"";return{c(){a=ge("div"),i=ge("button"),r=pe(o),fe(i,"class","PanicButton "+("PC"!==it(n[86])?"PanicButtonMobile ":"")),B(i,"PanicButtonAnimation",n[80]),fe(a,"class","PanicSection "+("PC"!==it(n[86])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[90](i)},p(e,t){8388608&t[2]&&o!==(o=e[85]("breakButton")+"")&&ye(r,o),262144&t[2]&&B(i,"PanicButtonAnimation",e[80])},d(e){e&&me(a),n[90](null)}}}function vd(n){let a,i,r;function o(e){return e[78]?td:ed}let s=o(n),l=s(n);return{c(){a=ge("script"),i=he(),r=ge("div"),l.c(),this.c=A,fe(a,"type","module"),ce(a.src,"https://unpkg.com/@everymatrix/casino-play-random-game")||fe(a,"src","https://unpkg.com/@everymatrix/casino-play-random-game")},m(e,t){de(Xc.head,a),ue(e,i,t),ue(e,r,t),l.m(r,null),n[91](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null)))},i:A,o:A,d(e){me(a),e&&me(i),e&&me(r),l.d(),n[91](null)}}}let bd=!1;function wd(n,e,i){let D;rt(n,ai,e=>i(85,D=e));let N,{endpoint:r=""}=e,{env:A=""}=e,{datasource:o=""}=e,{currency:B=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{userroles:O=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:z=""}=e,{categorybackground:j=""}=e,a=e["visiblegames"],{favorites:H=""}=e,{haspanicbutton:U="false"}=e,{filteredcategories:g=""}=e,{activecategory:p=""}=e,{showgamename:W=""}=e,{livecasino:Y="false"}=e,{playrandomgame:V="false"}=e,{randomgameslider:Z="false"}=e,{filteredrandomgamecategories:q=""}=e,{gamepagemodalurl:K="false"}=e,{casinogamesgridslider:J="false"}=e,{positionwinnerswidget:X=""}=e,{tabsorder:Q=""}=e,{enableautoscroll:ee=""}=e,{istopavailable:te=""}=e,{isrecentavailable:ne=""}=e,{integratedgameframedesktop:ae="false"}=e,{integratedgameframemobile:ie="false"}=e,{periodrecent:re=""}=e,{periodtop:oe=""}=e,{numberusersrecent:se=""}=e,{numberuserstop:le=""}=e,{amountlimit:ce=""}=e,{defaultcurrency:de=""}=e,{showsubgroups:h=""}=e,{positionjackpotbanners:ue=""}=e,{caticon0:me=""}=e,{caticon1:ge=""}=e,{caticon2:pe=""}=e,{caticon3:he=""}=e,{backgroundsrc:fe=""}=e,{backgroundsrcmobile:ye=""}=e,{titlelogopath:ve=""}=e,{iconlabels:be=""}=e,{visualstructure:we=""}=e,{positioncollections:xe=""}=e,{type:$e=""}=e,{titletype:Ce=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Fe="false"}=e,{addsortingselector:Ge="false"}=e,{filterbylogo:Se=""}=e,{positioncasinocalendar:Le=""}=e,{casinomygames:t="false"}=e,{mostplayed:f=""}=e,{lastplayed:y=""}=e,{lastplayedperiod:Me="Last30Days"}=e,{mostplayedperiod:Ie="Last30Days"}=e,{lastplayedorder:Ee=""}=e,{lastplayedlimit:Te=""}=e,{lastplayedunique:_e="true"}=e,{mostplayedrounds:Re=""}=e,{winnersdatasources:Pe=""}=e,{fetchviaevent:De="true"}=e,{positionjelobbywidget:Ne=""}=e,{specificcategory:Ae=""}=e,{launchbygamecard:Be=""}=e,{iconvisible:Oe=""}=e,{iconvisibleonanim:ze=""}=e,{randombuttonicon:je=""}=e,v=window.navigator.userAgent;N=at(v)?"OpenGameFrame":"ShowGameModal";let b,w,x,$,He,Ue,C,k=!1,F=!1,We=!1,G="",S=!1,L=0,M=!1,I=!0,E=!1,Ye=[],T=[],Ve=!1,_="",Ze=!1;var qe,Ke;({withLocale:qe,translations:Ke}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(Ke),nt.set(qe))}),Object.keys(Ti).forEach(e=>{Ei(e,Ti[e])});const Je=e=>{switch(Ve=!0,i(0,t="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ve},window.location.href)}),e.data.itemId){case"LOBBY":i(82,I=!0),i(81,M=!1),i(74,x="");break;case"MYGAMES":i(0,t="true"),i(82,I=!1),i(81,M=!0),i(74,x="");break;case"FAVORITES":i(82,I=!1),i(81,M=!0),i(74,x="");break;case"MOSTPLAYED":"true"==f&&(i(74,x=""),i(82,I=!1),i(81,M=!0));break;case"LASTPLAYED":"true"==y&&(i(74,x=""),i(82,I=!1),i(81,M=!0));break;default:i(82,I=!1),i(81,M=!1),i(74,x=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href)},2e3)}},Xe=t=>{if(t.data)switch(t.data.type){case"CategoryChange":Je(t);break;case"UserSessionID":t.data.session,t.data.userID;break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:_,origin:t.data.origin},window.location.href);break;case"CategoryVendors":_=t.data.categoryid;break;case"searchCancelled":i(83,E=!1),x&&Je({data:{itemId:x}});break;case"searchActive":i(83,E=!0);break;case"ModalClosed":break;case"SubgroupsIds":T.some(e=>t.data.subGroupsIds.includes(e))||T.push(...t.data.subGroupsIds)}},Qe=()=>{$&&(He=$.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},R=e=>{L=0,w=setInterval(()=>{L+=1,i(80,S=!0),3<=L&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(w))},1e3)},P=e=>{L<3&&i(80,S=!1),clearInterval(w)};return et(()=>(window.addEventListener("scroll",Qe,!1),window.addEventListener("message",Xe,!1),()=>{window.removeEventListener("scroll",Qe),window.removeEventListener("message",Xe),i(80,S=!1),null!=b&&b.removeEventListener("mousedown",R),null!=b&&b.removeEventListener("touchstart",R),null!=b&&b.removeEventListener("mouseup",P),null!=b&&b.removeEventListener("touchend",P)})),n.$$set=e=>{"endpoint"in e&&i(1,r=e.endpoint),"env"in e&&i(2,A=e.env),"datasource"in e&&i(3,o=e.datasource),"currency"in e&&i(4,B=e.currency),"lang"in e&&i(5,s=e.lang),"session"in e&&i(6,l=e.session),"userid"in e&&i(7,c=e.userid),"clientstyling"in e&&i(8,d=e.clientstyling),"userroles"in e&&i(9,O=e.userroles),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,m=e.translationurl),"cmsendpoint"in e&&i(12,z=e.cmsendpoint),"categorybackground"in e&&i(13,j=e.categorybackground),"visiblegames"in e&&i(14,a=e.visiblegames),"favorites"in e&&i(15,H=e.favorites),"haspanicbutton"in e&&i(16,U=e.haspanicbutton),"filteredcategories"in e&&i(17,g=e.filteredcategories),"activecategory"in e&&i(18,p=e.activecategory),"showgamename"in e&&i(19,W=e.showgamename),"livecasino"in e&&i(20,Y=e.livecasino),"playrandomgame"in e&&i(21,V=e.playrandomgame),"randomgameslider"in e&&i(22,Z=e.randomgameslider),"filteredrandomgamecategories"in e&&i(23,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&i(24,K=e.gamepagemodalurl),"casinogamesgridslider"in e&&i(25,J=e.casinogamesgridslider),"positionwinnerswidget"in e&&i(26,X=e.positionwinnerswidget),"tabsorder"in e&&i(27,Q=e.tabsorder),"enableautoscroll"in e&&i(28,ee=e.enableautoscroll),"istopavailable"in e&&i(29,te=e.istopavailable),"isrecentavailable"in e&&i(30,ne=e.isrecentavailable),"integratedgameframedesktop"in e&&i(31,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(32,ie=e.integratedgameframemobile),"periodrecent"in e&&i(33,re=e.periodrecent),"periodtop"in e&&i(34,oe=e.periodtop),"numberusersrecent"in e&&i(35,se=e.numberusersrecent),"numberuserstop"in e&&i(36,le=e.numberuserstop),"amountlimit"in e&&i(37,ce=e.amountlimit),"defaultcurrency"in e&&i(38,de=e.defaultcurrency),"showsubgroups"in e&&i(88,h=e.showsubgroups),"positionjackpotbanners"in e&&i(39,ue=e.positionjackpotbanners),"caticon0"in e&&i(40,me=e.caticon0),"caticon1"in e&&i(41,ge=e.caticon1),"caticon2"in e&&i(42,pe=e.caticon2),"caticon3"in e&&i(43,he=e.caticon3),"backgroundsrc"in e&&i(44,fe=e.backgroundsrc),"backgroundsrcmobile"in e&&i(45,ye=e.backgroundsrcmobile),"titlelogopath"in e&&i(46,ve=e.titlelogopath),"iconlabels"in e&&i(47,be=e.iconlabels),"visualstructure"in e&&i(48,we=e.visualstructure),"positioncollections"in e&&i(49,xe=e.positioncollections),"type"in e&&i(50,$e=e.type),"titletype"in e&&i(51,Ce=e.titletype),"collectionprovidersgamenames"in e&&i(52,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&i(53,Fe=e.addfilterselector),"addsortingselector"in e&&i(54,Ge=e.addsortingselector),"filterbylogo"in e&&i(55,Se=e.filterbylogo),"positioncasinocalendar"in e&&i(56,Le=e.positioncasinocalendar),"casinomygames"in e&&i(0,t=e.casinomygames),"mostplayed"in e&&i(57,f=e.mostplayed),"lastplayed"in e&&i(58,y=e.lastplayed),"lastplayedperiod"in e&&i(59,Me=e.lastplayedperiod),"mostplayedperiod"in e&&i(60,Ie=e.mostplayedperiod),"lastplayedorder"in e&&i(61,Ee=e.lastplayedorder),"lastplayedlimit"in e&&i(62,Te=e.lastplayedlimit),"lastplayedunique"in e&&i(63,_e=e.lastplayedunique),"mostplayedrounds"in e&&i(64,Re=e.mostplayedrounds),"winnersdatasources"in e&&i(65,Pe=e.winnersdatasources),"fetchviaevent"in e&&i(66,De=e.fetchviaevent),"positionjelobbywidget"in e&&i(67,Ne=e.positionjelobbywidget),"specificcategory"in e&&i(68,Ae=e.specificcategory),"launchbygamecard"in e&&i(69,Be=e.launchbygamecard),"iconvisible"in e&&i(70,Oe=e.iconvisible),"iconvisibleonanim"in e&&i(71,ze=e.iconvisibleonanim),"randombuttonicon"in e&&i(72,je=e.randombuttonicon)},n.$$.update=()=>{if(262176&n.$$.dirty[0]&&s&&p&&(i(74,x=p),Je({data:{itemId:x}})),194&n.$$.dirty[0]&&l&&c&&r&&i(79,We=!0),134221824&n.$$.dirty[2]&&x&&T&&T&&!T.includes(decodeURI(x))&&""!=x&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&r&&o&&s&&(r||(G="Endpoint is missing! Please provide a valid endpointURL.",i(78,F=!0),i(77,k=!1),console.error(G)),o||(G="Datasource is missing! Please provide a valid datasource.",i(78,F=!0),i(77,k=!1),console.error(G)),(!s||s.length<2)&&(G="Language is missing! Please provide a valid language (alpha2code)",i(78,F=!0),i(77,k=!1),console.error(G)),F||(i(77,k=!0),t=s,nt.set(t),(t=new URL(r+"/v1/casino/groups/"+o)).searchParams.append("language",s),t.searchParams.append("platform",it(v)),a=t,new Promise((t,n)=>{i(77,k=!0),fetch(a).then(e=>e.json()).then(e=>{i(77,k=!1),t(e)}).catch(e=>{i(78,F=!0),i(77,k=!1),console.error(e),n(e)})}).then(e=>{let a=g.split(",");e&&(Ue=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,g))for(var n of a)e.flags==n&&(t=!1);return t}),i(84,Ye=Ue.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==h)}).map(e=>e.id)),i(89,T=e.items.map(e=>e.id.toString())),i(77,k=!1))}),$=void 0)),32&n.$$.dirty[0]&&s&&(Ze&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href)},500),Ze=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ei(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|8192&n.$$.dirty[2]&&d&&C&&((e=document.createElement("style")).innerHTML=d,C.appendChild(e)),1024&n.$$.dirty[0]|8192&n.$$.dirty[2]&&u&&C){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{C.appendChild(t)},1)})}var e,a,t;2048&n.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",R,!1),null!=b&&b.addEventListener("touchstart",R,!1),null!=b&&b.addEventListener("mouseup",P,!1),null!=b)&&b.addEventListener("touchend",P,!1)},[t,r,A,o,B,s,l,c,d,O,u,m,z,j,a,H,U,g,p,W,Y,V,Z,q,K,J,X,Q,ee,te,ne,ae,ie,re,oe,se,le,ce,de,ue,me,ge,pe,he,fe,ye,ve,be,we,xe,$e,Ce,ke,Fe,Ge,Se,Le,f,y,Me,Ie,Ee,Te,_e,Re,Pe,De,Ne,Ae,Be,Oe,ze,je,b,x,C,N,k,F,We,S,M,I,E,Ye,D,v,(e,t)=>{_=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:a,receivedFavoriteResults:void 0},window.location.href)},h,T,function(e){tt[e?"unshift":"push"](()=>{b=e,i(73,b)})},function(e){tt[e?"unshift":"push"](()=>{C=e,i(75,C)})}]}function xd(e,{delay:t=0,duration:n=400,easing:a=b}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:a,css:e=>"opacity: "+e*i}}function $d(n){let a,i,r,o,s,l,c,d,t,u,m,g;return{c(){a=ge("div"),i=ge("div"),(r=ge("div")).innerHTML="<slot></slot>",o=he(),s=ge("span"),(l=ge("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,"role","button"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow"),fe(i,"id","Modal"),q(()=>n[19].call(i)),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(i,o),de(i,s),de(s,l),n[18](i),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=ge("iframe"),a=(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===E){E=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){E=!0}}return E}());let i;return a?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=U(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=U(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(a||i&&n.contentWindow)&&i(),me(n)}}(i,n[19].bind(i)),n[20](a),u=!0,m||(g=U(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||(q(()=>{u&&(t=t||re(i,xd,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||re(i,xd,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(a),n[18](null),d(),e&&t&&t.end(),n[20](null),m=!1,g()}}}function Cd(e){let n,a,i=e[7]&&$d(e);return{c(){i&&i.c(),n=c(),this.c=A},m(e,t){i&&i.m(e,t),ue(e,n,t),a=!0},p(e,[t]){e[7]?i?(i.p(e,t),128&t&&ne(i,1)):((i=$d(e)).c(),ne(i,1),i.m(n.parentNode,n)):i&&(te={r:0,c:[],p:te},ae(i,1,1,()=>{i=null}),te.r||z(te.c),te=te.p)},i(e){a||(ne(i),a=!0)},o(e){ae(i),a=!1},d(e){i&&i.d(e),e&&me(n)}}}function kd(t,e,n){let a,i,r,o,{duration:s=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:m=""}=e,{endpoint:g=""}=e,{haspanicbutton:p="false"}=e,{gamepagemodalurl:h="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,v=window.navigator.userAgent,b=!1,w=!1,x=!1;const $=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,x=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"true"!==y&&!at(v)||n(7,x=!1),"ShowGameModal"===e.data.type&&(n(7,x=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,x=!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:a?getComputedStyle(a).width:null,modalHeight:a?getComputedStyle(a).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(a).width,modalHeight:getComputedStyle(a).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return et(()=>(n(3,b=at(v)),window.addEventListener("message",$,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),t.$$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),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,m=e.clientstylingurl),"endpoint"in e&&n(14,g=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,h=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&g&&"true"==f&&ri(g,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&t.$$.dirty&&d&&i&&((e=document.createElement("style")).innerHTML=d,i.appendChild(e)),8196&t.$$.dirty&&m&&i){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)})}var e},[s,p,i,b,a,void 0,void 0,x,()=>{n(7,x=!1),n(3,b=at(v)),window.postMessage({type:"ModalClosed",gamepagemodalurl:h,mobileView:b,closeIntegratedGameFrameDesktop:!0},window.location.href)},l,c,d,u,m,g,h,f,y,function(e){tt[e?"unshift":"push"](()=>{a=e,n(4,a)})},function(){r=this.clientWidth,o=this.clientHeight,n(5,r),n(6,o)},function(e){tt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Fd(e,t){s(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-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,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},wd,vd,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,randomgameslider:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:88,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,fetchviaevent:66,positionjelobbywidget:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,randombuttonicon:72},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","randomgameslider","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","fetchviaevent","positionjelobbywidget","specificcategory","launchbygamecard","iconvisible","iconvisibleonanim","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[19]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get randomgameslider(){return this.$$.ctx[22]}set randomgameslider(e){this.$$set({randomgameslider:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[88]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get fetchviaevent(){return this.$$.ctx[66]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(e){this.$$set({specificcategory:e}),m()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(e){this.$$set({launchbygamecard:e}),m()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(e){this.$$set({iconvisible:e}),m()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(e){this.$$set({iconvisibleonanim:e}),m()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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)}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},kd,Cd,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}});const Gd={en:{signIn:"LOGIN",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-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",loading:"Es lädt, bitte warten..."},it:{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",loading:"Loading, please wait..."},fr:{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:{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",loading:"Cargando por favor espere ..."},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",loading:"Yükleniyor, lütfen bekleyin..."},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off",loading:"Loading, please wait..."},ro:{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",loading:"Se incarca, te rugam asteapta…"},hr:{signIn:"PRIJAVA",register:"REGISTRACIJA",deposit:"UPLATA",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",loading:"Učitavanje"},hu:{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",loading:"Betöltés, kérjük várjon..."},pl:{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",loading:"Loading, please wait..."},pt:{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",loading:"Carregando, por favor espere ..."},sl:{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",loading:"Loading, please wait..."},sr:{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",loading:"Loading, please wait..."},"pt-br":{signIn:"ENTRAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Pressione o botão por 3 segundos para uma pausa de 24 horas",Loading:"Carregando, por favor espere..."},"es-mx":{signIn:"INGRESAR",register:"REGISTRO",deposit:"DEPÓSITO",playForFun:"Jugar Por Diversión",playNow:"Comenzar ahora!",breakButton:"Presionar botón 3 segundos para un bloqueo de 24 horas",Loading:"Cargando, por favor espere..."}};function Sd(n){let a,i,r=n[13]&&Id(n);return{c(){a=ge("div"),i=ge("div"),r&&r.c(),fe(i,"class","CasinoGamePageContainer"),S(i,"background","rgba(0, 0, 0, 0.5)"),fe(a,"class","GamePageBackground"),S(a,"background",n[22]?"":`url(${n[12].backgroundImageUrl})`),S(a,"background-size","cover")},m(e,t){ue(e,a,t),de(a,i),r&&r.m(i,null),n[85](a)},p(e,t){e[13]?r?r.p(e,t):((r=Id(e)).c(),r.m(i,null)):r&&(r.d(1),r=null),4198400&t[0]&&S(a,"background",e[22]?"":`url(${e[12].backgroundImageUrl})`)},d(e){e&&me(a),r&&r.d(),n[85](null)}}}function Ld(e){let n;return{c(){(n=ge("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:A,d(e){e&&me(n)}}}function Md(e){let n,a,i=e[26]("loading")+"";return{c(){n=ge("p"),a=pe(i),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){67108864&t[0]&&i!==(i=e[26]("loading")+"")&&ye(a,i)},d(e){e&&me(n)}}}function Id(e){let n;function a(e){return e[22]?_d:e[6]?Td:e[7]?void 0:Ed}let i=a(e),r=i&&i(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r&&r.d(1),(r=i&&i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&me(n)}}}function Ed(e){let n;function a(e){return e[14]?Pd:Rd}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Td(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w=n[26]("deposit")+"",x="true"===n[1]&&Ad(n);function $(e){return e[19]?Od:Bd}let C=$(n),k=C(n);return{c(){a=ge("div"),i=ge("div"),r=ge("iframe"),s=he(),l=ge("div"),c=ge("button"),d=pe(w),u=he(),m=ge("p"),g=ge("span"),p=pe(n[4]),h=he(),x&&x.c(),f=he(),k.c(),fe(r,"title","Games"),fe(r,"id","IframeGame"),fe(r,"class","GamesContainer"),fe(r,"aria-hidden","false"),ce(r.src,o=n[12].launchUrl)||fe(r,"src",o),fe(c,"class","DepositButton"),fe(m,"class","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"style",n[25]),fe(a,"id","IframeContainer"),S(a,"width",n[20]),S(a,"height",n[21]),B(a,"FullsScreenLayout",n[19])},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[65](r),de(i,s),de(i,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,g),de(g,p),n[67](m),de(l,h),x&&x.m(l,null),de(l,f),k.m(l,null),n[71](l),n[72](i),n[73](a),v||(b=U(c,"click",n[66]),v=!0)},p(e,t){4096&t[0]&&!ce(r.src,o=e[12].launchUrl)&&fe(r,"src",o),67108864&t[0]&&w!==(w=e[26]("deposit")+"")&&ye(d,w),16&t[0]&&ye(p,e[4]),"true"===e[1]?x?x.p(e,t):((x=Ad(e)).c(),x.m(l,f)):x&&(x.d(1),x=null),C===(C=$(e))&&k?k.p(e,t):(k.d(1),(k=C(e))&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),33554432&t[0]&&fe(i,"style",e[25]),1048576&t[0]&&S(a,"width",e[20]),2097152&t[0]&&S(a,"height",e[21]),524288&t[0]&&B(a,"FullsScreenLayout",e[19])},d(e){e&&me(a),n[65](null),n[67](null),x&&x.d(),k.d(),n[71](null),n[72](null),n[73](null),v=!1,b()}}}function _d(e){let n;function a(e){return e[6]?Hd:e[15]&&!e[7]?jd:e[7]?void 0:zd}let i=a(e),r=i&&i(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r&&r.d(1),(r=i&&i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&me(n)}}}function Rd(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x=n[12].name+"",$=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){a=ge("div"),i=ge("h3"),r=pe(x),o=he(),s=ge("img"),c=he(),d=ge("div"),u=ge("button"),m=pe($),g=he(),p=ge("button"),h=pe(C),f=he(),y=ge("p"),v=pe(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(p,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(a,"class","GameDetails"),fe(a,"part","GameDetails")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,o),de(a,s),de(a,c),de(a,d),de(d,u),de(u,m),de(d,g),de(d,p),de(p,h),de(a,f),de(a,y),de(y,v),b||(w=[U(u,"click",n[83]),U(p,"click",n[84])],b=!0)},p(e,t){4096&t[0]&&x!==(x=e[12].name+"")&&ye(r,x),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&$!==($=e[26]("signIn")+"")&&ye(m,$),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(h,C),16&t[0]&&ye(v,e[4])},d(e){e&&me(a),b=!1,z(w)}}}function Pd(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$=n[26]("signIn")+"",C=n[26]("register")+"";function k(e){return e[19]?Nd:Dd}let F=k(n),G=F(n);return{c(){a=ge("div"),i=ge("div"),r=ge("iframe"),s=he(),l=ge("div"),c=ge("div"),d=ge("button"),u=pe($),m=he(),g=ge("button"),p=pe(C),h=he(),f=ge("p"),y=ge("span"),v=pe(n[4]),b=he(),G.c(),fe(r,"title","Games"),fe(r,"id","IframeGame"),fe(r,"class","GamesContainer"),fe(r,"aria-hidden","false"),ce(r.src,o=n[12].launchUrl)||fe(r,"src",o),fe(d,"class","LoginButton"),fe(g,"class","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(f,"class","Time"),fe(l,"class","BottomGame"),fe(i,"id","IframeGame"),fe(i,"style",n[25]),fe(a,"id","IframeContainer"),S(a,"width",n[20]),S(a,"height",n[21]),B(a,"FullsScreenLayout",n[19])},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[74](r),de(i,s),de(i,l),de(l,c),de(c,d),de(d,u),de(c,m),de(c,g),de(g,p),de(l,h),de(l,f),de(f,y),de(y,v),n[77](f),de(l,b),G.m(l,null),n[80](l),n[81](i),n[82](a),w||(x=[U(d,"click",n[75]),U(g,"click",n[76])],w=!0)},p(e,t){4096&t[0]&&!ce(r.src,o=e[12].launchUrl)&&fe(r,"src",o),67108864&t[0]&&$!==($=e[26]("signIn")+"")&&ye(u,$),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(p,C),16&t[0]&&ye(v,e[4]),F===(F=k(e))&&G?G.p(e,t):(G.d(1),(G=F(e))&&(G.c(),G.m(l,null))),33554432&t[0]&&fe(i,"style",e[25]),1048576&t[0]&&S(a,"width",e[20]),2097152&t[0]&&S(a,"height",e[21]),524288&t[0]&&B(a,"FullsScreenLayout",e[19])},d(e){e&&me(a),n[74](null),n[77](null),G.d(),n[80](null),n[81](null),n[82](null),w=!1,z(x)}}}function Dd(n){let a,i,r;return{c(){(a=ge("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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[79]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function Nd(n){let a,i,r;return{c(){(a=ge("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: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[78]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function Ad(n){let a,i,r,o=n[26]("breakButton")+"";return{c(){a=ge("div"),i=ge("button"),r=pe(o),fe(i,"class","Button"),B(i,"PanicButtonAnimation",n[11]),fe(a,"class","PanicSection")},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[68](i)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(r,o),2048&t[0]&&B(i,"PanicButtonAnimation",e[11])},d(e){e&&me(a),n[68](null)}}}function Bd(n){let a,i,r;return{c(){(a=ge("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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[70]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function Od(n){let a,i,r;return{c(){(a=ge("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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" 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(a,"class","FullscreenButton")},m(e,t){ue(e,a,t),i||(r=U(a,"click",n[69]),i=!0)},p:A,d(e){e&&me(a),i=!1,r()}}}function zd(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x=n[12].name+"",$=n[26]("signIn")+"",C=n[26]("register")+"";return{c(){a=ge("div"),i=ge("h3"),r=pe(x),o=he(),s=ge("img"),c=he(),d=ge("div"),u=ge("button"),m=pe($),g=he(),p=ge("button"),h=pe(C),f=he(),y=ge("p"),v=pe(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(p,"class","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(a,"class","GameDetails"),fe(a,"part","GameDetails")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,o),de(a,s),de(a,c),de(a,d),de(d,u),de(u,m),de(d,g),de(d,p),de(p,h),de(a,f),de(a,y),de(y,v),b||(w=[U(u,"click",n[63]),U(p,"click",n[64])],b=!0)},p(e,t){4096&t[0]&&x!==(x=e[12].name+"")&&ye(r,x),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&$!==($=e[26]("signIn")+"")&&ye(m,$),67108864&t[0]&&C!==(C=e[26]("register")+"")&&ye(h,C),16&t[0]&&ye(v,e[4])},d(e){e&&me(a),b=!1,z(w)}}}function jd(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,C,k=n[12].name+"",F=n[26]("signIn")+"",G=n[26]("register")+"",S=n[26]("playForFun")+"";return{c(){a=ge("div"),i=ge("h3"),r=pe(k),o=he(),s=ge("img"),c=he(),d=ge("div"),u=ge("button"),m=pe(F),g=he(),p=ge("button"),h=pe(G),f=he(),y=ge("button"),v=pe(S),b=he(),w=ge("p"),x=pe(n[4]),ce(s.src,l=n[12].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(p,"class","RegisterButton"),fe(y,"class","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(a,"class","GameDetails")},m(e,t){ue(e,a,t),de(a,i),de(i,r),de(a,o),de(a,s),de(a,c),de(a,d),de(d,u),de(u,m),de(d,g),de(d,p),de(p,h),de(d,f),de(d,y),de(y,v),de(a,b),de(a,w),de(w,x),$||(C=[U(u,"click",n[60]),U(p,"click",n[61]),U(y,"click",n[62])],$=!0)},p(e,t){4096&t[0]&&k!==(k=e[12].name+"")&&ye(r,k),4096&t[0]&&!ce(s.src,l=e[12].thumbnail)&&fe(s,"src",l),67108864&t[0]&&F!==(F=e[26]("signIn")+"")&&ye(m,F),67108864&t[0]&&G!==(G=e[26]("register")+"")&&ye(h,G),67108864&t[0]&&S!==(S=e[26]("playForFun")+"")&&ye(v,S),16&t[0]&&ye(x,e[4])},d(e){e&&me(a),$=!1,z(C)}}}function Hd(n){let a,i,r,o,s,l,c,d,u,m,g,p,h,f,y,v,b,w,x,$,C=n[12].name+"",k=n[26]("deposit")+"",F=n[26]("playNow")+"",G="true"==n[0]&&Ud(n),S="true"===n[1]&&qd(n);return{c(){G&&G.c(),a=he(),i=ge("div"),r=ge("h3"),o=pe(C),s=he(),l=ge("img"),d=he(),u=ge("div"),m=ge("button"),g=pe(k),p=he(),h=ge("button"),f=pe(F),y=he(),S&&S.c(),v=he(),b=ge("p"),w=pe(n[4]),ce(l.src,c=n[12].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(m,"class","DepositButton"),fe(h,"class","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(i,"class","GameDetails")},m(e,t){G&&G.m(e,t),ue(e,a,t),ue(e,i,t),de(i,r),de(r,o),de(i,s),de(i,l),de(i,d),de(i,u),de(u,m),de(m,g),de(u,p),de(u,h),de(h,f),de(i,y),S&&S.m(i,null),de(i,v),de(i,b),de(b,w),x||($=[U(m,"click",n[57]),U(h,"click",n[58])],x=!0)},p(e,t){"true"==e[0]?G?G.p(e,t):((G=Ud(e)).c(),G.m(a.parentNode,a)):G&&(G.d(1),G=null),4096&t[0]&&C!==(C=e[12].name+"")&&ye(o,C),4096&t[0]&&!ce(l.src,c=e[12].thumbnail)&&fe(l,"src",c),67108864&t[0]&&k!==(k=e[26]("deposit")+"")&&ye(g,k),67108864&t[0]&&F!==(F=e[26]("playNow")+"")&&ye(f,F),"true"===e[1]?S?S.p(e,t):((S=qd(e)).c(),S.m(i,v)):S&&(S.d(1),S=null),16&t[0]&&ye(w,e[4])},d(e){G&&G.d(e),e&&me(a),e&&me(i),S&&S.d(),x=!1,z($)}}}function Ud(e){let n;function a(e){return e[8]?Wd:Yd}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Wd(e){let n,a,i,r;return{c(){n=ge("div"),a=ge("div"),i=ge("div"),fe(n,"class",r="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))},m(e,t){ue(e,n,t),de(n,a),de(n,i)},p(e,t){2&t[0]&&r!==(r="LoaderRipple "+("true"==e[1]?"LoaderWithPanicButton":""))&&fe(n,"class",r)},d(e){e&&me(n)}}}function Yd(e){let n;function a(e){return e[12].isFavorite?Zd:Vd}let i=a(e),r=i(e);return{c(){r.c(),n=c()},m(e,t){r.m(e,t),ue(e,n,t)},p(e,t){i===(i=a(e))&&r?r.p(e,t):(r.d(1),(r=i(e))&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&me(n)}}}function Vd(n){let a,i,r,o,s,l;return{c(){a=ge("div"),i=H("svg"),S(r=H("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),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,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),S(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(a,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),s||(l=U(a,"click",n[56]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function Zd(n){let a,i,r,o,s,l;return{c(){a=ge("div"),i=H("svg"),S(r=H("path"),"fill","var(--emfe-w-color-white, #FFFFFF)"),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(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(a,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),s||(l=U(a,"click",n[55]),s=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function qd(n){let a,i,r,o=n[26]("breakButton")+"";return{c(){a=ge("div"),i=ge("button"),r=pe(o),fe(i,"class","PanicButton "+("PC"!==it(n[27])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[11]),fe(a,"class","PanicSection "+("PC"!==it(n[27])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,i),de(i,r),n[59](i)},p(e,t){67108864&t[0]&&o!==(o=e[26]("breakButton")+"")&&ye(r,o),2048&t[0]&&B(i,"PanicButtonAnimation",e[11])},d(e){e&&me(a),n[59](null)}}}function Kd(n){let a;function i(e){return e[10]?Md:e[9]?Ld:Sd}let r=i(n),o=r(n);return{c(){a=ge("div"),o.c(),this.c=A},m(e,t){ue(e,a,t),o.m(a,null),n[86](a)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(a,null)))},i:A,o:A,d(e){e&&me(a),o.d(),n[86](null)}}}function Jd(n,e,i){let D,N;rt(n,ai,e=>i(26,N=e));let A,t,a,r,B,o,s,l,c,O,z,d,u,j,H,m,g,p,h,{endpoint:f=""}=e,{lang:y=""}=e,{session:v=""}=e,{userid:b=""}=e,{clientstyling:w=""}=e,{clientstylingurl:x=""}=e,{translationurl:$=""}=e,{favorites:U=""}=e,{loginurl:C=""}=e,{registerurl:W=""}=e,{depositurl:Y=""}=e,{loginevent:V=""}=e,{registerevent:Z=""}=e,{depositevent:q=""}=e,{shortcashierenabled:K=""}=e,{clockformat:J=""}=e,{haspanicbutton:X="false"}=e,{playforfun:Q="true"}=e,{checksession:ee="true"}=e,{integratedgameframedesktop:k="false"}=e,{integratedgameframemobile:te="false"}=e,{gameid:ne=""}=e,F=!1,ae=!1,G=!1,ie=!1,S=!0,re=!1,oe=0,L=!1,se=!1,le=!1,ce=!0,M=!1,I=window.navigator.userAgent,de=!1,E=[],T=[],ue="false",me;var ge,pe;({withLocale:ge,translations:pe}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(pe),nt.set(ge))}),Object.keys(Gd).forEach(e=>{Fd(e,Gd[e])});const he=e=>{var t=new URL(e.launchUrl);return t.searchParams.append("language",y),a&&0<a.length&&(i(6,F=!0),t.searchParams.append("_sid",a),t.searchParams.append("funMode","false")),e.launchUrl=t,e},fe=(t,n)=>{t=new URL(f+"/v1/casino/games/"+t);t.searchParams.append("language",y),t.searchParams.append("expand","vendor"),ce=n||!1,fetch(t.href).then(e=>e.json()).then(e=>{i(12,o=he(e[0])),i(10,S=!1),o.launchUrl&&(i(12,o.isFavorite=$e(o,o.hasFunMode),o),i(8,G=!1))},e=>{console.error("There was an error",e),i(9,ie=!0)}).then(()=>{s&&(ce||(i(20,O=o.width),i(21,z=o.height),j=o.width+"px",H=o.height+"px",d=o.width,u=o.height),ke())}).finally(()=>{i(10,S=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href);{n=v,t=b;let e=f+`/v1/player/${t}/favorites/`,a=(i(10,S=!0),{method:"GET",headers:{"X-SessionID":n}});new Promise((t,n)=>{fetch(e,a).then(e=>e.json()).then(e=>{i(10,S=!1),(E=e.items)?(o&&o.id&&i(12,o.isFavorite=xe(o.id),o),i(8,G=!1),E.forEach(e=>{T.includes(e.id)||T.push(e.id)})):E=[],t(E)}).catch(e=>{console.error(e),n(e)})})}},ye=()=>{null!=r&&r.addEventListener("mousedown",Ee,!1),null!=r&&r.addEventListener("touchstart",Ee,!1),null!=r&&r.addEventListener("mouseup",Te,!1),null!=r&&r.addEventListener("touchend",Te,!1)},ve=()=>{i(11,re=!1),null!=r&&r.removeEventListener("mousedown",Ee),null!=r&&r.removeEventListener("touchstart",Ee),null!=r&&r.removeEventListener("mouseup",Te),null!=r&&r.removeEventListener("touchend",Te)},be=e=>{var t;switch(e.data.type){case"GameLaunchID":fe(e.data.gameId,!0);break;case"LaunchGameFrame":Ce(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":"true"===k||at(I)?(i(54,ue="false"),ve(),at(I)?setTimeout(()=>{i(13,L="true"===te)},500):setTimeout(()=>{i(13,L="true"===k)},500)):"false"===k&&!0!==(null==(t=e.data)?void 0:t.closeIntegratedGameFrameDesktop)&&window.postMessage({type:"DisableScroll"},window.location.href);break;case"UserSessionID":if(0<e.data.session.length){a=e.data.session,e.data.userID,i(6,F=!0);let t=setInterval(()=>{var e;o&&((e=new URL(o.launchUrl)).searchParams.get("_sid")||e.searchParams.append("_sid",a),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(12,o.launchUrl=e,o),clearInterval(t))},250)}break;case"ModalSize":i(20,O=e.data.modalContainerSize.modalWidth),i(21,z=e.data.modalContainerSize.modalHeight)}},we=e=>{var t,n,a;o.isFavorite?(t=`${f}/v1/player/${b}/favorites`,n=v,a=o.id,fetch(t+"/"+a,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+a},window.location.href),window.postMessage({type:"UpdateFavoredList",url:t,sessionID:n}),e.items&&(E=e.items),i(12,o.isFavorite=xe(o.id),o)}),T.includes(a)&&(T=T.filter(e=>e!=a))):(async(t,n,a)=>{T.includes(a.id)||T.push(a.id);let e={items:T},i={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a.id}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:t,sessionID:n}),e.items&&(E=e.items),a.isFavorite=xe(a.id)}).catch(e=>{console.error("Err",e)})})(`${f}/v1/player/${b}/favorites`,v,o)};const xe=t=>-1!==E.findIndex(e=>e.id==t),$e=(e,t)=>(i(15,le="true"==Q&&e.hasAnonymousFunMode),i(14,se="true"==Q&&t),i(13,L=!0),xe(e.id)),Ce=(e,t)=>{e=new URL(f+"/v1/casino/games/"+e);e.searchParams.append("language",y),fetch(e.href).then(e=>e.json()).then(e=>{i(12,o=he(e[0])),i(10,S=!1),o.launchUrl&&(i(12,o.isFavorite=$e(o,t),o),i(8,G=!1))}).finally(()=>{i(10,S=!1)})},ke=()=>{var e=getComputedStyle(s),e=(getComputedStyle(l),parseInt(e.width.slice(0,-2)),parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width)*e,u=parseInt(o.height),j=d?Math.floor(d)+"px":"1280px",H=u?Math.floor(u)+"px":"720px",_e()},Fe=e=>{at(I)?Ge(te):Ge(k)},Ge=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:o.subVendor,gameId:o.id,launchUrl:null==(e=o.launchUrl)?void 0:e.href},window.location.href)},Se=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:L},window.location.href),L&&(s&&ke(),window.addEventListener("ModalSize",be,!1))},_=()=>{V&&(at(I)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:V,transition:"Login"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},R=()=>{Z&&(at(I)&&window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:Z,transition:"Register"},window.location.href)),W&&(window.location=W),"function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Le=e=>{D&&!e?window.postMessage({type:"OpenShortCashier"},window.location.href):q&&(window.postMessage({type:q},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),"function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"}),Y&&!D&&(window.location=Y)};function Me(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!M||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Me,!1),document.addEventListener("mozfullscreenchange",Me,!1),document.addEventListener("fullscreenchange",Me,!1),document.addEventListener("MSFullscreenChange",Me,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(M?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(19,M=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(19,M=!0)))},Ie=(setInterval(()=>{i(4,A=J?Ni().format(J):Ni().format("LTS"))},100),()=>{"true"==ee?ri(f,v).then(e=>{a=e.Guid,e.UserID,i(6,F=!0)},e=>{i(6,F=!1),console.error("err on session",e)}):(a=v,i(6,F=!0))}),Ee=e=>{oe=0,B=setInterval(()=>{oe+=1,i(11,re=!0),3<=oe&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(B))},1e3)},Te=e=>{oe<3&&i(11,re=!1),clearInterval(B)},_e=()=>{var e=M?"100%":j,t=M?"100%":H,n=M||!ce?"none":o.width?Math.floor(o.width)+"px":"1280px",a=M||!ce?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(25,me=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+a),M||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,a=parseInt(getComputedStyle(s).height);h=h||a*Math.max(n,.5),i(16,s.style.height=h+"px",s),i(17,l.style.height=h+"px",l),e&&i(18,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return e=()=>{i(7,ae=(v||b)&&!F)},Re().$$.before_update.push(e),et(()=>(window.addEventListener("resize",Se,!1),window.addEventListener("message",be,!1),()=>{ve(),window.removeEventListener("resize",Se),window.removeEventListener("message",be)})),n.$$set=e=>{"endpoint"in e&&i(34,f=e.endpoint),"lang"in e&&i(35,y=e.lang),"session"in e&&i(36,v=e.session),"userid"in e&&i(37,b=e.userid),"clientstyling"in e&&i(38,w=e.clientstyling),"clientstylingurl"in e&&i(39,x=e.clientstylingurl),"translationurl"in e&&i(40,$=e.translationurl),"favorites"in e&&i(0,U=e.favorites),"loginurl"in e&&i(41,C=e.loginurl),"registerurl"in e&&i(42,W=e.registerurl),"depositurl"in e&&i(43,Y=e.depositurl),"loginevent"in e&&i(44,V=e.loginevent),"registerevent"in e&&i(45,Z=e.registerevent),"depositevent"in e&&i(46,q=e.depositevent),"shortcashierenabled"in e&&i(47,K=e.shortcashierenabled),"clockformat"in e&&i(48,J=e.clockformat),"haspanicbutton"in e&&i(1,X=e.haspanicbutton),"playforfun"in e&&i(49,Q=e.playforfun),"checksession"in e&&i(50,ee=e.checksession),"integratedgameframedesktop"in e&&i(51,k=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(52,te=e.integratedgameframemobile),"gameid"in e&&i(53,ne=e.gameid)},n.$$.update=()=>{if(16&n.$$.dirty[1]&&y&&(t=y,nt.set(t),i(22,de=at(I))),65536&n.$$.dirty[1]&&(D="true"===K.toLocaleLowerCase()),4194328&n.$$.dirty[1]&&f&&ne&&y&&fe(ne,!0),104&n.$$.dirty[1]&&v&&b&&f&&Ie(),524328&n.$$.dirty[1]&&"false"==ee&&v&&f&&Ie(),512&n.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fd(e,t[e])})}).catch(e=>{console.log(e)}),1&n.$$.dirty[0]&&U&&i(8,G=!0),8&n.$$.dirty[0]|128&n.$$.dirty[1]&&w&&m&&((t=document.createElement("style")).innerHTML=w,m.appendChild(t)),8&n.$$.dirty[0]|256&n.$$.dirty[1]&&x&&m){let t=document.createElement("style");var e;x&&(e=new URL(x),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{m.appendChild(t)},1)}))}var t;4&n.$$.dirty[0]|8388608&n.$$.dirty[1]&&"true"==ue&&r&&ye(),4&n.$$.dirty[0]&&r&&ye()},[U,X,r,m,A,t,F,ae,G,ie,S,re,o,L,se,le,s,l,c,M,O,z,de,g,p,"",N,I,we,Fe,_,R,Le,P,f,y,v,b,w,x,$,C,W,Y,V,Z,q,K,J,Q,ee,k,te,ne,ue,()=>we(o.id),()=>we(o.id),()=>Le(de),()=>{Fe()},function(e){tt[e?"unshift":"push"](()=>{r=e,i(2,r)})},()=>_(),()=>R(),()=>{Fe()},()=>_(),()=>R(),function(e){tt[e?"unshift":"push"](()=>{t=e,i(5,t)})},()=>Le(de),function(e){tt[e?"unshift":"push"](()=>{p=e,i(24,p)})},function(e){tt[e?"unshift":"push"](()=>{r=e,i(2,r)})},()=>P(),()=>P(),function(e){tt[e?"unshift":"push"](()=>{g=e,i(23,g)})},function(e){tt[e?"unshift":"push"](()=>{l=e,i(17,l)})},function(e){tt[e?"unshift":"push"](()=>{s=e,i(16,s)})},function(e){tt[e?"unshift":"push"](()=>{t=e,i(5,t)})},()=>_(),()=>R(),function(e){tt[e?"unshift":"push"](()=>{p=e,i(24,p)})},()=>P(),()=>P(),function(e){tt[e?"unshift":"push"](()=>{g=e,i(23,g)})},function(e){tt[e?"unshift":"push"](()=>{l=e,i(17,l)})},function(e){tt[e?"unshift":"push"](()=>{s=e,i(16,s)})},()=>_(),()=>R(),function(e){tt[e?"unshift":"push"](()=>{c=e,i(18,c)})},function(e){tt[e?"unshift":"push"](()=>{m=e,i(3,m)})}]}function Xd(e){let n,a,i,r,o,s,l,c,d,u,m,g="true"==e[22]&&eu(e);return{c(){n=ge("div"),a=ge("div"),i=ge("div"),r=he(),o=ge("div"),s=he(),l=ge("casino-categories-slider"),c=he(),d=ge("casino-page"),(u=ge("div")).innerHTML='<slot name="content"></slot>',m=he(),g&&g.c(),fe(i,"class","HeaderPlaceholder"),S(i,"height",e[86]+"px"),fe(o,"class","ScrollTop"),G(l,"endpoint",e[79]),G(l,"datasource",e[80]),G(l,"lang",e[81]),G(l,"session",e[85]),G(l,"userid",e[4]),G(l,"sessioncheck","false"),G(l,"actionevent",e[18]),G(l,"filteredcategories",e[9]),G(l,"mostplayed",e[64]),G(l,"lastplayed",e[66]),G(l,"favorites",e[16]),G(l,"activecategory",e[1]),G(l,"translationurl",e[11]),G(l,"clientstyling",e[5]),G(l,"clientstylingurl",e[6]),G(l,"location","secondaryMenu"),G(l,"showsubgroups",e[53]),G(l,"categoriesicon",e[30]),G(l,"lobbyiconimage",e[31]),G(l,"mygamesiconimage",e[32]),fe(u,"slot","je-jackpots-widget"),G(d,"session",e[85]),G(d,"userid",e[4]),G(d,"endpoint",e[79]),G(d,"datasource",e[80]),G(d,"lang",e[81]),G(d,"showgamename",e[21]),G(d,"cmsendpoint",e[2]),G(d,"env",e[3]),G(d,"translationurl",e[11]),G(d,"visiblegames",e[25]),G(d,"playrandomgame",e[23]),G(d,"randomgameslider",e[24]),G(d,"specificcategory",e[67]),G(d,"launchbygamecard",e[68]),G(d,"iconvisible",e[69]),G(d,"iconvisibleonanim",e[70]),G(d,"activecategory",e[1]),G(d,"favorites",e[16]),G(d,"clientstyling",e[5]),G(d,"clientstylingurl",e[6]),G(d,"lobbyid",e[8]),G(d,"haspanicbutton",e[17]),G(d,"livecasino",e[19]),G(d,"currency",e[0]),G(d,"filteredcategories",e[9]),G(d,"gamepagemodalurl",e[28]),G(d,"randombuttonicon",e[72]),G(d,"positioncasinocalendar",e[58]),G(d,"filteredrandomgamecategories",e[73]),G(d,"positionwinnerswidget",e[33]),G(d,"periodrecent",e[38]),G(d,"periodtop",e[39]),G(d,"userroles",e[10]),G(d,"numberusersrecent",e[40]),G(d,"numberuserstop",e[41]),G(d,"amountlimit",e[42]),G(d,"isrecentavailable",e[37]),G(d,"istopavailable",e[36]),G(d,"integratedgameframedesktop",e[26]),G(d,"integratedgameframemobile",e[27]),G(d,"defaultcurrency",e[43]),G(d,"enableautoscroll",e[35]),G(d,"collectionprovidersgamenames",e[57]),G(d,"tabsorder",e[34]),G(d,"positionjackpotbanners",e[44]),G(d,"backgroundsrc",e[49]),G(d,"backgroundsrcmobile",e[50]),G(d,"titlelogopath",e[51]),G(d,"caticon0",e[45]),G(d,"caticon1",e[46]),G(d,"caticon2",e[47]),G(d,"caticon3",e[48]),G(d,"iconlabels",e[52]),G(d,"positioncollections",e[54]),G(d,"type",e[55]),G(d,"titletype",e[56]),G(d,"casinomygames",nu),G(d,"filterbylogo",e[76]),G(d,"addfilterselector",e[74]),G(d,"addsortingselector",e[75]),G(d,"lastplayedunique",e[63]),G(d,"lastplayedlimit",e[62]),G(d,"lastplayedorder",e[61]),G(d,"mostplayedrounds",e[65]),G(d,"mostplayed",e[64]),G(d,"lastplayed",e[66]),G(d,"lastplayedperiod",e[59]),G(d,"mostplayedperiod",e[60]),G(d,"showsubgroups",e[53]),G(d,"winnersdatasources",e[77]),G(d,"casinogamesgridslider",e[29]),G(d,"positionjelobbywidget",e[71]),fe(a,"class","WidgetsSection"),fe(n,"class","CasinoLobby")},m(e,t){ue(e,n,t),de(n,a),de(a,i),de(a,r),de(a,o),de(a,s),de(a,l),de(a,c),de(a,d),de(d,u),de(a,m),g&&g.m(a,null)},p(e,t){16777216&t[2]&&S(i,"height",e[86]+"px"),131072&t[2]&&G(l,"endpoint",e[79]),262144&t[2]&&G(l,"datasource",e[80]),524288&t[2]&&G(l,"lang",e[81]),8388608&t[2]&&G(l,"session",e[85]),16&t[0]&&G(l,"userid",e[4]),262144&t[0]&&G(l,"actionevent",e[18]),512&t[0]&&G(l,"filteredcategories",e[9]),4&t[2]&&G(l,"mostplayed",e[64]),16&t[2]&&G(l,"lastplayed",e[66]),65536&t[0]&&G(l,"favorites",e[16]),2&t[0]&&G(l,"activecategory",e[1]),2048&t[0]&&G(l,"translationurl",e[11]),32&t[0]&&G(l,"clientstyling",e[5]),64&t[0]&&G(l,"clientstylingurl",e[6]),4194304&t[1]&&G(l,"showsubgroups",e[53]),1073741824&t[0]&&G(l,"categoriesicon",e[30]),1&t[1]&&G(l,"lobbyiconimage",e[31]),2&t[1]&&G(l,"mygamesiconimage",e[32]),8388608&t[2]&&G(d,"session",e[85]),16&t[0]&&G(d,"userid",e[4]),131072&t[2]&&G(d,"endpoint",e[79]),262144&t[2]&&G(d,"datasource",e[80]),524288&t[2]&&G(d,"lang",e[81]),2097152&t[0]&&G(d,"showgamename",e[21]),4&t[0]&&G(d,"cmsendpoint",e[2]),8&t[0]&&G(d,"env",e[3]),2048&t[0]&&G(d,"translationurl",e[11]),33554432&t[0]&&G(d,"visiblegames",e[25]),8388608&t[0]&&G(d,"playrandomgame",e[23]),16777216&t[0]&&G(d,"randomgameslider",e[24]),32&t[2]&&G(d,"specificcategory",e[67]),64&t[2]&&G(d,"launchbygamecard",e[68]),128&t[2]&&G(d,"iconvisible",e[69]),256&t[2]&&G(d,"iconvisibleonanim",e[70]),2&t[0]&&G(d,"activecategory",e[1]),65536&t[0]&&G(d,"favorites",e[16]),32&t[0]&&G(d,"clientstyling",e[5]),64&t[0]&&G(d,"clientstylingurl",e[6]),256&t[0]&&G(d,"lobbyid",e[8]),131072&t[0]&&G(d,"haspanicbutton",e[17]),524288&t[0]&&G(d,"livecasino",e[19]),1&t[0]&&G(d,"currency",e[0]),512&t[0]&&G(d,"filteredcategories",e[9]),268435456&t[0]&&G(d,"gamepagemodalurl",e[28]),1024&t[2]&&G(d,"randombuttonicon",e[72]),134217728&t[1]&&G(d,"positioncasinocalendar",e[58]),2048&t[2]&&G(d,"filteredrandomgamecategories",e[73]),4&t[1]&&G(d,"positionwinnerswidget",e[33]),128&t[1]&&G(d,"periodrecent",e[38]),256&t[1]&&G(d,"periodtop",e[39]),1024&t[0]&&G(d,"userroles",e[10]),512&t[1]&&G(d,"numberusersrecent",e[40]),1024&t[1]&&G(d,"numberuserstop",e[41]),2048&t[1]&&G(d,"amountlimit",e[42]),64&t[1]&&G(d,"isrecentavailable",e[37]),32&t[1]&&G(d,"istopavailable",e[36]),67108864&t[0]&&G(d,"integratedgameframedesktop",e[26]),134217728&t[0]&&G(d,"integratedgameframemobile",e[27]),4096&t[1]&&G(d,"defaultcurrency",e[43]),16&t[1]&&G(d,"enableautoscroll",e[35]),67108864&t[1]&&G(d,"collectionprovidersgamenames",e[57]),8&t[1]&&G(d,"tabsorder",e[34]),8192&t[1]&&G(d,"positionjackpotbanners",e[44]),262144&t[1]&&G(d,"backgroundsrc",e[49]),524288&t[1]&&G(d,"backgroundsrcmobile",e[50]),1048576&t[1]&&G(d,"titlelogopath",e[51]),16384&t[1]&&G(d,"caticon0",e[45]),32768&t[1]&&G(d,"caticon1",e[46]),65536&t[1]&&G(d,"caticon2",e[47]),131072&t[1]&&G(d,"caticon3",e[48]),2097152&t[1]&&G(d,"iconlabels",e[52]),8388608&t[1]&&G(d,"positioncollections",e[54]),16777216&t[1]&&G(d,"type",e[55]),33554432&t[1]&&G(d,"titletype",e[56]),16384&t[2]&&G(d,"filterbylogo",e[76]),4096&t[2]&&G(d,"addfilterselector",e[74]),8192&t[2]&&G(d,"addsortingselector",e[75]),2&t[2]&&G(d,"lastplayedunique",e[63]),1&t[2]&&G(d,"lastplayedlimit",e[62]),1073741824&t[1]&&G(d,"lastplayedorder",e[61]),8&t[2]&&G(d,"mostplayedrounds",e[65]),4&t[2]&&G(d,"mostplayed",e[64]),16&t[2]&&G(d,"lastplayed",e[66]),268435456&t[1]&&G(d,"lastplayedperiod",e[59]),536870912&t[1]&&G(d,"mostplayedperiod",e[60]),4194304&t[1]&&G(d,"showsubgroups",e[53]),32768&t[2]&&G(d,"winnersdatasources",e[77]),536870912&t[0]&&G(d,"casinogamesgridslider",e[29]),512&t[2]&&G(d,"positionjelobbywidget",e[71]),"true"==e[22]?g?g.p(e,t):((g=eu(e)).c(),g.m(a,null)):g&&(g.d(1),g=null)},d(e){e&&me(n),g&&g.d()}}}function Qd(e){let n,a;return{c(){n=ge("p"),a=pe(e[84]),S(n,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){4194304&t[2]&&ye(a,e[84])},d(e){e&&me(n)}}}function eu(e){let n,a;return{c(){n=ge("casino-modal"),G(a=ge("casino-game-page"),"session",e[85]),G(a,"userid",e[4]),G(a,"endpoint",e[79]),G(a,"datasource",e[80]),G(a,"lang",e[81]),G(a,"loginevent",e[12]),G(a,"registerevent",e[13]),G(a,"depositevent",e[14]),G(a,"checksession","false"),G(a,"playforfun",e[20]),G(a,"translationurl",e[11]),G(a,"shortcashierenabled",e[15]),G(a,"favorites",e[16]),G(a,"clientstyling",e[5]),G(a,"clientstylingurl",e[6]),G(a,"clockformat",e[7]),G(a,"haspanicbutton",e[17]),G(a,"currency",e[0]),G(a,"integratedgameframedesktop",e[26]),G(a,"integratedgameframemobile",e[27]),G(n,"session",e[85]),G(n,"userid",e[4]),G(n,"endpoint",e[79]),G(n,"datasource",e[80]),G(n,"lang",e[81]),G(n,"sessioncheck","false"),G(n,"translationurl",e[11]),G(n,"clientstyling",e[5]),G(n,"clientstylingurl",e[6]),G(n,"gamepagemodalurl",e[28]),G(n,"haspanicbutton",e[17]),G(n,"integratedgameframedesktop",e[26]),G(n,"identifier","Lobby")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&G(a,"session",e[85]),16&t[0]&&G(a,"userid",e[4]),131072&t[2]&&G(a,"endpoint",e[79]),262144&t[2]&&G(a,"datasource",e[80]),524288&t[2]&&G(a,"lang",e[81]),4096&t[0]&&G(a,"loginevent",e[12]),8192&t[0]&&G(a,"registerevent",e[13]),16384&t[0]&&G(a,"depositevent",e[14]),1048576&t[0]&&G(a,"playforfun",e[20]),2048&t[0]&&G(a,"translationurl",e[11]),32768&t[0]&&G(a,"shortcashierenabled",e[15]),65536&t[0]&&G(a,"favorites",e[16]),32&t[0]&&G(a,"clientstyling",e[5]),64&t[0]&&G(a,"clientstylingurl",e[6]),128&t[0]&&G(a,"clockformat",e[7]),131072&t[0]&&G(a,"haspanicbutton",e[17]),1&t[0]&&G(a,"currency",e[0]),67108864&t[0]&&G(a,"integratedgameframedesktop",e[26]),134217728&t[0]&&G(a,"integratedgameframemobile",e[27]),8388608&t[2]&&G(n,"session",e[85]),16&t[0]&&G(n,"userid",e[4]),131072&t[2]&&G(n,"endpoint",e[79]),262144&t[2]&&G(n,"datasource",e[80]),524288&t[2]&&G(n,"lang",e[81]),2048&t[0]&&G(n,"translationurl",e[11]),32&t[0]&&G(n,"clientstyling",e[5]),64&t[0]&&G(n,"clientstylingurl",e[6]),268435456&t[0]&&G(n,"gamepagemodalurl",e[28]),131072&t[0]&&G(n,"haspanicbutton",e[17]),67108864&t[0]&&G(n,"integratedgameframedesktop",e[26])},d(e){e&&me(n)}}}function tu(n){let a,i;function r(e){return e[83]?Qd:Xd}let o=r(n),s=o(n);return{c(){a=ge("div"),s.c(),this.c=A,fe(a,"class",i=n[82]?"DisplayNone":"")},m(e,t){ue(e,a,t),s.m(a,null),n[94](a)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null))),1048576&t[2]&&i!==(i=e[82]?"DisplayNone":"")&&fe(a,"class",i)},i:A,o:A,d(e){e&&me(a),s.d(),n[94](null)}}}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoGamePageContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-bg, var(--emfe-w-color-background, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, 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-button-typography, var(--emfe-w-color-white, #FFFFFF))}p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:60px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.LoaderRipple{width:80px;height:80px;position:absolute;top:0;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}.LoaderRipple.LoaderWithPanicButton{top:40px}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Jd,Kd,n,{endpoint:34,lang:35,session:36,userid:37,clientstyling:38,clientstylingurl:39,translationurl:40,favorites:0,loginurl:41,registerurl:42,depositurl:43,loginevent:44,registerevent:45,depositevent:46,shortcashierenabled:47,clockformat:48,haspanicbutton:1,playforfun:49,checksession:50,integratedgameframedesktop:51,integratedgameframemobile:52,gameid:53},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),m()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[38]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[40]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),m()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),m()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),m()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),m()}get loginevent(){return this.$$.ctx[44]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[45]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[46]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[47]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get clockformat(){return this.$$.ctx[48]}set clockformat(e){this.$$set({clockformat:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get playforfun(){return this.$$.ctx[49]}set playforfun(e){this.$$set({playforfun:e}),m()}get checksession(){return this.$$.ctx[50]}set checksession(e){this.$$set({checksession:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[51]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[52]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gameid(){return this.$$.ctx[53]}set gameid(e){this.$$set({gameid:e}),m()}});let nu="false";function au(t,e,n){let a,i,r,o,{endpoint:s=""}=e,{cmsendpoint:l="https://wt1-stage.everymatrix.com/apijson"}=e,{env:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{session:m=""}=e,{userid:g=""}=e,{opsession:p=""}=e,{clientstyling:h=""}=e,{clientstylingurl:f=""}=e,{clockformat:y=""}=e,{lobbyid:v=""}=e,{currency:b=""}=e,{filteredcategories:w=""}=e,{userroles:x=""}=e,{translationurl:$=""}=e,{loginevent:D=""}=e,{registerevent:N=""}=e,{depositevent:A=""}=e,{shortcashierenabled:B=""}=e,{favorites:C=""}=e,{desktopoffset:k="0"}=e,{mobileoffset:F="0"}=e,{haspanicbutton:O="false"}=e,{activecategory:G="LOBBY"}=e,{actionevent:z="CategoryChange"}=e,{livecasino:j="false"}=e,{playforfun:H="true"}=e,{showgamename:U="false"}=e,{gamemodal:W="true"}=e,{playrandomgame:Y="false"}=e,{randomgameslider:V="false"}=e,{visiblegames:Z="10"}=e,{integratedgameframedesktop:q="false"}=e,{integratedgameframemobile:K="false"}=e,{gamepagemodalurl:J="false"}=e,{casinogamesgridslider:X="false"}=e,{categoriesicon:Q="false"}=e,{lobbyiconimage:ee=""}=e,{mygamesiconimage:te=""}=e,{positionwinnerswidget:ne=""}=e,{tabsorder:ae=""}=e,{enableautoscroll:ie=""}=e,{istopavailable:re=""}=e,{isrecentavailable:oe=""}=e,{periodrecent:se=""}=e,{periodtop:le=""}=e,{numberusersrecent:ce=""}=e,{numberuserstop:de=""}=e,{amountlimit:ue=""}=e,{defaultcurrency:me=""}=e,{positionjackpotbanners:ge=""}=e,{caticon0:pe=""}=e,{caticon1:he=""}=e,{caticon2:fe=""}=e,{caticon3:ye=""}=e,{backgroundsrc:ve=""}=e,{backgroundsrcmobile:be=""}=e,{titlelogopath:we=""}=e,{iconlabels:xe=""}=e,{showsubgroups:$e="false"}=e,{positioncollections:Ce=""}=e,{type:ke=""}=e,{titletype:Fe=""}=e,{collectionprovidersgamenames:Ge=""}=e,{positioncasinocalendar:Se=""}=e,{lastplayedperiod:Le="Last30Days"}=e,{mostplayedperiod:Me="Last30Days"}=e,{lastplayedorder:Ie=""}=e,{lastplayedlimit:Ee=""}=e,{lastplayedunique:Te="true"}=e,{mostplayed:S=""}=e,{mostplayedrounds:_e=""}=e,{lastplayed:L="false"}=e,{specificcategory:Re=""}=e,{launchbygamecard:Pe=""}=e,{iconvisible:De=""}=e,{iconvisibleonanim:Ne=""}=e,{positionjelobbywidget:Ae=""}=e,{randombuttonicon:Be=""}=e,{filteredrandomgamecategories:Oe=""}=e,{addfilterselector:ze="false"}=e,{addsortingselector:je="false"}=e,{filterbylogo:He="false"}=e,{winnersdatasources:Ue=""}=e,M=!1,I=!1,E="Loading, please wait ...",T="",_=window.navigator.userAgent,R=!1,P=0,We=!1;var Ye,Ve;({withLocale:Ye,translations:Ve}={withLocale:"en",translations:{}}),nt.subscribe(e=>{null==e&&(Ga.set(Ve),nt.set(Ye))});const Ze=e=>{if(e.data)switch(e.data.type){case"searchCancelled":R=!0;break;case"WidgetTopReference":(We=e.data.scrollTop)&&(P||n(86,P="PC"===it(_)?parseInt(k):parseInt(F)),R||window.scrollTo({top:P}),R=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:e.data.gameId,isMobile:at(_),gamefunmode:e.data.gamefunmode,gamepagemodalurl:e.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":n(85,T=e.data.session),e.data.userID;break;case"CategoryChange":n(1,G=e.data.itemId)}};return et(()=>(window.addEventListener("message",Ze,!1),n(86,P="PC"===it(_)?parseInt(k):parseInt(F)),()=>{window.removeEventListener("message",Ze)})),t.$$set=e=>{"endpoint"in e&&n(87,s=e.endpoint),"cmsendpoint"in e&&n(2,l=e.cmsendpoint),"env"in e&&n(3,c=e.env),"datasource"in e&&n(88,d=e.datasource),"lang"in e&&n(89,u=e.lang),"session"in e&&n(90,m=e.session),"userid"in e&&n(4,g=e.userid),"opsession"in e&&n(91,p=e.opsession),"clientstyling"in e&&n(5,h=e.clientstyling),"clientstylingurl"in e&&n(6,f=e.clientstylingurl),"clockformat"in e&&n(7,y=e.clockformat),"lobbyid"in e&&n(8,v=e.lobbyid),"currency"in e&&n(0,b=e.currency),"filteredcategories"in e&&n(9,w=e.filteredcategories),"userroles"in e&&n(10,x=e.userroles),"translationurl"in e&&n(11,$=e.translationurl),"loginevent"in e&&n(12,D=e.loginevent),"registerevent"in e&&n(13,N=e.registerevent),"depositevent"in e&&n(14,A=e.depositevent),"shortcashierenabled"in e&&n(15,B=e.shortcashierenabled),"favorites"in e&&n(16,C=e.favorites),"desktopoffset"in e&&n(92,k=e.desktopoffset),"mobileoffset"in e&&n(93,F=e.mobileoffset),"haspanicbutton"in e&&n(17,O=e.haspanicbutton),"activecategory"in e&&n(1,G=e.activecategory),"actionevent"in e&&n(18,z=e.actionevent),"livecasino"in e&&n(19,j=e.livecasino),"playforfun"in e&&n(20,H=e.playforfun),"showgamename"in e&&n(21,U=e.showgamename),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,Y=e.playrandomgame),"randomgameslider"in e&&n(24,V=e.randomgameslider),"visiblegames"in e&&n(25,Z=e.visiblegames),"integratedgameframedesktop"in e&&n(26,q=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(27,K=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(28,J=e.gamepagemodalurl),"casinogamesgridslider"in e&&n(29,X=e.casinogamesgridslider),"categoriesicon"in e&&n(30,Q=e.categoriesicon),"lobbyiconimage"in e&&n(31,ee=e.lobbyiconimage),"mygamesiconimage"in e&&n(32,te=e.mygamesiconimage),"positionwinnerswidget"in e&&n(33,ne=e.positionwinnerswidget),"tabsorder"in e&&n(34,ae=e.tabsorder),"enableautoscroll"in e&&n(35,ie=e.enableautoscroll),"istopavailable"in e&&n(36,re=e.istopavailable),"isrecentavailable"in e&&n(37,oe=e.isrecentavailable),"periodrecent"in e&&n(38,se=e.periodrecent),"periodtop"in e&&n(39,le=e.periodtop),"numberusersrecent"in e&&n(40,ce=e.numberusersrecent),"numberuserstop"in e&&n(41,de=e.numberuserstop),"amountlimit"in e&&n(42,ue=e.amountlimit),"defaultcurrency"in e&&n(43,me=e.defaultcurrency),"positionjackpotbanners"in e&&n(44,ge=e.positionjackpotbanners),"caticon0"in e&&n(45,pe=e.caticon0),"caticon1"in e&&n(46,he=e.caticon1),"caticon2"in e&&n(47,fe=e.caticon2),"caticon3"in e&&n(48,ye=e.caticon3),"backgroundsrc"in e&&n(49,ve=e.backgroundsrc),"backgroundsrcmobile"in e&&n(50,be=e.backgroundsrcmobile),"titlelogopath"in e&&n(51,we=e.titlelogopath),"iconlabels"in e&&n(52,xe=e.iconlabels),"showsubgroups"in e&&n(53,$e=e.showsubgroups),"positioncollections"in e&&n(54,Ce=e.positioncollections),"type"in e&&n(55,ke=e.type),"titletype"in e&&n(56,Fe=e.titletype),"collectionprovidersgamenames"in e&&n(57,Ge=e.collectionprovidersgamenames),"positioncasinocalendar"in e&&n(58,Se=e.positioncasinocalendar),"lastplayedperiod"in e&&n(59,Le=e.lastplayedperiod),"mostplayedperiod"in e&&n(60,Me=e.mostplayedperiod),"lastplayedorder"in e&&n(61,Ie=e.lastplayedorder),"lastplayedlimit"in e&&n(62,Ee=e.lastplayedlimit),"lastplayedunique"in e&&n(63,Te=e.lastplayedunique),"mostplayed"in e&&n(64,S=e.mostplayed),"mostplayedrounds"in e&&n(65,_e=e.mostplayedrounds),"lastplayed"in e&&n(66,L=e.lastplayed),"specificcategory"in e&&n(67,Re=e.specificcategory),"launchbygamecard"in e&&n(68,Pe=e.launchbygamecard),"iconvisible"in e&&n(69,De=e.iconvisible),"iconvisibleonanim"in e&&n(70,Ne=e.iconvisibleonanim),"positionjelobbywidget"in e&&n(71,Ae=e.positionjelobbywidget),"randombuttonicon"in e&&n(72,Be=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(73,Oe=e.filteredrandomgamecategories),"addfilterselector"in e&&n(74,ze=e.addfilterselector),"addsortingselector"in e&&n(75,je=e.addsortingselector),"filterbylogo"in e&&n(76,He=e.filterbylogo),"winnersdatasources"in e&&n(77,Ue=e.winnersdatasources)},t.$$.update=()=>{if(134217728&t.$$.dirty[2]&&u&&oi(u),16&t.$$.dirty[0]|301989888&t.$$.dirty[2]&&m&&g&&s&&ri(s,m).then(e=>{n(85,T=e.Guid),e.UserID,n(0,b=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),65536&t.$$.dirty[0]|234881044&t.$$.dirty[2]&&s&&d&&u&&S&&L&&C&&(s||(n(84,E="Endpoint is missing! Please provide a valid endpointURL."),n(83,I=!0),console.error(E)),d||(n(84,E="Datasource is missing! Please provide a valid datasource."),n(83,I=!0),console.error(E)),(!u||u.length<2)&&(n(84,E="Language is missing! Please provide a valid language (alpha2code)"),n(83,I=!0),console.error(E)),oi(u),n(79,a=s),n(80,i=d),n(81,r=u),n(83,I=!1)),536870912&t.$$.dirty[2]&&p&&n(85,T=p),32&t.$$.dirty[0]|65536&t.$$.dirty[2]&&h&&o&&((e=document.createElement("style")).innerHTML=h,o.appendChild(e)),64&t.$$.dirty[0]|65536&t.$$.dirty[2]&&f&&o){n(82,M=!0);let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(82,M=!1)},500))})}var e},[b,G,l,c,g,h,f,y,v,w,x,$,D,N,A,B,C,O,z,j,H,U,W,Y,V,Z,q,K,J,X,Q,ee,te,ne,ae,ie,re,oe,se,le,ce,de,ue,me,ge,pe,he,fe,ye,ve,be,we,xe,$e,Ce,ke,Fe,Ge,Se,Le,Me,Ie,Ee,Te,S,_e,L,Re,Pe,De,Ne,Ae,Be,Oe,ze,je,He,Ue,o,a,i,r,M,I,E,T,P,s,d,u,m,p,k,F,function(e){tt[e?"unshift":"push"](()=>{o=e,n(78,o)})}]}class iu extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}",this.shadowRoot.appendChild(t),i(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},au,tu,n,{endpoint:87,cmsendpoint:2,env:3,datasource:88,lang:89,session:90,userid:4,opsession:91,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:92,mobileoffset:93,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,positioncollections:54,type:55,titletype:56,collectionprovidersgamenames:57,positioncasinocalendar:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayed:64,mostplayedrounds:65,lastplayed:66,specificcategory:67,launchbygamecard:68,iconvisible:69,iconvisibleonanim:70,positionjelobbywidget:71,randombuttonicon:72,filteredrandomgamecategories:73,addfilterselector:74,addsortingselector:75,filterbylogo:76,winnersdatasources:77},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","cmsendpoint","env","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","userroles","translationurl","loginevent","registerevent","depositevent","shortcashierenabled","favorites","desktopoffset","mobileoffset","haspanicbutton","activecategory","actionevent","livecasino","playforfun","showgamename","gamemodal","playrandomgame","randomgameslider","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","casinogamesgridslider","categoriesicon","lobbyiconimage","mygamesiconimage","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","showsubgroups","positioncollections","type","titletype","collectionprovidersgamenames","positioncasinocalendar","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayed","mostplayedrounds","lastplayed","specificcategory","launchbygamecard","iconvisible","iconvisibleonanim","positionjelobbywidget","randombuttonicon","filteredrandomgamecategories","addfilterselector","addsortingselector","filterbylogo","winnersdatasources"]}get endpoint(){return this.$$.ctx[87]}set endpoint(e){this.$$set({endpoint:e}),m()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[3]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[88]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[89]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[90]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),m()}get opsession(){return this.$$.ctx[91]}set opsession(e){this.$$set({opsession:e}),m()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get clockformat(){return this.$$.ctx[7]}set clockformat(e){this.$$set({clockformat:e}),m()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),m()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get userroles(){return this.$$.ctx[10]}set userroles(e){this.$$set({userroles:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get loginevent(){return this.$$.ctx[12]}set loginevent(e){this.$$set({loginevent:e}),m()}get registerevent(){return this.$$.ctx[13]}set registerevent(e){this.$$set({registerevent:e}),m()}get depositevent(){return this.$$.ctx[14]}set depositevent(e){this.$$set({depositevent:e}),m()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),m()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),m()}get desktopoffset(){return this.$$.ctx[92]}set desktopoffset(e){this.$$set({desktopoffset:e}),m()}get mobileoffset(){return this.$$.ctx[93]}set mobileoffset(e){this.$$set({mobileoffset:e}),m()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),m()}get actionevent(){return this.$$.ctx[18]}set actionevent(e){this.$$set({actionevent:e}),m()}get livecasino(){return this.$$.ctx[19]}set livecasino(e){this.$$set({livecasino:e}),m()}get playforfun(){return this.$$.ctx[20]}set playforfun(e){this.$$set({playforfun:e}),m()}get showgamename(){return this.$$.ctx[21]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),m()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(e){this.$$set({randomgameslider:e}),m()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(e){this.$$set({categoriesicon:e}),m()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),m()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),m()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[39]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[45]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[46]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[47]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[48]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positioncollections(){return this.$$.ctx[54]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[55]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[56]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[57]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get positioncasinocalendar(){return this.$$.ctx[58]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayed(){return this.$$.ctx[64]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get mostplayedrounds(){return this.$$.ctx[65]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get lastplayed(){return this.$$.ctx[66]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get specificcategory(){return this.$$.ctx[67]}set specificcategory(e){this.$$set({specificcategory:e}),m()}get launchbygamecard(){return this.$$.ctx[68]}set launchbygamecard(e){this.$$set({launchbygamecard:e}),m()}get iconvisible(){return this.$$.ctx[69]}set iconvisible(e){this.$$set({iconvisible:e}),m()}get iconvisibleonanim(){return this.$$.ctx[70]}set iconvisibleonanim(e){this.$$set({iconvisibleonanim:e}),m()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[73]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get addfilterselector(){return this.$$.ctx[74]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[75]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[76]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get winnersdatasources(){return this.$$.ctx[77]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",iu),iu});
33
62
  //# sourceMappingURL=casino-lobby.js.map