@everymatrix/casino-lobby 0.0.360 → 0.0.362
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-lobby.js +4 -4
- package/dist/casino-lobby.js.map +1 -1
- package/documentation.md +3 -1
- package/index.html +2 -1
- package/package.json +2 -2
- package/src/CasinoLobby.svelte +13 -4
package/dist/casino-lobby.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(o){"use strict";(e=o)&&"object"==typeof e&&0 in e;function Z(){}const S=e=>e;function $(e){return e()}function F(){return Object.create(null)}function J(e){e.forEach($)}function M(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let u;function ce(e,t){return(u=u||document.createElement("a")).href=t,e===u.href}function d(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(o){"use strict";(e=o)&&"object"==typeof e&&0 in e;function Z(){}const S=e=>e;function $(e){return e()}function F(){return Object.create(null)}function J(e){e.forEach($)}function M(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let u;function ce(e,t){return(u=u||document.createElement("a")).href=t,e===u.href}function d(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ve(e,t,n){e.$$.on_destroy.push(d(t,n))}function h(e){return e&&M(e.destroy)?e.destroy:Z}var e="undefined"!=typeof window;let _=e?()=>window.performance.now():()=>Date.now(),E=e?e=>requestAnimationFrame(e):Z;const T=new Set;function I(t){T.forEach(e=>{e.c(t)||(T.delete(e),e.f())}),0!==T.size&&E(I)}function ue(e,t){e.appendChild(t)}function L(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function de(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function G(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function pe(e){return document.createElement(e)}function k(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function me(e){return document.createTextNode(e)}function ge(){return me(" ")}function c(){return me("")}function K(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function R(e,t){e.value=null==t?"":t}function B(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let p;function m(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=pe("iframe"),r=(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===p){p=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){p=!0}}return p}());let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=K(n.contentWindow,"resize",t)}),ue(e,n),()=>{(r||i&&n.contentWindow)&&i(),he(n)}}function P(e,t,n){e.classList[n?"add":"remove"](t)}class A{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=k(t.nodeName):this.e=pe(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)de(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function n(e){const t={};for(const n of e)t[n.name]=n.value;return t}const D=new Map;let H,N=0;function O(e,t,n,r,i,a,o,s=0){var l,c=16.666/r;let u="{\n";for(let e=0;e<=1;e+=c){const r=t+(n-t)*a(e);u+=100*e+`%{${o(r,1-r)}}
|
|
2
2
|
`}const d=u+`100% {${o(n,1-n)}}
|
|
3
|
-
}`,h=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,p=I(e),{stylesheet:m,rules:g}=D.get(p)||(s=p,l={stylesheet:(l=e,f=pe("style"),ue((l=I(l)).head||l,f),f.sheet),rules:{}},D.set(s,l),l);g[h]||(g[h]=!0,m.insertRule(`@keyframes ${h} `+d,m.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+h+` ${r}ms linear ${i}ms 1 both`,N+=1,h}function j(e){H=e}function We(e){!function(){if(H)return H;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const U=[],He=[],W=[],z=[],Y=Promise.resolve();let V=!1;function X(){V||(V=!0,Y.then(f))}function be(){return X(),Y}function q(e){W.push(e)}const Q=new Set;let ee,te=0;function f(){const e=H;do{for(;te<U.length;){const e=U[te];te++,j(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),J(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(q))}for(j(null),U.length=0,te=0;He.length;)He.pop()();for(let e=0;e<W.length;e+=1){const r=W[e];Q.has(r)||(Q.add(r),r())}}while(W.length=0,U.length);for(;z.length;)z.pop()();V=!1,Q.clear(),j(e)}function ne(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t,n,void 0),r}((t?"intro":"outro")+n))}const re=new Set;let ie;function ae(){ie={r:0,c:[],p:ie}}function oe(){ie.r||J(ie.c),ie=ie.p}function se(e,t){e&&e.i&&(re.delete(e),e.i(t))}function le(e,t,n,r){e&&e.o&&(re.has(e)||(re.add(e),ie.c.push(()=>{re.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const ve={duration:0};function we(l,e,t,n){let c=e(l,t),u=n?0:1,d=null,h=null,p=null;function m(){if(p){var e=l,t=p;const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),(N-=i)||E(()=>{N||(D.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),D.clear())}))}}function g(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=S,tick:i=Z,css:a}=c||ve,o={start:_()+t,b:e};if(e||((o.group=ie).r+=1),!d&&!h){a&&(m(),p=O(l,u,e,n,t,r,a)),e&&i(0,1),d=g(o,n),q(()=>ne(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(d=g(h,n),h=null,ne(l,d.b,"start"),a&&(m(),p=O(l,u,d.b,d.duration,0,r,c.css))),d)if(e>=d.end)i(u=d.b,1-u),ne(l,d.b,"end"),h||(d.b?m():--d.group.r||J(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*r(l/d.duration),i(u,1-u)}return!(!d&&!h)};let t;return 0===L.size&&E(T),void new Promise(e=>{L.add(t={c:s,f:e})})}}h=o}return{run(e){M(c)?(ee||(ee=Promise.resolve()).then(()=>{ee=null}),ee.then(()=>{c=c(),r(e)})):r(e)},end(){m(),d=h=null}}}function xe(e,t){e.d(1),t.delete(e.key)}function Ce(r,e,t,n,i,a,o,s=[-1]){var l=H;j(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:F(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:F(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(r,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),u&&(n=e,-1===(e=r).$$.dirty[0]&&(U.push(e),X(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,J(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&se(r.$$.fragment);{var d=r;s=e.target;o=e.anchor;t=e.customElement;const{fragment:h,on_mount:p,on_destroy:m,after_update:g}=d.$$;h&&h.m(s,o),t||q(()=>{var e=p.map($).filter(M);m?m.push(...e):J(e),d.$$.on_mount=[]}),g.forEach(q)}f()}j(l)}let r;"function"==typeof HTMLElement&&(r=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(M);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;const t=this.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Se,$e,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,Fe="URLSearchParams"in s,ke="Symbol"in s&&"iterator"in Symbol,Me="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),_e="FormData"in s,Ee="ArrayBuffer"in s;function Le(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 Te(e){return e="string"!=typeof e?String(e):e}function Ie(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ke&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Be(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=Be(t);return t.readAsArrayBuffer(e),n}function Re(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ae(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Me&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Fe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ee&&Me&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(e))?this._bodyArrayBuffer=Re(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Fe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Me&&(this.blob=function(){var e=Ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Be(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},_e&&(this.formData=function(){return this.text().then(Ye)}),this.json=function(){return this.text().then(JSON.parse)},this}Ee&&(Se=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(e){return e&&-1<Se.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Le(e),t=Te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Le(e)]},l.prototype.get=function(e){return e=Le(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Le(e))},l.prototype.set=function(e,t){this.map[Le(e)]=Te(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)}),Ie(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ie(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ie(n)},ke&&(l.prototype[Symbol.iterator]=l.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ze(e,t){if(!(this instanceof ze))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof ze){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,r||null==e._bodyInit||(r=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<De.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"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 Ye(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 Ve(e,t){if(!(this instanceof Ve))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}ze.prototype.clone=function(){return new ze(this,{body:this._bodyInit})},Ae.call(ze.prototype),Ae.call(Ve.prototype),Ve.prototype.clone=function(){return new Ve(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ve.error=function(){var e=new Ve(null,{status:0,statusText:""});return e.type="error",e};var Ze=[301,302,303,307,308],Je=(Ve.redirect=function(e,t){if(-1===Ze.indexOf(t))throw new RangeError("Invalid status code");return new Ve(null,{status:t,headers:{location:e}})},s.DOMException);try{new Je}catch(o){(Je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Je.prototype.constructor=Je}function Ke(r,o){return new Promise(function(i,e){var t=new ze(r,o);if(t.signal&&t.signal.aborted)return e(new Je("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new Ve(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(Me?a.responseType="blob":Ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof l?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Te(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Tn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ke.polyfill=!0,s.fetch||(s.fetch=Ke,s.Headers=l,s.Request=ze,s.Response=Ve);var Xe=self.fetch.bind(self),qe=function(e,t){return(qe=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 Qe(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}qe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function et(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function tt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function nt(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function rt(e){return"function"==typeof e}function it(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 at=it(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 ot(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}ct.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=et(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(rt(a))try{a()}catch(e){i=e instanceof at?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=et(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{dt(u)}catch(e){i=null!=i?i:[],e instanceof at?i=nt(nt([],tt(i)),tt(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new at(i)}},ct.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)dt(e);else{if(e instanceof ct){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},ct.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ct.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ct.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ot(t,e)},ct.prototype.remove=function(e){var t=this._finalizers;t&&ot(t,e),e instanceof ct&&e._removeParent(this)},ct.EMPTY=((e=new ct).closed=!0,e);var st=ct,lt=st.EMPTY;function ct(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function ut(e){return e instanceof st||e&&"closed"in e&&rt(e.remove)&&rt(e.add)&&rt(e.unsubscribe)}function dt(e){rt(e)?e():e.unsubscribe()}var ht=void 0,pt=!1,mt=!1,gt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=gt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,nt([e,t],tt(n))):setTimeout.apply(void 0,nt([e,t],tt(n)))},clearTimeout:function(e){var t=gt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ft(){}var yt=null;function vt(e){if(pt){var t=!yt;if(t&&(yt={errorThrown:!1,error:null}),e(),t){var t=yt,n=t.errorThrown,t=t.error;if(yt=null,n)throw t}}else e()}Qe(Ct,bt=st),Ct.create=function(e,t,n){return new kt(e,t,n)},Ct.prototype.next=function(e){this.isStopped||this._next(e)},Ct.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ct.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ct.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,bt.prototype.unsubscribe.call(this),this.destination=null)},Ct.prototype._next=function(e){this.destination.next(e)},Ct.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ct.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var bt,wt=Ct,xt=Function.prototype.bind;function Ct(e){var t=bt.call(this)||this;return t.isStopped=!1,e?ut(t.destination=e)&&e.add(t):t.destination=Lt,t}function St(e,t){return xt.call(e,t)}_t.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Et(e)}},_t.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Et(e)}else Et(e)},_t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Et(e)}};var $t,Ft=_t,kt=(Qe(Mt,$t=wt),Mt);function Mt(e,t,n){var r=$t.call(this)||this,n=rt(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&mt?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&St(e.next,t),error:e.error&&St(e.error,t),complete:e.complete&&St(e.complete,t)}):e;return r.destination=new Ft(n),r}function _t(e){this.partialObserver=e}function Et(e){var t=e;gt.setTimeout(function(){throw t})}var Lt={closed:!0,next:ft,error:function(e){throw e},complete:ft},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function Tt(e){return e}Gt.prototype.lift=function(e){var t=new Gt;return t.source=this,t.operator=e,t},Gt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof wt||r&&rt(r.next)&&rt(r.error)&&rt(r.complete)&&ut(r)?e:new kt(e,t,n);return vt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Gt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Gt.prototype.forEach=function(r,e){var i=this;return new(e=Bt(e))(function(e,t){var n=new kt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Gt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Gt.prototype[e]=function(){return this},Gt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Tt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Gt.prototype.toPromise=function(e){var r=this;return new(e=Bt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Gt.create=function(e){return new Gt(e)};var It=Gt;function Gt(e){e&&(this._subscribe=e)}function Bt(e){return null!=(e=null!=e?e:ht)?e:Promise}var Pt,Rt,At,Dt=it(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Qe(i,At=It),i.prototype.lift=function(e){var t=new Ht(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new Dt},i.prototype.next=function(i){var a=this;vt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=et(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var n=this;vt(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)}})},i.prototype.complete=function(){var t=this;vt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),At.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?lt:(this.currentObservers=null,i.push(e),new st(function(){t.currentObservers=null,ot(i,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},i.prototype.asObservable=function(){var e=new It;return e.source=this,e},i.create=function(e,t){return new Ht(e,t)},i),Ht=(Qe(Ut,Rt=e),Ut.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Ut.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Ut.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ut.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:lt},Ut),Nt={now:function(){return(Nt.delegate||Date).now()},delegate:void 0},Ot=(Qe(jt,Pt=e),jt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Pt.prototype.next.call(this,e)},jt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},jt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},jt);function jt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Nt);var r=Pt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Ut(e,t){var n=Rt.call(this)||this;return n.destination=e,n.source=t,n}function i(){var e=At.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Wt=[],zt={};const Yt=[];function Vt(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!Yt.length;for(const e of o)e[1](),Yt.push(e,r);if(e){for(let e=0;e<Yt.length;e+=2)Yt[e][0](Yt[e+1]);Yt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Zt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Vt(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=M(e)?e:Z)},e=c.map((e,t)=>d(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}function Jt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Kt));var t}var Kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Xt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nn(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Xt(e,n)})}function Qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function en(e,t){try{return t in e}catch(e){return!1}}function tn(r,i,a){var o={};return a.isMergeableObject(r)&&Qt(r).forEach(function(e){o[e]=Xt(r[e],a)}),Qt(i).forEach(function(t){var e,n;(!en(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(en(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return nn;e=e.customMerge(t);return"function"==typeof e?e:nn}(a)(r[t],i[t],a):o[t]=Xt(i[t],a))}),o}function nn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Jt,n.cloneUnlessOtherwiseSpecified=Xt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):tn(e,t,n):Xt(t,n)}nn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return nn(e,t,n)},{});throw new Error("first argument should be an array")};var rn=nn,an=function(e,t){return(an=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function on(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}an(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,sn,v=function(){return(v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ln(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function cn(e){return e.type===y.literal}function un(e){return e.type===y.number}function dn(e){return e.type===y.date}function hn(e){return e.type===y.time}function pn(e){return e.type===y.select}function mn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function fn(e){return e&&"object"==typeof e&&e.type===sn.number}function yn(e){return e&&"object"==typeof e&&e.type===sn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=sn=sn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var bn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,xn=/^(@+)?(\+|#+)?[rs]?$/g,Cn=/(\*)(0+)|(#+)(0+)|(0+)/g,Sn=/^(0+)$/;function $n(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(xn,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Fn(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 kn(e){return Fn(e)||{}}function Mn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,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=v(v(v({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return v(v({},e),kn(t))},{}));continue;case"engineering":o=v(v(v({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return v(v({},e),kn(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(Cn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Sn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(wn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=v(v({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=v(v({},o),$n(a)))}else xn.test(i.stem)?o=v(v({},o),$n(i.stem)):((a=Fn(i.stem))&&(o=v(v({},o),a)),(r=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)),!Sn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=v(v({},o),r)))}return o}var _n={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 En=new RegExp("^".concat(e.source,"*")),Ln=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,In=!!String.fromCodePoint,Gn=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Pn=!!String.prototype.trimStart,Rn=!!String.prototype.trimEnd,An=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dn=!0;try{Dn="a"===(null==(ar=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ar[0])}catch(o){Dn=!1}var Hn,Nn,On=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},jn=In?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Un=Gn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Wn=Bn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},zn=Pn?function(e){return e.trimStart()}:function(e){return e.replace(En,"")},Yn=Rn?function(e){return e.trimEnd()}:function(e){return e.replace(Ln,"")};function Vn(e,t){return new RegExp(e,t)}Nn=Dn?(Hn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Hn.lastIndex=t,null!=(t=Hn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Wn(e,t);if(void 0===i||Kn(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;r.push(i),t+=65536<=i?2:1}return jn.apply(void 0,r)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Jn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:b(a,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:b(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jn(this.char()))return this.error(g.INVALID_TAG,b(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:b(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,b(n,this.clonePosition()))}return this.error(g.INVALID_TAG,b(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=b(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return jn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),jn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,b(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:b(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,b(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=Yn(m.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=b(r,this.clonePosition());if(l&&On(null==l?void 0:l.style,"::",0)){var d=zn(l.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:n,location:u,style:m.val},err:null};if(0===d.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,u);var h=d,p=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(_n[t||""]||_n[n||""]||_n["".concat(n,"-001")]||_n["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}(d,this.locale)),{type:sn.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(vn,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):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:u,style:p},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(h,v({},h)));this.bumpSpace();var m,p=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,o,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;d=b(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:Un(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:Un(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,b(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(bn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=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:a,options:i})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:sn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Mn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;a.push([s,{value:c.val,location:b(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=b(r,this.clonePosition());return i?An(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Wn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(On(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Kn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Zn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Jn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Kn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Xn(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Zn(e,t).parse();if(e.err)throw(n=SyntaxError(g[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,pn(e)||mn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else un(e)&&fn(e.style)||(dn(e)||hn(e))&&yn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:or,r=t&&t.serializer?t.serializer:nr;return(t&&t.strategy?t.strategy:function(e,t){return tr(e,this,1===e.length?Qn:er,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Qn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function er(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function tr(e,t,n,r,i){return n.bind(t,e,r,i)}var nr=function(){return JSON.stringify(arguments)};function rr(){this.cache=Object.create(null)}rr.prototype.get=function(e){return this.cache[e]},rr.prototype.set=function(e,t){this.cache[e]=t};var ir,ar,or={create:function(){return new rr}},sr={variadic:function(e,t){return tr(e,this,er,t.cache.create(),t.serializer)},monadic:function(e,t){return tr(e,this,Qn,t.cache.create(),t.serializer)}};(ar=ir=ir||{}).MISSING_VALUE="MISSING_VALUE",ar.INVALID_VALUE="INVALID_VALUE",ar.MISSING_INTL_API="MISSING_INTL_API";on(br,dr=Error),br.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var x,lr,cr,ur,dr,hr=br,pr=(on(vr,ur=hr),vr),mr=(on(yr,cr=hr),yr),gr=(on(fr,lr=hr),fr);function fr(e,t){return lr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ir.MISSING_VALUE,t)||this}function yr(e,t,n){return cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ir.INVALID_VALUE,n)||this}function vr(e,t,n,r){return ur.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ir.INVALID_VALUE,r)||this}function br(e,t,n){e=dr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function wr(e,t,n,r,i,a,o){if(1===e.length&&cn(e[0]))return[{type:x.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(cn(u))s.push({type:x.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:x.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new gr(d,o);d=i[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?x.literal:x.object,value:d});else if(dn(u)){var h="string"==typeof u.style?r.date[u.style]:yn(u.style)?u.style.parsedOptions:void 0;s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(hn(u))h="string"==typeof u.style?r.time[u.style]:yn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(un(u))(h="string"==typeof u.style?r.number[u.style]:fn(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:x.literal,value:n.getNumberFormat(t,h).format(d)});else{if(gn(u)){var p=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new mr(m,"function",o);m=g(wr(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?x.literal:x.object,value:e}}))}if(pn(u)){if(!(f=u.options[d]||u.options.other))throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i))}else if(mn(u)){if(!(f=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ir.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),f=u.options[g]||u.options.other}if(!f)throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===x.literal&&t.type===x.literal?n.value+=t.value:e.push(t),e},[])}function xr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=x=x||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Sr,"defaultLocale",{get:function(){return Sr.memoizedDefaultLocale||(Sr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Sr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Sr.memoizedDefaultLocale=null,Sr.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])},Sr.__parse=Xn,Sr.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 Cr=Sr;function Sr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=Sr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===x.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return wr(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=Sr.resolveLocale(t),"string"==typeof e){if(this.message=e,!Sr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Sr.__parse(e,{ignoreTag:null==r?void 0:r.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=Sr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?v(v(v({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=v(v({},n[t]),r[t]||{}),e},{})):n),e},v({},i)):i),this.formatters=r&&r.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,ln([void 0],t,!1)))},{cache:xr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:sr.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,ln([void 0],t,!1)))},{cache:xr(t.dateTime),strategy:sr.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,ln([void 0],t,!1)))},{cache:xr(t.pluralRules),strategy:sr.variadic})}}const $r={},Fr=(e,t,n)=>n&&(t in $r||($r[t]={}),e in $r[t]||($r[t][e]=n),n),kr=(t,n)=>{if(null!=n){if(n in $r&&t in $r[n])return $r[n][t];var r=jr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Er(e))return null;e=function(e){return Mr[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return Fr(t,n,i)}}};let Mr;const _r=Vt({});function Er(e){return e in Mr}function Lr(t,...n){delete $r[t],_r.update(e=>(e[t]=rn.all([e[t]||{},...n]),e))}Zt([_r],([e])=>Object.keys(e)),_r.subscribe(e=>Mr=e);const Tr={};function Ir(e){return Tr[e]}function Gr(e){return null!=e&&jr(e).some(e=>{return null==(e=Ir(e))?void 0:e.size})}const Br={};function Pr(e){if(!Gr(e))return e in Br?Br[e]:Promise.resolve();const t=jr(e).map(e=>{var t=Ir(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Br[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return Tr[t].delete(n),0===Tr[t].size&&delete Tr[t],e().then(e=>e.default||e)}));return n.then(e=>Lr(r,...e))}})).then(()=>{if(Gr(e))return Pr(e);delete Br[e]}),Br[e]}function Rr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Ar={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 Dr=Vt(!1);let Hr;const Nr=Vt(null);function Or(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function jr(e,t=Ar.fallbackLocale){e=Or(e);return t?[...new Set([...e,...Or(t)])]:e}function Ur(){return null!=Hr?Hr:void 0}Nr.subscribe(e=>{Hr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const Ne=Object.assign(Object.assign({},Nr),{set:t=>{if(t&&function(e){if(null!=e){var t=jr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Er(n))return n}}}(t)&&Gr(t)){var n=Ar["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Dr.set(!0),n):Dr.set(!0),Pr(t).then(()=>{Nr.set(t)}).finally(()=>{clearTimeout(e),Dr.set(!1)})}return Nr.set(t)}}),Wr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},zr=(e,t)=>{var n=Ar["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=zr("number",n)),new Intl.NumberFormat(t,e)}),Vr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=zr("date",n):0===Object.keys(e).length&&(e=zr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=zr("time",n):0===Object.keys(e).length&&(e=zr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Wr((e,t=Ur())=>new Cr(e,t,Ar.formats,{ignoreTag:Ar.ignoreTag})),Kr=Zt([Ne,_r],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Ur(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=kr(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!=(r=null!=(n=null==(n=(r=Ar).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=Jr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Oe=(Zt([Ne],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Zt([Ne],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Vr(Object.assign({locale:t},e))})(t).format(e)),Zt([Ne],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Yr(Object.assign({locale:t},e))})(t).format(e)),Zt([Ne,_r],()=>(e,t=Ur())=>kr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Wt.indexOf(e)&&(t=new Ot(t),zt[e]=t,Wt.push(e)),zt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),je=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xr(e){var t=window.navigator.userAgent;return Oe(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 qr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Xe(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qr(e){Ne.set(e)}const ei={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Registro",deposit:"Depósito"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function ti(e,t,n){const r=e.slice();return r[32]=t[n],r[34]=n,r}function ni(t){let r,i=[],n=new Map,a=t[7];const o=e=>e[32].id;for(let e=0;e<a.length;e+=1){var s=ti(t,a,e),l=o(s);n.set(l,i[e]=ai(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);de(t,r,n)},p(e,t){691&t[0]&&(a=e[7],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,v=new Map;for(m=p;m--;){const t=d(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[m]=e),l in g&&v.set(l,Math.abs(m-g[l]))}const b=new Set,w=new Set;function x(e){se(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,p--):y.has(a)?!s.has(i)||b.has(i)?x(n):w.has(a)?h--:v.get(i)>v.get(a)?(w.add(i),x(n)):(b.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return f}(i,t,o,1,e,a,n,r.parentNode,xe,ai,r,ti))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&he(r)}}}function ri(e){let n,r,i,a=e[32].name+"",o="FAVORITES"===e[32].id?"("+e[0]+")":"";return{c(){n=me(a),r=ge(),i=me(o)},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){128&t[0]&&a!==(a=e[32].name+"")&&ye(n,a),129&t[0]&&o!==(o="FAVORITES"===e[32].id?"("+e[0]+")":"")&&ye(i,o)},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ii(e){let n,r,i=e[32].label+"";return{c(){n=pe("a"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){128&t[0]&&i!==(i=e[32].label+"")&&ye(r,i)},d(e){e&&he(n)}}}function ai(e,n){let r,i,a,o,s;function l(e){return"headerMain"===e[1]?ii:ri}let c=l(n),u=c(n);function d(...e){return n[22](n[32],n[34],...e)}return{key:e,first:null,c(){r=pe("li"),u.c(),i=ge(),fe(r,"class",a="CarouselItem "+(n[4]==n[34]||n[5]==n[34]?"active":"")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){de(e,r,t),u.m(r,null),ue(r,i),o||(s=K(r,"click",d),o=!0)},p(e,t){c===(c=l(n=e))&&u?u.p(n,t):(u.d(1),(u=c(n))&&(u.c(),u.m(r,i))),176&t[0]&&a!==(a="CarouselItem "+(n[4]==n[34]||n[5]==n[34]?"active":""))&&fe(r,"class",a)},d(e){e&&he(r),u.d(),o=!1,s()}}}function oi(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=0<n[7].length&&ni(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=pe("ul"),y&&y.c(),l=ge(),(c=pe("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=Z,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(s,"class","CarouselItems"),fe(s,"part","CarouselItems"),fe(c,"class","CarouselRightArrow"),fe(c,"part","CarouselRightArrow"),fe(i,"class",u="CarouselContainer "+(n[8]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"part",d="CarouselContainer "+(n[8]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"style",h="headerMain"===n[1]?"max-width: auto":`max-width: ${n[2]}px`),fe(r,"class",p="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":"")),fe(r,"part",m="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),y&&y.m(s,null),n[23](s),ue(i,l),ue(i,c),n[25](r),g||(f=[K(a,"click",n[21]),K(c,"click",n[24])],g=!0)},p(e,t){0<e[7].length?y?y.p(e,t):((y=ni(e)).c(),y.m(s,null)):y&&(y.d(1),y=null),2&t[0]&&u!==(u="CarouselContainer "+(e[8]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"class",u),2&t[0]&&d!==(d="CarouselContainer "+(e[8]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"part",d),6&t[0]&&h!==(h="headerMain"===e[1]?"max-width: auto":`max-width: ${e[2]}px`)&&fe(i,"style",h),2&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",p),2&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"part",m)},i:Z,o:Z,d(e){e&&he(r),y&&y.d(),n[23](null),n[25](null),g=!1,J(f)}}}function si(t,e,n){let{onclickeventname:r="defaultEvent"}=e,{actionevent:i="defaultEvent"}=e,{favoritesnumber:a="0"}=e,{location:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{identity:c=""}=e,{containermaxwidth:u=""}=e,{isprimarymenu:d=!1}=e,{issecondarymenu:h=!1}=e,{lang:p=""}=e,m=e["activeindex"];var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),Ne.subscribe(e=>{null==e&&(_r.set(f),Ne.set(g))}),Object.keys(ei).forEach(e=>{Lr(e,ei[e])});let y,v,b,w,x=window.navigator.userAgent,C="PC"!==je(x),S=[],$=(e,t)=>{n(4,v=t),n(4,v),n(5,b=v),window.postMessage({type:i,itemId:e.id,index:t,item:e},window.location.href)},F=()=>{y.scrollBy({left:-250,behavior:"smooth"})},k=()=>{y.scrollBy({left:250,behavior:"smooth"})};const M=e=>{"SliderData"==e.data.type&&e.data.identity==c&&n(7,S=e.data.data)};return We(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)})),t.$$set=e=>{"onclickeventname"in e&&n(12,r=e.onclickeventname),"actionevent"in e&&n(13,i=e.actionevent),"favoritesnumber"in e&&n(0,a=e.favoritesnumber),"location"in e&&n(1,o=e.location),"clientstyling"in e&&n(14,s=e.clientstyling),"clientstylingurl"in e&&n(15,l=e.clientstylingurl),"identity"in e&&n(16,c=e.identity),"containermaxwidth"in e&&n(2,u=e.containermaxwidth),"isprimarymenu"in e&&n(17,d=e.isprimarymenu),"issecondarymenu"in e&&n(18,h=e.issecondarymenu),"lang"in e&&n(19,p=e.lang),"activeindex"in e&&n(20,m=e.activeindex)},t.$$.update=()=>{if(1048576&t.$$.dirty[0]&&m&&(n(4,v=parseInt(m,10)),b||n(5,b=v)),16384&t.$$.dirty[0]&&s){let e=document.createElement("style");e.innerHTML=s,setTimeout(()=>{w.appendChild(e)})}if(32768&t.$$.dirty[0]&&l){let t=document.createElement("style"),e=new URL(l);l&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{w.appendChild(t)},1)})}var e;524288&t.$$.dirty[0]&&p&&(e=p,Ne.set(e))},[a,o,u,y,v,b,w,S,C,$,F,k,r,i,s,l,c,d,h,p,m,()=>F(),(e,t,n)=>$(e,t),function(e){He[e?"unshift":"push"](()=>{y=e,n(3,y)})},()=>k(),function(e){He[e?"unshift":"push"](()=>{w=e,n(6,w)})}]}function li(n){let r,i,a,o;return{c(){r=pe("div"),w(i=pe("casino-slider"),"identity",hi),w(i,"favoritesnumber",n[8]),w(i,"clientstyling",n[0]),w(i,"clientstylingurl",n[1]),w(i,"containermaxwidth",n[2]),w(i,"activeindex",n[5]),w(i,"actionevent",n[3]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){de(e,r,t),ue(r,i),a||(o=h(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&w(i,"favoritesnumber",e[8]),1&t[0]&&w(i,"clientstyling",e[0]),2&t[0]&&w(i,"clientstylingurl",e[1]),4&t[0]&&w(i,"containermaxwidth",e[2]),32&t[0]&&w(i,"activeindex",e[5]),8&t[0]&&w(i,"actionevent",e[3])},d(e){e&&he(r),a=!1,o()}}}function ci(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ui(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function di(n){let r;function i(e){return e[4]||e[9]?ui:e[6]?ci:li}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[21](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[21](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:13px 11px;font-size:15px;font-weight:500;text-align:center;line-height:26px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:84px;color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},si,oi,t,{onclickeventname:12,actionevent:13,favoritesnumber:0,location:1,clientstyling:14,clientstylingurl:15,identity:16,containermaxwidth:2,isprimarymenu:17,issecondarymenu:18,lang:19,activeindex:20},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex"]}get onclickeventname(){return this.$$.ctx[12]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[13]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[0]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[1]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[16]}set identity(e){this.$$set({identity:e}),f()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[17]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[18]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[19]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[20]}set activeindex(e){this.$$set({activeindex:e}),f()}});let hi="CasinoSliderData";function pi(e,t,n){let r,i,a,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{mostplayed:d=""}=t,{mostplayedrounds:h=""}=t,{favorites:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:v=""}=t,{sessioncheck:b=""}=t,w=0,x=!0,C=[],S=!1,$=window.navigator.userAgent,F=!1,k=!1,M=!1;const _=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Xr(e.data.receivedFavoriteResults.items);n(8,a=t.length)}};return We(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&n(11,o=e.endpoint),"datasource"in e&&n(12,s=e.datasource),"lang"in e&&n(13,l=e.lang),"userid"in e&&n(14,c=e.userid),"session"in e&&n(15,u=e.session),"mostplayed"in e&&n(16,d=e.mostplayed),"mostplayedrounds"in e&&n(17,h=e.mostplayedrounds),"favorites"in e&&n(18,p=e.favorites),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,g=e.clientstylingurl),"containermaxwidth"in e&&n(2,f=e.containermaxwidth),"activecategory"in e&&n(19,y=e.activecategory),"actionevent"in e&&n(3,v=e.actionevent),"sessioncheck"in e&&n(20,b=e.sessioncheck)},e.$$.update=()=>{if(14336&e.$$.dirty[0]&&o&&s&&l&&(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(6,S=!0),n(4,x=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(6,S=!0),n(4,x=!1),console.error(r)),(!l||l.length<2)&&(r="Language is missing! Please provide a valid language (alpha2code)",n(6,S=!0),n(4,x=!1),console.error(r)),!S)){let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("datasource",s),e.searchParams.append("platform",je($)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);(C=(C=[]).concat(e)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(4,x=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(6,S=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(6,S=!0),console.error("There was an error while fetching the categories",e)})}if(524304&e.$$.dirty[0]&&!x&&y&&n(5,w=C.map(e=>e.id).indexOf(y)),34816&e.$$.dirty[0]&&u&&o&&"true"==b&&qr(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),294928&e.$$.dirty[0]&&u&&p&&!x&&(0==F&&"true"==p&&C.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),F=!0),116736&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(9,M=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=je($);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds",h),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==k&&"true"==d&&e&&C.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,M=!1),be(),k=!0})),1&e.$$.dirty[0]&&m){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(2&e.$$.dirty[0]&&g){let t=document.createElement("style"),e=new URL(g);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},n(8,a=0),[m,g,f,v,x,w,S,i,a,M,e=>{window.postMessage({type:"SliderData",identity:hi,data:C},window.location.href)},o,s,l,c,u,d,h,p,y,b,function(e){He[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:black}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pi,di,t,{endpoint:11,datasource:12,lang:13,userid:14,session:15,mostplayed:16,mostplayedrounds:17,favorites:18,clientstyling:0,clientstylingurl:1,containermaxwidth:2,activecategory:19,actionevent:3,sessioncheck:20},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[17]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[18]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[3]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[20]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const mi={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}},gi={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}},fi={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function yi(e,t,n){const r=e.slice();return r[57]=t[n],r}function vi(e,t,n){const r=e.slice();return r[60]=t[n],r}function bi(n){let i,r,a,o,s,l,c,u,e,d,h,p,m,g,f,y,v,b,w,x,C=n[14],S=[];for(let e=0;e<C.length;e+=1)S[e]=Si(vi(n,C,e));let $=n[7],F=[];for(let e=0;e<$.length;e+=1)F[e]=$i(yi(n,$,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<S.length;e+=1)S[e].c();o=ge(),s=pe("div"),l=pe("button"),c=k("svg"),u=k("path"),d=ge(),h=pe("button"),p=k("svg"),m=k("path"),y=ge(),v=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(u,"id","Path_36"),fe(u,"data-name","Path 36"),fe(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(u,"transform","translate(14.656 0) rotate(90)"),fe(u,"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(m,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(v,"class","WinnersSlider"),fe(i,"class",b="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,a);for(let e=0;e<S.length;e+=1)S[e].m(a,null);ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,p),ue(p,m),ue(i,y),ue(i,v);for(let e=0;e<F.length;e+=1)F[e].m(v,null);n[38](v),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=vi(t,C,e);S[e]?S[e].p(r,n):(S[e]=Si(r),S[e].c(),S[e].m(a,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=C.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(u,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for($=t[7],e=0;e<$.length;e+=1){const a=yi(t,$,e);F[e]?F[e].p(a,n):(F[e]=$i(a),F[e].c(),F[e].m(v,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=$.length}512&n[0]&&b!==(b="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",b)},d(e){e&&he(i),G(S,e),G(F,e),n[38](null),w=!1,J(x)}}}function wi(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function xi(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Ci(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Si(e){let n,r,i="recent"==e[60]&&xi(e),a="top"==e[60]&&Ci(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),a&&a.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=xi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Ci(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function $i(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C,S,$,F,k,M=n[57].gameName+"",_=n[17](n[57].username)+"",E=n[15]("Translations.won")+"",L=n[57].specifiedCurrencyAmount.toFixed(2)+"",T=(n[4]?n[10]:n[2])+"";function I(){return n[37](n[57])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),u=me(M),d=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),v=pe("p"),b=me(L),w=ge(),x=pe("span"),C=me(T),S=ge(),ce(a.src,o=n[57]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[57]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",$="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,l),ue(i,c),ue(c,u),ue(i,d),ue(i,h),ue(h,p),ue(i,m),ue(i,g),ue(g,f),ue(i,y),ue(i,v),ue(v,b),ue(v,w),ue(v,x),ue(x,C),ue(r,S),F||(k=K(a,"click",I),F=!0)},p(e,t){n=e,128&t[0]&&!ce(a.src,o=n[57]?.gameModel?.thumbnail)&&fe(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(a,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(u,M),128&t[0]&&_!==(_=n[17](n[57].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),128&t[0]&&L!==(L=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(b,L),1044&t[0]&&T!==(T=(n[4]?n[10]:n[2])+"")&&ye(C,T),8192&t[0]&&$!==($="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",$)},d(e){e&&he(r),F=!1,k()}}}function Fi(n){let r;function i(e){return e[12]?wi:bi}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function ki(t,e,r){let n;Ue(t,Kr,e=>r(15,n=e));let i,a,o,s,l,c,u,d,h,p,{endpoint:m=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:v="20"}=e,{numberuserstop:b="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:C="true"}=e,{istopavailable:S="true"}=e,{defaultcurrency:$=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:_=""}=e,E=[],L=0,T=0,R=window.navigator.userAgent,I=!0,G=!1;Object.keys(fi).forEach(e=>{Lr(e,fi[e])});const A=()=>{const e=new URL(`${m}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?v:b),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==a?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{r(7,E=[]),r(7,E=e.items.map(e=>e)),r(12,I=!1),setTimeout(()=>{r(8,T=Math.round(i.offsetWidth/225)),H(),"true"==M&&(L=0,T<u?d=setInterval(()=>{P()},3e3):clearInterval(d))})})},B=e=>{a!==e&&(r(6,a=e),r(7,E=[]),A())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},H=n=>{const e=[...i.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},N=()=>{H(L)},O=()=>{var e=E.length;T>=E.length||(0===L?L=e-T:L-T<0?L=0:L-=T,N())},P=()=>{var e=E.length;T>=E.length||("true"==M&&(L===e-T?L=0:L++),"false"==M&&(L===e-T?L=0:e-T<L+T?L=e-T:L+=T),N())};return We(()=>(r(9,o=Oe(R)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&r(22,m=e.endpoint),"session"in e&&r(23,g=e.session),"periodrecent"in e&&r(24,f=e.periodrecent),"periodtop"in e&&r(25,y=e.periodtop),"numberusersrecent"in e&&r(26,v=e.numberusersrecent),"numberuserstop"in e&&r(27,b=e.numberuserstop),"amountlimit"in e&&r(21,w=e.amountlimit),"lang"in e&&r(28,x=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,S=e.istopavailable),"defaultcurrency"in e&&r(2,$=e.defaultcurrency),"clientstyling"in e&&r(29,F=e.clientstyling),"clientstylingurl"in e&&r(30,k=e.clientstylingurl),"enableautoscroll"in e&&r(3,M=e.enableautoscroll),"tabsorder"in e&&r(31,_=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&S&&f&&y&&v&&b&&w&&x&&_&&null!=s&&(r(14,h=_.split(",")),r(6,a=h[0]),"false"==C&&r(21,w=""),r(32,p=s?l:$)),4194304&t.$$.dirty[0]&&m&&qr(m,g).then(e=>{e.Guid,r(10,l=e.Currency),r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&M&&A(),268435456&t.$$.dirty[0]&&x&&(e=x,Ne.set(e)),536870912&t.$$.dirty[0]&&F){let e=document.createElement("style");e.innerHTML=F,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&k){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[C,S,$,M,s,i,a,E,T,o,l,c,I,G,h,n,B,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,P,w,m,g,f,y,v,b,x,F,k,_,p,()=>B("recent"),()=>B("top"),()=>O(),()=>P(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){He[e?"unshift":"push"](()=>{i=e,r(5,i)})},function(e){He[e?"unshift":"push"](()=>{c=e,r(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:192px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:192px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ki,Fi,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});_i=Mi={path:void 0,exports:{},require:function(e,t){return Tn(null==t&&Mi.path)}},Mi.exports,_i.exports=function(){var R;function m(){return R.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 g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function O(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Tt(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=z.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 W(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var z=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},Y=m.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=Y[n]])||(e[r]=i);return e}function J(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,m.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}K(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&A(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[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(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[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<a;n++)t+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=d(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Be(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\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}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,$e=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,ke=/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,r){_e[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(_e,e)?_e[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={},Ee={};function C(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),H(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=i}function Le(e,i){C(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,$=0,F=1,k=2,M=3,_=4,E=5,Te=6,Ie=7,Ge=8;function Be(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?de(e)?29:28:31-n%7%2}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("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)}),C(["M","MM"],function(e,t){t[F]=p(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[F]=r:f(n).invalidMonth=e});var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=b,He=b;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!H(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Oe(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=x(n[a]),r[a]=x(r[a]);for(a=0;a<24;a++)i[a]=x(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",$e),w("YY",v,y),w("YYYY",xe,fe),w("YYYYY",Ce,ye),w("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],$),C("YYYY",function(e,t){t[$]=2===e.length?m.parseTwoDigitYear(e):p(e)}),C("YY",function(e,t){t[$]=m.parseTwoDigitYear(e)}),C("Y",function(e,t){t[$]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var We=he("FullYear",!0);function ze(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Je(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+L(i=e.year()-1,t,n):a>L(e.year(),t,n)?(r=a-L(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function L(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("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),Le(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("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)}),Le(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,nt=b;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",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),C(["H","HH"],M),C(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),C(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),C(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r)),f(n).bigHour=!0}),C("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i)),f(n).bigHour=!0}),C("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r))}),C("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i))});b=he("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:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},T={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ut(e[a]).split("-")).length,n=(n=ut(e[a+1]))?n.split("-"):null;0<t;){if(r=ht(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return st}function ht(t){var e;if(void 0===T[t]&&_i&&_i.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Tn(),pt(e)}catch(e){T[t]=null}return T[t]}function pt(e,t){return e&&((t=s(t)?I(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete T[e],null;var n,r=lt;if(t.abbr=e,null!=T[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=T[e]._config;else if(null!=t.parentLocale)if(null!=T[t.parentLocale])r=T[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return T[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),T[e]}function I(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[k]<1||t[k]>Be(t[$],t[F])?k:t[M]<0||24<t[M]||24===t[M]&&(0!==t[_]||0!==t[E]||0!==t[Te])?M:t[_]<0||59<t[_]?_:t[E]<0||59<t[E]?E:t[Te]<0||999<t[Te]?Te:-1,f(e)._overflowDayOfYear&&(t<$||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Ie),f(e)._overflowWeekday&&-1===t&&(t=Ge),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,Ct=/^(?:(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}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function $t(e){var t,n,r,i,a,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],r=!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])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function kt(e){var t,n,r,i,a=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?St[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),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 _t(e){var t,n,r,i,a,o,s,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[k]&&null==e._a[F]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=Mt(d.GG,u._a[$],Je(G(),1,4).year),i=Mt(d.W,1),((a=Mt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Je(G(),o,s),r=Mt(d.gg,u._a[$],c.year),i=Mt(d.w,c.week),null!=d.d?((a=d.d)<0||6<a)&&(l=!0):null!=d.e?(a=d.e+o,(d.e<0||6<d.e)&&(l=!0)):a=o),i<1||i>L(r,o,s)?f(u)._overflowWeeks=!0:null!=l?f(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[$]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Mt(e._a[$],n[$]),(e._dayOfYear>Ue(d)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(d,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[_]&&0===e._a[E]&&0===e._a[Te]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:ze).apply(null,h),r=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!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(d=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(d),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&g(Ee,d)&&Ee[d](h,p._a,p,d)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-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]=(a=e._locale,c=e._a[M],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=f(e).era)&&(e._a[$]=e._locale.erasConvertYear(u,e._a[$])),_t(e),gt(e)}else kt(e);else $t(e);var c,u,d,h,p}function Lt(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||I(e._l),null===n||void 0===r&&""===n)return W({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new J(gt(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,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++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));j(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?($t(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i)))):i._d=new Date(+a[1])):o(r)?(n._a=O(r.slice(0),function(e){return parseInt(e,10)}),_t(n)):A(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=O([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),_t(i)):H(r)?n._d=new Date(r):m.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Tt(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(A(e)&&D(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new J(gt(Lt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function G(e,t,n,r){return Tt(e,t,n,r,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function It(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return G();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Gt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Gt.length;for(t in e)if(g(e,t)&&(-1===S.call(Gt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Gt[n]]){if(r)return!1;parseFloat(e[Gt[n]])!==p(e[Gt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=I(),this._bubble()}function Pt(e){return e instanceof Bt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",ke),w("ZZ",ke),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(ke,e)});var Dt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:G(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):G(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function B(e,t){var n,r,i=e,a=null;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:p(a[k])*n,h:p(a[M])*n,m:p(a[_])*n,s:p(a[E])*n,ms:p(Rt(1e3*a[Te]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=G(i.from),a=G(i.to),n=t.isValid()&&a.isValid()?(a=Nt(a,t),t.isBefore(a)?r=Yt(t,a):((r=Yt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Bt(i),Pt(e)&&g(e,"_locale")&&(a._locale=e._locale),Pt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function zt(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(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(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,B(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,pe(e,"Month")+t*n),a&&me(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Pe=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||N(e)||Jt(e)||H(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!H(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!D(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Xt(e,t){if(e.date()<t.date())return-Xt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=I(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(x(i[a].name)),e.push(x(i[a].abbr)),n.push(x(i[a].narrow)),r.push(x(i[a].name)),r.push(x(i[a].abbr)),r.push(x(i[a].narrow));this._erasRegex=new RegExp("^("+r.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){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Je(this,r,i).year:(t>(a=L(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,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,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Se),w("yy",Se),w("yyy",Se),w("yyyy",Se),w("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),C(["y","yy","yyy","yyyy"],$),C(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[$]=n._locale.eraYearOrdinalParse(e,i):t[$]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(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",$e),w("g",$e),w("GG",v,y),w("gg",v,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",Ce,ye),w("ggggg",Ce,ye),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Le(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),C("Q",function(e,t){t[F]=3*(p(e)-1)}),r("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}),C(["D","DD"],k),C("Do",function(e,t){t[k]=p(e.match(v)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),C(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",v),w("mm",v,y),C(["m","mm"],_);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",v),w("ss",v,y),C(["s","ss"],E);var cn,Ce=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(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,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Se);function un(e,t){t[Te]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")C(cn,un);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=J.prototype;function dn(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=A(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||G(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,G(e)))},i.clone=function(){return new J(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":a=Xt(this,r)/12;break;case"month":a=Xt(this,r);break;case"quarter":a=Xt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:h(a)},i.endOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(G(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(G(),e)},i.get=function(e){return u(this[e=d(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:G(e),t=l(t)?t:G(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:G(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(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 U(this)},i.lang=Qe,i.locale=qt,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)g(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},i.subtract=Xe,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){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(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")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(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,r=t.length;n<r;++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,r=t.length;n<r;++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,r=t.length;n<r;++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(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},i.year=We,i.isLeapYear=function(){return de(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=Oe,i.daysInMonth=function(){return Be(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=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return L(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return L(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return L(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return L(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},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=Ce,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ot(this);if("string"==typeof e){if(null===(e=Ht(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ot(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,B(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.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(Ot(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?G(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",Oe),i.years=e("years accessor is deprecated. Use year instead",We),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(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Lt(t))._a?(e=(t._isUTC?c:G)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var i=I(),r=c().set(r,t);return i[n](r,e)}function pn(e,t,n){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=hn(e,i,n,"month");return r}function mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),H(t)&&(n=t,t=void 0),t||"");var i,a=I(),o=e?a._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=hn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(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=dn,y.postformat=dn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(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)g(e,n)&&(u(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,r=this._eras||I("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(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 r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Je(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(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"},pt("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===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",I);var gn=Math.abs;function fn(e,t,n,r){t=B(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*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"),ge=wn("s"),Pe=wn("m"),be=wn("h"),ve=wn("d"),Xe=wn("w"),b=wn("M"),fe=wn("Q"),Ce=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),We=xn("minutes"),y=xn("hours"),Cn=xn("days"),Sn=xn("months"),$n=xn("years");var Fn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=B(e).abs(),a=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),u=Fn(i.as("w")),i=Fn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||u<=1&&["w"]||u<n.w&&["ww",u]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var _n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=_n(this._milliseconds)/1e3,l=_n(this._days),c=_n(this._months),u=this.asSeconds();return u?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var P=Bt.prototype;return P.isValid=function(){return this._isValid},P.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(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,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/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+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},P.asMilliseconds=we,P.asSeconds=ge,P.asMinutes=Pe,P.asHours=be,P.asDays=ve,P.asWeeks=Xe,P.asMonths=b,P.asQuarters=fe,P.asYears=Ce,P.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},P._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(vn(t)),t-=yn(bn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},P.clone=function(){return B(this)},P.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},P.milliseconds=ye,P.seconds=xe,P.minutes=We,P.hours=y,P.days=Cn,P.weeks=function(){return h(this.days()/7)},P.months=Sn,P.years=$n,P.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},P.toISOString=Ln,P.toString=Ln,P.toJSON=Ln,P.locale=qt,P.localeData=Qt,P.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),P.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",$e),w("X",/[+-]?\d+(\.\d{1,3})?/),C("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),C("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.3",R=G,m.fn=i,m.min=function(){return It("isBefore",[].slice.call(arguments,0))},m.max=function(){return It("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return G(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=W,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return G.apply(null,arguments).parseZone()},m.localeData=I,m.isDuration=Pt,m.monthsShort=function(e,t){return pn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=T[e]&&null!=T[e].parentLocale?T[e].set(Q(T[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=T[e],T[e]=r),pt(e)):null!=T[e]&&(null!=T[e].parentLocale?(T[e]=T[e].parentLocale,e===pt()&&pt(e)):null!=T[e]&&delete T[e]),T[e]},m.locales=function(){return te(T)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.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"},m.prototype=i,m.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"},m}();var Mi,_i,Ei=Mi.exports;const Li={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Ti={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 Ii(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Gi(e,t,n){const r=e.slice();return r[102]=t[n],r}function Bi(e){let n,r=!Oe(e[36])&&!e[0]&&e[13],i=r&&Pi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=8193&t[0]?!Oe(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=Pi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function Pi(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[64]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ri(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ai(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Di(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Hi(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ni(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Oi(e);function a(e){return e[22]&&e[19]&&e[19]===Qi?Ui:e[22]&&e[19]&&e[19]===ea?ji:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),s&&s.m(e,t),de(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Oi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Oi(e){let n,r,i,a,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=Ei.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),i=me(h),a=ge(),o=pe("span"),s=me(p),l=ge(),c=new A(!1),u=ge(),d=new A(!1),fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=u,d.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(n,l),c.m(m,n),ue(n,u),d.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(i,h),3145728&t[0]&&p!==(p=Ei.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&g!==(g=e[44](e[26],e[27],e[25])+"")&&d.p(g)},d(e){e&&he(n)}}}function ji(n){let r,i,a,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",d=new Array(na),h=[];for(let e=0;e<d.length;e+=1)h[e]=Vi(Ii(n,d,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ge(),o=new A(!1),s=ge(),l=new A(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30]),fe(r,"part",n[30])},m(e,t){de(e,r,t),ue(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[67](i),ue(r,a),o.m(c,r),ue(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(na),e=0;e<d.length;e+=1){const o=Ii(t,d,e);h[e]?h[e].p(o,n):(h[e]=Vi(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&fe(r,"class",t[30]),1073741824&n[0]&&fe(r,"part",t[30])},d(e){e&&he(r),G(h,e),n[67](null)}}}function Ui(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?Ji:Zi}let d=u(e),h=d(e);return{c(){n=pe("div"),r=pe("div"),h.c(),i=ge(),a=new A(!1),o=ge(),s=new A(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){de(e,n,t),ue(n,r),h.m(r,null),ue(n,i),a.m(l,n),ue(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Wi(e){let n;function r(e){return e[29]?Yi:zi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function zi(e){let n,r,i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"";return{c(){n=new A(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),de(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"")&&n.p(i)},d(e){e&&he(r),e&&n.d()}}}function Yi(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"",l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"";return{c(){n=pe("div"),r=new A(!1),i=ge(),a=new A(!1),o=ge(),r.a=i,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){de(e,n,t),r.m(s,n),ue(n,i),a.m(l,n),ue(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"")&&a.p(l)},d(e){e&&he(n)}}}function Vi(e){let n,r=e[11]&&e[11][e[107]]&&Wi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=Wi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Zi(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ki(Gi(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=Gi(t,a,e);o[e]?o[e].p(r,n):(o[e]=Ki(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Ji(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ki(e){let n,r,i,a,o,s,l;return{c(){n=pe("span"),r=k("svg"),i=k("path"),a=k("path"),o=ge(),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(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function Xi(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[3])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&fe(n,"title",e[3])},d(e){e&&he(n)}}}function qi(n){let r,i,a,o,s,l,D,c,u,d,h,p,H,m,g,f,y,N,v,b,O,w,x,C,S,$,j,F,k,U,M,_,W,z,E=n[35]("gameThumbnail.playNow")+"",L=(n[4]||"-")+"",Y=0<parseInt(n[7]),T=n[14]&&Bi(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(x=null),(w=null==w?!(Oe(e[36])||!e[0]||!e[13]||!e[1]):w)?Ai:(x=null==x?!!(Oe(e[36])&&e[0]&&e[13]&&e[1]):x)?Ri:void 0}let I=V(n,[-1,-1,-1,-1]),G=I&&I(n),B=n[6]&&Di(n),P=Y&&Hi(n),R=n[10]&&Ni(n),A=n[9]&&Xi(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),D=ge(),c=pe("div"),u=pe("div"),T&&T.c(),d=ge(),h=pe("p"),p=me(n[3]),H=ge(),m=pe("button"),g=me(E),N=ge(),v=pe("span"),b=me(L),O=ge(),G&&G.c(),C=ge(),S=pe("div"),B&&B.c(),$=ge(),P&&P.c(),j=ge(),R&&R.c(),U=ge(),A&&A.c(),this.c=Z,ce(a.src,o=n[2])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[3]),fe(m,"class","GameInfoBtn"),fe(m,"part","GameInfoBtn"),fe(u,"class",f="GameInfo "+(n[15]?"GameHovered":"")),fe(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),fe(v,"class","GameInfoVendor"),fe(v,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe(S,"class","GameExtraInfo"),fe(S,"part","GameExtraInfo"),fe(i,"class",F="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(i,"part",k="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(r,"class",M="GameContainer "+n[33]),fe(r,"part",_="GameContainer "+n[33])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[63](a),ue(i,D),ue(i,c),ue(c,u),T&&T.m(u,null),ue(u,d),ue(u,h),ue(h,p),ue(u,H),ue(u,m),ue(m,g),ue(c,N),ue(c,v),ue(v,b),ue(i,O),G&&G.m(i,null),ue(i,C),ue(i,S),B&&B.m(S,null),ue(S,$),P&&P.m(S,null),ue(S,j),R&&R.m(S,null),ue(r,U),A&&A.m(r,null),n[68](r),W||(z=[K(m,"click",n[65]),K(i,"mouseenter",n[41]),K(i,"mouseleave",n[42]),K(i,"touchstart",n[39],{passive:!0}),K(i,"touchend",n[40],{passive:!0})],W=!0)},p(e,t){4&t[0]&&!ce(a.src,o=e[2])&&fe(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&fe(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&fe(a,"part",l),e[14]?T?T.p(e,t):((T=Bi(e)).c(),T.m(u,d)):T&&(T.d(1),T=null),8&t[0]&&ye(p,e[3]),8&t[0]&&fe(h,"title",e[3]),16&t[1]&&E!==(E=e[35]("gameThumbnail.playNow")+"")&&ye(g,E),32768&t[0]&&f!==(f="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"class",f),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"part",y),16&t[0]&&L!==(L=(e[4]||"-")+"")&&ye(b,L),I===(I=V(e,t))&&G?G.p(e,t):(G&&G.d(1),(G=I&&I(e))&&(G.c(),G.m(i,C))),e[6]?B?B.p(e,t):((B=Di(e)).c(),B.m(S,$)):B&&(B.d(1),B=null),(Y=128&t[0]?0<parseInt(e[7]):Y)?P?P.p(e,t):((P=Hi(e)).c(),P.m(S,j)):P&&(P.d(1),P=null),e[10]?R?R.p(e,t):((R=Ni(e)).c(),R.m(S,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&F!==(F="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",F),4195328&t[0]|2&t[1]&&k!==(k="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"part",k),e[9]?A?A.p(e,t):((A=Xi(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&M!==(M="GameContainer "+e[33])&&fe(r,"class",M),4&t[1]&&_!==(_="GameContainer "+e[33])&&fe(r,"part",_)},i:Z,o:Z,d(e){e&&he(r),n[63](null),T&&T.d(),G&&G.d(),B&&B.d(),P&&P.d(),R&&R.d(),A&&A.d(),n[68](null),W=!1,J(z)}}}const Qi="blackjack",ea="roulette",ta="doubleballroulette",na=5;function ra(i,e,o){let t;Ue(i,Kr,e=>o(35,t=e));let a,s,l,n,R,c,u,d,h,p,m,g,f,y,v,b,A,D,H,w,N,x,O,j,{session:U=""}=e,{userid:W=""}=e,{lang:z=""}=e,{clientstyling:C=""}=e,{clientstylingurl:S=""}=e,{favorites:$=""}=e,{gamethumbnail:Y=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:F=""}=e,{gameisnew:Z=""}=e,{gamepopularity:J=""}=e,{gamefunmode:K=!1}=e,{searchitem:X=!1}=e,{gamefavorite:k=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:M=!1}=e,{showgamename:Q=!1}=e,{currency:_=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:E=""}=e,{livelobbyendpoint:L=""}=e,{connectlive:T=""}=e,{visibilityconnect:I=""}=e,te=!1,ne=!1,re=!1,G=window.navigator.userAgent,ie="HH:mm",ae,oe=[],se="EUR",B="";const le=[Qi],ce=[ea,ta],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},de={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"},he=(Object.keys(Li).forEach(e=>{Lr(e,Li[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+F||M||o(0,k=!0),e.data.type!=="RemoveFavoriteThumbnail_"+F||M||o(0,k=!1),"UserSessionID"===e.data.type&&(o(13,te=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),pe=e=>{X&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),Oe(G)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:K,gamepagemodalurl:ee,isMobile:Oe(G)},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href)},me=e=>{k?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ge=()=>{L&&EventSource&&!n&&r&&F&&(n=new EventSource(`${E}/encoder/lobby/updates/${r}/`+F)).addEventListener("message",ye)},fe=()=>{n&&(n.close(),n=void 0)},ye=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,g=i),o(10,l.currentOccupiedSeats=i,l),await be());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(f=n,o(10,l.currentRouletteNumbers=n,l),await be());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await be());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await be()}}}},ve=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",P=(e,t)=>e.some(e=>e===t);return We(()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),n&&n.removeEventListener("message",ye)})),i.$$set=e=>{"session"in e&&o(47,U=e.session),"userid"in e&&o(48,W=e.userid),"lang"in e&&o(49,z=e.lang),"clientstyling"in e&&o(50,C=e.clientstyling),"clientstylingurl"in e&&o(51,S=e.clientstylingurl),"favorites"in e&&o(1,$=e.favorites),"gamethumbnail"in e&&o(2,Y=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,F=e.gameid),"gameisnew"in e&&o(6,Z=e.gameisnew),"gamepopularity"in e&&o(7,J=e.gamepopularity),"gamefunmode"in e&&o(52,K=e.gamefunmode),"searchitem"in e&&o(53,X=e.searchitem),"gamefavorite"in e&&o(0,k=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,M=e.showfavoredcategory),"showgamename"in e&&o(9,Q=e.showgamename),"currency"in e&&o(55,_=e.currency),"gamepagemodalurl"in e&&o(56,ee=e.gamepagemodalurl),"endpoint"in e&&o(57,E=e.endpoint),"livelobbyendpoint"in e&&o(58,L=e.livelobbyendpoint),"connectlive"in e&&o(59,T=e.connectlive),"visibilityconnect"in e&&o(60,I=e.visibilityconnect)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&T&&("disconnect"===T?fe():"connect"===T&&ge()),536870912&i.$$.dirty[1]&&I&&("disconnect"===I?fe():"connect"===I&&"connect"===T&&ge()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&U&&W&&E&&o(13,te=!0),4&i.$$.dirty[0]&&Y&&a&&o(17,a.onload=()=>{o(16,re=!0)},a),524288&i.$$.dirty[1]&&C){let e=document.createElement("style");e.innerHTML=C,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&$&&"true"==$&&o(14,ne=!0),256&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&q&&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)})})}if(201326592&i.$$.dirty[1]&&E&&L){let e=new URL(""+L.split("?")[0]);e.searchParams.append("platform",je(G)),e.searchParams.append("language",z),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&i.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),ae=l.betLimit||{},o(23,d=l.openHours),o(24,oe=(e=>{m=e.totalSeats||7,o(28,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=m;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:e,originalTimeFormat:t}=d["value"],o(20,c=e),o(21,ie=t||ie)),u&&o(19,R=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();P(le,e)?t=Qi:P(ce,e)&&(t=ea)}}return t})(l)),o(25,se=Ti[_]),o(26,h=(ae.min||{})[_]),o(27,p=(ae.max||{})[_]),f=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,v=l.vendorCategory,o(29,b=v.toLowerCase()===ta),o(11,A=(b?y:f)||[]),o(30,D="GameProp LiveProps RoulleteProps"),o(30,D+=b?" Double":""),o(31,H=P(ce,v.toLowerCase())?de:ue),N=w,o(32,w=Array.isArray(g)&&g.length===m),l.dealer&&o(34,O=l.dealer.DealerName),j=l.numberOfPlayers,o(33,B="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,B+=" GameBackdrop"),u&&w&&h&&p&&l.currentOccupiedSeats?o(33,B+=" GameContainerDimmed"):!1===u&&c&&o(33,B+=" GameContainerFullyDimmed"),s&&(!N&&w?(o(33,B+=" PulsatingRedShadow"),o(33,B=B.replace(" PulsatingGreenShadow",""))):N&&!w&&(o(33,B+=" PulsatingGreenShadow"),o(33,B=B.replace(" PulsatingRedShadow",""))))),6144&i.$$.dirty[0]&&x&&A){const n="FirstElementAnimated",r=x.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[k,$,Y,V,r,F,Z,J,q,Q,l,A,x,te,ne,!1,re,a,s,R,c,ie,u,d,oe,se,h,p,g,b,D,H,w,B,O,t,G,pe,me,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},P,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
3
|
+
}`,h=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,p=L(e),{stylesheet:m,rules:g}=D.get(p)||(s=p,l={stylesheet:(l=e,f=pe("style"),ue((l=L(l)).head||l,f),f.sheet),rules:{}},D.set(s,l),l);g[h]||(g[h]=!0,m.insertRule(`@keyframes ${h} `+d,m.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+h+` ${r}ms linear ${i}ms 1 both`,N+=1,h}function j(e){H=e}function Ze(e){!function(){if(H)return H;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const U=[],Ue=[],W=[],z=[],Y=Promise.resolve();let V=!1;function X(){V||(V=!0,Y.then(f))}function ve(){return X(),Y}function q(e){W.push(e)}const Q=new Set;let ee,te=0;function f(){const e=H;do{for(;te<U.length;){const e=U[te];te++,j(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),J(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(q))}for(j(null),U.length=0,te=0;Ue.length;)Ue.pop()();for(let e=0;e<W.length;e+=1){const r=W[e];Q.has(r)||(Q.add(r),r())}}while(W.length=0,U.length);for(;z.length;)z.pop()();V=!1,Q.clear(),j(e)}function ne(e,t,n){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:n=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t,n,void 0),r}((t?"intro":"outro")+n))}const re=new Set;let ie;function ae(){ie={r:0,c:[],p:ie}}function oe(){ie.r||J(ie.c),ie=ie.p}function se(e,t){e&&e.i&&(re.delete(e),e.i(t))}function le(e,t,n,r){e&&e.o&&(re.has(e)||(re.add(e),ie.c.push(()=>{re.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const be={duration:0};function we(l,e,t,n){let c=e(l,t),u=n?0:1,d=null,h=null,p=null;function m(){if(p){var e=l,t=p;const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),(N-=i)||E(()=>{N||(D.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),D.clear())}))}}function g(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:r=S,tick:i=Z,css:a}=c||be,o={start:_()+t,b:e};if(e||((o.group=ie).r+=1),!d&&!h){a&&(m(),p=O(l,u,e,n,t,r,a)),e&&i(0,1),d=g(o,n),q(()=>ne(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(d=g(h,n),h=null,ne(l,d.b,"start"),a&&(m(),p=O(l,u,d.b,d.duration,0,r,c.css))),d)if(e>=d.end)i(u=d.b,1-u),ne(l,d.b,"end"),h||(d.b?m():--d.group.r||J(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*r(l/d.duration),i(u,1-u)}return!(!d&&!h)};let t;return 0===T.size&&E(I),void new Promise(e=>{T.add(t={c:s,f:e})})}}h=o}return{run(e){M(c)?(ee||(ee=Promise.resolve()).then(()=>{ee=null}),ee.then(()=>{c=c(),r(e)})):r(e)},end(){m(),d=h=null}}}function xe(e,t){e.d(1),t.delete(e.key)}function Ce(r,e,t,n,i,a,o,s=[-1]){var l=H;j(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:F(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:F(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(r,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),u&&(n=e,-1===(e=r).$$.dirty[0]&&(U.push(e),X(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,J(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){a=e.target;const r=Array.from(a.childNodes);c.fragment&&c.fragment.l(r),r.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&se(r.$$.fragment);{var d=r;s=e.target;o=e.anchor;t=e.customElement;const{fragment:h,on_mount:p,on_destroy:m,after_update:g}=d.$$;h&&h.m(s,o),t||q(()=>{var e=p.map($).filter(M);m?m.push(...e):J(e),d.$$.on_mount=[]}),g.forEach(q)}f()}j(l)}let r;"function"==typeof HTMLElement&&(r=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(M);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;const t=this.$$;null!==t.fragment&&(J(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var Se,$e,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,Fe="URLSearchParams"in s,ke="Symbol"in s&&"iterator"in Symbol,Me="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),_e="FormData"in s,Ee="ArrayBuffer"in s;function Te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ie(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 ke&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Be(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Pe(e){var t=new FileReader,n=Be(t);return t.readAsArrayBuffer(e),n}function Re(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ae(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Me&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_e&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Fe&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ee&&Me&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(e))?this._bodyArrayBuffer=Re(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Fe&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Me&&(this.blob=function(){var e=Ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,n=Ge(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Be(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},_e&&(this.formData=function(){return this.text().then(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}Ee&&(Se=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$e=ArrayBuffer.isView||function(e){return e&&-1<Se.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Te(e),t=Ie(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Te(e)]},l.prototype.get=function(e){return e=Te(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Te(e))},l.prototype.set=function(e,t){this.map[Te(e)]=Ie(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)},ke&&(l.prototype[Symbol.iterator]=l.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function He(e,t){if(!(this instanceof He))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof He){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,r||null==e._bodyInit||(r=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<De.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"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 Oe(e,t){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}He.prototype.clone=function(){return new He(this,{body:this._bodyInit})},Ae.call(He.prototype),Ae.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Oe.error=function(){var e=new Oe(null,{status:0,statusText:""});return e.type="error",e};var je=[301,302,303,307,308],Je=(Oe.redirect=function(e,t){if(-1===je.indexOf(t))throw new RangeError("Invalid status code");return new Oe(null,{status:t,headers:{location:e}})},s.DOMException);try{new Je}catch(o){(Je=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Je.prototype.constructor=Je}function Ke(r,o){return new Promise(function(i,e){var t=new He(r,o);if(t.signal&&t.signal.aborted)return e(new Je("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new Oe(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new Je("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(Me?a.responseType="blob":Ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof l?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,Ie(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function In(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ke.polyfill=!0,s.fetch||(s.fetch=Ke,s.Headers=l,s.Request=He,s.Response=Oe);var Xe=self.fetch.bind(self),qe=function(e,t){return(qe=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 Qe(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}qe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function et(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function tt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function nt(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function rt(e){return"function"==typeof e}function it(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 at=it(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 ot(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}ct.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=et(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(rt(a))try{a()}catch(e){i=e instanceof at?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=et(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{dt(u)}catch(e){i=null!=i?i:[],e instanceof at?i=nt(nt([],tt(i)),tt(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new at(i)}},ct.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)dt(e);else{if(e instanceof ct){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},ct.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ct.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ct.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ot(t,e)},ct.prototype.remove=function(e){var t=this._finalizers;t&&ot(t,e),e instanceof ct&&e._removeParent(this)},ct.EMPTY=((e=new ct).closed=!0,e);var st=ct,lt=st.EMPTY;function ct(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function ut(e){return e instanceof st||e&&"closed"in e&&rt(e.remove)&&rt(e.add)&&rt(e.unsubscribe)}function dt(e){rt(e)?e():e.unsubscribe()}var ht=void 0,pt=!1,mt=!1,gt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=gt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,nt([e,t],tt(n))):setTimeout.apply(void 0,nt([e,t],tt(n)))},clearTimeout:function(e){var t=gt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ft(){}var yt=null;function bt(e){if(pt){var t=!yt;if(t&&(yt={errorThrown:!1,error:null}),e(),t){var t=yt,n=t.errorThrown,t=t.error;if(yt=null,n)throw t}}else e()}Qe(Ct,vt=st),Ct.create=function(e,t,n){return new kt(e,t,n)},Ct.prototype.next=function(e){this.isStopped||this._next(e)},Ct.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ct.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ct.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,vt.prototype.unsubscribe.call(this),this.destination=null)},Ct.prototype._next=function(e){this.destination.next(e)},Ct.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ct.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var vt,wt=Ct,xt=Function.prototype.bind;function Ct(e){var t=vt.call(this)||this;return t.isStopped=!1,e?ut(t.destination=e)&&e.add(t):t.destination=Tt,t}function St(e,t){return xt.call(e,t)}_t.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Et(e)}},_t.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Et(e)}else Et(e)},_t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Et(e)}};var $t,Ft=_t,kt=(Qe(Mt,$t=wt),Mt);function Mt(e,t,n){var r=$t.call(this)||this,n=rt(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&mt?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&St(e.next,t),error:e.error&&St(e.error,t),complete:e.complete&&St(e.complete,t)}):e;return r.destination=new Ft(n),r}function _t(e){this.partialObserver=e}function Et(e){var t=e;gt.setTimeout(function(){throw t})}var Tt={closed:!0,next:ft,error:function(e){throw e},complete:ft},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function It(e){return e}Gt.prototype.lift=function(e){var t=new Gt;return t.source=this,t.operator=e,t},Gt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof wt||r&&rt(r.next)&&rt(r.error)&&rt(r.complete)&&ut(r)?e:new kt(e,t,n);return bt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Gt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Gt.prototype.forEach=function(r,e){var i=this;return new(e=Bt(e))(function(e,t){var n=new kt({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},Gt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Gt.prototype[e]=function(){return this},Gt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?It:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Gt.prototype.toPromise=function(e){var r=this;return new(e=Bt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Gt.create=function(e){return new Gt(e)};var Lt=Gt;function Gt(e){e&&(this._subscribe=e)}function Bt(e){return null!=(e=null!=e?e:ht)?e:Promise}var Pt,Rt,At,Dt=it(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Qe(i,At=Lt),i.prototype.lift=function(e){var t=new Ht(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new Dt},i.prototype.next=function(i){var a=this;bt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=et(a.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var n=this;bt(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)}})},i.prototype.complete=function(){var t=this;bt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),At.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?lt:(this.currentObservers=null,i.push(e),new st(function(){t.currentObservers=null,ot(i,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},i.prototype.asObservable=function(){var e=new Lt;return e.source=this,e},i.create=function(e,t){return new Ht(e,t)},i),Ht=(Qe(Ut,Rt=e),Ut.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},Ut.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},Ut.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Ut.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:lt},Ut),Nt={now:function(){return(Nt.delegate||Date).now()},delegate:void 0},Ot=(Qe(jt,Pt=e),jt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Pt.prototype.next.call(this,e)},jt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},jt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},jt);function jt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Nt);var r=Pt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Ut(e,t){var n=Rt.call(this)||this;return n.destination=e,n.source=t,n}function i(){var e=At.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Wt=[],zt={};const Yt=[];function Vt(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!Yt.length;for(const e of o)e[1](),Yt.push(e,r);if(e){for(let e=0;e<Yt.length;e+=2)Yt[e][0](Yt[e+1]);Yt.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=Z){const n=[e,t];return o.add(n),1===o.size&&(a=i(s)||Z),e(r),()=>{o.delete(n),0===o.size&&(a(),a=null)}}}}function Zt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Vt(t,t=>{let n=!1;const r=[];let i=0,a=Z;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=M(e)?e:Z)},e=c.map((e,t)=>d(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){J(e),a()}}).subscribe}}function Jt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Kt));var t}var Kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Xt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nn(Array.isArray(e)?[]:{},e,t):e}function qt(e,t,n){return e.concat(t).map(function(e){return Xt(e,n)})}function Qt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function en(e,t){try{return t in e}catch(e){return!1}}function tn(r,i,a){var o={};return a.isMergeableObject(r)&&Qt(r).forEach(function(e){o[e]=Xt(r[e],a)}),Qt(i).forEach(function(t){var e,n;(!en(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(en(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return nn;e=e.customMerge(t);return"function"==typeof e?e:nn}(a)(r[t],i[t],a):o[t]=Xt(i[t],a))}),o}function nn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||qt,n.isMergeableObject=n.isMergeableObject||Jt,n.cloneUnlessOtherwiseSpecified=Xt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):tn(e,t,n):Xt(t,n)}nn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return nn(e,t,n)},{});throw new Error("first argument should be an array")};var rn=nn,an=function(e,t){return(an=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function on(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}an(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,sn,b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ln(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function cn(e){return e.type===y.literal}function un(e){return e.type===y.number}function dn(e){return e.type===y.date}function hn(e){return e.type===y.time}function pn(e){return e.type===y.select}function mn(e){return e.type===y.plural}function gn(e){return e.type===y.tag}function fn(e){return e&&"object"==typeof e&&e.type===sn.number}function yn(e){return e&&"object"==typeof e&&e.type===sn.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=sn=sn||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bn=/(?:[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 vn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,xn=/^(@+)?(\+|#+)?[rs]?$/g,Cn=/(\*)(0+)|(#+)(0+)|(0+)/g,Sn=/^(0+)$/;function $n(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(xn,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Fn(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 kn(e){return Fn(e)||{}}function Mn(e){for(var o={},t=0,n=e;t<n.length;t++){var r,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=b(b(b({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return b(b({},e),kn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),kn(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(Cn,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Sn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(wn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wn,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=i.options[0];"w"===a?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=b(b({},o),$n(a)))}else xn.test(i.stem)?o=b(b({},o),$n(i.stem)):((a=Fn(i.stem))&&(o=b(b({},o),a)),(r=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)),!Sn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=b(b({},o),r)))}return o}var _n={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 En=new RegExp("^".concat(e.source,"*")),Tn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Ln=!!String.fromCodePoint,Gn=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Pn=!!String.prototype.trimStart,Rn=!!String.prototype.trimEnd,An=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dn=!0;try{Dn="a"===(null==(ar=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ar[0])}catch(o){Dn=!1}var Hn,Nn,On=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},jn=Ln?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Un=Gn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},Wn=Bn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},zn=Pn?function(e){return e.trimStart()}:function(e){return e.replace(En,"")},Yn=Rn?function(e){return e.trimEnd()}:function(e){return e.replace(Tn,"")};function Vn(e,t){return new RegExp(e,t)}Nn=Dn?(Hn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Hn.lastIndex=t,null!=(t=Hn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Wn(e,t);if(void 0===i||Kn(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;r.push(i),t+=65536<=i?2:1}return jn.apply(void 0,r)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Jn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return jn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),jn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=Yn(m.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=v(r,this.clonePosition());if(l&&On(null==l?void 0:l.style,"::",0)){var d=zn(l.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:n,location:u,style:m.val},err:null};if(0===d.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,u);var h=d,p=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(_n[t||""]||_n[n||""]||_n["".concat(n,"-001")]||_n["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}(d,this.locale)),{type:sn.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(bn,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):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:u,style:p},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var m,p=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,o,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;d=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:Un(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:Un(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(vn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=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:a,options:i})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:sn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Mn(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;a.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return i?An(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Wn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(On(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Kn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Zn=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Jn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Kn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Xn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Zn(e,t).parse();if(e.err)throw(n=SyntaxError(g[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,pn(e)||mn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else un(e)&&fn(e.style)||(dn(e)||hn(e))&&yn(e.style)?delete e.style.location:gn(e)&&n(e.children)})}(e.val),e.val}function qn(e,t){var n=t&&t.cache?t.cache:or,r=t&&t.serializer?t.serializer:nr;return(t&&t.strategy?t.strategy:function(e,t){return tr(e,this,1===e.length?Qn:er,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Qn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function er(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function tr(e,t,n,r,i){return n.bind(t,e,r,i)}var nr=function(){return JSON.stringify(arguments)};function rr(){this.cache=Object.create(null)}rr.prototype.get=function(e){return this.cache[e]},rr.prototype.set=function(e,t){this.cache[e]=t};var ir,ar,or={create:function(){return new rr}},sr={variadic:function(e,t){return tr(e,this,er,t.cache.create(),t.serializer)},monadic:function(e,t){return tr(e,this,Qn,t.cache.create(),t.serializer)}};(ar=ir=ir||{}).MISSING_VALUE="MISSING_VALUE",ar.INVALID_VALUE="INVALID_VALUE",ar.MISSING_INTL_API="MISSING_INTL_API";on(vr,dr=Error),vr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var x,lr,cr,ur,dr,hr=vr,pr=(on(br,ur=hr),br),mr=(on(yr,cr=hr),yr),gr=(on(fr,lr=hr),fr);function fr(e,t){return lr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ir.MISSING_VALUE,t)||this}function yr(e,t,n){return cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ir.INVALID_VALUE,n)||this}function br(e,t,n,r){return ur.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ir.INVALID_VALUE,r)||this}function vr(e,t,n){e=dr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function wr(e,t,n,r,i,a,o){if(1===e.length&&cn(e[0]))return[{type:x.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(cn(u))s.push({type:x.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:x.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new gr(d,o);d=i[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?x.literal:x.object,value:d});else if(dn(u)){var h="string"==typeof u.style?r.date[u.style]:yn(u.style)?u.style.parsedOptions:void 0;s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(hn(u))h="string"==typeof u.style?r.time[u.style]:yn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:x.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(un(u))(h="string"==typeof u.style?r.number[u.style]:fn(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:x.literal,value:n.getNumberFormat(t,h).format(d)});else{if(gn(u)){var p=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new mr(m,"function",o);m=g(wr(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?x.literal:x.object,value:e}}))}if(pn(u)){if(!(f=u.options[d]||u.options.other))throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i))}else if(mn(u)){if(!(f=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ir.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),f=u.options[g]||u.options.other}if(!f)throw new pr(u.value,d,Object.keys(u.options),o);s.push.apply(s,wr(f.value,t,n,r,i,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===x.literal&&t.type===x.literal?n.value+=t.value:e.push(t),e},[])}function xr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=x=x||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Sr,"defaultLocale",{get:function(){return Sr.memoizedDefaultLocale||(Sr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Sr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Sr.memoizedDefaultLocale=null,Sr.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])},Sr.__parse=Xn,Sr.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 Cr=Sr;function Sr(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=Sr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===x.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return wr(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=Sr.resolveLocale(t),"string"==typeof e){if(this.message=e,!Sr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Sr.__parse(e,{ignoreTag:null==r?void 0:r.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=Sr.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},i)):i),this.formatters=r&&r.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,ln([void 0],t,!1)))},{cache:xr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:sr.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,ln([void 0],t,!1)))},{cache:xr(t.dateTime),strategy:sr.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,ln([void 0],t,!1)))},{cache:xr(t.pluralRules),strategy:sr.variadic})}}const $r={},Fr=(e,t,n)=>n&&(t in $r||($r[t]={}),e in $r[t]||($r[t][e]=n),n),kr=(t,n)=>{if(null!=n){if(n in $r&&t in $r[n])return $r[n][t];var r=jr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Er(e))return null;e=function(e){return Mr[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return Fr(t,n,i)}}};let Mr;const _r=Vt({});function Er(e){return e in Mr}function Tr(t,...n){delete $r[t],_r.update(e=>(e[t]=rn.all([e[t]||{},...n]),e))}Zt([_r],([e])=>Object.keys(e)),_r.subscribe(e=>Mr=e);const Ir={};function Lr(e){return Ir[e]}function Gr(e){return null!=e&&jr(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}const Br={};function Pr(e){if(!Gr(e))return e in Br?Br[e]:Promise.resolve();const t=jr(e).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Br[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return Ir[t].delete(n),0===Ir[t].size&&delete Ir[t],e().then(e=>e.default||e)}));return n.then(e=>Tr(r,...e))}})).then(()=>{if(Gr(e))return Pr(e);delete Br[e]}),Br[e]}function Rr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Ar={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 Dr=Vt(!1);let Hr;const Nr=Vt(null);function Or(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function jr(e,t=Ar.fallbackLocale){e=Or(e);return t?[...new Set([...e,...Or(t)])]:e}function Ur(){return null!=Hr?Hr:void 0}Nr.subscribe(e=>{Hr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const We=Object.assign(Object.assign({},Nr),{set:t=>{if(t&&function(e){if(null!=e){var t=jr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Er(n))return n}}}(t)&&Gr(t)){var n=Ar["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Ur()&&n?e=window.setTimeout(()=>Dr.set(!0),n):Dr.set(!0),Pr(t).then(()=>{Nr.set(t)}).finally(()=>{clearTimeout(e),Dr.set(!1)})}return Nr.set(t)}}),Wr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},zr=(e,t)=>{var n=Ar["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=zr("number",n)),new Intl.NumberFormat(t,e)}),Vr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=zr("date",n):0===Object.keys(e).length&&(e=zr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=Wr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=zr("time",n):0===Object.keys(e).length&&(e=zr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Wr((e,t=Ur())=>new Cr(e,t,Ar.formats,{ignoreTag:Ar.ignoreTag})),Kr=Zt([We,_r],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=Ur(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=kr(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!=(r=null!=(n=null==(n=(r=Ar).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!a)return l;let c=l;try{c=Jr(l,o).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),ze=(Zt([We],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Zt([We],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Vr(Object.assign({locale:t},e))})(t).format(e)),Zt([We],()=>(e,t)=>((e={})=>{var{locale:t=Ur()}=e,e=Rr(e,["locale"]);return Yr(Object.assign({locale:t},e))})(t).format(e)),Zt([We,_r],()=>(e,t=Ur())=>kr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Wt.indexOf(e)&&(t=new Ot(t),zt[e]=t,Wt.push(e)),zt[e]}},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),Ye=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Xr(e){var t=window.navigator.userAgent;return ze(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 qr(r,i){return new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),Xe(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qr(e){We.set(e)}const ei={en:{headerItem:{login:"Login",register:"Register",deposit:"Deposit"}},zh:{headerItem:{login:"登錄",register:"登記",deposit:"訂金"}},fr:{headerItem:{login:"Connexion",register:"Registre",deposit:"Dépôt"}},tr:{headerItem:{login:"Giriş yapmak",register:"Kayıt olmak",deposit:"Depozito"}},ro:{headerItem:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"}},es:{headerItem:{login:"Iniciar sesión",register:"Registro",deposit:"Depósito"}},pt:{headerItem:{login:"Entrar",register:"Registro",deposit:"Depósito"}}};function ti(e,t,n){const r=e.slice();return r[32]=t[n],r[34]=n,r}function ni(t){let r,i=[],n=new Map,a=t[7];const o=e=>e[32].id;for(let e=0;e<a.length;e+=1){var s=ti(t,a,e),l=o(s);n.set(l,i[e]=ai(l,s))}return{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);de(t,r,n)},p(e,t){691&t[0]&&(a=e[7],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,p=o.length,m=h;const g={};for(;m--;)g[t[m].key]=m;const f=[],y=new Map,b=new Map;for(m=p;m--;){const t=d(a,o,m),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[m]=e),l in g&&b.set(l,Math.abs(m-g[l]))}const v=new Set,w=new Set;function x(e){se(e,1),e.m(l,u),s.set(e.key,e),u=e.first,p--}for(;h&&p;){const n=f[p-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,p--):y.has(a)?!s.has(i)||v.has(i)?x(n):w.has(a)?h--:b.get(i)>b.get(a)?(w.add(i),x(n)):(v.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;p;)x(f[p-1]);return f}(i,t,o,1,e,a,n,r.parentNode,xe,ai,r,ti))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&he(r)}}}function ri(e){let n,r,i,a=e[32].name+"",o="FAVORITES"===e[32].id?"("+e[0]+")":"";return{c(){n=me(a),r=ge(),i=me(o)},m(e,t){de(e,n,t),de(e,r,t),de(e,i,t)},p(e,t){128&t[0]&&a!==(a=e[32].name+"")&&ye(n,a),129&t[0]&&o!==(o="FAVORITES"===e[32].id?"("+e[0]+")":"")&&ye(i,o)},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ii(e){let n,r,i=e[32].label+"";return{c(){n=pe("a"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){128&t[0]&&i!==(i=e[32].label+"")&&ye(r,i)},d(e){e&&he(n)}}}function ai(e,n){let r,i,a,o,s;function l(e){return"headerMain"===e[1]?ii:ri}let c=l(n),u=c(n);function d(...e){return n[22](n[32],n[34],...e)}return{key:e,first:null,c(){r=pe("li"),u.c(),i=ge(),fe(r,"class",a="CarouselItem "+(n[4]==n[34]||n[5]==n[34]?"active":"")),fe(r,"part","CarouselItem"),this.first=r},m(e,t){de(e,r,t),u.m(r,null),ue(r,i),o||(s=K(r,"click",d),o=!0)},p(e,t){c===(c=l(n=e))&&u?u.p(n,t):(u.d(1),(u=c(n))&&(u.c(),u.m(r,i))),176&t[0]&&a!==(a="CarouselItem "+(n[4]==n[34]||n[5]==n[34]?"active":""))&&fe(r,"class",a)},d(e){e&&he(r),u.d(),o=!1,s()}}}function oi(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=0<n[7].length&&ni(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',o=ge(),s=pe("ul"),y&&y.c(),l=ge(),(c=pe("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=Z,fe(a,"class","CarouselLeftArrow"),fe(a,"part","CarouselLeftArrow"),fe(s,"class","CarouselItems"),fe(s,"part","CarouselItems"),fe(c,"class","CarouselRightArrow"),fe(c,"part","CarouselRightArrow"),fe(i,"class",u="CarouselContainer "+(n[8]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"part",d="CarouselContainer "+(n[8]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),fe(i,"style",h="headerMain"===n[1]?"max-width: auto":`max-width: ${n[2]}px`),fe(r,"class",p="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":"")),fe(r,"part",m="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),y&&y.m(s,null),n[23](s),ue(i,l),ue(i,c),n[25](r),g||(f=[K(a,"click",n[21]),K(c,"click",n[24])],g=!0)},p(e,t){0<e[7].length?y?y.p(e,t):((y=ni(e)).c(),y.m(s,null)):y&&(y.d(1),y=null),2&t[0]&&u!==(u="CarouselContainer "+(e[8]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"class",u),2&t[0]&&d!==(d="CarouselContainer "+(e[8]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&fe(i,"part",d),6&t[0]&&h!==(h="headerMain"===e[1]?"max-width: auto":`max-width: ${e[2]}px`)&&fe(i,"style",h),2&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"class",p),2&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&fe(r,"part",m)},i:Z,o:Z,d(e){e&&he(r),y&&y.d(),n[23](null),n[25](null),g=!1,J(f)}}}function si(t,e,n){let{onclickeventname:r="defaultEvent"}=e,{actionevent:i="defaultEvent"}=e,{favoritesnumber:a="0"}=e,{location:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{identity:c=""}=e,{containermaxwidth:u=""}=e,{isprimarymenu:d=!1}=e,{issecondarymenu:h=!1}=e,{lang:p=""}=e,m=e["activeindex"];var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(_r.set(f),We.set(g))}),Object.keys(ei).forEach(e=>{Tr(e,ei[e])});let y,b,v,w,x=window.navigator.userAgent,C="PC"!==Ye(x),S=[],$=(e,t)=>{n(4,b=t),n(4,b),n(5,v=b),window.postMessage({type:i,itemId:e.id,index:t,item:e},window.location.href)},F=()=>{y.scrollBy({left:-250,behavior:"smooth"})},k=()=>{y.scrollBy({left:250,behavior:"smooth"})};const M=e=>{"SliderData"==e.data.type&&e.data.identity==c&&n(7,S=e.data.data)};return Ze(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)})),t.$$set=e=>{"onclickeventname"in e&&n(12,r=e.onclickeventname),"actionevent"in e&&n(13,i=e.actionevent),"favoritesnumber"in e&&n(0,a=e.favoritesnumber),"location"in e&&n(1,o=e.location),"clientstyling"in e&&n(14,s=e.clientstyling),"clientstylingurl"in e&&n(15,l=e.clientstylingurl),"identity"in e&&n(16,c=e.identity),"containermaxwidth"in e&&n(2,u=e.containermaxwidth),"isprimarymenu"in e&&n(17,d=e.isprimarymenu),"issecondarymenu"in e&&n(18,h=e.issecondarymenu),"lang"in e&&n(19,p=e.lang),"activeindex"in e&&n(20,m=e.activeindex)},t.$$.update=()=>{if(1048576&t.$$.dirty[0]&&m&&(n(4,b=parseInt(m,10)),v||n(5,v=b)),16384&t.$$.dirty[0]&&s){let e=document.createElement("style");e.innerHTML=s,setTimeout(()=>{w.appendChild(e)})}if(32768&t.$$.dirty[0]&&l){let t=document.createElement("style"),e=new URL(l);l&&fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{w.appendChild(t)},1)})}var e;524288&t.$$.dirty[0]&&p&&(e=p,We.set(e))},[a,o,u,y,b,v,w,S,C,$,F,k,r,i,s,l,c,d,h,p,m,()=>F(),(e,t,n)=>$(e,t),function(e){Ue[e?"unshift":"push"](()=>{y=e,n(3,y)})},()=>k(),function(e){Ue[e?"unshift":"push"](()=>{w=e,n(6,w)})}]}function li(n){let r,i,a,o;return{c(){r=pe("div"),w(i=pe("casino-slider"),"identity",hi),w(i,"favoritesnumber",n[8]),w(i,"clientstyling",n[0]),w(i,"clientstylingurl",n[1]),w(i,"containermaxwidth",n[2]),w(i,"activeindex",n[5]),w(i,"actionevent",n[3]),fe(r,"class","CasinoCategoriesContainer"),fe(r,"part","CasinoCategoriesContainer")},m(e,t){de(e,r,t),ue(r,i),a||(o=h(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&w(i,"favoritesnumber",e[8]),1&t[0]&&w(i,"clientstyling",e[0]),2&t[0]&&w(i,"clientstylingurl",e[1]),4&t[0]&&w(i,"containermaxwidth",e[2]),32&t[0]&&w(i,"activeindex",e[5]),8&t[0]&&w(i,"actionevent",e[3])},d(e){e&&he(r),a=!1,o()}}}function ci(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ui(e){let n;return{c(){fe(n=pe("div"),"class","CasinoCategoriesLoading"),fe(n,"part","CasinoCategoriesLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function di(n){let r;function i(e){return e[4]||e[9]?ui:e[6]?ci:li}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[21](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[21](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:var(--emfe-w-color-primary, #D0046C);background:-webkit-linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C));background:linear-gradient(to left, var(--emfe-w-color-secondary, #FD2839), var(--emfe-w-color-primary, #D0046C))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-color-white, #FFFFFF);margin:0 auto}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:13px 11px;font-size:15px;font-weight:500;text-align:center;line-height:26px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:var(--emfe-w-color-contrast, #07072A);cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:84px;color:var(--emfe-w-color-primary, #D0046C)}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-color-white, #FFFFFF);text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},si,oi,t,{onclickeventname:12,actionevent:13,favoritesnumber:0,location:1,clientstyling:14,clientstylingurl:15,identity:16,containermaxwidth:2,isprimarymenu:17,issecondarymenu:18,lang:19,activeindex:20},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["onclickeventname","actionevent","favoritesnumber","location","clientstyling","clientstylingurl","identity","containermaxwidth","isprimarymenu","issecondarymenu","lang","activeindex"]}get onclickeventname(){return this.$$.ctx[12]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[13]}set actionevent(e){this.$$set({actionevent:e}),f()}get favoritesnumber(){return this.$$.ctx[0]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),f()}get location(){return this.$$.ctx[1]}set location(e){this.$$set({location:e}),f()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[16]}set identity(e){this.$$set({identity:e}),f()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get isprimarymenu(){return this.$$.ctx[17]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[18]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[19]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[20]}set activeindex(e){this.$$set({activeindex:e}),f()}});let hi="CasinoSliderData";function pi(e,t,n){let r,i,a,{endpoint:o=""}=t,{datasource:s=""}=t,{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{mostplayed:d=""}=t,{mostplayedrounds:h=""}=t,{favorites:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:b=""}=t,{sessioncheck:v=""}=t,w=0,x=!0,C=[],S=!1,$=window.navigator.userAgent,F=!1,k=!1,M=!1;const _=e=>{if(e.data)switch(e.data.type){case"UpdateCategoryFavoriteGames":case"ShowFavoriteSection":var t=Xr(e.data.receivedFavoriteResults.items);n(8,a=t.length)}};return Ze(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&n(11,o=e.endpoint),"datasource"in e&&n(12,s=e.datasource),"lang"in e&&n(13,l=e.lang),"userid"in e&&n(14,c=e.userid),"session"in e&&n(15,u=e.session),"mostplayed"in e&&n(16,d=e.mostplayed),"mostplayedrounds"in e&&n(17,h=e.mostplayedrounds),"favorites"in e&&n(18,p=e.favorites),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,g=e.clientstylingurl),"containermaxwidth"in e&&n(2,f=e.containermaxwidth),"activecategory"in e&&n(19,y=e.activecategory),"actionevent"in e&&n(3,b=e.actionevent),"sessioncheck"in e&&n(20,v=e.sessioncheck)},e.$$.update=()=>{if(14336&e.$$.dirty[0]&&o&&s&&l&&(o||(r="Endpoint is missing! Please provide a valid endpointURL.",n(6,S=!0),n(4,x=!1),console.error(r)),s||(r="Datasource is missing! Please provide a valid datasource.",n(6,S=!0),n(4,x=!1),console.error(r)),(!l||l.length<2)&&(r="Language is missing! Please provide a valid language (alpha2code)",n(6,S=!0),n(4,x=!1),console.error(r)),!S)){let e=new URL(o+"/casino/groups/"+s);e.searchParams.append("datasource",s),e.searchParams.append("platform",Ye($)),e.searchParams.append("language",l),fetch(e).then(e=>e.json()).then(e=>{e=e.items.filter(e=>0<e.games.total);(C=(C=[]).concat(e)).unshift({id:"LOBBY",name:"Lobby",href:"",games:[]}),n(4,x=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},e=>{n(6,S=!0),console.error("There was an error while fetching the categories",e)}).catch(e=>{n(6,S=!0),console.error("There was an error while fetching the categories",e)})}if(524304&e.$$.dirty[0]&&!x&&y&&n(5,w=C.map(e=>e.id).indexOf(y)),34816&e.$$.dirty[0]&&u&&o&&"true"==v&&qr(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),294928&e.$$.dirty[0]&&u&&p&&!x&&(0==F&&"true"==p&&C.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),F=!0),116736&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(9,M=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=Ye($);return t?"PC"===t?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),e.searchParams.append("rounds",h),new Promise((t,n)=>{fetch(e.href).then(e=>e.json()).then(e=>{0==e.count&&t(!1),t(!0)}).catch(e=>{console.error("err",e),n(!1)})})}})().then(e=>{0==k&&"true"==d&&e&&C.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,M=!1),ve(),k=!0})),1&e.$$.dirty[0]&&m){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(2&e.$$.dirty[0]&&g){let t=document.createElement("style"),e=new URL(g);fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},n(8,a=0),[m,g,f,b,x,w,S,i,a,M,e=>{window.postMessage({type:"SliderData",identity:hi,data:C},window.location.href)},o,s,l,c,u,d,h,p,y,v,function(e){Ue[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoCategoriesLoading{height:52px}p{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.CasinoCategoriesContainer{background:black}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pi,di,t,{endpoint:11,datasource:12,lang:13,userid:14,session:15,mostplayed:16,mostplayedrounds:17,favorites:18,clientstyling:0,clientstylingurl:1,containermaxwidth:2,activecategory:19,actionevent:3,sessioncheck:20},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","userid","session","mostplayed","mostplayedrounds","favorites","clientstyling","clientstylingurl","containermaxwidth","activecategory","actionevent","sessioncheck"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),f()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[17]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[18]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get containermaxwidth(){return this.$$.ctx[2]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[3]}set actionevent(e){this.$$set({actionevent:e}),f()}get sessioncheck(){return this.$$.ctx[20]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const mi={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}},gi={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}},fi={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Hat soeben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function yi(e,t,n){const r=e.slice();return r[57]=t[n],r}function bi(e,t,n){const r=e.slice();return r[60]=t[n],r}function vi(n){let i,r,a,o,s,l,c,u,e,d,h,p,m,g,f,y,b,v,w,x,C=n[14],S=[];for(let e=0;e<C.length;e+=1)S[e]=Si(bi(n,C,e));let $=n[7],F=[];for(let e=0;e<$.length;e+=1)F[e]=$i(yi(n,$,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<S.length;e+=1)S[e].c();o=ge(),s=pe("div"),l=pe("button"),c=k("svg"),u=k("path"),d=ge(),h=pe("button"),p=k("svg"),m=k("path"),y=ge(),b=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(u,"id","Path_36"),fe(u,"data-name","Path 36"),fe(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(u,"transform","translate(14.656 0) rotate(90)"),fe(u,"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(m,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,a);for(let e=0;e<S.length;e+=1)S[e].m(a,null);ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,p),ue(p,m),ue(i,y),ue(i,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[38](b),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=bi(t,C,e);S[e]?S[e].p(r,n):(S[e]=Si(r),S[e].c(),S[e].m(a,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=C.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(u,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for($=t[7],e=0;e<$.length;e+=1){const a=yi(t,$,e);F[e]?F[e].p(a,n):(F[e]=$i(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=$.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),G(S,e),G(F,e),n[38](null),w=!1,J(x)}}}function wi(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function xi(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Ci(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Si(e){let n,r,i="recent"==e[60]&&xi(e),a="top"==e[60]&&Ci(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),a&&a.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=xi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Ci(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function $i(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,S,$,F,k,M=n[57].gameName+"",_=n[17](n[57].username)+"",E=n[15]("Translations.won")+"",T=n[57].specifiedCurrencyAmount.toFixed(2)+"",I=(n[4]?n[10]:n[2])+"";function L(){return n[37](n[57])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),u=me(M),d=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),b=pe("p"),v=me(T),w=ge(),x=pe("span"),C=me(I),S=ge(),ce(a.src,o=n[57]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[57]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",$="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,l),ue(i,c),ue(c,u),ue(i,d),ue(i,h),ue(h,p),ue(i,m),ue(i,g),ue(g,f),ue(i,y),ue(i,b),ue(b,v),ue(b,w),ue(b,x),ue(x,C),ue(r,S),F||(k=K(a,"click",L),F=!0)},p(e,t){n=e,128&t[0]&&!ce(a.src,o=n[57]?.gameModel?.thumbnail)&&fe(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(a,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(u,M),128&t[0]&&_!==(_=n[17](n[57].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),128&t[0]&&T!==(T=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,T),1044&t[0]&&I!==(I=(n[4]?n[10]:n[2])+"")&&ye(C,I),8192&t[0]&&$!==($="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",$)},d(e){e&&he(r),F=!1,k()}}}function Fi(n){let r;function i(e){return e[12]?wi:vi}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function ki(t,e,r){let n;Ve(t,Kr,e=>r(15,n=e));let i,a,o,s,l,c,u,d,h,p,{endpoint:m=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:C="true"}=e,{istopavailable:S="true"}=e,{defaultcurrency:$=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:_=""}=e,E=[],T=0,I=0,R=window.navigator.userAgent,L=!0,G=!1;Object.keys(fi).forEach(e=>{Tr(e,fi[e])});const A=()=>{const e=new URL(`${m}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==a?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{r(7,E=[]),r(7,E=e.items.map(e=>e)),r(12,L=!1),setTimeout(()=>{r(8,I=Math.round(i.offsetWidth/225)),H(),"true"==M&&(T=0,I<u?d=setInterval(()=>{P()},3e3):clearInterval(d))})})},B=e=>{a!==e&&(r(6,a=e),r(7,E=[]),A())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},H=n=>{const e=[...i.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},N=()=>{H(T)},O=()=>{var e=E.length;I>=E.length||(0===T?T=e-I:T-I<0?T=0:T-=I,N())},P=()=>{var e=E.length;I>=E.length||("true"==M&&(T===e-I?T=0:T++),"false"==M&&(T===e-I?T=0:e-I<T+I?T=e-I:T+=I),N())};return Ze(()=>(r(9,o=ze(R)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&r(22,m=e.endpoint),"session"in e&&r(23,g=e.session),"periodrecent"in e&&r(24,f=e.periodrecent),"periodtop"in e&&r(25,y=e.periodtop),"numberusersrecent"in e&&r(26,b=e.numberusersrecent),"numberuserstop"in e&&r(27,v=e.numberuserstop),"amountlimit"in e&&r(21,w=e.amountlimit),"lang"in e&&r(28,x=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,S=e.istopavailable),"defaultcurrency"in e&&r(2,$=e.defaultcurrency),"clientstyling"in e&&r(29,F=e.clientstyling),"clientstylingurl"in e&&r(30,k=e.clientstylingurl),"enableautoscroll"in e&&r(3,M=e.enableautoscroll),"tabsorder"in e&&r(31,_=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&S&&f&&y&&b&&v&&w&&x&&_&&null!=s&&(r(14,h=_.split(",")),r(6,a=h[0]),"false"==C&&r(21,w=""),r(32,p=s?l:$)),4194304&t.$$.dirty[0]&&m&&qr(m,g).then(e=>{e.Guid,r(10,l=e.Currency),r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&M&&A(),268435456&t.$$.dirty[0]&&x&&(e=x,We.set(e)),536870912&t.$$.dirty[0]&&F){let e=document.createElement("style");e.innerHTML=F,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&k){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[C,S,$,M,s,i,a,E,I,o,l,c,L,G,h,n,B,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,P,w,m,g,f,y,b,v,x,F,k,_,p,()=>B("recent"),()=>B("top"),()=>O(),()=>P(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){Ue[e?"unshift":"push"](()=>{i=e,r(5,i)})},function(e){Ue[e?"unshift":"push"](()=>{c=e,r(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:192px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:192px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ki,Fi,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});_i=Mi={path:void 0,exports:{},require:function(e,t){return In(null==t&&Mi.path)}},Mi.exports,_i.exports=function(){var R;function m(){return R.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 g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function O(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return It(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){if(null==e._isValid){var t=f(e),n=z.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 W(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var z=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},Y=m.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)s(i=t[r=Y[n]])||(e[r]=i);return e}function J(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,m.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,a),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}K(a+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function q(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(K(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&A(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function a(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},ae={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=i),t&&(ae[t[0]]=function(){return a(i.apply(this,arguments),t[1],t[2])}),n&&(ae[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(r){for(var e,i=r.match(ne),t=0,a=i.length;t<a;t++)ae[i[t]]?i[t]=ae[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<a;n++)t+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=d(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):pe(this,t)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=p(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Be(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,$e=/[+-]?\d+/,Fe=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){_e[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(_e,e)?_e[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _e={},Ee={};function C(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),H(n)&&(i=function(e,t){t[n]=p(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=i}function Te(e,i){C(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,$=0,F=1,k=2,M=3,_=4,E=5,Ie=6,Le=7,Ge=8;function Be(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?de(e)?29:28:31-n%7%2}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[F]=p(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[F]=r:f(n).invalidMonth=e});var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=v,He=v;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if(!H(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Be(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Oe(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):pe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=c([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=x(n[a]),r[a]=x(r[a]);for(a=0;a<24;a++)i[a]=x(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return de(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",$e),w("YY",b,y),w("YYYY",xe,fe),w("YYYYY",Ce,ye),w("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],$),C("YYYY",function(e,t){t[$]=2===e.length?m.parseTwoDigitYear(e):p(e)}),C("YY",function(e,t){t[$]=m.parseTwoDigitYear(e)}),C("Y",function(e,t){t[$]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var We=he("FullYear",!0);function ze(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+Ye(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var a,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,i),n=t<=0?Ue(a=e-1)+t:t>Ue(e)?(a=e+1,t-Ue(e)):(a=e,t);return{year:a,dayOfYear:n}}function Je(e,t,n){var r,i,a=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+T(i=e.year()-1,t,n):a>T(e.year(),t,n)?(r=a-T(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function T(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(Ue(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=p(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Te(["d","e","E"],function(e,t,n,r){t[r]=p(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),at("a",!0),at("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),C(["H","HH"],M),C(["k","kk"],function(e,t,n){e=p(e);t[M]=24===e?0:e}),C(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),C(["h","hh"],function(e,t,n){t[M]=p(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r)),f(n).bigHour=!0}),C("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i)),f(n).bigHour=!0}),C("Hmm",function(e,t,n){var r=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r))}),C("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i))});v=he("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:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=ut(e[a]).split("-")).length,n=(n=ut(e[a+1]))?n.split("-"):null;0<t;){if(r=ht(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return st}function ht(t){var e;if(void 0===I[t]&&_i&&_i.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,In(),pt(e)}catch(e){I[t]=null}return I[t]}function pt(e,t){return e&&((t=s(t)?L(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete I[e],null;var n,r=lt;if(t.abbr=e,null!=I[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])r=I[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return I[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),I[e]}function L(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[F]<0||11<t[F]?F:t[k]<1||t[k]>Be(t[$],t[F])?k:t[M]<0||24<t[M]||24===t[M]&&(0!==t[_]||0!==t[E]||0!==t[Ie])?M:t[_]<0||59<t[_]?_:t[E]<0||59<t[E]?E:t[Ie]<0||999<t[Ie]?Ie:-1,f(e)._overflowDayOfYear&&(t<$||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Le),f(e)._overflowWeekday&&-1===t&&(t=Ge),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,Ct=/^(?:(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}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function $t(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){i=vt[t][0],r=!1!==vt[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])){a=(l[2]||" ")+wt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Et(e)}else e._isValid=!1}function Ft(e,t,n,r,i,a){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&e.push(parseInt(a,10)),e}function kt(e){var t,n,r,i,a=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Ft(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=a[8],r=a[9],i=a[10],n?St[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),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 _t(e){var t,n,r,i,a,o,s,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[k]&&null==e._a[F]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=Mt(d.GG,u._a[$],Je(G(),1,4).year),i=Mt(d.W,1),((a=Mt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Je(G(),o,s),r=Mt(d.gg,u._a[$],c.year),i=Mt(d.w,c.week),null!=d.d?((a=d.d)<0||6<a)&&(l=!0):null!=d.e?(a=d.e+o,(d.e<0||6<d.e)&&(l=!0)):a=o),i<1||i>T(r,o,s)?f(u)._overflowWeeks=!0:null!=l?f(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[$]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Mt(e._a[$],n[$]),(e._dayOfYear>Ue(d)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ye(d,0,e._dayOfYear),e._a[F]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[_]&&0===e._a[E]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?Ye:ze).apply(null,h),r=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!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,i=""+e._i,a=i.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(d=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(d),i=i.slice(i.indexOf(t)+t.length),o+=t.length),ae[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),d=r,p=e,null!=(h=t)&&g(Ee,d)&&Ee[d](h,p._a,p,d)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-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]=(a=e._locale,c=e._a[M],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=f(e).era)&&(e._a[$]=e._locale.erasConvertYear(u,e._a[$])),_t(e),gt(e)}else kt(e);else $t(e);var c,u,d,h,p}function Tt(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||L(e._l),null===n||void 0===r&&""===n)return W({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new J(gt(n)):(N(n)?e._d=n:o(r)?function(e){var t,n,r,i,a,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++)a=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Et(t),U(t)&&(o=!0),a=(a+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));j(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(m.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?($t(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i)))):i._d=new Date(+a[1])):o(r)?(n._a=O(r.slice(0),function(e){return parseInt(e,10)}),_t(n)):A(r)?(i=n)._d||(t=void 0===(a=ce(i._i)).day?a.date:a.day,i._a=O([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),_t(i)):H(r)?n._d=new Date(r):m.createFromInputFallback(n),U(e)||(e._d=null),e)}}function It(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(A(e)&&D(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(i=new J(gt(Tt(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function G(e,t,n,r){return It(e,t,n,r,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=G.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function Lt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return G();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Gt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Gt.length;for(t in e)if(g(e,t)&&(-1===S.call(Gt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Gt[n]]){if(r)return!1;parseFloat(e[Gt[n]])!==p(e[Gt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=L(),this._bubble()}function Pt(e){return e instanceof Bt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+n+a(~~e%60,2)})}At("Z",":"),At("ZZ",""),w("Z",ke),w("ZZ",ke),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(ke,e)});var Dt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+p(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:G(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):G(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function B(e,t){var n,r,i=e,a=null;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Ut.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:p(a[k])*n,h:p(a[M])*n,m:p(a[_])*n,s:p(a[E])*n,ms:p(Rt(1e3*a[Ie]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=G(i.from),a=G(i.to),n=t.isValid()&&a.isValid()?(a=Nt(a,t),t.isBefore(a)?r=Yt(t,a):((r=Yt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Bt(i),Pt(e)&&g(e,"_locale")&&(a._locale=e._locale),Pt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function zt(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(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(q(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,B(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,pe(e,"Month")+t*n),a&&me(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&m.updateOffset(e,a||t))}B.fn=Bt.prototype,B.invalid=function(){return B(NaN)};Pe=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||N(e)||Jt(e)||H(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!H(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=A(e)&&!D(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)n=a[t],i=i||g(e,n);return r&&i}(e)||null==e;var t,n,r}function Xt(e,t){if(e.date()<t.date())return-Xt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=L(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(x(i[a].name)),e.push(x(i[a].abbr)),n.push(x(i[a].narrow)),r.push(x(i[a].name)),r.push(x(i[a].abbr)),r.push(x(i[a].narrow));this._erasRegex=new RegExp("^("+r.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){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var a;return null==e?Je(this,r,i).year:(t>(a=T(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,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,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Se),w("yy",Se),w("yyy",Se),w("yyyy",Se),w("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),C(["y","yy","yyy","yyyy"],$),C(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[$]=n._locale.eraYearOrdinalParse(e,i):t[$]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(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",$e),w("g",$e),w("GG",b,y),w("gg",b,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",Ce,ye),w("ggggg",Ce,ye),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Te(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",i),C("Q",function(e,t){t[F]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],k),C("Do",function(e,t){t[k]=p(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),C(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),C(["m","mm"],_);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),C(["s","ss"],E);var cn,Ce=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(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,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Se);function un(e,t){t[Ie]=p(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")C(cn,un);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=J.prototype;function dn(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=A(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||g(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||G(),n=Nt(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,G(e)))},i.clone=function(){return new J(this)},i.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":a=Xt(this,r)/12;break;case"month":a=Xt(this,r);break;case"quarter":a=Xt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:h(a)},i.endOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(G(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||G(e).isValid())?B({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(G(),e)},i.get=function(e){return u(this[e=d(e)])?this[e]():this},i.invalidAt=function(){return f(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:G(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:G(e),t=l(t)?t:G(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:G(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(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 U(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=ve,i.min=be,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)g(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},i.subtract=Xe,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){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(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")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(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,r=t.length;n<r;++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,r=t.length;n<r;++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,r=t.length;n<r;++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(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},i.year=We,i.isLeapYear=function(){return de(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=Oe,i.daysInMonth=function(){return Be(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=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return T(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return T(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return T(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return T(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},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=v,i.minute=i.minutes=fe,i.second=i.seconds=Ce,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Ot(this);if("string"==typeof e){if(null===(e=Ht(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ot(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,B(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.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(Ot(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Fe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?G(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",Oe),i.years=e("years accessor is deprecated. Use year instead",We),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(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Tt(t))._a?(e=(t._isUTC?c:G)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&p(e[o])!==p(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var i=L(),r=c().set(r,t);return i[n](r,e)}function pn(e,t,n){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=hn(e,i,n,"month");return r}function mn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),H(t)&&(n=t,t=void 0),t||"");var i,a=L(),o=e?a._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=hn(t,(i+o)%7,r,"day");return s}y.calendar=function(e,t,n){return u(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=dn,y.postformat=dn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(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)g(e,n)&&(u(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,r=this._eras||L("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(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 r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=S.call(this._shortMonthsParse,e))||-1!==(i=S.call(this._longMonthsParse,e))?i:null:-1!==(i=S.call(this._longMonthsParse,e))||-1!==(i=S.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Je(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=S.call(this._shortWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._minWeekdaysParse,e))?i:null:-1!==(i=S.call(this._minWeekdaysParse,e))||-1!==(i=S.call(this._weekdaysParse,e))||-1!==(i=S.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(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"},pt("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===p(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var gn=Math.abs;function fn(e,t,n,r){t=B(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Pe=wn("m"),ve=wn("h"),be=wn("d"),Xe=wn("w"),v=wn("M"),fe=wn("Q"),Ce=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),We=xn("minutes"),y=xn("hours"),Cn=xn("days"),Sn=xn("months"),$n=xn("years");var Fn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=B(e).abs(),a=Fn(i.as("s")),o=Fn(i.as("m")),s=Fn(i.as("h")),l=Fn(i.as("d")),c=Fn(i.as("M")),u=Fn(i.as("w")),i=Fn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(a=(a=null!=n.w?a||u<=1&&["w"]||u<n.w&&["ww",u]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,a[3]=0<+e,a[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,a)}var _n=Math.abs;function En(e){return(0<e)-(e<0)||+e}function Tn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=_n(this._milliseconds)/1e3,l=_n(this._days),c=_n(this._months),u=this.asSeconds();return u?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=En(this._months)!==En(u)?"-":"",a=En(this._days)!==En(u)?"-":"",o=En(this._milliseconds)!==En(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var P=Bt.prototype;return P.isValid=function(){return this._isValid},P.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(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,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},P.asMilliseconds=we,P.asSeconds=ge,P.asMinutes=Pe,P.asHours=ve,P.asDays=be,P.asWeeks=Xe,P.asMonths=v,P.asQuarters=fe,P.asYears=Ce,P.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},P._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},P.clone=function(){return B(this)},P.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},P.milliseconds=ye,P.seconds=xe,P.minutes=We,P.hours=y,P.days=Cn,P.weeks=function(){return h(this.days()/7)},P.months=Sn,P.years=$n,P.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},P.toISOString=Tn,P.toString=Tn,P.toJSON=Tn,P.locale=qt,P.localeData=Qt,P.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tn),P.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",$e),w("X",/[+-]?\d+(\.\d{1,3})?/),C("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),C("x",function(e,t,n){n._d=new Date(p(e))}),m.version="2.29.3",R=G,m.fn=i,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return G(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=W,m.duration=B,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return G.apply(null,arguments).parseZone()},m.localeData=L,m.isDuration=Pt,m.monthsShort=function(e,t){return pn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=I[e],I[e]=r),pt(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===pt()&&pt(e)):null!=I[e]&&delete I[e]),I[e]},m.locales=function(){return te(I)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},m.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"},m.prototype=i,m.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"},m}();var Mi,_i,Ei=Mi.exports;const Ti={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Ii={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 Li(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Gi(e,t,n){const r=e.slice();return r[102]=t[n],r}function Bi(e){let n,r=!ze(e[36])&&!e[0]&&e[13],i=r&&Pi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=8193&t[0]?!ze(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=Pi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function Pi(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[64]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ri(e){let n;return{c(){(n=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ai(n){let r,i,a;return{c(){(r=pe("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Di(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Hi(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ni(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Oi(e);function a(e){return e[22]&&e[19]&&e[19]===Qi?Ui:e[22]&&e[19]&&e[19]===ea?ji:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ge(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),de(e,n,t),s&&s.m(e,t),de(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Oi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Oi(e){let n,r,i,a,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=Ei.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=pe("div"),r=pe("div"),i=me(h),a=ge(),o=pe("span"),s=me(p),l=ge(),c=new A(!1),u=ge(),d=new A(!1),fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=u,d.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(n,l),c.m(m,n),ue(n,u),d.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ye(i,h),3145728&t[0]&&p!==(p=Ei.utc(e[20]).local().format(e[21])+"")&&ye(s,p),8&t[1]&&m!==(m=e[45](e[34])+"")&&c.p(m),234881024&t[0]&&g!==(g=e[44](e[26],e[27],e[25])+"")&&d.p(g)},d(e){e&&he(n)}}}function ji(n){let r,i,a,o,s,l,c=n[45](n[34])+"",u=n[44](n[26],n[27],n[25])+"",d=new Array(na),h=[];for(let e=0;e<d.length;e+=1)h[e]=Vi(Li(n,d,e));return{c(){r=pe("div"),i=pe("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ge(),o=new A(!1),s=ge(),l=new A(!1),fe(i,"class","LiveIcons"),fe(i,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30]),fe(r,"part",n[30])},m(e,t){de(e,r,t),ue(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[67](i),ue(r,a),o.m(c,r),ue(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(na),e=0;e<d.length;e+=1){const o=Li(t,d,e);h[e]?h[e].p(o,n):(h[e]=Vi(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}8&n[1]&&c!==(c=t[45](t[34])+"")&&o.p(c),234881024&n[0]&&u!==(u=t[44](t[26],t[27],t[25])+"")&&l.p(u),1073741824&n[0]&&fe(r,"class",t[30]),1073741824&n[0]&&fe(r,"part",t[30])},d(e){e&&he(r),G(h,e),n[67](null)}}}function Ui(e){let n,r,i,a,o,s,l=e[45](e[34])+"",c=e[44](e[26],e[27],e[25])+"";function u(e){return e[32]?Ji:Zi}let d=u(e),h=d(e);return{c(){n=pe("div"),r=pe("div"),h.c(),i=ge(),a=new A(!1),o=ge(),s=new A(!1),fe(r,"class","LiveIcons"),fe(r,"part","LiveIcons"),a.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){de(e,n,t),ue(n,r),h.m(r,null),ue(n,i),a.m(l,n),ue(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,null))),8&t[1]&&l!==(l=e[45](e[34])+"")&&a.p(l),234881024&t[0]&&c!==(c=e[44](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Wi(e){let n;function r(e){return e[29]?Yi:zi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function zi(e){let n,r,i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"";return{c(){n=new A(!1),r=c(),n.a=r},m(e,t){n.m(i,e,t),de(e,r,t)},p(e,t){2048&t[0]|1&t[1]&&i!==(i=e[46]("LatestResult "+(0===e[107]?"First":""),e[107],e[11][e[107]],e[31][e[11][e[107]]])+"")&&n.p(i)},d(e){e&&he(r),e&&n.d()}}}function Yi(e){let n,r,i,a,o,s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"",l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"";return{c(){n=pe("div"),r=new A(!1),i=ge(),a=new A(!1),o=ge(),r.a=i,a.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){de(e,n,t),r.m(s,n),ue(n,i),a.m(l,n),ue(n,o)},p(e,t){2048&t[0]|1&t[1]&&s!==(s=e[46]("LatestResult "+(0===e[107]?"First":""),"first"+e[107]+e[11][e[107]][0],e[11][e[107]][0],e[31][e[11][e[107]][0]])+"")&&r.p(s),2048&t[0]|1&t[1]&&l!==(l=e[46]("LatestResult "+(0===e[107]?"First":""),"second"+e[107]+e[11][e[107]][1],e[11][e[107]][1],e[31][e[11][e[107]][1]])+"")&&a.p(l)},d(e){e&&he(n)}}}function Vi(e){let n,r=e[11]&&e[11][e[107]]&&Wi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=Wi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Zi(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ki(Gi(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(285212672&n[0]|4096&n[1]){let e;for(a=t[24],e=0;e<a.length;e+=1){var r=Gi(t,a,e);o[e]?o[e].p(r,n):(o[e]=Ki(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Ji(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ki(e){let n,r,i,a,o,s,l;return{c(){n=pe("span"),r=k("svg"),i=k("path"),a=k("path"),o=ge(),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(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function Xi(e){let n,r;return{c(){n=pe("p"),r=me(e[3]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[3])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&ye(r,e[3]),8&t[0]&&fe(n,"title",e[3])},d(e){e&&he(n)}}}function qi(n){let r,i,a,o,s,l,D,c,u,d,h,p,H,m,g,f,y,N,b,v,O,w,x,C,S,$,j,F,k,U,M,_,W,z,E=n[35]("gameThumbnail.playNow")+"",T=(n[4]||"-")+"",Y=0<parseInt(n[7]),I=n[14]&&Bi(n);function V(e,t){return 8195&t[0]&&(w=null),8195&t[0]&&(x=null),(w=null==w?!(ze(e[36])||!e[0]||!e[13]||!e[1]):w)?Ai:(x=null==x?!!(ze(e[36])&&e[0]&&e[13]&&e[1]):x)?Ri:void 0}let L=V(n,[-1,-1,-1,-1]),G=L&&L(n),B=n[6]&&Di(n),P=Y&&Hi(n),R=n[10]&&Ni(n),A=n[9]&&Xi(n);return{c(){r=pe("div"),i=pe("div"),a=pe("img"),D=ge(),c=pe("div"),u=pe("div"),I&&I.c(),d=ge(),h=pe("p"),p=me(n[3]),H=ge(),m=pe("button"),g=me(E),N=ge(),b=pe("span"),v=me(T),O=ge(),G&&G.c(),C=ge(),S=pe("div"),B&&B.c(),$=ge(),P&&P.c(),j=ge(),R&&R.c(),U=ge(),A&&A.c(),this.c=Z,ce(a.src,o=n[2])||fe(a,"src",o),fe(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),fe(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),fe(a,"alt",""),fe(a,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[3]),fe(m,"class","GameInfoBtn"),fe(m,"part","GameInfoBtn"),fe(u,"class",f="GameInfo "+(n[15]?"GameHovered":"")),fe(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),fe(b,"class","GameInfoVendor"),fe(b,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe(S,"class","GameExtraInfo"),fe(S,"part","GameExtraInfo"),fe(i,"class",F="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(i,"part",k="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),fe(r,"class",M="GameContainer "+n[33]),fe(r,"part",_="GameContainer "+n[33])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[63](a),ue(i,D),ue(i,c),ue(c,u),I&&I.m(u,null),ue(u,d),ue(u,h),ue(h,p),ue(u,H),ue(u,m),ue(m,g),ue(c,N),ue(c,b),ue(b,v),ue(i,O),G&&G.m(i,null),ue(i,C),ue(i,S),B&&B.m(S,null),ue(S,$),P&&P.m(S,null),ue(S,j),R&&R.m(S,null),ue(r,U),A&&A.m(r,null),n[68](r),W||(z=[K(m,"click",n[65]),K(i,"mouseenter",n[41]),K(i,"mouseleave",n[42]),K(i,"touchstart",n[39],{passive:!0}),K(i,"touchend",n[40],{passive:!0})],W=!0)},p(e,t){4&t[0]&&!ce(a.src,o=e[2])&&fe(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&fe(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&fe(a,"part",l),e[14]?I?I.p(e,t):((I=Bi(e)).c(),I.m(u,d)):I&&(I.d(1),I=null),8&t[0]&&ye(p,e[3]),8&t[0]&&fe(h,"title",e[3]),16&t[1]&&E!==(E=e[35]("gameThumbnail.playNow")+"")&&ye(g,E),32768&t[0]&&f!==(f="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"class",f),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&fe(u,"part",y),16&t[0]&&T!==(T=(e[4]||"-")+"")&&ye(v,T),L===(L=V(e,t))&&G?G.p(e,t):(G&&G.d(1),(G=L&&L(e))&&(G.c(),G.m(i,C))),e[6]?B?B.p(e,t):((B=Di(e)).c(),B.m(S,$)):B&&(B.d(1),B=null),(Y=128&t[0]?0<parseInt(e[7]):Y)?P?P.p(e,t):((P=Hi(e)).c(),P.m(S,j)):P&&(P.d(1),P=null),e[10]?R?R.p(e,t):((R=Ni(e)).c(),R.m(S,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&F!==(F="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"class",F),4195328&t[0]|2&t[1]&&k!==(k="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(i,"part",k),e[9]?A?A.p(e,t):((A=Xi(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&M!==(M="GameContainer "+e[33])&&fe(r,"class",M),4&t[1]&&_!==(_="GameContainer "+e[33])&&fe(r,"part",_)},i:Z,o:Z,d(e){e&&he(r),n[63](null),I&&I.d(),G&&G.d(),B&&B.d(),P&&P.d(),R&&R.d(),A&&A.d(),n[68](null),W=!1,J(z)}}}const Qi="blackjack",ea="roulette",ta="doubleballroulette",na=5;function ra(i,e,o){let t;Ve(i,Kr,e=>o(35,t=e));let a,s,l,n,R,c,u,d,h,p,m,g,f,y,b,v,A,D,H,w,N,x,O,j,{session:U=""}=e,{userid:W=""}=e,{lang:z=""}=e,{clientstyling:C=""}=e,{clientstylingurl:S=""}=e,{favorites:$=""}=e,{gamethumbnail:Y=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:F=""}=e,{gameisnew:Z=""}=e,{gamepopularity:J=""}=e,{gamefunmode:K=!1}=e,{searchitem:X=!1}=e,{gamefavorite:k=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:M=!1}=e,{showgamename:Q=!1}=e,{currency:_=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:E=""}=e,{livelobbyendpoint:T=""}=e,{connectlive:I=""}=e,{visibilityconnect:L=""}=e,te=!1,ne=!1,re=!1,G=window.navigator.userAgent,ie="HH:mm",ae,oe=[],se="EUR",B="";const le=[Qi],ce=[ea,ta],ue={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},de={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"},he=(Object.keys(Ti).forEach(e=>{Tr(e,Ti[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+F||M||o(0,k=!0),e.data.type!=="RemoveFavoriteThumbnail_"+F||M||o(0,k=!1),"UserSessionID"===e.data.type&&(o(13,te=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),pe=e=>{X&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),ze(G)?window.postMessage({type:"ShowGameModal",gameId:e,isMobile:ze(G)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:K,gamepagemodalurl:ee,isMobile:ze(G)},window.location.href)},me=e=>{k?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"thumbnail"},window.location.href)},ge=()=>{T&&EventSource&&!n&&r&&F&&(n=new EventSource(`${E}/encoder/lobby/updates/${r}/`+F)).addEventListener("message",ye)},fe=()=>{n&&(n.close(),n=void 0)},ye=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:i,Open:a}=r;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(o(28,g=i),o(10,l.currentOccupiedSeats=i,l),await ve());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(f=n,o(10,l.currentRouletteNumbers=n,l),await ve());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await ve());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await ve()}}}},be=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",P=(e,t)=>e.some(e=>e===t);return Ze(()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),n&&n.removeEventListener("message",ye)})),i.$$set=e=>{"session"in e&&o(47,U=e.session),"userid"in e&&o(48,W=e.userid),"lang"in e&&o(49,z=e.lang),"clientstyling"in e&&o(50,C=e.clientstyling),"clientstylingurl"in e&&o(51,S=e.clientstylingurl),"favorites"in e&&o(1,$=e.favorites),"gamethumbnail"in e&&o(2,Y=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,F=e.gameid),"gameisnew"in e&&o(6,Z=e.gameisnew),"gamepopularity"in e&&o(7,J=e.gamepopularity),"gamefunmode"in e&&o(52,K=e.gamefunmode),"searchitem"in e&&o(53,X=e.searchitem),"gamefavorite"in e&&o(0,k=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,M=e.showfavoredcategory),"showgamename"in e&&o(9,Q=e.showgamename),"currency"in e&&o(55,_=e.currency),"gamepagemodalurl"in e&&o(56,ee=e.gamepagemodalurl),"endpoint"in e&&o(57,E=e.endpoint),"livelobbyendpoint"in e&&o(58,T=e.livelobbyendpoint),"connectlive"in e&&o(59,I=e.connectlive),"visibilityconnect"in e&&o(60,L=e.visibilityconnect)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&I&&("disconnect"===I?fe():"connect"===I&&ge()),536870912&i.$$.dirty[1]&&L&&("disconnect"===L?fe():"connect"===L&&"connect"===I&&ge()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&U&&W&&E&&o(13,te=!0),4&i.$$.dirty[0]&&Y&&a&&o(17,a.onload=()=>{o(16,re=!0)},a),524288&i.$$.dirty[1]&&C){let e=document.createElement("style");e.innerHTML=C,setTimeout(()=>{s.appendChild(e)})}if(2&i.$$.dirty[0]&&$&&"true"==$&&o(14,ne=!0),256&i.$$.dirty[0]|1048576&i.$$.dirty[1]&&q&&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)})})}if(201326592&i.$$.dirty[1]&&E&&T){let e=new URL(""+T.split("?")[0]);e.searchParams.append("platform",Ye(G)),e.searchParams.append("language",z),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(10,l=e)})}if(1024&i.$$.dirty[0]&&l&&l&&(o(22,u=l.isOpen),ae=l.betLimit||{},o(23,d=l.openHours),o(24,oe=(e=>{m=e.totalSeats||7,o(28,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=m;e++)t.push(e);return{seats:t}})(l).seats),d&&d.value&&({startTime:e,originalTimeFormat:t}=d["value"],o(20,c=e),o(21,ie=t||ie)),u&&o(19,R=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();P(le,e)?t=Qi:P(ce,e)&&(t=ea)}}return t})(l)),o(25,se=Ii[_]),o(26,h=(ae.min||{})[_]),o(27,p=(ae.max||{})[_]),f=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,b=l.vendorCategory,o(29,v=b.toLowerCase()===ta),o(11,A=(v?y:f)||[]),o(30,D="GameProp LiveProps RoulleteProps"),o(30,D+=v?" Double":""),o(31,H=P(ce,b.toLowerCase())?de:ue),N=w,o(32,w=Array.isArray(g)&&g.length===m),l.dealer&&o(34,O=l.dealer.DealerName),j=l.numberOfPlayers,o(33,B="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,B+=" GameBackdrop"),u&&w&&h&&p&&l.currentOccupiedSeats?o(33,B+=" GameContainerDimmed"):!1===u&&c&&o(33,B+=" GameContainerFullyDimmed"),s&&(!N&&w?(o(33,B+=" PulsatingRedShadow"),o(33,B=B.replace(" PulsatingGreenShadow",""))):N&&!w&&(o(33,B+=" PulsatingGreenShadow"),o(33,B=B.replace(" PulsatingRedShadow",""))))),6144&i.$$.dirty[0]&&x&&A){const n="FirstElementAnimated",r=x.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[k,$,Y,V,r,F,Z,J,q,Q,l,A,x,te,ne,!1,re,a,s,R,c,ie,u,d,oe,se,h,p,g,v,D,H,w,B,O,t,G,pe,me,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},P,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
4
4
|
<span>
|
|
5
5
|
${n}
|
|
6
6
|
</span>
|
|
7
|
-
${
|
|
7
|
+
${be(e)}-`+be(t)),(r=j?`
|
|
8
8
|
<svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
|
|
9
9
|
<span class="NrOfPlayers">${j}</span>`:r)||i?`
|
|
10
10
|
<p class="LiveLimits">
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},U,W,z,C,S,K,X,M,_,ee,E,L,T,I,ue,de,function(e){He[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>me(F),()=>pe(F),()=>me(F),function(e){He[e?"unshift":"push"](()=>{x=e,o(12,x)})},function(e){He[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function ia(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function aa(e,t,n){const r=e.slice();return r[77]=t[n],r[80]=t,r[79]=n,r}function oa(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function sa(e){let n;function r(e){return e[15]?da:e[25]?ua:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){de(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function la(e){let n,r,i;function a(e){return e[19]?La:e[16].length?_a:Ea}let o=a(e),s=o(e);function l(e){return e[16]?Ia:Ta}let c=l(e),u=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),u.c(),fe(r,"class","CasinoGamesHeader Searched "+(Oe(e[31])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(Oe(e[31])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){de(e,n,t),ue(n,r),s.m(r,null),ue(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),(u=c(e))&&(u.c(),u.m(n,null)))},d(e){e&&he(n),s.d(),u.d()}}}function ca(e){let n;function r(e){return e[21]?Ra:Pa}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function ua(n){let r,i,a,o,s,l,c,u,d=n[30]("gamesCategorySection.favorites")+"";function h(e){return e[29]?pa:ha}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(d),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[29].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",u=(0!=n[29].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[47](a),ue(r,s),ue(r,l),m.m(l,null),n[48](l)},p(e,t){1073741824&t[0]&&d!==(d=e[30]("gamesCategorySection.favorites")+"")&&ye(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),536870912&t[0]&&c!==(c=(0!=e[29].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),536870912&t[0]&&u!==(u=(0!=e[29].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",u)},d(e){e&&he(r),n[47](null),m.d(),n[48](null)}}}function da(n){let r,i,a,o,s,l,c,u=n[15].name+"",d="true"===n[11]&&n[14]&&"1"==n[0]&&Sa(n),h=n[17]&&$a(n);function p(e){return 0!==e[16].length?ka:Fa}let m=p(n),g=m(n);return{c(){d&&d.c(),r=ge(),i=pe("div"),a=pe("div"),o=pe("h3"),s=me(u),l=ge(),h&&h.c(),c=ge(),g.c(),fe(o,"class","CategoryName"),fe(o,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(i,"class","CasinoGamesContainer"),fe(i,"part","CasinoGamesContainer")},m(e,t){d&&d.m(e,t),de(e,r,t),de(e,i,t),ue(i,a),ue(a,o),ue(o,s),n[43](o),ue(a,l),h&&h.m(a,null),ue(i,c),g.m(i,null)},p(e,t){"true"===e[11]&&e[14]&&"1"==e[0]?d?d.p(e,t):((d=Sa(e)).c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null),32768&t[0]&&u!==(u=e[15].name+"")&&ye(s,u),e[17]?h?h.p(e,t):((h=$a(e)).c(),h.m(a,null)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g.d(1),(g=m(e))&&(g.c(),g.m(i,null)))},d(e){d&&d.d(e),e&&he(r),e&&he(i),n[43](null),h&&h.d(),g.d()}}}function ha(e){let n,r,i=e[30]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1073741824&t[0]&&i!==(i=e[30]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function pa(t){let r,i=t[29].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=Ca(ia(t,i,e));let o=null;return i.length||(o=ma(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);de(t,r,n),o&&o.m(t,n)},p(t,n){if(2046822398&n[0]|1&n[1]){let e;for(i=t[29].items,e=0;e<i.length;e+=1){const o=ia(t,i,e);a[e]?a[e].p(o,n):(a[e]=Ca(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=ma(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&he(r),o&&o.d(e)}}}function ma(e){let n,r,i,a,o,s,l,c,t,u,d=e[30]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,Oe(m[31])?fa:ga),p=h(e);var m;return{c(){n=pe("p"),r=k("svg"),i=k("path"),a=ge(),o=pe("span"),s=me(d),l=ge(),p.c(),c=ge(),B(i,"fill","white"),fe(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),B(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(Oe(e[31])?"NoFavoriteGamesMobile":"")),fe(n,"part",u="NoFavoriteGames "+(Oe(e[31])?"NoFavoriteGamesMobile":""))},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(n,a),ue(n,o),ue(o,s),ue(n,l),p.m(n,null),ue(n,c)},p(e,t){1073741824&t[0]&&d!==(d=e[30]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,d),p.p(e,t)},d(e){e&&he(n),p.d()}}}function ga(e){let n,r,i=e[30]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1073741824&t[0]&&i!==(i=e[30]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function fa(e){let n,r,i=e[30]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1073741824&t[0]&&i!==(i=e[30]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ya(e){let n,r=e[77].gameModel.isFavorite&&va(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[77].gameModel.isFavorite?r?r.p(e,t):((r=va(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function va(e){let n,r=function(e){let n,r,i;function a(e,t){return 536870912&t[0]&&(r=null),(n=null==n?!!Oe(e[31]):n)?wa:(r=null==r?!!e[77].gameModel.platform.includes("PC"):r)?ba:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),de(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ba(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[77].cellSize||"1x1"))),w(n,"session",e[3]),w(n,"userid",e[4]),w(n,"lang",e[2]),w(n,"favorites",e[5]),w(n,"gamethumbnail",a=e[77].gameModel.thumbnail),w(n,"gamename",o=e[77].gameModel.name),w(n,"gamevendor",s=e[77].gameModel.vendor.name),w(n,"gameisnew",l=e[77].gameModel.isNew),w(n,"gamepopularity",c=e[77].gameModel.popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].gameModel.id),w(n,"gamefunmode",h=e[77].gameModel.hasFunMode),w(n,"gamefavorite",p=e[77].gameModel.isFavorite),w(n,"showfavoredcategory",e[25]),w(n,"connectlive",m=1==e[27][e[77].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[28]),w(n,"currency",e[8]),w(n,"livelobbyendpoint",g=e[77].gameModel.details?e[77].gameModel.launchUrl:""),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"endpoint",e[1]),w(n,"livecasino",e[9]),w(n,"gamepagemodalurl",e[10])},m(e,t){de(e,n,t)},p(e,t){536870912&t[0]&&r!==(r=""+(C+(e[77].cellSize||"1x1")))&&w(n,"class",r),536870912&t[0]&&i!==(i=""+(C+(e[77].cellSize||"1x1")))&&w(n,"part",i),8&t[0]&&w(n,"session",e[3]),16&t[0]&&w(n,"userid",e[4]),4&t[0]&&w(n,"lang",e[2]),32&t[0]&&w(n,"favorites",e[5]),536870912&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&w(n,"gamethumbnail",a),536870912&t[0]&&o!==(o=e[77].gameModel.name)&&w(n,"gamename",o),536870912&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&w(n,"gamevendor",s),536870912&t[0]&&l!==(l=e[77].gameModel.isNew)&&w(n,"gameisnew",l),536870912&t[0]&&c!==(c=e[77].gameModel.popularity)&&w(n,"gamepopularity",c),536870912&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),536870912&t[0]&&d!==(d=e[77].gameModel.id)&&w(n,"gameid",d),536870912&t[0]&&h!==(h=e[77].gameModel.hasFunMode)&&w(n,"gamefunmode",h),536870912&t[0]&&p!==(p=e[77].gameModel.isFavorite)&&w(n,"gamefavorite",p),33554432&t[0]&&w(n,"showfavoredcategory",e[25]),671088640&t[0]&&m!==(m=1==e[27][e[77].id]?"connect":"disconnect")&&w(n,"connectlive",m),268435456&t[0]&&w(n,"visibilityconnect",e[28]),256&t[0]&&w(n,"currency",e[8]),536870912&t[0]&&g!==(g=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),2&t[0]&&w(n,"endpoint",e[1]),512&t[0]&&w(n,"livecasino",e[9]),1024&t[0]&&w(n,"gamepagemodalurl",e[10])},d(e){e&&he(n)}}}function wa(e){let n,r=e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"),i=r&&xa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=536870912&t[0]?e[77].gameModel.platform.includes("iPad")||e[77].gameModel.platform.includes("iPhone")||e[77].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=xa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function xa(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[77].cellSize||"1x1"))),w(n,"session",e[3]),w(n,"userid",e[4]),w(n,"lang",e[2]),w(n,"favorites",e[5]),w(n,"gamethumbnail",a=e[77].gameModel.thumbnail),w(n,"gamename",o=e[77].gameModel.name),w(n,"gamevendor",s=e[77].gameModel.vendor.name),w(n,"gameisnew",l=e[77].gameModel.isNew),w(n,"gamepopularity",c=e[77].gameModel.popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].gameModel.id),w(n,"gamefunmode",h=e[77].gameModel.hasFunMode),w(n,"gamefavorite",p=e[77].gameModel.isFavorite),w(n,"showfavoredcategory",e[25]),w(n,"connectlive",m=1==e[27][e[77].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[28]),w(n,"currency",e[8]),w(n,"livelobbyendpoint",g=e[77].gameModel.details?e[77].gameModel.launchUrl:""),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"endpoint",e[1]),w(n,"livecasino",e[9]),w(n,"gamepagemodalurl",e[10])},m(e,t){de(e,n,t)},p(e,t){536870912&t[0]&&r!==(r=""+(C+(e[77].cellSize||"1x1")))&&w(n,"class",r),536870912&t[0]&&i!==(i=""+(C+(e[77].cellSize||"1x1")))&&w(n,"part",i),8&t[0]&&w(n,"session",e[3]),16&t[0]&&w(n,"userid",e[4]),4&t[0]&&w(n,"lang",e[2]),32&t[0]&&w(n,"favorites",e[5]),536870912&t[0]&&a!==(a=e[77].gameModel.thumbnail)&&w(n,"gamethumbnail",a),536870912&t[0]&&o!==(o=e[77].gameModel.name)&&w(n,"gamename",o),536870912&t[0]&&s!==(s=e[77].gameModel.vendor.name)&&w(n,"gamevendor",s),536870912&t[0]&&l!==(l=e[77].gameModel.isNew)&&w(n,"gameisnew",l),536870912&t[0]&&c!==(c=e[77].gameModel.popularity)&&w(n,"gamepopularity",c),536870912&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),536870912&t[0]&&d!==(d=e[77].gameModel.id)&&w(n,"gameid",d),536870912&t[0]&&h!==(h=e[77].gameModel.hasFunMode)&&w(n,"gamefunmode",h),536870912&t[0]&&p!==(p=e[77].gameModel.isFavorite)&&w(n,"gamefavorite",p),33554432&t[0]&&w(n,"showfavoredcategory",e[25]),671088640&t[0]&&m!==(m=1==e[27][e[77].id]?"connect":"disconnect")&&w(n,"connectlive",m),268435456&t[0]&&w(n,"visibilityconnect",e[28]),256&t[0]&&w(n,"currency",e[8]),536870912&t[0]&&g!==(g=e[77].gameModel.details?e[77].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),2&t[0]&&w(n,"endpoint",e[1]),512&t[0]&&w(n,"livecasino",e[9]),1024&t[0]&&w(n,"gamepagemodalurl",e[10])},d(e){e&&he(n)}}}function Ca(e){let n,r=e[77].gameModel&&ya(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[77].gameModel?r?r.p(e,t):((r=ya(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Sa(e){let n,r;return{c(){n=pe("div"),w(r=pe("casino-winners"),"session",e[3]),w(r,"periodrecent",Da),w(r,"periodtop",Ha),w(r,"numberusersrecent",Na),w(r,"numberuserstop",Oa),w(r,"amountlimit",ja),w(r,"lang",e[2]),w(r,"isrecentavailable",Ua),w(r,"istopavailable",Wa),w(r,"defaultcurrency",za),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&w(r,"session",e[3]),4&t[0]&&w(r,"lang",e[2]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),2&t[0]&&w(r,"endpoint",e[1])},d(e){e&&he(n)}}}function $a(n){let r,i,a,o,s,l,c,u,d=n[30]("gamesCategorySection.viewAll")+"",h=n[15].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(d),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),ue(i,l),c||(u=K(r,"click",n[44]),c=!0)},p(e,t){1073741824&t[0]&&d!==(d=e[30]("gamesCategorySection.viewAll")+"")&&ye(a,d),32768&t[0]&&h!==(h=e[15].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,u()}}}function Fa(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ka(n){let r,e,i,a=n[16],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ma(aa(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[29].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[29].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){de(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[46](r)},p(t,n){if(402724862&n[0]){let e;for(a=t[16],e=0;e<a.length;e+=1){const i=aa(t,a,e);o[e]?o[e].p(i,n):(o[e]=Ma(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}570425344&n[0]&&e!==(e=(0===t[29].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),570425344&n[0]&&i!==(i=(0===t[29].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),G(o,e),n[46](null)}}}function Ma(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[79];const v=()=>n[45](r,y),b=()=>n[45](null,y);return{c(){w(r=pe("casino-game-thumbnail"),"session",n[3]),w(r,"userid",n[4]),w(r,"lang",n[2]),w(r,"class",i=""+(C+(n[77].cellSize||"1x1"))),w(r,"part",a=""+(C+(n[77].cellSize||"1x1"))),w(r,"favorites",n[5]),w(r,"gamethumbnail",o=n[77].thumbnail),w(r,"gamename",s=n[77].name),w(r,"gamevendor",l=n[77].vendor.name),w(r,"gameisnew",c=n[77].isNew),w(r,"gamepopularity",u=n[77].popularity),w(r,"gamecellsize",d=n[77].cellSize),w(r,"gameid",h=n[77].id),w(r,"gamefunmode",p=n[77].hasFunMode),w(r,"gamefavorite",m=n[77].isFavorite),w(r,"connectlive",g=1==n[27][n[77].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[28]),w(r,"currency",n[8]),w(r,"livelobbyendpoint",f=n[77].details?n[77].href:""),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"endpoint",n[1]),w(r,"livecasino",n[9]),w(r,"gamepagemodalurl",n[10])},m(e,t){de(e,r,t),v()},p(e,t){n=e,8&t[0]&&w(r,"session",n[3]),16&t[0]&&w(r,"userid",n[4]),4&t[0]&&w(r,"lang",n[2]),65536&t[0]&&i!==(i=""+(C+(n[77].cellSize||"1x1")))&&w(r,"class",i),65536&t[0]&&a!==(a=""+(C+(n[77].cellSize||"1x1")))&&w(r,"part",a),32&t[0]&&w(r,"favorites",n[5]),65536&t[0]&&o!==(o=n[77].thumbnail)&&w(r,"gamethumbnail",o),65536&t[0]&&s!==(s=n[77].name)&&w(r,"gamename",s),65536&t[0]&&l!==(l=n[77].vendor.name)&&w(r,"gamevendor",l),65536&t[0]&&c!==(c=n[77].isNew)&&w(r,"gameisnew",c),65536&t[0]&&u!==(u=n[77].popularity)&&w(r,"gamepopularity",u),65536&t[0]&&d!==(d=n[77].cellSize)&&w(r,"gamecellsize",d),65536&t[0]&&h!==(h=n[77].id)&&w(r,"gameid",h),65536&t[0]&&p!==(p=n[77].hasFunMode)&&w(r,"gamefunmode",p),65536&t[0]&&m!==(m=n[77].isFavorite)&&w(r,"gamefavorite",m),134283264&t[0]&&g!==(g=1==n[27][n[77].id]?"connect":"disconnect")&&w(r,"connectlive",g),268435456&t[0]&&w(r,"visibilityconnect",n[28]),256&t[0]&&w(r,"currency",n[8]),65536&t[0]&&f!==(f=n[77].details?n[77].href:"")&&w(r,"livelobbyendpoint",f),64&t[0]&&w(r,"clientstyling",n[6]),128&t[0]&&w(r,"clientstylingurl",n[7]),2&t[0]&&w(r,"endpoint",n[1]),512&t[0]&&w(r,"livecasino",n[9]),1024&t[0]&&w(r,"gamepagemodalurl",n[10]),y!==n[79]&&(b(),y=n[79],v())},d(e){e&&he(r),b()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function _a(e){let n,r,i=e[30]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1073741824&t[0]&&i!==(i=e[30]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ea(e){let n,r,i=e[30]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1073741824&t[0]&&i!==(i=e[30]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function La(e){let n,r,i=e[30]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1073741824&t[0]&&i!==(i=e[30]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ta(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ia(t){let r,i,a=!t[22]&&Ga(t),o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ba(oa(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),de(e,r,t),de(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[22]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ga(t)).c(),a.m(r.parentNode,r)),1116158&n[0]){let e;for(o=t[16],e=0;e<o.length;e+=1){const a=oa(t,o,e);s[e]?s[e].p(a,n):(s[e]=Ba(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),G(s,e)}}}function Ga(e){let n,r,t,i,a=e[30]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Oe(e[31])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Oe(e[31])?"NoRecentSearchesMobile":""))},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1073741824&t[0]&&a!==(a=e[30]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ba(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[77].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[77].cellSize||"1x1"))),w(n,"session",e[3]),w(n,"userid",e[4]),w(n,"lang",e[2]),w(n,"searchitem",e[20]),w(n,"favorites",e[5]),w(n,"gamethumbnail",a=e[77].thumbnail),w(n,"gamename",o=e[77].name),w(n,"gamevendor",s=e[77].vendor.name),w(n,"gameisnew",l=e[77].isNew),w(n,"gamepopularity",c=e[77].popularity),w(n,"gamecellsize",u=e[77].cellSize),w(n,"gameid",d=e[77].id),w(n,"gamefunmode",h=e[77].hasFunMode),w(n,"gamefavorite",p=e[77].isFavorite),w(n,"currency",e[8]),w(n,"livelobbyendpoint",m=e[77].details?e[77].href:""),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"endpoint",e[1]),w(n,"livecasino",e[9]),w(n,"gamepagemodalurl",e[10])},m(e,t){de(e,n,t)},p(e,t){65536&t[0]&&r!==(r=""+(C+(e[77].cellSize||"1x1")))&&w(n,"class",r),65536&t[0]&&i!==(i=""+(C+(e[77].cellSize||"1x1")))&&w(n,"part",i),8&t[0]&&w(n,"session",e[3]),16&t[0]&&w(n,"userid",e[4]),4&t[0]&&w(n,"lang",e[2]),1048576&t[0]&&w(n,"searchitem",e[20]),32&t[0]&&w(n,"favorites",e[5]),65536&t[0]&&a!==(a=e[77].thumbnail)&&w(n,"gamethumbnail",a),65536&t[0]&&o!==(o=e[77].name)&&w(n,"gamename",o),65536&t[0]&&s!==(s=e[77].vendor.name)&&w(n,"gamevendor",s),65536&t[0]&&l!==(l=e[77].isNew)&&w(n,"gameisnew",l),65536&t[0]&&c!==(c=e[77].popularity)&&w(n,"gamepopularity",c),65536&t[0]&&u!==(u=e[77].cellSize)&&w(n,"gamecellsize",u),65536&t[0]&&d!==(d=e[77].id)&&w(n,"gameid",d),65536&t[0]&&h!==(h=e[77].hasFunMode)&&w(n,"gamefunmode",h),65536&t[0]&&p!==(p=e[77].isFavorite)&&w(n,"gamefavorite",p),256&t[0]&&w(n,"currency",e[8]),65536&t[0]&&m!==(m=e[77].details?e[77].href:"")&&w(n,"livelobbyendpoint",m),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),2&t[0]&&w(n,"endpoint",e[1]),512&t[0]&&w(n,"livecasino",e[9]),1024&t[0]&&w(n,"gamepagemodalurl",e[10])},d(e){e&&he(n)}}}function Pa(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ra(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Aa(n){let r;function i(e){return e[13]?ca:e[18]?la:sa}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){de(e,r,t),o.m(r,null),n[49](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[49](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ra,qi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,MONEY_WHEEL_COLOR_MAP:61,ROULETTE_COLOR_MAP:62},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[61]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[62]}});const C="game-tile-";let Da="Today",Ha="Last7Days",Na="20",Oa="20",ja="1",Ua="true",Wa="true",za="EUR";function Ya(e,t,l){let R;Ue(e,Kr,e=>l(30,R=e));let n,i,a,r,A,o,s,c,u,d,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:O=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{enablecasinowinners:Y="true"}=t,{once:V=!0}=t,{top:Z=0}=t,{bottom:J=0}=t,{left:K=0}=t,{right:X=0}=t,b=!1,w=!0,q=window.navigator.userAgent,x=[],C=!0,S=40,$=!1,F=!1,Q=!1,k=!1,M=!1,_=!0,E=!1,L=!1,T=!1,I=new Array(1e4),G={},ee="",B={items:[],count:0,name:""},te=(Object.keys(gi).forEach(e=>{Lr(e,gi[e])}),void 0!==document.hidden?u="hidden":void 0!==document.msHidden?u="msHidden":void 0!==document.webkitHidden&&(u="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&ie(v),l(27,G[t]=1,G)):l(27,G[t]=0,G)})}));const ne=(r,i,a,e=0)=>{let o=new URL(`${h}/casino/groups/${p}/`+v),s=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",je(q)),o.searchParams.append("pagination",`games(offset=${i},limit=${a})`),o.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),s&&s[v])if(s[v].length&&!1===w&&!1===E){let t="";l(21,M=!0),s[v].forEach(e=>{t+=t?", id="+e:"id="+e}),o.searchParams.append("filter",`games(vendor(${t}))`)}else l(21,M=!1);var e=JSON.parse(sessionStorage.getItem(r));e?t(e):fetch(o).then(e=>e.json()).then(e=>{l(42,d=!0),l(13,b=!1),A=e.games.total,sessionStorage.setItem(r,JSON.stringify(e)),t(e)},e=>{l(13,b=!0),console.error(e),n(e)})})},re=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":l(18,$=!1),l(14,w=!1),l(17,C=!1),L=!0,l(16,x=t.data.mostPlayedGames),l(15,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(18,$=!0),L=!1,l(19,F=!0),0<t.data.searchData.length?(l(16,x=t.data.searchData),l(22,_=!0),x&&x.forEach(e=>{e.isFavorite=P(e.id)})):(l(16,x=[]),l(22,_=!1));break;case"OutOfRecentSearches":l(18,$=!1),l(19,F=!1);break;case"SearchData":l(18,$=!0),L=!1,l(19,F=!1),l(16,x=t.data.searchData.items||[]),l(20,k=!0),t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)});break;case"CategoryData_"+v:l(18,$=!1),l(14,w=!0),l(17,C=!0),l(20,k=!1),L=!1,T=!1,t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),ne(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(15,a=e),l(16,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":l(18,$=!1),l(14,w=!1),l(20,k=!1),L=!1,T=!0,l(33,v=t.data.itemId),"MOSTPLAYED"!==v&&l(17,C=!1),ne(v,0,S).then(e=>{l(15,a=e),a.games.items.forEach(e=>{e.isFavorite=P(e.id)}),l(16,x=a.games.items),l(17,C=!1),x.length<10&&(Q=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Q},window.location.href)},500))});break;case"FavoriteUpdate":L=!1,l(14,w=!0),l(16,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)}),l(17,C=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items,E?w||L||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(29,B.items=Xr(e,B.items),B),l(29,B.name="Favorites",B),l(25,E=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{s=e?e.items:[],x.forEach(e=>{e.isFavorite=P(e.id)});e=x;l(16,x=void 0),l(16,x=e),t(s)}).catch(e=>{console.error(e),n(e)})})}}},ie=e=>{(S+=1)<=A&&ne(e,0,S).then(e=>{l(15,a=e),a.games.items.length>x.length&&(l(16,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)}))})},P=t=>!!s&&-1!==s.findIndex(e=>e.id==t),ae=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return We(()=>(window.addEventListener("visibilitychange",e=>{document[u]?l(28,ee="disconnect"):l(28,ee="connect")}),window.addEventListener("message",re,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",re),window.removeEventListener("visibilitychange",re)})),e.$$set=e=>{"categoryindex"in e&&l(0,D=e.categoryindex),"endpoint"in e&&l(1,h=e.endpoint),"datasource"in e&&l(34,p=e.datasource),"lang"in e&&l(2,m=e.lang),"session"in e&&l(3,H=e.session),"userid"in e&&l(4,N=e.userid),"favorites"in e&&l(5,g=e.favorites),"clientstyling"in e&&l(6,f=e.clientstyling),"clientstylingurl"in e&&l(7,y=e.clientstylingurl),"currency"in e&&l(8,O=e.currency),"categoryid"in e&&l(33,v=e.categoryid),"categorygames"in e&&l(35,j=e.categorygames),"livecasino"in e&&l(9,U=e.livecasino),"visiblegames"in e&&l(36,W=e.visiblegames),"gamepagemodalurl"in e&&l(10,z=e.gamepagemodalurl),"enablecasinowinners"in e&&l(11,Y=e.enablecasinowinners),"once"in e&&l(37,V=e.once),"top"in e&&l(38,Z=e.top),"bottom"in e&&l(39,J=e.bottom),"left"in e&&l(40,K=e.left),"right"in e&&l(41,X=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|2048&e.$$.dirty[1]&&d&&I&&T&&I.forEach((e,t)=>{e&&(e.elems_index=t,te.observe(e))}),e.$$.dirty[0],64&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(128&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[D,h,m,H,N,g,f,y,O,U,z,Y,I,b,w,a,x,C,$,F,k,M,_,r,o,E,c,G,ee,B,R,q,ae,v,p,j,W,V,Z,J,K,X,d,function(e){He[e?"unshift":"push"](()=>{o=e,l(24,o)})},e=>ae(a.id,a),function(e,t){He[e?"unshift":"push"](()=>{I[t]=e,l(12,I)})},function(e){He[e?"unshift":"push"](()=>{r=e,l(23,r)})},function(e){He[e?"unshift":"push"](()=>{o=e,l(24,o)})},function(e){He[e?"unshift":"push"](()=>{r=e,l(23,r)})},function(e){He[e?"unshift":"push"](()=>{c=e,l(26,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoWinners{background:transparent;width:100%;min-height:200px}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ya,Aa,t,{categoryindex:0,endpoint:1,datasource:34,lang:2,session:3,userid:4,favorites:5,clientstyling:6,clientstylingurl:7,currency:8,categoryid:33,categorygames:35,livecasino:9,visiblegames:36,gamepagemodalurl:10,enablecasinowinners:11,once:37,top:38,bottom:39,left:40,right:41},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","enablecasinowinners","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[0]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[3]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[5]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[8]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[33]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[11]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get once(){return this.$$.ctx[37]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[38]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[39]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[40]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[41]}set right(e){this.$$set({right:e}),f()}});const Va={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Za(e,t,n){const r=e.slice();return r[23]=t[n],r[25]=n,r}function Ja(n){let r,i,a,o,s,l,c,u=!n[5]&&Ka(n),d=n[5]&&qa(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("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=ge(),u&&u.c(),s=ge(),d&&d.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),u&&u.m(i,null),ue(i,s),d&&d.m(i,null),l||(c=K(a,"click",n[9]),l=!0)},p(e,t){e[5]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ka(e)).c(),u.m(i,s)),e[5]?d?d.p(e,t):((d=qa(e)).c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&he(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ka(t){let n,r,i,a,o,s,e=t[6]("randomGame.randomGameLoading")+"",l=t[2],c=[];for(let e=0;e<l.length;e+=1)c[e]=Xa(Za(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),B(i,"transform","translateY("+t[4]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);ue(n,a),ue(n,o),ue(o,s)},p(t,n){if(4&n){let e;for(l=t[2],e=0;e<l.length;e+=1){var r=Za(t,l,e);c[e]?c[e].p(r,n):(c[e]=Xa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}16&n&&B(i,"transform","translateY("+t[4]+"px)"),64&n&&e!==(e=t[6]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),G(c,e)}}}function Xa(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[23].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[23].name),fe(r,"title",o=e[23].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){de(e,n,t),ue(n,r),ue(n,s)},p(e,t){4&t&&!ce(r.src,i=e[23].thumbnail)&&fe(r,"src",i),4&t&&a!==(a=e[23].name)&&fe(r,"alt",a),4&t&&o!==(o=e[23].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function qa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C,S=n[1].name+"",$=n[1].vendor.name+"",F=n[6]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(u=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=ge(),h=pe("div"),p=pe("p"),m=me(S),g=ge(),f=pe("p"),y=me($),v=ge(),b=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[1].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[1].name),fe(a,"title",l=n[1].name),fe(u,"class","RandomTryAgain"),fe(u,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(b,"class","RandomGamePlay"),fe(b,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,c),ue(i,u),ue(r,d),ue(r,h),ue(h,p),ue(p,m),ue(h,g),ue(h,f),ue(f,y),ue(h,v),ue(h,b),ue(b,w),x||(C=[K(u,"click",n[14]),K(b,"click",n[15])],x=!0)},p(e,t){2&t&&!ce(a.src,o=e[1].thumbnail)&&fe(a,"src",o),2&t&&s!==(s=e[1].name)&&fe(a,"alt",s),2&t&&l!==(l=e[1].name)&&fe(a,"title",l),2&t&&S!==(S=e[1].name+"")&&ye(m,S),2&t&&$!==($=e[1].vendor.name+"")&&ye(y,$),64&t&&F!==(F=e[6]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J(C)}}}function Qa(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[6]("randomGame.playRandomGame")+"",g=n[3]&&Ja(n);return{c(){r=pe("div"),i=pe("div"),g&&g.c(),a=ge(),o=pe("div"),s=pe("button"),l=pe("span"),c=me(m),u=ge(),d=pe("span"),this.c=Z,fe(l,"class","RandomButtonText"),fe(l,"part","RandomButtonText"),fe(d,"class","RandomButtonIcon"),fe(d,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),ue(r,i),g&&g.m(i,null),ue(i,a),ue(i,o),ue(o,s),ue(s,l),ue(l,c),ue(s,u),ue(s,d),d.innerHTML=n[0],h||(p=K(s,"click",n[16]),h=!0)},p(e,[t]){e[3]?g?g.p(e,t):((g=Ja(e)).c(),g.m(i,a)):g&&(g.d(1),g=null),64&t&&m!==(m=e[6]("randomGame.playRandomGame")+"")&&ye(c,m),1&t&&(d.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),g&&g.d(),h=!1,p()}}}function eo(t,e,n){let r;Ue(t,Kr,e=>n(6,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,u=[],d="",h=!1,p=0,m=0,g=!1,f=window.navigator.userAgent;var y,v;({withLocale:y,translations:v}={withLocale:"en",translations:{}}),Ne.subscribe(e=>{null==e&&(_r.set(v),Ne.set(y))}),Object.keys(Va).forEach(e=>{Lr(e,Va[e])});const b=()=>{n(2,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)),n(4,p=0),m=0,n(5,g=!1),n(1,d=u[Math.floor(Math.random()*u.length)]),n(3,h=!0);let e=setInterval(()=>{n(4,p-=100),20==++m&&(n(5,g=!0),clearInterval(e))},100)},w=()=>{window.postMessage({type:s,gameId:d.gId||d.id},window.location.href),n(3,h=!1)};return t.$$set=e=>{"endpoint"in e&&n(10,a=e.endpoint),"datasource"in e&&n(11,o=e.datasource),"gameevent"in e&&n(12,s=e.gameevent),"lang"in e&&n(13,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon)},t.$$.update=()=>{if(8192&t.$$.dirty&&l&&(e=l,Ne.set(e)),3072&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",je(f)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{u=e.items,n(2,i=u.slice(0,19))})}var e},[c,d,i,h,p,g,r,b,w,()=>{n(3,h=!1)},a,o,s,l,()=>b(),()=>w(),()=>b()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},eo,Qa,t,{endpoint:10,datasource:11,gameevent:12,lang:13,randombuttonicon:0},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[12]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}});const to={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function no(e,t,n){const r=e.slice();return r[43]=t[n],r[45]=n,r}function ro(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b=n[1].toUpperCase()+"";function w(e){return e[6]?oo:so}let x=w(n),C=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),u=pe("div"),C.c(),d=ge(),h=pe("div"),p=me(b),ce(s.src,l=n[7])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(u,"class","displayContainer"),fe(h,"class","title"),fe(a,"class",m="mainWrapper "+n[0]+" "+(n[5]&&!n[6]?"mobile":n[6]?"tablet":"")),B(a,"background","url("+n[11]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",g=n[12]?"DisplayNone":""),fe(r,"part",f=n[12]?"DisplayNone":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,c),ue(a,u),C.m(u,null),ue(a,d),ue(a,h),ue(h,p),n[29](r),y||(v=K(i,"click",n[28]),y=!0)},p(e,t){128&t[0]&&!ce(s.src,l=e[7])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(u,null))),2&t[0]&&b!==(b=e[1].toUpperCase()+"")&&ye(p,b),97&t[0]&&m!==(m="mainWrapper "+e[0]+" "+(e[5]&&!e[6]?"mobile":e[6]?"tablet":""))&&fe(a,"class",m),2048&t[0]&&B(a,"background","url("+e[11]+")"),4096&t[0]&&g!==(g=e[12]?"DisplayNone":"")&&fe(r,"class",g),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"part",f)},d(e){e&&he(r),C.d(),n[29](null),y=!1,v()}}}function io(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ao(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function oo(e){let n,r,i,a,o,s,A,l,c,D,H,u,N,O,d,h,p,m,g,j,f,y,U,W,v,z,Y,b,w,x,C,S,$,V,F,k,Z,J,M,K,X,_,E,L,T,I,q,G,B,Q,ee,P,te,R=e[9][0]+"",ne=e[8][0]+"",re=e[9][1]+"",ie=e[8][1]+"",ae=e[9][2]+"",oe=e[8][2]+"",se=e[9][3]+"",le=e[8][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),A=me(R),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),u=pe("span"),N=me(e[2]),O=ge(),d=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),v=pe("span"),z=me(e[2]),Y=ge(),b=pe("div"),w=pe("div"),x=pe("div"),C=pe("img"),$=pe("span"),V=me(ae),F=pe("span"),k=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[2]),X=ge(),_=pe("div"),E=pe("div"),L=pe("img"),I=pe("span"),q=me(se),G=pe("span"),B=pe("span"),Q=me(le),ee=ge(),P=pe("span"),te=me(e[2]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[10][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(u,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[10][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(v,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(d,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,S=e[10][2])||fe(C,"src",S),fe(C,"alt",""),fe($,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(L,"class","displayCardIcon"),ce(L.src,T=e[10][3])||fe(L,"src",T),fe(L,"alt",""),fe(I,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(B,"class","jackpotValue"),fe(P,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(_,"class","displayCard"),fe(b,"class","pairWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(i,a),ue(i,s),ue(s,A),ue(r,l),ue(l,c),ue(c,D),ue(l,H),ue(l,u),ue(u,N),ue(n,O),ue(n,d),ue(d,h),ue(h,p),ue(h,g),ue(g,j),ue(d,f),ue(f,y),ue(y,U),ue(f,W),ue(f,v),ue(v,z),de(e,Y,t),de(e,b,t),ue(b,w),ue(w,x),ue(x,C),ue(x,$),ue($,V),ue(w,F),ue(F,k),ue(k,Z),ue(F,J),ue(F,M),ue(M,K),ue(b,X),ue(b,_),ue(_,E),ue(E,L),ue(E,I),ue(I,q),ue(_,G),ue(G,B),ue(B,Q),ue(G,ee),ue(G,P),ue(P,te)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10][0])&&fe(a,"src",o),512&t[0]&&R!==(R=e[9][0]+"")&&ye(A,R),256&t[0]&&ne!==(ne=e[8][0]+"")&&ye(D,ne),4&t[0]&&ye(N,e[2]),1024&t[0]&&!ce(p.src,m=e[10][1])&&fe(p,"src",m),512&t[0]&&re!==(re=e[9][1]+"")&&ye(j,re),256&t[0]&&ie!==(ie=e[8][1]+"")&&ye(U,ie),4&t[0]&&ye(z,e[2]),1024&t[0]&&!ce(C.src,S=e[10][2])&&fe(C,"src",S),512&t[0]&&ae!==(ae=e[9][2]+"")&&ye(V,ae),256&t[0]&&oe!==(oe=e[8][2]+"")&&ye(Z,oe),4&t[0]&&ye(K,e[2]),1024&t[0]&&!ce(L.src,T=e[10][3])&&fe(L,"src",T),512&t[0]&&se!==(se=e[9][3]+"")&&ye(q,se),256&t[0]&&le!==(le=e[8][3]+"")&&ye(Q,le),4&t[0]&&ye(te,e[2])},d(e){e&&he(n),e&&he(Y),e&&he(b)}}}function so(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=lo(no(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(1796&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=no(t,a,e);o[e]?o[e].p(r,n):(o[e]=lo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function lo(e){let n,r,i,a,o,s,l,c,u,d,h,p,m=e[9][e[45]]+"",g=(e[8][e[45]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),u=me(g),d=ge(),h=pe("span"),p=me(e[2]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[10][e[45]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,o),ue(o,s),ue(n,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p)},p(e,t){1024&t[0]&&!ce(i.src,a=e[10][e[45]])&&fe(i,"src",a),512&t[0]&&m!==(m=e[9][e[45]]+"")&&ye(s,m),256&t[0]&&g!==(g=(e[8][e[45]]??"")+"")&&ye(u,g),4&t[0]&&ye(p,e[2])},d(e){e&&he(n)}}}function co(e){let n;function r(e){return e[13]?ao:e[4]?io:ro}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function uo(t,e,n){let r;Ue(t,Kr,e=>n(14,r=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:u=""}=e,{caticon3:d=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{lang:f="en"}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{endpoint:b=""}=e,{gameid:w=""}=e,x=window.navigator.userAgent,C=!1,S=!1,$="",F=[],k=[],M=[],_=[],E="",L=!1,T=!0,I=!1;Object.keys(to).forEach(e=>{Lr(e,to[e])});const G=["typeSpread","typeLeft"],B=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href)};return t.$$set=e=>{"visualstructure"in e&&n(0,o=e.visualstructure),"title"in e&&n(1,s=e.title),"caticon0"in e&&n(16,l=e.caticon0),"caticon1"in e&&n(17,c=e.caticon1),"caticon2"in e&&n(18,u=e.caticon2),"caticon3"in e&&n(19,d=e.caticon3),"iconlabels"in e&&n(20,h=e.iconlabels),"backgroundsrc"in e&&n(21,p=e.backgroundsrc),"currency"in e&&n(2,m=e.currency),"backgroundsrcmobile"in e&&n(22,g=e.backgroundsrcmobile),"lang"in e&&n(23,f=e.lang),"clientstyling"in e&&n(24,y=e.clientstyling),"clientstylingurl"in e&&n(25,v=e.clientstylingurl),"endpoint"in e&&n(26,b=e.endpoint),"gameid"in e&&n(27,w=e.gameid)},t.$$.update=()=>{if(16777224&t.$$.dirty[0]&&i&&y){let e=document.createElement("style");e.innerHTML=y,i.appendChild(e)}if(33554440&t.$$.dirty[0]&&i&&v){n(12,L=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{n(12,L=!1)},500))})}if((8388628&t.$$.dirty[0]&&m&&f&&!T&&(n(5,C=Oe(x)&&1<window.innerHeight/window.innerWidth),n(6,S=.75<(e=window.innerHeight/window.innerWidth)&&e<1.6),n(8,k=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),n(9,M=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),G.includes(o.trim())?n(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${G[0]}"`),n(0,o=G[0])),n(11,E=g&&C&&!S?g:p),n(10,_=[l,c,u,d])),75497476&t.$$.dirty[0]&&b&&f&&m)&&(b&&f&&m)){let e=new URL(b);e.searchParams.append("filter","id="+w),e.searchParams.append("language",f),e.searchParams.append("currencies",m),fetch(e.href).then(e=>e.json()).then(e=>{n(4,T=!1),a=e,"998"!=w&&"999"!=w||((e=null==(e=null==a?void 0:a.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),n(7,$=a.items[0].vendorLogo))}).catch(e=>{n(13,I=!0),n(4,T=!1),console.error(e)})}var e;8388608&t.$$.dirty[0]&&f&&(e=f,Ne.set(e))},[o,s,m,i,T,C,S,$,k,M,_,E,L,I,r,B,l,c,u,d,h,p,g,f,y,v,b,w,()=>B(),function(e){He[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}function ho(e,t,n){const r=e.slice();return r[131]=t[n],r[133]=n,r}function po(n){let r,i,a,o,s,l,c="PC"!==je(n[47])&&"false"===n[10]&&n[43],u=c&&go();function d(e){return"false"===e[10]?yo:fo}let h=d(n),p=h(n),m="true"==n[15]&&To(n),g="true"===n[18]&&Io(n);function f(e){return e[23]?Do:e[31]?Ao:e[34]?Ro:e[29]?Po:e[35]?Bo:e[30]?void 0:Go}let y=f(n),v=y&&y(n),b=n[25]&&"true"==n[13]&&jo(n);return{c(){r=pe("section"),u&&u.c(),i=ge(),p.c(),a=ge(),m&&m.c(),o=ge(),g&&g.c(),s=ge(),v&&v.c(),l=ge(),b&&b.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),B(r,"max-width",n[12]+"px")},m(e,t){de(e,r,t),u&&u.m(r,null),ue(r,i),p.m(r,null),ue(r,a),m&&m.m(r,null),ue(r,o),g&&g.m(r,null),ue(r,s),v&&v.m(r,null),ue(r,l),b&&b.m(r,null),n[76](r)},p(e,t){(c=1024&t[0]|4096&t[1]?"PC"!==je(e[47])&&"false"===e[10]&&e[43]:c)?u||((u=go()).c(),u.m(r,i)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,a))),"true"==e[15]?m?m.p(e,t):((m=To(e)).c(),m.m(r,o)):m&&(m.d(1),m=null),"true"===e[18]?g?g.p(e,t):((g=Io(e)).c(),g.m(r,s)):g&&(g.d(1),g=null),y===(y=f(e))&&v?v.p(e,t):(v&&v.d(1),(v=y&&y(e))&&(v.c(),v.m(r,l))),e[25]&&"true"==e[13]?b?b.p(e,t):((b=jo(e)).c(),b.m(r,null)):b&&(b.d(1),b=null),4096&t[0]&&B(r,"max-width",e[12]+"px")},d(e){e&&he(r),u&&u.d(),p.d(),m&&m.d(),g&&g.d(),v&&v.d(),b&&b.d(),n[76](null)}}}function mo(e){let n,r,i=e[46]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){32768&t[1]&&i!==(i=e[46]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function go(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function fo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w=n[46]("casinoPage.searchGames")+"",x="PC"===je(n[47])&&n[21].length||"PC"!==je(n[47]),C=!n[43]&&vo(),S=x&&bo(n),$=!n[29]&&!n[34]&&!n[43]&&!n[35]&&!n[30]&&!n[33]&&!n[31]&&!n[32]&&wo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===je(n[47])?n[46]("casinoPage.search"):n[46]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[34]||n[29]||n[35]||n[32]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[34]||n[29]||n[35]||n[32]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==je(n[47])?"CategoriesHeaderMobileSection":"")+" "+(n[43]?"SearchMobileActive":"")+" "+(n[43]||n[31]&&"PC"!==je(n[47])&&!Wo?"CategoriesHeaderSearchActive":"")+(n[37]&&n[43]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==je(n[47])?"CategoriesHeaderMobileSection":"")+" "+(n[43]?"SearchMobileActive":"")+" "+(n[43]||n[31]&&"PC"!==je(n[47])&&!Wo?"CategoriesHeaderSearchActive":"")+(n[37]&&n[43]?"SearchStickTop":"")),B(r,"top",n[37]&&n[43]?zo+"px":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[69](u),R(u,n[21]),ue(l,h),S&&S.m(l,null),ue(r,g),$&&$.m(r,null),n[74](r),v||(b=[K(u,"focus",n[49]),K(u,"blur",n[50]),K(u,"input",n[70]),K(u,"focus",n[51])],v=!0)},p(e,t){32768&t[1]&&w!==(w=e[46]("casinoPage.searchGames")+"")&&ye(o,w),e[43]?C&&(C.d(1),C=null):C||((C=vo()).c(),C.m(l,c)),32768&t[1]&&d!==(d="PC"===je(e[47])?e[46]("casinoPage.search"):e[46]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),2097152&t[0]&&R(u,e[21]),(x=2097152&t[0]?"PC"===je(e[47])&&e[21].length||"PC"!==je(e[47]):x)?S?S.p(e,t):((S=bo(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),536870912&t[0]|26&t[1]&&p!==(p="SearchContainer "+(e[34]||e[29]||e[35]||e[32]?"":"SearchTruncated"))&&fe(i,"class",p),536870912&t[0]|26&t[1]&&m!==(m="SearchContainer "+(e[34]||e[29]||e[35]||e[32]?"":"SearchTruncated"))&&fe(i,"part",m),e[29]||e[34]||e[43]||e[35]||e[30]||e[33]||e[31]||e[32]?$&&($.d(1),$=null):$?$.p(e,t):(($=wo(e)).c(),$.m(r,null)),4161&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==je(e[47])?"CategoriesHeaderMobileSection":"")+" "+(e[43]?"SearchMobileActive":"")+" "+(e[43]||e[31]&&"PC"!==je(e[47])&&!Wo?"CategoriesHeaderSearchActive":"")+(e[37]&&e[43]?"SearchStickTop":""))&&fe(r,"class",f),4161&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==je(e[47])?"CategoriesHeaderMobileSection":"")+" "+(e[43]?"SearchMobileActive":"")+" "+(e[43]||e[31]&&"PC"!==je(e[47])&&!Wo?"CategoriesHeaderSearchActive":"")+(e[37]&&e[43]?"SearchStickTop":""))&&fe(r,"part",y),4160&t[1]&&B(r,"top",e[37]&&e[43]?zo+"px":"")},d(e){e&&he(r),C&&C.d(),n[69](null),S&&S.d(),$&&$.d(),n[74](null),v=!1,J(b)}}}function yo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w=n[46]("casinoPage.searchGames")+"",x="PC"===je(n[47])&&n[21].length||"PC"!==je(n[47]),C=!n[43]&&Fo(),S=x&&ko(n),$=!n[29]&&!n[34]&&!n[43]&&!n[35]&&!n[30]&&!n[31]&&!n[33]&&!n[32]&&Mo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===je(n[47])?n[46]("casinoPage.search"):n[46]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[34]||n[29]||n[35]||n[32]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[34]||n[29]||n[35]||n[32]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==je(n[47])?"CategoriesHeaderMobileSection":"")+" "+(n[43]?"SearchMobileActive":"")+" "+(n[43]||n[31]&&"PC"!==je(n[47])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(n[37]&&n[43]?"SearchStickTop":"")),B(r,"top",n[37]&&n[43]?zo+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==je(n[47])?"CategoriesHeaderMobileSection":"")+" "+(n[43]?"SearchMobileActive":"")+" "+(n[43]||n[31]&&"PC"!==je(n[47])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(n[37]&&n[43]?"SearchStickTop":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[63](u),R(u,n[21]),ue(l,h),S&&S.m(l,null),ue(r,g),$&&$.m(r,null),n[68](r),v||(b=[K(u,"focus",n[49]),K(u,"blur",n[50]),K(u,"input",n[64]),K(u,"focus",n[51])],v=!0)},p(e,t){32768&t[1]&&w!==(w=e[46]("casinoPage.searchGames")+"")&&ye(o,w),e[43]?C&&(C.d(1),C=null):C||((C=Fo()).c(),C.m(l,c)),32768&t[1]&&d!==(d="PC"===je(e[47])?e[46]("casinoPage.search"):e[46]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),2097152&t[0]&&R(u,e[21]),(x=2097152&t[0]?"PC"===je(e[47])&&e[21].length||"PC"!==je(e[47]):x)?S?S.p(e,t):((S=ko(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),536870912&t[0]|26&t[1]&&p!==(p="SearchContainer "+(e[34]||e[29]||e[35]||e[32]?"":"SearchTruncated"))&&fe(i,"class",p),536870912&t[0]|26&t[1]&&m!==(m="SearchContainer "+(e[34]||e[29]||e[35]||e[32]?"":"SearchTruncated"))&&fe(i,"part",m),e[29]||e[34]||e[43]||e[35]||e[30]||e[31]||e[33]||e[32]?$&&($.d(1),$=null):$?$.p(e,t):(($=Mo(e)).c(),$.m(r,null)),4161&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==je(e[47])?"CategoriesHeaderMobileSection":"")+" "+(e[43]?"SearchMobileActive":"")+" "+(e[43]||e[31]&&"PC"!==je(e[47])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(e[37]&&e[43]?"SearchStickTop":""))&&fe(r,"class",f),4160&t[1]&&B(r,"top",e[37]&&e[43]?zo+"px":""),4161&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==je(e[47])?"CategoriesHeaderMobileSection":"")+" "+(e[43]?"SearchMobileActive":"")+" "+(e[43]||e[31]&&"PC"!==je(e[47])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(e[37]&&e[43]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[63](null),S&&S.d(),$&&$.d(),n[68](null),v=!1,J(b)}}}function vo(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function bo(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===je(n[47])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===je(n[47])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[71]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function wo(e){let n,r,i=e[44]&&xo(e),a=(!e[31]||!e[30])&&Co(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[44]?i?i.p(e,t):((i=xo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[31]&&e[30]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Co(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function xo(n){let r,i,a,o,s,l,c,u,d,h=n[46]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[44]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[44]?"FiltersActive":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),u||(d=K(r,"click",n[72]),u=!0)},p(e,t){32768&t[1]&&h!==(h=e[46]("casinoPage.clear")+"")&&ye(a,h),8192&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[44]?"FiltersActive":""))&&fe(r,"class",l),8192&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[44]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),u=!1,d()}}}function Co(e){let n,r=!e[35]&&So(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[35]?r&&(r.d(1),r=null):r?r.p(e,t):((r=So(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function So(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[46]("casinoPage.filters")+"",y=0<n[44]&&$o(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[73]),m=!0)},p(e,t){32768&t[1]&&f!==(f=e[46]("casinoPage.filters")+"")&&ye(a,f),0<e[44]?y?y.p(e,t):((y=$o(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function $o(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[44]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){de(e,n,t),ue(n,r),ue(r,i)},p(e,t){8192&t[1]&&ye(i,e[44])},d(e){e&&he(n)}}}function Fo(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function ko(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===je(n[47])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===je(n[47])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[65]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function Mo(e){let n,r,i=e[44]&&_o(e),a=(!e[31]||!e[30])&&Eo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[44]?i?i.p(e,t):((i=_o(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[31]&&e[30]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Eo(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function _o(n){let r,i,a,o,s,l,c,u=n[46]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(u),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),l||(c=K(r,"click",n[66]),l=!0)},p(e,t){32768&t[1]&&u!==(u=e[46]("casinoPage.clear")+"")&&ye(a,u)},d(e){e&&he(r),l=!1,c()}}}function Eo(e){let n,r=!e[35]&&Lo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[35]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Lo(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Lo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b=n[46]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(b),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[44]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),ue(s,m),ue(m,g),ue(g,f),y||(v=K(r,"click",n[67]),y=!0)},p(e,t){32768&t[1]&&b!==(b=e[46]("casinoPage.filters")+"")&&ye(a,b),8192&t[1]&&ye(f,e[44])},d(e){e&&he(r),y=!1,v()}}}function To(e){let n;return{c(){w(n=pe("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[22]),w(n,"randombuttonicon",e[19])},m(e,t){de(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),4194304&t[0]&&w(n,"gameevent",e[22]),524288&t[0]&&w(n,"randombuttonicon",e[19])},d(e){e&&he(n)}}}function Io(e){let n,r,i,a,o;return{c(){n=pe("jackpot-banner"),i=ge(),a=pe("jackpot-banner"),w(n,"visualstructure","typeSpread"),w(n,"lang","gr"),w(n,"title","Jackpot Cards"),w(n,"backgroundsrc","../mock_rsrc/background0.png"),w(n,"backgroundsrcmobile",""),w(n,"currency",r=e[2]||"RON"),w(n,"gameid","999"),w(n,"endpoint","https://winmasters-ro-api.stage.norway.everymatrix.com/v1/casino/jackpots"),w(n,"caticon0","../mock_rsrc/icon0.svg"),w(n,"caticon1","../mock_rsrc/icon1.svg"),w(n,"caticon2","../mock_rsrc/icon2.svg"),w(n,"caticon3","../mock_rsrc/icon3.svg"),w(a,"visualstructure","typeLeft"),w(a,"lang","en"),w(a,"title","Egypt Quest"),w(a,"backgroundsrc","../mock_rsrc/background_egypt.svg"),w(a,"backgroundsrcmobile","../mock_rsrc/background0.png"),w(a,"currency",o=e[2]||"RON"),w(a,"gameid","998"),w(a,"endpoint","https://winmasters-ro-api.stage.norway.everymatrix.com/v1/casino/jackpots"),w(a,"caticon0","../mock_rsrc/egypt_icon0.svg"),w(a,"caticon1","../mock_rsrc/egypt_icon0.svg"),w(a,"caticon2","../mock_rsrc/egypt_icon0.svg"),w(a,"caticon3","../mock_rsrc/egypt_icon0.svg"),w(a,"iconlabels","platinum, gold, silver, bronze")},m(e,t){de(e,n,t),de(e,i,t),de(e,a,t)},p(e,t){4&t[0]&&r!==(r=e[2]||"RON")&&w(n,"currency",r),4&t[0]&&o!==(o=e[2]||"RON")&&w(a,"currency",o)},d(e){e&&he(n),e&&he(i),e&&he(a)}}}function Go(e){let n;return{c(){w(n=pe("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[40]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),512&t[1]&&w(n,"categoryid",e[40]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17])},d(e){e&&he(n)}}}function Bo(e){let n;function r(e){return e[36]?No:Ho}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Po(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17])},m(e,t){de(e,r,t),a||(o=h(i=n[48].call(null,r,(n[0],n[26],n[27],n[26]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),i&&M(i.update)&&201326593&t[0]&&i.update.call(null,(e[0],e[26],e[27],e[26]))},d(e){e&&he(r),a=!1,o()}}}function Ro(t){let i,a=t[39],o=[];for(let e=0;e<a.length;e+=1)o[e]=Oo(ho(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(216063&n[0]|256&n[1]){let e;for(a=t[39],e=0;e<a.length;e+=1){var r=ho(t,a,e);o[e]?o[e].p(r,n):(o[e]=Oo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Ao(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17])},m(e,t){de(e,r,t),a||(o=h(i=n[56].call(null,r,n[38])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),i&&M(i.update)&&128&t[1]&&i.update.call(null,e[38])},d(e){e&&he(r),a=!1,o()}}}function Do(e){let n,r,i=e[46]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){32768&t[1]&&i!==(i=e[46]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ho(e){let n;return{c(){w(n=pe("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17])},m(e,t){de(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17])},d(e){e&&he(n)}}}function No(e){let n,r,i=e[46]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){32768&t[1]&&i!==(i=e[46]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Oo(n){let r,i,e,a,o,s;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"categoryid",i=n[131]),w(r,"categoryindex",e=n[133]),w(r,"categorygames","9"),w(r,"favorites",n[11]),w(r,"class","CategoryContainer"),B(r,"background-color",n[133]%2!=0?n[8]:"transparent"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17])},m(e,t){de(e,r,t),o||(s=h(a=n[55].call(null,r,n[131])),o=!0)},p(e,t){n=e,16&t[0]&&w(r,"session",n[4]),32&t[0]&&w(r,"userid",n[5]),1&t[0]&&w(r,"endpoint",n[0]),2&t[0]&&w(r,"datasource",n[1]),8&t[0]&&w(r,"lang",n[3]),4&t[0]&&w(r,"currency",n[2]),256&t[1]&&i!==(i=n[131])&&w(r,"categoryid",i),2048&t[0]&&w(r,"favorites",n[11]),256&t[0]&&B(r,"background-color",n[133]%2!=0?n[8]:"transparent"),64&t[0]&&w(r,"clientstyling",n[6]),128&t[0]&&w(r,"clientstylingurl",n[7]),16384&t[0]&&w(r,"livecasino",n[14]),512&t[0]&&w(r,"visiblegames",n[9]),65536&t[0]&&w(r,"gamepagemodalurl",n[16]),131072&t[0]&&w(r,"enablecasinowinners",n[17]),a&&M(a.update)&&256&t[1]&&a.update.call(null,n[131])},d(e){e&&he(r),o=!1,s()}}}function jo(n){let r,i,a,e,t,o,s,l=n[46]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==je(n[47])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==je(n[47])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[28]),fe(r,"class",o="PanicSection "+("PC"!==je(n[47])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==je(n[47])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[75](i)},p(e,t){32768&t[1]&&l!==(l=e[46]("casinoPage.breakButton")+"")&&ye(a,l),268435456&t[0]&&P(i,"PanicButtonAnimation",e[28])},d(e){e&&he(r),n[75](null)}}}function Uo(e){let n;function r(e){return e[24]?mo:po}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{font-size:Clamp(0.75rem, 3vw, 1rem);font-weight:800;white-space:normal;grid-area:title;display:flex}.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:"vendorLogo displayArea title";align-items:center}.typeSpread.mobile{grid-template-areas:"vendorLogo" "title" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-start}.typeSpread .title{justify-content:flex-end;align-items:center}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},uo,co,t,{visualstructure:0,title:1,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:2,backgroundsrcmobile:22,lang:23,clientstyling:24,clientstylingurl:25,endpoint:26,gameid:27},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get lang(){return this.$$.ctx[23]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[27]}set gameid(e){this.$$set({gameid:e}),f()}});let Wo=!1;const zo=0;function Yo(e,t,c){let R;Ue(e,Kr,e=>c(46,R=e));let A,{endpoint:u=""}=t,{datasource:a=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:d=""}=t,{categorybackground:H=""}=t,N=t["visiblegames"],{alternativesearch:O="false"}=t,{favorites:h=""}=t,{mostplayed:j=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:W="false"}=t,{mostplayedrounds:z=""}=t,{activecategory:m=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{gamepagemodalurl:Z="false"}=t,{enablecasinowinners:J="true"}=t,{enablejackpotbanner:K="true"}=t,{randombuttonicon:X=""}=t,g=window.navigator.userAgent;A=Oe(g)?"OpenGameFrame":"ShowGameModal";let f,y,v,q,b,w,x,Q,ee,te,r,C,S,ne,$=!1,F=!1,re=!1,k="",ie=!1,ae=0,i=!1,oe=!1,se=!0,le=!1,ce=!1,ue=!1,de=!1,M=!0,_=!1,he=!1,pe=!1,E=!0,me=[],L="",ge={},fe,ye,T=[],ve=!1,I=[],be=0,G="",we=!1;var xe,Ce;({withLocale:xe,translations:Ce}={withLocale:"en",translations:{}}),Ne.subscribe(e=>{null==e&&(_r.set(Ce),Ne.set(xe))}),Object.keys(mi).forEach(e=>{Lr(e,mi[e])});const Se=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(27,y=n.data.session),c(26,f=n.data.userID),f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${u}/player/${f}/favorites`,s=y,f,l=n.data.id,n.data.triggerFactor,T.includes(l)&&(T=T.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),$e(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${f}/favorites`;var i=y;f;var a=n.data.id;n.data.triggerFactor;T.includes(a)||T.push(a);let e={items:T},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),$e(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(I=(I=Me(`searchedGamesWds_${p}`))?I.split(","):[]).indexOf(t)){let e;I.push(t),e=I.join(","),document.cookie=`searchedGamesWds_${p}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href),P();break;case"CategoryVendors":G=n.data.categoryid,P();break;case"GameHovered":ce=!0;break;case"GameBlur":ce=!1}var e,o,s,l};let B=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),Fe(r.items)),r)).then(e=>(i&&ke(),e)).catch(e=>{console.error(e)})},$e=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,i&&ke(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const Fe=(e=[])=>(T=[],0<e.length&&e.forEach(e=>{T.push(e.id)}),T);const ke=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},Me=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},_e=()=>{if(u&&a&&o&&(c(33,de=!0),L.length<2)){let e=Me("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=M||se||(c(32,ue=M),c(34,M=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(u+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",je(g)),n.push(((e,r)=>new Promise((t,n)=>{c(23,$=!0),r&&0<=Object.keys(ge).indexOf(r)?(c(23,$=!1),t(ge[r])):fetch(e).then(e=>e.json()).then(e=>{c(23,$=!1),ge[e[0].id]=e[0],t(e[0])}).catch(e=>{c(24,F=!0),c(23,$=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(38,b=e),Te(0,b)})}else Te(0,{})}},Ee=()=>{c(33,de=!1),L.length<2&&!ce&&(c(31,le=!1),c(38,b=[]),c(30,oe=!1),c(34,M=ue),c(32,ue=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},P=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&G&&(e[G]?c(44,be=e[G].length):c(44,be=0))},Le=()=>{c(62,E=!0),c(21,L=""),c(38,b=[]),c(30,oe=!1),Ee()},Te=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Ie=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ge=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Be=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},Pe=()=>{Q&&(ee=Q.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>ee||130<ee?c(37,pe=!0):c(37,pe=!1)},Re=()=>{c(40,w=m);var e={data:{itemId:w}};switch(c(31,le=!1),c(21,L=""),fe=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(34,M=!0),c(29,i=!1),c(40,w=""),c(35,_=!1);break;case"FAVORITES":c(34,M=!1),c(29,i=!0),c(35,_=!1),c(40,w="");break;case"MOSTPLAYED":"true"==j&&(c(23,$=!0),(e=>{let t=new URL(`${u}/player/${f}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),ne=Y?t:t.href,new Promise((t,n)=>{fetch(ne).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:je(g),rounds:10}).then(e=>{if(c(23,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{ye=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:ye},window.location.href)})}else c(36,he=!0)}),c(40,w=""),c(34,M=!1),c(29,i=!1),c(35,_=!0));break;default:c(34,M=!1),c(29,i=!1),c(35,_=!1),c(40,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500)}},Ae=e=>{ae=0,q=setInterval(()=>{ae+=1,c(28,ie=!0),3<=ae&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(q))},1e3)},De=e=>{ae<3&&c(28,ie=!1),clearInterval(q)};return We(()=>(window.addEventListener("scroll",Pe,!1),window.addEventListener("message",Se,!1),()=>{window.removeEventListener("scroll",Pe),window.removeEventListener("message",Se),c(28,ie=!1),null!=v&&v.removeEventListener("mousedown",Ae),null!=v&&v.removeEventListener("touchstart",Ae),null!=v&&v.removeEventListener("mouseup",De),null!=v&&v.removeEventListener("touchend",De)})),e.$$set=e=>{"endpoint"in e&&c(0,u=e.endpoint),"datasource"in e&&c(1,a=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,d=e.clientstylingurl),"categorybackground"in e&&c(8,H=e.categorybackground),"visiblegames"in e&&c(9,N=e.visiblegames),"alternativesearch"in e&&c(10,O=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(57,j=e.mostplayed),"containermaxwidth"in e&&c(12,U=e.containermaxwidth),"lobbyid"in e&&c(58,p=e.lobbyid),"haspanicbutton"in e&&c(13,W=e.haspanicbutton),"mostplayedrounds"in e&&c(59,z=e.mostplayedrounds),"activecategory"in e&&c(60,m=e.activecategory),"livecasino"in e&&c(14,Y=e.livecasino),"playrandomgame"in e&&c(15,V=e.playrandomgame),"gamepagemodalurl"in e&&c(16,Z=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,J=e.enablecasinowinners),"enablejackpotbanner"in e&&c(18,K=e.enablejackpotbanner),"randombuttonicon"in e&&c(19,X=e.randombuttonicon)},e.$$.update=()=>{if(2097152&e.$$.dirty[0]&&L&&(2<=L.length?c(62,E=!0):c(62,E=!1)),2097163&e.$$.dirty[0]|1073741824&e.$$.dirty[1]|1&e.$$.dirty[2])if(2<=L.length){c(31,le=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",je(g)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+L),r=e,new Promise((t,n)=>{c(23,$=!0),fetch(r).then(e=>e.json()).then(e=>{c(23,$=!1),t(e)}).catch(e=>{c(24,F=!0),c(23,$=!1),console.error(e),n(e)})}).then(e=>{c(38,b=e),Be(0,e)})}else E||_e(),se&&c(61,se=!1);var r,i,t;if((8&e.$$.dirty[0]|536870912&e.$$.dirty[1]&&o&&m&&Re(),49&e.$$.dirty[0]&&s&&n&&u&&(c(25,re=!0),c(27,y=s),c(26,f=n),f&&f.length&&y&&0<y.length&&B(u,y,f)),1035&e.$$.dirty[0]&&u&&a&&o&&O)&&(u||(k="Endpoint is missing! Please provide a valid endpointURL.",c(24,F=!0),c(23,$=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",c(24,F=!0),c(23,$=!1),console.error(k)),(!o||o.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",c(24,F=!0),c(23,$=!1),console.error(k)),!F)){c(23,$=!0),"true"==h&&B(u,y,f),t=o,Ne.set(t);let e=new URL(u+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",je(g)),i=e,new Promise((t,n)=>{c(23,$=!0),fetch(i).then(e=>e.json()).then(e=>{c(23,$=!1),t(e)}).catch(e=>{c(24,F=!0),c(23,$=!1),console.error(e),n(e)})}).then(e=>{e&&(te=e.items.filter(e=>0<e.games.total),c(39,me=te.map(e=>e.id)),c(23,$=!1))}),"PC"!==je(g)&&(C.addEventListener("focusin",e=>{c(43,ve=!0)}),C.addEventListener("focusout",e=>{c(43,ve=!1)})),P(),(Q=x)&&(ee=Q.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(we&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),we=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,S.appendChild(e)}if(128&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,S&&setTimeout(()=>{S.appendChild(t)},1)})}1048576&e.$$.dirty[0]&&v&&(null!=v&&v.addEventListener("mousedown",Ae,!1),null!=v&&v.addEventListener("touchstart",Ae,!1),null!=v&&v.addEventListener("mouseup",De,!1),null!=v&&v.addEventListener("touchend",De,!1))},[u,a,D,o,s,n,l,d,H,N,O,h,U,W,Y,V,Z,J,K,X,v,L,A,$,F,re,f,y,ie,i,oe,le,ue,de,M,_,he,pe,b,me,w,x,C,ve,be,S,R,g,B,_e,Ee,()=>{window.postMessage({type:"scroll"},window.location.href)},Le,Ie,Ge,(e,t)=>{G=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},Be,j,p,z,m,se,E,function(e){He[e?"unshift":"push"](()=>{C=e,c(42,C)})},function(){L=this.value,c(21,L)},()=>Le(),()=>Ge(),()=>{Ie()},function(e){He[e?"unshift":"push"](()=>{x=e,c(41,x)})},function(e){He[e?"unshift":"push"](()=>{C=e,c(42,C)})},function(){L=this.value,c(21,L)},()=>Le(),()=>Ge(),()=>{Ie()},function(e){He[e?"unshift":"push"](()=>{x=e,c(41,x)})},function(e){He[e?"unshift":"push"](()=>{v=e,c(20,v)})},function(e){He[e?"unshift":"push"](()=>{S=e,c(45,S)})}]}function Vo(e,{delay:t=0,duration:n=400,easing:r=S}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function Zo(n){let r,i,a,o,s,l,c,t,u,d,h;return{c(){r=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",a=ge(),o=pe("span"),(s=pe("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(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),q(()=>n[17].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),n[16](r),c=m(r,n[17].bind(r)),u=!0,d||(h=K(o,"click",n[8]),d=!0)},p(e,t){n=e,(!u||12&t&&l!==(l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){u||(q(()=>{(t=t||we(r,Vo,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||we(r,Vo,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),d=!1,h()}}}function Jo(n){let r,i,a=n[0]&&Zo(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Zo(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function Ko(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{haspanicbutton:m="false"}=t,{gamepagemodalurl:g="false"}=t,{sessioncheck:f="true"}=t,y=window.navigator.userAgent,v=!1,b=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,s=!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:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},x=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return We(()=>(n(3,v=Oe(y)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(9,c=e.session),"userid"in e&&n(10,u=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,h=e.clientstylingurl),"endpoint"in e&&n(13,p=e.endpoint),"haspanicbutton"in e&&n(2,m=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,g=e.gamepagemodalurl),"sessioncheck"in e&&n(15,f=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&c&&u&&p&&"true"==f&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2048&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})}if(4096&e.$$.dirty&&h){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)})}},[s,l,m,v,r,i,void 0,void 0,()=>{n(0,s=!1),n(3,v=Oe(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:v},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,g,f,function(e){He[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(6,a),n(7,o)},function(e){He[e?"unshift":"push"](()=>{i=e,n(5,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yo,Uo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:57,containermaxwidth:12,lobbyid:58,haspanicbutton:13,mostplayedrounds:59,activecategory:60,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,enablejackpotbanner:18,randombuttonicon:19},null,[-1,-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","enablejackpotbanner","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[58]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[59]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get activecategory(){return this.$$.ctx[60]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get enablejackpotbanner(){return this.$$.ctx[18]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get randombuttonicon(){return this.$$.ctx[19]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ko,Jo,t,{show:0,duration:1,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:2,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[2]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Xo={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function qo(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Qo=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},es=function(e,...t){try{return qo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ts(n){let r,i,a=n[10]&&is(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),B(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),B(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),B(r,"background-size","cover")},m(e,t){de(e,r,t),ue(r,i),a&&a.m(i,null),n[80](i)},p(e,t){e[10]?a?a.p(e,t):((a=is(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&B(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[80](null)}}}function ns(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function rs(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function is(e){let n;function r(e){return e[19]?ls:e[5]?ss:e[11]?os:as}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function as(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x=n[9].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me(S),f=ge(),y=pe("p"),v=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,v),b||(w=[K(d,"click",n[78]),K(m,"click",n[79])],b=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ye(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ye(g,S),8&t[0]&&ye(v,e[3])},d(e){e&&he(r),b=!1,J(w)}}}function os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";function $(e){return e[16]?us:cs}let F=$(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),u=pe("button"),d=me(C),h=ge(),p=pe("button"),m=me(S),g=ge(),f=pe("p"),y=pe("span"),v=me(n[3]),b=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[23]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[17]),B(r,"height",n[18]),P(r,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[69](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(u,d),ue(c,h),ue(c,p),ue(p,m),ue(l,g),ue(l,f),ue(f,y),ue(y,v),n[72](f),ue(l,b),k.m(l,null),n[75](l),n[76](i),n[77](r),w||(x=[K(u,"click",n[70]),K(p,"click",n[71])],w=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ye(d,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ye(m,S),8&t[0]&&ye(v,e[3]),F===(F=$(e))&&k?k.p(e,t):(k.d(1),(k=F(e))&&(k.c(),k.m(l,null))),8388608&t[0]&&fe(i,"style",e[23]),131072&t[0]&&B(r,"width",e[17]),262144&t[0]&&B(r,"height",e[18]),65536&t[0]&&P(r,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[69](null),n[72](null),k.d(),n[75](null),n[76](null),n[77](null),w=!1,J(x)}}}function ss(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x=n[24]("gamePage.deposit")+"",C="true"===n[1]&&ds(n);function S(e){return e[16]?ps:hs}let $=S(n),F=$(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),u=me(x),d=ge(),h=pe("p"),p=pe("span"),m=me(n[3]),g=ge(),C&&C.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",v="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[23]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[17]),B(r,"height",n[18]),P(r,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[60](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p),ue(p,m),n[62](h),ue(l,g),C&&C.m(l,null),ue(l,f),F.m(l,null),n[66](l),n[67](i),n[68](r),b||(w=K(c,"click",n[61]),b=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.deposit")+"")&&ye(u,x),8&t[0]&&ye(m,e[3]),"true"===e[1]?C?C.p(e,t):((C=ds(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),$===($=S(e))&&F?F.p(e,t):(F.d(1),(F=$(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&v!==(v="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",v),8388608&t[0]&&fe(i,"style",e[23]),131072&t[0]&&B(r,"width",e[17]),262144&t[0]&&B(r,"height",e[18]),65536&t[0]&&P(r,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[60](null),n[62](null),C&&C.d(),F.d(),n[66](null),n[67](null),n[68](null),b=!1,w()}}}function ls(e){let n;function r(e){return e[5]?fs:e[12]?gs:ms}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function cs(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[74]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function us(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[73]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ds(n){let r,i,a,o=n[24]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[63](i)},p(e,t){16777216&t[0]&&o!==(o=e[24]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[63](null)}}}function hs(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[65]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ps(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[64]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ms(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x=n[9].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me(S),f=ge(),y=pe("p"),v=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,v),b||(w=[K(d,"click",n[58]),K(m,"click",n[59])],b=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ye(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ye(g,S),8&t[0]&&ye(v,e[3])},d(e){e&&he(r),b=!1,J(w)}}}function gs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C,S,$=n[9].name+"",F=n[24]("gamePage.signIn")+"",k=n[24]("gamePage.register")+"",M=n[24]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me($),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),v=me(M),b=ge(),w=pe("p"),x=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(u,f),ue(u,y),ue(y,v),ue(r,b),ue(r,w),ue(w,x),C||(S=[K(d,"click",n[55]),K(m,"click",n[56]),K(y,"click",n[57])],C=!0)},p(e,t){512&t[0]&&$!==($=e[9].name+"")&&ye(a,$),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),16777216&t[0]&&F!==(F=e[24]("gamePage.signIn")+"")&&ye(h,F),16777216&t[0]&&k!==(k=e[24]("gamePage.register")+"")&&ye(g,k),16777216&t[0]&&M!==(M=e[24]("gamePage.playForFun")+"")&&ye(v,M),8&t[0]&&ye(x,e[3])},d(e){e&&he(r),C=!1,J(S)}}}function fs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C,S=n[9].name+"",$=n[24]("gamePage.deposit")+"",F=n[24]("gamePage.playNow")+"",k="true"==n[0]&&ys(n),M="true"===n[1]&&ws(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me(S),s=ge(),l=pe("img"),u=ge(),d=pe("div"),h=pe("button"),p=me($),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),v=ge(),b=pe("p"),w=me(n[3]),ce(l.src,c=n[9].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),de(e,r,t),de(e,i,t),ue(i,a),ue(a,o),ue(i,s),ue(i,l),ue(i,u),ue(i,d),ue(d,h),ue(h,p),ue(d,m),ue(d,g),ue(g,f),ue(i,y),M&&M.m(i,null),ue(i,v),ue(i,b),ue(b,w),x||(C=[K(h,"click",n[52]),K(g,"click",n[53])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=ys(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&S!==(S=e[9].name+"")&&ye(o,S),512&t[0]&&!ce(l.src,c=e[9].thumbnail)&&fe(l,"src",c),16777216&t[0]&&$!==($=e[24]("gamePage.deposit")+"")&&ye(p,$),16777216&t[0]&&F!==(F=e[24]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=ws(e)).c(),M.m(i,v)):M&&(M.d(1),M=null),8&t[0]&&ye(w,e[3])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J(C)}}}function ys(e){let n;function r(e){return e[9].isFavored?bs:vs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function vs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),B(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[51]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function bs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(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(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[50]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function ws(n){let r,i,a,e,t,o,s,l=n[24]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==je(n[25])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==je(n[25])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class",o="PanicSection "+("PC"!==je(n[25])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==je(n[25])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[54](i)},p(e,t){16777216&t[0]&&l!==(l=e[24]("gamePage.breakButton")+"")&&ye(a,l),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[54](null)}}}function xs(e){let n;function r(e){return e[7]?rs:e[6]?ns:ts}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Cs(t,e,i){let R;Ue(t,Kr,e=>i(24,R=e));let A,n,r,a,D,o,s,l,H,N,c,u,O,j,d,h,p,m,{endpoint:g=""}=e,{lang:f=""}=e,{session:y=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{favorites:W=""}=e,{loginurl:w=""}=e,{registerurl:x=""}=e,{depositurl:C=""}=e,{loginevent:S=""}=e,{registerevent:$=""}=e,{depositevent:F=""}=e,{clockformat:k=""}=e,{haspanicbutton:z="false"}=e,{playforfun:M="true"}=e,{checksession:Y="true"}=e,{integratedgameframe:_="false"}=e,{gameid:V=""}=e,E=!1,Z=!1,J=!0,K=!1,X=0,L=!1,q=!1,Q=!1,T=!0,I=!1,ee=window.navigator.userAgent,te=!1,ne=[],re=!1,ie="false",ae;var oe,se;({withLocale:oe,translations:se}={withLocale:"en",translations:{}}),Ne.subscribe(e=>{null==e&&(_r.set(se),Ne.set(oe))}),Object.keys(Xo).forEach(e=>{Lr(e,Xo[e])});const le=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",f),i(7,J=!1),r&&0<r.length&&(i(5,E=!0),i(7,J=!1),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},ce=(e,t)=>{let n=new URL(g+"/casino/games/"+e);n.searchParams.append("language",f),n.searchParams.append("expand","vendor"),i(13,T=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=le(e[0])),o.launchUrl&&(i(10,L=!0),i(11,q="true"==M&&o.hasFunMode),i(12,Q="true"==M&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,Z=!0)}).then(()=>{s&&(T||(i(17,H=o.width),i(18,N=o.height),O=o.width+"px",j=o.height+"px",c=o.width,u=o.height),ge())}),window.postMessage({type:"RequestModalSize"},window.location.href)},ue=()=>{null!=a&&a.addEventListener("mousedown",xe,!1),null!=a&&a.addEventListener("touchstart",xe,!1),null!=a&&a.addEventListener("mouseup",Ce,!1),null!=a&&a.addEventListener("touchend",Ce,!1)},de=()=>{i(8,K=!1),null!=a&&a.removeEventListener("mousedown",xe),null!=a&&a.removeEventListener("touchstart",xe),null!=a&&a.removeEventListener("mouseup",Ce),null!=a&&a.removeEventListener("touchend",Ce)},he=e=>{switch(e.data.type){case"GameLaunchID":ce(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(49,ie="true");break;case"LaunchGameFrame":me(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":i(49,ie="false"),de(),setTimeout(()=>{i(10,L="true"===_)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(5,E=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",f),i(9,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(17,H=e.data.modalContainerSize.modalWidth),i(18,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ne=e.data.receivedFavoriteResults.items)}},pe=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!0,o))},me=(e,r)=>{let t=new URL(g+"/casino/games/"+e);t.searchParams.append("language",f),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(9,o=le(e[0])),o.launchUrl&&i(9,o.isFavored=(e=o,t=r,i(12,Q="true"==M&&e.hasAnonymousFunMode),i(11,q="true"==M&&t),i(10,L=!0),n=e.id,-1!==ne.findIndex(e=>e.id==n)),o)})},ge=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));c=parseInt(o.width),u=parseInt(o.height),c=t*n,O=c?Math.floor(c)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Se()},fe=e=>{var t;re?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},es("OPEN_GAME",t)):"false"==_?window.open(e.launchUrl,"_blank"):"true"==_&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:e.id},window.location.href)},ye=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:L},window.location.href),L&&(s&&ge(),window.addEventListener("ModalSize",he,!1))},G=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),w&&(window.location=w)},B=()=>{$&&(window.postMessage({type:$,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ve=()=>{F&&(window.postMessage({type:F},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)};function be(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",be,!1),document.addEventListener("mozfullscreenchange",be,!1),document.addEventListener("fullscreenchange",be,!1),document.addEventListener("MSFullscreenChange",be,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(16,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(16,I=!0)))},we=(setInterval(()=>{i(3,A=k?Ei().format(k):Ei().format("LTS"))},100),()=>{"true"==Y?qr(g,y).then(e=>{r=e.Guid,e.UserID,i(5,E=!0)},e=>{i(5,E=!1),console.error("err on session",e)}):(r=y,i(5,E=!0))}),xe=e=>{X=0,D=setInterval(()=>{X+=1,i(8,K=!0),3<=X&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Ce=e=>{X<3&&i(8,K=!1),clearInterval(D)},Se=()=>{var e=I?"100%":O,t=I?"100%":j,n=I||!T?"none":o.width?Math.floor(o.width)+"px":"1280px",r=I||!T?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(23,ae=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),I||new IntersectionObserver((e,t)=>{var e=e[0].intersectionRatio,n=parseInt(getComputedStyle(s).height);m=m||n*Math.max(e,.5),i(14,s.style.height=m+"px",s),i(15,l.style.height=m+"px",l),t.unobserve(s)},{threshold:0}).observe(s)};return We(()=>(window.addEventListener("resize",ye,!1),window.addEventListener("message",he,!1),re=!!Qo(ee),()=>{de(),window.removeEventListener("resize",ye),window.removeEventListener("message",he)})),t.$$set=e=>{"endpoint"in e&&i(32,g=e.endpoint),"lang"in e&&i(33,f=e.lang),"session"in e&&i(34,y=e.session),"userid"in e&&i(35,U=e.userid),"clientstyling"in e&&i(36,v=e.clientstyling),"clientstylingurl"in e&&i(37,b=e.clientstylingurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(38,w=e.loginurl),"registerurl"in e&&i(39,x=e.registerurl),"depositurl"in e&&i(40,C=e.depositurl),"loginevent"in e&&i(41,S=e.loginevent),"registerevent"in e&&i(42,$=e.registerevent),"depositevent"in e&&i(43,F=e.depositevent),"clockformat"in e&&i(44,k=e.clockformat),"haspanicbutton"in e&&i(1,z=e.haspanicbutton),"playforfun"in e&&i(45,M=e.playforfun),"checksession"in e&&i(46,Y=e.checksession),"integratedgameframe"in e&&i(47,_=e.integratedgameframe),"gameid"in e&&i(48,V=e.gameid)},t.$$.update=()=>{if(4&t.$$.dirty[1]&&f&&(e=f,Ne.set(e),i(19,te=Oe(ee))),131078&t.$$.dirty[1]&&g&&V&&f&&ce(V),26&t.$$.dirty[1]&&y&&U&&g&&we(),32778&t.$$.dirty[1]&&"false"==Y&&y&&g&&we(),32&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,d.appendChild(e)}if(64&t.$$.dirty[1]&&b){let t=document.createElement("style");b&&(e=new URL(b),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,d&&setTimeout(()=>{d.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|262144&t.$$.dirty[1]&&"true"==ie&&a&&ue(),4&t.$$.dirty[0]&&a&&ue()},[W,z,a,A,n,E,Z,J,K,o,L,q,Q,T,s,l,I,H,N,te,d,h,p,"",R,ee,pe,fe,G,B,ve,P,g,f,y,U,v,b,w,x,C,S,$,F,k,M,Y,_,V,ie,()=>pe(o.id),()=>pe(o.id),()=>ve(),()=>{fe(o)},function(e){He[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>B(),()=>{fe(o)},()=>G(),()=>B(),function(e){He[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>ve(),function(e){He[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){He[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>P(),()=>P(),function(e){He[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){He[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){He[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){He[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>G(),()=>B(),function(e){He[e?"unshift":"push"](()=>{p=e,i(22,p)})},()=>P(),()=>P(),function(e){He[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){He[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){He[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>B(),function(e){He[e?"unshift":"push"](()=>{d=e,i(20,d)})}]}function Ss(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("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=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[15].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),n[14](r),u=m(r,n[15].bind(r)),d=!0,h||(p=K(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){d||(q(()=>{(t=t||we(r,Vo,{transitionDuration:n[1]},!0)).run(1)}),d=!0)},o(e){(t=t||we(r,Vo,{transitionDuration:n[1]},!1)).run(0),d=!1},d(e){e&&he(r),n[14](null),u(),e&&t&&t.end(),h=!1,p()}}}function $s(n){let r,i,a=n[0]&&Ss(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[16](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Ss(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[16](null)}}}function Fs(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,g=window.navigator.userAgent,f=!1;const y=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},v=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(y(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},b=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return We(()=>(window.addEventListener("message",v,!1),Oe(g)&&n(2,f=!0),()=>{window.removeEventListener("message",v)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint),"sessioncheck"in e&&n(13,m=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&u&&p&&"true"==m&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})}2048&e.$$.dirty&&h&&b(),2049&e.$$.dirty&&s&&h&&b()},[s,l,f,r,i,void 0,void 0,y,c,u,d,h,p,m,function(e){He[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){He[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{height:100%;padding:0;height:1000px;max-width:1300px;margin:0 auto;background:var(--emfe-w-color-contrast, #07072A);display:flex;flex-direction:column;justify-content:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Cs,xs,t,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,favorites:0,loginurl:38,registerurl:39,depositurl:40,loginevent:41,registerevent:42,depositevent:43,clockformat:44,haspanicbutton:1,playforfun:45,checksession:46,integratedgameframe:47,gameid:48},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[35]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[38]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[39]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[40]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[41]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[42]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[43]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[44]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[45]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[46]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframe(){return this.$$.ctx[47]}set integratedgameframe(e){this.$$set({integratedgameframe:e}),f()}get gameid(){return this.$$.ctx[48]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Fs,$s,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[13]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const ks={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Ms(e,t,n){const r=e.slice();return r[32]=t[n],r}function _s(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C,S,$=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[0]&&Ls(n),_=n[3]&&Gs(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me($),l=ge(),c=pe("h5"),u=me(F),d=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(f,"part",b="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,l),ue(a,c),ue(c,u),ue(r,d),ue(r,h),M&&M.m(h,null),ue(r,p),ue(r,m),_&&_.m(m,null),ue(m,g),ue(m,f),ue(f,y),C||(S=K(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&$!==($=e[6]("filters.filterModalTitle")+"")&&ye(s,$),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(u,F),e[0]?M?M.p(e,t):((M=Ls(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?_?_.p(e,t):((_=Gs(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",v),4&t[0]&&b!==(b="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",b),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"class",w),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),C=!1,S()}}}function Es(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ls(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Is(Ms(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=Ms(t,a,e);o[e]?o[e].p(r,n):(o[e]=Is(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Ts(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Is(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&Ts();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,s),p&&p.m(r,null),ue(r,l),d||(h=K(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||((p=Ts()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",u)},d(e){e&&he(r),p&&p.d(),d=!1,h()}}}function Gs(e){let n,r=e[3].length&&Bs(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=Bs(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Bs(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Ps(n){let r;function i(e){return e[4]?Es:_s}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function Rs(e,t,i){let n;Ue(e,Kr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],b={},w=!1,x=(b[f]&&(b={[f]:[]}),[]);var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),Ne.subscribe(e=>{null==e&&(_r.set(S),Ne.set(C))}),Object.keys(ks).forEach(e=>{Lr(e,ks[e])});const $=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&((y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,v=y[f])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[f]:v})):((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+je(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,v=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"FiltersModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,v=y[f]);break;case"ModalLoader":i(4,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(2,g=!k(v,x))):(v.includes(t.id)&&i(3,v=v.filter(e=>e!==t.id)),i(2,g=!(!v.length&&k(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(v,x)),i(3,v=[]),null!==e&&((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[f]:v})):((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return We(()=>(window.addEventListener("message",$,!1),Oe(m)&&i(1,p=!0),()=>{window.removeEventListener("message",$)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,u=e.clientstyling),"clientstylingurl"in e&&i(16,d=e.clientstylingurl)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&u){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(65536&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}},[h,p,g,v,w,r,n,F,M,_,a,o,s,l,c,u,d,e=>F(e),()=>M(),()=>_(),function(e){He[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:125px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Rs,Ps,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const As={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Ds(n){let r;function i(e){return e[5]?js:e[10]?Os:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){de(e,r,t),o&&o.m(r,null),n[66](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[66](null)}}}function Hs(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ns(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C,S,$,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function L(e){return e[16]?Ws:Us}let T=L(n),I=T(n),G="true"==n[1]&&!n[16]&&zs();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("div"),d=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),v=pe("div"),b=pe("button"),w=me(_),x=ge(),C=pe("button"),S=me(E),$=ge(),I.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[9].launchUrl)||fe(m,"src",g),fe(b,"class","LoginButton"),fe(b,"part","LoginButton"),fe(C,"class","RegisterButton"),fe(C,"part","RegisterButton"),fe(v,"class","ButtonsContainer ButtonsContainerFunMode"),fe(v,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),B(p,"width",n[16]?"100%":n[17]),B(p,"height",n[16]?"100%":n[18]),B(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),B(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),P(h,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[57](o),ue(r,c),ue(r,u),de(e,d,t),de(e,h,t),ue(h,p),ue(p,m),n[58](m),ue(p,f),ue(p,y),ue(y,v),ue(v,b),ue(b,w),ue(v,x),ue(v,C),ue(C,S),ue(y,$),I.m(y,null),n[63](y),n[64](p),ue(h,F),G&&G.m(h,null),n[65](h),k||(M=[K(i,"click",n[56]),K(b,"click",n[59]),K(C,"click",n[60])],k=!0)},p(e,t){8&t[0]&&ye(l,e[3]),512&t[0]&&!ce(m.src,g=e[9].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye(S,E),T===(T=L(e))&&I?I.p(e,t):(I.d(1),(I=T(e))&&(I.c(),I.m(y,null))),196608&t[0]&&B(p,"width",e[16]?"100%":e[17]),327680&t[0]&&B(p,"height",e[16]?"100%":e[18]),68096&t[0]&&B(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&B(p,"max-height",e[16]||!e[11]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?G&&(G.d(1),G=null):G||((G=zs()).c(),G.m(h,null)),65536&t[0]&&P(h,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[57](null),e&&he(d),e&&he(h),n[58](null),I.d(),n[63](null),n[64](null),G&&G.d(),n[65](null),k=!1,J(M)}}}function js(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,b,w,x,C,S,$,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&Ys(n);function M(e){return e[16]?Zs:Vs}let _=M(n),E=_(n),L="true"==n[1]&&!n[16]&&Js();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("button"),d=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),b=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),C=ge(),L&&L.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(u,"class","DepositButton"),fe(u,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[9].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[13]+"px"),fe(g,"height",v=n[14]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),B(m,"width",n[16]?"100%":n[17]),B(m,"height",n[16]?"100%":n[18]),B(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),B(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),P(p,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[47](o),ue(r,c),ue(r,u),ue(u,d),de(e,h,t),de(e,p,t),ue(p,m),ue(m,g),n[49](g),ue(m,b),ue(m,w),k&&k.m(w,null),ue(w,x),E.m(w,null),n[53](w),n[54](m),ue(p,C),L&&L.m(p,null),n[55](p),S||($=[K(i,"click",n[46]),K(u,"click",n[48])],S=!0)},p(e,t){8&t[0]&&ye(l,e[3]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(d,F),512&t[0]&&!ce(g.src,f=e[9].launchUrl)&&fe(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&fe(g,"width",y),16384&t[0]&&v!==(v=e[14]+"px")&&fe(g,"height",v),"true"===e[0]?k?k.p(e,t):((k=Ys(e)).c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(w,null))),196608&t[0]&&B(m,"width",e[16]?"100%":e[17]),327680&t[0]&&B(m,"height",e[16]?"100%":e[18]),66048&t[0]&&B(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&B(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?L&&(L.d(1),L=null):L||((L=Js()).c(),L.m(p,null)),65536&t[0]&&P(p,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[47](null),e&&he(h),e&&he(p),n[49](null),k&&k.d(),E.d(),n[53](null),n[54](null),L&&L.d(),n[55](null),S=!1,J($)}}}function Us(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[62]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ws(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function zs(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ys(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==je(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==je(n[23])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[50](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[50](null)}}}function Vs(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[52]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Zs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Js(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ks(e){let n;function r(e){return e[7]?Ns:e[6]?Hs:Ds}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Xs(t,e,r){let R;Ue(t,Kr,e=>r(22,R=e));let A,n,i,a,D,o,s,l,c,u,d,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:v=""}=e,{userid:O=""}=e,{clientstyling:b=""}=e,{clientstylingurl:w=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:$=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:M=""}=e,{haspanicbutton:j="false"}=e,{playforfun:_="true"}=e,{checksession:U="true"}=e,{integratedgameframe:W="false"}=e,{gamebanneractive:z="false"}=e,{gameid:E=""}=e,L=!1,Y=!1,V=!0,T=!1,I=0,Z=!1,J=!1,K=!0,G=!1,X=window.navigator.userAgent;var q,Q;({withLocale:q,translations:Q}={withLocale:"en",translations:{}}),Ne.subscribe(e=>{null==e&&(_r.set(Q),Ne.set(q))}),Object.keys(As).forEach(e=>{Lr(e,As[e])});const ee=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(11,K=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(9,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(5,L=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(Z=!0,r(10,J="true"==_&&o.hasFunMode),"true"==_&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(6,Y=!0)}).then(()=>{s&&(te(),K||(r(17,H=o.width),r(18,N=o.height),d=o.width,h=o.height))})},te=()=>{let e=getComputedStyle(s),t=getComputedStyle(u);r(13,l=parseInt(e.width.slice(0,-2))),r(14,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);d=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,d=c*n):(d=l,h=l/n),r(17,H=d?Math.floor(d)+"px":"1280px"),r(18,N=h?Math.floor(h)+"px":"720px")},ne=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:Z},window.location.href),Z&&s&&te()},re=()=>{$&&(window.postMessage({type:$,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ie=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},ae=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S)};function B(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",B,!1),document.addEventListener("mozfullscreenchange",B,!1),document.addEventListener("fullscreenchange",B,!1),document.addEventListener("MSFullscreenChange",B,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,G=!0)))},oe=setInterval(()=>{r(3,A=M?Ei().format(M):Ei().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{I=0,D=setInterval(()=>{I+=1,r(8,T=!0),3<=I&&clearInterval(D)},1e3)},ce=e=>{I<3&&r(8,T=!1),clearInterval(D)};return We(()=>(window.addEventListener("resize",ne,!1),Qo(X),()=>{r(8,T=!1),null!=a&&a.removeEventListener("mousedown",le),null!=a&&a.removeEventListener("touchstart",le),null!=a&&a.removeEventListener("mouseup",ce),null!=a&&a.removeEventListener("touchend",ce),window.removeEventListener("resize",ne),clearInterval(oe)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,v=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,b=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"loginurl"in e&&r(35,x=e.loginurl),"registerurl"in e&&r(36,C=e.registerurl),"depositurl"in e&&r(37,S=e.depositurl),"loginevent"in e&&r(38,$=e.loginevent),"registerevent"in e&&r(39,F=e.registerevent),"depositevent"in e&&r(40,k=e.depositevent),"clockformat"in e&&r(41,M=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,U=e.checksession),"integratedgameframe"in e&&r(44,W=e.integratedgameframe),"gamebanneractive"in e&&r(1,z=e.gamebanneractive),"gameid"in e&&r(45,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,Ne.set(e),Oe(X),r(7,V=!1)),1610612736&t.$$.dirty[0]|16384&t.$$.dirty[1]&&f&&E&&y&&ee(E),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&v&&O&&f&&("true"==U?qr(f,v).then(e=>{i=e.Guid,e.UserID,r(5,L=!0)},e=>{r(5,L=!1),console.error("err on session",e)}):i=v),4&t.$$.dirty[1]&&b){let e=document.createElement("style");e.innerHTML=b,p.appendChild(e)}if(8&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",le,!1),null!=a&&a.addEventListener("touchstart",le,!1),null!=a&&a.addEventListener("mouseup",ce,!1),null!=a&&a.addEventListener("touchend",ce,!1))},[j,z,a,A,n,L,Y,V,T,o,J,K,s,l,c,u,G,H,N,p,m,g,R,X,re,ie,ae,P,se,f,y,v,O,b,w,x,C,S,$,F,k,M,_,U,W,E,()=>se(),function(e){He[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ae(),function(e){He[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){He[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>P(),()=>P(),function(e){He[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){He[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){He[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>se(),function(e){He[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){He[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>re(),()=>ie(),()=>P(),()=>P(),function(e){He[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){He[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){He[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){He[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function qs(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[19]&&el(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),u=pe("casino-page"),d=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),B(i,"height",e[34]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),w(l,"endpoint",e[27]),w(l,"datasource",e[28]),w(l,"lang",e[29]),w(l,"session",e[33]),w(l,"userid",e[2]),w(l,"sessioncheck","false"),w(l,"actionevent",e[16]),w(l,"mostplayed",e[10]),w(l,"mostplayedrounds",e[11]),w(l,"favorites",e[12]),w(l,"activecategory",e[1]),w(l,"clientstyling",e[3]),w(l,"clientstylingurl",e[4]),w(l,"containermaxwidth",e[14]),w(u,"session",e[33]),w(u,"userid",e[2]),w(u,"endpoint",e[27]),w(u,"datasource",e[28]),w(u,"lang",e[29]),w(u,"visiblegames",e[21]),w(u,"playrandomgame",e[20]),w(u,"activecategory",e[1]),w(u,"alternativesearch",e[13]),w(u,"favorites",e[12]),w(u,"mostplayedrounds",e[11]),w(u,"mostplayed",e[10]),w(u,"clientstyling",e[3]),w(u,"clientstylingurl",e[4]),w(u,"lobbyid",e[6]),w(u,"containermaxwidth",e[14]),w(u,"haspanicbutton",e[15]),w(u,"livecasino",e[17]),w(u,"currency",e[0]),w(u,"gamepagemodalurl",e[23]),w(u,"randombuttonicon",e[26]),w(u,"enablecasinowinners",e[24]),w(u,"enablejackpotbanner",e[25]),w(m,"session",e[33]),w(m,"userid",e[2]),w(m,"endpoint",e[27]),w(m,"datasource",e[28]),w(m,"lang",e[29]),w(m,"clientstylingurl",e[4]),w(m,"clientstyling",e[3]),w(p,"clientstylingurl",e[4]),w(p,"session",e[33]),w(p,"userid",e[2]),w(p,"endpoint",e[27]),w(p,"datasource",e[28]),w(p,"lang",e[29]),w(p,"sessioncheck","false"),w(p,"clientstyling",e[3]),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(r,s),ue(r,l),ue(r,c),ue(r,u),ue(r,d),g&&g.m(r,null),ue(r,h),ue(r,p),ue(p,m)},p(e,t){8&t[1]&&B(i,"height",e[34]+"px"),134217728&t[0]&&w(l,"endpoint",e[27]),268435456&t[0]&&w(l,"datasource",e[28]),536870912&t[0]&&w(l,"lang",e[29]),4&t[1]&&w(l,"session",e[33]),4&t[0]&&w(l,"userid",e[2]),65536&t[0]&&w(l,"actionevent",e[16]),1024&t[0]&&w(l,"mostplayed",e[10]),2048&t[0]&&w(l,"mostplayedrounds",e[11]),4096&t[0]&&w(l,"favorites",e[12]),2&t[0]&&w(l,"activecategory",e[1]),8&t[0]&&w(l,"clientstyling",e[3]),16&t[0]&&w(l,"clientstylingurl",e[4]),16384&t[0]&&w(l,"containermaxwidth",e[14]),4&t[1]&&w(u,"session",e[33]),4&t[0]&&w(u,"userid",e[2]),134217728&t[0]&&w(u,"endpoint",e[27]),268435456&t[0]&&w(u,"datasource",e[28]),536870912&t[0]&&w(u,"lang",e[29]),2097152&t[0]&&w(u,"visiblegames",e[21]),1048576&t[0]&&w(u,"playrandomgame",e[20]),2&t[0]&&w(u,"activecategory",e[1]),8192&t[0]&&w(u,"alternativesearch",e[13]),4096&t[0]&&w(u,"favorites",e[12]),2048&t[0]&&w(u,"mostplayedrounds",e[11]),1024&t[0]&&w(u,"mostplayed",e[10]),8&t[0]&&w(u,"clientstyling",e[3]),16&t[0]&&w(u,"clientstylingurl",e[4]),64&t[0]&&w(u,"lobbyid",e[6]),16384&t[0]&&w(u,"containermaxwidth",e[14]),32768&t[0]&&w(u,"haspanicbutton",e[15]),131072&t[0]&&w(u,"livecasino",e[17]),1&t[0]&&w(u,"currency",e[0]),8388608&t[0]&&w(u,"gamepagemodalurl",e[23]),67108864&t[0]&&w(u,"randombuttonicon",e[26]),16777216&t[0]&&w(u,"enablecasinowinners",e[24]),33554432&t[0]&&w(u,"enablejackpotbanner",e[25]),"true"==e[19]?g?g.p(e,t):((g=el(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),4&t[1]&&w(m,"session",e[33]),4&t[0]&&w(m,"userid",e[2]),134217728&t[0]&&w(m,"endpoint",e[27]),268435456&t[0]&&w(m,"datasource",e[28]),536870912&t[0]&&w(m,"lang",e[29]),16&t[0]&&w(m,"clientstylingurl",e[4]),8&t[0]&&w(m,"clientstyling",e[3]),16&t[0]&&w(p,"clientstylingurl",e[4]),4&t[1]&&w(p,"session",e[33]),4&t[0]&&w(p,"userid",e[2]),134217728&t[0]&&w(p,"endpoint",e[27]),268435456&t[0]&&w(p,"datasource",e[28]),536870912&t[0]&&w(p,"lang",e[29]),8&t[0]&&w(p,"clientstyling",e[3])},d(e){e&&he(n),g&&g.d()}}}function Qs(e){let n,r;return{c(){n=pe("p"),r=me(e[32]),B(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&ye(r,e[32])},d(e){e&&he(n)}}}function el(e){let n,r;return{c(){n=pe("casino-modal"),w(r=pe("casino-game-page"),"session",e[33]),w(r,"userid",e[2]),w(r,"endpoint",e[27]),w(r,"datasource",e[28]),w(r,"lang",e[29]),w(r,"loginevent",e[7]),w(r,"registerevent",e[8]),w(r,"depositevent",e[9]),w(r,"checksession","false"),w(r,"playforfun",e[18]),w(r,"favorites",e[12]),w(r,"clientstyling",e[3]),w(r,"clientstylingurl",e[4]),w(r,"clockformat",e[5]),w(r,"haspanicbutton",e[15]),w(r,"currency",e[0]),w(r,"integratedgameframe",e[22]),w(n,"session",e[33]),w(n,"userid",e[2]),w(n,"endpoint",e[27]),w(n,"datasource",e[28]),w(n,"lang",e[29]),w(n,"sessioncheck","false"),w(n,"clientstyling",e[3]),w(n,"clientstylingurl",e[4]),w(n,"gamepagemodalurl",e[23]),w(n,"haspanicbutton",e[15])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){4&t[1]&&w(r,"session",e[33]),4&t[0]&&w(r,"userid",e[2]),134217728&t[0]&&w(r,"endpoint",e[27]),268435456&t[0]&&w(r,"datasource",e[28]),536870912&t[0]&&w(r,"lang",e[29]),128&t[0]&&w(r,"loginevent",e[7]),256&t[0]&&w(r,"registerevent",e[8]),512&t[0]&&w(r,"depositevent",e[9]),262144&t[0]&&w(r,"playforfun",e[18]),4096&t[0]&&w(r,"favorites",e[12]),8&t[0]&&w(r,"clientstyling",e[3]),16&t[0]&&w(r,"clientstylingurl",e[4]),32&t[0]&&w(r,"clockformat",e[5]),32768&t[0]&&w(r,"haspanicbutton",e[15]),1&t[0]&&w(r,"currency",e[0]),4194304&t[0]&&w(r,"integratedgameframe",e[22]),4&t[1]&&w(n,"session",e[33]),4&t[0]&&w(n,"userid",e[2]),134217728&t[0]&&w(n,"endpoint",e[27]),268435456&t[0]&&w(n,"datasource",e[28]),536870912&t[0]&&w(n,"lang",e[29]),8&t[0]&&w(n,"clientstyling",e[3]),16&t[0]&&w(n,"clientstylingurl",e[4]),8388608&t[0]&&w(n,"gamepagemodalurl",e[23]),32768&t[0]&&w(n,"haspanicbutton",e[15])},d(e){e&&he(n)}}}function tl(n){let r,i,a;function o(e){return e[31]?Qs:qs}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[30]?"DisplayNone":""),fe(r,"part",a=n[30]?"DisplayNone":"")},m(e,t){de(e,r,t),l.m(r,null),n[46](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))),1073741824&t[0]&&i!==(i=e[30]?"DisplayNone":"")&&fe(r,"class",i),1073741824&t[0]&&a!==(a=e[30]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[46](null)}}}function nl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{loginurl:v=""}=t,{registerurl:b=""}=t,{depositurl:w=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:$=""}=t,{mostplayedrounds:F=""}=t,{favorites:k=""}=t,{desktopoffset:M="0"}=t,{mobileoffset:_="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:R=""}=t,{haspanicbutton:A="false"}=t,{activecategory:L="LOBBY"}=t,{actionevent:D="CategoryChange"}=t,{livecasino:H="false"}=t,{playforfun:N="true"}=t,{gamemodal:O="true"}=t,{playrandomgame:j="false"}=t,{visiblegames:U="10"}=t,{integratedgameframe:W="false"}=t,{gamepagemodalurl:z="false"}=t,{enablecasinowinners:Y="true"}=t,{enablejackpotbanner:V="true"}=t,{randombuttonicon:Z=""}=t,T=!1,I=!1,G="Loading, please wait ...",B="",J=window.navigator.userAgent,P=0,K=!1;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),Ne.subscribe(e=>{null==e&&(_r.set(q),Ne.set(X))});const Q=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(K=e.data.scrollTop)&&(P||n(34,P="PC"===je(J)?parseInt(M):parseInt(_)),window.scrollTo({top:P}));break;case"UserSessionID":n(33,B=e.data.session),e.data.userID;break;case"CategoryChange":n(1,L=e.data.itemId)}};return We(()=>(window.addEventListener("message",Q,!1),n(34,P="PC"===je(J)?parseInt(M):parseInt(_)),()=>{window.removeEventListener("message",Q)})),e.$$set=e=>{"endpoint"in e&&n(36,s=e.endpoint),"datasource"in e&&n(37,l=e.datasource),"lang"in e&&n(38,c=e.lang),"session"in e&&n(39,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(40,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"loginurl"in e&&n(41,v=e.loginurl),"registerurl"in e&&n(42,b=e.registerurl),"depositurl"in e&&n(43,w=e.depositurl),"loginevent"in e&&n(7,x=e.loginevent),"registerevent"in e&&n(8,C=e.registerevent),"depositevent"in e&&n(9,S=e.depositevent),"mostplayed"in e&&n(10,$=e.mostplayed),"mostplayedrounds"in e&&n(11,F=e.mostplayedrounds),"favorites"in e&&n(12,k=e.favorites),"desktopoffset"in e&&n(44,M=e.desktopoffset),"mobileoffset"in e&&n(45,_=e.mobileoffset),"alternativesearch"in e&&n(13,E=e.alternativesearch),"containermaxwidth"in e&&n(14,R=e.containermaxwidth),"haspanicbutton"in e&&n(15,A=e.haspanicbutton),"activecategory"in e&&n(1,L=e.activecategory),"actionevent"in e&&n(16,D=e.actionevent),"livecasino"in e&&n(17,H=e.livecasino),"playforfun"in e&&n(18,N=e.playforfun),"gamemodal"in e&&n(19,O=e.gamemodal),"playrandomgame"in e&&n(20,j=e.playrandomgame),"visiblegames"in e&&n(21,U=e.visiblegames),"integratedgameframe"in e&&n(22,W=e.integratedgameframe),"gamepagemodalurl"in e&&n(23,z=e.gamepagemodalurl),"enablecasinowinners"in e&&n(24,Y=e.enablecasinowinners),"enablejackpotbanner"in e&&n(25,V=e.enablejackpotbanner),"randombuttonicon"in e&&n(26,Z=e.randombuttonicon)},e.$$.update=()=>{if(128&e.$$.dirty[1]&&c&&Qr(c),4&e.$$.dirty[0]|288&e.$$.dirty[1]&&u&&d&&s&&qr(s,u).then(e=>{n(33,B=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),5120&e.$$.dirty[0]|224&e.$$.dirty[1]&&s&&l&&c&&$&&k&&(s||(n(32,G="Endpoint is missing! Please provide a valid endpointURL."),n(31,I=!0),console.error(G)),l||(n(32,G="Datasource is missing! Please provide a valid datasource."),n(31,I=!0),console.error(G)),(!c||c.length<2)&&(n(32,G="Language is missing! Please provide a valid language (alpha2code)"),n(31,I=!0),console.error(G)),Qr(c),n(27,r=s),n(28,i=l),n(29,a=c),n(31,I=!1)),512&e.$$.dirty[1]&&h&&n(33,B=h),8&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]&&m){n(30,T=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(30,T=!1)},500))})}},[y,L,d,p,m,g,f,x,C,S,$,F,k,E,R,A,D,H,N,O,j,U,W,z,Y,V,Z,r,i,a,T,I,G,B,P,o,s,l,c,u,h,v,b,w,M,_,function(e){He[e?"unshift":"push"](()=>{o=e,n(35,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xs,Ks,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,integratedgameframe:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframe","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframe(){return this.$$.ctx[44]}set integratedgameframe(e){this.$$set({integratedgameframe:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),f()}});class rl extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},nl,tl,t,{endpoint:36,datasource:37,lang:38,session:39,userid:2,opsession:40,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,loginurl:41,registerurl:42,depositurl:43,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:44,mobileoffset:45,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:1,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframe:22,gamepagemodalurl:23,enablecasinowinners:24,enablejackpotbanner:25,randombuttonicon:26},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframe","gamepagemodalurl","enablecasinowinners","enablejackpotbanner","randombuttonicon"]}get endpoint(){return this.$$.ctx[36]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[37]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[38]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[39]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[40]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get loginurl(){return this.$$.ctx[41]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[42]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[43]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[7]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[8]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[9]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[10]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[11]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[44]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[45]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[18]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[19]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[21]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframe(){return this.$$.ctx[22]}set integratedgameframe(e){this.$$set({integratedgameframe:e}),f()}get gamepagemodalurl(){return this.$$.ctx[23]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[24]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get enablejackpotbanner(){return this.$$.ctx[25]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get randombuttonicon(){return this.$$.ctx[26]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",rl),rl});
|
|
32
|
+
`},U,W,z,C,S,K,X,M,_,ee,E,T,I,L,ue,de,function(e){Ue[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>me(F),()=>pe(F),()=>me(F),function(e){Ue[e?"unshift":"push"](()=>{x=e,o(12,x)})},function(e){Ue[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function ia(e,t,n){const r=e.slice();return r[79]=t[n],r[81]=n,r}function aa(e,t,n){const r=e.slice();return r[79]=t[n],r[82]=t,r[81]=n,r}function oa(e,t,n){const r=e.slice();return r[79]=t[n],r[81]=n,r}function sa(e){let n;function r(e){return e[17]?da:e[27]?ua:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){de(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function la(e){let n,r,i;function a(e){return e[21]?Ta:e[18].length?_a:Ea}let o=a(e),s=o(e);function l(e){return e[18]?La:Ia}let c=l(e),u=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),u.c(),fe(r,"class","CasinoGamesHeader Searched "+(ze(e[33])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(ze(e[33])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){de(e,n,t),ue(n,r),s.m(r,null),ue(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),(u=c(e))&&(u.c(),u.m(n,null)))},d(e){e&&he(n),s.d(),u.d()}}}function ca(e){let n;function r(e){return e[23]?Ra:Pa}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function ua(n){let r,i,a,o,s,l,c,u,d=n[32]("gamesCategorySection.favorites")+"";function h(e){return e[31]?pa:ha}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(d),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[31].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",u=(0!=n[31].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),n[49](a),ue(r,s),ue(r,l),m.m(l,null),n[50](l)},p(e,t){2&t[1]&&d!==(d=e[32]("gamesCategorySection.favorites")+"")&&ye(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),1&t[1]&&c!==(c=(0!=e[31].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),1&t[1]&&u!==(u=(0!=e[31].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",u)},d(e){e&&he(r),n[49](null),m.d(),n[50](null)}}}function da(n){let r,i,a,o,s,l,c,u=n[17].name+"",d="true"===n[11]&&n[16]&&"1"==n[0]&&Sa(n),h=n[19]&&$a(n);function p(e){return 0!==e[18].length?ka:Fa}let m=p(n),g=m(n);return{c(){d&&d.c(),r=ge(),i=pe("div"),a=pe("div"),o=pe("h3"),s=me(u),l=ge(),h&&h.c(),c=ge(),g.c(),fe(o,"class","CategoryName"),fe(o,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(i,"class","CasinoGamesContainer"),fe(i,"part","CasinoGamesContainer")},m(e,t){d&&d.m(e,t),de(e,r,t),de(e,i,t),ue(i,a),ue(a,o),ue(o,s),n[45](o),ue(a,l),h&&h.m(a,null),ue(i,c),g.m(i,null)},p(e,t){"true"===e[11]&&e[16]&&"1"==e[0]?d?d.p(e,t):((d=Sa(e)).c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null),131072&t[0]&&u!==(u=e[17].name+"")&&ye(s,u),e[19]?h?h.p(e,t):((h=$a(e)).c(),h.m(a,null)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g.d(1),(g=m(e))&&(g.c(),g.m(i,null)))},d(e){d&&d.d(e),e&&he(r),e&&he(i),n[45](null),h&&h.d(),g.d()}}}function ha(e){let n,r,i=e[32]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&i!==(i=e[32]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function pa(t){let r,i=t[31].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=Ca(ia(t,i,e));let o=null;return i.length||(o=ma(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);de(t,r,n),o&&o.m(t,n)},p(t,n){if(1744832510&n[0]|7&n[1]){let e;for(i=t[31].items,e=0;e<i.length;e+=1){const o=ia(t,i,e);a[e]?a[e].p(o,n):(a[e]=Ca(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=ma(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&he(r),o&&o.d(e)}}}function ma(e){let n,r,i,a,o,s,l,c,t,u,d=e[32]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,ze(m[33])?fa:ga),p=h(e);var m;return{c(){n=pe("p"),r=k("svg"),i=k("path"),a=ge(),o=pe("span"),s=me(d),l=ge(),p.c(),c=ge(),B(i,"fill","white"),fe(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),B(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(ze(e[33])?"NoFavoriteGamesMobile":"")),fe(n,"part",u="NoFavoriteGames "+(ze(e[33])?"NoFavoriteGamesMobile":""))},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(n,a),ue(n,o),ue(o,s),ue(n,l),p.m(n,null),ue(n,c)},p(e,t){2&t[1]&&d!==(d=e[32]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,d),p.p(e,t)},d(e){e&&he(n),p.d()}}}function ga(e){let n,r,i=e[32]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&i!==(i=e[32]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function fa(e){let n,r,i=e[32]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&i!==(i=e[32]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ya(e){let n,r=e[79].gameModel.isFavorite&&ba(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[79].gameModel.isFavorite?r?r.p(e,t):((r=ba(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ba(e){let n,r=function(e){let n,r,i;function a(e,t){return 1&t[1]&&(r=null),(n=null==n?!!ze(e[33]):n)?wa:(r=null==r?!!e[79].gameModel.platform.includes("PC"):r)?va:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),de(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function va(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[79].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[79].cellSize||"1x1"))),w(n,"session",e[3]),w(n,"userid",e[4]),w(n,"lang",e[2]),w(n,"favorites",e[5]),w(n,"gamethumbnail",a=e[79].gameModel.thumbnail),w(n,"gamename",o=e[79].gameModel.name),w(n,"gamevendor",s=e[79].gameModel.vendor.name),w(n,"gameisnew",l=e[79].gameModel.isNew),w(n,"gamepopularity",c=e[79].gameModel.popularity),w(n,"gamecellsize",u=e[79].cellSize),w(n,"gameid",d=e[79].gameModel.id),w(n,"gamefunmode",h=e[79].gameModel.hasFunMode),w(n,"gamefavorite",p=e[79].gameModel.isFavorite),w(n,"showfavoredcategory",e[27]),w(n,"connectlive",m=1==e[29][e[79].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[30]),w(n,"currency",e[8]),w(n,"livelobbyendpoint",g=e[79].gameModel.details?e[79].gameModel.launchUrl:""),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"endpoint",e[1]),w(n,"livecasino",e[9]),w(n,"gamepagemodalurl",e[10])},m(e,t){de(e,n,t)},p(e,t){1&t[1]&&r!==(r=""+(C+(e[79].cellSize||"1x1")))&&w(n,"class",r),1&t[1]&&i!==(i=""+(C+(e[79].cellSize||"1x1")))&&w(n,"part",i),8&t[0]&&w(n,"session",e[3]),16&t[0]&&w(n,"userid",e[4]),4&t[0]&&w(n,"lang",e[2]),32&t[0]&&w(n,"favorites",e[5]),1&t[1]&&a!==(a=e[79].gameModel.thumbnail)&&w(n,"gamethumbnail",a),1&t[1]&&o!==(o=e[79].gameModel.name)&&w(n,"gamename",o),1&t[1]&&s!==(s=e[79].gameModel.vendor.name)&&w(n,"gamevendor",s),1&t[1]&&l!==(l=e[79].gameModel.isNew)&&w(n,"gameisnew",l),1&t[1]&&c!==(c=e[79].gameModel.popularity)&&w(n,"gamepopularity",c),1&t[1]&&u!==(u=e[79].cellSize)&&w(n,"gamecellsize",u),1&t[1]&&d!==(d=e[79].gameModel.id)&&w(n,"gameid",d),1&t[1]&&h!==(h=e[79].gameModel.hasFunMode)&&w(n,"gamefunmode",h),1&t[1]&&p!==(p=e[79].gameModel.isFavorite)&&w(n,"gamefavorite",p),134217728&t[0]&&w(n,"showfavoredcategory",e[27]),536870912&t[0]|1&t[1]&&m!==(m=1==e[29][e[79].id]?"connect":"disconnect")&&w(n,"connectlive",m),1073741824&t[0]&&w(n,"visibilityconnect",e[30]),256&t[0]&&w(n,"currency",e[8]),1&t[1]&&g!==(g=e[79].gameModel.details?e[79].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),2&t[0]&&w(n,"endpoint",e[1]),512&t[0]&&w(n,"livecasino",e[9]),1024&t[0]&&w(n,"gamepagemodalurl",e[10])},d(e){e&&he(n)}}}function wa(e){let n,r=e[79].gameModel.platform.includes("iPad")||e[79].gameModel.platform.includes("iPhone")||e[79].gameModel.platform.includes("Android"),i=r&&xa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),de(e,n,t)},p(e,t){(r=1&t[1]?e[79].gameModel.platform.includes("iPad")||e[79].gameModel.platform.includes("iPhone")||e[79].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=xa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function xa(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[79].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[79].cellSize||"1x1"))),w(n,"session",e[3]),w(n,"userid",e[4]),w(n,"lang",e[2]),w(n,"favorites",e[5]),w(n,"gamethumbnail",a=e[79].gameModel.thumbnail),w(n,"gamename",o=e[79].gameModel.name),w(n,"gamevendor",s=e[79].gameModel.vendor.name),w(n,"gameisnew",l=e[79].gameModel.isNew),w(n,"gamepopularity",c=e[79].gameModel.popularity),w(n,"gamecellsize",u=e[79].cellSize),w(n,"gameid",d=e[79].gameModel.id),w(n,"gamefunmode",h=e[79].gameModel.hasFunMode),w(n,"gamefavorite",p=e[79].gameModel.isFavorite),w(n,"showfavoredcategory",e[27]),w(n,"connectlive",m=1==e[29][e[79].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[30]),w(n,"currency",e[8]),w(n,"livelobbyendpoint",g=e[79].gameModel.details?e[79].gameModel.launchUrl:""),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"endpoint",e[1]),w(n,"livecasino",e[9]),w(n,"gamepagemodalurl",e[10])},m(e,t){de(e,n,t)},p(e,t){1&t[1]&&r!==(r=""+(C+(e[79].cellSize||"1x1")))&&w(n,"class",r),1&t[1]&&i!==(i=""+(C+(e[79].cellSize||"1x1")))&&w(n,"part",i),8&t[0]&&w(n,"session",e[3]),16&t[0]&&w(n,"userid",e[4]),4&t[0]&&w(n,"lang",e[2]),32&t[0]&&w(n,"favorites",e[5]),1&t[1]&&a!==(a=e[79].gameModel.thumbnail)&&w(n,"gamethumbnail",a),1&t[1]&&o!==(o=e[79].gameModel.name)&&w(n,"gamename",o),1&t[1]&&s!==(s=e[79].gameModel.vendor.name)&&w(n,"gamevendor",s),1&t[1]&&l!==(l=e[79].gameModel.isNew)&&w(n,"gameisnew",l),1&t[1]&&c!==(c=e[79].gameModel.popularity)&&w(n,"gamepopularity",c),1&t[1]&&u!==(u=e[79].cellSize)&&w(n,"gamecellsize",u),1&t[1]&&d!==(d=e[79].gameModel.id)&&w(n,"gameid",d),1&t[1]&&h!==(h=e[79].gameModel.hasFunMode)&&w(n,"gamefunmode",h),1&t[1]&&p!==(p=e[79].gameModel.isFavorite)&&w(n,"gamefavorite",p),134217728&t[0]&&w(n,"showfavoredcategory",e[27]),536870912&t[0]|1&t[1]&&m!==(m=1==e[29][e[79].id]?"connect":"disconnect")&&w(n,"connectlive",m),1073741824&t[0]&&w(n,"visibilityconnect",e[30]),256&t[0]&&w(n,"currency",e[8]),1&t[1]&&g!==(g=e[79].gameModel.details?e[79].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),2&t[0]&&w(n,"endpoint",e[1]),512&t[0]&&w(n,"livecasino",e[9]),1024&t[0]&&w(n,"gamepagemodalurl",e[10])},d(e){e&&he(n)}}}function Ca(e){let n,r=e[79].gameModel&&ya(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[79].gameModel?r?r.p(e,t):((r=ya(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Sa(e){let n,r;return{c(){n=pe("div"),w(r=pe("casino-winners"),"session",e[3]),w(r,"periodrecent",Da),w(r,"periodtop",Ha),w(r,"numberusersrecent",Na),w(r,"numberuserstop",Oa),w(r,"amountlimit",ja),w(r,"lang",e[2]),w(r,"isrecentavailable",Ua),w(r,"istopavailable",Wa),w(r,"defaultcurrency",za),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"tabsorder",e[12]),w(r,"enableautoscroll",e[13]),w(r,"endpoint",e[1]),fe(n,"class","CasinoWinners")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){8&t[0]&&w(r,"session",e[3]),4&t[0]&&w(r,"lang",e[2]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),4096&t[0]&&w(r,"tabsorder",e[12]),8192&t[0]&&w(r,"enableautoscroll",e[13]),2&t[0]&&w(r,"endpoint",e[1])},d(e){e&&he(n)}}}function $a(n){let r,i,a,o,s,l,c,u,d=n[32]("gamesCategorySection.viewAll")+"",h=n[17].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(d),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),ue(i,l),c||(u=K(r,"click",n[46]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("gamesCategorySection.viewAll")+"")&&ye(a,d),131072&t[0]&&h!==(h=e[17].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,u()}}}function Fa(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ka(n){let r,e,i,a=n[18],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ma(aa(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[31].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[31].items.length&&n[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){de(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[48](r)},p(t,n){if(1610893310&n[0]){let e;for(a=t[18],e=0;e<a.length;e+=1){const i=aa(t,a,e);o[e]?o[e].p(i,n):(o[e]=Ma(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}134217728&n[0]|1&n[1]&&e!==(e=(0===t[31].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),134217728&n[0]|1&n[1]&&i!==(i=(0===t[31].items.length&&t[27]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),G(o,e),n[48](null)}}}function Ma(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[81];const b=()=>n[47](r,y),v=()=>n[47](null,y);return{c(){w(r=pe("casino-game-thumbnail"),"session",n[3]),w(r,"userid",n[4]),w(r,"lang",n[2]),w(r,"class",i=""+(C+(n[79].cellSize||"1x1"))),w(r,"part",a=""+(C+(n[79].cellSize||"1x1"))),w(r,"favorites",n[5]),w(r,"gamethumbnail",o=n[79].thumbnail),w(r,"gamename",s=n[79].name),w(r,"gamevendor",l=n[79].vendor.name),w(r,"gameisnew",c=n[79].isNew),w(r,"gamepopularity",u=n[79].popularity),w(r,"gamecellsize",d=n[79].cellSize),w(r,"gameid",h=n[79].id),w(r,"gamefunmode",p=n[79].hasFunMode),w(r,"gamefavorite",m=n[79].isFavorite),w(r,"connectlive",g=1==n[29][n[79].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[30]),w(r,"currency",n[8]),w(r,"livelobbyendpoint",f=n[79].details?n[79].href:""),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"endpoint",n[1]),w(r,"livecasino",n[9]),w(r,"gamepagemodalurl",n[10])},m(e,t){de(e,r,t),b()},p(e,t){n=e,8&t[0]&&w(r,"session",n[3]),16&t[0]&&w(r,"userid",n[4]),4&t[0]&&w(r,"lang",n[2]),262144&t[0]&&i!==(i=""+(C+(n[79].cellSize||"1x1")))&&w(r,"class",i),262144&t[0]&&a!==(a=""+(C+(n[79].cellSize||"1x1")))&&w(r,"part",a),32&t[0]&&w(r,"favorites",n[5]),262144&t[0]&&o!==(o=n[79].thumbnail)&&w(r,"gamethumbnail",o),262144&t[0]&&s!==(s=n[79].name)&&w(r,"gamename",s),262144&t[0]&&l!==(l=n[79].vendor.name)&&w(r,"gamevendor",l),262144&t[0]&&c!==(c=n[79].isNew)&&w(r,"gameisnew",c),262144&t[0]&&u!==(u=n[79].popularity)&&w(r,"gamepopularity",u),262144&t[0]&&d!==(d=n[79].cellSize)&&w(r,"gamecellsize",d),262144&t[0]&&h!==(h=n[79].id)&&w(r,"gameid",h),262144&t[0]&&p!==(p=n[79].hasFunMode)&&w(r,"gamefunmode",p),262144&t[0]&&m!==(m=n[79].isFavorite)&&w(r,"gamefavorite",m),537133056&t[0]&&g!==(g=1==n[29][n[79].id]?"connect":"disconnect")&&w(r,"connectlive",g),1073741824&t[0]&&w(r,"visibilityconnect",n[30]),256&t[0]&&w(r,"currency",n[8]),262144&t[0]&&f!==(f=n[79].details?n[79].href:"")&&w(r,"livelobbyendpoint",f),64&t[0]&&w(r,"clientstyling",n[6]),128&t[0]&&w(r,"clientstylingurl",n[7]),2&t[0]&&w(r,"endpoint",n[1]),512&t[0]&&w(r,"livecasino",n[9]),1024&t[0]&&w(r,"gamepagemodalurl",n[10]),y!==n[81]&&(v(),y=n[81],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function _a(e){let n,r,i=e[32]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&i!==(i=e[32]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ea(e){let n,r,i=e[32]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&i!==(i=e[32]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ta(e){let n,r,i=e[32]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&i!==(i=e[32]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ia(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function La(t){let r,i,a=!t[24]&&Ga(t),o=t[18],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ba(oa(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),de(e,r,t),de(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[24]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ga(t)).c(),a.m(r.parentNode,r)),4458494&n[0]){let e;for(o=t[18],e=0;e<o.length;e+=1){const a=oa(t,o,e);s[e]?s[e].p(a,n):(s[e]=Ba(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),G(s,e)}}}function Ga(e){let n,r,t,i,a=e[32]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(ze(e[33])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(ze(e[33])?"NoRecentSearchesMobile":""))},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t[1]&&a!==(a=e[32]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ba(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(C+(e[79].cellSize||"1x1"))),w(n,"part",i=""+(C+(e[79].cellSize||"1x1"))),w(n,"session",e[3]),w(n,"userid",e[4]),w(n,"lang",e[2]),w(n,"searchitem",e[22]),w(n,"favorites",e[5]),w(n,"gamethumbnail",a=e[79].thumbnail),w(n,"gamename",o=e[79].name),w(n,"gamevendor",s=e[79].vendor.name),w(n,"gameisnew",l=e[79].isNew),w(n,"gamepopularity",c=e[79].popularity),w(n,"gamecellsize",u=e[79].cellSize),w(n,"gameid",d=e[79].id),w(n,"gamefunmode",h=e[79].hasFunMode),w(n,"gamefavorite",p=e[79].isFavorite),w(n,"currency",e[8]),w(n,"livelobbyendpoint",m=e[79].details?e[79].href:""),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"endpoint",e[1]),w(n,"livecasino",e[9]),w(n,"gamepagemodalurl",e[10])},m(e,t){de(e,n,t)},p(e,t){262144&t[0]&&r!==(r=""+(C+(e[79].cellSize||"1x1")))&&w(n,"class",r),262144&t[0]&&i!==(i=""+(C+(e[79].cellSize||"1x1")))&&w(n,"part",i),8&t[0]&&w(n,"session",e[3]),16&t[0]&&w(n,"userid",e[4]),4&t[0]&&w(n,"lang",e[2]),4194304&t[0]&&w(n,"searchitem",e[22]),32&t[0]&&w(n,"favorites",e[5]),262144&t[0]&&a!==(a=e[79].thumbnail)&&w(n,"gamethumbnail",a),262144&t[0]&&o!==(o=e[79].name)&&w(n,"gamename",o),262144&t[0]&&s!==(s=e[79].vendor.name)&&w(n,"gamevendor",s),262144&t[0]&&l!==(l=e[79].isNew)&&w(n,"gameisnew",l),262144&t[0]&&c!==(c=e[79].popularity)&&w(n,"gamepopularity",c),262144&t[0]&&u!==(u=e[79].cellSize)&&w(n,"gamecellsize",u),262144&t[0]&&d!==(d=e[79].id)&&w(n,"gameid",d),262144&t[0]&&h!==(h=e[79].hasFunMode)&&w(n,"gamefunmode",h),262144&t[0]&&p!==(p=e[79].isFavorite)&&w(n,"gamefavorite",p),256&t[0]&&w(n,"currency",e[8]),262144&t[0]&&m!==(m=e[79].details?e[79].href:"")&&w(n,"livelobbyendpoint",m),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),2&t[0]&&w(n,"endpoint",e[1]),512&t[0]&&w(n,"livecasino",e[9]),1024&t[0]&&w(n,"gamepagemodalurl",e[10])},d(e){e&&he(n)}}}function Pa(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ra(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Aa(n){let r;function i(e){return e[15]?ca:e[20]?la:sa}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){de(e,r,t),o.m(r,null),n[51](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[51](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ra,qi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,MONEY_WHEEL_COLOR_MAP:61,ROULETTE_COLOR_MAP:62},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[61]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[62]}});const C="game-tile-";let Da="Today",Ha="Last7Days",Na="20",Oa="20",ja="1",Ua="true",Wa="true",za="EUR";function Ya(e,t,l){let R;Ve(e,Kr,e=>l(32,R=e));let n,i,a,r,A,o,s,c,u,d,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:O=""}=t,{categoryid:b=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{enablecasinowinners:Y="true"}=t,{tabsorder:V=""}=t,{enableautoscroll:Z=""}=t,{once:J=!0}=t,{top:K=0}=t,{bottom:X=0}=t,{left:q=0}=t,{right:Q=0}=t,v=!1,w=!0,ee=window.navigator.userAgent,x=[],C=!0,S=40,$=!1,F=!1,te=!1,k=!1,M=!1,_=!0,E=!1,T=!1,I=!1,L=new Array(1e4),G={},ne="",B={items:[],count:0,name:""},re=(Object.keys(gi).forEach(e=>{Tr(e,gi[e])}),void 0!==document.hidden?u="hidden":void 0!==document.msHidden?u="msHidden":void 0!==document.webkitHidden&&(u="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&oe(b),l(29,G[t]=1,G)):l(29,G[t]=0,G)})}));const ie=(r,i,a,e=0)=>{let o=new URL(`${h}/casino/groups/${p}/`+b),s=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Ye(ee)),o.searchParams.append("pagination",`games(offset=${i},limit=${a})`),o.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),s&&s[b])if(s[b].length&&!1===w&&!1===E){let t="";l(23,M=!0),s[b].forEach(e=>{t+=t?", id="+e:"id="+e}),o.searchParams.append("filter",`games(vendor(${t}))`)}else l(23,M=!1);var e=JSON.parse(sessionStorage.getItem(r));e?t(e):fetch(o).then(e=>e.json()).then(e=>{l(44,d=!0),l(15,v=!1),A=e.games.total,sessionStorage.setItem(r,JSON.stringify(e)),t(e)},e=>{l(15,v=!0),console.error(e),n(e)})})},ae=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":l(20,$=!1),l(16,w=!1),l(19,C=!1),T=!0,l(18,x=t.data.mostPlayedGames),l(17,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(20,$=!0),T=!1,l(21,F=!0),0<t.data.searchData.length?(l(18,x=t.data.searchData),l(24,_=!0),x&&x.forEach(e=>{e.isFavorite=P(e.id)})):(l(18,x=[]),l(24,_=!1));break;case"OutOfRecentSearches":l(20,$=!1),l(21,F=!1);break;case"SearchData":l(20,$=!0),T=!1,l(21,F=!1),l(18,x=t.data.searchData.items||[]),l(22,k=!0),t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)});break;case"CategoryData_"+b:l(20,$=!1),l(16,w=!0),l(19,C=!0),l(22,k=!1),T=!1,I=!1,t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),ie(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(17,a=e),l(18,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=P(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":l(20,$=!1),l(16,w=!1),l(22,k=!1),T=!1,I=!0,l(35,b=t.data.itemId),"MOSTPLAYED"!==b&&l(19,C=!1),ie(b,0,S).then(e=>{l(17,a=e),a.games.items.forEach(e=>{e.isFavorite=P(e.id)}),l(18,x=a.games.items),l(19,C=!1),x.length<10&&(te=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:te},window.location.href)},500))});break;case"FavoriteUpdate":T=!1,l(16,w=!0),l(18,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)}),l(19,C=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items,E?w||T||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(31,B.items=Xr(e,B.items),B),l(31,B.name="Favorites",B),l(27,E=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{s=e?e.items:[],x.forEach(e=>{e.isFavorite=P(e.id)});e=x;l(18,x=void 0),l(18,x=e),t(s)}).catch(e=>{console.error(e),n(e)})})}}},oe=e=>{(S+=1)<=A&&ie(e,0,S).then(e=>{l(17,a=e),a.games.items.length>x.length&&(l(18,x=a.games.items),x.forEach(e=>{e.isFavorite=P(e.id)}))})},P=t=>!!s&&-1!==s.findIndex(e=>e.id==t),se=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Ze(()=>(window.addEventListener("visibilitychange",e=>{document[u]?l(30,ne="disconnect"):l(30,ne="connect")}),window.addEventListener("message",ae,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ae),window.removeEventListener("visibilitychange",ae)})),e.$$set=e=>{"categoryindex"in e&&l(0,D=e.categoryindex),"endpoint"in e&&l(1,h=e.endpoint),"datasource"in e&&l(36,p=e.datasource),"lang"in e&&l(2,m=e.lang),"session"in e&&l(3,H=e.session),"userid"in e&&l(4,N=e.userid),"favorites"in e&&l(5,g=e.favorites),"clientstyling"in e&&l(6,f=e.clientstyling),"clientstylingurl"in e&&l(7,y=e.clientstylingurl),"currency"in e&&l(8,O=e.currency),"categoryid"in e&&l(35,b=e.categoryid),"categorygames"in e&&l(37,j=e.categorygames),"livecasino"in e&&l(9,U=e.livecasino),"visiblegames"in e&&l(38,W=e.visiblegames),"gamepagemodalurl"in e&&l(10,z=e.gamepagemodalurl),"enablecasinowinners"in e&&l(11,Y=e.enablecasinowinners),"tabsorder"in e&&l(12,V=e.tabsorder),"enableautoscroll"in e&&l(13,Z=e.enableautoscroll),"once"in e&&l(39,J=e.once),"top"in e&&l(40,K=e.top),"bottom"in e&&l(41,X=e.bottom),"left"in e&&l(42,q=e.left),"right"in e&&l(43,Q=e.right)},e.$$.update=()=>{if(16384&e.$$.dirty[0]|8192&e.$$.dirty[1]&&d&&L&&I&&L.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),e.$$.dirty[0],64&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(128&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[D,h,m,H,N,g,f,y,O,U,z,Y,V,Z,L,v,w,a,x,C,$,F,k,M,_,r,o,E,c,G,ne,B,R,ee,se,b,p,j,W,J,K,X,q,Q,d,function(e){Ue[e?"unshift":"push"](()=>{o=e,l(26,o)})},e=>se(a.id,a),function(e,t){Ue[e?"unshift":"push"](()=>{L[t]=e,l(14,L)})},function(e){Ue[e?"unshift":"push"](()=>{r=e,l(25,r)})},function(e){Ue[e?"unshift":"push"](()=>{o=e,l(26,o)})},function(e){Ue[e?"unshift":"push"](()=>{r=e,l(25,r)})},function(e){Ue[e?"unshift":"push"](()=>{c=e,l(28,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoWinners{background:transparent;width:100%;min-height:200px}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ya,Aa,t,{categoryindex:0,endpoint:1,datasource:36,lang:2,session:3,userid:4,favorites:5,clientstyling:6,clientstylingurl:7,currency:8,categoryid:35,categorygames:37,livecasino:9,visiblegames:38,gamepagemodalurl:10,enablecasinowinners:11,tabsorder:12,enableautoscroll:13,once:39,top:40,bottom:41,left:42,right:43},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[0]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[36]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[3]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[5]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[8]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[35]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[37]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[38]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[11]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[12]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[13]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get once(){return this.$$.ctx[39]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[40]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[41]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[42]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[43]}set right(e){this.$$set({right:e}),f()}});const Va={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Za(e,t,n){const r=e.slice();return r[23]=t[n],r[25]=n,r}function Ja(n){let r,i,a,o,s,l,c,u=!n[5]&&Ka(n),d=n[5]&&qa(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("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=ge(),u&&u.c(),s=ge(),d&&d.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),u&&u.m(i,null),ue(i,s),d&&d.m(i,null),l||(c=K(a,"click",n[9]),l=!0)},p(e,t){e[5]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ka(e)).c(),u.m(i,s)),e[5]?d?d.p(e,t):((d=qa(e)).c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&he(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ka(t){let n,r,i,a,o,s,e=t[6]("randomGame.randomGameLoading")+"",l=t[2],c=[];for(let e=0;e<l.length;e+=1)c[e]=Xa(Za(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),B(i,"transform","translateY("+t[4]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);ue(n,a),ue(n,o),ue(o,s)},p(t,n){if(4&n){let e;for(l=t[2],e=0;e<l.length;e+=1){var r=Za(t,l,e);c[e]?c[e].p(r,n):(c[e]=Xa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}16&n&&B(i,"transform","translateY("+t[4]+"px)"),64&n&&e!==(e=t[6]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),G(c,e)}}}function Xa(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[23].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[23].name),fe(r,"title",o=e[23].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){de(e,n,t),ue(n,r),ue(n,s)},p(e,t){4&t&&!ce(r.src,i=e[23].thumbnail)&&fe(r,"src",i),4&t&&a!==(a=e[23].name)&&fe(r,"alt",a),4&t&&o!==(o=e[23].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function qa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,S=n[1].name+"",$=n[1].vendor.name+"",F=n[6]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(u=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=ge(),h=pe("div"),p=pe("p"),m=me(S),g=ge(),f=pe("p"),y=me($),b=ge(),v=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[1].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[1].name),fe(a,"title",l=n[1].name),fe(u,"class","RandomTryAgain"),fe(u,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,c),ue(i,u),ue(r,d),ue(r,h),ue(h,p),ue(p,m),ue(h,g),ue(h,f),ue(f,y),ue(h,b),ue(h,v),ue(v,w),x||(C=[K(u,"click",n[14]),K(v,"click",n[15])],x=!0)},p(e,t){2&t&&!ce(a.src,o=e[1].thumbnail)&&fe(a,"src",o),2&t&&s!==(s=e[1].name)&&fe(a,"alt",s),2&t&&l!==(l=e[1].name)&&fe(a,"title",l),2&t&&S!==(S=e[1].name+"")&&ye(m,S),2&t&&$!==($=e[1].vendor.name+"")&&ye(y,$),64&t&&F!==(F=e[6]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J(C)}}}function Qa(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[6]("randomGame.playRandomGame")+"",g=n[3]&&Ja(n);return{c(){r=pe("div"),i=pe("div"),g&&g.c(),a=ge(),o=pe("div"),s=pe("button"),l=pe("span"),c=me(m),u=ge(),d=pe("span"),this.c=Z,fe(l,"class","RandomButtonText"),fe(l,"part","RandomButtonText"),fe(d,"class","RandomButtonIcon"),fe(d,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),ue(r,i),g&&g.m(i,null),ue(i,a),ue(i,o),ue(o,s),ue(s,l),ue(l,c),ue(s,u),ue(s,d),d.innerHTML=n[0],h||(p=K(s,"click",n[16]),h=!0)},p(e,[t]){e[3]?g?g.p(e,t):((g=Ja(e)).c(),g.m(i,a)):g&&(g.d(1),g=null),64&t&&m!==(m=e[6]("randomGame.playRandomGame")+"")&&ye(c,m),1&t&&(d.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),g&&g.d(),h=!1,p()}}}function eo(t,e,n){let r;Ve(t,Kr,e=>n(6,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,u=[],d="",h=!1,p=0,m=0,g=!1,f=window.navigator.userAgent;var y,b;({withLocale:y,translations:b}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(_r.set(b),We.set(y))}),Object.keys(Va).forEach(e=>{Tr(e,Va[e])});const v=()=>{n(2,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)),n(4,p=0),m=0,n(5,g=!1),n(1,d=u[Math.floor(Math.random()*u.length)]),n(3,h=!0);let e=setInterval(()=>{n(4,p-=100),20==++m&&(n(5,g=!0),clearInterval(e))},100)},w=()=>{window.postMessage({type:s,gameId:d.gId||d.id},window.location.href),n(3,h=!1)};return t.$$set=e=>{"endpoint"in e&&n(10,a=e.endpoint),"datasource"in e&&n(11,o=e.datasource),"gameevent"in e&&n(12,s=e.gameevent),"lang"in e&&n(13,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon)},t.$$.update=()=>{if(8192&t.$$.dirty&&l&&(e=l,We.set(e)),3072&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",Ye(f)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{u=e.items,n(2,i=u.slice(0,19))})}var e},[c,d,i,h,p,g,r,v,w,()=>{n(3,h=!1)},a,o,s,l,()=>v(),()=>w(),()=>v()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},eo,Qa,t,{endpoint:10,datasource:11,gameevent:12,lang:13,randombuttonicon:0},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[12]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}});const to={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function no(e,t,n){const r=e.slice();return r[43]=t[n],r[45]=n,r}function ro(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v=n[1].toUpperCase()+"";function w(e){return e[6]?oo:so}let x=w(n),C=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),u=pe("div"),C.c(),d=ge(),h=pe("div"),p=me(v),ce(s.src,l=n[7])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(u,"class","displayContainer"),fe(h,"class","title"),fe(a,"class",m="mainWrapper "+n[0]+" "+(n[5]&&!n[6]?"mobile":n[6]?"tablet":"")),B(a,"background","url("+n[11]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",g=n[12]?"DisplayNone":""),fe(r,"part",f=n[12]?"DisplayNone":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,c),ue(a,u),C.m(u,null),ue(a,d),ue(a,h),ue(h,p),n[29](r),y||(b=K(i,"click",n[28]),y=!0)},p(e,t){128&t[0]&&!ce(s.src,l=e[7])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(u,null))),2&t[0]&&v!==(v=e[1].toUpperCase()+"")&&ye(p,v),97&t[0]&&m!==(m="mainWrapper "+e[0]+" "+(e[5]&&!e[6]?"mobile":e[6]?"tablet":""))&&fe(a,"class",m),2048&t[0]&&B(a,"background","url("+e[11]+")"),4096&t[0]&&g!==(g=e[12]?"DisplayNone":"")&&fe(r,"class",g),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"part",f)},d(e){e&&he(r),C.d(),n[29](null),y=!1,b()}}}function io(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ao(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function oo(e){let n,r,i,a,o,s,A,l,c,D,H,u,N,O,d,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,x,C,S,$,V,F,k,Z,J,M,K,X,_,E,T,I,L,q,G,B,Q,ee,P,te,R=e[9][0]+"",ne=e[8][0]+"",re=e[9][1]+"",ie=e[8][1]+"",ae=e[9][2]+"",oe=e[8][2]+"",se=e[9][3]+"",le=e[8][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),A=me(R),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),u=pe("span"),N=me(e[2]),O=ge(),d=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[2]),Y=ge(),v=pe("div"),w=pe("div"),x=pe("div"),C=pe("img"),$=pe("span"),V=me(ae),F=pe("span"),k=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[2]),X=ge(),_=pe("div"),E=pe("div"),T=pe("img"),L=pe("span"),q=me(se),G=pe("span"),B=pe("span"),Q=me(le),ee=ge(),P=pe("span"),te=me(e[2]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[10][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(u,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[10][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(d,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,S=e[10][2])||fe(C,"src",S),fe(C,"alt",""),fe($,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(T,"class","displayCardIcon"),ce(T.src,I=e[10][3])||fe(T,"src",I),fe(T,"alt",""),fe(L,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(B,"class","jackpotValue"),fe(P,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(_,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(i,a),ue(i,s),ue(s,A),ue(r,l),ue(l,c),ue(c,D),ue(l,H),ue(l,u),ue(u,N),ue(n,O),ue(n,d),ue(d,h),ue(h,p),ue(h,g),ue(g,j),ue(d,f),ue(f,y),ue(y,U),ue(f,W),ue(f,b),ue(b,z),de(e,Y,t),de(e,v,t),ue(v,w),ue(w,x),ue(x,C),ue(x,$),ue($,V),ue(w,F),ue(F,k),ue(k,Z),ue(F,J),ue(F,M),ue(M,K),ue(v,X),ue(v,_),ue(_,E),ue(E,T),ue(E,L),ue(L,q),ue(_,G),ue(G,B),ue(B,Q),ue(G,ee),ue(G,P),ue(P,te)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10][0])&&fe(a,"src",o),512&t[0]&&R!==(R=e[9][0]+"")&&ye(A,R),256&t[0]&&ne!==(ne=e[8][0]+"")&&ye(D,ne),4&t[0]&&ye(N,e[2]),1024&t[0]&&!ce(p.src,m=e[10][1])&&fe(p,"src",m),512&t[0]&&re!==(re=e[9][1]+"")&&ye(j,re),256&t[0]&&ie!==(ie=e[8][1]+"")&&ye(U,ie),4&t[0]&&ye(z,e[2]),1024&t[0]&&!ce(C.src,S=e[10][2])&&fe(C,"src",S),512&t[0]&&ae!==(ae=e[9][2]+"")&&ye(V,ae),256&t[0]&&oe!==(oe=e[8][2]+"")&&ye(Z,oe),4&t[0]&&ye(K,e[2]),1024&t[0]&&!ce(T.src,I=e[10][3])&&fe(T,"src",I),512&t[0]&&se!==(se=e[9][3]+"")&&ye(q,se),256&t[0]&&le!==(le=e[8][3]+"")&&ye(Q,le),4&t[0]&&ye(te,e[2])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function so(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=lo(no(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(1796&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=no(t,a,e);o[e]?o[e].p(r,n):(o[e]=lo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function lo(e){let n,r,i,a,o,s,l,c,u,d,h,p,m=e[9][e[45]]+"",g=(e[8][e[45]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),u=me(g),d=ge(),h=pe("span"),p=me(e[2]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[10][e[45]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,o),ue(o,s),ue(n,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p)},p(e,t){1024&t[0]&&!ce(i.src,a=e[10][e[45]])&&fe(i,"src",a),512&t[0]&&m!==(m=e[9][e[45]]+"")&&ye(s,m),256&t[0]&&g!==(g=(e[8][e[45]]??"")+"")&&ye(u,g),4&t[0]&&ye(p,e[2])},d(e){e&&he(n)}}}function co(e){let n;function r(e){return e[13]?ao:e[4]?io:ro}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function uo(t,e,n){let r;Ve(t,Kr,e=>n(14,r=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:u=""}=e,{caticon3:d=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{lang:f="en"}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{endpoint:v=""}=e,{gameid:w=""}=e,x=window.navigator.userAgent,C=!1,S=!1,$="",F=[],k=[],M=[],_=[],E="",T=!1,I=!0,L=!1;Object.keys(to).forEach(e=>{Tr(e,to[e])});const G=["typeSpread","typeLeft"],B=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href)};return t.$$set=e=>{"visualstructure"in e&&n(0,o=e.visualstructure),"title"in e&&n(1,s=e.title),"caticon0"in e&&n(16,l=e.caticon0),"caticon1"in e&&n(17,c=e.caticon1),"caticon2"in e&&n(18,u=e.caticon2),"caticon3"in e&&n(19,d=e.caticon3),"iconlabels"in e&&n(20,h=e.iconlabels),"backgroundsrc"in e&&n(21,p=e.backgroundsrc),"currency"in e&&n(2,m=e.currency),"backgroundsrcmobile"in e&&n(22,g=e.backgroundsrcmobile),"lang"in e&&n(23,f=e.lang),"clientstyling"in e&&n(24,y=e.clientstyling),"clientstylingurl"in e&&n(25,b=e.clientstylingurl),"endpoint"in e&&n(26,v=e.endpoint),"gameid"in e&&n(27,w=e.gameid)},t.$$.update=()=>{if(16777224&t.$$.dirty[0]&&i&&y){let e=document.createElement("style");e.innerHTML=y,i.appendChild(e)}if(33554440&t.$$.dirty[0]&&i&&b){n(12,T=!0);let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{n(12,T=!1)},500))})}if((8388628&t.$$.dirty[0]&&m&&f&&!I&&(n(5,C=ze(x)&&1<window.innerHeight/window.innerWidth),n(6,S=.75<(e=window.innerHeight/window.innerWidth)&&e<1.6),n(8,k=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),n(9,M=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),G.includes(o.trim())?n(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${G[0]}"`),n(0,o=G[0])),n(11,E=g&&C&&!S?g:p),n(10,_=[l,c,u,d])),75497476&t.$$.dirty[0]&&v&&f&&m)&&(v&&f&&m)){let e=new URL(v);e.searchParams.append("filter","id="+w),e.searchParams.append("language",f),e.searchParams.append("currencies",m),fetch(e.href).then(e=>e.json()).then(e=>{n(4,I=!1),a=e,"998"!=w&&"999"!=w||((e=null==(e=null==a?void 0:a.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),n(7,$=a.items[0].vendorLogo))}).catch(e=>{n(13,L=!0),n(4,I=!1),console.error(e)})}var e;8388608&t.$$.dirty[0]&&f&&(e=f,We.set(e))},[o,s,m,i,I,C,S,$,k,M,_,E,T,L,r,B,l,c,u,d,h,p,g,f,y,b,v,w,()=>B(),function(e){Ue[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}function ho(e,t,n){const r=e.slice();return r[135]=t[n],r[137]=n,r}function po(n){let r,i,a,o,s,l,c="PC"!==Ye(n[51])&&"false"===n[10]&&n[47],u=c&&go();function d(e){return"false"===e[10]?yo:fo}let h=d(n),p=h(n),m="true"==n[15]&&0==n[37]&&Io(n),g="true"===n[18]&&Lo(n);function f(e){return e[27]?Do:e[35]?Ao:e[38]?Ro:e[33]?Po:e[39]?Bo:e[34]?void 0:Go}let y=f(n),b=y&&y(n),v=n[29]&&"true"==n[13]&&jo(n);return{c(){r=pe("section"),u&&u.c(),i=ge(),p.c(),a=ge(),m&&m.c(),o=ge(),g&&g.c(),s=ge(),b&&b.c(),l=ge(),v&&v.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),B(r,"max-width",n[12]+"px")},m(e,t){de(e,r,t),u&&u.m(r,null),ue(r,i),p.m(r,null),ue(r,a),m&&m.m(r,null),ue(r,o),g&&g.m(r,null),ue(r,s),b&&b.m(r,null),ue(r,l),v&&v.m(r,null),n[80](r)},p(e,t){(c=1024&t[0]|65536&t[1]?"PC"!==Ye(e[51])&&"false"===e[10]&&e[47]:c)?u||((u=go()).c(),u.m(r,i)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,a))),"true"==e[15]&&0==e[37]?m?m.p(e,t):((m=Io(e)).c(),m.m(r,o)):m&&(m.d(1),m=null),"true"===e[18]?g?g.p(e,t):((g=Lo(e)).c(),g.m(r,s)):g&&(g.d(1),g=null),y===(y=f(e))&&b?b.p(e,t):(b&&b.d(1),(b=y&&y(e))&&(b.c(),b.m(r,l))),e[29]&&"true"==e[13]?v?v.p(e,t):((v=jo(e)).c(),v.m(r,null)):v&&(v.d(1),v=null),4096&t[0]&&B(r,"max-width",e[12]+"px")},d(e){e&&he(r),u&&u.d(),p.d(),m&&m.d(),g&&g.d(),b&&b.d(),v&&v.d(),n[80](null)}}}function mo(e){let n,r,i=e[50]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){524288&t[1]&&i!==(i=e[50]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function go(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function fo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[50]("casinoPage.searchGames")+"",x="PC"===Ye(n[51])&&n[25].length||"PC"!==Ye(n[51]),C=!n[47]&&bo(),S=x&&vo(n),$=!n[33]&&!n[38]&&!n[47]&&!n[39]&&!n[34]&&!n[37]&&!n[35]&&!n[36]&&wo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===Ye(n[51])?n[50]("casinoPage.search"):n[50]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[38]||n[33]||n[39]||n[36]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[38]||n[33]||n[39]||n[36]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Ye(n[51])?"CategoriesHeaderMobileSection":"")+" "+(n[47]?"SearchMobileActive":"")+" "+(n[47]||n[35]&&"PC"!==Ye(n[51])&&!Wo?"CategoriesHeaderSearchActive":"")+(n[41]&&n[47]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Ye(n[51])?"CategoriesHeaderMobileSection":"")+" "+(n[47]?"SearchMobileActive":"")+" "+(n[47]||n[35]&&"PC"!==Ye(n[51])&&!Wo?"CategoriesHeaderSearchActive":"")+(n[41]&&n[47]?"SearchStickTop":"")),B(r,"top",n[41]&&n[47]?zo+"px":"")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[73](u),R(u,n[25]),ue(l,h),S&&S.m(l,null),ue(r,g),$&&$.m(r,null),n[78](r),b||(v=[K(u,"focus",n[53]),K(u,"blur",n[54]),K(u,"input",n[74]),K(u,"focus",n[55])],b=!0)},p(e,t){524288&t[1]&&w!==(w=e[50]("casinoPage.searchGames")+"")&&ye(o,w),e[47]?C&&(C.d(1),C=null):C||((C=bo()).c(),C.m(l,c)),524288&t[1]&&d!==(d="PC"===Ye(e[51])?e[50]("casinoPage.search"):e[50]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),33554432&t[0]&&R(u,e[25]),(x=33554432&t[0]?"PC"===Ye(e[51])&&e[25].length||"PC"!==Ye(e[51]):x)?S?S.p(e,t):((S=vo(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),420&t[1]&&p!==(p="SearchContainer "+(e[38]||e[33]||e[39]||e[36]?"":"SearchTruncated"))&&fe(i,"class",p),420&t[1]&&m!==(m="SearchContainer "+(e[38]||e[33]||e[39]||e[36]?"":"SearchTruncated"))&&fe(i,"part",m),e[33]||e[38]||e[47]||e[39]||e[34]||e[37]||e[35]||e[36]?$&&($.d(1),$=null):$?$.p(e,t):(($=wo(e)).c(),$.m(r,null)),66576&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Ye(e[51])?"CategoriesHeaderMobileSection":"")+" "+(e[47]?"SearchMobileActive":"")+" "+(e[47]||e[35]&&"PC"!==Ye(e[51])&&!Wo?"CategoriesHeaderSearchActive":"")+(e[41]&&e[47]?"SearchStickTop":""))&&fe(r,"class",f),66576&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==Ye(e[51])?"CategoriesHeaderMobileSection":"")+" "+(e[47]?"SearchMobileActive":"")+" "+(e[47]||e[35]&&"PC"!==Ye(e[51])&&!Wo?"CategoriesHeaderSearchActive":"")+(e[41]&&e[47]?"SearchStickTop":""))&&fe(r,"part",y),66560&t[1]&&B(r,"top",e[41]&&e[47]?zo+"px":"")},d(e){e&&he(r),C&&C.d(),n[73](null),S&&S.d(),$&&$.d(),n[78](null),b=!1,J(v)}}}function yo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w=n[50]("casinoPage.searchGames")+"",x="PC"===Ye(n[51])&&n[25].length||"PC"!==Ye(n[51]),C=!n[47]&&Fo(),S=x&&ko(n),$=!n[33]&&!n[38]&&!n[47]&&!n[39]&&!n[34]&&!n[35]&&!n[37]&&!n[36]&&Mo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),u=pe("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===Ye(n[51])?n[50]("casinoPage.search"):n[50]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[38]||n[33]||n[39]||n[36]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[38]||n[33]||n[39]||n[36]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==Ye(n[51])?"CategoriesHeaderMobileSection":"")+" "+(n[47]?"SearchMobileActive":"")+" "+(n[47]||n[35]&&"PC"!==Ye(n[51])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(n[41]&&n[47]?"SearchStickTop":"")),B(r,"top",n[41]&&n[47]?zo+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==Ye(n[51])?"CategoriesHeaderMobileSection":"")+" "+(n[47]?"SearchMobileActive":"")+" "+(n[47]||n[35]&&"PC"!==Ye(n[51])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(n[41]&&n[47]?"SearchStickTop":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(i,s),ue(i,l),C&&C.m(l,null),ue(l,c),ue(l,u),n[67](u),R(u,n[25]),ue(l,h),S&&S.m(l,null),ue(r,g),$&&$.m(r,null),n[72](r),b||(v=[K(u,"focus",n[53]),K(u,"blur",n[54]),K(u,"input",n[68]),K(u,"focus",n[55])],b=!0)},p(e,t){524288&t[1]&&w!==(w=e[50]("casinoPage.searchGames")+"")&&ye(o,w),e[47]?C&&(C.d(1),C=null):C||((C=Fo()).c(),C.m(l,c)),524288&t[1]&&d!==(d="PC"===Ye(e[51])?e[50]("casinoPage.search"):e[50]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),33554432&t[0]&&R(u,e[25]),(x=33554432&t[0]?"PC"===Ye(e[51])&&e[25].length||"PC"!==Ye(e[51]):x)?S?S.p(e,t):((S=ko(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),420&t[1]&&p!==(p="SearchContainer "+(e[38]||e[33]||e[39]||e[36]?"":"SearchTruncated"))&&fe(i,"class",p),420&t[1]&&m!==(m="SearchContainer "+(e[38]||e[33]||e[39]||e[36]?"":"SearchTruncated"))&&fe(i,"part",m),e[33]||e[38]||e[47]||e[39]||e[34]||e[35]||e[37]||e[36]?$&&($.d(1),$=null):$?$.p(e,t):(($=Mo(e)).c(),$.m(r,null)),66576&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==Ye(e[51])?"CategoriesHeaderMobileSection":"")+" "+(e[47]?"SearchMobileActive":"")+" "+(e[47]||e[35]&&"PC"!==Ye(e[51])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(e[41]&&e[47]?"SearchStickTop":""))&&fe(r,"class",f),66560&t[1]&&B(r,"top",e[41]&&e[47]?zo+"px":""),66576&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==Ye(e[51])?"CategoriesHeaderMobileSection":"")+" "+(e[47]?"SearchMobileActive":"")+" "+(e[47]||e[35]&&"PC"!==Ye(e[51])&&!Wo?"CategoriesHeaderSearchActive":"")+" "+(e[41]&&e[47]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[67](null),S&&S.d(),$&&$.d(),n[72](null),b=!1,J(v)}}}function bo(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function vo(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===Ye(n[51])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===Ye(n[51])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[75]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function wo(e){let n,r,i=e[48]&&xo(e),a=(!e[35]||!e[34])&&Co(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[48]?i?i.p(e,t):((i=xo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[35]&&e[34]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Co(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function xo(n){let r,i,a,o,s,l,c,u,d,h=n[50]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[48]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[48]?"FiltersActive":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),u||(d=K(r,"click",n[76]),u=!0)},p(e,t){524288&t[1]&&h!==(h=e[50]("casinoPage.clear")+"")&&ye(a,h),131072&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[48]?"FiltersActive":""))&&fe(r,"class",l),131072&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[48]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),u=!1,d()}}}function Co(e){let n,r=!e[39]&&So(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[39]?r&&(r.d(1),r=null):r?r.p(e,t):((r=So(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function So(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[50]("casinoPage.filters")+"",y=0<n[48]&&$o(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[77]),m=!0)},p(e,t){524288&t[1]&&f!==(f=e[50]("casinoPage.filters")+"")&&ye(a,f),0<e[48]?y?y.p(e,t):((y=$o(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function $o(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[48]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){de(e,n,t),ue(n,r),ue(r,i)},p(e,t){131072&t[1]&&ye(i,e[48])},d(e){e&&he(n)}}}function Fo(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function ko(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===Ye(n[51])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===Ye(n[51])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[69]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function Mo(e){let n,r,i=e[48]&&_o(e),a=(!e[35]||!e[34])&&Eo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),i&&i.m(n,null),ue(n,r),a&&a.m(n,null)},p(e,t){e[48]?i?i.p(e,t):((i=_o(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[35]&&e[34]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Eo(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function _o(n){let r,i,a,o,s,l,c,u=n[50]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(u),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),l||(c=K(r,"click",n[70]),l=!0)},p(e,t){524288&t[1]&&u!==(u=e[50]("casinoPage.clear")+"")&&ye(a,u)},d(e){e&&he(r),l=!1,c()}}}function Eo(e){let n,r=!e[39]&&To(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[39]?r&&(r.d(1),r=null):r?r.p(e,t):((r=To(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function To(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v=n[50]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),u=k("style"),d=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[48]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,p),ue(s,m),ue(m,g),ue(g,f),y||(b=K(r,"click",n[71]),y=!0)},p(e,t){524288&t[1]&&v!==(v=e[50]("casinoPage.filters")+"")&&ye(a,v),131072&t[1]&&ye(f,e[48])},d(e){e&&he(r),y=!1,b()}}}function Io(e){let n;return{c(){w(n=pe("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[26]),w(n,"randombuttonicon",e[23])},m(e,t){de(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),67108864&t[0]&&w(n,"gameevent",e[26]),8388608&t[0]&&w(n,"randombuttonicon",e[23])},d(e){e&&he(n)}}}function Lo(e){let n,r,i,a,o;return{c(){n=pe("jackpot-banner"),i=ge(),a=pe("jackpot-banner"),w(n,"visualstructure","typeSpread"),w(n,"lang","gr"),w(n,"title","Jackpot Cards"),w(n,"backgroundsrc","../mock_rsrc/background0.png"),w(n,"backgroundsrcmobile",""),w(n,"currency",r=e[2]||"RON"),w(n,"gameid","999"),w(n,"endpoint","https://winmasters-ro-api.stage.norway.everymatrix.com/v1/casino/jackpots"),w(n,"caticon0","../mock_rsrc/icon0.svg"),w(n,"caticon1","../mock_rsrc/icon1.svg"),w(n,"caticon2","../mock_rsrc/icon2.svg"),w(n,"caticon3","../mock_rsrc/icon3.svg"),w(a,"visualstructure","typeLeft"),w(a,"lang","en"),w(a,"title","Egypt Quest"),w(a,"backgroundsrc","../mock_rsrc/background_egypt.svg"),w(a,"backgroundsrcmobile","../mock_rsrc/background0.png"),w(a,"currency",o=e[2]||"RON"),w(a,"gameid","998"),w(a,"endpoint","https://winmasters-ro-api.stage.norway.everymatrix.com/v1/casino/jackpots"),w(a,"caticon0","../mock_rsrc/egypt_icon0.svg"),w(a,"caticon1","../mock_rsrc/egypt_icon0.svg"),w(a,"caticon2","../mock_rsrc/egypt_icon0.svg"),w(a,"caticon3","../mock_rsrc/egypt_icon0.svg"),w(a,"iconlabels","platinum, gold, silver, bronze")},m(e,t){de(e,n,t),de(e,i,t),de(e,a,t)},p(e,t){4&t[0]&&r!==(r=e[2]||"RON")&&w(n,"currency",r),4&t[0]&&o!==(o=e[2]||"RON")&&w(a,"currency",o)},d(e){e&&he(n),e&&he(i),e&&he(a)}}}function Go(e){let n;return{c(){w(n=pe("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[44]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),8192&t[1]&&w(n,"categoryid",e[44]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17])},d(e){e&&he(n)}}}function Bo(e){let n;function r(e){return e[40]?No:Ho}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Po(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17])},m(e,t){de(e,r,t),a||(o=h(i=n[52].call(null,r,(n[0],n[30],n[31],n[30]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),i&&M(i.update)&&1073741825&t[0]|1&t[1]&&i.update.call(null,(e[0],e[30],e[31],e[30]))},d(e){e&&he(r),a=!1,o()}}}function Ro(t){let i,a=t[43],o=[];for(let e=0;e<a.length;e+=1)o[e]=Oo(ho(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(216063&n[0]|4096&n[1]){let e;for(a=t[43],e=0;e<a.length;e+=1){var r=ho(t,a,e);o[e]?o[e].p(r,n):(o[e]=Oo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Ao(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17]),w(r,"enableautoscroll",n[20]),w(r,"tabsorder",n[19]),w(r,"isrecentavailable",n[22]),w(r,"istopavailable",n[21])},m(e,t){de(e,r,t),a||(o=h(i=n[60].call(null,r,n[42])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),1048576&t[0]&&w(r,"enableautoscroll",e[20]),524288&t[0]&&w(r,"tabsorder",e[19]),4194304&t[0]&&w(r,"isrecentavailable",e[22]),2097152&t[0]&&w(r,"istopavailable",e[21]),i&&M(i.update)&&2048&t[1]&&i.update.call(null,e[42])},d(e){e&&he(r),a=!1,o()}}}function Do(e){let n,r,i=e[50]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){524288&t[1]&&i!==(i=e[50]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ho(e){let n;return{c(){w(n=pe("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17])},m(e,t){de(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17])},d(e){e&&he(n)}}}function No(e){let n,r,i=e[50]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){524288&t[1]&&i!==(i=e[50]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Oo(n){let r,i,e,a,o,s;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"categoryid",i=n[135]),w(r,"categoryindex",e=n[137]),w(r,"categorygames","9"),w(r,"favorites",n[11]),w(r,"class","CategoryContainer"),B(r,"background-color",n[137]%2!=0?n[8]:"transparent"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17])},m(e,t){de(e,r,t),o||(s=h(a=n[59].call(null,r,n[135])),o=!0)},p(e,t){n=e,16&t[0]&&w(r,"session",n[4]),32&t[0]&&w(r,"userid",n[5]),1&t[0]&&w(r,"endpoint",n[0]),2&t[0]&&w(r,"datasource",n[1]),8&t[0]&&w(r,"lang",n[3]),4&t[0]&&w(r,"currency",n[2]),4096&t[1]&&i!==(i=n[135])&&w(r,"categoryid",i),2048&t[0]&&w(r,"favorites",n[11]),256&t[0]&&B(r,"background-color",n[137]%2!=0?n[8]:"transparent"),64&t[0]&&w(r,"clientstyling",n[6]),128&t[0]&&w(r,"clientstylingurl",n[7]),16384&t[0]&&w(r,"livecasino",n[14]),512&t[0]&&w(r,"visiblegames",n[9]),65536&t[0]&&w(r,"gamepagemodalurl",n[16]),131072&t[0]&&w(r,"enablecasinowinners",n[17]),a&&M(a.update)&&4096&t[1]&&a.update.call(null,n[135])},d(e){e&&he(r),o=!1,s()}}}function jo(n){let r,i,a,e,t,o,s,l=n[50]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==Ye(n[51])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==Ye(n[51])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[32]),fe(r,"class",o="PanicSection "+("PC"!==Ye(n[51])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==Ye(n[51])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[79](i)},p(e,t){524288&t[1]&&l!==(l=e[50]("casinoPage.breakButton")+"")&&ye(a,l),2&t[1]&&P(i,"PanicButtonAnimation",e[32])},d(e){e&&he(r),n[79](null)}}}function Uo(e){let n;function r(e){return e[28]?mo:po}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends r{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{font-size:Clamp(0.75rem, 3vw, 1rem);font-weight:800;white-space:normal;grid-area:title;display:flex}.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:"vendorLogo displayArea title";align-items:center}.typeSpread.mobile{grid-template-areas:"vendorLogo" "title" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-start}.typeSpread .title{justify-content:flex-end;align-items:center}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},uo,co,t,{visualstructure:0,title:1,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:2,backgroundsrcmobile:22,lang:23,clientstyling:24,clientstylingurl:25,endpoint:26,gameid:27},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get lang(){return this.$$.ctx[23]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[27]}set gameid(e){this.$$set({gameid:e}),f()}});let Wo=!1;const zo=0;function Yo(e,t,c){let R;Ve(e,Kr,e=>c(50,R=e));let A,{endpoint:u=""}=t,{datasource:a=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:d=""}=t,{categorybackground:H=""}=t,N=t["visiblegames"],{alternativesearch:O="false"}=t,{favorites:h=""}=t,{mostplayed:j=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:W="false"}=t,{mostplayedrounds:z=""}=t,{activecategory:m=""}=t,{livecasino:Y="false"}=t,{playrandomgame:V="false"}=t,{gamepagemodalurl:Z="false"}=t,{enablecasinowinners:J="true"}=t,{enablejackpotbanner:K="true"}=t,{tabsorder:X=""}=t,{enableautoscroll:q=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{randombuttonicon:te=""}=t,g=window.navigator.userAgent;A=ze(g)?"OpenGameFrame":"ShowGameModal";let f,y,b,ne,v,w,x,re,ie,ae,r,C,S,oe,$=!1,F=!1,se=!1,k="",le=!1,ce=0,i=!1,ue=!1,de=!0,he=!1,pe=!1,me=!1,ge=!1,M=!0,_=!1,fe=!1,ye=!1,E=!0,be=[],T="",ve={},we,xe,I=[],Ce=!1,L=[],Se=0,G="",$e=!1;var Fe,ke;({withLocale:Fe,translations:ke}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(_r.set(ke),We.set(Fe))}),Object.keys(mi).forEach(e=>{Tr(e,mi[e])});const Me=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(31,y=n.data.session),c(30,f=n.data.userID),f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${u}/player/${f}/favorites`,s=y,f,l=n.data.id,n.data.triggerFactor,I.includes(l)&&(I=I.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),_e(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${f}/favorites`;var i=y;f;var a=n.data.id;n.data.triggerFactor;I.includes(a)||I.push(a);let e={items:I},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),_e(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&B(u,y,f);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(L=(L=Ie(`searchedGamesWds_${p}`))?L.split(","):[]).indexOf(t)){let e;L.push(t),e=L.join(","),document.cookie=`searchedGamesWds_${p}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:G},window.location.href),P();break;case"CategoryVendors":G=n.data.categoryid,P();break;case"GameHovered":pe=!0;break;case"GameBlur":pe=!1}var e,o,s,l};let B=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),Ee(r.items)),r)).then(e=>(i&&Te(),e)).catch(e=>{console.error(e)})},_e=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,i&&Te(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const Ee=(e=[])=>(I=[],0<e.length&&e.forEach(e=>{I.push(e.id)}),I);const Te=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},Ie=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},Le=()=>{if(u&&a&&o&&(c(37,ge=!0),T.length<2)){let e=Ie("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=M||de||(c(36,me=M),c(38,M=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(u+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",Ye(g)),n.push(((e,r)=>new Promise((t,n)=>{c(27,$=!0),r&&0<=Object.keys(ve).indexOf(r)?(c(27,$=!1),t(ve[r])):fetch(e).then(e=>e.json()).then(e=>{c(27,$=!1),ve[e[0].id]=e[0],t(e[0])}).catch(e=>{c(28,F=!0),c(27,$=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(42,v=e),Pe(0,v)})}else Pe(0,{})}},Ge=()=>{c(37,ge=!1),T.length<2&&!pe&&(c(35,he=!1),c(42,v=[]),c(34,ue=!1),c(38,M=me),c(36,me=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},P=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&G&&(e[G]?c(48,Se=e[G].length):c(48,Se=0))},Be=()=>{c(66,E=!0),c(25,T=""),c(42,v=[]),c(34,ue=!1),Ge()},Pe=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Re=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ae=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},De=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},He=()=>{re&&(ie=re.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>ie||130<ie?c(41,ye=!0):c(41,ye=!1)},Ne=()=>{c(44,w=m);var e={data:{itemId:w}};switch(c(35,he=!1),c(25,T=""),we=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(38,M=!0),c(33,i=!1),c(44,w=""),c(39,_=!1);break;case"FAVORITES":c(38,M=!1),c(33,i=!0),c(39,_=!1),c(44,w="");break;case"MOSTPLAYED":"true"==j&&(c(27,$=!0),(e=>{let t=new URL(`${u}/player/${f}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),oe=Y?t:t.href,new Promise((t,n)=>{fetch(oe).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:Ye(g),rounds:10}).then(e=>{if(c(27,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{xe=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:xe},window.location.href)})}else c(40,fe=!0)}),c(44,w=""),c(38,M=!1),c(33,i=!1),c(39,_=!0));break;default:c(38,M=!1),c(33,i=!1),c(39,_=!1),c(44,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500)}},Oe=e=>{ce=0,ne=setInterval(()=>{ce+=1,c(32,le=!0),3<=ce&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(ne))},1e3)},je=e=>{ce<3&&c(32,le=!1),clearInterval(ne)};return Ze(()=>(window.addEventListener("scroll",He,!1),window.addEventListener("message",Me,!1),()=>{window.removeEventListener("scroll",He),window.removeEventListener("message",Me),c(32,le=!1),null!=b&&b.removeEventListener("mousedown",Oe),null!=b&&b.removeEventListener("touchstart",Oe),null!=b&&b.removeEventListener("mouseup",je),null!=b&&b.removeEventListener("touchend",je)})),e.$$set=e=>{"endpoint"in e&&c(0,u=e.endpoint),"datasource"in e&&c(1,a=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,d=e.clientstylingurl),"categorybackground"in e&&c(8,H=e.categorybackground),"visiblegames"in e&&c(9,N=e.visiblegames),"alternativesearch"in e&&c(10,O=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(61,j=e.mostplayed),"containermaxwidth"in e&&c(12,U=e.containermaxwidth),"lobbyid"in e&&c(62,p=e.lobbyid),"haspanicbutton"in e&&c(13,W=e.haspanicbutton),"mostplayedrounds"in e&&c(63,z=e.mostplayedrounds),"activecategory"in e&&c(64,m=e.activecategory),"livecasino"in e&&c(14,Y=e.livecasino),"playrandomgame"in e&&c(15,V=e.playrandomgame),"gamepagemodalurl"in e&&c(16,Z=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,J=e.enablecasinowinners),"enablejackpotbanner"in e&&c(18,K=e.enablejackpotbanner),"tabsorder"in e&&c(19,X=e.tabsorder),"enableautoscroll"in e&&c(20,q=e.enableautoscroll),"istopavailable"in e&&c(21,Q=e.istopavailable),"isrecentavailable"in e&&c(22,ee=e.isrecentavailable),"randombuttonicon"in e&&c(23,te=e.randombuttonicon)},e.$$.update=()=>{if(33554432&e.$$.dirty[0]&&T&&(2<=T.length?c(66,E=!0):c(66,E=!1)),33554443&e.$$.dirty[0]|24&e.$$.dirty[2])if(2<=T.length){c(35,he=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Ye(g)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+T),r=e,new Promise((t,n)=>{c(27,$=!0),fetch(r).then(e=>e.json()).then(e=>{c(27,$=!1),t(e)}).catch(e=>{c(28,F=!0),c(27,$=!1),console.error(e),n(e)})}).then(e=>{c(42,v=e),De(0,e)})}else E||Le(),de&&c(65,de=!1);var r,i,t;if((8&e.$$.dirty[0]|4&e.$$.dirty[2]&&o&&m&&Ne(),49&e.$$.dirty[0]&&s&&n&&u&&(c(29,se=!0),c(31,y=s),c(30,f=n),f&&f.length&&y&&0<y.length&&B(u,y,f)),1035&e.$$.dirty[0]&&u&&a&&o&&O)&&(u||(k="Endpoint is missing! Please provide a valid endpointURL.",c(28,F=!0),c(27,$=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",c(28,F=!0),c(27,$=!1),console.error(k)),(!o||o.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",c(28,F=!0),c(27,$=!1),console.error(k)),!F)){c(27,$=!0),"true"==h&&B(u,y,f),t=o,We.set(t);let e=new URL(u+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",Ye(g)),i=e,new Promise((t,n)=>{c(27,$=!0),fetch(i).then(e=>e.json()).then(e=>{c(27,$=!1),t(e)}).catch(e=>{c(28,F=!0),c(27,$=!1),console.error(e),n(e)})}).then(e=>{e&&(ae=e.items.filter(e=>0<e.games.total),c(43,be=ae.map(e=>e.id)),c(27,$=!1))}),"PC"!==Ye(g)&&(C.addEventListener("focusin",e=>{c(47,Ce=!0)}),C.addEventListener("focusout",e=>{c(47,Ce=!1)})),P(),(re=x)&&(ie=re.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&($e&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),$e=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,S.appendChild(e)}if(128&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,S&&setTimeout(()=>{S.appendChild(t)},1)})}16777216&e.$$.dirty[0]&&b&&(null!=b&&b.addEventListener("mousedown",Oe,!1),null!=b&&b.addEventListener("touchstart",Oe,!1),null!=b&&b.addEventListener("mouseup",je,!1),null!=b&&b.addEventListener("touchend",je,!1))},[u,a,D,o,s,n,l,d,H,N,O,h,U,W,Y,V,Z,J,K,X,q,Q,ee,te,b,T,A,$,F,se,f,y,le,i,ue,he,me,ge,M,_,fe,ye,v,be,w,x,C,Ce,Se,S,R,g,B,Le,Ge,()=>{window.postMessage({type:"scroll"},window.location.href)},Be,Re,Ae,(e,t)=>{G=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},De,j,p,z,m,de,E,function(e){Ue[e?"unshift":"push"](()=>{C=e,c(46,C)})},function(){T=this.value,c(25,T)},()=>Be(),()=>Ae(),()=>{Re()},function(e){Ue[e?"unshift":"push"](()=>{x=e,c(45,x)})},function(e){Ue[e?"unshift":"push"](()=>{C=e,c(46,C)})},function(){T=this.value,c(25,T)},()=>Be(),()=>Ae(),()=>{Re()},function(e){Ue[e?"unshift":"push"](()=>{x=e,c(45,x)})},function(e){Ue[e?"unshift":"push"](()=>{b=e,c(24,b)})},function(e){Ue[e?"unshift":"push"](()=>{S=e,c(49,S)})}]}function Vo(e,{delay:t=0,duration:n=400,easing:r=S}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function Zo(n){let r,i,a,o,s,l,c,t,u,d,h;return{c(){r=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",a=ge(),o=pe("span"),(s=pe("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(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),q(()=>n[17].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),n[16](r),c=m(r,n[17].bind(r)),u=!0,d||(h=K(o,"click",n[8]),d=!0)},p(e,t){n=e,(!u||12&t&&l!==(l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){u||(q(()=>{(t=t||we(r,Vo,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||we(r,Vo,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),d=!1,h()}}}function Jo(n){let r,i,a=n[0]&&Zo(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Zo(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function Ko(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{haspanicbutton:m="false"}=t,{gamepagemodalurl:g="false"}=t,{sessioncheck:f="true"}=t,y=window.navigator.userAgent,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,s=!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:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(v=e.data.detailsObtained)},x=e=>{var t;v&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Ze(()=>(n(3,b=ze(y)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(9,c=e.session),"userid"in e&&n(10,u=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,h=e.clientstylingurl),"endpoint"in e&&n(13,p=e.endpoint),"haspanicbutton"in e&&n(2,m=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,g=e.gamepagemodalurl),"sessioncheck"in e&&n(15,f=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&c&&u&&p&&"true"==f&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2048&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})}if(4096&e.$$.dirty&&h){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)})}},[s,l,m,b,r,i,void 0,void 0,()=>{n(0,s=!1),n(3,b=ze(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:b},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,g,f,function(e){Ue[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(6,a),n(7,o)},function(e){Ue[e?"unshift":"push"](()=>{i=e,n(5,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yo,Uo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:61,containermaxwidth:12,lobbyid:62,haspanicbutton:13,mostplayedrounds:63,activecategory:64,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,enablejackpotbanner:18,tabsorder:19,enableautoscroll:20,istopavailable:21,isrecentavailable:22,randombuttonicon:23},null,[-1,-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","enablejackpotbanner","tabsorder","enableautoscroll","istopavailable","isrecentavailable","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[61]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[62]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[63]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get activecategory(){return this.$$.ctx[64]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get enablejackpotbanner(){return this.$$.ctx[18]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get tabsorder(){return this.$$.ctx[19]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[20]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[21]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[22]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get randombuttonicon(){return this.$$.ctx[23]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ko,Jo,t,{show:0,duration:1,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:2,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[2]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Xo={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function qo(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Qo=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},es=function(e,...t){try{return qo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ts(n){let r,i,a=n[10]&&is(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),B(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),B(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),B(r,"background-size","cover")},m(e,t){de(e,r,t),ue(r,i),a&&a.m(i,null),n[82](i),n[83](r)},p(e,t){e[10]?a?a.p(e,t):((a=is(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&B(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null),n[83](null)}}}function ns(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function rs(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function is(e){let n;function r(e){return e[20]?ls:e[5]?ss:e[11]?os:as}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function as(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me(S),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[80]),K(m,"click",n[81])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&ye(g,S),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";function $(e){return e[17]?us:cs}let F=$(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),u=pe("button"),d=me(C),h=ge(),p=pe("button"),m=me(S),g=ge(),f=pe("p"),y=pe("span"),b=me(n[3]),v=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[18]),B(r,"height",n[19]),P(r,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[71](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(u,d),ue(c,h),ue(c,p),ue(p,m),ue(l,g),ue(l,f),ue(f,y),ue(y,b),n[74](f),ue(l,v),k.m(l,null),n[77](l),n[78](i),n[79](r),w||(x=[K(u,"click",n[72]),K(p,"click",n[73])],w=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(d,C),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&ye(m,S),8&t[0]&&ye(b,e[3]),F===(F=$(e))&&k?k.p(e,t):(k.d(1),(k=F(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&B(r,"width",e[18]),524288&t[0]&&B(r,"height",e[19]),131072&t[0]&&P(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),w=!1,J(x)}}}function ss(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[25]("gamePage.deposit")+"",C="true"===n[1]&&ds(n);function S(e){return e[17]?ps:hs}let $=S(n),F=$(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),u=me(x),d=ge(),h=pe("p"),p=pe("span"),m=me(n[3]),g=ge(),C&&C.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),B(r,"width",n[18]),B(r,"height",n[19]),P(r,"FullsScreenLayout",n[17])},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[62](a),ue(i,s),ue(i,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,p),ue(p,m),n[64](h),ue(l,g),C&&C.m(l,null),ue(l,f),F.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=K(c,"click",n[63]),v=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&x!==(x=e[25]("gamePage.deposit")+"")&&ye(u,x),8&t[0]&&ye(m,e[3]),"true"===e[1]?C?C.p(e,t):((C=ds(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),$===($=S(e))&&F?F.p(e,t):(F.d(1),(F=$(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&B(r,"width",e[18]),524288&t[0]&&B(r,"height",e[19]),131072&t[0]&&P(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),C&&C.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function ls(e){let n;function r(e){return e[5]?fs:e[12]?gs:ms}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function cs(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[76]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function us(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[75]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ds(n){let r,i,a,o=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[65](i)},p(e,t){33554432&t[0]&&o!==(o=e[25]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[65](null)}}}function hs(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[67]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ps(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ms(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",S=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me(S),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(r,f),ue(r,y),ue(y,b),v||(w=[K(d,"click",n[60]),K(m,"click",n[61])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&S!==(S=e[25]("gamePage.register")+"")&&ye(g,S),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function gs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,S,$=n[9].name+"",F=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",M=n[25]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me($),o=ge(),s=pe("img"),c=ge(),u=pe("div"),d=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),x=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(r,o),ue(r,s),ue(r,c),ue(r,u),ue(u,d),ue(d,h),ue(u,p),ue(u,m),ue(m,g),ue(u,f),ue(u,y),ue(y,b),ue(r,v),ue(r,w),ue(w,x),C||(S=[K(d,"click",n[57]),K(m,"click",n[58]),K(y,"click",n[59])],C=!0)},p(e,t){512&t[0]&&$!==($=e[9].name+"")&&ye(a,$),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&F!==(F=e[25]("gamePage.signIn")+"")&&ye(h,F),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&ye(g,k),33554432&t[0]&&M!==(M=e[25]("gamePage.playForFun")+"")&&ye(b,M),8&t[0]&&ye(x,e[3])},d(e){e&&he(r),C=!1,J(S)}}}function fs(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,S=n[9].name+"",$=n[25]("gamePage.deposit")+"",F=n[25]("gamePage.playNow")+"",k="true"==n[0]&&ys(n),M="true"===n[1]&&ws(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me(S),s=ge(),l=pe("img"),u=ge(),d=pe("div"),h=pe("button"),p=me($),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[3]),ce(l.src,c=n[9].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),de(e,r,t),de(e,i,t),ue(i,a),ue(a,o),ue(i,s),ue(i,l),ue(i,u),ue(i,d),ue(d,h),ue(h,p),ue(d,m),ue(d,g),ue(g,f),ue(i,y),M&&M.m(i,null),ue(i,b),ue(i,v),ue(v,w),x||(C=[K(h,"click",n[54]),K(g,"click",n[55])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=ys(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&S!==(S=e[9].name+"")&&ye(o,S),512&t[0]&&!ce(l.src,c=e[9].thumbnail)&&fe(l,"src",c),33554432&t[0]&&$!==($=e[25]("gamePage.deposit")+"")&&ye(p,$),33554432&t[0]&&F!==(F=e[25]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=ws(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),8&t[0]&&ye(w,e[3])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J(C)}}}function ys(e){let n;function r(e){return e[9].isFavored?vs:bs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function bs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),B(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function vs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),B(a=k("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(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(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),l||(c=K(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function ws(n){let r,i,a,e,t,o,s,l=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==Ye(n[26])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==Ye(n[26])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class",o="PanicSection "+("PC"!==Ye(n[26])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==Ye(n[26])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&ye(a,l),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[56](null)}}}function xs(e){let n;function r(e){return e[7]?rs:e[6]?ns:ts}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Cs(t,e,i){let R;Ve(t,Kr,e=>i(25,R=e));let A,n,r,a,D,o,s,l,c,H,N,u,d,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:$=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:z=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:M="true"}=e,{checksession:V="true"}=e,{integratedgameframedesktop:Z="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,_=!1,X=!1,q=!0,Q=!1,ee=0,E=!1,te=!1,ne=!1,T=!0,I=!1,L=window.navigator.userAgent,re=!1,ie=[],ae=!1,oe="false",se;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(_r.set(ce),We.set(le))}),Object.keys(Xo).forEach(e=>{Tr(e,Xo[e])});const ue=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i(7,q=!1),r&&0<r.length&&(i(5,_=!0),i(7,q=!1),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},de=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(13,T=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=ue(e[0])),o.launchUrl&&(i(10,E=!0),i(11,te="true"==M&&o.hasFunMode),i(12,ne="true"==M&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,X=!0)}).then(()=>{s&&(T||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",u=o.width,d=o.height),ye())}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=a&&a.addEventListener("mousedown",$e,!1),null!=a&&a.addEventListener("touchstart",$e,!1),null!=a&&a.addEventListener("mouseup",Fe,!1),null!=a&&a.addEventListener("touchend",Fe,!1)},pe=()=>{i(8,Q=!1),null!=a&&a.removeEventListener("mousedown",$e),null!=a&&a.removeEventListener("touchstart",$e),null!=a&&a.removeEventListener("mouseup",Fe),null!=a&&a.removeEventListener("touchend",Fe)},me=e=>{switch(e.data.type){case"GameLaunchID":de(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,oe="true");break;case"LaunchGameFrame":fe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":i(51,oe="false"),pe(),ze(L)?setTimeout(()=>{i(10,E="true"===J)},500):setTimeout(()=>{i(10,E="true"===Z)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(5,_=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(9,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ie=e.data.receivedFavoriteResults.items)}},ge=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!0,o))},fe=(e,r)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(9,o=ue(e[0])),o.launchUrl&&i(9,o.isFavored=(e=o,t=r,i(12,ne="true"==M&&e.hasAnonymousFunMode),i(11,te="true"==M&&t),i(10,E=!0),n=e.id,-1!==ie.findIndex(e=>e.id==n)),o)})},ye=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));u=parseInt(o.width),d=parseInt(o.height),u=t*n,O=u?Math.floor(u)+"px":"1280px",j=d?Math.floor(d)+"px":"720px",ke()},be=e=>{if(!ae)return ze(L)?ve(J):ve(Z);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};es("OPEN_GAME",e)},ve=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href)},we=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:E},window.location.href),E&&(s&&ye(),window.addEventListener("ModalSize",me,!1))},G=()=>{$&&(window.postMessage({type:$,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},B=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},xe=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S)};function Ce(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Ce,!1),document.addEventListener("mozfullscreenchange",Ce,!1),document.addEventListener("fullscreenchange",Ce,!1),document.addEventListener("MSFullscreenChange",Ce,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,I=!0)))},Se=(setInterval(()=>{i(3,A=z?Ei().format(z):Ei().format("LTS"))},100),()=>{"true"==V?qr(f,b).then(e=>{r=e.Guid,e.UserID,i(5,_=!0)},e=>{i(5,_=!1),console.error("err on session",e)}):(r=b,i(5,_=!0))}),$e=e=>{ee=0,D=setInterval(()=>{ee+=1,i(8,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Fe=e=>{ee<3&&i(8,Q=!1),clearInterval(D)},ke=()=>{var e=I?"100%":O,t=I?"100%":j,n=I||!T?"none":o.width?Math.floor(o.width)+"px":"1280px",r=I||!T?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(24,se=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),I||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return Ze(()=>(window.addEventListener("resize",we,!1),window.addEventListener("message",me,!1),ae=!!Qo(L),()=>{pe(),window.removeEventListener("resize",we),window.removeEventListener("message",me)})),t.$$set=e=>{"endpoint"in e&&i(33,f=e.endpoint),"lang"in e&&i(34,y=e.lang),"session"in e&&i(35,b=e.session),"userid"in e&&i(36,U=e.userid),"clientstyling"in e&&i(37,v=e.clientstyling),"clientstylingurl"in e&&i(38,w=e.clientstylingurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,C=e.registerurl),"depositurl"in e&&i(41,S=e.depositurl),"loginevent"in e&&i(42,$=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,k=e.depositevent),"clockformat"in e&&i(45,z=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,V=e.checksession),"integratedgameframedesktop"in e&&i(48,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,J=e.integratedgameframemobile),"gameid"in e&&i(50,K=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,We.set(e),i(20,re=ze(L))),524300&t.$$.dirty[1]&&f&&K&&y&&de(K),52&t.$$.dirty[1]&&b&&U&&f&&Se(),65556&t.$$.dirty[1]&&"false"==V&&b&&f&&Se(),64&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(128&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==oe&&a&&he(),4&t.$$.dirty[0]&&a&&he()},[W,Y,a,A,n,_,X,q,Q,o,E,te,ne,T,s,l,c,I,H,N,re,h,p,m,"",R,L,ge,be,G,B,xe,P,f,y,b,U,v,w,x,C,S,$,F,k,z,M,V,Z,J,K,oe,()=>ge(o.id),()=>ge(o.id),()=>xe(),()=>{be(o)},function(e){Ue[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>B(),()=>{be(o)},()=>G(),()=>B(),function(e){Ue[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>xe(),function(e){Ue[e?"unshift":"push"](()=>{m=e,i(23,m)})},function(e){Ue[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>P(),()=>P(),function(e){Ue[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){Ue[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){Ue[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){Ue[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>G(),()=>B(),function(e){Ue[e?"unshift":"push"](()=>{m=e,i(23,m)})},()=>P(),()=>P(),function(e){Ue[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){Ue[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){Ue[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>B(),function(e){Ue[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){Ue[e?"unshift":"push"](()=>{c=e,i(16,c)})}]}function Ss(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("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=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[15].call(r))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(i,o),ue(i,s),n[14](r),u=m(r,n[15].bind(r)),d=!0,h||(p=K(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){d||(q(()=>{(t=t||we(r,Vo,{transitionDuration:n[1]},!0)).run(1)}),d=!0)},o(e){(t=t||we(r,Vo,{transitionDuration:n[1]},!1)).run(0),d=!1},d(e){e&&he(r),n[14](null),u(),e&&t&&t.end(),h=!1,p()}}}function $s(n){let r,i,a=n[0]&&Ss(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),a&&a.m(r,null),n[16](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Ss(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[16](null)}}}function Fs(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,g=window.navigator.userAgent,f=!1;const y=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},b=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(y(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return Ze(()=>(window.addEventListener("message",b,!1),ze(g)&&n(2,f=!0),()=>{window.removeEventListener("message",b)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint),"sessioncheck"in e&&n(13,m=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&u&&p&&"true"==m&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{r.appendChild(e)})}2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,r,i,void 0,void 0,y,c,u,d,h,p,m,function(e){Ue[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Ue[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:1300px;padding:0;display:flex;flex-direction:column;justify-content:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;cursor:pointer}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Cs,xs,t,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Fs,$s,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[13]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const ks={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Ms(e,t,n){const r=e.slice();return r[32]=t[n],r}function _s(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,S,$=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[0]&&Ts(n),_=n[3]&&Gs(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me($),l=ge(),c=pe("h5"),u=me(F),d=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){de(e,r,t),ue(r,i),ue(i,a),ue(a,o),ue(o,s),ue(a,l),ue(a,c),ue(c,u),ue(r,d),ue(r,h),M&&M.m(h,null),ue(r,p),ue(r,m),_&&_.m(m,null),ue(m,g),ue(m,f),ue(f,y),C||(S=K(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&$!==($=e[6]("filters.filterModalTitle")+"")&&ye(s,$),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(u,F),e[0]?M?M.p(e,t):((M=Ts(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?_?_.p(e,t):((_=Gs(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),4&t[0]&&b!==(b="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"class",w),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),C=!1,S()}}}function Es(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ts(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ls(Ms(t,a,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].m(t,n);de(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=Ms(t,a,e);o[e]?o[e].p(r,n):(o[e]=Ls(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Is(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ls(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&Is();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){de(e,r,t),ue(r,i),ue(r,s),p&&p.m(r,null),ue(r,l),d||(h=K(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||((p=Is()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",u)},d(e){e&&he(r),p&&p.d(),d=!1,h()}}}function Gs(e){let n,r=e[3].length&&Bs(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=Bs(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Bs(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){de(e,r,t),ue(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Ps(n){let r;function i(e){return e[4]?Es:_s}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function Rs(e,t,i){let n;Ve(e,Kr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),b=[],v={},w=!1,x=(v[f]&&(v={[f]:[]}),[]);var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(_r.set(S),We.set(C))}),Object.keys(ks).forEach(e=>{Tr(e,ks[e])});const $=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&((y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,b=y[f])),!b){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+Ye(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=b;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,b=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"FiltersModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,b=y[f]);break;case"ModalLoader":i(4,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(b.push(t.id),i(2,g=!k(b,x))):(b.includes(t.id)&&i(3,b=b.filter(e=>e!==t.id)),i(2,g=!(!b.length&&k(b,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(b,x)),i(3,b=[]),null!==e&&((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Ze(()=>(window.addEventListener("message",$,!1),ze(m)&&i(1,p=!0),()=>{window.removeEventListener("message",$)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,u=e.clientstyling),"clientstylingurl"in e&&i(16,d=e.clientstylingurl)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&u){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(65536&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}},[h,p,g,b,w,r,n,F,M,_,a,o,s,l,c,u,d,e=>F(e),()=>M(),()=>_(),function(e){Ue[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:125px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Rs,Ps,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const As={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Ds(n){let r;function i(e){return e[5]?js:e[10]?Os:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){de(e,r,t),o&&o.m(r,null),n[65](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[65](null)}}}function Hs(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ns(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Os(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,S,$,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function T(e){return e[16]?Ws:Us}let I=T(n),L=I(n),G="true"==n[1]&&!n[16]&&zs();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("div"),d=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(_),x=ge(),C=pe("button"),S=me(E),$=ge(),L.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[9].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(C,"class","RegisterButton"),fe(C,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),B(p,"width",n[16]?"100%":n[17]),B(p,"height",n[16]?"100%":n[18]),B(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),B(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),P(h,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[56](o),ue(r,c),ue(r,u),de(e,d,t),de(e,h,t),ue(h,p),ue(p,m),n[57](m),ue(p,f),ue(p,y),ue(y,b),ue(b,v),ue(v,w),ue(b,x),ue(b,C),ue(C,S),ue(y,$),L.m(y,null),n[62](y),n[63](p),ue(h,F),G&&G.m(h,null),n[64](h),k||(M=[K(i,"click",n[55]),K(v,"click",n[58]),K(C,"click",n[59])],k=!0)},p(e,t){8&t[0]&&ye(l,e[3]),512&t[0]&&!ce(m.src,g=e[9].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye(S,E),I===(I=T(e))&&L?L.p(e,t):(L.d(1),(L=I(e))&&(L.c(),L.m(y,null))),196608&t[0]&&B(p,"width",e[16]?"100%":e[17]),327680&t[0]&&B(p,"height",e[16]?"100%":e[18]),68096&t[0]&&B(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&B(p,"max-height",e[16]||!e[11]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?G&&(G.d(1),G=null):G||((G=zs()).c(),G.m(h,null)),65536&t[0]&&P(h,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[56](null),e&&he(d),e&&he(h),n[57](null),L.d(),n[62](null),n[63](null),G&&G.d(),n[64](null),k=!1,J(M)}}}function js(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,b,v,w,x,C,S,$,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&Ys(n);function M(e){return e[16]?Zs:Vs}let _=M(n),E=_(n),T="true"==n[1]&&!n[16]&&Js();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),u=pe("button"),d=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),C=ge(),T&&T.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(u,"class","DepositButton"),fe(u,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[9].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[13]+"px"),fe(g,"height",b=n[14]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),B(m,"width",n[16]?"100%":n[17]),B(m,"height",n[16]?"100%":n[18]),B(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),B(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),P(p,"FullsScreenLayout",n[16])},m(e,t){de(e,r,t),ue(r,i),ue(r,a),ue(r,o),ue(o,s),ue(s,l),n[46](o),ue(r,c),ue(r,u),ue(u,d),de(e,h,t),de(e,p,t),ue(p,m),ue(m,g),n[48](g),ue(m,v),ue(m,w),k&&k.m(w,null),ue(w,x),E.m(w,null),n[52](w),n[53](m),ue(p,C),T&&T.m(p,null),n[54](p),S||($=[K(i,"click",n[45]),K(u,"click",n[47])],S=!0)},p(e,t){8&t[0]&&ye(l,e[3]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(d,F),512&t[0]&&!ce(g.src,f=e[9].launchUrl)&&fe(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&fe(g,"width",y),16384&t[0]&&b!==(b=e[14]+"px")&&fe(g,"height",b),"true"===e[0]?k?k.p(e,t):((k=Ys(e)).c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(w,null))),196608&t[0]&&B(m,"width",e[16]?"100%":e[17]),327680&t[0]&&B(m,"height",e[16]?"100%":e[18]),66048&t[0]&&B(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&B(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?T&&(T.d(1),T=null):T||((T=Js()).c(),T.m(p,null)),65536&t[0]&&P(p,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[46](null),e&&he(h),e&&he(p),n[48](null),k&&k.d(),E.d(),n[52](null),n[53](null),T&&T.d(),n[54](null),S=!1,J($)}}}function Us(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ws(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function zs(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ys(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==Ye(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==Ye(n[23])?"PanicButtonMobile":"")),P(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){de(e,r,t),ue(r,i),ue(i,a),n[49](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&P(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[49](null)}}}function Vs(n){let r,i,a;return{c(){(r=pe("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(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Zs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){de(e,r,t),i||(a=K(r,"click",n[50]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Js(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ks(e){let n;function r(e){return e[7]?Ns:e[6]?Hs:Ds}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),de(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Xs(t,e,r){let R;Ve(t,Kr,e=>r(22,R=e));let A,n,i,a,D,o,s,l,c,u,d,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:$=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:M=""}=e,{haspanicbutton:j="false"}=e,{playforfun:_="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:E=""}=e,T=!1,z=!1,Y=!0,I=!1,L=0,V=!1,Z=!1,J=!0,G=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(_r.set(q),We.set(X))}),Object.keys(As).forEach(e=>{Tr(e,As[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(11,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(9,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(5,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(10,Z="true"==_&&o.hasFunMode),"true"==_&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(6,z=!0)}).then(()=>{s&&(ee(),J||(r(17,H=o.width),r(18,N=o.height),d=o.width,h=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(u);r(13,l=parseInt(e.width.slice(0,-2))),r(14,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);d=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,d=c*n):(d=l,h=l/n),r(17,H=d?Math.floor(d)+"px":"1280px"),r(18,N=h?Math.floor(h)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&ee()},ne=()=>{$&&(window.postMessage({type:$,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},re=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},ie=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S)};function B(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||P()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",B,!1),document.addEventListener("mozfullscreenchange",B,!1),document.addEventListener("fullscreenchange",B,!1),document.addEventListener("MSFullscreenChange",B,!1));const P=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,G=!0)))},ae=setInterval(()=>{r(3,A=M?Ei().format(M):Ei().format("LTS"))},100),oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},se=e=>{L=0,D=setInterval(()=>{L+=1,r(8,I=!0),3<=L&&clearInterval(D)},1e3)},le=e=>{L<3&&r(8,I=!1),clearInterval(D)};return Ze(()=>(window.addEventListener("resize",te,!1),Qo(K),()=>{r(8,I=!1),null!=a&&a.removeEventListener("mousedown",se),null!=a&&a.removeEventListener("touchstart",se),null!=a&&a.removeEventListener("mouseup",le),null!=a&&a.removeEventListener("touchend",le),window.removeEventListener("resize",te),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"loginurl"in e&&r(35,x=e.loginurl),"registerurl"in e&&r(36,C=e.registerurl),"depositurl"in e&&r(37,S=e.depositurl),"loginevent"in e&&r(38,$=e.loginevent),"registerevent"in e&&r(39,F=e.registerevent),"depositevent"in e&&r(40,k=e.depositevent),"clockformat"in e&&r(41,M=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(44,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,We.set(e),ze(K),r(7,Y=!1)),1610612736&t.$$.dirty[0]|8192&t.$$.dirty[1]&&f&&E&&y&&Q(E),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?qr(f,b).then(e=>{i=e.Guid,e.UserID,r(5,T=!0)},e=>{r(5,T=!1),console.error("err on session",e)}):i=b),4&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",se,!1),null!=a&&a.addEventListener("touchstart",se,!1),null!=a&&a.addEventListener("mouseup",le,!1),null!=a&&a.addEventListener("touchend",le,!1))},[j,W,a,A,n,T,z,Y,I,o,Z,J,s,l,c,u,G,H,N,p,m,g,R,K,ne,re,ie,P,oe,f,y,b,O,v,w,x,C,S,$,F,k,M,_,U,E,()=>oe(),function(e){Ue[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ie(),function(e){Ue[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){Ue[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>P(),()=>P(),function(e){Ue[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){Ue[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){Ue[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>oe(),function(e){Ue[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){Ue[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>ne(),()=>re(),()=>P(),()=>P(),function(e){Ue[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){Ue[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){Ue[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){Ue[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function qs(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[19]&&el(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),u=pe("casino-page"),d=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),B(i,"height",e[39]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),w(l,"endpoint",e[32]),w(l,"datasource",e[33]),w(l,"lang",e[34]),w(l,"session",e[38]),w(l,"userid",e[2]),w(l,"sessioncheck","false"),w(l,"actionevent",e[16]),w(l,"mostplayed",e[10]),w(l,"mostplayedrounds",e[11]),w(l,"favorites",e[12]),w(l,"activecategory",e[1]),w(l,"clientstyling",e[3]),w(l,"clientstylingurl",e[4]),w(l,"containermaxwidth",e[14]),w(u,"session",e[38]),w(u,"userid",e[2]),w(u,"endpoint",e[32]),w(u,"datasource",e[33]),w(u,"lang",e[34]),w(u,"visiblegames",e[21]),w(u,"playrandomgame",e[20]),w(u,"activecategory",e[1]),w(u,"alternativesearch",e[13]),w(u,"favorites",e[12]),w(u,"mostplayedrounds",e[11]),w(u,"mostplayed",e[10]),w(u,"clientstyling",e[3]),w(u,"clientstylingurl",e[4]),w(u,"lobbyid",e[6]),w(u,"containermaxwidth",e[14]),w(u,"haspanicbutton",e[15]),w(u,"livecasino",e[17]),w(u,"currency",e[0]),w(u,"gamepagemodalurl",e[24]),w(u,"randombuttonicon",e[31]),w(u,"enablecasinowinners",e[25]),w(u,"enablejackpotbanner",e[26]),w(u,"enableautoscroll",e[28]),w(u,"tabsorder",e[27]),w(u,"isrecentavailable",e[30]),w(u,"istopavailable",e[29]),w(m,"session",e[38]),w(m,"userid",e[2]),w(m,"endpoint",e[32]),w(m,"datasource",e[33]),w(m,"lang",e[34]),w(m,"clientstylingurl",e[4]),w(m,"clientstyling",e[3]),w(p,"clientstylingurl",e[4]),w(p,"session",e[38]),w(p,"userid",e[2]),w(p,"endpoint",e[32]),w(p,"datasource",e[33]),w(p,"lang",e[34]),w(p,"sessioncheck","false"),w(p,"clientstyling",e[3]),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){de(e,n,t),ue(n,r),ue(r,i),ue(r,a),ue(r,o),ue(r,s),ue(r,l),ue(r,c),ue(r,u),ue(r,d),g&&g.m(r,null),ue(r,h),ue(r,p),ue(p,m)},p(e,t){256&t[1]&&B(i,"height",e[39]+"px"),2&t[1]&&w(l,"endpoint",e[32]),4&t[1]&&w(l,"datasource",e[33]),8&t[1]&&w(l,"lang",e[34]),128&t[1]&&w(l,"session",e[38]),4&t[0]&&w(l,"userid",e[2]),65536&t[0]&&w(l,"actionevent",e[16]),1024&t[0]&&w(l,"mostplayed",e[10]),2048&t[0]&&w(l,"mostplayedrounds",e[11]),4096&t[0]&&w(l,"favorites",e[12]),2&t[0]&&w(l,"activecategory",e[1]),8&t[0]&&w(l,"clientstyling",e[3]),16&t[0]&&w(l,"clientstylingurl",e[4]),16384&t[0]&&w(l,"containermaxwidth",e[14]),128&t[1]&&w(u,"session",e[38]),4&t[0]&&w(u,"userid",e[2]),2&t[1]&&w(u,"endpoint",e[32]),4&t[1]&&w(u,"datasource",e[33]),8&t[1]&&w(u,"lang",e[34]),2097152&t[0]&&w(u,"visiblegames",e[21]),1048576&t[0]&&w(u,"playrandomgame",e[20]),2&t[0]&&w(u,"activecategory",e[1]),8192&t[0]&&w(u,"alternativesearch",e[13]),4096&t[0]&&w(u,"favorites",e[12]),2048&t[0]&&w(u,"mostplayedrounds",e[11]),1024&t[0]&&w(u,"mostplayed",e[10]),8&t[0]&&w(u,"clientstyling",e[3]),16&t[0]&&w(u,"clientstylingurl",e[4]),64&t[0]&&w(u,"lobbyid",e[6]),16384&t[0]&&w(u,"containermaxwidth",e[14]),32768&t[0]&&w(u,"haspanicbutton",e[15]),131072&t[0]&&w(u,"livecasino",e[17]),1&t[0]&&w(u,"currency",e[0]),16777216&t[0]&&w(u,"gamepagemodalurl",e[24]),1&t[1]&&w(u,"randombuttonicon",e[31]),33554432&t[0]&&w(u,"enablecasinowinners",e[25]),67108864&t[0]&&w(u,"enablejackpotbanner",e[26]),268435456&t[0]&&w(u,"enableautoscroll",e[28]),134217728&t[0]&&w(u,"tabsorder",e[27]),1073741824&t[0]&&w(u,"isrecentavailable",e[30]),536870912&t[0]&&w(u,"istopavailable",e[29]),"true"==e[19]?g?g.p(e,t):((g=el(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),128&t[1]&&w(m,"session",e[38]),4&t[0]&&w(m,"userid",e[2]),2&t[1]&&w(m,"endpoint",e[32]),4&t[1]&&w(m,"datasource",e[33]),8&t[1]&&w(m,"lang",e[34]),16&t[0]&&w(m,"clientstylingurl",e[4]),8&t[0]&&w(m,"clientstyling",e[3]),16&t[0]&&w(p,"clientstylingurl",e[4]),128&t[1]&&w(p,"session",e[38]),4&t[0]&&w(p,"userid",e[2]),2&t[1]&&w(p,"endpoint",e[32]),4&t[1]&&w(p,"datasource",e[33]),8&t[1]&&w(p,"lang",e[34]),8&t[0]&&w(p,"clientstyling",e[3])},d(e){e&&he(n),g&&g.d()}}}function Qs(e){let n,r;return{c(){n=pe("p"),r=me(e[37]),B(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){64&t[1]&&ye(r,e[37])},d(e){e&&he(n)}}}function el(e){let n,r;return{c(){n=pe("casino-modal"),w(r=pe("casino-game-page"),"session",e[38]),w(r,"userid",e[2]),w(r,"endpoint",e[32]),w(r,"datasource",e[33]),w(r,"lang",e[34]),w(r,"loginevent",e[7]),w(r,"registerevent",e[8]),w(r,"depositevent",e[9]),w(r,"checksession","false"),w(r,"playforfun",e[18]),w(r,"favorites",e[12]),w(r,"clientstyling",e[3]),w(r,"clientstylingurl",e[4]),w(r,"clockformat",e[5]),w(r,"haspanicbutton",e[15]),w(r,"currency",e[0]),w(r,"integratedgameframedesktop",e[22]),w(r,"integratedgameframemobile",e[23]),w(n,"session",e[38]),w(n,"userid",e[2]),w(n,"endpoint",e[32]),w(n,"datasource",e[33]),w(n,"lang",e[34]),w(n,"sessioncheck","false"),w(n,"clientstyling",e[3]),w(n,"clientstylingurl",e[4]),w(n,"gamepagemodalurl",e[24]),w(n,"haspanicbutton",e[15])},m(e,t){de(e,n,t),ue(n,r)},p(e,t){128&t[1]&&w(r,"session",e[38]),4&t[0]&&w(r,"userid",e[2]),2&t[1]&&w(r,"endpoint",e[32]),4&t[1]&&w(r,"datasource",e[33]),8&t[1]&&w(r,"lang",e[34]),128&t[0]&&w(r,"loginevent",e[7]),256&t[0]&&w(r,"registerevent",e[8]),512&t[0]&&w(r,"depositevent",e[9]),262144&t[0]&&w(r,"playforfun",e[18]),4096&t[0]&&w(r,"favorites",e[12]),8&t[0]&&w(r,"clientstyling",e[3]),16&t[0]&&w(r,"clientstylingurl",e[4]),32&t[0]&&w(r,"clockformat",e[5]),32768&t[0]&&w(r,"haspanicbutton",e[15]),1&t[0]&&w(r,"currency",e[0]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),128&t[1]&&w(n,"session",e[38]),4&t[0]&&w(n,"userid",e[2]),2&t[1]&&w(n,"endpoint",e[32]),4&t[1]&&w(n,"datasource",e[33]),8&t[1]&&w(n,"lang",e[34]),8&t[0]&&w(n,"clientstyling",e[3]),16&t[0]&&w(n,"clientstylingurl",e[4]),16777216&t[0]&&w(n,"gamepagemodalurl",e[24]),32768&t[0]&&w(n,"haspanicbutton",e[15])},d(e){e&&he(n)}}}function tl(n){let r,i,a;function o(e){return e[36]?Qs:qs}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[35]?"DisplayNone":""),fe(r,"part",a=n[35]?"DisplayNone":"")},m(e,t){de(e,r,t),l.m(r,null),n[51](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))),16&t[1]&&i!==(i=e[35]?"DisplayNone":"")&&fe(r,"class",i),16&t[1]&&a!==(a=e[35]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[51](null)}}}function nl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{loginurl:b=""}=t,{registerurl:v=""}=t,{depositurl:w=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:$=""}=t,{mostplayedrounds:F=""}=t,{favorites:k=""}=t,{desktopoffset:M="0"}=t,{mobileoffset:_="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:R=""}=t,{haspanicbutton:A="false"}=t,{activecategory:T="LOBBY"}=t,{actionevent:D="CategoryChange"}=t,{livecasino:H="false"}=t,{playforfun:N="true"}=t,{gamemodal:O="true"}=t,{playrandomgame:j="false"}=t,{visiblegames:U="10"}=t,{integratedgameframedesktop:W="false"}=t,{integratedgameframemobile:z="false"}=t,{gamepagemodalurl:Y="false"}=t,{enablecasinowinners:V="true"}=t,{enablejackpotbanner:Z="true"}=t,{tabsorder:J=""}=t,{enableautoscroll:K=""}=t,{istopavailable:X=""}=t,{isrecentavailable:q=""}=t,{randombuttonicon:Q=""}=t,I=!1,L=!1,G="Loading, please wait ...",B="",ee=window.navigator.userAgent,P=0,te=!1;var ne,re;({withLocale:ne,translations:re}={withLocale:"en",translations:{}}),We.subscribe(e=>{null==e&&(_r.set(re),We.set(ne))});const ie=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(te=e.data.scrollTop)&&(P||n(39,P="PC"===Ye(ee)?parseInt(M):parseInt(_)),window.scrollTo({top:P}));break;case"UserSessionID":n(38,B=e.data.session),e.data.userID;break;case"CategoryChange":n(1,T=e.data.itemId)}};return Ze(()=>(window.addEventListener("message",ie,!1),n(39,P="PC"===Ye(ee)?parseInt(M):parseInt(_)),()=>{window.removeEventListener("message",ie)})),e.$$set=e=>{"endpoint"in e&&n(41,s=e.endpoint),"datasource"in e&&n(42,l=e.datasource),"lang"in e&&n(43,c=e.lang),"session"in e&&n(44,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(45,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"loginurl"in e&&n(46,b=e.loginurl),"registerurl"in e&&n(47,v=e.registerurl),"depositurl"in e&&n(48,w=e.depositurl),"loginevent"in e&&n(7,x=e.loginevent),"registerevent"in e&&n(8,C=e.registerevent),"depositevent"in e&&n(9,S=e.depositevent),"mostplayed"in e&&n(10,$=e.mostplayed),"mostplayedrounds"in e&&n(11,F=e.mostplayedrounds),"favorites"in e&&n(12,k=e.favorites),"desktopoffset"in e&&n(49,M=e.desktopoffset),"mobileoffset"in e&&n(50,_=e.mobileoffset),"alternativesearch"in e&&n(13,E=e.alternativesearch),"containermaxwidth"in e&&n(14,R=e.containermaxwidth),"haspanicbutton"in e&&n(15,A=e.haspanicbutton),"activecategory"in e&&n(1,T=e.activecategory),"actionevent"in e&&n(16,D=e.actionevent),"livecasino"in e&&n(17,H=e.livecasino),"playforfun"in e&&n(18,N=e.playforfun),"gamemodal"in e&&n(19,O=e.gamemodal),"playrandomgame"in e&&n(20,j=e.playrandomgame),"visiblegames"in e&&n(21,U=e.visiblegames),"integratedgameframedesktop"in e&&n(22,W=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(23,z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(24,Y=e.gamepagemodalurl),"enablecasinowinners"in e&&n(25,V=e.enablecasinowinners),"enablejackpotbanner"in e&&n(26,Z=e.enablejackpotbanner),"tabsorder"in e&&n(27,J=e.tabsorder),"enableautoscroll"in e&&n(28,K=e.enableautoscroll),"istopavailable"in e&&n(29,X=e.istopavailable),"isrecentavailable"in e&&n(30,q=e.isrecentavailable),"randombuttonicon"in e&&n(31,Q=e.randombuttonicon)},e.$$.update=()=>{if(4096&e.$$.dirty[1]&&c&&Qr(c),4&e.$$.dirty[0]|9216&e.$$.dirty[1]&&u&&d&&s&&qr(s,u).then(e=>{n(38,B=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),5120&e.$$.dirty[0]|7168&e.$$.dirty[1]&&s&&l&&c&&$&&k&&(s||(n(37,G="Endpoint is missing! Please provide a valid endpointURL."),n(36,L=!0),console.error(G)),l||(n(37,G="Datasource is missing! Please provide a valid datasource."),n(36,L=!0),console.error(G)),(!c||c.length<2)&&(n(37,G="Language is missing! Please provide a valid language (alpha2code)"),n(36,L=!0),console.error(G)),Qr(c),n(32,r=s),n(33,i=l),n(34,a=c),n(36,L=!1)),16384&e.$$.dirty[1]&&h&&n(38,B=h),8&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]&&m){n(35,I=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(35,I=!1)},500))})}},[y,T,d,p,m,g,f,x,C,S,$,F,k,E,R,A,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,r,i,a,I,L,G,B,P,o,s,l,c,u,h,b,v,w,M,_,function(e){Ue[e?"unshift":"push"](()=>{o=e,n(40,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Xs,Ks,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),f()}});class rl extends r{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",Ce(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},nl,tl,t,{endpoint:41,datasource:42,lang:43,session:44,userid:2,opsession:45,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,loginurl:46,registerurl:47,depositurl:48,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:49,mobileoffset:50,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:1,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframedesktop:22,integratedgameframemobile:23,gamepagemodalurl:24,enablecasinowinners:25,enablejackpotbanner:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,randombuttonicon:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","enablecasinowinners","enablejackpotbanner","tabsorder","enableautoscroll","istopavailable","isrecentavailable","randombuttonicon"]}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[42]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[43]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[45]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get loginurl(){return this.$$.ctx[46]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[47]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[48]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[7]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[8]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[9]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[10]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[11]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[49]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[50]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[18]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[19]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[20]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[21]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[25]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get enablejackpotbanner(){return this.$$.ctx[26]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get randombuttonicon(){return this.$$.ctx[31]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",rl),rl});
|
|
33
33
|
//# sourceMappingURL=casino-lobby.js.map
|