@everymatrix/casino-lobby 0.0.333 → 0.0.334
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 +3 -3
- package/dist/casino-lobby.js.map +1 -1
- package/index.html +8 -2
- package/package.json +2 -2
- package/src/CasinoLobby.svelte +4 -0
package/dist/casino-lobby.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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(a){"use strict";(e=a)&&"object"==typeof e&&0 in e;function Z(){}const F=e=>e;function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(a){"use strict";(e=a)&&"object"==typeof e&&0 in e;function Z(){}const F=e=>e;function $(e){return e()}function M(){return Object.create(null)}function J(e){e.forEach($)}function k(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let o;function K(e,t){return(o=o||document.createElement("a")).href=t,e===o.href}function d(e,...t){if(null==e)return Z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ne(e,t,n){e.$$.on_destroy.push(d(t,n))}function h(e){return e&&k(e.destroy)?e.destroy:Z}var e="undefined"!=typeof window;let _=e?()=>window.performance.now():()=>Date.now(),E=e?e=>requestAnimationFrame(e):Z;const I=new Set;function G(t){I.forEach(e=>{e.c(t)||(I.delete(e),e.f())}),0!==I.size&&E(G)}function X(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 q(e,t,n){e.insertBefore(t,n||null)}function Q(e){e.parentNode.removeChild(e)}function m(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function ee(e){return document.createElement(e)}function b(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function te(e){return document.createTextNode(e)}function ne(){return te(" ")}function c(){return te("")}function re(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function ie(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:ie(e,t,n)}function ae(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function T(e,t){e.value=null==t?"":t}function P(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}let p;function R(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=ee("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=re(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=re(n.contentWindow,"resize",t)}),X(e,n),()=>{(r||i&&n.contentWindow)&&i(),Q(n)}}function B(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=b(t.nodeName):this.e=ee(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)q(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Q)}}function D(e){const t={};for(const n of e)t[n.name]=n.value;return t}const H=new Map;let N,O=0;function U(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=G(e),{stylesheet:m,rules:g}=H.get(p)||(s=p,l={stylesheet:(l=e,f=ee("style"),X((l=G(l)).head||l,f),f.sheet),rules:{}},H.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`,O+=1,h}function z(e){N=e}function Ne(e){!function(){if(N)return N;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const j=[],Be=[],Y=[],W=[],V=Promise.resolve();let oe=!1;function se(){oe||(oe=!0,V.then(f))}function we(){return se(),V}function le(e){Y.push(e)}const ce=new Set;let ue,de=0;function f(){const e=N;do{for(;de<j.length;){const e=j[de];de++,z(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(le))}for(z(null),j.length=0,de=0;Be.length;)Be.pop()();for(let e=0;e<Y.length;e+=1){const r=Y[e];ce.has(r)||(ce.add(r),r())}}while(Y.length=0,j.length);for(;W.length;)W.pop()();oe=!1,ce.clear(),z(e)}function he(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 pe=new Set;let me;function ge(){me={r:0,c:[],p:me}}function fe(){me.r||J(me.c),me=me.p}function ye(e,t){e&&e.i&&(pe.delete(e),e.i(t))}function ve(e,t,n,r){e&&e.o&&(pe.has(e)||(pe.add(e),me.c.push(()=>{pe.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const be={duration:0};function xe(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(", "),(O-=i)||E(()=>{O||(H.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),H.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=F,tick:i=Z,css:a}=c||be,o={start:_()+t,b:e};if(e||((o.group=me).r+=1),!d&&!h){a&&(m(),p=U(l,u,e,n,t,r,a)),e&&i(0,1),d=g(o,n),le(()=>he(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(d=g(h,n),h=null,he(l,d.b,"start"),a&&(m(),p=U(l,u,d.b,d.duration,0,r,c.css))),d)if(e>=d.end)i(u=d.b,1-u),he(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===I.size&&E(L),void new Promise(e=>{I.add(t={c:s,f:e})})}}h=o}return{run(e){k(c)?(ue||(ue=Promise.resolve()).then(()=>{ue=null}),ue.then(()=>{c=c(),r(e)})):r(e)},end(){m(),d=h=null}}}function Ce(e,t){e.d(1),t.delete(e.key)}function Se(r,e,t,n,i,a,o,s=[-1]){var l=N;z(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:$(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:$(),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]&&(j.push(e),se(),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(Q)}else c.fragment&&c.fragment.c();e.intro&&ye(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||le(()=>{var e=p.map(M).filter(k);m?m.push(...e):J(e),d.$$.on_mount=[]}),g.forEach(le)}f()}z(l)}let n;"function"==typeof HTMLElement&&(n=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(M).filter(k);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 Fe,Me,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,$e="URLSearchParams"in s,ke="Symbol"in s&&"iterator"in Symbol,_e="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ee="FormData"in s,Ie="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 Ge(e){return e="string"!=typeof e?String(e):e}function Te(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 Pe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Oe(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ue(e){var t=new FileReader,n=Oe(t);return t.readAsArrayBuffer(e),n}function ze(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function je(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:_e&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ee&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:$e&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ie&&_e&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ze(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ie&&(ArrayBuffer.prototype.isPrototypeOf(e)||Me(e))?this._bodyArrayBuffer=ze(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):$e&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_e&&(this.blob=function(){var e=Pe(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?Pe(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(Ue)}),this.text=function(){var e,t,n=Pe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Oe(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)},Ee&&(this.formData=function(){return this.text().then(Ve)}),this.json=function(){return this.text().then(JSON.parse)},this}Ie&&(Fe=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Me=ArrayBuffer.isView||function(e){return e&&-1<Fe.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Le(e),t=Ge(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)]=Ge(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)}),Te(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Te(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Te(n)},ke&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Ye=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function We(e,t){if(!(this instanceof We))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 We){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<Ye.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 Ve(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 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.');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)}We.prototype.clone=function(){return new We(this,{body:this._bodyInit})},je.call(We.prototype),je.call(Ze.prototype),Ze.prototype.clone=function(){return new Ze(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ze.error=function(){var e=new Ze(null,{status:0,statusText:""});return e.type="error",e};var Je=[301,302,303,307,308],Ke=(Ze.redirect=function(e,t){if(-1===Je.indexOf(t))throw new RangeError("Invalid status code");return new Ze(null,{status:t,headers:{location:e}})},s.DOMException);try{new Ke}catch(a){(Ke=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ke.prototype.constructor=Ke}function Xe(r,o){return new Promise(function(i,e){var t=new We(r,o);if(t.signal&&t.signal.aborted)return e(new Ke("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 Ze(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 Ke("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&&(_e?a.responseType="blob":Ie&&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,Ge(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 Ln(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Xe.polyfill=!0,s.fetch||(s.fetch=Xe,s.Headers=l,s.Request=We,s.Response=Ze);var qe=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 et(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 tt(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 nt(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 rt(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 it(e){return"function"==typeof e}function at(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 ot=at(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 st(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}ut.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=tt(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(it(a))try{a()}catch(e){i=e instanceof ot?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=tt(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{ht(u)}catch(e){i=null!=i?i:[],e instanceof ot?i=rt(rt([],nt(i)),nt(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 ot(i)}},ut.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ht(e);else{if(e instanceof ut){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},ut.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ut.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ut.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&st(t,e)},ut.prototype.remove=function(e){var t=this._finalizers;t&&st(t,e),e instanceof ut&&e._removeParent(this)},ut.EMPTY=((e=new ut).closed=!0,e);var lt=ut,ct=lt.EMPTY;function ut(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function dt(e){return e instanceof lt||e&&"closed"in e&&it(e.remove)&&it(e.add)&&it(e.unsubscribe)}function ht(e){it(e)?e():e.unsubscribe()}var pt=void 0,mt=!1,gt=!1,ft={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ft.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,rt([e,t],nt(n))):setTimeout.apply(void 0,rt([e,t],nt(n)))},clearTimeout:function(e){var t=ft.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function yt(){}var vt=null;function wt(e){if(mt){var t=!vt;if(t&&(vt={errorThrown:!1,error:null}),e(),t){var t=vt,n=t.errorThrown,t=t.error;if(vt=null,n)throw t}}else e()}et(St,bt=lt),St.create=function(e,t,n){return new kt(e,t,n)},St.prototype.next=function(e){this.isStopped||this._next(e)},St.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},St.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},St.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,bt.prototype.unsubscribe.call(this),this.destination=null)},St.prototype._next=function(e){this.destination.next(e)},St.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},St.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var bt,xt=St,Ct=Function.prototype.bind;function St(e){var t=bt.call(this)||this;return t.isStopped=!1,e?dt(t.destination=e)&&e.add(t):t.destination=Lt,t}function Ft(e,t){return Ct.call(e,t)}Et.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){It(e)}},Et.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){It(e)}else It(e)},Et.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){It(e)}};var Mt,$t=Et,kt=(et(_t,Mt=xt),_t);function _t(e,t,n){var r=Mt.call(this)||this,n=it(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&>?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Ft(e.next,t),error:e.error&&Ft(e.error,t),complete:e.complete&&Ft(e.complete,t)}):e;return r.destination=new $t(n),r}function Et(e){this.partialObserver=e}function It(e){var t=e;ft.setTimeout(function(){throw t})}var Lt={closed:!0,next:yt,error:function(e){throw e},complete:yt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function Gt(e){return e}Pt.prototype.lift=function(e){var t=new Pt;return t.source=this,t.operator=e,t},Pt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof xt||r&&it(r.next)&&it(r.error)&&it(r.complete)&&dt(r)?e:new kt(e,t,n);return wt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Pt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Pt.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)})},Pt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Pt.prototype[e]=function(){return this},Pt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Gt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Pt.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)})})},Pt.create=function(e){return new Pt(e)};var Tt=Pt;function Pt(e){e&&(this._subscribe=e)}function Bt(e){return null!=(e=null!=e?e:pt)?e:Promise}var Rt,At,Dt,Ht=at(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(et(r,Dt=Tt),r.prototype.lift=function(e){var t=new Nt(this,this);return t.operator=e,t},r.prototype._throwIfClosed=function(){if(this.closed)throw new Ht},r.prototype.next=function(i){var a=this;wt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=tt(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}}}})},r.prototype.error=function(t){var n=this;wt(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)}})},r.prototype.complete=function(){var t=this;wt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),Dt.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?ct:(this.currentObservers=null,i.push(e),new lt(function(){t.currentObservers=null,st(i,e)}))},r.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},r.prototype.asObservable=function(){var e=new Tt;return e.source=this,e},r.create=function(e,t){return new Nt(e,t)},r),Nt=(et(jt,At=e),jt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},jt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},jt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},jt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ct},jt),Ot={now:function(){return(Ot.delegate||Date).now()},delegate:void 0},Ut=(et(zt,Rt=e),zt.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(),Rt.prototype.next.call(this,e)},zt.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},zt.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)}},zt);function zt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ot);var r=Rt.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 jt(e,t){var n=At.call(this)||this;return n.destination=e,n.source=t,n}function r(){var e=Dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Yt=[],Wt={};const Vt=[];function Zt(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!Vt.length;for(const e of o)e[1](),Vt.push(e,r);if(e){for(let e=0;e<Vt.length;e+=2)Vt[e][0](Vt[e+1]);Vt.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 Jt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Zt(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=k(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 Kt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Xt));var t}var Xt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function qt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?rn(Array.isArray(e)?[]:{},e,t):e}function Qt(e,t,n){return e.concat(t).map(function(e){return qt(e,n)})}function en(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function tn(e,t){try{return t in e}catch(e){return!1}}function nn(r,i,a){var o={};return a.isMergeableObject(r)&&en(r).forEach(function(e){o[e]=qt(r[e],a)}),en(i).forEach(function(t){var e,n;(!tn(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(tn(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return rn;e=e.customMerge(t);return"function"==typeof e?e:rn}(a)(r[t],i[t],a):o[t]=qt(i[t],a))}),o}function rn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Qt,n.isMergeableObject=n.isMergeableObject||Kt,n.cloneUnlessOtherwiseSpecified=qt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):nn(e,t,n):qt(t,n)}rn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return rn(e,t,n)},{});throw new Error("first argument should be an array")};var an=rn,on=function(e,t){return(on=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 sn(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}on(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,ln,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 cn(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 un(e){return e.type===y.literal}function dn(e){return e.type===y.number}function hn(e){return e.type===y.date}function pn(e){return e.type===y.time}function mn(e){return e.type===y.select}function gn(e){return e.type===y.plural}function fn(e){return e.type===y.tag}function yn(e){return e&&"object"==typeof e&&e.type===ln.number}function vn(e){return e&&"object"==typeof e&&e.type===ln.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=ln=ln||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wn=/(?:[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,xn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Cn=/^(@+)?(\+|#+)?[rs]?$/g,Sn=/(\*)(0+)|(#+)(0+)|(0+)/g,Fn=/^(0+)$/;function Mn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(Cn,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 $n(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function kn(e){return $n(e)||{}}function _n(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(Sn,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(Fn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(xn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(xn,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),Mn(a)))}else Cn.test(i.stem)?o=v(v({},o),Mn(i.stem)):((a=$n(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)),!Fn.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 En={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 In=new RegExp("^".concat(e.source,"*")),Gn=new RegExp("".concat(e.source,"*$"));function w(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Tn=!!String.fromCodePoint,Pn=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Rn=!!String.prototype.trimStart,An=!!String.prototype.trimEnd,Dn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Hn=!0;try{Hn="a"===(null==(or=Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:or[0])}catch(a){Hn=!1}var Nn,On,Un=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},zn=Tn?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},jn=Pn?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},Yn=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},Wn=Rn?function(e){return e.trimStart()}:function(e){return e.replace(In,"")},Vn=An?function(e){return e.trimEnd()}:function(e){return e.replace(Gn,"")};function Zn(e,t){return new RegExp(e,t)}On=Hn?(Nn=Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Nn.lastIndex=t,null!=(t=Nn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Yn(e,t);if(void 0===i||Xn(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 zn.apply(void 0,r)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.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,w(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Kn(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:w(a,this.clonePosition())})}}}return{val:r,err:null}},i.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:w(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()||!Kn(this.char()))return this.error(g.INVALID_TAG,w(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,w(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:w(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,w(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,w(n,this.clonePosition()))}return this.error(g.INVALID_TAG,w(n,this.clonePosition()))},i.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())},i.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=w(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Kn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.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 zn.apply(void 0,t)},i.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(),zn(n))},i.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,w(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,w(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:w(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,w(n,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=On(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:w(e,this.clonePosition())}},i.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,w(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=Vn(m.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:w(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=w(r,this.clonePosition());if(l&&Un(null==l?void 0:l.style,"::",0)){var d=Wn(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),(En[t||""]||En[n||""]||En["".concat(n,"-001")]||En["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:ln.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(wn,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,w(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,w(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=w(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:jn(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:jn(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,w(a,s))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.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,w(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}},i.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:ln.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_n(n):{}},err:null}},i.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=w(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,w(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:w(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,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:a,err:null}},i.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=w(r,this.clonePosition());return i?Dn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Yn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(Un(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.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)},i.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}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xn(this.char());)this.bump()},i.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 Jn=i;function i(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 Kn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Xn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qn(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Jn(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,mn(e)||gn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else dn(e)&&yn(e.style)||(hn(e)||pn(e))&&vn(e.style)?delete e.style.location:fn(e)&&n(e.children)})}(e.val),e.val}function Qn(e,t){var n=t&&t.cache?t.cache:sr,r=t&&t.serializer?t.serializer:rr;return(t&&t.strategy?t.strategy:function(e,t){return nr(e,this,1===e.length?er:tr,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function er(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 tr(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 nr(e,t,n,r,i){return n.bind(t,e,r,i)}var rr=function(){return JSON.stringify(arguments)};function ir(){this.cache=Object.create(null)}ir.prototype.get=function(e){return this.cache[e]},ir.prototype.set=function(e,t){this.cache[e]=t};var ar,or,sr={create:function(){return new ir}},lr={variadic:function(e,t){return nr(e,this,tr,t.cache.create(),t.serializer)},monadic:function(e,t){return nr(e,this,er,t.cache.create(),t.serializer)}};(or=ar=ar||{}).MISSING_VALUE="MISSING_VALUE",or.INVALID_VALUE="INVALID_VALUE",or.MISSING_INTL_API="MISSING_INTL_API";sn(br,hr=Error),br.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var C,cr,ur,dr,hr,pr=br,mr=(sn(wr,dr=pr),wr),gr=(sn(vr,ur=pr),vr),fr=(sn(yr,cr=pr),yr);function yr(e,t){return cr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ar.MISSING_VALUE,t)||this}function vr(e,t,n){return ur.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ar.INVALID_VALUE,n)||this}function wr(e,t,n,r){return dr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ar.INVALID_VALUE,r)||this}function br(e,t,n){e=hr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function xr(e,t,n,r,i,a,o){if(1===e.length&&un(e[0]))return[{type:C.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(un(u))s.push({type:C.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:C.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new fr(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?C.literal:C.object,value:d});else if(hn(u)){var h="string"==typeof u.style?r.date[u.style]:vn(u.style)?u.style.parsedOptions:void 0;s.push({type:C.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(pn(u))h="string"==typeof u.style?r.time[u.style]:vn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:C.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(dn(u))(h="string"==typeof u.style?r.number[u.style]:yn(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:C.literal,value:n.getNumberFormat(t,h).format(d)});else{if(fn(u)){var p=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new gr(m,"function",o);m=g(xr(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?C.literal:C.object,value:e}}))}if(mn(u)){if(!(f=u.options[d]||u.options.other))throw new mr(u.value,d,Object.keys(u.options),o);s.push.apply(s,xr(f.value,t,n,r,i))}else if(gn(u)){if(!(f=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new pr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ar.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 mr(u.value,d,Object.keys(u.options),o);s.push.apply(s,xr(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===C.literal&&t.type===C.literal?n.value+=t.value:e.push(t),e},[])}function Cr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=C=C||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(u,"defaultLocale",{get:function(){return u.memoizedDefaultLocale||(u.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),u.memoizedDefaultLocale},enumerable:!1,configurable:!0}),u.memoizedDefaultLocale=null,u.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])},u.__parse=qn,u.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 Sr=u;function u(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=u.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===C.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 xr(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=u.resolveLocale(t),"string"==typeof e){if(this.message=e,!u.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=u.__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=u.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,cn([void 0],t,!1)))},{cache:Cr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:lr.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,cn([void 0],t,!1)))},{cache:Cr(t.dateTime),strategy:lr.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,cn([void 0],t,!1)))},{cache:Cr(t.pluralRules),strategy:lr.variadic})}}const Fr={},Mr=(e,t,n)=>n&&(t in Fr||(Fr[t]={}),e in Fr[t]||(Fr[t][e]=n),n),$r=(t,n)=>{if(null!=n){if(n in Fr&&t in Fr[n])return Fr[n][t];var r=Ur(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Er(e))return null;e=function(e){return kr[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 Mr(t,n,i)}}};let kr;const _r=Zt({});function Er(e){return e in kr}function Ir(t,...n){delete Fr[t],_r.update(e=>(e[t]=an.all([e[t]||{},...n]),e))}Jt([_r],([e])=>Object.keys(e)),_r.subscribe(e=>kr=e);const Lr={};function Gr(e){return Lr[e]}function Tr(e){return null!=e&&Ur(e).some(e=>{return null==(e=Gr(e))?void 0:e.size})}const Pr={};function Br(e){if(!Tr(e))return e in Pr?Pr[e]:Promise.resolve();const t=Ur(e).map(e=>{var t=Gr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Pr[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 Lr[t].delete(n),0===Lr[t].size&&delete Lr[t],e().then(e=>e.default||e)}));return n.then(e=>Ir(r,...e))}})).then(()=>{if(Tr(e))return Br(e);delete Pr[e]}),Pr[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=Zt(!1);let Hr;const Nr=Zt(null);function Or(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Ur(e,t=Ar.fallbackLocale){e=Or(e);return t?[...new Set([...e,...Or(t)])]:e}function zr(){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 Re=Object.assign(Object.assign({},Nr),{set:t=>{if(t&&function(e){if(null!=e){var t=Ur(e);for(let e=0;e<t.length;e++){var n=t[e];if(Er(n))return n}}}(t)&&Tr(t)){var n=Ar["loadingDelay"];let e;return"undefined"!=typeof window&&null!=zr()&&n?e=window.setTimeout(()=>Dr.set(!0),n):Dr.set(!0),Br(t).then(()=>{Nr.set(t)}).finally(()=>{clearTimeout(e),Dr.set(!1)})}return Nr.set(t)}}),jr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Yr=(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.`)},Wr=jr(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=Yr("number",n)),new Intl.NumberFormat(t,e)}),Vr=jr(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=Yr("date",n):0===Object.keys(e).length&&(e=Yr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=jr(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=Yr("time",n):0===Object.keys(e).length&&(e=Yr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=jr((e,t=zr())=>new Sr(e,t,Ar.formats,{ignoreTag:Ar.ignoreTag})),Kr=Jt([Re,_r],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=zr(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=$r(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}),Ae=(Jt([Re],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Jt([Re],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Rr(e,["locale"]);return Vr(Object.assign({locale:t},e))})(t).format(e)),Jt([Re],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Rr(e,["locale"]);return Wr(Object.assign({locale:t},e))})(t).format(e)),Jt([Re,_r],()=>(e,t=zr())=>$r(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Yt.indexOf(e)&&(t=new Ut(t),Wt[e]=t,Yt.push(e)),Wt[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))),De=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 Ae(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),qe(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qr(e){Re.set(e)}const ei={en:{headerItem:{login:"Login",register:"Register",deposit:"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[31]=t[n],r[33]=n,r}function ni(t){let r,i=[],n=new Map,a=t[6];const o=e=>e[31].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);q(t,r,n)},p(e,t){339&t[0]&&(a=e[6],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 w=new Set,b=new Set;function x(e){ye(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)||w.has(i)?x(n):b.has(a)?h--:v.get(i)>v.get(a)?(b.add(i),x(n)):(w.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,Ce,ai,r,ti))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&Q(r)}}}function ri(e){let n,r,i,a=e[31].name+"",o="FAVORITES"===e[31].id?"("+e[0]+")":"";return{c(){n=te(a),r=ne(),i=te(o)},m(e,t){q(e,n,t),q(e,r,t),q(e,i,t)},p(e,t){64&t[0]&&a!==(a=e[31].name+"")&&ae(n,a),65&t[0]&&o!==(o="FAVORITES"===e[31].id?"("+e[0]+")":"")&&ae(i,o)},d(e){e&&Q(n),e&&Q(r),e&&Q(i)}}}function ii(e){let n,r,i=e[31].label+"";return{c(){n=ee("a"),r=te(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){64&t[0]&&i!==(i=e[31].label+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ai(e,n){let r,i,a,o;function s(e){return"headerMain"===e[1]?ii:ri}let l=s(n),c=l(n);function u(...e){return n[21](n[31],n[33],...e)}return{key:e,first:null,c(){r=ee("li"),c.c(),i=ne(),ie(r,"class","CarouselItem"),ie(r,"part","CarouselItem"),B(r,"active",n[4]==n[33]),this.first=r},m(e,t){q(e,r,t),c.m(r,null),X(r,i),a||(o=re(r,"click",u),a=!0)},p(e,t){l===(l=s(n=e))&&c?c.p(n,t):(c.d(1),(c=l(n))&&(c.c(),c.m(r,i))),80&t[0]&&B(r,"active",n[4]==n[33])},d(e){e&&Q(r),c.d(),a=!1,o()}}}function oi(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=0<n[6].length&&ni(n);return{c(){r=ee("div"),i=ee("div"),(a=ee("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=ne(),s=ee("ul"),y&&y.c(),l=ne(),(c=ee("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,ie(a,"class","CarouselLeftArrow"),ie(a,"part","CarouselLeftArrow"),ie(s,"class","CarouselItems"),ie(s,"part","CarouselItems"),ie(c,"class","CarouselRightArrow"),ie(c,"part","CarouselRightArrow"),ie(i,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),ie(i,"part",d="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),ie(i,"style",h="headerMain"===n[1]?"max-width: auto":`max-width: ${n[2]}px`),ie(r,"class",p="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":"")),ie(r,"part",m="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),y&&y.m(s,null),n[22](s),X(i,l),X(i,c),n[24](r),g||(f=[re(a,"click",n[20]),re(c,"click",n[23])],g=!0)},p(e,t){0<e[6].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[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&ie(i,"class",u),2&t[0]&&d!==(d="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&ie(i,"part",d),6&t[0]&&h!==(h="headerMain"===e[1]?"max-width: auto":`max-width: ${e[2]}px`)&&ie(i,"style",h),2&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&ie(r,"class",p),2&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&ie(r,"part",m)},i:Z,o:Z,d(e){e&&Q(r),y&&y.d(),n[22](null),n[24](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:{}}),Re.subscribe(e=>{null==e&&(_r.set(f),Re.set(g))}),Object.keys(ei).forEach(e=>{Ir(e,ei[e])});let y,v,w,b=window.navigator.userAgent,x="PC"!==De(b),C=[],S=(e,t)=>{n(4,v=t),n(4,v),window.postMessage({type:i,itemId:e.id,index:t,item:e},window.location.href)},F=()=>{y.scrollBy({left:-250,behavior:"smooth"})},M=()=>{y.scrollBy({left:250,behavior:"smooth"})};const $=e=>{"SliderData"==e.data.type&&e.data.identity==c&&n(6,C=e.data.data)};return Ne(()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),t.$$set=e=>{"onclickeventname"in e&&n(11,r=e.onclickeventname),"actionevent"in e&&n(12,i=e.actionevent),"favoritesnumber"in e&&n(0,a=e.favoritesnumber),"location"in e&&n(1,o=e.location),"clientstyling"in e&&n(13,s=e.clientstyling),"clientstylingurl"in e&&n(14,l=e.clientstylingurl),"identity"in e&&n(15,c=e.identity),"containermaxwidth"in e&&n(2,u=e.containermaxwidth),"isprimarymenu"in e&&n(16,d=e.isprimarymenu),"issecondarymenu"in e&&n(17,h=e.issecondarymenu),"lang"in e&&n(18,p=e.lang),"activeindex"in e&&n(19,m=e.activeindex)},t.$$.update=()=>{if(524288&t.$$.dirty[0]&&m&&n(4,v=parseInt(m,10)),8192&t.$$.dirty[0]&&s){let e=document.createElement("style");e.innerHTML=s,setTimeout(()=>{w.appendChild(e)})}if(16384&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;262144&t.$$.dirty[0]&&p&&(e=p,Re.set(e))},[a,o,u,y,v,w,C,x,S,F,M,r,i,s,l,c,d,h,p,m,()=>F(),(e,t,n)=>S(e,t),function(e){Be[e?"unshift":"push"](()=>{y=e,n(3,y)})},()=>M(),function(e){Be[e?"unshift":"push"](()=>{w=e,n(5,w)})}]}function li(n){let r,i,a,o;return{c(){r=ee("div"),x(i=ee("casino-slider"),"identity",hi),x(i,"favoritesnumber",n[8]),x(i,"clientstyling",n[0]),x(i,"clientstylingurl",n[1]),x(i,"containermaxwidth",n[2]),x(i,"activeindex",n[5]),x(i,"actionevent",n[3]),ie(r,"class","CasinoCategoriesContainer"),ie(r,"part","CasinoCategoriesContainer")},m(e,t){q(e,r,t),X(r,i),a||(o=h(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&x(i,"favoritesnumber",e[8]),1&t[0]&&x(i,"clientstyling",e[0]),2&t[0]&&x(i,"clientstylingurl",e[1]),4&t[0]&&x(i,"containermaxwidth",e[2]),32&t[0]&&x(i,"activeindex",e[5]),8&t[0]&&x(i,"actionevent",e[3])},d(e){e&&Q(r),a=!1,o()}}}function ci(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ui(e){let n;return{c(){ie(n=ee("div"),"class","CasinoCategoriesLoading"),ie(n,"part","CasinoCategoriesLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(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=ee("div"),o.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&Q(r),o.d(),n[21](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},si,oi,t,{onclickeventname:11,actionevent:12,favoritesnumber:0,location:1,clientstyling:13,clientstylingurl:14,identity:15,containermaxwidth:2,isprimarymenu:16,issecondarymenu:17,lang:18,activeindex:19},null,[-1,-1]),e&&(e.target&&q(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[11]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[12]}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[13]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[15]}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[16]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[19]}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:w=""}=t,b=0,x=!0,C=[],S=!1,F=window.navigator.userAgent,M=!1,$=!1,k=!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 Ne(()=>(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,w=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",De(F)),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,b=C.map(e=>e.id).indexOf(y)),34816&e.$$.dirty[0]&&u&&o&&"true"==w&&qr(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),294912&e.$$.dirty[0]&&u&&p&&(0==M&&"true"==p&&C.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),M=!0),116736&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(9,k=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=De(F);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==$&&"true"==d&&e&&C.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,k=!1),we(),$=!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,b,S,i,a,k,e=>{window.postMessage({type:"SliderData",identity:hi,data:C},window.location.href)},o,s,l,c,u,d,h,p,y,w,function(e){Be[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(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&&q(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!"}},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"}},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."}}};yi=fi={path:void 0,exports:{},require:function(e,t){return Ln(null==t&&fi.path)}},fi.exports,yi.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 U(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 Lt(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 z(e){if(null==e._isValid){var t=f(e),n=Y.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 j(e){var t=c(NaN);return null!=e?U(f(t),e):f(t).userInvalidated=!0,t}var Y=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},W=m.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=W.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=W[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 U(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=U({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},U(r[n],e[n]),U(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]=U({},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(),Pe(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?/,we=/\d\d\d\d\d\d?/,be=/\d{1,3}/,xe=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,Fe=/[+-]?\d+/,Me=/Z|[+-]\d\d:?\d\d/gi,$e=/Z|[+-]\d\d(?::?\d\d)?/gi,w=/[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 b(e,n,r){_e[e]=u(n)?n:function(e,t){return e&&r?r:n}}function ke(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 Ie(e,i){C(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,F=0,M=1,$=2,k=3,_=4,E=5,Le=6,Ge=7,Te=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?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),b("M",v),b("MM",v,y),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[M]=p(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[M]=r:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=w,He=w;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(),Pe(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 Ue(){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 ze(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),b("Y",Fe),b("YY",v,y),b("YYYY",xe,fe),b("YYYYY",Ce,ye),b("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],F),C("YYYY",function(e,t){t[F]=2===e.length?m.parseTwoDigitYear(e):p(e)}),C("YY",function(e,t){t[F]=m.parseTwoDigitYear(e)}),C("Y",function(e,t){t[F]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return p(e)+(68<p(e)?1900:2e3)};var je=he("FullYear",!0);function Ye(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 We(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+We(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?ze(a=e-1)+t:t>ze(e)?(a=e+1,t-ze(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+I(i=e.year()-1,t,n):a>I(e.year(),t,n)?(r=a-I(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function I(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(ze(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),b("w",v),b("ww",v,y),b("W",v),b("WW",v,y),Ie(["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),b("d",v),b("e",v),b("E",v),b("dd",function(e,t){return t.weekdaysMinRegex(e)}),b("ddd",function(e,t){return t.weekdaysShortRegex(e)}),b("dddd",function(e,t){return t.weekdaysRegex(e)}),Ie(["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}),Ie(["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=w,tt=w,nt=w;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),b("a",ot),b("A",ot),b("H",v),b("h",v),b("k",v),b("HH",v,y),b("hh",v,y),b("kk",v,y),b("hmm",ve),b("hmmss",we),b("Hmm",ve),b("Hmmss",we),C(["H","HH"],k),C(["k","kk"],function(e,t,n){e=p(e);t[k]=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[k]=p(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[k]=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[k]=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[k]=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[k]=p(e.substr(0,r)),t[_]=p(e.substr(r,2)),t[E]=p(e.substr(i))});w=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:Be,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},L={},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===L[t]&&yi&&yi.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Ln(),pt(e)}catch(e){L[t]=null}return L[t]}function pt(e,t){return e&&((t=s(t)?G(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 L[e],null;var n,r=lt;if(t.abbr=e,null!=L[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=L[e]._config;else if(null!=t.parentLocale)if(null!=L[t.parentLocale])r=L[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 L[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),pt(e),L[e]}function G(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[M]<0||11<t[M]?M:t[$]<1||t[$]>Pe(t[F],t[M])?$:t[k]<0||24<t[k]||24===t[k]&&(0!==t[_]||0!==t[E]||0!==t[Le])?k:t[_]<0||59<t[_]?_:t[E]<0||59<t[E]?E:t[Le]<0||999<t[Le]?Le:-1,f(e)._overflowDayOfYear&&(t<F||$<t)&&(t=$),f(e)._overflowWeeks&&-1===t&&(t=Ge),f(e)._overflowWeekday&&-1===t&&(t=Te),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)?/,wt=[["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]],bt=[["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 Ft(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=wt.length,c=bt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(wt[t][1].exec(l[1])){i=wt[t][0],r=!1!==wt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(bt[t][1].exec(l[3])){a=(l[2]||" ")+bt[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 Mt(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 $t(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=Mt(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=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function kt(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[$]&&null==e._a[M]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=kt(d.GG,u._a[F],Je(T(),1,4).year),i=kt(d.W,1),((a=kt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Je(T(),o,s),r=kt(d.gg,u._a[F],c.year),i=kt(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>I(r,o,s)?f(u)._overflowWeeks=!0:null!=l?f(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[F]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[F],n[F]),(e._dayOfYear>ze(d)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=We(d,0,e._dayOfYear),e._a[M]=l.getUTCMonth(),e._a[$]=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[k]&&0===e._a[_]&&0===e._a[E]&&0===e._a[Le]&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?We:Ye).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[k]=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(ke(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[k]<=12&&!0===f(e).bigHour&&0<e._a[k]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[k]=(a=e._locale,c=e._a[k],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[F]=e._locale.erasConvertYear(u,e._a[F])),_t(e),gt(e)}else $t(e);else Ft(e);var c,u,d,h,p}function It(e){var t,n=e._i,r=e._f;{var i,a;if(e._locale=e._locale||G(e._l),null===n||void 0===r&&""===n)return j({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),z(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));U(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))?(Ft(i),!1===i._isValid&&(delete i._isValid,$t(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),z(e)||(e._d=null),e)}}function Lt(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(It(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function T(e,t,n,r){return Lt(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=T.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function Gt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return T();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(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=Tt.length;for(t in e)if(g(e,t)&&(-1===S.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Tt[n]]){if(r)return!1;parseFloat(e[Tt[n]])!==p(e[Tt[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=G(),this._bubble()}function Bt(e){return e instanceof Pt}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",""),b("Z",$e),b("ZZ",$e),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht($e,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:T(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):T(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,r,i=e,a=null;return Bt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=zt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:p(a[$])*n,h:p(a[k])*n,m:p(a[_])*n,s:p(a[E])*n,ms:p(Rt(1e3*a[Le]))*n}):(a=jt.exec(e))?(n="-"===a[1]?-1:1,i={y:Yt(a[2],n),M:Yt(a[3],n),w:Yt(a[4],n),d:Yt(a[5],n),h:Yt(a[6],n),m:Yt(a[7],n),s:Yt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=T(i.from),a=T(i.to),n=t.isValid()&&a.isValid()?(a=Nt(a,t),t.isBefore(a)?r=Wt(t,a):((r=Wt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Pt(i),Bt(e)&&g(e,"_locale")&&(a._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Wt(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,P(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))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||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=G(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=I(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=We(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"),b("N",an),b("NN",an),b("NNN",an),b("NNNN",function(e,t){return t.erasNameRegex(e)}),b("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}),b("y",Se),b("yy",Se),b("yyy",Se),b("yyyy",Se),b("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),C(["y","yy","yyy","yyyy"],F),C(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[F]=n._locale.eraYearOrdinalParse(e,i):t[F]=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),b("G",Fe),b("g",Fe),b("GG",v,y),b("gg",v,y),b("GGGG",xe,fe),b("gggg",xe,fe),b("GGGGG",Ce,ye),b("ggggg",Ce,ye),Ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=p(e)}),Ie(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),b("Q",i),C("Q",function(e,t){t[M]=3*(p(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),b("D",v),b("DD",v,y),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],$),C("Do",function(e,t){t[$]=p(e.match(v)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),b("DDD",be),b("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),b("m",v),b("mm",v,y),C(["m","mm"],_);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),b("s",v),b("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),b("S",be,i),b("SS",be,y),b("SSS",be,ge),cn="SSSS";cn.length<=9;cn+="S")b(cn,Se);function un(e,t){t[Le]=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=Be,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||T(),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,T(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()||T(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(T(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(T(),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:T(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:T(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:T(e),t=l(t)?t:T(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:T(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 z(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=we,i.min=ve,i.parsingFlags=function(){return U({},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=je,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 Pe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return I(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return I(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return I(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return I(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.days=function(e){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=w,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($e,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,P(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(Me,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?T(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=Ut,i.isUTC=Ut,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",je),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=It(t))._a?(e=(t._isUTC?c:T)(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=G(),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=G(),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||G("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")||Ue.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")||Ue.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.",G);var gn=Math.abs;function fn(e,t,n,r){t=P(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 wn(e){return 146097*e/4800}function bn(e){return function(){return this.as(e)}}be=bn("ms"),ge=bn("s"),Be=bn("m"),we=bn("h"),ve=bn("d"),Xe=bn("w"),w=bn("M"),fe=bn("Q"),Ce=bn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),je=xn("minutes"),y=xn("hours"),Cn=xn("days"),Sn=xn("months"),Fn=xn("years");var Mn=Math.round,$n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kn(e,t,n,r){var i=P(e).abs(),a=Mn(i.as("s")),o=Mn(i.as("m")),s=Mn(i.as("h")),l=Mn(i.as("d")),c=Mn(i.as("M")),u=Mn(i.as("w")),i=Mn(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 In(){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 B=Pt.prototype;return B.isValid=function(){return this._isValid},B.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},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,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(wn(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)}},B.asMilliseconds=be,B.asSeconds=ge,B.asMinutes=Be,B.asHours=we,B.asDays=ve,B.asWeeks=Xe,B.asMonths=w,B.asQuarters=fe,B.asYears=Ce,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12):NaN},B._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(wn(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(wn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=xe,B.minutes=je,B.hours=y,B.days=Cn,B.weeks=function(){return h(this.days()/7)},B.months=Sn,B.years=Fn,B.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=$n;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},$n,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=kn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},B.toISOString=In,B.toString=In,B.toJSON=In,B.locale=qt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",In),B.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),b("x",Fe),b("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=T,m.fn=i,m.min=function(){return Gt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Gt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return T(1e3*e)},m.months=function(e,t){return pn(e,t,"months")},m.isDate=N,m.locale=pt,m.invalid=j,m.duration=P,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return T.apply(null,arguments).parseZone()},m.localeData=G,m.isDuration=Bt,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!=L[e]&&null!=L[e].parentLocale?L[e].set(Q(L[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=L[e],L[e]=r),pt(e)):null!=L[e]&&(null!=L[e].parentLocale?(L[e]=L[e].parentLocale,e===pt()&&pt(e)):null!=L[e]&&delete L[e]),L[e]},m.locales=function(){return te(L)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==$n[e]&&(void 0===t?$n[e]:($n[e]=t,"s"===e&&($n.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 fi,yi,vi=fi.exports;const wi={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"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"}}},bi={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function xi(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Ci(e,t,n){const r=e.slice();return r[102]=t[n],r}function Si(e){let n,r=!Ae(e[36])&&!e[0]&&e[13],i=r&&Fi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){(r=8193&t[0]?!Ae(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=Fi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function Fi(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[64]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Mi(e){let n;return{c(){(n=ee("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>',ie(n,"class","FavIconContainer"),ie(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function $i(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[66]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ki(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","GameExtraInfoLabel NewGameTag"),ie(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function _i(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","GameExtraInfoLabel PopularGameTag"),ie(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Ei(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Ii(e);function a(e){return e[22]&&e[19]&&e[19]===Ui?Gi:e[22]&&e[19]&&e[19]===zi?Li:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ne(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Ii(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&&Q(n),s&&s.d(e),e&&Q(r)}}}function Ii(e){let n,r,i,a,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",p=vi.utc(e[20]).local().format(e[21])+"",m=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=ee("div"),r=ee("div"),i=te(h),a=ne(),o=ee("span"),s=te(p),l=ne(),c=new A(!1),u=ne(),d=new A(!1),ie(r,"class","ClosedGame"),ie(r,"part","ClosedGame"),c.a=u,d.a=null,ie(n,"class","GameProp LiveProps"),ie(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(o,s),X(n,l),c.m(m,n),X(n,u),d.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ae(i,h),3145728&t[0]&&p!==(p=vi.utc(e[20]).local().format(e[21])+"")&&ae(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&&Q(n)}}}function Li(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(Yi),h=[];for(let e=0;e<d.length;e+=1)h[e]=Ri(xi(n,d,e));return{c(){r=ee("div"),i=ee("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ne(),o=new A(!1),s=ne(),l=new A(!1),ie(i,"class","LiveIcons"),ie(i,"part","LiveIcons"),o.a=s,l.a=null,ie(r,"class",n[30]),ie(r,"part",n[30])},m(e,t){q(e,r,t),X(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[67](i),X(r,a),o.m(c,r),X(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(Yi),e=0;e<d.length;e+=1){const o=xi(t,d,e);h[e]?h[e].p(o,n):(h[e]=Ri(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]&&ie(r,"class",t[30]),1073741824&n[0]&&ie(r,"part",t[30])},d(e){e&&Q(r),p(h,e),n[67](null)}}}function Gi(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]?Di:Ai}let d=u(e),h=d(e);return{c(){n=ee("div"),r=ee("div"),h.c(),i=ne(),a=new A(!1),o=ne(),s=new A(!1),ie(r,"class","LiveIcons"),ie(r,"part","LiveIcons"),a.a=o,s.a=null,ie(n,"class","GameProp LiveProps BlackjackDisplay"),ie(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),X(n,r),h.m(r,null),X(n,i),a.m(l,n),X(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&&Q(n),h.d()}}}function Ti(e){let n;function r(e){return e[29]?Bi:Pi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Pi(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),q(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&&Q(r),e&&n.d()}}}function Bi(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=ee("div"),r=new A(!1),i=ne(),a=new A(!1),o=ne(),r.a=i,a.a=o,ie(n,"class","Double"),ie(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),X(n,i),a.m(l,n),X(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&&Q(n)}}}function Ri(e){let n,r=e[11]&&e[11][e[107]]&&Ti(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=Ti(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function Ai(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=Hi(Ci(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);q(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=Ci(t,a,e);o[e]?o[e].p(r,n):(o[e]=Hi(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){p(o,e),e&&Q(i)}}}function Di(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","FullTable"),ie(n,"part","FullTable")},m(e,t){q(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Hi(e){let n,r,i,a,o,s,l;return{c(){n=ee("span"),r=b("svg"),i=b("path"),a=b("path"),o=ne(),ie(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"),ie(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"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"width","13"),ie(r,"height","14"),ie(r,"viewBox","0 0 13 14"),ie(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),ie(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ie(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ie(n,"part",l)},d(e){e&&Q(n)}}}function Ni(e){let n,r;return{c(){n=ee("p"),r=te(e[3]),ie(n,"class","GameNameBelow"),ie(n,"part","GameNameBelow"),ie(n,"title",e[3])},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[0]&&ae(r,e[3]),8&t[0]&&ie(n,"title",e[3])},d(e){e&&Q(n)}}}function Oi(n){let r,i,a,o,s,l,D,c,u,d,h,p,H,m,g,f,y,N,v,w,O,b,x,C,S,F,U,M,$,z,k,_,j,Y,E=n[35]("gameThumbnail.playNow")+"",I=(n[4]||"-")+"",W=0<parseInt(n[7]),L=n[14]&&Si(n);function V(e,t){return 8195&t[0]&&(b=null),8195&t[0]&&(x=null),(b=null==b?!(Ae(e[36])||!e[0]||!e[13]||!e[1]):b)?$i:(x=null==x?!!(Ae(e[36])&&e[0]&&e[13]&&e[1]):x)?Mi:void 0}let G=V(n,[-1,-1,-1,-1]),T=G&&G(n),P=n[6]&&ki(n),B=W&&_i(n),R=n[10]&&Ei(n),A=n[9]&&Ni(n);return{c(){r=ee("div"),i=ee("div"),a=ee("img"),D=ne(),c=ee("div"),u=ee("div"),L&&L.c(),d=ne(),h=ee("p"),p=te(n[3]),H=ne(),m=ee("button"),g=te(E),N=ne(),v=ee("span"),w=te(I),O=ne(),T&&T.c(),C=ne(),S=ee("div"),P&&P.c(),F=ne(),B&&B.c(),U=ne(),R&&R.c(),z=ne(),A&&A.c(),this.c=Z,K(a.src,o=n[2])||ie(a,"src",o),ie(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),ie(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),ie(a,"alt",""),ie(a,"loading","lazy"),ie(h,"class","GameInfoName"),ie(h,"part","GameInfoName"),ie(h,"title",n[3]),ie(m,"class","GameInfoBtn"),ie(m,"part","GameInfoBtn"),ie(u,"class",f="GameInfo "+(n[15]?"GameHovered":"")),ie(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),ie(v,"class","GameInfoVendor"),ie(v,"part","GameInfoVendor"),ie(c,"class","GameInfoWrapper"),ie(c,"part","GameInfoWrapper"),ie(S,"class","GameExtraInfo"),ie(S,"part","GameExtraInfo"),ie(i,"class",M="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ie(i,"part",$="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ie(r,"class",k="GameContainer "+n[33]),ie(r,"part",_="GameContainer "+n[33])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[63](a),X(i,D),X(i,c),X(c,u),L&&L.m(u,null),X(u,d),X(u,h),X(h,p),X(u,H),X(u,m),X(m,g),X(c,N),X(c,v),X(v,w),X(i,O),T&&T.m(i,null),X(i,C),X(i,S),P&&P.m(S,null),X(S,F),B&&B.m(S,null),X(S,U),R&&R.m(S,null),X(r,z),A&&A.m(r,null),n[68](r),j||(Y=[re(m,"click",n[65]),re(i,"mouseenter",n[41]),re(i,"mouseleave",n[42]),re(i,"touchstart",n[39],{passive:!0}),re(i,"touchleave",n[40])],j=!0)},p(e,t){4&t[0]&&!K(a.src,o=e[2])&&ie(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&ie(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&ie(a,"part",l),e[14]?L?L.p(e,t):((L=Si(e)).c(),L.m(u,d)):L&&(L.d(1),L=null),8&t[0]&&ae(p,e[3]),8&t[0]&&ie(h,"title",e[3]),16&t[1]&&E!==(E=e[35]("gameThumbnail.playNow")+"")&&ae(g,E),32768&t[0]&&f!==(f="GameInfo "+(e[15]?"GameHovered":""))&&ie(u,"class",f),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&ie(u,"part",y),16&t[0]&&I!==(I=(e[4]||"-")+"")&&ae(w,I),G===(G=V(e,t))&&T?T.p(e,t):(T&&T.d(1),(T=G&&G(e))&&(T.c(),T.m(i,C))),e[6]?P?P.p(e,t):((P=ki(e)).c(),P.m(S,F)):P&&(P.d(1),P=null),(W=128&t[0]?0<parseInt(e[7]):W)?B?B.p(e,t):((B=_i(e)).c(),B.m(S,U)):B&&(B.d(1),B=null),e[10]?R?R.p(e,t):((R=Ei(e)).c(),R.m(S,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&M!==(M="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ie(i,"class",M),4195328&t[0]|2&t[1]&&$!==($="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ie(i,"part",$),e[9]?A?A.p(e,t):((A=Ni(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&k!==(k="GameContainer "+e[33])&&ie(r,"class",k),4&t[1]&&_!==(_="GameContainer "+e[33])&&ie(r,"part",_)},i:Z,o:Z,d(e){e&&Q(r),n[63](null),L&&L.d(),T&&T.d(),P&&P.d(),B&&B.d(),R&&R.d(),A&&A.d(),n[68](null),j=!1,J(Y)}}}const Ui="blackjack",zi="roulette",ji="doubleballroulette",Yi=5;function Wi(i,e,o){let t;He(i,Kr,e=>o(35,t=e));let a,s,l,n,R,c,u,d,h,p,m,g,f,y,v,w,A,D,H,b,N,x,O,U,{session:z=""}=e,{userid:j=""}=e,{lang:Y=""}=e,{clientstyling:C=""}=e,{clientstylingurl:S=""}=e,{favorites:F=""}=e,{gamethumbnail:W=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:M=""}=e,{gameisnew:Z=""}=e,{gamepopularity:J=""}=e,{gamefunmode:K=!1}=e,{searchitem:X=!1}=e,{gamefavorite:$=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:Q=!1}=e,{currency:_=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:E=""}=e,{livelobbyendpoint:I=""}=e,{connectlive:L=""}=e,{visibilityconnect:G=""}=e,te=!1,ne=!1,re=!1,T=window.navigator.userAgent,ie="HH:mm",ae,oe=[],se="EUR",P="";const le=[Ui],ce=[zi,ji],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(wi).forEach(e=>{Ir(e,wi[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+M||k||o(0,$=!0),e.data.type!=="RemoveFavoriteThumbnail_"+M||k||o(0,$=!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),Ae(T)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:K,gamepagemodalurl:ee,isMobile:Ae(T)},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href)},me=e=>{var t="thumbnail";$?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},ge=()=>{I&&EventSource&&!n&&r&&M&&(n=new EventSource(`${E}/encoder/lobby/updates/${r}/`+M)).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 we());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(f=n,o(10,l.currentRouletteNumbers=n,l),await we());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await we());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await we()}}}},ve=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t);return Ne(()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),n&&n.removeEventListener("message",ye)})),i.$$set=e=>{"session"in e&&o(47,z=e.session),"userid"in e&&o(48,j=e.userid),"lang"in e&&o(49,Y=e.lang),"clientstyling"in e&&o(50,C=e.clientstyling),"clientstylingurl"in e&&o(51,S=e.clientstylingurl),"favorites"in e&&o(1,F=e.favorites),"gamethumbnail"in e&&o(2,W=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,M=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,$=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,k=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,I=e.livelobbyendpoint),"connectlive"in e&&o(59,L=e.connectlive),"visibilityconnect"in e&&o(60,G=e.visibilityconnect)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&L&&("disconnect"===L?fe():"connect"===L&&ge()),536870912&i.$$.dirty[1]&&G&&("disconnect"===G?fe():"connect"===G&&"connect"===L&&ge()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&z&&j&&E&&o(13,te=!0),4&i.$$.dirty[0]&&W&&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]&&F&&"true"==F&&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&&I){let e=new URL(""+I.split("?")[0]);e.searchParams.append("platform",De(T)),e.searchParams.append("language",Y),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();B(le,e)?t=Ui:B(ce,e)&&(t=zi)}}return t})(l)),o(25,se=bi[_]),o(26,h=(ae.min||{})[_]),o(27,p=(ae.max||{})[_]),f=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,v=l.vendorCategory,o(29,w=v.toLowerCase()===ji),o(11,A=(w?y:f)||[]),o(30,D="GameProp LiveProps RoulleteProps"),o(30,D+=w?" Double":""),o(31,H=B(ce,v.toLowerCase())?de:ue),N=b,o(32,b=Array.isArray(g)&&g.length===m),l.dealer&&o(34,O=l.dealer.DealerName),U=l.numberOfPlayers,o(33,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,P+=" GameBackdrop"),u&&b&&h&&p&&l.currentOccupiedSeats?o(33,P+=" GameContainerDimmed"):!1===u&&c&&o(33,P+=" GameContainerFullyDimmed"),s&&(!N&&b?(o(33,P+=" PulsatingRedShadow"),o(33,P=P.replace(" PulsatingGreenShadow",""))):N&&!b&&(o(33,P+=" PulsatingGreenShadow"),o(33,P=P.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},[$,F,W,V,r,M,Z,J,q,Q,l,A,x,te,ne,!1,re,a,s,R,c,ie,u,d,oe,se,h,p,g,w,D,H,b,P,O,t,T,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)},B,(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,m=L(e),{stylesheet:p,rules:g}=H.get(m)||(s=m,l={stylesheet:(l=e,f=ee("style"),X((l=L(l)).head||l,f),f.sheet),rules:{}},H.set(s,l),l);g[h]||(g[h]=!0,p.insertRule(`@keyframes ${h} `+d,p.cssRules.length));var f=e.style.animation||"";return e.style.animation=(f?f+", ":"")+h+` ${r}ms linear ${i}ms 1 both`,O+=1,h}function z(e){N=e}function Oe(e){!function(){if(N)return N;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const j=[],Re=[],Y=[],W=[],V=Promise.resolve();let oe=!1;function se(){oe||(oe=!0,V.then(f))}function we(){return se(),V}function le(e){Y.push(e)}const ce=new Set;let ue,de=0;function f(){const e=N;do{for(;de<j.length;){const e=j[de];de++,z(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(le))}for(z(null),j.length=0,de=0;Re.length;)Re.pop()();for(let e=0;e<Y.length;e+=1){const r=Y[e];ce.has(r)||(ce.add(r),r())}}while(Y.length=0,j.length);for(;W.length;)W.pop()();oe=!1,ce.clear(),z(e)}function he(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 me=new Set;let pe;function ge(){pe={r:0,c:[],p:pe}}function fe(){pe.r||J(pe.c),pe=pe.p}function ye(e,t){e&&e.i&&(me.delete(e),e.i(t))}function ve(e,t,n,r){e&&e.o&&(me.has(e)||(me.add(e),pe.c.push(()=>{me.delete(e),r&&(n&&e.d(1),r())}),e.o(t)))}const be={duration:0};function xe(l,e,t,n){let c=e(l,t),u=n?0:1,d=null,h=null,m=null;function p(){if(m){var e=l,t=m;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(", "),(O-=i)||E(()=>{O||(H.forEach(e=>{const t=e["stylesheet"];let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.rules={}}),H.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=F,tick:i=Z,css:a}=c||be,o={start:_()+t,b:e};if(e||((o.group=pe).r+=1),!d&&!h){a&&(p(),m=U(l,u,e,n,t,r,a)),e&&i(0,1),d=g(o,n),le(()=>he(l,e,"start"));{var s=e=>{if(h&&e>h.start&&(d=g(h,n),h=null,he(l,d.b,"start"),a&&(p(),m=U(l,u,d.b,d.duration,0,r,c.css))),d)if(e>=d.end)i(u=d.b,1-u),he(l,d.b,"end"),h||(d.b?p():--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===I.size&&E(G),void new Promise(e=>{I.add(t={c:s,f:e})})}}h=o}return{run(e){k(c)?(ue||(ue=Promise.resolve()).then(()=>{ue=null}),ue.then(()=>{c=c(),r(e)})):r(e)},end(){p(),d=h=null}}}function Ce(e,t){e.d(1),t.delete(e.key)}function Se(r,e,t,n,i,a,o,s=[-1]){var l=N;z(r);const c=r.$$={fragment:null,ctx:null,props:a,update:Z,not_equal:i,bound:M(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:M(),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]&&(j.push(e),se(),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(Q)}else c.fragment&&c.fragment.c();e.intro&&ye(r.$$.fragment);{var d=r;s=e.target;o=e.anchor;t=e.customElement;const{fragment:h,on_mount:m,on_destroy:p,after_update:g}=d.$$;h&&h.m(s,o),t||le(()=>{var e=m.map($).filter(k);p?p.push(...e):J(e),d.$$.on_mount=[]}),g.forEach(le)}f()}z(l)}let n;"function"==typeof HTMLElement&&(n=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map($).filter(k);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){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 Fe,$e,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,Me="URLSearchParams"in s,ke="Symbol"in s&&"iterator"in Symbol,_e="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),Ee="FormData"in s,Ie="ArrayBuffer"in s;function Ge(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Le(e){return e="string"!=typeof e?String(e):e}function Te(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 Pe(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 Ue(e){var t=new FileReader,n=Be(t);return t.readAsArrayBuffer(e),n}function ze(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function je(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:_e&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ee&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Me&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ie&&_e&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ze(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ie&&(ArrayBuffer.prototype.isPrototypeOf(e)||$e(e))?this._bodyArrayBuffer=ze(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):Me&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_e&&(this.blob=function(){var e=Pe(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?Pe(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(Ue)}),this.text=function(){var e,t,n=Pe(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)},Ee&&(this.formData=function(){return this.text().then(Ve)}),this.json=function(){return this.text().then(JSON.parse)},this}Ie&&(Fe=["[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<Fe.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Ge(e),t=Le(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[Ge(e)]},l.prototype.get=function(e){return e=Ge(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Ge(e))},l.prototype.set=function(e,t){this.map[Ge(e)]=Le(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)}),Te(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Te(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Te(n)},ke&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Ye=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function We(e,t){if(!(this instanceof We))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 We){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<Ye.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 Ve(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 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.');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)}We.prototype.clone=function(){return new We(this,{body:this._bodyInit})},je.call(We.prototype),je.call(Ze.prototype),Ze.prototype.clone=function(){return new Ze(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ze.error=function(){var e=new Ze(null,{status:0,statusText:""});return e.type="error",e};var Je=[301,302,303,307,308],Ke=(Ze.redirect=function(e,t){if(-1===Je.indexOf(t))throw new RangeError("Invalid status code");return new Ze(null,{status:t,headers:{location:e}})},s.DOMException);try{new Ke}catch(a){(Ke=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ke.prototype.constructor=Ke}function Xe(r,o){return new Promise(function(i,e){var t=new We(r,o);if(t.signal&&t.signal.aborted)return e(new Ke("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 Ze(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 Ke("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&&(_e?a.responseType="blob":Ie&&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,Le(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Gn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Xe.polyfill=!0,s.fetch||(s.fetch=Xe,s.Headers=l,s.Request=We,s.Response=Ze);var qe=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 et(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 tt(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 nt(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 rt(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 it(e){return"function"==typeof e}function at(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 ot=at(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 st(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}ut.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=tt(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(it(a))try{a()}catch(e){i=e instanceof ot?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=tt(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{ht(u)}catch(e){i=null!=i?i:[],e instanceof ot?i=rt(rt([],nt(i)),nt(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 ot(i)}},ut.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ht(e);else{if(e instanceof ut){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},ut.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ut.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ut.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&st(t,e)},ut.prototype.remove=function(e){var t=this._finalizers;t&&st(t,e),e instanceof ut&&e._removeParent(this)},ut.EMPTY=((e=new ut).closed=!0,e);var lt=ut,ct=lt.EMPTY;function ut(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function dt(e){return e instanceof lt||e&&"closed"in e&&it(e.remove)&&it(e.add)&&it(e.unsubscribe)}function ht(e){it(e)?e():e.unsubscribe()}var mt=void 0,pt=!1,gt=!1,ft={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ft.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,rt([e,t],nt(n))):setTimeout.apply(void 0,rt([e,t],nt(n)))},clearTimeout:function(e){var t=ft.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function yt(){}var vt=null;function wt(e){if(pt){var t=!vt;if(t&&(vt={errorThrown:!1,error:null}),e(),t){var t=vt,n=t.errorThrown,t=t.error;if(vt=null,n)throw t}}else e()}et(St,bt=lt),St.create=function(e,t,n){return new kt(e,t,n)},St.prototype.next=function(e){this.isStopped||this._next(e)},St.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},St.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},St.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,bt.prototype.unsubscribe.call(this),this.destination=null)},St.prototype._next=function(e){this.destination.next(e)},St.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},St.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var bt,xt=St,Ct=Function.prototype.bind;function St(e){var t=bt.call(this)||this;return t.isStopped=!1,e?dt(t.destination=e)&&e.add(t):t.destination=Gt,t}function Ft(e,t){return Ct.call(e,t)}Et.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){It(e)}},Et.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){It(e)}else It(e)},Et.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){It(e)}};var $t,Mt=Et,kt=(et(_t,$t=xt),_t);function _t(e,t,n){var r=$t.call(this)||this,n=it(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&>?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Ft(e.next,t),error:e.error&&Ft(e.error,t),complete:e.complete&&Ft(e.complete,t)}):e;return r.destination=new Mt(n),r}function Et(e){this.partialObserver=e}function It(e){var t=e;ft.setTimeout(function(){throw t})}var Gt={closed:!0,next:yt,error:function(e){throw e},complete:yt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function Lt(e){return e}Pt.prototype.lift=function(e){var t=new Pt;return t.source=this,t.operator=e,t},Pt.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof xt||r&&it(r.next)&&it(r.error)&&it(r.complete)&&dt(r)?e:new kt(e,t,n);return wt(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},Pt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Pt.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)})},Pt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},Pt.prototype[e]=function(){return this},Pt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Lt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Pt.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)})})},Pt.create=function(e){return new Pt(e)};var Tt=Pt;function Pt(e){e&&(this._subscribe=e)}function Bt(e){return null!=(e=null!=e?e:mt)?e:Promise}var Rt,At,Dt,Ht=at(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(et(r,Dt=Tt),r.prototype.lift=function(e){var t=new Nt(this,this);return t.operator=e,t},r.prototype._throwIfClosed=function(){if(this.closed)throw new Ht},r.prototype.next=function(i){var a=this;wt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var n=tt(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}}}})},r.prototype.error=function(t){var n=this;wt(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)}})},r.prototype.complete=function(){var t=this;wt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),Dt.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?ct:(this.currentObservers=null,i.push(e),new lt(function(){t.currentObservers=null,st(i,e)}))},r.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},r.prototype.asObservable=function(){var e=new Tt;return e.source=this,e},r.create=function(e,t){return new Nt(e,t)},r),Nt=(et(jt,At=e),jt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},jt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},jt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},jt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:ct},jt),Ot={now:function(){return(Ot.delegate||Date).now()},delegate:void 0},Ut=(et(zt,Rt=e),zt.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(),Rt.prototype.next.call(this,e)},zt.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},zt.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)}},zt);function zt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Ot);var r=Rt.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 jt(e,t){var n=At.call(this)||this;return n.destination=e,n.source=t,n}function r(){var e=Dt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Yt=[],Wt={};const Vt=[];function Zt(r,i=Z){let a;const o=new Set;function s(e){if(t(r,e)&&(r=e,a)){const e=!Vt.length;for(const e of o)e[1](),Vt.push(e,r);if(e){for(let e=0;e<Vt.length;e+=2)Vt[e][0](Vt[e+1]);Vt.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 Jt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Zt(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=k(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 Kt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Xt));var t}var Xt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function qt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?rn(Array.isArray(e)?[]:{},e,t):e}function Qt(e,t,n){return e.concat(t).map(function(e){return qt(e,n)})}function en(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function tn(e,t){try{return t in e}catch(e){return!1}}function nn(r,i,a){var o={};return a.isMergeableObject(r)&&en(r).forEach(function(e){o[e]=qt(r[e],a)}),en(i).forEach(function(t){var e,n;(!tn(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(tn(r,t)&&a.isMergeableObject(i[t])?o[t]=function(e){if(!e.customMerge)return rn;e=e.customMerge(t);return"function"==typeof e?e:rn}(a)(r[t],i[t],a):o[t]=qt(i[t],a))}),o}function rn(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Qt,n.isMergeableObject=n.isMergeableObject||Kt,n.cloneUnlessOtherwiseSpecified=qt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):nn(e,t,n):qt(t,n)}rn.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return rn(e,t,n)},{});throw new Error("first argument should be an array")};var an=rn,on=function(e,t){return(on=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 sn(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}on(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,ln,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 cn(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 un(e){return e.type===y.literal}function dn(e){return e.type===y.number}function hn(e){return e.type===y.date}function mn(e){return e.type===y.time}function pn(e){return e.type===y.select}function gn(e){return e.type===y.plural}function fn(e){return e.type===y.tag}function yn(e){return e&&"object"==typeof e&&e.type===ln.number}function vn(e){return e&&"object"==typeof e&&e.type===ln.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=ln=ln||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wn=/(?:[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,xn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Cn=/^(@+)?(\+|#+)?[rs]?$/g,Sn=/(\*)(0+)|(#+)(0+)|(0+)/g,Fn=/^(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(Cn,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 Mn(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 Mn(e)||{}}function _n(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(Sn,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(Fn.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(xn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(xn,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 Cn.test(i.stem)?o=v(v({},o),$n(i.stem)):((a=Mn(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)),!Fn.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 En={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 In=new RegExp("^".concat(e.source,"*")),Ln=new RegExp("".concat(e.source,"*$"));function w(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Tn=!!String.fromCodePoint,Pn=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Rn=!!String.prototype.trimStart,An=!!String.prototype.trimEnd,Dn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Hn=!0;try{Hn="a"===(null==(or=Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:or[0])}catch(a){Hn=!1}var Nn,On,Un=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},zn=Tn?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},jn=Pn?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},Yn=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},Wn=Rn?function(e){return e.trimStart()}:function(e){return e.replace(In,"")},Vn=An?function(e){return e.trimEnd()}:function(e){return e.replace(Ln,"")};function Zn(e,t){return new RegExp(e,t)}On=Hn?(Nn=Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Nn.lastIndex=t,null!=(t=Nn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Yn(e,t);if(void 0===i||Xn(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 zn.apply(void 0,r)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.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,w(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Kn(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:w(a,this.clonePosition())})}}}return{val:r,err:null}},i.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:w(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()||!Kn(this.char()))return this.error(g.INVALID_TAG,w(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,w(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:w(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,w(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,w(n,this.clonePosition()))}return this.error(g.INVALID_TAG,w(n,this.clonePosition()))},i.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())},i.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=w(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Kn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.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 zn.apply(void 0,t)},i.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(),zn(n))},i.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,w(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,w(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:w(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,w(n,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=On(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:w(e,this.clonePosition())}},i.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,w(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(m=Vn(p.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:w(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=w(r,this.clonePosition());if(l&&Un(null==l?void 0:l.style,"::",0)){var d=Wn(l.style.slice(2));if("number"===o)return(p=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?p:{val:{type:y.number,value:n,location:u,style:p.val},err:null};if(0===d.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,u);var h=d,m=(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),(En[t||""]||En[n||""]||En["".concat(n,"-001")]||En["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:ln.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},h.replace(wn,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:m},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,w(h,v({},h)));this.bumpSpace();var p,m=this.parseIdentifierIfPossible(),u=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),m=this.parseIdentifierIfPossible(),u=p.val}l=this.tryParsePluralOrSelectOptions(e,o,t,m);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;d=w(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:jn(l.val),location:d},err:null}:{val:{type:y.plural,value:n,options:jn(l.val),offset:u,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,w(a,s))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,w(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.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,w(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}},i.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:ln.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_n(n):{}},err:null}},i.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=w(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,w(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:w(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,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:a,err:null}},i.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=w(r,this.clonePosition());return i?Dn(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Yn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(Un(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.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)},i.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}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xn(this.char());)this.bump()},i.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 Jn=i;function i(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 Kn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Xn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qn(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Jn(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)||gn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else dn(e)&&yn(e.style)||(hn(e)||mn(e))&&vn(e.style)?delete e.style.location:fn(e)&&n(e.children)})}(e.val),e.val}function Qn(e,t){var n=t&&t.cache?t.cache:sr,r=t&&t.serializer?t.serializer:rr;return(t&&t.strategy?t.strategy:function(e,t){return nr(e,this,1===e.length?er:tr,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function er(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 tr(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 nr(e,t,n,r,i){return n.bind(t,e,r,i)}var rr=function(){return JSON.stringify(arguments)};function ir(){this.cache=Object.create(null)}ir.prototype.get=function(e){return this.cache[e]},ir.prototype.set=function(e,t){this.cache[e]=t};var ar,or,sr={create:function(){return new ir}},lr={variadic:function(e,t){return nr(e,this,tr,t.cache.create(),t.serializer)},monadic:function(e,t){return nr(e,this,er,t.cache.create(),t.serializer)}};(or=ar=ar||{}).MISSING_VALUE="MISSING_VALUE",or.INVALID_VALUE="INVALID_VALUE",or.MISSING_INTL_API="MISSING_INTL_API";sn(br,hr=Error),br.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var C,cr,ur,dr,hr,mr=br,pr=(sn(wr,dr=mr),wr),gr=(sn(vr,ur=mr),vr),fr=(sn(yr,cr=mr),yr);function yr(e,t){return cr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ar.MISSING_VALUE,t)||this}function vr(e,t,n){return ur.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ar.INVALID_VALUE,n)||this}function wr(e,t,n,r){return dr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ar.INVALID_VALUE,r)||this}function br(e,t,n){e=hr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function xr(e,t,n,r,i,a,o){if(1===e.length&&un(e[0]))return[{type:C.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(un(u))s.push({type:C.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:C.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new fr(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?C.literal:C.object,value:d});else if(hn(u)){var h="string"==typeof u.style?r.date[u.style]:vn(u.style)?u.style.parsedOptions:void 0;s.push({type:C.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(mn(u))h="string"==typeof u.style?r.time[u.style]:vn(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:C.literal,value:n.getDateTimeFormat(t,h).format(d)});else if(dn(u))(h="string"==typeof u.style?r.number[u.style]:yn(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),s.push({type:C.literal,value:n.getNumberFormat(t,h).format(d)});else{if(fn(u)){var m=u.children,p=u.value,g=i[p];if("function"!=typeof g)throw new gr(p,"function",o);p=g(xr(m,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?C.literal:C.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,xr(f.value,t,n,r,i))}else if(gn(u)){if(!(f=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new mr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ar.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,xr(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===C.literal&&t.type===C.literal?n.value+=t.value:e.push(t),e},[])}function Cr(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=C=C||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(u,"defaultLocale",{get:function(){return u.memoizedDefaultLocale||(u.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),u.memoizedDefaultLocale},enumerable:!1,configurable:!0}),u.memoizedDefaultLocale=null,u.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])},u.__parse=qn,u.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 Sr=u;function u(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=u.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===C.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 xr(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=u.resolveLocale(t),"string"==typeof e){if(this.message=e,!u.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=u.__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=u.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,cn([void 0],t,!1)))},{cache:Cr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:lr.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,cn([void 0],t,!1)))},{cache:Cr(t.dateTime),strategy:lr.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,cn([void 0],t,!1)))},{cache:Cr(t.pluralRules),strategy:lr.variadic})}}const Fr={},$r=(e,t,n)=>n&&(t in Fr||(Fr[t]={}),e in Fr[t]||(Fr[t][e]=n),n),Mr=(t,n)=>{if(null!=n){if(n in Fr&&t in Fr[n])return Fr[n][t];var r=Ur(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Er(e))return null;e=function(e){return kr[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 $r(t,n,i)}}};let kr;const _r=Zt({});function Er(e){return e in kr}function Ir(t,...n){delete Fr[t],_r.update(e=>(e[t]=an.all([e[t]||{},...n]),e))}Jt([_r],([e])=>Object.keys(e)),_r.subscribe(e=>kr=e);const Gr={};function Lr(e){return Gr[e]}function Tr(e){return null!=e&&Ur(e).some(e=>{return null==(e=Lr(e))?void 0:e.size})}const Pr={};function Br(e){if(!Tr(e))return e in Pr?Pr[e]:Promise.resolve();const t=Ur(e).map(e=>{var t=Lr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Pr[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 Gr[t].delete(n),0===Gr[t].size&&delete Gr[t],e().then(e=>e.default||e)}));return n.then(e=>Ir(r,...e))}})).then(()=>{if(Tr(e))return Br(e);delete Pr[e]}),Pr[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=Zt(!1);let Hr;const Nr=Zt(null);function Or(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Ur(e,t=Ar.fallbackLocale){e=Or(e);return t?[...new Set([...e,...Or(t)])]:e}function zr(){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 Ae=Object.assign(Object.assign({},Nr),{set:t=>{if(t&&function(e){if(null!=e){var t=Ur(e);for(let e=0;e<t.length;e++){var n=t[e];if(Er(n))return n}}}(t)&&Tr(t)){var n=Ar["loadingDelay"];let e;return"undefined"!=typeof window&&null!=zr()&&n?e=window.setTimeout(()=>Dr.set(!0),n):Dr.set(!0),Br(t).then(()=>{Nr.set(t)}).finally(()=>{clearTimeout(e),Dr.set(!1)})}return Nr.set(t)}}),jr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Yr=(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.`)},Wr=jr(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=Yr("number",n)),new Intl.NumberFormat(t,e)}),Vr=jr(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=Yr("date",n):0===Object.keys(e).length&&(e=Yr("date","short")),new Intl.DateTimeFormat(t,e)}),Zr=jr(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=Yr("time",n):0===Object.keys(e).length&&(e=Yr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=jr((e,t=zr())=>new Sr(e,t,Ar.formats,{ignoreTag:Ar.ignoreTag})),Kr=Jt([Ae,_r],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:a,locale:o=zr(),default:s}=i;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Mr(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}),De=(Jt([Ae],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Jt([Ae],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Rr(e,["locale"]);return Vr(Object.assign({locale:t},e))})(t).format(e)),Jt([Ae],()=>(e,t)=>((e={})=>{var{locale:t=zr()}=e,e=Rr(e,["locale"]);return Wr(Object.assign({locale:t},e))})(t).format(e)),Jt([Ae,_r],()=>(e,t=zr())=>Mr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Yt.indexOf(e)&&(t=new Ut(t),Wt[e]=t,Yt.push(e)),Wt[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))),He=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 De(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),qe(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))})}function Qr(e){Ae.set(e)}const ei={en:{headerItem:{login:"Login",register:"Register",deposit:"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[31]=t[n],r[33]=n,r}function ni(t){let r,i=[],n=new Map,a=t[6];const o=e=>e[31].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);q(t,r,n)},p(e,t){339&t[0]&&(a=e[6],i=function(t,n,r,i,a,o,s,l,e,c,u,d){let h=t.length,m=o.length,p=h;const g={};for(;p--;)g[t[p].key]=p;const f=[],y=new Map,v=new Map;for(p=m;p--;){const t=d(a,o,p),l=r(t);let e=s.get(l);e?i&&e.p(t,n):(e=c(l,t)).c(),y.set(l,f[p]=e),l in g&&v.set(l,Math.abs(p-g[l]))}const w=new Set,b=new Set;function x(e){ye(e,1),e.m(l,u),s.set(e.key,e),u=e.first,m--}for(;h&&m;){const n=f[m-1],r=t[h-1],i=n.key,a=r.key;n===r?(u=n.first,h--,m--):y.has(a)?!s.has(i)||w.has(i)?x(n):b.has(a)?h--:v.get(i)>v.get(a)?(b.add(i),x(n)):(w.add(a),h--):(e(r,s),h--)}for(;h--;){const n=t[h];y.has(n.key)||e(n,s)}for(;m;)x(f[m-1]);return f}(i,t,o,1,e,a,n,r.parentNode,Ce,ai,r,ti))},d(t){for(let e=0;e<i.length;e+=1)i[e].d(t);t&&Q(r)}}}function ri(e){let n,r,i,a=e[31].name+"",o="FAVORITES"===e[31].id?"("+e[0]+")":"";return{c(){n=te(a),r=ne(),i=te(o)},m(e,t){q(e,n,t),q(e,r,t),q(e,i,t)},p(e,t){64&t[0]&&a!==(a=e[31].name+"")&&ae(n,a),65&t[0]&&o!==(o="FAVORITES"===e[31].id?"("+e[0]+")":"")&&ae(i,o)},d(e){e&&Q(n),e&&Q(r),e&&Q(i)}}}function ii(e){let n,r,i=e[31].label+"";return{c(){n=ee("a"),r=te(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){64&t[0]&&i!==(i=e[31].label+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ai(e,n){let r,i,a,o;function s(e){return"headerMain"===e[1]?ii:ri}let l=s(n),c=l(n);function u(...e){return n[21](n[31],n[33],...e)}return{key:e,first:null,c(){r=ee("li"),c.c(),i=ne(),ie(r,"class","CarouselItem"),ie(r,"part","CarouselItem"),B(r,"active",n[4]==n[33]),this.first=r},m(e,t){q(e,r,t),c.m(r,null),X(r,i),a||(o=re(r,"click",u),a=!0)},p(e,t){l===(l=s(n=e))&&c?c.p(n,t):(c.d(1),(c=l(n))&&(c.c(),c.m(r,i))),80&t[0]&&B(r,"active",n[4]==n[33])},d(e){e&&Q(r),c.d(),a=!1,o()}}}function oi(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y=0<n[6].length&&ni(n);return{c(){r=ee("div"),i=ee("div"),(a=ee("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=ne(),s=ee("ul"),y&&y.c(),l=ne(),(c=ee("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,ie(a,"class","CarouselLeftArrow"),ie(a,"part","CarouselLeftArrow"),ie(s,"class","CarouselItems"),ie(s,"part","CarouselItems"),ie(c,"class","CarouselRightArrow"),ie(c,"part","CarouselRightArrow"),ie(i,"class",u="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),ie(i,"part",d="CarouselContainer "+(n[7]?"CarouselContainerMobile":"")+" "+("headerMain"===n[1]?"CarouselContainerHeaderMain":"")),ie(i,"style",h="headerMain"===n[1]?"max-width: auto":`max-width: ${n[2]}px`),ie(r,"class",m="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":"")),ie(r,"part",p="CarouselWrapper "+("headerMain"===n[1]?"CarouselWrapperHeaderMain":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),y&&y.m(s,null),n[22](s),X(i,l),X(i,c),n[24](r),g||(f=[re(a,"click",n[20]),re(c,"click",n[23])],g=!0)},p(e,t){0<e[6].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[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&ie(i,"class",u),2&t[0]&&d!==(d="CarouselContainer "+(e[7]?"CarouselContainerMobile":"")+" "+("headerMain"===e[1]?"CarouselContainerHeaderMain":""))&&ie(i,"part",d),6&t[0]&&h!==(h="headerMain"===e[1]?"max-width: auto":`max-width: ${e[2]}px`)&&ie(i,"style",h),2&t[0]&&m!==(m="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&ie(r,"class",m),2&t[0]&&p!==(p="CarouselWrapper "+("headerMain"===e[1]?"CarouselWrapperHeaderMain":""))&&ie(r,"part",p)},i:Z,o:Z,d(e){e&&Q(r),y&&y.d(),n[22](null),n[24](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:m=""}=e,p=e["activeindex"];var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),Ae.subscribe(e=>{null==e&&(_r.set(f),Ae.set(g))}),Object.keys(ei).forEach(e=>{Ir(e,ei[e])});let y,v,w,b=window.navigator.userAgent,x="PC"!==He(b),C=[],S=(e,t)=>{n(4,v=t),n(4,v),window.postMessage({type:i,itemId:e.id,index:t,item:e},window.location.href)},F=()=>{y.scrollBy({left:-250,behavior:"smooth"})},$=()=>{y.scrollBy({left:250,behavior:"smooth"})};const M=e=>{"SliderData"==e.data.type&&e.data.identity==c&&n(6,C=e.data.data)};return Oe(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)})),t.$$set=e=>{"onclickeventname"in e&&n(11,r=e.onclickeventname),"actionevent"in e&&n(12,i=e.actionevent),"favoritesnumber"in e&&n(0,a=e.favoritesnumber),"location"in e&&n(1,o=e.location),"clientstyling"in e&&n(13,s=e.clientstyling),"clientstylingurl"in e&&n(14,l=e.clientstylingurl),"identity"in e&&n(15,c=e.identity),"containermaxwidth"in e&&n(2,u=e.containermaxwidth),"isprimarymenu"in e&&n(16,d=e.isprimarymenu),"issecondarymenu"in e&&n(17,h=e.issecondarymenu),"lang"in e&&n(18,m=e.lang),"activeindex"in e&&n(19,p=e.activeindex)},t.$$.update=()=>{if(524288&t.$$.dirty[0]&&p&&n(4,v=parseInt(p,10)),8192&t.$$.dirty[0]&&s){let e=document.createElement("style");e.innerHTML=s,setTimeout(()=>{w.appendChild(e)})}if(16384&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;262144&t.$$.dirty[0]&&m&&(e=m,Ae.set(e))},[a,o,u,y,v,w,C,x,S,F,$,r,i,s,l,c,d,h,m,p,()=>F(),(e,t,n)=>S(e,t),function(e){Re[e?"unshift":"push"](()=>{y=e,n(3,y)})},()=>$(),function(e){Re[e?"unshift":"push"](()=>{w=e,n(5,w)})}]}function li(n){let r,i,a,o;return{c(){r=ee("div"),x(i=ee("casino-slider"),"identity",hi),x(i,"favoritesnumber",n[8]),x(i,"clientstyling",n[0]),x(i,"clientstylingurl",n[1]),x(i,"containermaxwidth",n[2]),x(i,"activeindex",n[5]),x(i,"actionevent",n[3]),ie(r,"class","CasinoCategoriesContainer"),ie(r,"part","CasinoCategoriesContainer")},m(e,t){q(e,r,t),X(r,i),a||(o=h(n[10].call(null,i)),a=!0)},p(e,t){256&t[0]&&x(i,"favoritesnumber",e[8]),1&t[0]&&x(i,"clientstyling",e[0]),2&t[0]&&x(i,"clientstylingurl",e[1]),4&t[0]&&x(i,"containermaxwidth",e[2]),32&t[0]&&x(i,"activeindex",e[5]),8&t[0]&&x(i,"actionevent",e[3])},d(e){e&&Q(r),a=!1,o()}}}function ci(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ui(e){let n;return{c(){ie(n=ee("div"),"class","CasinoCategoriesLoading"),ie(n,"part","CasinoCategoriesLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(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=ee("div"),o.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&Q(r),o.d(),n[21](null)}}}customElements.get("casino-slider")||customElements.define("casino-slider",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},si,oi,t,{onclickeventname:11,actionevent:12,favoritesnumber:0,location:1,clientstyling:13,clientstylingurl:14,identity:15,containermaxwidth:2,isprimarymenu:16,issecondarymenu:17,lang:18,activeindex:19},null,[-1,-1]),e&&(e.target&&q(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[11]}set onclickeventname(e){this.$$set({onclickeventname:e}),f()}get actionevent(){return this.$$.ctx[12]}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[13]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get identity(){return this.$$.ctx[15]}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[16]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),f()}get issecondarymenu(){return this.$$.ctx[17]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),f()}get lang(){return this.$$.ctx[18]}set lang(e){this.$$set({lang:e}),f()}get activeindex(){return this.$$.ctx[19]}set activeindex(e){this.$$set({activeindex:e}),f()}});let hi="CasinoSliderData";function mi(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:m=""}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{containermaxwidth:f=""}=t,{activecategory:y=""}=t,{actionevent:v=""}=t,{sessioncheck:w=""}=t,b=0,x=!0,C=[],S=!1,F=window.navigator.userAgent,$=!1,M=!1,k=!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 Oe(()=>(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,m=e.favorites),"clientstyling"in e&&n(0,p=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,w=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",He(F)),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,b=C.map(e=>e.id).indexOf(y)),34816&e.$$.dirty[0]&&u&&o&&"true"==w&&qr(o,u).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),294928&e.$$.dirty[0]&&u&&m&&!x&&(0==$&&"true"==m&&C.splice(1,0,{id:"FAVORITES",name:"Favorites",href:"",games:[]}),$=!0),116736&e.$$.dirty[0]&&u&&o&&c&&d&&d&&(n(9,k=!0),(()=>{if(d){let e=new URL(`${o}/player/${c}/games/most-played`),t=He(F);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==M&&"true"==d&&e&&C.splice(2,0,{id:"MOSTPLAYED",name:"Most Played",href:"",games:[],triggerFetch:!1}),n(9,k=!1),we(),M=!0})),1&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,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),[p,g,f,v,x,b,S,i,a,k,e=>{window.postMessage({type:"SliderData",identity:hi,data:C},window.location.href)},o,s,l,c,u,d,h,m,y,w,function(e){Re[e?"unshift":"push"](()=>{i=e,n(7,i)})}]}customElements.get("casino-categories-slider")||customElements.define("casino-categories-slider",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},mi,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&&q(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 pi={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!"}},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"}},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."}}};yi=fi={path:void 0,exports:{},require:function(e,t){return Gn(null==t&&fi.path)}},fi.exports,yi.exports=function(){var R;function p(){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 U(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 Gt(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 z(e){if(null==e._isValid){var t=f(e),n=Y.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 j(e){var t=c(NaN);return null!=e?U(f(t),e):f(t).userInvalidated=!0,t}var Y=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},W=p.momentProperties=[],V=!1;function Z(e,t){var n,r,i,a=W.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=W[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,p.updateOffset(this),V=!1)}function l(e){return e instanceof J||null!=e&&null!=e._isAMomentObject}function K(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return U(function(){if(null!=p.deprecationHandler&&p.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!=p.deprecationHandler&&p.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=U({},e);for(n in t)g(t,n)&&(A(e[n])&&A(t[n])?(r[n]={},U(r[n],e[n]),U(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]=U({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)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 m(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?(pe(this,t,e),p.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,be=/\d{1,3}/,xe=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,Fe=/[+-]?\d+/,$e=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,w=/[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 b(e,n,r){_e[e]=u(n)?n:function(e,t){return e&&r?r:n}}function ke(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]=m(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=i}function Ie(e,i){C(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var S,F=0,$=1,M=2,k=3,_=4,E=5,Ge=6,Le=7,Te=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?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),b("M",v),b("MM",v,y),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[$]=m(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[$]=r:f(n).invalidMonth=e});var Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=w,He=w;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!H(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Oe(e){return null!=e?(Ne(this,e),p.updateOffset(this,!0),this):me(this,"Month")}function Ue(){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 ze(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),b("Y",Fe),b("YY",v,y),b("YYYY",xe,fe),b("YYYYY",Ce,ye),b("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],F),C("YYYY",function(e,t){t[F]=2===e.length?p.parseTwoDigitYear(e):m(e)}),C("YY",function(e,t){t[F]=p.parseTwoDigitYear(e)}),C("Y",function(e,t){t[F]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var je=he("FullYear",!0);function Ye(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 We(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+We(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?ze(a=e-1)+t:t>ze(e)?(a=e+1,t-ze(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+I(i=e.year()-1,t,n):a>I(e.year(),t,n)?(r=a-I(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function I(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(ze(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),b("w",v),b("ww",v,y),b("W",v),b("WW",v,y),Ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(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),b("d",v),b("e",v),b("E",v),b("dd",function(e,t){return t.weekdaysMinRegex(e)}),b("ddd",function(e,t){return t.weekdaysShortRegex(e)}),b("dddd",function(e,t){return t.weekdaysRegex(e)}),Ie(["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}),Ie(["d","e","E"],function(e,t,n,r){t[r]=m(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=w,tt=w,nt=w;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),b("a",ot),b("A",ot),b("H",v),b("h",v),b("k",v),b("HH",v,y),b("hh",v,y),b("kk",v,y),b("hmm",ve),b("hmmss",we),b("Hmm",ve),b("Hmmss",we),C(["H","HH"],k),C(["k","kk"],function(e,t,n){e=m(e);t[k]=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[k]=m(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[k]=m(e.substr(0,r)),t[_]=m(e.substr(r)),f(n).bigHour=!0}),C("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[k]=m(e.substr(0,r)),t[_]=m(e.substr(r,2)),t[E]=m(e.substr(i)),f(n).bigHour=!0}),C("Hmm",function(e,t,n){var r=e.length-2;t[k]=m(e.substr(0,r)),t[_]=m(e.substr(r))}),C("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[k]=m(e.substr(0,r)),t[_]=m(e.substr(r,2)),t[E]=m(e.substr(i))});w=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:Be,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},G={},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===G[t]&&yi&&yi.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Gn(),mt(e)}catch(e){G[t]=null}return G[t]}function mt(e,t){return e&&((t=s(t)?L(e):pt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function pt(e,t){if(null===t)return delete G[e],null;var n,r=lt;if(t.abbr=e,null!=G[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=G[e]._config;else if(null!=t.parentLocale)if(null!=G[t.parentLocale])r=G[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 G[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),mt(e),G[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[$]<0||11<t[$]?$:t[M]<1||t[M]>Pe(t[F],t[$])?M:t[k]<0||24<t[k]||24===t[k]&&(0!==t[_]||0!==t[E]||0!==t[Ge])?k:t[_]<0||59<t[_]?_:t[E]<0||59<t[E]?E:t[Ge]<0||999<t[Ge]?Ge:-1,f(e)._overflowDayOfYear&&(t<F||M<t)&&(t=M),f(e)._overflowWeeks&&-1===t&&(t=Le),f(e)._overflowWeekday&&-1===t&&(t=Te),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)?/,wt=[["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]],bt=[["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 Ft(e){var t,n,r,i,a,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=wt.length,c=bt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(wt[t][1].exec(l[1])){i=wt[t][0],r=!1!==wt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(bt[t][1].exec(l[3])){a=(l[2]||" ")+bt[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 $t(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 Mt(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=$t(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=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function kt(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(p.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[M]&&null==e._a[$]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=kt(d.GG,u._a[F],Je(T(),1,4).year),i=kt(d.W,1),((a=kt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Je(T(),o,s),r=kt(d.gg,u._a[F],c.year),i=kt(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>I(r,o,s)?f(u)._overflowWeeks=!0:null!=l?f(u)._overflowWeekday=!0:(c=Ze(r,i,a,o,s),u._a[F]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[F],n[F]),(e._dayOfYear>ze(d)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=We(d,0,e._dayOfYear),e._a[$]=l.getUTCMonth(),e._a[M]=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[k]&&0===e._a[_]&&0===e._a[E]&&0===e._a[Ge]&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?We:Ye).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[k]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Et(e){if(e._f!==p.ISO_8601)if(e._f!==p.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(ke(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,m=e,null!=(h=t)&&g(Ee,d)&&Ee[d](h,m._a,m,d)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=a-o,0<i.length&&f(e).unusedInput.push(i),e._a[k]<=12&&!0===f(e).bigHour&&0<e._a[k]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[k]=(a=e._locale,c=e._a[k],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[F]=e._locale.erasConvertYear(u,e._a[F])),_t(e),gt(e)}else Mt(e);else Ft(e);var c,u,d,h,m}function It(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 j({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),z(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));U(e,n||t)}(e):r?Et(e):s(r=(n=e)._i)?n._d=new Date(p.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(a=xt.exec(i._i))?(Ft(i),!1===i._isValid&&(delete i._isValid,Mt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:p.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):p.createFromInputFallback(n),z(e)||(e._d=null),e)}}function Gt(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(It(i=a))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function T(e,t,n,r){return Gt(e,t,n,r,!1)}p.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),we=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=T.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function Lt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return T();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(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=Tt.length;for(t in e)if(g(e,t)&&(-1===S.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Tt[n]]){if(r)return!1;parseFloat(e[Tt[n]])!==m(e[Tt[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 Bt(e){return e instanceof Pt}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",""),b("Z",Me),b("ZZ",Me),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(Me,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]+m(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:T(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):T(e).local()}function Ot(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,r,i=e,a=null;return Bt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=zt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:m(a[M])*n,h:m(a[k])*n,m:m(a[_])*n,s:m(a[E])*n,ms:m(Rt(1e3*a[Ge]))*n}):(a=jt.exec(e))?(n="-"===a[1]?-1:1,i={y:Yt(a[2],n),M:Yt(a[3],n),w:Yt(a[4],n),d:Yt(a[5],n),h:Yt(a[6],n),m:Yt(a[7],n),s:Yt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=T(i.from),a=T(i.to),n=t.isValid()&&a.isValid()?(a=Nt(a,t),t.isBefore(a)?r=Wt(t,a):((r=Wt(a,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),a=new Pt(i),Bt(e)&&g(e,"_locale")&&(a._locale=e._locale),Bt(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Wt(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,P(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,me(e,"Month")+t*n),a&&pe(e,"Date",me(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,a||t))}P.fn=Pt.prototype,P.invalid=function(){return P(NaN)};Be=Vt(1,"add"),Xe=Vt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||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)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function 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=I(e,r,i))&&(t=a),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=We(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"),b("N",an),b("NN",an),b("NNN",an),b("NNNN",function(e,t){return t.erasNameRegex(e)}),b("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}),b("y",Se),b("yy",Se),b("yyy",Se),b("yyyy",Se),b("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),C(["y","yy","yyy","yyyy"],F),C(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[F]=n._locale.eraYearOrdinalParse(e,i):t[F]=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),b("G",Fe),b("g",Fe),b("GG",v,y),b("gg",v,y),b("GGGG",xe,fe),b("gggg",xe,fe),b("GGGGG",Ce,ye),b("ggggg",Ce,ye),Ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),Ie(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),b("Q",i),C("Q",function(e,t){t[$]=3*(m(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),b("D",v),b("DD",v,y),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],M),C("Do",function(e,t){t[M]=m(e.match(v)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),b("DDD",be),b("DDDD",ge),C(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),b("m",v),b("mm",v,y),C(["m","mm"],_);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),b("s",v),b("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),b("S",be,i),b("SS",be,y),b("SSS",be,ge),cn="SSSS";cn.length<=9;cn+="S")b(cn,Se);function un(e,t){t[Ge]=m(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=Be,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||T(),n=Nt(e,this).startOf("day"),n=p.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,T(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),p.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(T(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||T(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(T(),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:T(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:T(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:T(e),t=l(t)?t:T(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:T(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 z(this)},i.lang=Qe,i.locale=qt,i.localeData=Qt,i.max=we,i.min=ve,i.parsingFlags=function(){return U({},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),p.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()-p(n[r].since).year())*e+n[r].offset;return this.year()},i.year=je,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 Pe(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return I(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return I(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return I(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return I(this.isoWeekYear(),1,4)},i.date=xe,i.day=i.days=function(e){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=w,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(Me,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,P(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(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($e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?T(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=Ut,i.isUTC=Ut,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",je),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=It(t))._a?(e=(t._isUTC?c:T)(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&&m(e[o])!==m(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 mn(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 pn(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=p(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=p(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?p(e.since).year():p(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")||Ue.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")||Ue.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"},mt("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===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var gn=Math.abs;function fn(e,t,n,r){t=P(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 wn(e){return 146097*e/4800}function bn(e){return function(){return this.as(e)}}be=bn("ms"),ge=bn("s"),Be=bn("m"),we=bn("h"),ve=bn("d"),Xe=bn("w"),w=bn("M"),fe=bn("Q"),Ce=bn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),je=xn("minutes"),y=xn("hours"),Cn=xn("days"),Sn=xn("months"),Fn=xn("years");var $n=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kn(e,t,n,r){var i=P(e).abs(),a=$n(i.as("s")),o=$n(i.as("m")),s=$n(i.as("h")),l=$n(i.as("d")),c=$n(i.as("M")),u=$n(i.as("w")),i=$n(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 In(){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 B=Pt.prototype;return B.isValid=function(){return this._isValid},B.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},B.add=function(e,t){return fn(this,e,t,1)},B.subtract=function(e,t){return fn(this,e,t,-1)},B.as=function(e){if(!this.isValid())return NaN;var t,n,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(wn(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)}},B.asMilliseconds=be,B.asSeconds=ge,B.asMinutes=Be,B.asHours=we,B.asDays=ve,B.asWeeks=Xe,B.asMonths=w,B.asQuarters=fe,B.asYears=Ce,B.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},B._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(wn(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(wn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},B.clone=function(){return P(this)},B.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},B.milliseconds=ye,B.seconds=xe,B.minutes=je,B.hours=y,B.days=Cn,B.weeks=function(){return h(this.days()/7)},B.months=Sn,B.years=Fn,B.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=kn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},B.toISOString=In,B.toString=In,B.toJSON=In,B.locale=qt,B.localeData=Qt,B.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",In),B.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),b("x",Fe),b("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(m(e))}),p.version="2.29.3",R=T,p.fn=i,p.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return T(1e3*e)},p.months=function(e,t){return mn(e,t,"months")},p.isDate=N,p.locale=mt,p.invalid=j,p.duration=P,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return T.apply(null,arguments).parseZone()},p.localeData=L,p.isDuration=Bt,p.monthsShort=function(e,t){return mn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=G[e]&&null!=G[e].parentLocale?G[e].set(Q(G[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=G[e],G[e]=r),mt(e)):null!=G[e]&&(null!=G[e].parentLocale?(G[e]=G[e].parentLocale,e===mt()&&mt(e)):null!=G[e]&&delete G[e]),G[e]},p.locales=function(){return te(G)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=d,p.relativeTimeRounding=function(e){return void 0===e?$n:"function"==typeof e&&($n=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=i,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}();var fi,yi,vi=fi.exports;const wi={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"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"}}},bi={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function xi(e,t,n){const r=e.slice();return r[105]=t[n],r[107]=n,r}function Ci(e,t,n){const r=e.slice();return r[102]=t[n],r}function Si(e){let n,r=!De(e[36])&&!e[0]&&e[13],i=r&&Fi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){(r=8193&t[0]?!De(e[36])&&!e[0]&&e[13]:r)?i?i.p(e,t):((i=Fi(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function Fi(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[64]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function $i(e){let n;return{c(){(n=ee("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>',ie(n,"class","FavIconContainer"),ie(n,"part","FavIconContainer")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Mi(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FavIconContainer"),ie(r,"part","FavIconContainer")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[66]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ki(e){let n,r,i=e[35]("gameThumbnail.new")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","GameExtraInfoLabel NewGameTag"),ie(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.new")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function _i(e){let n,r,i=e[35]("gameThumbnail.hot")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","GameExtraInfoLabel PopularGameTag"),ie(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){q(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.hot")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Ei(e){let n,r,i=!e[22]&&e[20]&&e[21]&&Ii(e);function a(e){return e[22]&&e[19]&&e[19]===Ui?Li:e[22]&&e[19]&&e[19]===zi?Gi:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=ne(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),q(e,n,t),s&&s.m(e,t),q(e,r,t)},p(e,t){!e[22]&&e[20]&&e[21]?i?i.p(e,t):((i=Ii(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&&Q(n),s&&s.d(e),e&&Q(r)}}}function Ii(e){let n,r,i,a,o,s,l,c,u,d,h=e[35]("gameThumbnail.opens")+"",m=vi.utc(e[20]).local().format(e[21])+"",p=e[45](e[34])+"",g=e[44](e[26],e[27],e[25])+"";return{c(){n=ee("div"),r=ee("div"),i=te(h),a=ne(),o=ee("span"),s=te(m),l=ne(),c=new A(!1),u=ne(),d=new A(!1),ie(r,"class","ClosedGame"),ie(r,"part","ClosedGame"),c.a=u,d.a=null,ie(n,"class","GameProp LiveProps"),ie(n,"part","GameProp LiveProps")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(o,s),X(n,l),c.m(p,n),X(n,u),d.m(g,n)},p(e,t){16&t[1]&&h!==(h=e[35]("gameThumbnail.opens")+"")&&ae(i,h),3145728&t[0]&&m!==(m=vi.utc(e[20]).local().format(e[21])+"")&&ae(s,m),8&t[1]&&p!==(p=e[45](e[34])+"")&&c.p(p),234881024&t[0]&&g!==(g=e[44](e[26],e[27],e[25])+"")&&d.p(g)},d(e){e&&Q(n)}}}function Gi(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(Yi),h=[];for(let e=0;e<d.length;e+=1)h[e]=Ri(xi(n,d,e));return{c(){r=ee("div"),i=ee("div");for(let e=0;e<h.length;e+=1)h[e].c();a=ne(),o=new A(!1),s=ne(),l=new A(!1),ie(i,"class","LiveIcons"),ie(i,"part","LiveIcons"),o.a=s,l.a=null,ie(r,"class",n[30]),ie(r,"part",n[30])},m(e,t){q(e,r,t),X(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[67](i),X(r,a),o.m(c,r),X(r,s),l.m(u,r)},p(t,n){if(536872960&n[0]|32769&n[1]){let e;for(d=new Array(Yi),e=0;e<d.length;e+=1){const o=xi(t,d,e);h[e]?h[e].p(o,n):(h[e]=Ri(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]&&ie(r,"class",t[30]),1073741824&n[0]&&ie(r,"part",t[30])},d(e){e&&Q(r),m(h,e),n[67](null)}}}function Li(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]?Di:Ai}let d=u(e),h=d(e);return{c(){n=ee("div"),r=ee("div"),h.c(),i=ne(),a=new A(!1),o=ne(),s=new A(!1),ie(r,"class","LiveIcons"),ie(r,"part","LiveIcons"),a.a=o,s.a=null,ie(n,"class","GameProp LiveProps BlackjackDisplay"),ie(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){q(e,n,t),X(n,r),h.m(r,null),X(n,i),a.m(l,n),X(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&&Q(n),h.d()}}}function Ti(e){let n;function r(e){return e[29]?Bi:Pi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Pi(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),q(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&&Q(r),e&&n.d()}}}function Bi(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=ee("div"),r=new A(!1),i=ne(),a=new A(!1),o=ne(),r.a=i,a.a=o,ie(n,"class","Double"),ie(n,"part","Double")},m(e,t){q(e,n,t),r.m(s,n),X(n,i),a.m(l,n),X(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&&Q(n)}}}function Ri(e){let n,r=e[11]&&e[11][e[107]]&&Ti(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[11]&&e[11][e[107]]?r?r.p(e,t):((r=Ti(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function Ai(t){let i,a=t[24],o=[];for(let e=0;e<a.length;e+=1)o[e]=Hi(Ci(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);q(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=Ci(t,a,e);o[e]?o[e].p(r,n):(o[e]=Hi(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){m(o,e),e&&Q(i)}}}function Di(e){let n,r,i=e[35]("gameThumbnail.full")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","FullTable"),ie(n,"part","FullTable")},m(e,t){q(e,n,t),X(n,r)},p(e,t){16&t[1]&&i!==(i=e[35]("gameThumbnail.full")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Hi(e){let n,r,i,a,o,s,l;return{c(){n=ee("span"),r=b("svg"),i=b("path"),a=b("path"),o=ne(),ie(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"),ie(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"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"width","13"),ie(r,"height","14"),ie(r,"viewBox","0 0 13 14"),ie(n,"class",s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat"),ie(n,"part",l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ie(n,"class",s),285212672&t[0]&&l!==(l=e[43](e[28],e[102].toString())?"ClosedSeat":"OpenSeat")&&ie(n,"part",l)},d(e){e&&Q(n)}}}function Ni(e){let n,r;return{c(){n=ee("p"),r=te(e[3]),ie(n,"class","GameNameBelow"),ie(n,"part","GameNameBelow"),ie(n,"title",e[3])},m(e,t){q(e,n,t),X(n,r)},p(e,t){8&t[0]&&ae(r,e[3]),8&t[0]&&ie(n,"title",e[3])},d(e){e&&Q(n)}}}function Oi(n){let r,i,a,o,s,l,D,c,u,d,h,m,H,p,g,f,y,N,v,w,O,b,x,C,S,F,U,$,M,z,k,_,j,Y,E=n[35]("gameThumbnail.playNow")+"",I=(n[4]||"-")+"",W=0<parseInt(n[7]),G=n[14]&&Si(n);function V(e,t){return 8195&t[0]&&(b=null),8195&t[0]&&(x=null),(b=null==b?!(De(e[36])||!e[0]||!e[13]||!e[1]):b)?Mi:(x=null==x?!!(De(e[36])&&e[0]&&e[13]&&e[1]):x)?$i:void 0}let L=V(n,[-1,-1,-1,-1]),T=L&&L(n),P=n[6]&&ki(n),B=W&&_i(n),R=n[10]&&Ei(n),A=n[9]&&Ni(n);return{c(){r=ee("div"),i=ee("div"),a=ee("img"),D=ne(),c=ee("div"),u=ee("div"),G&&G.c(),d=ne(),h=ee("p"),m=te(n[3]),H=ne(),p=ee("button"),g=te(E),N=ne(),v=ee("span"),w=te(I),O=ne(),T&&T.c(),C=ne(),S=ee("div"),P&&P.c(),F=ne(),B&&B.c(),U=ne(),R&&R.c(),z=ne(),A&&A.c(),this.c=Z,K(a.src,o=n[2])||ie(a,"src",o),ie(a,"class",s=`GameBg GameBg-${n[8]} ${n[15]?"GameContainerHovered":""} `+(n[16]?"Loaded":"")),ie(a,"part",l="GameBg "+(n[15]?"GameContainerHovered":"")+" "+(n[16]?"Loaded":"")),ie(a,"alt",""),ie(a,"loading","lazy"),ie(h,"class","GameInfoName"),ie(h,"part","GameInfoName"),ie(h,"title",n[3]),ie(p,"class","GameInfoBtn"),ie(p,"part","GameInfoBtn"),ie(u,"class",f="GameInfo "+(n[15]?"GameHovered":"")),ie(u,"part",y="GameInfo "+(n[15]?"GameHovered":"")),ie(v,"class","GameInfoVendor"),ie(v,"part","GameInfoVendor"),ie(c,"class","GameInfoWrapper"),ie(c,"part","GameInfoWrapper"),ie(S,"class","GameExtraInfo"),ie(S,"part","GameExtraInfo"),ie(i,"class",$="GameInnerContainer "+(n[10]&&!n[22]&&n[23].value||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ie(i,"part",M="GameInnerContainer "+(n[10]&&!n[22]||n[10]&&n[32]?"GameInnerContainerUnavailable":"")),ie(r,"class",k="GameContainer "+n[33]),ie(r,"part",_="GameContainer "+n[33])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[63](a),X(i,D),X(i,c),X(c,u),G&&G.m(u,null),X(u,d),X(u,h),X(h,m),X(u,H),X(u,p),X(p,g),X(c,N),X(c,v),X(v,w),X(i,O),T&&T.m(i,null),X(i,C),X(i,S),P&&P.m(S,null),X(S,F),B&&B.m(S,null),X(S,U),R&&R.m(S,null),X(r,z),A&&A.m(r,null),n[68](r),j||(Y=[re(p,"click",n[65]),re(i,"mouseenter",n[41]),re(i,"mouseleave",n[42]),re(i,"touchstart",n[39],{passive:!0}),re(i,"touchend",n[40],{passive:!0})],j=!0)},p(e,t){4&t[0]&&!K(a.src,o=e[2])&&ie(a,"src",o),98560&t[0]&&s!==(s=`GameBg GameBg-${e[8]} ${e[15]?"GameContainerHovered":""} `+(e[16]?"Loaded":""))&&ie(a,"class",s),98304&t[0]&&l!==(l="GameBg "+(e[15]?"GameContainerHovered":"")+" "+(e[16]?"Loaded":""))&&ie(a,"part",l),e[14]?G?G.p(e,t):((G=Si(e)).c(),G.m(u,d)):G&&(G.d(1),G=null),8&t[0]&&ae(m,e[3]),8&t[0]&&ie(h,"title",e[3]),16&t[1]&&E!==(E=e[35]("gameThumbnail.playNow")+"")&&ae(g,E),32768&t[0]&&f!==(f="GameInfo "+(e[15]?"GameHovered":""))&&ie(u,"class",f),32768&t[0]&&y!==(y="GameInfo "+(e[15]?"GameHovered":""))&&ie(u,"part",y),16&t[0]&&I!==(I=(e[4]||"-")+"")&&ae(w,I),L===(L=V(e,t))&&T?T.p(e,t):(T&&T.d(1),(T=L&&L(e))&&(T.c(),T.m(i,C))),e[6]?P?P.p(e,t):((P=ki(e)).c(),P.m(S,F)):P&&(P.d(1),P=null),(W=128&t[0]?0<parseInt(e[7]):W)?B?B.p(e,t):((B=_i(e)).c(),B.m(S,U)):B&&(B.d(1),B=null),e[10]?R?R.p(e,t):((R=Ei(e)).c(),R.m(S,null)):R&&(R.d(1),R=null),12583936&t[0]|2&t[1]&&$!==($="GameInnerContainer "+(e[10]&&!e[22]&&e[23].value||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ie(i,"class",$),4195328&t[0]|2&t[1]&&M!==(M="GameInnerContainer "+(e[10]&&!e[22]||e[10]&&e[32]?"GameInnerContainerUnavailable":""))&&ie(i,"part",M),e[9]?A?A.p(e,t):((A=Ni(e)).c(),A.m(r,null)):A&&(A.d(1),A=null),4&t[1]&&k!==(k="GameContainer "+e[33])&&ie(r,"class",k),4&t[1]&&_!==(_="GameContainer "+e[33])&&ie(r,"part",_)},i:Z,o:Z,d(e){e&&Q(r),n[63](null),G&&G.d(),T&&T.d(),P&&P.d(),B&&B.d(),R&&R.d(),A&&A.d(),n[68](null),j=!1,J(Y)}}}const Ui="blackjack",zi="roulette",ji="doubleballroulette",Yi=5;function Wi(i,e,o){let t;Ne(i,Kr,e=>o(35,t=e));let a,s,l,n,R,c,u,d,h,m,p,g,f,y,v,w,A,D,H,b,N,x,O,U,{session:z=""}=e,{userid:j=""}=e,{lang:Y=""}=e,{clientstyling:C=""}=e,{clientstylingurl:S=""}=e,{favorites:F=""}=e,{gamethumbnail:W=""}=e,{gamename:V=""}=e,{gamevendor:r=""}=e,{gameid:$=""}=e,{gameisnew:Z=""}=e,{gamepopularity:J=""}=e,{gamefunmode:K=!1}=e,{searchitem:X=!1}=e,{gamefavorite:M=!1}=e,{gamecellsize:q=""}=e,{showfavoredcategory:k=!1}=e,{showgamename:Q=!1}=e,{currency:_=""}=e,{gamepagemodalurl:ee="false"}=e,{endpoint:E=""}=e,{livelobbyendpoint:I=""}=e,{connectlive:G=""}=e,{visibilityconnect:L=""}=e,te=!1,ne=!1,re=!1,T=window.navigator.userAgent,ie="HH:mm",ae,oe=[],se="EUR",P="";const le=[Ui],ce=[zi,ji],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(wi).forEach(e=>{Ir(e,wi[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+$||k||o(0,M=!0),e.data.type!=="RemoveFavoriteThumbnail_"+$||k||o(0,M=!1),"UserSessionID"===e.data.type&&(o(13,te=!0),e.data.session,e.data.userID),"CategoryUpdate"===e.data.type&&o(10,l=null)}),me=e=>{X&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),De(T)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:K,gamepagemodalurl:ee,isMobile:De(T)},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href)},pe=e=>{var t="thumbnail";M?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},ge=()=>{I&&EventSource&&!n&&r&&$&&(n=new EventSource(`${E}/encoder/lobby/updates/${r}/`+$)).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 we());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(f=n,o(10,l.currentRouletteNumbers=n,l),await we());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(y=n,o(10,l.currentDoubleBallRouletteNumbers=n,l),await we());break;case"TableOpened":case"TableClosed":o(22,u=a),o(10,l.isOpen=a,l),await we()}}}},ve=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",B=(e,t)=>e.some(e=>e===t);return Oe(()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),n&&n.removeEventListener("message",ye)})),i.$$set=e=>{"session"in e&&o(47,z=e.session),"userid"in e&&o(48,j=e.userid),"lang"in e&&o(49,Y=e.lang),"clientstyling"in e&&o(50,C=e.clientstyling),"clientstylingurl"in e&&o(51,S=e.clientstylingurl),"favorites"in e&&o(1,F=e.favorites),"gamethumbnail"in e&&o(2,W=e.gamethumbnail),"gamename"in e&&o(3,V=e.gamename),"gamevendor"in e&&o(4,r=e.gamevendor),"gameid"in e&&o(5,$=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,M=e.gamefavorite),"gamecellsize"in e&&o(8,q=e.gamecellsize),"showfavoredcategory"in e&&o(54,k=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,I=e.livelobbyendpoint),"connectlive"in e&&o(59,G=e.connectlive),"visibilityconnect"in e&&o(60,L=e.visibilityconnect)},i.$$.update=()=>{if(268435456&i.$$.dirty[1]&&G&&("disconnect"===G?fe():"connect"===G&&ge()),536870912&i.$$.dirty[1]&&L&&("disconnect"===L?fe():"connect"===L&&"connect"===G&&ge()),i.$$.dirty[1],67305472&i.$$.dirty[1]&&z&&j&&E&&o(13,te=!0),4&i.$$.dirty[0]&&W&&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]&&F&&"true"==F&&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&&I){let e=new URL(""+I.split("?")[0]);e.searchParams.append("platform",He(T)),e.searchParams.append("language",Y),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=>{p=e.totalSeats||7,o(28,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=p;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();B(le,e)?t=Ui:B(ce,e)&&(t=zi)}}return t})(l)),o(25,se=bi[_]),o(26,h=(ae.min||{})[_]),o(27,m=(ae.max||{})[_]),f=l.currentRouletteNumbers,y=l.currentDoubleBallRouletteNumbers,v=l.vendorCategory,o(29,w=v.toLowerCase()===ji),o(11,A=(w?y:f)||[]),o(30,D="GameProp LiveProps RoulleteProps"),o(30,D+=w?" Double":""),o(31,H=B(ce,v.toLowerCase())?de:ue),N=b,o(32,b=Array.isArray(g)&&g.length===p),l.dealer&&o(34,O=l.dealer.DealerName),U=l.numberOfPlayers,o(33,P="ListGame"),l.isOpen&&l.currentRouletteNumbers&&o(33,P+=" GameBackdrop"),u&&b&&h&&m&&l.currentOccupiedSeats?o(33,P+=" GameContainerDimmed"):!1===u&&c&&o(33,P+=" GameContainerFullyDimmed"),s&&(!N&&b?(o(33,P+=" PulsatingRedShadow"),o(33,P=P.replace(" PulsatingGreenShadow",""))):N&&!b&&(o(33,P+=" PulsatingGreenShadow"),o(33,P=P.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},[M,F,W,V,r,$,Z,J,q,Q,l,A,x,te,ne,!1,re,a,s,R,c,ie,u,d,oe,se,h,m,g,w,D,H,b,P,O,t,T,me,pe,()=>{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)},B,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`
|
|
4
4
|
<span>
|
|
5
5
|
${n}
|
|
6
6
|
</span>
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},z,j,Y,C,S,K,X,k,_,ee,E,I,L,G,ue,de,function(e){Be[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>me(M),()=>pe(M),()=>me(M),function(e){Be[e?"unshift":"push"](()=>{x=e,o(12,x)})},function(e){Be[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function Vi(e,t,n){const r=e.slice();return r[71]=t[n],r[73]=n,r}function Zi(e,t,n){const r=e.slice();return r[71]=t[n],r[74]=t,r[73]=n,r}function Ji(e,t,n){const r=e.slice();return r[71]=t[n],r[73]=n,r}function Ki(e){let n;function r(e){return e[12]?ea:e[22]?Qi:void 0}let i=r(e),a=i&&i(e);return{c(){n=ee("div"),a&&a.c()},m(e,t){q(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&&Q(n),a&&a.d()}}}function Xi(e){let n,r,i;function a(e){return e[16]?va:e[13].length?fa:ya}let o=a(e),s=o(e);function l(e){return e[13]?ba:wa}let c=l(e),u=c(e);return{c(){n=ee("div"),r=ee("div"),s.c(),i=ne(),u.c(),ie(r,"class","CasinoGamesHeader Searched "+(Ae(e[28])?"CasinoGamesHeaderMobile":"")),ie(r,"part","CasinoGamesHeader Searched "+(Ae(e[28])?"CasinoGamesHeaderMobile":"")),ie(n,"class","CasinoGamesContainer"),ie(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),X(n,r),s.m(r,null),X(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&&Q(n),s.d(),u.d()}}}function qi(e){let n;function r(e){return e[18]?Fa:Sa}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Qi(n){let r,i,a,o,s,l,c,u,d=n[27]("gamesCategorySection.favorites")+"";function h(e){return e[26]?na:ta}let p=h(n),m=p(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(d),s=ne(),l=ee("ul"),m.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(l,"class",c=(0!=n[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(l,"part",u=(0!=n[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[44](a),X(r,s),X(r,l),m.m(l,null),n[45](l)},p(e,t){134217728&t[0]&&d!==(d=e[27]("gamesCategorySection.favorites")+"")&&ae(o,d),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),67108864&t[0]&&c!==(c=(0!=e[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"class",c),67108864&t[0]&&u!==(u=(0!=e[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"part",u)},d(e){e&&Q(r),n[44](null),m.d(),n[45](null)}}}function ea(n){let r,i,a,o,s,l,c=n[12].name+"",u=n[14]&&ha(n);function d(e){return 0!==e[13].length?ma:pa}let h=d(n),p=h(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(c),s=ne(),u&&u.c(),l=ne(),p.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[40](a),X(i,s),u&&u.m(i,null),X(r,l),p.m(r,null)},p(e,t){4096&t[0]&&c!==(c=e[12].name+"")&&ae(o,c),e[14]?u?u.p(e,t):((u=ha(e)).c(),u.m(i,null)):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,null)))},d(e){e&&Q(r),n[40](null),u&&u.d(),p.d()}}}function ta(e){let n,r,i=e[27]("gamesCategorySection.waiting")+"";return{c(){n=ee("p"),r=te(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.waiting")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function na(t){let r,i=t[26].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=da(Vi(t,i,e));let o=null;return i.length||(o=ra(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);q(t,r,n),o&&o.m(t,n)},p(t,n){if(524289023&n[0]){let e;for(i=t[26].items,e=0;e<i.length;e+=1){const o=Vi(t,i,e);a[e]?a[e].p(o,n):(a[e]=da(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=ra(t)).c(),o.m(r.parentNode,r))}},d(e){p(a,e),e&&Q(r),o&&o.d(e)}}}function ra(e){let n,r,i,a,o,s,l,c,t,u,d=e[27]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,Ae(m[28])?aa:ia),p=h(e);var m;return{c(){n=ee("p"),r=b("svg"),i=b("path"),a=ne(),o=ee("span"),s=te(d),l=ne(),p.c(),c=ne(),P(i,"fill","white"),ie(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"),ie(r,"version","1.1"),ie(r,"class","UnfavoredIcon"),ie(r,"part","UnfavoredIcon"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(r,"x","50px"),ie(r,"y","50px"),ie(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),ie(r,"xml:space","preserve"),ie(o,"class","NoFavoriteText NoFavoriteTextHighlight"),ie(o,"part","NoFavoriteText NoFavoriteTextHighlight"),ie(n,"class",t="NoFavoriteGames "+(Ae(e[28])?"NoFavoriteGamesMobile":"")),ie(n,"part",u="NoFavoriteGames "+(Ae(e[28])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),X(n,r),X(r,i),X(n,a),X(n,o),X(o,s),X(n,l),p.m(n,null),X(n,c)},p(e,t){134217728&t[0]&&d!==(d=e[27]("gamesCategorySection.noFavoritesTitle")+"")&&ae(s,d),p.p(e,t)},d(e){e&&Q(n),p.d()}}}function ia(e){let n,r,i=e[27]("gamesCategorySection.noFavorites")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.noFavorites")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function aa(e){let n,r,i=e[27]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.noFavoritesMobile")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function oa(e){let n,r=e[71].gameModel.isFavorite&&sa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[71].gameModel.isFavorite?r?r.p(e,t):((r=sa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function sa(e){let n,r=function(e){let n,r,i;function a(e,t){return 67108864&t[0]&&(r=null),(n=null==n?!!Ae(e[28]):n)?ca:(r=null==r?!!e[71].gameModel.platform.includes("PC"):r)?la: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),q(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&&Q(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function la(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){x(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[71].cellSize||"1x1"))),x(n,"part",i=""+(S+(e[71].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[71].gameModel.thumbnail),x(n,"gamename",o=e[71].gameModel.name),x(n,"gamevendor",s=e[71].gameModel.vendor.name),x(n,"gameisnew",l=e[71].gameModel.isNew),x(n,"gamepopularity",c=e[71].gameModel.popularity),x(n,"gamecellsize",u=e[71].cellSize),x(n,"gameid",d=e[71].gameModel.id),x(n,"gamefunmode",h=e[71].gameModel.hasFunMode),x(n,"gamefavorite",p=e[71].gameModel.isFavorite),x(n,"showfavoredcategory",e[22]),x(n,"connectlive",m=1==e[24][e[71].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[25]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[71].gameModel.details?e[71].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9])},m(e,t){q(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(S+(e[71].cellSize||"1x1")))&&x(n,"class",r),67108864&t[0]&&i!==(i=""+(S+(e[71].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),67108864&t[0]&&a!==(a=e[71].gameModel.thumbnail)&&x(n,"gamethumbnail",a),67108864&t[0]&&o!==(o=e[71].gameModel.name)&&x(n,"gamename",o),67108864&t[0]&&s!==(s=e[71].gameModel.vendor.name)&&x(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[71].gameModel.isNew)&&x(n,"gameisnew",l),67108864&t[0]&&c!==(c=e[71].gameModel.popularity)&&x(n,"gamepopularity",c),67108864&t[0]&&u!==(u=e[71].cellSize)&&x(n,"gamecellsize",u),67108864&t[0]&&d!==(d=e[71].gameModel.id)&&x(n,"gameid",d),67108864&t[0]&&h!==(h=e[71].gameModel.hasFunMode)&&x(n,"gamefunmode",h),67108864&t[0]&&p!==(p=e[71].gameModel.isFavorite)&&x(n,"gamefavorite",p),4194304&t[0]&&x(n,"showfavoredcategory",e[22]),83886080&t[0]&&m!==(m=1==e[24][e[71].id]?"connect":"disconnect")&&x(n,"connectlive",m),33554432&t[0]&&x(n,"visibilityconnect",e[25]),128&t[0]&&x(n,"currency",e[7]),67108864&t[0]&&g!==(g=e[71].gameModel.details?e[71].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9])},d(e){e&&Q(n)}}}function ca(e){let n,r=e[71].gameModel.platform.includes("iPad")||e[71].gameModel.platform.includes("iPhone")||e[71].gameModel.platform.includes("Android"),i=r&&ua(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){(r=67108864&t[0]?e[71].gameModel.platform.includes("iPad")||e[71].gameModel.platform.includes("iPhone")||e[71].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=ua(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function ua(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g;return{c(){x(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[71].cellSize||"1x1"))),x(n,"part",i=""+(S+(e[71].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[71].gameModel.thumbnail),x(n,"gamename",o=e[71].gameModel.name),x(n,"gamevendor",s=e[71].gameModel.vendor.name),x(n,"gameisnew",l=e[71].gameModel.isNew),x(n,"gamepopularity",c=e[71].gameModel.popularity),x(n,"gamecellsize",u=e[71].cellSize),x(n,"gameid",d=e[71].gameModel.id),x(n,"gamefunmode",h=e[71].gameModel.hasFunMode),x(n,"gamefavorite",p=e[71].gameModel.isFavorite),x(n,"showfavoredcategory",e[22]),x(n,"connectlive",m=1==e[24][e[71].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[25]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[71].gameModel.details?e[71].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9])},m(e,t){q(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(S+(e[71].cellSize||"1x1")))&&x(n,"class",r),67108864&t[0]&&i!==(i=""+(S+(e[71].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),67108864&t[0]&&a!==(a=e[71].gameModel.thumbnail)&&x(n,"gamethumbnail",a),67108864&t[0]&&o!==(o=e[71].gameModel.name)&&x(n,"gamename",o),67108864&t[0]&&s!==(s=e[71].gameModel.vendor.name)&&x(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[71].gameModel.isNew)&&x(n,"gameisnew",l),67108864&t[0]&&c!==(c=e[71].gameModel.popularity)&&x(n,"gamepopularity",c),67108864&t[0]&&u!==(u=e[71].cellSize)&&x(n,"gamecellsize",u),67108864&t[0]&&d!==(d=e[71].gameModel.id)&&x(n,"gameid",d),67108864&t[0]&&h!==(h=e[71].gameModel.hasFunMode)&&x(n,"gamefunmode",h),67108864&t[0]&&p!==(p=e[71].gameModel.isFavorite)&&x(n,"gamefavorite",p),4194304&t[0]&&x(n,"showfavoredcategory",e[22]),83886080&t[0]&&m!==(m=1==e[24][e[71].id]?"connect":"disconnect")&&x(n,"connectlive",m),33554432&t[0]&&x(n,"visibilityconnect",e[25]),128&t[0]&&x(n,"currency",e[7]),67108864&t[0]&&g!==(g=e[71].gameModel.details?e[71].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9])},d(e){e&&Q(n)}}}function da(e){let n,r=e[71].gameModel&&oa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[71].gameModel?r?r.p(e,t):((r=oa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function ha(n){let r,i,a,o,s,l,c,u,d=n[27]("gamesCategorySection.viewAll")+"",h=n[12].games.total+"";return{c(){r=ee("a"),i=ee("span"),a=te(d),o=te(" ("),s=te(h),l=te(")"),ie(i,"class","CategoryLoadMore"),ie(i,"part","CategoryLoadMore"),ie(r,"class","CategoryNameLink"),ie(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),X(i,l),c||(u=re(r,"click",n[41]),c=!0)},p(e,t){134217728&t[0]&&d!==(d=e[27]("gamesCategorySection.viewAll")+"")&&ae(a,d),4096&t[0]&&h!==(h=e[12].games.total+"")&&ae(s,h)},d(e){e&&Q(r),c=!1,u()}}}function pa(e){let n;return{c(){(n=ee("p")).textContent="You don't have any games in this category.",ie(n,"class","NoSearchResults"),ie(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ma(n){let r,e,i,a=n[13],o=[];for(let e=0;e<a.length;e+=1)o[e]=ga(Zi(n,a,e));return{c(){r=ee("ul");for(let e=0;e<o.length;e+=1)o[e].c();ie(r,"class",e=(0===n[26].items.length&&n[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),ie(r,"part",i=(0===n[26].items.length&&n[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[43](r)},p(t,n){if(50341887&n[0]){let e;for(a=t[13],e=0;e<a.length;e+=1){const i=Zi(t,a,e);o[e]?o[e].p(i,n):(o[e]=ga(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}71303168&n[0]&&e!==(e=(0===t[26].items.length&&t[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"class",e),71303168&n[0]&&i!==(i=(0===t[26].items.length&&t[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"part",i)},d(e){e&&Q(r),p(o,e),n[43](null)}}}function ga(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y=n[73];const v=()=>n[42](r,y),w=()=>n[42](null,y);return{c(){x(r=ee("casino-game-thumbnail"),"session",n[2]),x(r,"userid",n[3]),x(r,"lang",n[1]),x(r,"class",i=""+(S+(n[71].cellSize||"1x1"))),x(r,"part",a=""+(S+(n[71].cellSize||"1x1"))),x(r,"favorites",n[4]),x(r,"gamethumbnail",o=n[71].thumbnail),x(r,"gamename",s=n[71].name),x(r,"gamevendor",l=n[71].vendor.name),x(r,"gameisnew",c=n[71].isNew),x(r,"gamepopularity",u=n[71].popularity),x(r,"gamecellsize",d=n[71].cellSize),x(r,"gameid",h=n[71].id),x(r,"gamefunmode",p=n[71].hasFunMode),x(r,"gamefavorite",m=n[71].isFavorite),x(r,"connectlive",g=1==n[24][n[71].id]?"connect":"disconnect"),x(r,"visibilityconnect",n[25]),x(r,"currency",n[7]),x(r,"livelobbyendpoint",f=n[71].details?n[71].href:""),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6]),x(r,"endpoint",n[0]),x(r,"livecasino",n[8]),x(r,"gamepagemodalurl",n[9])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&x(r,"session",n[2]),8&t[0]&&x(r,"userid",n[3]),2&t[0]&&x(r,"lang",n[1]),8192&t[0]&&i!==(i=""+(S+(n[71].cellSize||"1x1")))&&x(r,"class",i),8192&t[0]&&a!==(a=""+(S+(n[71].cellSize||"1x1")))&&x(r,"part",a),16&t[0]&&x(r,"favorites",n[4]),8192&t[0]&&o!==(o=n[71].thumbnail)&&x(r,"gamethumbnail",o),8192&t[0]&&s!==(s=n[71].name)&&x(r,"gamename",s),8192&t[0]&&l!==(l=n[71].vendor.name)&&x(r,"gamevendor",l),8192&t[0]&&c!==(c=n[71].isNew)&&x(r,"gameisnew",c),8192&t[0]&&u!==(u=n[71].popularity)&&x(r,"gamepopularity",u),8192&t[0]&&d!==(d=n[71].cellSize)&&x(r,"gamecellsize",d),8192&t[0]&&h!==(h=n[71].id)&&x(r,"gameid",h),8192&t[0]&&p!==(p=n[71].hasFunMode)&&x(r,"gamefunmode",p),8192&t[0]&&m!==(m=n[71].isFavorite)&&x(r,"gamefavorite",m),16785408&t[0]&&g!==(g=1==n[24][n[71].id]?"connect":"disconnect")&&x(r,"connectlive",g),33554432&t[0]&&x(r,"visibilityconnect",n[25]),128&t[0]&&x(r,"currency",n[7]),8192&t[0]&&f!==(f=n[71].details?n[71].href:"")&&x(r,"livelobbyendpoint",f),32&t[0]&&x(r,"clientstyling",n[5]),64&t[0]&&x(r,"clientstylingurl",n[6]),1&t[0]&&x(r,"endpoint",n[0]),256&t[0]&&x(r,"livecasino",n[8]),512&t[0]&&x(r,"gamepagemodalurl",n[9]),y!==n[73]&&(w(),y=n[73],v())},d(e){e&&Q(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function fa(e){let n,r,i=e[27]("gamesCategorySection.searchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.searchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ya(e){let n,r,i=e[27]("gamesCategorySection.noResults")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.noResults")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function va(e){let n,r,i=e[27]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.recentSearchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function wa(e){let n;return{c(){(n=ee("p")).textContent="Waiting",ie(n,"class","SearchWaiting"),ie(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ba(t){let r,i,a=!t[19]&&xa(t),o=t[13],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ca(Ji(t,o,e));return{c(){a&&a.c(),r=ne(),i=ee("ul");for(let e=0;e<s.length;e+=1)s[e].c();ie(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),ie(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[19]?a&&(a.d(1),a=null):a?a.p(t,n):((a=xa(t)).c(),a.m(r.parentNode,r)),140287&n[0]){let e;for(o=t[13],e=0;e<o.length;e+=1){const a=Ji(t,o,e);s[e]?s[e].p(a,n):(s[e]=Ca(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&&Q(r),e&&Q(i),p(s,e)}}}function xa(e){let n,r,t,i,a=e[27]("gamesCategorySection.noRecentSearch")+"";return{c(){n=ee("p"),r=te(a),ie(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ae(e[28])?"NoRecentSearchesMobile":"")),ie(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ae(e[28])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&a!==(a=e[27]("gamesCategorySection.noRecentSearch")+"")&&ae(r,a)},d(e){e&&Q(n)}}}function Ca(e){let n,r,i,a,o,s,l,c,u,d,h,p,m;return{c(){x(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[71].cellSize||"1x1"))),x(n,"part",i=""+(S+(e[71].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[17]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[71].thumbnail),x(n,"gamename",o=e[71].name),x(n,"gamevendor",s=e[71].vendor.name),x(n,"gameisnew",l=e[71].isNew),x(n,"gamepopularity",c=e[71].popularity),x(n,"gamecellsize",u=e[71].cellSize),x(n,"gameid",d=e[71].id),x(n,"gamefunmode",h=e[71].hasFunMode),x(n,"gamefavorite",p=e[71].isFavorite),x(n,"currency",e[7]),x(n,"livelobbyendpoint",m=e[71].details?e[71].href:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9])},m(e,t){q(e,n,t)},p(e,t){8192&t[0]&&r!==(r=""+(S+(e[71].cellSize||"1x1")))&&x(n,"class",r),8192&t[0]&&i!==(i=""+(S+(e[71].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),131072&t[0]&&x(n,"searchitem",e[17]),16&t[0]&&x(n,"favorites",e[4]),8192&t[0]&&a!==(a=e[71].thumbnail)&&x(n,"gamethumbnail",a),8192&t[0]&&o!==(o=e[71].name)&&x(n,"gamename",o),8192&t[0]&&s!==(s=e[71].vendor.name)&&x(n,"gamevendor",s),8192&t[0]&&l!==(l=e[71].isNew)&&x(n,"gameisnew",l),8192&t[0]&&c!==(c=e[71].popularity)&&x(n,"gamepopularity",c),8192&t[0]&&u!==(u=e[71].cellSize)&&x(n,"gamecellsize",u),8192&t[0]&&d!==(d=e[71].id)&&x(n,"gameid",d),8192&t[0]&&h!==(h=e[71].hasFunMode)&&x(n,"gamefunmode",h),8192&t[0]&&p!==(p=e[71].isFavorite)&&x(n,"gamefavorite",p),128&t[0]&&x(n,"currency",e[7]),8192&t[0]&&m!==(m=e[71].details?e[71].href:"")&&x(n,"livelobbyendpoint",m),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9])},d(e){e&&Q(n)}}}function Sa(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Fa(e){let n;return{c(){(n=ee("p")).textContent="404 Error - No result found.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ma(n){let r;function i(e){return e[11]?qi:e[15]?Xi:Ki}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"class","CasinoGamesCategorySectionContainer"),ie(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[46](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&&Q(r),o.d(),n[46](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Wi,Oi,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&&q(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 S="game-tile-";function $a(e,t,s){let R;He(e,Kr,e=>s(27,R=e));let n,i,a,r,A,o,l,c,u,d,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:D=""}=t,{userid:H=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:N=""}=t,{categoryid:v=""}=t,{categorygames:O=0}=t,{livecasino:U="false"}=t,{visiblegames:z=""}=t,{gamepagemodalurl:j="false"}=t,{once:Y=!0}=t,{top:W=0}=t,{bottom:V=0}=t,{left:Z=0}=t,{right:J=0}=t,w=!1,b=!0,K=window.navigator.userAgent,x=[],C=!0,S=40,F=!1,M=!1,X=!1,$=!1,k=!1,_=!0,E=!1,I=!1,L=!1,G=new Array(1e4),T={},q="",P={items:[],count:0,name:""},Q=(Object.keys(gi).forEach(e=>{Ir(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&&ne(v),s(24,T[t]=1,T)):s(24,T[t]=0,T)})}));const ee=(e,r,i,t=0)=>{let a=new URL(`${h}/casino/groups/${p}/`+v),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",De(K)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===b&&!1===E){let t="";s(18,k=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(18,k=!1);fetch(a).then(e=>e.json()).then(e=>{s(39,d=!0),s(11,w=!1),A=e.games.total,t(e)},e=>{s(11,w=!0),console.error(e),n(e)})})},te=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(15,F=!1),b=!1,s(14,C=!1),I=!0,s(13,x=t.data.mostPlayedGames),s(12,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":s(15,F=!0),I=!1,s(16,M=!0),0<t.data.searchData.length?(s(13,x=t.data.searchData),s(19,_=!0),x&&x.forEach(e=>{e.isFavorite=B(e.id)})):(s(13,x=[]),s(19,_=!1));break;case"OutOfRecentSearches":s(15,F=!1),s(16,M=!1);break;case"SearchData":s(15,F=!0),I=!1,s(16,M=!1),s(13,x=t.data.searchData.items||[]),s(17,$=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+v:s(15,F=!1),b=!0,s(14,C=!0),s(17,$=!1),I=!1,L=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),ee(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(12,a=e),s(13,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":s(15,F=!1),b=!1,s(17,$=!1),I=!1,L=!0,s(30,v=t.data.itemId),"MOSTPLAYED"!==v&&s(14,C=!1),ee(0,0,S).then(e=>{s(12,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(13,x=a.games.items),s(14,C=!1),x.length<10&&(X=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:X},window.location.href)},500))});break;case"FavoriteUpdate":I=!1,b=!0,s(13,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}),s(14,C=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items,E?b||I||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)}),s(26,P.items=Xr(e,P.items),P),s(26,P.name="Favorites",P),s(22,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=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=B(e.id)});e=x;s(13,x=void 0),s(13,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},ne=e=>{(S+=1)<=A&&ee(0,0,S).then(e=>{s(12,a=e),a.games.items.length>x.length&&(s(13,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),re=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Ne(()=>(window.addEventListener("visibilitychange",e=>{document[u]?s(25,q="disconnect"):s(25,q="connect")}),window.addEventListener("message",te,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",te),window.removeEventListener("visibilitychange",te)})),e.$$set=e=>{"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(31,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,D=e.session),"userid"in e&&s(3,H=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,N=e.currency),"categoryid"in e&&s(30,v=e.categoryid),"categorygames"in e&&s(32,O=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(33,z=e.visiblegames),"gamepagemodalurl"in e&&s(9,j=e.gamepagemodalurl),"once"in e&&s(34,Y=e.once),"top"in e&&s(35,W=e.top),"bottom"in e&&s(36,V=e.bottom),"left"in e&&s(37,Z=e.left),"right"in e&&s(38,J=e.right)},e.$$.update=()=>{if(1024&e.$$.dirty[0]|256&e.$$.dirty[1]&&d&&G&&L&&G.forEach((e,t)=>{e&&(e.elems_index=t,Q.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(64&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)})}},[h,m,D,H,g,f,y,N,U,j,G,w,a,x,C,F,M,$,k,_,r,o,E,c,T,q,P,R,K,re,v,p,O,z,Y,W,V,Z,J,d,function(e){Be[e?"unshift":"push"](()=>{o=e,s(21,o)})},e=>re(a.id,a),function(e,t){Be[e?"unshift":"push"](()=>{G[t]=e,s(10,G)})},function(e){Be[e?"unshift":"push"](()=>{r=e,s(20,r)})},function(e){Be[e?"unshift":"push"](()=>{o=e,s(21,o)})},function(e){Be[e?"unshift":"push"](()=>{r=e,s(20,r)})},function(e){Be[e?"unshift":"push"](()=>{c=e,s(23,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends n{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},$a,Ma,t,{endpoint:0,datasource:31,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:30,categorygames:32,livecasino:8,visiblegames:33,gamepagemodalurl:9,once:34,top:35,bottom:36,left:37,right:38},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[31]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[30]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[33]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get once(){return this.$$.ctx[34]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[35]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[36]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[37]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[38]}set right(e){this.$$set({right:e}),f()}});const ka={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},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"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"}}};function _a(e,t,n){const r=e.slice();return r[22]=t[n],r[24]=n,r}function Ea(n){let r,i,a,o,s,l,c,u=!n[4]&&Ia(n),d=n[4]&&Ga(n);return{c(){r=ee("div"),i=ee("div"),(a=ee("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=ne(),u&&u.c(),s=ne(),d&&d.c(),ie(a,"class","ModalCloseBtn"),ie(a,"part","ModalCloseBtn"),ie(a,"role","button"),ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),u&&u.m(i,null),X(i,s),d&&d.m(i,null),l||(c=re(a,"click",n[8]),l=!0)},p(e,t){e[4]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ia(e)).c(),u.m(i,s)),e[4]?d?d.p(e,t):((d=Ga(e)).c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&Q(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ia(t){let n,r,i,a,o,s,e=t[5]("randomGame.randomGameLoading")+"",l=t[1],c=[];for(let e=0;e<l.length;e+=1)c[e]=La(_a(t,l,e));return{c(){n=ee("div"),r=ee("main"),i=ee("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ne(),o=ee("p"),s=te(e),ie(i,"class","items"),ie(i,"part","items"),P(i,"transform","translateY("+t[3]+"px)"),ie(r,"class","RandomGamesSliderWrapper"),ie(r,"part","RandomGamesSliderWrapper"),ie(o,"class","RandomGameLoading"),ie(o,"part","RandomGameLoading"),ie(n,"class","RandomGameWrapper"),ie(n,"part","RandomGameWrapper")},m(e,t){q(e,n,t),X(n,r),X(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);X(n,a),X(n,o),X(o,s)},p(t,n){if(2&n){let e;for(l=t[1],e=0;e<l.length;e+=1){var r=_a(t,l,e);c[e]?c[e].p(r,n):(c[e]=La(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}8&n&&P(i,"transform","translateY("+t[3]+"px)"),32&n&&e!==(e=t[5]("randomGame.randomGameLoading")+"")&&ae(s,e)},d(e){e&&Q(n),p(c,e)}}}function La(e){let n,r,i,a,o,s;return{c(){n=ee("div"),r=ee("img"),s=ne(),ie(r,"class","RandomGameImage"),ie(r,"part","RandomGameImage"),K(r.src,i=e[22].thumbnail)||ie(r,"src",i),ie(r,"alt",a=e[22].name),ie(r,"title",o=e[22].name),ie(n,"class","item"),ie(n,"part","item")},m(e,t){q(e,n,t),X(n,r),X(n,s)},p(e,t){2&t&&!K(r.src,i=e[22].thumbnail)&&ie(r,"src",i),2&t&&a!==(a=e[22].name)&&ie(r,"alt",a),2&t&&o!==(o=e[22].name)&&ie(r,"title",o)},d(e){e&&Q(n)}}}function Ga(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S=n[0].name+"",F=n[0].vendor.name+"",M=n[5]("randomGame.playNowRandomGame")+"";return{c(){r=ee("div"),i=ee("div"),a=ee("img"),c=ne(),(u=ee("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=ne(),h=ee("div"),p=ee("p"),m=te(S),g=ne(),f=ee("p"),y=te(F),v=ne(),w=ee("button"),b=te(M),ie(a,"class","RandomGameImage"),ie(a,"part","RandomGameImage"),K(a.src,o=n[0].thumbnail)||ie(a,"src",o),ie(a,"alt",s=n[0].name),ie(a,"title",l=n[0].name),ie(u,"class","RandomTryAgain"),ie(u,"part","RandomTryAgain"),ie(i,"class","item"),ie(i,"part","item"),ie(p,"class","RandomGameTitle"),ie(p,"part","RandomGameTitle"),ie(f,"class","RandomGameVendor"),ie(f,"part","RandomGameVendor"),ie(w,"class","RandomGamePlay"),ie(w,"part","RandomGamePlay"),ie(h,"class","RandomGameDetails"),ie(h,"part","RandomGameDetails"),ie(r,"class","RandomGameWrapper"),ie(r,"part","RandomGameWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,c),X(i,u),X(r,d),X(r,h),X(h,p),X(p,m),X(h,g),X(h,f),X(f,y),X(h,v),X(h,w),X(w,b),x||(C=[re(u,"click",n[13]),re(w,"click",n[14])],x=!0)},p(e,t){1&t&&!K(a.src,o=e[0].thumbnail)&&ie(a,"src",o),1&t&&s!==(s=e[0].name)&&ie(a,"alt",s),1&t&&l!==(l=e[0].name)&&ie(a,"title",l),1&t&&S!==(S=e[0].name+"")&&ae(m,S),1&t&&F!==(F=e[0].vendor.name+"")&&ae(y,F),32&t&&M!==(M=e[5]("randomGame.playNowRandomGame")+"")&&ae(b,M)},d(e){e&&Q(r),x=!1,J(C)}}}function Ta(n){let r,i,a,o,s,l,c,u,d,h,p,m=n[5]("randomGame.playRandomGame")+"",g=n[2]&&Ea(n);return{c(){r=ee("div"),i=ee("div"),g&&g.c(),a=ne(),o=ee("div"),s=ee("button"),l=ee("span"),c=te(m),u=ne(),(d=ee("span")).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-rule:evenodd;clip-rule:evenodd;fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M161,16.7c-2.7,0-5.5,0.5-8.1,1.6l-44.2,18.3C98.1,41,93,53.2,97.4,63.8l18.3,44.2 c4.4,10.6,16.6,15.7,27.2,11.3l44.2-18.3c10.6-4.4,15.7-16.6,11.3-27.2l-18.3-44.2C176.8,21.6,169.1,16.7,161,16.7L161,16.7z M161,25c4.9,0,9.4,2.9,11.4,7.8l18.3,44.2c2.7,6.5-0.3,13.7-6.8,16.3l-44.2,18.3c-6.5,2.7-13.7-0.3-16.3-6.8l-18.3-44.2 c-2.7-6.5,0.3-13.7,6.8-16.3L156.1,26C157.7,25.3,159.4,25,161,25L161,25z M127.1,54.2c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C130.3,54.8,128.7,54.2,127.1,54.2z M147.9,62.5c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C151.2,63.2,149.6,62.5,147.9,62.5z M168.8,70.8 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C172,71.5,170.4,70.8,168.8,70.8L168.8,70.8z M39,79.2c-8.1,0.1-15.8,4.9-19.1,12.9 L1.6,136.2c-4.4,10.6,0.7,22.8,11.3,27.2l44.2,18.3c10.6,4.4,22.8-0.7,27.2-11.3l18.3-44.2c4.4-10.6-0.7-22.8-11.3-27.2L47.1,80.8 C44.5,79.7,41.7,79.1,39,79.2L39,79.2z M39,87.5c1.6,0,3.3,0.3,4.9,1l44.2,18.3c6.5,2.7,9.4,9.9,6.8,16.3l-18.3,44.2 c-2.7,6.5-9.9,9.4-16.3,6.8l-44.2-18.3c-6.5-2.7-9.4-9.9-6.8-16.3l18.3-44.2C29.6,90.4,34.1,87.5,39,87.5L39,87.5z M44.7,99.4 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C47.9,100,46.3,99.4,44.7,99.4z M75.5,112.1c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4 c0-1.7-0.7-3.2-1.8-4.4C78.7,112.8,77.1,112.1,75.5,112.1z M36.7,118.6c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4 s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C39.9,119.3,38.3,118.6,36.7,118.6z M67.5,131.4c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C70.7,132,69.1,131.4,67.5,131.4z M28.7,137.9c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8 c1.7,0,3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C32,138.5,30.4,137.9,28.7,137.9z M59.5,150.6 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4c0,1.7,0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C62.8,151.3,61.2,150.6,59.5,150.6z"></path></svg>',this.c=Z,ie(s,"class","RandomButton"),ie(s,"part","RandomButton"),ie(o,"class","RandomButtonWrapper"),ie(o,"part","RandomButtonWrapper"),ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),X(r,i),g&&g.m(i,null),X(i,a),X(i,o),X(o,s),X(s,l),X(l,c),X(s,u),X(s,d),h||(p=re(s,"click",n[15]),h=!0)},p(e,[t]){e[2]?g?g.p(e,t):((g=Ea(e)).c(),g.m(i,a)):g&&(g.d(1),g=null),32&t&&m!==(m=e[5]("randomGame.playRandomGame")+"")&&ae(c,m)},i:Z,o:Z,d(e){e&&Q(r),g&&g.d(),h=!1,p()}}}function Pa(t,e,n){let r;He(t,Kr,e=>n(5,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,c=[],u="",d=!1,h=0,p=0,m=!1,g=window.navigator.userAgent;var f,y;({withLocale:f,translations:y}={withLocale:"en",translations:{}}),Re.subscribe(e=>{null==e&&(_r.set(y),Re.set(f))}),Object.keys(ka).forEach(e=>{Ir(e,ka[e])});const v=()=>{n(1,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(3,h=0),p=0,n(4,m=!1),n(0,u=c[Math.floor(Math.random()*c.length)]),n(2,d=!0);let e=setInterval(()=>{n(3,h-=100),20==++p&&(n(4,m=!0),clearInterval(e))},100)},w=()=>{window.postMessage({type:s,gameId:u.gId||u.id},window.location.href),n(2,d=!1)};return t.$$set=e=>{"endpoint"in e&&n(9,a=e.endpoint),"datasource"in e&&n(10,o=e.datasource),"gameevent"in e&&n(11,s=e.gameevent),"lang"in e&&n(12,l=e.lang)},t.$$.update=()=>{if(4096&t.$$.dirty&&l&&(e=l,Re.set(e)),1536&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",De(g)),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=>{c=e.items,n(1,i=c.slice(0,19))})}var e},[u,i,d,h,m,r,v,w,()=>{n(2,d=!1)},a,o,s,l,()=>v(),()=>w(),()=>v()]}function Ba(e,t,n){const r=e.slice();return r[127]=t[n],r[129]=n,r}function Ra(n){let r,i,a,o,s,l="PC"!==De(n[44])&&"false"===n[10]&&n[40],c=l&&Da();function u(e){return"false"===e[10]?Na:Ha}let d=u(n),h=d(n),p="true"==n[15]&&eo(n);function m(e){return e[20]?oo:e[28]?ao:e[31]?io:e[26]?ro:e[32]?no:e[27]?void 0:to}let g=m(n),f=g&&g(n),y=n[22]&&"true"==n[13]&&uo(n);return{c(){r=ee("section"),c&&c.c(),i=ne(),h.c(),a=ne(),p&&p.c(),o=ne(),f&&f.c(),s=ne(),y&&y.c(),ie(r,"class","CategoriesLobby"),ie(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){q(e,r,t),c&&c.m(r,null),X(r,i),h.m(r,null),X(r,a),p&&p.m(r,null),X(r,o),f&&f.m(r,null),X(r,s),y&&y.m(r,null),n[73](r)},p(e,t){(l=1024&t[0]|512&t[1]?"PC"!==De(e[44])&&"false"===e[10]&&e[40]:l)?c||((c=Da()).c(),c.m(r,i)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,a))),"true"==e[15]?p?p.p(e,t):((p=eo(e)).c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),(f=g&&g(e))&&(f.c(),f.m(r,s))),e[22]&&"true"==e[13]?y?y.p(e,t):((y=uo(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&Q(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[73](null)}}}function Aa(e){let n,r,i=e[43]("casinoPage.500")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){4096&t[1]&&i!==(i=e[43]("casinoPage.500")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Da(){let n;return{c(){ie(n=ee("div"),"class","SearchBarPlaceholder"),ie(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ha(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b=n[43]("casinoPage.searchGames")+"",x="PC"===De(n[44])&&n[18].length||"PC"!==De(n[44]),C=!n[40]&&Oa(),S=x&&Ua(n),F=!n[26]&&!n[31]&&!n[40]&&!n[32]&&!n[27]&&!n[30]&&!n[28]&&!n[29]&&za(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),u=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(u,"id","SearchField"),ie(u,"class","SearchInput"),ie(u,"part","SearchInput"),ie(u,"placeholder",d="PC"===De(n[44])?n[43]("casinoPage.search"):n[43]("casinoPage.searchMobile")),ie(u,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",p="SearchContainer "+(n[31]||n[26]||n[32]||n[29]?"":"SearchTruncated")),ie(i,"part",m="SearchContainer "+(n[31]||n[26]||n[32]||n[29]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==De(n[44])?"CategoriesHeaderMobileSection":"")+" "+(n[40]?"SearchMobileActive":"")+" "+(n[40]||n[28]&&"PC"!==De(n[44])&&!po?"CategoriesHeaderSearchActive":"")+(n[34]&&n[40]?"SearchStickTop":"")),ie(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==De(n[44])?"CategoriesHeaderMobileSection":"")+" "+(n[40]?"SearchMobileActive":"")+" "+(n[40]||n[28]&&"PC"!==De(n[44])&&!po?"CategoriesHeaderSearchActive":"")+(n[34]&&n[40]?"SearchStickTop":"")),P(r,"top",n[34]&&n[40]?mo+"px":"")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[66](u),T(u,n[18]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[71](r),v||(w=[re(u,"focus",n[46]),re(u,"blur",n[47]),re(u,"input",n[67]),re(u,"focus",n[48])],v=!0)},p(e,t){4096&t[1]&&b!==(b=e[43]("casinoPage.searchGames")+"")&&ae(o,b),e[40]?C&&(C.d(1),C=null):C||((C=Oa()).c(),C.m(l,c)),4096&t[1]&&d!==(d="PC"===De(e[44])?e[43]("casinoPage.search"):e[43]("casinoPage.searchMobile"))&&ie(u,"placeholder",d),262144&t[0]&&T(u,e[18]),(x=262144&t[0]?"PC"===De(e[44])&&e[18].length||"PC"!==De(e[44]):x)?S?S.p(e,t):((S=Ua(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),603979776&t[0]|3&t[1]&&p!==(p="SearchContainer "+(e[31]||e[26]||e[32]||e[29]?"":"SearchTruncated"))&&ie(i,"class",p),603979776&t[0]|3&t[1]&&m!==(m="SearchContainer "+(e[31]||e[26]||e[32]||e[29]?"":"SearchTruncated"))&&ie(i,"part",m),e[26]||e[31]||e[40]||e[32]||e[27]||e[30]||e[28]||e[29]?F&&(F.d(1),F=null):F?F.p(e,t):((F=za(e)).c(),F.m(r,null)),268435456&t[0]|520&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==De(e[44])?"CategoriesHeaderMobileSection":"")+" "+(e[40]?"SearchMobileActive":"")+" "+(e[40]||e[28]&&"PC"!==De(e[44])&&!po?"CategoriesHeaderSearchActive":"")+(e[34]&&e[40]?"SearchStickTop":""))&&ie(r,"class",f),268435456&t[0]|520&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==De(e[44])?"CategoriesHeaderMobileSection":"")+" "+(e[40]?"SearchMobileActive":"")+" "+(e[40]||e[28]&&"PC"!==De(e[44])&&!po?"CategoriesHeaderSearchActive":"")+(e[34]&&e[40]?"SearchStickTop":""))&&ie(r,"part",y),520&t[1]&&P(r,"top",e[34]&&e[40]?mo+"px":"")},d(e){e&&Q(r),C&&C.d(),n[66](null),S&&S.d(),F&&F.d(),n[71](null),v=!1,J(w)}}}function Na(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b=n[43]("casinoPage.searchGames")+"",x="PC"===De(n[44])&&n[18].length||"PC"!==De(n[44]),C=!n[40]&&Za(),S=x&&Ja(n),F=!n[26]&&!n[31]&&!n[40]&&!n[32]&&!n[27]&&!n[28]&&!n[30]&&!n[29]&&Ka(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),u=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(u,"id","SearchField"),ie(u,"class","SearchInput"),ie(u,"part","SearchInput"),ie(u,"placeholder",d="PC"===De(n[44])?n[43]("casinoPage.search"):n[43]("casinoPage.searchMobile")),ie(u,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",p="SearchContainer "+(n[31]||n[26]||n[32]||n[29]?"":"SearchTruncated")),ie(i,"part",m="SearchContainer "+(n[31]||n[26]||n[32]||n[29]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection "+("PC"!==De(n[44])?"CategoriesHeaderMobileSection":"")+" "+(n[40]?"SearchMobileActive":"")+" "+(n[40]||n[28]&&"PC"!==De(n[44])&&!po?"CategoriesHeaderSearchActive":"")+" "+(n[34]&&n[40]?"SearchStickTop":"")),P(r,"top",n[34]&&n[40]?mo+"px":""),ie(r,"part",y="CategoriesHeaderSection "+("PC"!==De(n[44])?"CategoriesHeaderMobileSection":"")+" "+(n[40]?"SearchMobileActive":"")+" "+(n[40]||n[28]&&"PC"!==De(n[44])&&!po?"CategoriesHeaderSearchActive":"")+" "+(n[34]&&n[40]?"SearchStickTop":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[60](u),T(u,n[18]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[65](r),v||(w=[re(u,"focus",n[46]),re(u,"blur",n[47]),re(u,"input",n[61]),re(u,"focus",n[48])],v=!0)},p(e,t){4096&t[1]&&b!==(b=e[43]("casinoPage.searchGames")+"")&&ae(o,b),e[40]?C&&(C.d(1),C=null):C||((C=Za()).c(),C.m(l,c)),4096&t[1]&&d!==(d="PC"===De(e[44])?e[43]("casinoPage.search"):e[43]("casinoPage.searchMobile"))&&ie(u,"placeholder",d),262144&t[0]&&T(u,e[18]),(x=262144&t[0]?"PC"===De(e[44])&&e[18].length||"PC"!==De(e[44]):x)?S?S.p(e,t):((S=Ja(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),603979776&t[0]|3&t[1]&&p!==(p="SearchContainer "+(e[31]||e[26]||e[32]||e[29]?"":"SearchTruncated"))&&ie(i,"class",p),603979776&t[0]|3&t[1]&&m!==(m="SearchContainer "+(e[31]||e[26]||e[32]||e[29]?"":"SearchTruncated"))&&ie(i,"part",m),e[26]||e[31]||e[40]||e[32]||e[27]||e[28]||e[30]||e[29]?F&&(F.d(1),F=null):F?F.p(e,t):((F=Ka(e)).c(),F.m(r,null)),268435456&t[0]|520&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==De(e[44])?"CategoriesHeaderMobileSection":"")+" "+(e[40]?"SearchMobileActive":"")+" "+(e[40]||e[28]&&"PC"!==De(e[44])&&!po?"CategoriesHeaderSearchActive":"")+" "+(e[34]&&e[40]?"SearchStickTop":""))&&ie(r,"class",f),520&t[1]&&P(r,"top",e[34]&&e[40]?mo+"px":""),268435456&t[0]|520&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==De(e[44])?"CategoriesHeaderMobileSection":"")+" "+(e[40]?"SearchMobileActive":"")+" "+(e[40]||e[28]&&"PC"!==De(e[44])&&!po?"CategoriesHeaderSearchActive":"")+" "+(e[34]&&e[40]?"SearchStickTop":""))&&ie(r,"part",y)},d(e){e&&Q(r),C&&C.d(),n[60](null),S&&S.d(),F&&F.d(),n[65](null),v=!1,J(w)}}}function Oa(){let n;return{c(){(n=ee("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>',ie(n,"class","SearchIcon"),ie(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ua(n){let r,i,a,o;return{c(){r=ee("span"),(i=ee("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===De(n[44])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===De(n[44])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=re(r,"click",n[68]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function za(e){let n,r,i=e[41]&&ja(e),a=(!e[28]||!e[27])&&Ya(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[41]?i?i.p(e,t):((i=ja(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[28]&&e[27]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Ya(e)).c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function ja(n){let r,i,a,o,s,l,c,u,d,h=n[43]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(h),o=ne(),(s=ee("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>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class",l="ClearFilterButtonWrapper "+(n[41]?"FiltersActive":"")),ie(r,"part",c="ClearFilterButtonWrapper "+(n[41]?"FiltersActive":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),u||(d=re(r,"click",n[69]),u=!0)},p(e,t){4096&t[1]&&h!==(h=e[43]("casinoPage.clear")+"")&&ae(a,h),1024&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[41]?"FiltersActive":""))&&ie(r,"class",l),1024&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[41]?"FiltersActive":""))&&ie(r,"part",c)},d(e){e&&Q(r),u=!1,d()}}}function Ya(e){let n,r=!e[32]&&Wa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[32]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Wa(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Wa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f=n[43]("casinoPage.filters")+"",y=0<n[41]&&Va(n);return{c(){r=ee("div"),i=ee("div"),a=te(f),o=ne(),s=ee("div"),l=b("svg"),c=b("defs"),u=b("style"),d=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=b("path"),p=ne(),y&&y.c(),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(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"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,p),y&&y.m(s,null),m||(g=re(r,"click",n[70]),m=!0)},p(e,t){4096&t[1]&&f!==(f=e[43]("casinoPage.filters")+"")&&ae(a,f),0<e[41]?y?y.p(e,t):((y=Va(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&Q(r),y&&y.d(),m=!1,g()}}}function Va(e){let n,r,i;return{c(){n=ee("div"),r=ee("span"),i=te(e[41]),ie(r,"class","NumberOfFilters"),ie(r,"part","NumberOfFilters"),ie(n,"class","NumberOfFiltersContainer"),ie(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),X(n,r),X(r,i)},p(e,t){1024&t[1]&&ae(i,e[41])},d(e){e&&Q(n)}}}function Za(){let n;return{c(){(n=ee("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>',ie(n,"class","SearchIcon"),ie(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ja(n){let r,i,a,o;return{c(){r=ee("span"),(i=ee("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===De(n[44])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===De(n[44])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=re(r,"click",n[62]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function Ka(e){let n,r,i=e[41]&&Xa(e),a=(!e[28]||!e[27])&&qa(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[41]?i?i.p(e,t):((i=Xa(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[28]&&e[27]?a&&(a.d(1),a=null):a?a.p(e,t):((a=qa(e)).c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Xa(n){let r,i,a,o,s,l,c,u=n[43]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(u),o=ne(),(s=ee("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>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class","ClearFilterButtonWrapper"),ie(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),l||(c=re(r,"click",n[63]),l=!0)},p(e,t){4096&t[1]&&u!==(u=e[43]("casinoPage.clear")+"")&&ae(a,u)},d(e){e&&Q(r),l=!1,c()}}}function qa(e){let n,r=!e[32]&&Qa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[32]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Qa(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Qa(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w=n[43]("casinoPage.filters")+"";return{c(){r=ee("div"),i=ee("div"),a=te(w),o=ne(),s=ee("div"),l=b("svg"),c=b("defs"),u=b("style"),d=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=b("path"),p=ne(),m=ee("div"),g=ee("span"),f=te(n[41]),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(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"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(g,"class","NumberOfFilters"),ie(g,"part","NumberOfFilters"),ie(m,"class","NumberOfFiltersContainer"),ie(m,"part","NumberOfFiltersContainer"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,p),X(s,m),X(m,g),X(g,f),y||(v=re(r,"click",n[64]),y=!0)},p(e,t){4096&t[1]&&w!==(w=e[43]("casinoPage.filters")+"")&&ae(a,w),1024&t[1]&&ae(f,e[41])},d(e){e&&Q(r),y=!1,v()}}}function eo(e){let n;return{c(){x(n=ee("casino-random-game"),"datasource",e[1]),x(n,"endpoint",e[0]),x(n,"lang",e[3]),x(n,"gameevent",e[19])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&x(n,"datasource",e[1]),1&t[0]&&x(n,"endpoint",e[0]),8&t[0]&&x(n,"lang",e[3]),524288&t[0]&&x(n,"gameevent",e[19])},d(e){e&&Q(n)}}}function to(e){let n;return{c(){x(n=ee("casino-games-category-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"categoryid",e[37]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[16])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),64&t[1]&&x(n,"categoryid",e[37]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),65536&t[0]&&x(n,"gamepagemodalurl",e[16])},d(e){e&&Q(n)}}}function no(e){let n;function r(e){return e[33]?lo:so}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function ro(n){let r,i,a,o;return{c(){x(r=ee("casino-games-category-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"favorites",n[11]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[16])},m(e,t){q(e,r,t),a||(o=h(i=n[45].call(null,r,(n[0],n[23],n[24],n[23]))),a=!0)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),65536&t[0]&&x(r,"gamepagemodalurl",e[16]),i&&k(i.update)&&25165825&t[0]&&i.update.call(null,(e[0],e[23],e[24],e[23]))},d(e){e&&Q(r),a=!1,o()}}}function io(t){let i,a=t[36],o=[];for(let e=0;e<a.length;e+=1)o[e]=co(Ba(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);q(t,i,n)},p(t,n){if(84991&n[0]|32&n[1]){let e;for(a=t[36],e=0;e<a.length;e+=1){var r=Ba(t,a,e);o[e]?o[e].p(r,n):(o[e]=co(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){p(o,e),e&&Q(i)}}}function ao(n){let r,i,a,o;return{c(){x(r=ee("casino-games-category-section"),"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"session",n[4]),x(r,"userid",n[5]),x(r,"categoryid","Search"),x(r,"favorites",n[11]),x(r,"categoryindex","0"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[16])},m(e,t){q(e,r,t),a||(o=h(i=n[53].call(null,r,n[35])),a=!0)},p(e,t){1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),65536&t[0]&&x(r,"gamepagemodalurl",e[16]),i&&k(i.update)&&16&t[1]&&i.update.call(null,e[35])},d(e){e&&Q(r),a=!1,o()}}}function oo(e){let n,r,i=e[43]("casinoPage.loading")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){4096&t[1]&&i!==(i=e[43]("casinoPage.loading")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function so(e){let n;return{c(){x(n=ee("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[11]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[16])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&x(n,"session",e[4]),32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),2048&t[0]&&x(n,"favorites",e[11]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),65536&t[0]&&x(n,"gamepagemodalurl",e[16])},d(e){e&&Q(n)}}}function lo(e){let n,r,i=e[43]("casinoPage.noGamesPlayed")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){4096&t[1]&&i!==(i=e[43]("casinoPage.noGamesPlayed")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function co(n){let r,i,e,a,o,s;return{c(){x(r=ee("casino-games-category-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"categoryid",i=n[127]),x(r,"categoryindex",e=n[129]),x(r,"categorygames","9"),x(r,"favorites",n[11]),x(r,"class","CategoryContainer"),P(r,"background-color",n[129]%2!=0?n[8]:"transparent"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[16])},m(e,t){q(e,r,t),o||(s=h(a=n[52].call(null,r,n[127])),o=!0)},p(e,t){n=e,16&t[0]&&x(r,"session",n[4]),32&t[0]&&x(r,"userid",n[5]),1&t[0]&&x(r,"endpoint",n[0]),2&t[0]&&x(r,"datasource",n[1]),8&t[0]&&x(r,"lang",n[3]),4&t[0]&&x(r,"currency",n[2]),32&t[1]&&i!==(i=n[127])&&x(r,"categoryid",i),2048&t[0]&&x(r,"favorites",n[11]),256&t[0]&&P(r,"background-color",n[129]%2!=0?n[8]:"transparent"),64&t[0]&&x(r,"clientstyling",n[6]),128&t[0]&&x(r,"clientstylingurl",n[7]),16384&t[0]&&x(r,"livecasino",n[14]),512&t[0]&&x(r,"visiblegames",n[9]),65536&t[0]&&x(r,"gamepagemodalurl",n[16]),a&&k(a.update)&&32&t[1]&&a.update.call(null,n[127])},d(e){e&&Q(r),o=!1,s()}}}function uo(n){let r,i,a,e,t,o,s,l=n[43]("casinoPage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(l),ie(i,"class",e="PanicButton "+("PC"!==De(n[44])?"PanicButtonMobile ":"")),ie(i,"part",t="PanicButton "+("PC"!==De(n[44])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[25]),ie(r,"class",o="PanicSection "+("PC"!==De(n[44])?"PanicSectionMobile":"")),ie(r,"part",s="PanicSection "+("PC"!==De(n[44])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),n[72](i)},p(e,t){4096&t[1]&&l!==(l=e[43]("casinoPage.breakButton")+"")&&ae(a,l),33554432&t[0]&&B(i,"PanicButtonAnimation",e[25])},d(e){e&&Q(r),n[72](null)}}}function ho(e){let n;function r(e){return e[21]?Aa:Ra}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(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&&Q(n)}}}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends n{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}.RandomButtonWrapper .RandomButton svg{width:35px;height:35px}</style>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Pa,Ta,t,{endpoint:9,datasource:10,gameevent:11,lang:12},null),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang"]}get endpoint(){return this.$$.ctx[9]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[10]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[11]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}});let po=!1;const mo=0;function go(e,t,c){let R;He(e,Kr,e=>c(43,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:U=""}=t,{containermaxwidth:z="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:j="false"}=t,{mostplayedrounds:Y=""}=t,{activecategory:m=""}=t,{livecasino:W="false"}=t,{playrandomgame:V="false"}=t,{gamepagemodalurl:Z="false"}=t,g=window.navigator.userAgent;A=Ae(g)?"OpenGameFrame":"ShowGameModal";let f,y,v,J,w,b,x,K,X,q,r,C,S,Q,F=!1,M=!1,ee=!1,$="",te=!1,ne=0,i=!1,re=!1,ie=!0,ae=!1,oe=!1,se=!1,le=!1,k=!0,_=!1,ce=!1,ue=!1,E=!0,de=[],I="",he,pe,L=[],me=!1,G=[],ge=0,T="",fe=!1;var ye,ve;({withLocale:ye,translations:ve}={withLocale:"en",translations:{}}),Re.subscribe(e=>{null==e&&(_r.set(ve),Re.set(ye))}),Object.keys(mi).forEach(e=>{Ir(e,mi[e])});const we=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(24,y=n.data.session),c(23,f=n.data.userID),f&&f.length&&y&&0<y.length&&P(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,L.includes(l)&&(L=L.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),be(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${f}/favorites`;var i=y;f;var a=n.data.id;n.data.triggerFactor;L.includes(a)||L.push(a);let e={items:L},t={method:"POST",headers:{"X-SessionID":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),be(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&P(u,y,f);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(G=(G=Se(`searchedGamesWds_${p}`))?G.split(","):[]).indexOf(t)){let e;G.push(t),e=G.join(","),document.cookie=`searchedGamesWds_${p}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),B();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),B();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href),B();break;case"CategoryVendors":T=n.data.categoryid,B();break;case"GameHovered":oe=!0;break;case"GameBlur":oe=!1}var e,o,s,l};let P=(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),xe(r.items)),r)).then(e=>(i&&Ce(),e)).catch(e=>{console.error(e)})},be=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,i&&Ce(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const xe=(e=[])=>(L=[],0<e.length&&e.forEach(e=>{L.push(e.id)}),L);const Ce=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},Se=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},Fe=()=>{if(u&&a&&o&&(c(30,le=!0),I.length<2)){let e=Se("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=k||ie||(c(29,se=k),c(31,k=!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",De(g)),n.push((e=>new Promise((t,n)=>{c(20,F=!0),fetch(e).then(e=>e.json()).then(e=>{c(20,F=!1),t(e[0])}).catch(e=>{c(21,M=!0),c(20,F=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{c(35,w=e),ke(0,w)})}else ke(0,{})}},Me=()=>{c(30,le=!1),I.length<2&&!oe&&(c(28,ae=!1),c(35,w=[]),c(27,re=!1),c(31,k=se),c(29,se=!1),!1===k&&window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},B=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&T&&(e[T]?c(41,ge=e[T].length):c(41,ge=0))},$e=()=>{c(59,E=!0),c(18,I=""),c(35,w=[]),c(27,re=!1),Me()},ke=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},_e=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ee=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Ie=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},Le=()=>{K&&(X=K.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>X||130<X?c(34,ue=!0):c(34,ue=!1)},Ge=()=>{c(37,b=m);var e={data:{itemId:b}};switch(c(28,ae=!1),c(18,I=""),he=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(31,k=!0),c(26,i=!1),c(37,b=""),c(32,_=!1);break;case"FAVORITES":c(31,k=!1),c(26,i=!0),c(32,_=!1),c(37,b="");break;case"MOSTPLAYED":"true"==U&&(c(20,F=!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),Q=W?t:t.href,new Promise((t,n)=>{fetch(Q).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:De(g),rounds:10}).then(e=>{if(c(20,F=!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=>{pe=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:pe},window.location.href)})}else c(33,ce=!0)}),c(37,b=""),c(31,k=!1),c(26,i=!1),c(32,_=!0));break;default:c(31,k=!1),c(26,i=!1),c(32,_=!1),c(37,b=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href)},500)}},Te=e=>{ne=0,J=setInterval(()=>{ne+=1,c(25,te=!0),3<=ne&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(J))},1e3)},Pe=e=>{ne<3&&c(25,te=!1),clearInterval(J)};return Ne(()=>(window.addEventListener("scroll",Le,!1),window.addEventListener("message",we,!1),()=>{window.removeEventListener("scroll",Le),window.removeEventListener("message",we),c(25,te=!1),null!=v&&v.removeEventListener("mousedown",Te),null!=v&&v.removeEventListener("touchstart",Te),null!=v&&v.removeEventListener("mouseup",Pe),null!=v&&v.removeEventListener("touchend",Pe)})),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(54,U=e.mostplayed),"containermaxwidth"in e&&c(12,z=e.containermaxwidth),"lobbyid"in e&&c(55,p=e.lobbyid),"haspanicbutton"in e&&c(13,j=e.haspanicbutton),"mostplayedrounds"in e&&c(56,Y=e.mostplayedrounds),"activecategory"in e&&c(57,m=e.activecategory),"livecasino"in e&&c(14,W=e.livecasino),"playrandomgame"in e&&c(15,V=e.playrandomgame),"gamepagemodalurl"in e&&c(16,Z=e.gamepagemodalurl)},e.$$.update=()=>{if(262144&e.$$.dirty[0]&&I&&(2<=I.length?c(59,E=!0):c(59,E=!1)),262155&e.$$.dirty[0]|402653184&e.$$.dirty[1])if(2<=I.length){c(28,ae=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",De(g)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+I),r=e,new Promise((t,n)=>{c(20,F=!0),fetch(r).then(e=>e.json()).then(e=>{c(20,F=!1),t(e)}).catch(e=>{c(21,M=!0),c(20,F=!1),console.error(e),n(e)})}).then(e=>{c(35,w=e),Ie(0,e)})}else E||Fe(),ie&&c(58,ie=!1);var r,i,t;if((8&e.$$.dirty[0]|67108864&e.$$.dirty[1]&&o&&m&&Ge(),49&e.$$.dirty[0]&&s&&n&&u&&(c(22,ee=!0),c(24,y=s),c(23,f=n),f&&f.length&&y&&0<y.length&&P(u,y,f)),1035&e.$$.dirty[0]&&u&&a&&o&&O)&&(u||($="Endpoint is missing! Please provide a valid endpointURL.",c(21,M=!0),c(20,F=!1),console.error($)),a||($="Datasource is missing! Please provide a valid datasource.",c(21,M=!0),c(20,F=!1),console.error($)),(!o||o.length<2)&&($="Language is missing! Please provide a valid language (alpha2code)",c(21,M=!0),c(20,F=!1),console.error($)),!M)){c(20,F=!0),"true"==h&&P(u,y,f),t=o,Re.set(t);let e=new URL(u+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",De(g)),i=e,new Promise((t,n)=>{c(20,F=!0),fetch(i).then(e=>e.json()).then(e=>{c(20,F=!1),t(e)}).catch(e=>{c(21,M=!0),c(20,F=!1),console.error(e),n(e)})}).then(e=>{e&&(q=e.items.filter(e=>0<e.games.total),c(36,de=q.map(e=>e.id)),c(20,F=!1))}),"PC"!==De(g)&&(C.addEventListener("focusin",e=>{c(40,me=!0)}),C.addEventListener("focusout",e=>{c(40,me=!1)})),B(),(K=x)&&(X=K.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(fe&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href)},500),fe=!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)})}131072&e.$$.dirty[0]&&v&&(null!=v&&v.addEventListener("mousedown",Te,!1),null!=v&&v.addEventListener("touchstart",Te,!1),null!=v&&v.addEventListener("mouseup",Pe,!1),null!=v&&v.addEventListener("touchend",Pe,!1))},[u,a,D,o,s,n,l,d,H,N,O,h,z,j,W,V,Z,v,I,A,F,M,ee,f,y,te,i,re,ae,se,le,k,_,ce,ue,w,de,b,x,C,me,ge,S,R,g,P,Fe,Me,()=>{window.postMessage({type:"scroll"},window.location.href)},$e,_e,Ee,(e,t)=>{T=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},Ie,U,p,Y,m,ie,E,function(e){Be[e?"unshift":"push"](()=>{C=e,c(39,C)})},function(){I=this.value,c(18,I)},()=>$e(),()=>Ee(),()=>{_e()},function(e){Be[e?"unshift":"push"](()=>{x=e,c(38,x)})},function(e){Be[e?"unshift":"push"](()=>{C=e,c(39,C)})},function(){I=this.value,c(18,I)},()=>$e(),()=>Ee(),()=>{_e()},function(e){Be[e?"unshift":"push"](()=>{x=e,c(38,x)})},function(e){Be[e?"unshift":"push"](()=>{v=e,c(17,v)})},function(e){Be[e?"unshift":"push"](()=>{S=e,c(42,S)})}]}function fo(e,{delay:t=0,duration:n=400,easing:r=F}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function yo(n){let r,i,a,o,s,l,c,t,u,d,h;return{c(){r=ee("div"),(i=ee("div")).innerHTML="<slot></slot>",a=ne(),o=ee("span"),(s=ee("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>',ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(s,"name","close"),ie(o,"class",l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")),ie(o,"part","ModalCloseBtn"),ie(o,"role","button"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow"),ie(r,"id","Modal"),le(()=>n[17].call(r))},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),n[16](r),c=R(r,n[17].bind(r)),u=!0,d||(h=re(o,"click",n[8]),d=!0)},p(e,t){n=e,(!u||12&t&&l!==(l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")))&&ie(o,"class",l)},i(e){u||(le(()=>{(t=t||xe(r,fo,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||xe(r,fo,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&Q(r),n[16](null),c(),e&&t&&t.end(),d=!1,h()}}}function vo(n){let r,i,a=n[0]&&yo(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&ye(a,1)):((a=yo(e)).c(),ye(a,1),a.m(r,null)):a&&(ge(),ve(a,1,1,()=>{a=null}),fe())},i(e){i||(ye(a),i=!0)},o(e){ve(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[18](null)}}}function wo(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,w=!1;const b=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&&(w=e.data.detailsObtained)},x=e=>{var t;w&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Ne(()=>(n(3,v=Ae(y)),window.addEventListener("message",b,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",b),window.removeEventListener("resize",b)})),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=Ae(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){Be[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(6,a),n(7,o)},function(e){Be[e?"unshift":"push"](()=>{i=e,n(5,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},go,ho,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:54,containermaxwidth:12,lobbyid:55,haspanicbutton:13,mostplayedrounds:56,activecategory:57,livecasino:14,playrandomgame:15,gamepagemodalurl:16},null,[-1,-1,-1,-1,-1]),e&&(e.target&&q(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"]}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[54]}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[55]}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[56]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get activecategory(){return this.$$.ctx[57]}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()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},wo,vo,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&&q(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 bo={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"}},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 xo(){"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 Co=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},So=function(e,...t){try{return xo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Fo(n){let r,i,a=n[10]&&ko(n);return{c(){r=ee("div"),i=ee("div"),a&&a.c(),ie(i,"class","CasinoGamePageContainer"),ie(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0)"),ie(r,"class","GamePageBackground"),P(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){q(e,r,t),X(r,i),a&&a.m(i,null),n[80](i)},p(e,t){e[10]?a?a.p(e,t):((a=ko(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&P(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&Q(r),a&&a.d(),n[80](null)}}}function Mo(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function $o(e){let n;return{c(){(n=ee("p")).textContent="Loading, please wait ...",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ko(e){let n;function r(e){return e[19]?Lo:e[5]?Io:e[11]?Eo:_o}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function _o(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[9].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),u=ee("div"),d=ee("button"),h=te(C),p=ne(),m=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[3]),K(s.src,l=n[9].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),w||(b=[re(d,"click",n[78]),re(m,"click",n[79])],w=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ae(a,x),512&t[0]&&!K(s.src,l=e[9].thumbnail)&&ie(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ae(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ae(g,S),8&t[0]&&ae(v,e[3])},d(e){e&&Q(r),w=!1,J(b)}}}function Eo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";function F(e){return e[16]?To:Go}let M=F(n),$=M(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("div"),u=ee("button"),d=te(C),h=ne(),p=ee("button"),m=te(S),g=ne(),f=ee("p"),y=ee("span"),v=te(n[3]),w=ne(),$.c(),ie(a,"title","Games"),ie(a,"id","IframeGame"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),K(a.src,o=n[9].launchUrl)||ie(a,"src",o),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(p,"class","RegisterButton"),ie(p,"part","RegisterButton"),ie(c,"class","ButtonsContainer"),ie(c,"part","ButtonsContainer"),ie(f,"class","Time"),ie(f,"part","Time"),ie(l,"class","BottomGame"),ie(l,"part","BottomGame"),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),ie(i,"style",n[23]),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),B(r,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[69](a),X(i,s),X(i,l),X(l,c),X(c,u),X(u,d),X(c,h),X(c,p),X(p,m),X(l,g),X(l,f),X(f,y),X(y,v),n[72](f),X(l,w),$.m(l,null),n[75](l),n[76](i),n[77](r),b||(x=[re(u,"click",n[70]),re(p,"click",n[71])],b=!0)},p(e,t){512&t[0]&&!K(a.src,o=e[9].launchUrl)&&ie(a,"src",o),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ae(d,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ae(m,S),8&t[0]&&ae(v,e[3]),M===(M=F(e))&&$?$.p(e,t):($.d(1),($=M(e))&&($.c(),$.m(l,null))),8388608&t[0]&&ie(i,"style",e[23]),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&B(r,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[69](null),n[72](null),$.d(),n[75](null),n[76](null),n[77](null),b=!1,J(x)}}}function Io(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[24]("gamePage.deposit")+"",C="true"===n[1]&&Po(n);function S(e){return e[16]?Ro:Bo}let F=S(n),M=F(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("button"),u=te(x),d=ne(),h=ee("p"),p=ee("span"),m=te(n[3]),g=ne(),C&&C.c(),f=ne(),M.c(),ie(a,"title","Games"),ie(a,"id","IframeGame"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),K(a.src,o=n[9].launchUrl)||ie(a,"src",o),ie(c,"class","DepositButton"),ie(c,"part","DepositButton"),ie(h,"class","Time"),ie(h,"part","Time"),ie(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),ie(l,"part",v="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),ie(i,"style",n[23]),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),B(r,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[60](a),X(i,s),X(i,l),X(l,c),X(c,u),X(l,d),X(l,h),X(h,p),X(p,m),n[62](h),X(l,g),C&&C.m(l,null),X(l,f),M.m(l,null),n[66](l),n[67](i),n[68](r),w||(b=re(c,"click",n[61]),w=!0)},p(e,t){512&t[0]&&!K(a.src,o=e[9].launchUrl)&&ie(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.deposit")+"")&&ae(u,x),8&t[0]&&ae(m,e[3]),"true"===e[1]?C?C.p(e,t):((C=Po(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),F===(F=S(e))&&M?M.p(e,t):(M.d(1),(M=F(e))&&(M.c(),M.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&ie(l,"class",y),2&t[0]&&v!==(v="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&ie(l,"part",v),8388608&t[0]&&ie(i,"style",e[23]),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&B(r,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[60](null),n[62](null),C&&C.d(),M.d(),n[66](null),n[67](null),n[68](null),w=!1,b()}}}function Lo(e){let n;function r(e){return e[5]?Ho:e[12]?Do:Ao}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Go(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[74]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function To(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[73]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Po(n){let r,i,a,o=n[24]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(o),ie(i,"class","Button"),ie(i,"part","Button"),B(i,"PanicButtonAnimation",n[8]),ie(r,"class","PanicSection"),ie(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),n[63](i)},p(e,t){16777216&t[0]&&o!==(o=e[24]("gamePage.breakButton")+"")&&ae(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&Q(r),n[63](null)}}}function Bo(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[65]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Ro(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[64]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Ao(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x=n[9].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),u=ee("div"),d=ee("button"),h=te(C),p=ne(),m=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[3]),K(s.src,l=n[9].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(r,f),X(r,y),X(y,v),w||(b=[re(d,"click",n[58]),re(m,"click",n[59])],w=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ae(a,x),512&t[0]&&!K(s.src,l=e[9].thumbnail)&&ie(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ae(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ae(g,S),8&t[0]&&ae(v,e[3])},d(e){e&&Q(r),w=!1,J(b)}}}function Do(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F=n[9].name+"",M=n[24]("gamePage.signIn")+"",$=n[24]("gamePage.register")+"",k=n[24]("gamePage.playForFun")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(F),o=ne(),s=ee("img"),c=ne(),u=ee("div"),d=ee("button"),h=te(M),p=ne(),m=ee("button"),g=te($),f=ne(),y=ee("button"),v=te(k),w=ne(),b=ee("p"),x=te(n[3]),K(s.src,l=n[9].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(y,"class","FullWidthButton"),ie(y,"part","FullWidthButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,p),X(u,m),X(m,g),X(u,f),X(u,y),X(y,v),X(r,w),X(r,b),X(b,x),C||(S=[re(d,"click",n[55]),re(m,"click",n[56]),re(y,"click",n[57])],C=!0)},p(e,t){512&t[0]&&F!==(F=e[9].name+"")&&ae(a,F),512&t[0]&&!K(s.src,l=e[9].thumbnail)&&ie(s,"src",l),16777216&t[0]&&M!==(M=e[24]("gamePage.signIn")+"")&&ae(h,M),16777216&t[0]&&$!==($=e[24]("gamePage.register")+"")&&ae(g,$),16777216&t[0]&&k!==(k=e[24]("gamePage.playForFun")+"")&&ae(v,k),8&t[0]&&ae(x,e[3])},d(e){e&&Q(r),C=!1,J(S)}}}function Ho(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S=n[9].name+"",F=n[24]("gamePage.deposit")+"",M=n[24]("gamePage.playNow")+"",$="true"==n[0]&&No(n),k="true"===n[1]&&zo(n);return{c(){$&&$.c(),r=ne(),i=ee("div"),a=ee("h3"),o=te(S),s=ne(),l=ee("img"),u=ne(),d=ee("div"),h=ee("button"),p=te(F),m=ne(),g=ee("button"),f=te(M),y=ne(),k&&k.c(),v=ne(),w=ee("p"),b=te(n[3]),K(l.src,c=n[9].thumbnail)||ie(l,"src",c),ie(l,"class","GameThumbnail"),ie(l,"part","GameThumbnail"),ie(l,"alt","game thumbnail"),ie(l,"loading","lazy"),ie(h,"class","DepositButton"),ie(h,"part","DepositButton"),ie(g,"class","PlayNowButton"),ie(g,"part","PlayNowButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(i,"class","GameDetails"),ie(i,"part","GameDetails")},m(e,t){$&&$.m(e,t),q(e,r,t),q(e,i,t),X(i,a),X(a,o),X(i,s),X(i,l),X(i,u),X(i,d),X(d,h),X(h,p),X(d,m),X(d,g),X(g,f),X(i,y),k&&k.m(i,null),X(i,v),X(i,w),X(w,b),x||(C=[re(h,"click",n[52]),re(g,"click",n[53])],x=!0)},p(e,t){"true"==e[0]?$?$.p(e,t):(($=No(e)).c(),$.m(r.parentNode,r)):$&&($.d(1),$=null),512&t[0]&&S!==(S=e[9].name+"")&&ae(o,S),512&t[0]&&!K(l.src,c=e[9].thumbnail)&&ie(l,"src",c),16777216&t[0]&&F!==(F=e[24]("gamePage.deposit")+"")&&ae(p,F),16777216&t[0]&&M!==(M=e[24]("gamePage.playNow")+"")&&ae(f,M),"true"===e[1]?k?k.p(e,t):((k=zo(e)).c(),k.m(i,v)):k&&(k.d(1),k=null),8&t[0]&&ae(b,e[3])},d(e){$&&$.d(e),e&&Q(r),e&&Q(i),k&&k.d(),x=!1,J(C)}}}function No(e){let n;function r(e){return e[9].isFavored?Uo:Oo}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Oo(n){let r,i,a,o,s,l,c;return{c(){r=ee("div"),i=b("svg"),P(a=b("path"),"fill","white"),ie(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"),ie(i,"version","1.1"),ie(i,"class","UnfavoredIcon"),ie(i,"part","UnfavoredIcon"),ie(i,"xmlns","http://www.w3.org/2000/svg"),ie(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(i,"x","20px"),ie(i,"y","20px"),ie(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),ie(i,"xml:space","preserve"),ie(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),ie(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),l||(c=re(r,"click",n[51]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"part",s)},d(e){e&&Q(r),l=!1,c()}}}function Uo(n){let r,i,a,o,s,l,c;return{c(){r=ee("div"),i=b("svg"),P(a=b("path"),"fill","white"),ie(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"),ie(i,"version","1.1"),ie(i,"class","FavoredIcon"),ie(i,"part","FavoredIcon"),ie(i,"xmlns","http://www.w3.org/2000/svg"),ie(i,"viewBox","0 0 19.481 19.481"),ie(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(i,"enable-background","new 0 0 19.481 19.481"),ie(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),ie(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),l||(c=re(r,"click",n[50]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"part",s)},d(e){e&&Q(r),l=!1,c()}}}function zo(n){let r,i,a,e,t,o,s,l=n[24]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(l),ie(i,"class",e="PanicButton "+("PC"!==De(n[25])?"PanicButtonMobile":"")),ie(i,"part",t="PanicButton "+("PC"!==De(n[25])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),ie(r,"class",o="PanicSection "+("PC"!==De(n[25])?"PanicSectionMobile":"")),ie(r,"part",s="PanicSection "+("PC"!==De(n[25])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),n[54](i)},p(e,t){16777216&t[0]&&l!==(l=e[24]("gamePage.breakButton")+"")&&ae(a,l),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&Q(r),n[54](null)}}}function jo(e){let n;function r(e){return e[7]?$o:e[6]?Mo:Fo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Yo(t,e,i){let R;He(t,Kr,e=>i(24,R=e));let A,n,r,a,D,o,s,l,H,N,c,u,O,U,d,h,p,m,{endpoint:g=""}=e,{lang:f=""}=e,{session:y=""}=e,{userid:z=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:j=""}=e,{loginurl:b=""}=e,{registerurl:x=""}=e,{depositurl:C=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:M=""}=e,{clockformat:$=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:k="true"}=e,{checksession:W="true"}=e,{integratedgameframe:_="false"}=e,{gameid:V=""}=e,E=!1,Z=!1,J=!0,K=!1,X=0,I=!1,q=!1,Q=!1,L=!0,G=!1,ee=window.navigator.userAgent,te=!1,ne=[],re=!1,ie="false",ae;var oe,se;({withLocale:oe,translations:se}={withLocale:"en",translations:{}}),Re.subscribe(e=>{null==e&&(_r.set(se),Re.set(oe))}),Object.keys(bo).forEach(e=>{Ir(e,bo[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,L=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=le(e[0])),o.launchUrl&&(i(10,I=!0),i(11,q="true"==k&&o.hasFunMode),i(12,Q="true"==k&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,Z=!0)}).then(()=>{s&&(L||(i(17,H=o.width),i(18,N=o.height),O=o.width+"px",U=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,I="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"==k&&e.hasAnonymousFunMode),i(11,q="true"==k&&t),i(10,I=!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",U=u?Math.floor(u)+"px":"720px",Se()},fe=e=>{var t;re?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},So("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:I},window.location.href),I&&(s&&ge(),window.addEventListener("ModalSize",he,!1))},T=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),b&&(window.location=b)},P=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ve=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)};function we(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",we,!1),document.addEventListener("mozfullscreenchange",we,!1),document.addEventListener("fullscreenchange",we,!1),document.addEventListener("MSFullscreenChange",we,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(16,G=!0)))},be=(setInterval(()=>{i(3,A=$?vi().format($):vi().format("LTS"))},100),()=>{"true"==W?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=G?"100%":O,t=G?"100%":U,n=G||!L?"none":o.width?Math.floor(o.width)+"px":"1280px",r=G||!L?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(23,ae=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),G||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 Ne(()=>(window.addEventListener("resize",ye,!1),window.addEventListener("message",he,!1),re=!!Co(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,z=e.userid),"clientstyling"in e&&i(36,v=e.clientstyling),"clientstylingurl"in e&&i(37,w=e.clientstylingurl),"favorites"in e&&i(0,j=e.favorites),"loginurl"in e&&i(38,b=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,F=e.registerevent),"depositevent"in e&&i(43,M=e.depositevent),"clockformat"in e&&i(44,$=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(45,k=e.playforfun),"checksession"in e&&i(46,W=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,Re.set(e),i(19,te=Ae(ee))),131078&t.$$.dirty[1]&&g&&V&&f&&ce(V),26&t.$$.dirty[1]&&y&&z&&g&&be(),32778&t.$$.dirty[1]&&"false"==W&&y&&g&&be(),32&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,d.appendChild(e)}if(64&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,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()},[j,Y,a,A,n,E,Z,J,K,o,I,q,Q,L,s,l,G,H,N,te,d,h,p,"",R,ee,pe,fe,T,P,ve,B,g,f,y,z,v,w,b,x,C,S,F,M,$,k,W,_,V,ie,()=>pe(o.id),()=>pe(o.id),()=>ve(),()=>{fe(o)},function(e){Be[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>T(),()=>P(),()=>{fe(o)},()=>T(),()=>P(),function(e){Be[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>ve(),function(e){Be[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){Be[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){Be[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){Be[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){Be[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){Be[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>T(),()=>P(),function(e){Be[e?"unshift":"push"](()=>{p=e,i(22,p)})},()=>B(),()=>B(),function(e){Be[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){Be[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){Be[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>T(),()=>P(),function(e){Be[e?"unshift":"push"](()=>{d=e,i(20,d)})}]}function Wo(n){let r,i,a,o,s,l,c,u,t,d,h,p;return{c(){r=ee("div"),i=ee("div"),(a=ee("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=ne(),s=ee("slot"),ie(a,"class","FilterModalCloseBtn"),ie(a,"part","FilterModalCloseBtn"),ie(a,"role","button"),ie(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(r,"class","FilterModalWindow"),ie(r,"id","FilterModal"),ie(r,"part","FilterModalWindow"),le(()=>n[15].call(r))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),n[14](r),u=R(r,n[15].bind(r)),d=!0,h||(p=re(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"part",c)},i(e){d||(le(()=>{(t=t||xe(r,fo,{transitionDuration:n[1]},!0)).run(1)}),d=!0)},o(e){(t=t||xe(r,fo,{transitionDuration:n[1]},!1)).run(0),d=!1},d(e){e&&Q(r),n[14](null),u(),e&&t&&t.end(),h=!1,p()}}}function Vo(n){let r,i,a=n[0]&&Wo(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&ye(a,1)):((a=Wo(e)).c(),ye(a,1),a.m(r,null)):a&&(ge(),ve(a,1,1,()=>{a=null}),fe())},i(e){i||(ye(a),i=!0)},o(e){ve(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[16](null)}}}function Zo(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))},w=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return Ne(()=>(window.addEventListener("message",v,!1),Ae(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&&w(),2049&e.$$.dirty&&s&&h&&w()},[s,l,f,r,i,void 0,void 0,y,c,u,d,h,p,m,function(e){Be[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Be[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Yo,jo,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&&q(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 n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Zo,Vo,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&q(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 Jo={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},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 Ko(e,t,n){const r=e.slice();return r[32]=t[n],r}function Xo(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F=n[6]("filters.filterModalTitle")+"",M=n[6]("filters.filterModalSubtitle")+"",$=n[6]("filters.filterApply")+"",k=n[0]&&Qo(n),_=n[3]&&ns(n);return{c(){r=ee("div"),i=ee("section"),a=ee("div"),o=ee("h4"),s=te(F),l=ne(),c=ee("h5"),u=te(M),d=ne(),h=ee("section"),k&&k.c(),p=ne(),m=ee("section"),_&&_.c(),g=ne(),f=ee("div"),y=te($),ie(o,"class","FilterHeaderTitle"),ie(o,"part","FilterHeaderTitle"),ie(c,"class","FilterHeaderSubtitle"),ie(c,"part","FilterHeaderSubtitle"),ie(a,"class","FilterHeaderDetails"),ie(a,"part","FilterHeaderDetails"),ie(i,"class","FilterHeaderSection"),ie(i,"part","FilterHeaderSection"),ie(h,"class","FilterContentSection"),ie(h,"part","FilterContentSection"),ie(f,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(f,"part",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(m,"class","FilterFooterSection"),ie(m,"part","FilterFooterSection"),ie(r,"class",b="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),ie(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(o,s),X(a,l),X(a,c),X(c,u),X(r,d),X(r,h),k&&k.m(h,null),X(r,p),X(r,m),_&&_.m(m,null),X(m,g),X(m,f),X(f,y),C||(S=re(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&F!==(F=e[6]("filters.filterModalTitle")+"")&&ae(s,F),64&t[0]&&M!==(M=e[6]("filters.filterModalSubtitle")+"")&&ae(u,M),e[0]?k?k.p(e,t):((k=Qo(e)).c(),k.m(h,null)):k&&(k.d(1),k=null),e[3]?_?_.p(e,t):((_=ns(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&$!==($=e[6]("filters.filterApply")+"")&&ae(y,$),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"class",v),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"part",w),2&t[0]&&b!==(b="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"class",b),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"part",x)},d(e){e&&Q(r),k&&k.d(),_&&_.d(),C=!1,S()}}}function qo(e){let n;return{c(){ie(n=ee("div"),"class","lds-dual-ring"),ie(n,"part","lds-dual-ring")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Qo(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=ts(Ko(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);q(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=Ko(t,a,e);o[e]?o[e].p(r,n):(o[e]=ts(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){p(o,e),e&&Q(i)}}}function es(){let n;return{c(){(n=ee("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',ie(n,"class","FilterIconContainer"),ie(n,"part","FilterIconContainer")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ts(n){let r,i,a,o,s,l,c,u,d,h,p=n[32].isFilterSelected&&es();function m(){return n[17](n[32])}return{c(){r=ee("div"),i=ee("img"),s=ne(),p&&p.c(),l=ne(),ie(i,"class","VendorImage"),ie(i,"part","VendorImage"),K(i.src,a=n[32].image)||ie(i,"src",a),ie(i,"alt",o=n[32].name),ie(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),ie(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){q(e,r,t),X(r,i),X(r,s),p&&p.m(r,null),X(r,l),d||(h=re(r,"click",m),d=!0)},p(e,t){n=e,1&t[0]&&!K(i.src,a=n[32].image)&&ie(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&ie(i,"alt",o),n[32].isFilterSelected?p||((p=es()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"part",u)},d(e){e&&Q(r),p&&p.d(),d=!1,h()}}}function ns(e){let n,r=e[3].length&&rs(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=rs(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function rs(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=ee("div"),i=te(s),ie(r,"class","ClearFiltersButton"),ie(r,"part","ClearFiltersButton")},m(e,t){q(e,r,t),X(r,i),a||(o=re(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ae(i,s)},d(e){e&&Q(r),a=!1,o()}}}function is(n){let r;function i(e){return e[4]?qo:Xo}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&Q(r),o.d(),n[20](null)}}}function as(e,t,i){let n;He(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=[],w={},b=!1,x=(w[f]&&(w={[f]:[]}),[]);var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),Re.subscribe(e=>{null==e&&(_r.set(S),Re.set(C))}),Object.keys(Jo).forEach(e=>{Ir(e,Jo[e])});const F=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(w={[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=`+De(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":k(),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,b=!1)}var r},M=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(2,g=!$(v,x))):(v.includes(t.id)&&i(3,v=v.filter(e=>e!==t.id)),i(2,g=!(!v.length&&$(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},$=(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},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=$(v,x)),i(3,v=[]),null!==e&&((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Ne(()=>(window.addEventListener("message",F,!1),Ae(m)&&i(1,p=!0),()=>{window.removeEventListener("message",F)})),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,b,r,n,M,k,_,a,o,s,l,c,u,d,e=>M(e),()=>k(),()=>_(),function(e){Be[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},as,is,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&q(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 os={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"}},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 ss(n){let r;function i(e){return e[5]?ds:e[10]?us:void 0}let a=i(n),o=a&&a(n);return{c(){r=ee("div"),o&&o.c(),ie(r,"class","CasinoIntegratedGamePage"),ie(r,"part","CasinoIntegratedGamePage")},m(e,t){q(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&&Q(r),o&&o.d(),n[66](null)}}}function ls(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function cs(e){let n;return{c(){(n=ee("p")).textContent="Loading, please wait ...",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function us(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,M,$,k,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function I(e){return e[16]?ps:hs}let L=I(n),G=L(n),T="true"==n[1]&&!n[16]&&ms();return{c(){r=ee("div"),(i=ee("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=ne(),o=ee("p"),s=ee("span"),l=te(n[3]),c=ne(),u=ee("div"),d=ne(),h=ee("div"),p=ee("div"),m=ee("iframe"),f=ne(),y=ee("div"),v=ee("div"),w=ee("button"),b=te(_),x=ne(),C=ee("button"),S=te(E),F=ne(),G.c(),M=ne(),T&&T.c(),ie(i,"class","backButton"),ie(i,"part","backButton"),ie(o,"class","Time"),ie(o,"part","Time"),ie(r,"class","GamePageIntegratedTopSection"),ie(r,"part","GamePageIntegratedTopSection"),ie(m,"title","Games"),ie(m,"class","GamesContainer"),ie(m,"part","GamesContainer"),ie(m,"aria-hidden","false"),K(m.src,g=n[9].launchUrl)||ie(m,"src",g),ie(w,"class","LoginButton"),ie(w,"part","LoginButton"),ie(C,"class","RegisterButton"),ie(C,"part","RegisterButton"),ie(v,"class","ButtonsContainer ButtonsContainerFunMode"),ie(v,"part","ButtonsContainer ButtonsContainerFunMode"),ie(y,"class","BottomGame"),ie(y,"part","BottomGame"),ie(p,"id","IframeGame"),ie(p,"part","IframeGame"),P(p,"width",n[16]?"100%":n[17]),P(p,"height",n[16]?"100%":n[18]),P(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),P(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),ie(h,"id","IframeContainer"),ie(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[57](o),X(r,c),X(r,u),q(e,d,t),q(e,h,t),X(h,p),X(p,m),n[58](m),X(p,f),X(p,y),X(y,v),X(v,w),X(w,b),X(v,x),X(v,C),X(C,S),X(y,F),G.m(y,null),n[63](y),n[64](p),X(h,M),T&&T.m(h,null),n[65](h),$||(k=[re(i,"click",n[56]),re(w,"click",n[59]),re(C,"click",n[60])],$=!0)},p(e,t){8&t[0]&&ae(l,e[3]),512&t[0]&&!K(m.src,g=e[9].launchUrl)&&ie(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ae(b,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ae(S,E),L===(L=I(e))&&G?G.p(e,t):(G.d(1),(G=L(e))&&(G.c(),G.m(y,null))),196608&t[0]&&P(p,"width",e[16]?"100%":e[17]),327680&t[0]&&P(p,"height",e[16]?"100%":e[18]),68096&t[0]&&P(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&P(p,"max-height",e[16]||!e[11]?"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=ms()).c(),T.m(h,null)),65536&t[0]&&B(h,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[57](null),e&&Q(d),e&&Q(h),n[58](null),G.d(),n[63](null),n[64](null),T&&T.d(),n[65](null),$=!1,J(k)}}}function ds(n){let r,i,a,o,s,l,c,u,d,h,p,m,g,f,y,v,w,b,x,C,S,F,M=n[22]("gamePage.deposit")+"",$="true"===n[0]&&gs(n);function k(e){return e[16]?ys:fs}let _=k(n),E=_(n),I="true"==n[1]&&!n[16]&&vs();return{c(){r=ee("div"),(i=ee("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=ne(),o=ee("p"),s=ee("span"),l=te(n[3]),c=ne(),u=ee("button"),d=te(M),h=ne(),p=ee("div"),m=ee("div"),g=ee("iframe"),w=ne(),b=ee("div"),$&&$.c(),x=ne(),E.c(),C=ne(),I&&I.c(),ie(i,"class","backButton"),ie(i,"part","backButton"),ie(o,"class","Time"),ie(o,"part","Time"),ie(u,"class","DepositButton"),ie(u,"part","DepositButton"),ie(r,"class","GamePageIntegratedTopSection"),ie(r,"part","GamePageIntegratedTopSection"),ie(g,"title","Games"),ie(g,"id","IframeGame"),ie(g,"class","GamesContainer"),ie(g,"part","GamesContainer"),ie(g,"aria-hidden","false"),K(g.src,f=n[9].launchUrl)||ie(g,"src",f),ie(g,"width",y=n[13]+"px"),ie(g,"height",v=n[14]+"px"),ie(b,"class","BottomGame BottomGameLoggedin"),ie(b,"part","BottomGame BottomGameLoggedin"),ie(m,"id","IframeGame"),ie(m,"part","IframeGame"),P(m,"width",n[16]?"100%":n[17]),P(m,"height",n[16]?"100%":n[18]),P(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),P(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),ie(p,"id","IframeContainer"),ie(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[47](o),X(r,c),X(r,u),X(u,d),q(e,h,t),q(e,p,t),X(p,m),X(m,g),n[49](g),X(m,w),X(m,b),$&&$.m(b,null),X(b,x),E.m(b,null),n[53](b),n[54](m),X(p,C),I&&I.m(p,null),n[55](p),S||(F=[re(i,"click",n[46]),re(u,"click",n[48])],S=!0)},p(e,t){8&t[0]&&ae(l,e[3]),4194304&t[0]&&M!==(M=e[22]("gamePage.deposit")+"")&&ae(d,M),512&t[0]&&!K(g.src,f=e[9].launchUrl)&&ie(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&ie(g,"width",y),16384&t[0]&&v!==(v=e[14]+"px")&&ie(g,"height",v),"true"===e[0]?$?$.p(e,t):(($=gs(e)).c(),$.m(b,x)):$&&($.d(1),$=null),_===(_=k(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(b,null))),196608&t[0]&&P(m,"width",e[16]?"100%":e[17]),327680&t[0]&&P(m,"height",e[16]?"100%":e[18]),66048&t[0]&&P(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&P(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?I&&(I.d(1),I=null):I||((I=vs()).c(),I.m(p,null)),65536&t[0]&&B(p,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[47](null),e&&Q(h),e&&Q(p),n[49](null),$&&$.d(),E.d(),n[53](null),n[54](null),I&&I.d(),n[55](null),S=!1,J(F)}}}function hs(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[62]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ps(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[61]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ms(){let n;return{c(){(n=ee("div")).innerHTML="<h3>Your banner here</h3>",ie(n,"class","BannerSection"),ie(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function gs(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(o),ie(i,"class",e="PanicButton "+("PC"!==De(n[23])?"PanicButtonMobile":"")),ie(i,"part",t="PanicButton "+("PC"!==De(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),ie(r,"class","PanicSection"),ie(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),n[50](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ae(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&Q(r),n[50](null)}}}function fs(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[52]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ys(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[51]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function vs(){let n;return{c(){(n=ee("div")).innerHTML="<h3>Your banner here</h3>",ie(n,"class","BannerSection"),ie(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ws(e){let n;function r(e){return e[7]?cs:e[6]?ls:ss}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(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&&Q(n)}}}function bs(t,e,r){let R;He(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:w=""}=e,{clientstylingurl:b=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:F=""}=e,{registerevent:M=""}=e,{depositevent:$=""}=e,{clockformat:k=""}=e,{haspanicbutton:U="false"}=e,{playforfun:_="true"}=e,{checksession:z="true"}=e,{integratedgameframe:j="false"}=e,{gamebanneractive:Y="false"}=e,{gameid:E=""}=e,I=!1,W=!1,V=!0,L=!1,G=0,Z=!1,J=!1,K=!0,T=!1,X=window.navigator.userAgent;var q,Q;({withLocale:q,translations:Q}={withLocale:"en",translations:{}}),Re.subscribe(e=>{null==e&&(_r.set(Q),Re.set(q))}),Object.keys(os).forEach(e=>{Ir(e,os[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,I=!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,W=!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=()=>{F&&(window.postMessage({type:F,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ie=()=>{M&&(window.postMessage({type:M,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},ae=()=>{$&&(window.postMessage({type:$},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S)};function P(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!T||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",P,!1),document.addEventListener("mozfullscreenchange",P,!1),document.addEventListener("fullscreenchange",P,!1),document.addEventListener("MSFullscreenChange",P,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(T?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,T=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,T=!0)))},oe=setInterval(()=>{r(3,A=k?vi().format(k):vi().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{G=0,D=setInterval(()=>{G+=1,r(8,L=!0),3<=G&&clearInterval(D)},1e3)},ce=e=>{G<3&&r(8,L=!1),clearInterval(D)};return Ne(()=>(window.addEventListener("resize",ne,!1),Co(X),()=>{r(8,L=!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,w=e.clientstyling),"clientstylingurl"in e&&r(34,b=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,F=e.loginevent),"registerevent"in e&&r(39,M=e.registerevent),"depositevent"in e&&r(40,$=e.depositevent),"clockformat"in e&&r(41,k=e.clockformat),"haspanicbutton"in e&&r(0,U=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,z=e.checksession),"integratedgameframe"in e&&r(44,j=e.integratedgameframe),"gamebanneractive"in e&&r(1,Y=e.gamebanneractive),"gameid"in e&&r(45,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,Re.set(e),Ae(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"==z?qr(f,v).then(e=>{i=e.Guid,e.UserID,r(5,I=!0)},e=>{r(5,I=!1),console.error("err on session",e)}):i=v),4&t.$$.dirty[1]&&w){let e=document.createElement("style");e.innerHTML=w,p.appendChild(e)}if(8&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,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))},[U,Y,a,A,n,I,W,V,L,o,J,K,s,l,c,u,T,H,N,p,m,g,R,X,re,ie,ae,B,se,f,y,v,O,w,b,x,C,S,F,M,$,k,_,z,j,E,()=>se(),function(e){Be[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ae(),function(e){Be[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){Be[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){Be[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){Be[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){Be[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>se(),function(e){Be[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){Be[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>re(),()=>ie(),()=>B(),()=>B(),function(e){Be[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){Be[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){Be[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){Be[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function xs(e){let n,r,i,a,o,s,l,c,u,d,h,p,m,g="true"==e[19]&&Ss(e);return{c(){n=ee("div"),r=ee("div"),i=ee("div"),a=ne(),o=ee("div"),s=ne(),l=ee("casino-categories-slider"),c=ne(),u=ee("casino-page"),d=ne(),g&&g.c(),h=ne(),p=ee("casino-filter-modal"),m=ee("casino-filter-page"),ie(i,"class","HeaderPlaceholder"),ie(i,"part","HeaderPlaceholder"),P(i,"height",e[31]+"px"),ie(o,"class","ScrollTop"),ie(o,"part","ScrollTop"),x(l,"endpoint",e[24]),x(l,"datasource",e[25]),x(l,"lang",e[26]),x(l,"session",e[30]),x(l,"userid",e[1]),x(l,"sessioncheck","false"),x(l,"actionevent",e[16]),x(l,"mostplayed",e[10]),x(l,"mostplayedrounds",e[11]),x(l,"favorites",e[12]),x(l,"activecategory",e[0]),x(l,"clientstyling",e[2]),x(l,"clientstylingurl",e[3]),x(l,"containermaxwidth",e[14]),x(u,"session",e[30]),x(u,"userid",e[1]),x(u,"endpoint",e[24]),x(u,"datasource",e[25]),x(u,"lang",e[26]),x(u,"visiblegames",e[21]),x(u,"playrandomgame",e[20]),x(u,"activecategory",e[0]),x(u,"alternativesearch",e[13]),x(u,"favorites",e[12]),x(u,"mostplayedrounds",e[11]),x(u,"mostplayed",e[10]),x(u,"clientstyling",e[2]),x(u,"clientstylingurl",e[3]),x(u,"lobbyid",e[5]),x(u,"containermaxwidth",e[14]),x(u,"haspanicbutton",e[15]),x(u,"livecasino",e[17]),x(u,"currency",e[6]),x(u,"gamepagemodalurl",e[23]),x(m,"session",e[30]),x(m,"userid",e[1]),x(m,"endpoint",e[24]),x(m,"datasource",e[25]),x(m,"lang",e[26]),x(m,"clientstylingurl",e[3]),x(m,"clientstyling",e[2]),x(p,"clientstylingurl",e[3]),x(p,"session",e[30]),x(p,"userid",e[1]),x(p,"endpoint",e[24]),x(p,"datasource",e[25]),x(p,"lang",e[26]),x(p,"sessioncheck","false"),x(p,"clientstyling",e[2]),ie(r,"class","WidgetsSection"),ie(r,"part","WidgetsSection"),ie(n,"class","CasinoLobby"),ie(n,"part","CasinoLobby")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(r,s),X(r,l),X(r,c),X(r,u),X(r,d),g&&g.m(r,null),X(r,h),X(r,p),X(p,m)},p(e,t){1&t[1]&&P(i,"height",e[31]+"px"),16777216&t[0]&&x(l,"endpoint",e[24]),33554432&t[0]&&x(l,"datasource",e[25]),67108864&t[0]&&x(l,"lang",e[26]),1073741824&t[0]&&x(l,"session",e[30]),2&t[0]&&x(l,"userid",e[1]),65536&t[0]&&x(l,"actionevent",e[16]),1024&t[0]&&x(l,"mostplayed",e[10]),2048&t[0]&&x(l,"mostplayedrounds",e[11]),4096&t[0]&&x(l,"favorites",e[12]),1&t[0]&&x(l,"activecategory",e[0]),4&t[0]&&x(l,"clientstyling",e[2]),8&t[0]&&x(l,"clientstylingurl",e[3]),16384&t[0]&&x(l,"containermaxwidth",e[14]),1073741824&t[0]&&x(u,"session",e[30]),2&t[0]&&x(u,"userid",e[1]),16777216&t[0]&&x(u,"endpoint",e[24]),33554432&t[0]&&x(u,"datasource",e[25]),67108864&t[0]&&x(u,"lang",e[26]),2097152&t[0]&&x(u,"visiblegames",e[21]),1048576&t[0]&&x(u,"playrandomgame",e[20]),1&t[0]&&x(u,"activecategory",e[0]),8192&t[0]&&x(u,"alternativesearch",e[13]),4096&t[0]&&x(u,"favorites",e[12]),2048&t[0]&&x(u,"mostplayedrounds",e[11]),1024&t[0]&&x(u,"mostplayed",e[10]),4&t[0]&&x(u,"clientstyling",e[2]),8&t[0]&&x(u,"clientstylingurl",e[3]),32&t[0]&&x(u,"lobbyid",e[5]),16384&t[0]&&x(u,"containermaxwidth",e[14]),32768&t[0]&&x(u,"haspanicbutton",e[15]),131072&t[0]&&x(u,"livecasino",e[17]),64&t[0]&&x(u,"currency",e[6]),8388608&t[0]&&x(u,"gamepagemodalurl",e[23]),"true"==e[19]?g?g.p(e,t):((g=Ss(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),1073741824&t[0]&&x(m,"session",e[30]),2&t[0]&&x(m,"userid",e[1]),16777216&t[0]&&x(m,"endpoint",e[24]),33554432&t[0]&&x(m,"datasource",e[25]),67108864&t[0]&&x(m,"lang",e[26]),8&t[0]&&x(m,"clientstylingurl",e[3]),4&t[0]&&x(m,"clientstyling",e[2]),8&t[0]&&x(p,"clientstylingurl",e[3]),1073741824&t[0]&&x(p,"session",e[30]),2&t[0]&&x(p,"userid",e[1]),16777216&t[0]&&x(p,"endpoint",e[24]),33554432&t[0]&&x(p,"datasource",e[25]),67108864&t[0]&&x(p,"lang",e[26]),4&t[0]&&x(p,"clientstyling",e[2])},d(e){e&&Q(n),g&&g.d()}}}function Cs(e){let n,r;return{c(){n=ee("p"),r=te(e[29]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){q(e,n,t),X(n,r)},p(e,t){536870912&t[0]&&ae(r,e[29])},d(e){e&&Q(n)}}}function Ss(e){let n,r;return{c(){n=ee("casino-modal"),x(r=ee("casino-game-page"),"session",e[30]),x(r,"userid",e[1]),x(r,"endpoint",e[24]),x(r,"datasource",e[25]),x(r,"lang",e[26]),x(r,"loginevent",e[7]),x(r,"registerevent",e[8]),x(r,"depositevent",e[9]),x(r,"checksession","false"),x(r,"playforfun",e[18]),x(r,"favorites",e[12]),x(r,"clientstyling",e[2]),x(r,"clientstylingurl",e[3]),x(r,"clockformat",e[4]),x(r,"haspanicbutton",e[15]),x(r,"currency",e[6]),x(r,"integratedgameframe",e[22]),x(n,"session",e[30]),x(n,"userid",e[1]),x(n,"endpoint",e[24]),x(n,"datasource",e[25]),x(n,"lang",e[26]),x(n,"sessioncheck","false"),x(n,"clientstyling",e[2]),x(n,"clientstylingurl",e[3]),x(n,"gamepagemodalurl",e[23]),x(n,"haspanicbutton",e[15])},m(e,t){q(e,n,t),X(n,r)},p(e,t){1073741824&t[0]&&x(r,"session",e[30]),2&t[0]&&x(r,"userid",e[1]),16777216&t[0]&&x(r,"endpoint",e[24]),33554432&t[0]&&x(r,"datasource",e[25]),67108864&t[0]&&x(r,"lang",e[26]),128&t[0]&&x(r,"loginevent",e[7]),256&t[0]&&x(r,"registerevent",e[8]),512&t[0]&&x(r,"depositevent",e[9]),262144&t[0]&&x(r,"playforfun",e[18]),4096&t[0]&&x(r,"favorites",e[12]),4&t[0]&&x(r,"clientstyling",e[2]),8&t[0]&&x(r,"clientstylingurl",e[3]),16&t[0]&&x(r,"clockformat",e[4]),32768&t[0]&&x(r,"haspanicbutton",e[15]),64&t[0]&&x(r,"currency",e[6]),4194304&t[0]&&x(r,"integratedgameframe",e[22]),1073741824&t[0]&&x(n,"session",e[30]),2&t[0]&&x(n,"userid",e[1]),16777216&t[0]&&x(n,"endpoint",e[24]),33554432&t[0]&&x(n,"datasource",e[25]),67108864&t[0]&&x(n,"lang",e[26]),4&t[0]&&x(n,"clientstyling",e[2]),8&t[0]&&x(n,"clientstylingurl",e[3]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),32768&t[0]&&x(n,"haspanicbutton",e[15])},d(e){e&&Q(n)}}}function Fs(n){let r,i,a;function o(e){return e[28]?Cs:xs}let s=o(n),l=s(n);return{c(){r=ee("div"),l.c(),this.c=Z,ie(r,"class",i=n[27]?"DisplayNone":""),ie(r,"part",a=n[27]?"DisplayNone":"")},m(e,t){q(e,r,t),l.m(r,null),n[43](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))),134217728&t[0]&&i!==(i=e[27]?"DisplayNone":"")&&ie(r,"class",i),134217728&t[0]&&a!==(a=e[27]?"DisplayNone":"")&&ie(r,"part",a)},i:Z,o:Z,d(e){e&&Q(r),l.d(),n[43](null)}}}function Ms(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="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:M=""}=t,{favorites:$=""}=t,{desktopoffset:k="0"}=t,{mobileoffset:_="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:R=""}=t,{haspanicbutton:A="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:D="CategoryChange"}=t,{livecasino:H="false"}=t,{playforfun:N="true"}=t,{gamemodal:O="true"}=t,{playrandomgame:U="false"}=t,{visiblegames:z="10"}=t,{integratedgameframe:j="false"}=t,{gamepagemodalurl:Y="false"}=t,L=!1,G=!1,T="Loading, please wait ...",P="",W=window.navigator.userAgent,B=0,V=!1;var Z,J;({withLocale:Z,translations:J}={withLocale:"en",translations:{}}),Re.subscribe(e=>{null==e&&(_r.set(J),Re.set(Z))});const K=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(V=e.data.scrollTop)&&(B||n(31,B="PC"===De(W)?parseInt(k):parseInt(_)),window.scrollTo({top:B}));break;case"UserSessionID":n(30,P=e.data.session),e.data.userID;break;case"CategoryChange":n(0,I=e.data.itemId)}};return Ne(()=>(window.addEventListener("message",K,!1),n(31,B="PC"===De(W)?parseInt(k):parseInt(_)),()=>{window.removeEventListener("message",K)})),e.$$set=e=>{"endpoint"in e&&n(33,s=e.endpoint),"datasource"in e&&n(34,l=e.datasource),"lang"in e&&n(35,c=e.lang),"session"in e&&n(36,u=e.session),"userid"in e&&n(1,d=e.userid),"opsession"in e&&n(37,h=e.opsession),"clientstyling"in e&&n(2,p=e.clientstyling),"clientstylingurl"in e&&n(3,m=e.clientstylingurl),"clockformat"in e&&n(4,g=e.clockformat),"lobbyid"in e&&n(5,f=e.lobbyid),"currency"in e&&n(6,y=e.currency),"loginurl"in e&&n(38,v=e.loginurl),"registerurl"in e&&n(39,w=e.registerurl),"depositurl"in e&&n(40,b=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,F=e.mostplayed),"mostplayedrounds"in e&&n(11,M=e.mostplayedrounds),"favorites"in e&&n(12,$=e.favorites),"desktopoffset"in e&&n(41,k=e.desktopoffset),"mobileoffset"in e&&n(42,_=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(0,I=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,U=e.playrandomgame),"visiblegames"in e&&n(21,z=e.visiblegames),"integratedgameframe"in e&&n(22,j=e.integratedgameframe),"gamepagemodalurl"in e&&n(23,Y=e.gamepagemodalurl)},e.$$.update=()=>{if(16&e.$$.dirty[1]&&c&&Qr(c),2&e.$$.dirty[0]|36&e.$$.dirty[1]&&u&&d&&s&&qr(s,u).then(e=>{n(30,P=e.Guid),e.UserID},e=>{console.error("Error while checking the session - ",e)}),5120&e.$$.dirty[0]|28&e.$$.dirty[1]&&s&&l&&c&&F&&$&&(s||(n(29,T="Endpoint is missing! Please provide a valid endpointURL."),n(28,G=!0),console.error(T)),l||(n(29,T="Datasource is missing! Please provide a valid datasource."),n(28,G=!0),console.error(T)),(!c||c.length<2)&&(n(29,T="Language is missing! Please provide a valid language (alpha2code)"),n(28,G=!0),console.error(T)),Qr(c),n(24,r=s),n(25,i=l),n(26,a=c),n(28,G=!1)),64&e.$$.dirty[1]&&h&&n(30,P=h),4&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(8&e.$$.dirty[0]&&m){n(27,L=!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(27,L=!1)},500))})}},[I,d,p,m,g,f,y,x,C,S,F,M,$,E,R,A,D,H,N,O,U,z,j,Y,r,i,a,L,G,T,P,B,o,s,l,c,u,h,v,w,b,k,_,function(e){Be[e?"unshift":"push"](()=>{o=e,n(32,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},bs,ws,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&&q(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 $s extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Ms,Fs,t,{endpoint:33,datasource:34,lang:35,session:36,userid:1,opsession:37,clientstyling:2,clientstylingurl:3,clockformat:4,lobbyid:5,currency:6,loginurl:38,registerurl:39,depositurl:40,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:41,mobileoffset:42,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:0,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframe:22,gamepagemodalurl:23},null,[-1,-1]),e&&(e.target&&q(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"]}get endpoint(){return this.$$.ctx[33]}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[35]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[37]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[4]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[5]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[6]}set currency(e){this.$$set({currency: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[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[41]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[42]}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[0]}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()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",$s),$s});
|
|
32
|
+
`},z,j,Y,C,S,K,X,k,_,ee,E,I,G,L,ue,de,function(e){Re[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>pe($),()=>me($),()=>pe($),function(e){Re[e?"unshift":"push"](()=>{x=e,o(12,x)})},function(e){Re[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function Vi(e,t,n){const r=e.slice();return r[71]=t[n],r[73]=n,r}function Zi(e,t,n){const r=e.slice();return r[71]=t[n],r[74]=t,r[73]=n,r}function Ji(e,t,n){const r=e.slice();return r[71]=t[n],r[73]=n,r}function Ki(e){let n;function r(e){return e[12]?ea:e[22]?Qi:void 0}let i=r(e),a=i&&i(e);return{c(){n=ee("div"),a&&a.c()},m(e,t){q(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&&Q(n),a&&a.d()}}}function Xi(e){let n,r,i;function a(e){return e[16]?va:e[13].length?fa:ya}let o=a(e),s=o(e);function l(e){return e[13]?ba:wa}let c=l(e),u=c(e);return{c(){n=ee("div"),r=ee("div"),s.c(),i=ne(),u.c(),ie(r,"class","CasinoGamesHeader Searched "+(De(e[28])?"CasinoGamesHeaderMobile":"")),ie(r,"part","CasinoGamesHeader Searched "+(De(e[28])?"CasinoGamesHeaderMobile":"")),ie(n,"class","CasinoGamesContainer"),ie(n,"part","CasinoGamesContainer")},m(e,t){q(e,n,t),X(n,r),s.m(r,null),X(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&&Q(n),s.d(),u.d()}}}function qi(e){let n;function r(e){return e[18]?Fa:Sa}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Qi(n){let r,i,a,o,s,l,c,u,d=n[27]("gamesCategorySection.favorites")+"";function h(e){return e[26]?na:ta}let m=h(n),p=m(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(d),s=ne(),l=ee("ul"),p.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(l,"class",c=(0!=n[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(l,"part",u=(0!=n[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[44](a),X(r,s),X(r,l),p.m(l,null),n[45](l)},p(e,t){134217728&t[0]&&d!==(d=e[27]("gamesCategorySection.favorites")+"")&&ae(o,d),m===(m=h(e))&&p?p.p(e,t):(p.d(1),(p=m(e))&&(p.c(),p.m(l,null))),67108864&t[0]&&c!==(c=(0!=e[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"class",c),67108864&t[0]&&u!==(u=(0!=e[26].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&ie(l,"part",u)},d(e){e&&Q(r),n[44](null),p.d(),n[45](null)}}}function ea(n){let r,i,a,o,s,l,c=n[12].name+"",u=n[14]&&ha(n);function d(e){return 0!==e[13].length?pa:ma}let h=d(n),m=h(n);return{c(){r=ee("div"),i=ee("div"),a=ee("h3"),o=te(c),s=ne(),u&&u.c(),l=ne(),m.c(),ie(a,"class","CategoryName"),ie(a,"part","CategoryName"),ie(i,"class","CasinoGamesHeader"),ie(i,"part","CasinoGamesHeader"),ie(r,"class","CasinoGamesContainer"),ie(r,"part","CasinoGamesContainer")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),n[40](a),X(i,s),u&&u.m(i,null),X(r,l),m.m(r,null)},p(e,t){4096&t[0]&&c!==(c=e[12].name+"")&&ae(o,c),e[14]?u?u.p(e,t):((u=ha(e)).c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),(m=h(e))&&(m.c(),m.m(r,null)))},d(e){e&&Q(r),n[40](null),u&&u.d(),m.d()}}}function ta(e){let n,r,i=e[27]("gamesCategorySection.waiting")+"";return{c(){n=ee("p"),r=te(i)},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.waiting")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function na(t){let r,i=t[26].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=da(Vi(t,i,e));let o=null;return i.length||(o=ra(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);q(t,r,n),o&&o.m(t,n)},p(t,n){if(524289023&n[0]){let e;for(i=t[26].items,e=0;e<i.length;e+=1){const o=Vi(t,i,e);a[e]?a[e].p(o,n):(a[e]=da(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=ra(t)).c(),o.m(r.parentNode,r))}},d(e){m(a,e),e&&Q(r),o&&o.d(e)}}}function ra(e){let n,r,i,a,o,s,l,c,t,u,d=e[27]("gamesCategorySection.noFavoritesTitle")+"",h=(p=e,De(p[28])?aa:ia),m=h(e);var p;return{c(){n=ee("p"),r=b("svg"),i=b("path"),a=ne(),o=ee("span"),s=te(d),l=ne(),m.c(),c=ne(),P(i,"fill","white"),ie(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"),ie(r,"version","1.1"),ie(r,"class","UnfavoredIcon"),ie(r,"part","UnfavoredIcon"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(r,"x","50px"),ie(r,"y","50px"),ie(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),ie(r,"xml:space","preserve"),ie(o,"class","NoFavoriteText NoFavoriteTextHighlight"),ie(o,"part","NoFavoriteText NoFavoriteTextHighlight"),ie(n,"class",t="NoFavoriteGames "+(De(e[28])?"NoFavoriteGamesMobile":"")),ie(n,"part",u="NoFavoriteGames "+(De(e[28])?"NoFavoriteGamesMobile":""))},m(e,t){q(e,n,t),X(n,r),X(r,i),X(n,a),X(n,o),X(o,s),X(n,l),m.m(n,null),X(n,c)},p(e,t){134217728&t[0]&&d!==(d=e[27]("gamesCategorySection.noFavoritesTitle")+"")&&ae(s,d),m.p(e,t)},d(e){e&&Q(n),m.d()}}}function ia(e){let n,r,i=e[27]("gamesCategorySection.noFavorites")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.noFavorites")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function aa(e){let n,r,i=e[27]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=ee("span"),r=te(i),ie(n,"class","NoFavoriteText"),ie(n,"part","NoFavoriteText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.noFavoritesMobile")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function oa(e){let n,r=e[71].gameModel.isFavorite&&sa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[71].gameModel.isFavorite?r?r.p(e,t):((r=sa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function sa(e){let n,r=function(e){let n,r,i;function a(e,t){return 67108864&t[0]&&(r=null),(n=null==n?!!De(e[28]):n)?ca:(r=null==r?!!e[71].gameModel.platform.includes("PC"):r)?la: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),q(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&&Q(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function la(e){let n,r,i,a,o,s,l,c,u,d,h,m,p,g;return{c(){x(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[71].cellSize||"1x1"))),x(n,"part",i=""+(S+(e[71].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[71].gameModel.thumbnail),x(n,"gamename",o=e[71].gameModel.name),x(n,"gamevendor",s=e[71].gameModel.vendor.name),x(n,"gameisnew",l=e[71].gameModel.isNew),x(n,"gamepopularity",c=e[71].gameModel.popularity),x(n,"gamecellsize",u=e[71].cellSize),x(n,"gameid",d=e[71].gameModel.id),x(n,"gamefunmode",h=e[71].gameModel.hasFunMode),x(n,"gamefavorite",m=e[71].gameModel.isFavorite),x(n,"showfavoredcategory",e[22]),x(n,"connectlive",p=1==e[24][e[71].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[25]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[71].gameModel.details?e[71].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9])},m(e,t){q(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(S+(e[71].cellSize||"1x1")))&&x(n,"class",r),67108864&t[0]&&i!==(i=""+(S+(e[71].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),67108864&t[0]&&a!==(a=e[71].gameModel.thumbnail)&&x(n,"gamethumbnail",a),67108864&t[0]&&o!==(o=e[71].gameModel.name)&&x(n,"gamename",o),67108864&t[0]&&s!==(s=e[71].gameModel.vendor.name)&&x(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[71].gameModel.isNew)&&x(n,"gameisnew",l),67108864&t[0]&&c!==(c=e[71].gameModel.popularity)&&x(n,"gamepopularity",c),67108864&t[0]&&u!==(u=e[71].cellSize)&&x(n,"gamecellsize",u),67108864&t[0]&&d!==(d=e[71].gameModel.id)&&x(n,"gameid",d),67108864&t[0]&&h!==(h=e[71].gameModel.hasFunMode)&&x(n,"gamefunmode",h),67108864&t[0]&&m!==(m=e[71].gameModel.isFavorite)&&x(n,"gamefavorite",m),4194304&t[0]&&x(n,"showfavoredcategory",e[22]),83886080&t[0]&&p!==(p=1==e[24][e[71].id]?"connect":"disconnect")&&x(n,"connectlive",p),33554432&t[0]&&x(n,"visibilityconnect",e[25]),128&t[0]&&x(n,"currency",e[7]),67108864&t[0]&&g!==(g=e[71].gameModel.details?e[71].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9])},d(e){e&&Q(n)}}}function ca(e){let n,r=e[71].gameModel.platform.includes("iPad")||e[71].gameModel.platform.includes("iPhone")||e[71].gameModel.platform.includes("Android"),i=r&&ua(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),q(e,n,t)},p(e,t){(r=67108864&t[0]?e[71].gameModel.platform.includes("iPad")||e[71].gameModel.platform.includes("iPhone")||e[71].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=ua(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Q(n)}}}function ua(e){let n,r,i,a,o,s,l,c,u,d,h,m,p,g;return{c(){x(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[71].cellSize||"1x1"))),x(n,"part",i=""+(S+(e[71].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[71].gameModel.thumbnail),x(n,"gamename",o=e[71].gameModel.name),x(n,"gamevendor",s=e[71].gameModel.vendor.name),x(n,"gameisnew",l=e[71].gameModel.isNew),x(n,"gamepopularity",c=e[71].gameModel.popularity),x(n,"gamecellsize",u=e[71].cellSize),x(n,"gameid",d=e[71].gameModel.id),x(n,"gamefunmode",h=e[71].gameModel.hasFunMode),x(n,"gamefavorite",m=e[71].gameModel.isFavorite),x(n,"showfavoredcategory",e[22]),x(n,"connectlive",p=1==e[24][e[71].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[25]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[71].gameModel.details?e[71].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9])},m(e,t){q(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(S+(e[71].cellSize||"1x1")))&&x(n,"class",r),67108864&t[0]&&i!==(i=""+(S+(e[71].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),67108864&t[0]&&a!==(a=e[71].gameModel.thumbnail)&&x(n,"gamethumbnail",a),67108864&t[0]&&o!==(o=e[71].gameModel.name)&&x(n,"gamename",o),67108864&t[0]&&s!==(s=e[71].gameModel.vendor.name)&&x(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[71].gameModel.isNew)&&x(n,"gameisnew",l),67108864&t[0]&&c!==(c=e[71].gameModel.popularity)&&x(n,"gamepopularity",c),67108864&t[0]&&u!==(u=e[71].cellSize)&&x(n,"gamecellsize",u),67108864&t[0]&&d!==(d=e[71].gameModel.id)&&x(n,"gameid",d),67108864&t[0]&&h!==(h=e[71].gameModel.hasFunMode)&&x(n,"gamefunmode",h),67108864&t[0]&&m!==(m=e[71].gameModel.isFavorite)&&x(n,"gamefavorite",m),4194304&t[0]&&x(n,"showfavoredcategory",e[22]),83886080&t[0]&&p!==(p=1==e[24][e[71].id]?"connect":"disconnect")&&x(n,"connectlive",p),33554432&t[0]&&x(n,"visibilityconnect",e[25]),128&t[0]&&x(n,"currency",e[7]),67108864&t[0]&&g!==(g=e[71].gameModel.details?e[71].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9])},d(e){e&&Q(n)}}}function da(e){let n,r=e[71].gameModel&&oa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[71].gameModel?r?r.p(e,t):((r=oa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function ha(n){let r,i,a,o,s,l,c,u,d=n[27]("gamesCategorySection.viewAll")+"",h=n[12].games.total+"";return{c(){r=ee("a"),i=ee("span"),a=te(d),o=te(" ("),s=te(h),l=te(")"),ie(i,"class","CategoryLoadMore"),ie(i,"part","CategoryLoadMore"),ie(r,"class","CategoryNameLink"),ie(r,"part","CategoryNameLink")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),X(i,l),c||(u=re(r,"click",n[41]),c=!0)},p(e,t){134217728&t[0]&&d!==(d=e[27]("gamesCategorySection.viewAll")+"")&&ae(a,d),4096&t[0]&&h!==(h=e[12].games.total+"")&&ae(s,h)},d(e){e&&Q(r),c=!1,u()}}}function ma(e){let n;return{c(){(n=ee("p")).textContent="You don't have any games in this category.",ie(n,"class","NoSearchResults"),ie(n,"part","NoSearchResults")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function pa(n){let r,e,i,a=n[13],o=[];for(let e=0;e<a.length;e+=1)o[e]=ga(Zi(n,a,e));return{c(){r=ee("ul");for(let e=0;e<o.length;e+=1)o[e].c();ie(r,"class",e=(0===n[26].items.length&&n[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),ie(r,"part",i=(0===n[26].items.length&&n[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){q(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[43](r)},p(t,n){if(50341887&n[0]){let e;for(a=t[13],e=0;e<a.length;e+=1){const i=Zi(t,a,e);o[e]?o[e].p(i,n):(o[e]=ga(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}71303168&n[0]&&e!==(e=(0===t[26].items.length&&t[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"class",e),71303168&n[0]&&i!==(i=(0===t[26].items.length&&t[22]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&ie(r,"part",i)},d(e){e&&Q(r),m(o,e),n[43](null)}}}function ga(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y=n[73];const v=()=>n[42](r,y),w=()=>n[42](null,y);return{c(){x(r=ee("casino-game-thumbnail"),"session",n[2]),x(r,"userid",n[3]),x(r,"lang",n[1]),x(r,"class",i=""+(S+(n[71].cellSize||"1x1"))),x(r,"part",a=""+(S+(n[71].cellSize||"1x1"))),x(r,"favorites",n[4]),x(r,"gamethumbnail",o=n[71].thumbnail),x(r,"gamename",s=n[71].name),x(r,"gamevendor",l=n[71].vendor.name),x(r,"gameisnew",c=n[71].isNew),x(r,"gamepopularity",u=n[71].popularity),x(r,"gamecellsize",d=n[71].cellSize),x(r,"gameid",h=n[71].id),x(r,"gamefunmode",m=n[71].hasFunMode),x(r,"gamefavorite",p=n[71].isFavorite),x(r,"connectlive",g=1==n[24][n[71].id]?"connect":"disconnect"),x(r,"visibilityconnect",n[25]),x(r,"currency",n[7]),x(r,"livelobbyendpoint",f=n[71].details?n[71].href:""),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6]),x(r,"endpoint",n[0]),x(r,"livecasino",n[8]),x(r,"gamepagemodalurl",n[9])},m(e,t){q(e,r,t),v()},p(e,t){n=e,4&t[0]&&x(r,"session",n[2]),8&t[0]&&x(r,"userid",n[3]),2&t[0]&&x(r,"lang",n[1]),8192&t[0]&&i!==(i=""+(S+(n[71].cellSize||"1x1")))&&x(r,"class",i),8192&t[0]&&a!==(a=""+(S+(n[71].cellSize||"1x1")))&&x(r,"part",a),16&t[0]&&x(r,"favorites",n[4]),8192&t[0]&&o!==(o=n[71].thumbnail)&&x(r,"gamethumbnail",o),8192&t[0]&&s!==(s=n[71].name)&&x(r,"gamename",s),8192&t[0]&&l!==(l=n[71].vendor.name)&&x(r,"gamevendor",l),8192&t[0]&&c!==(c=n[71].isNew)&&x(r,"gameisnew",c),8192&t[0]&&u!==(u=n[71].popularity)&&x(r,"gamepopularity",u),8192&t[0]&&d!==(d=n[71].cellSize)&&x(r,"gamecellsize",d),8192&t[0]&&h!==(h=n[71].id)&&x(r,"gameid",h),8192&t[0]&&m!==(m=n[71].hasFunMode)&&x(r,"gamefunmode",m),8192&t[0]&&p!==(p=n[71].isFavorite)&&x(r,"gamefavorite",p),16785408&t[0]&&g!==(g=1==n[24][n[71].id]?"connect":"disconnect")&&x(r,"connectlive",g),33554432&t[0]&&x(r,"visibilityconnect",n[25]),128&t[0]&&x(r,"currency",n[7]),8192&t[0]&&f!==(f=n[71].details?n[71].href:"")&&x(r,"livelobbyendpoint",f),32&t[0]&&x(r,"clientstyling",n[5]),64&t[0]&&x(r,"clientstylingurl",n[6]),1&t[0]&&x(r,"endpoint",n[0]),256&t[0]&&x(r,"livecasino",n[8]),512&t[0]&&x(r,"gamepagemodalurl",n[9]),y!==n[73]&&(w(),y=n[73],v())},d(e){e&&Q(r),w()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&Q(n)}}}function fa(e){let n,r,i=e[27]("gamesCategorySection.searchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.searchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function ya(e){let n,r,i=e[27]("gamesCategorySection.noResults")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.noResults")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function va(e){let n,r,i=e[27]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=ee("h3"),r=te(i),ie(n,"class","StatusText"),ie(n,"part","StatusText")},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&i!==(i=e[27]("gamesCategorySection.recentSearchedItems")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function wa(e){let n;return{c(){(n=ee("p")).textContent="Waiting",ie(n,"class","SearchWaiting"),ie(n,"part","SearchWaiting")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ba(t){let r,i,a=!t[19]&&xa(t),o=t[13],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ca(Ji(t,o,e));return{c(){a&&a.c(),r=ne(),i=ee("ul");for(let e=0;e<s.length;e+=1)s[e].c();ie(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),ie(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),q(e,r,t),q(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[19]?a&&(a.d(1),a=null):a?a.p(t,n):((a=xa(t)).c(),a.m(r.parentNode,r)),140287&n[0]){let e;for(o=t[13],e=0;e<o.length;e+=1){const a=Ji(t,o,e);s[e]?s[e].p(a,n):(s[e]=Ca(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&&Q(r),e&&Q(i),m(s,e)}}}function xa(e){let n,r,t,i,a=e[27]("gamesCategorySection.noRecentSearch")+"";return{c(){n=ee("p"),r=te(a),ie(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(De(e[28])?"NoRecentSearchesMobile":"")),ie(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(De(e[28])?"NoRecentSearchesMobile":""))},m(e,t){q(e,n,t),X(n,r)},p(e,t){134217728&t[0]&&a!==(a=e[27]("gamesCategorySection.noRecentSearch")+"")&&ae(r,a)},d(e){e&&Q(n)}}}function Ca(e){let n,r,i,a,o,s,l,c,u,d,h,m,p;return{c(){x(n=ee("casino-game-thumbnail"),"class",r=""+(S+(e[71].cellSize||"1x1"))),x(n,"part",i=""+(S+(e[71].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[17]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[71].thumbnail),x(n,"gamename",o=e[71].name),x(n,"gamevendor",s=e[71].vendor.name),x(n,"gameisnew",l=e[71].isNew),x(n,"gamepopularity",c=e[71].popularity),x(n,"gamecellsize",u=e[71].cellSize),x(n,"gameid",d=e[71].id),x(n,"gamefunmode",h=e[71].hasFunMode),x(n,"gamefavorite",m=e[71].isFavorite),x(n,"currency",e[7]),x(n,"livelobbyendpoint",p=e[71].details?e[71].href:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9])},m(e,t){q(e,n,t)},p(e,t){8192&t[0]&&r!==(r=""+(S+(e[71].cellSize||"1x1")))&&x(n,"class",r),8192&t[0]&&i!==(i=""+(S+(e[71].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),131072&t[0]&&x(n,"searchitem",e[17]),16&t[0]&&x(n,"favorites",e[4]),8192&t[0]&&a!==(a=e[71].thumbnail)&&x(n,"gamethumbnail",a),8192&t[0]&&o!==(o=e[71].name)&&x(n,"gamename",o),8192&t[0]&&s!==(s=e[71].vendor.name)&&x(n,"gamevendor",s),8192&t[0]&&l!==(l=e[71].isNew)&&x(n,"gameisnew",l),8192&t[0]&&c!==(c=e[71].popularity)&&x(n,"gamepopularity",c),8192&t[0]&&u!==(u=e[71].cellSize)&&x(n,"gamecellsize",u),8192&t[0]&&d!==(d=e[71].id)&&x(n,"gameid",d),8192&t[0]&&h!==(h=e[71].hasFunMode)&&x(n,"gamefunmode",h),8192&t[0]&&m!==(m=e[71].isFavorite)&&x(n,"gamefavorite",m),128&t[0]&&x(n,"currency",e[7]),8192&t[0]&&p!==(p=e[71].details?e[71].href:"")&&x(n,"livelobbyendpoint",p),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9])},d(e){e&&Q(n)}}}function Sa(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Fa(e){let n;return{c(){(n=ee("p")).textContent="404 Error - No result found.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function $a(n){let r;function i(e){return e[11]?qi:e[15]?Xi:Ki}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"class","CasinoGamesCategorySectionContainer"),ie(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){q(e,r,t),o.m(r,null),n[46](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&&Q(r),o.d(),n[46](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Wi,Oi,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&&q(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 S="game-tile-";function Ma(e,t,s){let R;Ne(e,Kr,e=>s(27,R=e));let n,i,a,r,A,o,l,c,u,d,{endpoint:h=""}=t,{datasource:m=""}=t,{lang:p=""}=t,{session:D=""}=t,{userid:H=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:N=""}=t,{categoryid:v=""}=t,{categorygames:O=0}=t,{livecasino:U="false"}=t,{visiblegames:z=""}=t,{gamepagemodalurl:j="false"}=t,{once:Y=!0}=t,{top:W=0}=t,{bottom:V=0}=t,{left:Z=0}=t,{right:J=0}=t,w=!1,b=!0,K=window.navigator.userAgent,x=[],C=!0,S=40,F=!1,$=!1,X=!1,M=!1,k=!1,_=!0,E=!1,I=!1,G=!1,L=new Array(1e4),T={},q="",P={items:[],count:0,name:""},Q=(Object.keys(gi).forEach(e=>{Ir(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&&ne(v),s(24,T[t]=1,T)):s(24,T[t]=0,T)})}));const ee=(e,r,i,t=0)=>{let a=new URL(`${h}/casino/groups/${m}/`+v),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",He(K)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===b&&!1===E){let t="";s(18,k=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(18,k=!1);fetch(a).then(e=>e.json()).then(e=>{s(39,d=!0),s(11,w=!1),A=e.games.total,t(e)},e=>{s(11,w=!0),console.error(e),n(e)})})},te=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(15,F=!1),b=!1,s(14,C=!1),I=!0,s(13,x=t.data.mostPlayedGames),s(12,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":s(15,F=!0),I=!1,s(16,$=!0),0<t.data.searchData.length?(s(13,x=t.data.searchData),s(19,_=!0),x&&x.forEach(e=>{e.isFavorite=B(e.id)})):(s(13,x=[]),s(19,_=!1));break;case"OutOfRecentSearches":s(15,F=!1),s(16,$=!1);break;case"SearchData":s(15,F=!0),I=!1,s(16,$=!1),s(13,x=t.data.searchData.items||[]),s(17,M=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+v:s(15,F=!1),b=!0,s(14,C=!0),s(17,M=!1),I=!1,G=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),ee(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(12,a=e),s(13,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":s(15,F=!1),b=!1,s(17,M=!1),I=!1,G=!0,s(30,v=t.data.itemId),"MOSTPLAYED"!==v&&s(14,C=!1),ee(0,0,S).then(e=>{s(12,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(13,x=a.games.items),s(14,C=!1),x.length<10&&(X=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:X},window.location.href)},500))});break;case"FavoriteUpdate":I=!1,b=!0,s(13,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}),s(14,C=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items,E?b||I||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)}),s(26,P.items=Xr(e,P.items),P),s(26,P.name="Favorites",P),s(22,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=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=B(e.id)});e=x;s(13,x=void 0),s(13,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},ne=e=>{(S+=1)<=A&&ee(0,0,S).then(e=>{s(12,a=e),a.games.items.length>x.length&&(s(13,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),re=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Oe(()=>(window.addEventListener("visibilitychange",e=>{document[u]?s(25,q="disconnect"):s(25,q="connect")}),window.addEventListener("message",te,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",te),window.removeEventListener("visibilitychange",te)})),e.$$set=e=>{"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(31,m=e.datasource),"lang"in e&&s(1,p=e.lang),"session"in e&&s(2,D=e.session),"userid"in e&&s(3,H=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,N=e.currency),"categoryid"in e&&s(30,v=e.categoryid),"categorygames"in e&&s(32,O=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(33,z=e.visiblegames),"gamepagemodalurl"in e&&s(9,j=e.gamepagemodalurl),"once"in e&&s(34,Y=e.once),"top"in e&&s(35,W=e.top),"bottom"in e&&s(36,V=e.bottom),"left"in e&&s(37,Z=e.left),"right"in e&&s(38,J=e.right)},e.$$.update=()=>{if(1024&e.$$.dirty[0]|256&e.$$.dirty[1]&&d&&L&&G&&L.forEach((e,t)=>{e&&(e.elems_index=t,Q.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(64&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)})}},[h,p,D,H,g,f,y,N,U,j,L,w,a,x,C,F,$,M,k,_,r,o,E,c,T,q,P,R,K,re,v,m,O,z,Y,W,V,Z,J,d,function(e){Re[e?"unshift":"push"](()=>{o=e,s(21,o)})},e=>re(a.id,a),function(e,t){Re[e?"unshift":"push"](()=>{L[t]=e,s(10,L)})},function(e){Re[e?"unshift":"push"](()=>{r=e,s(20,r)})},function(e){Re[e?"unshift":"push"](()=>{o=e,s(21,o)})},function(e){Re[e?"unshift":"push"](()=>{r=e,s(20,r)})},function(e){Re[e?"unshift":"push"](()=>{c=e,s(23,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends n{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Ma,$a,t,{endpoint:0,datasource:31,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:30,categorygames:32,livecasino:8,visiblegames:33,gamepagemodalurl:9,once:34,top:35,bottom:36,left:37,right:38},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[31]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[30]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[33]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get once(){return this.$$.ctx[34]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[35]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[36]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[37]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[38]}set right(e){this.$$set({right:e}),f()}});const ka={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",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 _a(e,t,n){const r=e.slice();return r[23]=t[n],r[25]=n,r}function Ea(n){let r,i,a,o,s,l,c,u=!n[5]&&Ia(n),d=n[5]&&La(n);return{c(){r=ee("div"),i=ee("div"),(a=ee("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=ne(),u&&u.c(),s=ne(),d&&d.c(),ie(a,"class","ModalCloseBtn"),ie(a,"part","ModalCloseBtn"),ie(a,"role","button"),ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),u&&u.m(i,null),X(i,s),d&&d.m(i,null),l||(c=re(a,"click",n[9]),l=!0)},p(e,t){e[5]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ia(e)).c(),u.m(i,s)),e[5]?d?d.p(e,t):((d=La(e)).c(),d.m(i,null)):d&&(d.d(1),d=null)},d(e){e&&Q(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ia(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]=Ga(_a(t,l,e));return{c(){n=ee("div"),r=ee("main"),i=ee("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ne(),o=ee("p"),s=te(e),ie(i,"class","items"),ie(i,"part","items"),P(i,"transform","translateY("+t[4]+"px)"),ie(r,"class","RandomGamesSliderWrapper"),ie(r,"part","RandomGamesSliderWrapper"),ie(o,"class","RandomGameLoading"),ie(o,"part","RandomGameLoading"),ie(n,"class","RandomGameWrapper"),ie(n,"part","RandomGameWrapper")},m(e,t){q(e,n,t),X(n,r),X(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);X(n,a),X(n,o),X(o,s)},p(t,n){if(4&n){let e;for(l=t[2],e=0;e<l.length;e+=1){var r=_a(t,l,e);c[e]?c[e].p(r,n):(c[e]=Ga(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&&P(i,"transform","translateY("+t[4]+"px)"),64&n&&e!==(e=t[6]("randomGame.randomGameLoading")+"")&&ae(s,e)},d(e){e&&Q(n),m(c,e)}}}function Ga(e){let n,r,i,a,o,s;return{c(){n=ee("div"),r=ee("img"),s=ne(),ie(r,"class","RandomGameImage"),ie(r,"part","RandomGameImage"),K(r.src,i=e[23].thumbnail)||ie(r,"src",i),ie(r,"alt",a=e[23].name),ie(r,"title",o=e[23].name),ie(n,"class","item"),ie(n,"part","item")},m(e,t){q(e,n,t),X(n,r),X(n,s)},p(e,t){4&t&&!K(r.src,i=e[23].thumbnail)&&ie(r,"src",i),4&t&&a!==(a=e[23].name)&&ie(r,"alt",a),4&t&&o!==(o=e[23].name)&&ie(r,"title",o)},d(e){e&&Q(n)}}}function La(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x,C,S=n[1].name+"",F=n[1].vendor.name+"",$=n[6]("randomGame.playNowRandomGame")+"";return{c(){r=ee("div"),i=ee("div"),a=ee("img"),c=ne(),(u=ee("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=ne(),h=ee("div"),m=ee("p"),p=te(S),g=ne(),f=ee("p"),y=te(F),v=ne(),w=ee("button"),b=te($),ie(a,"class","RandomGameImage"),ie(a,"part","RandomGameImage"),K(a.src,o=n[1].thumbnail)||ie(a,"src",o),ie(a,"alt",s=n[1].name),ie(a,"title",l=n[1].name),ie(u,"class","RandomTryAgain"),ie(u,"part","RandomTryAgain"),ie(i,"class","item"),ie(i,"part","item"),ie(m,"class","RandomGameTitle"),ie(m,"part","RandomGameTitle"),ie(f,"class","RandomGameVendor"),ie(f,"part","RandomGameVendor"),ie(w,"class","RandomGamePlay"),ie(w,"part","RandomGamePlay"),ie(h,"class","RandomGameDetails"),ie(h,"part","RandomGameDetails"),ie(r,"class","RandomGameWrapper"),ie(r,"part","RandomGameWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,c),X(i,u),X(r,d),X(r,h),X(h,m),X(m,p),X(h,g),X(h,f),X(f,y),X(h,v),X(h,w),X(w,b),x||(C=[re(u,"click",n[14]),re(w,"click",n[15])],x=!0)},p(e,t){2&t&&!K(a.src,o=e[1].thumbnail)&&ie(a,"src",o),2&t&&s!==(s=e[1].name)&&ie(a,"alt",s),2&t&&l!==(l=e[1].name)&&ie(a,"title",l),2&t&&S!==(S=e[1].name+"")&&ae(p,S),2&t&&F!==(F=e[1].vendor.name+"")&&ae(y,F),64&t&&$!==($=e[6]("randomGame.playNowRandomGame")+"")&&ae(b,$)},d(e){e&&Q(r),x=!1,J(C)}}}function Ta(n){let r,i,a,o,s,l,c,u,d,h,m,p=n[6]("randomGame.playRandomGame")+"",g=n[3]&&Ea(n);return{c(){r=ee("div"),i=ee("div"),g&&g.c(),a=ne(),o=ee("div"),s=ee("button"),l=ee("span"),c=te(p),u=ne(),d=ee("span"),this.c=Z,ie(l,"class","RandomButtonText"),ie(l,"part","RandomButtonText"),ie(d,"class","RandomButtonIcon"),ie(d,"part","RandomButtonIcon"),ie(s,"class","RandomButton"),ie(s,"part","RandomButton"),ie(o,"class","RandomButtonWrapper"),ie(o,"part","RandomButtonWrapper"),ie(r,"part","CustomStylingContainer")},m(e,t){q(e,r,t),X(r,i),g&&g.m(i,null),X(i,a),X(i,o),X(o,s),X(s,l),X(l,c),X(s,u),X(s,d),d.innerHTML=n[0],h||(m=re(s,"click",n[16]),h=!0)},p(e,[t]){e[3]?g?g.p(e,t):((g=Ea(e)).c(),g.m(i,a)):g&&(g.d(1),g=null),64&t&&p!==(p=e[6]("randomGame.playRandomGame")+"")&&ae(c,p),1&t&&(d.innerHTML=e[0])},i:Z,o:Z,d(e){e&&Q(r),g&&g.d(),h=!1,m()}}}function Pa(t,e,n){let r;Ne(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,m=0,p=0,g=!1,f=window.navigator.userAgent;var y,v;({withLocale:y,translations:v}={withLocale:"en",translations:{}}),Ae.subscribe(e=>{null==e&&(_r.set(v),Ae.set(y))}),Object.keys(ka).forEach(e=>{Ir(e,ka[e])});const w=()=>{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,m=0),p=0,n(5,g=!1),n(1,d=u[Math.floor(Math.random()*u.length)]),n(3,h=!0);let e=setInterval(()=>{n(4,m-=100),20==++p&&(n(5,g=!0),clearInterval(e))},100)},b=()=>{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,Ae.set(e)),3072&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",He(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,m,g,r,w,b,()=>{n(3,h=!1)},a,o,s,l,()=>w(),()=>b(),()=>w()]}function Ba(e,t,n){const r=e.slice();return r[128]=t[n],r[130]=n,r}function Ra(n){let r,i,a,o,s,l="PC"!==He(n[45])&&"false"===n[10]&&n[41],c=l&&Da();function u(e){return"false"===e[10]?Na:Ha}let d=u(n),h=d(n),m="true"==n[15]&&eo(n);function p(e){return e[21]?oo:e[29]?ao:e[32]?io:e[27]?ro:e[33]?no:e[28]?void 0:to}let g=p(n),f=g&&g(n),y=n[23]&&"true"==n[13]&&uo(n);return{c(){r=ee("section"),c&&c.c(),i=ne(),h.c(),a=ne(),m&&m.c(),o=ne(),f&&f.c(),s=ne(),y&&y.c(),ie(r,"class","CategoriesLobby"),ie(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){q(e,r,t),c&&c.m(r,null),X(r,i),h.m(r,null),X(r,a),m&&m.m(r,null),X(r,o),f&&f.m(r,null),X(r,s),y&&y.m(r,null),n[74](r)},p(e,t){(l=1024&t[0]|1024&t[1]?"PC"!==He(e[45])&&"false"===e[10]&&e[41]:l)?c||((c=Da()).c(),c.m(r,i)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,a))),"true"==e[15]?m?m.p(e,t):((m=eo(e)).c(),m.m(r,o)):m&&(m.d(1),m=null),g===(g=p(e))&&f?f.p(e,t):(f&&f.d(1),(f=g&&g(e))&&(f.c(),f.m(r,s))),e[23]&&"true"==e[13]?y?y.p(e,t):((y=uo(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&Q(r),c&&c.d(),h.d(),m&&m.d(),f&&f.d(),y&&y.d(),n[74](null)}}}function Aa(e){let n,r,i=e[44]("casinoPage.500")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8192&t[1]&&i!==(i=e[44]("casinoPage.500")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function Da(){let n;return{c(){ie(n=ee("div"),"class","SearchBarPlaceholder"),ie(n,"part","SearchBarPlaceholder")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ha(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b=n[44]("casinoPage.searchGames")+"",x="PC"===He(n[45])&&n[19].length||"PC"!==He(n[45]),C=!n[41]&&Oa(),S=x&&Ua(n),F=!n[27]&&!n[32]&&!n[41]&&!n[33]&&!n[28]&&!n[31]&&!n[29]&&!n[30]&&za(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),u=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(u,"id","SearchField"),ie(u,"class","SearchInput"),ie(u,"part","SearchInput"),ie(u,"placeholder",d="PC"===He(n[45])?n[44]("casinoPage.search"):n[44]("casinoPage.searchMobile")),ie(u,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",m="SearchContainer "+(n[32]||n[27]||n[33]||n[30]?"":"SearchTruncated")),ie(i,"part",p="SearchContainer "+(n[32]||n[27]||n[33]||n[30]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==He(n[45])?"CategoriesHeaderMobileSection":"")+" "+(n[41]?"SearchMobileActive":"")+" "+(n[41]||n[29]&&"PC"!==He(n[45])&&!mo?"CategoriesHeaderSearchActive":"")+(n[35]&&n[41]?"SearchStickTop":"")),ie(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==He(n[45])?"CategoriesHeaderMobileSection":"")+" "+(n[41]?"SearchMobileActive":"")+" "+(n[41]||n[29]&&"PC"!==He(n[45])&&!mo?"CategoriesHeaderSearchActive":"")+(n[35]&&n[41]?"SearchStickTop":"")),P(r,"top",n[35]&&n[41]?po+"px":"")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[67](u),T(u,n[19]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[72](r),v||(w=[re(u,"focus",n[47]),re(u,"blur",n[48]),re(u,"input",n[68]),re(u,"focus",n[49])],v=!0)},p(e,t){8192&t[1]&&b!==(b=e[44]("casinoPage.searchGames")+"")&&ae(o,b),e[41]?C&&(C.d(1),C=null):C||((C=Oa()).c(),C.m(l,c)),8192&t[1]&&d!==(d="PC"===He(e[45])?e[44]("casinoPage.search"):e[44]("casinoPage.searchMobile"))&&ie(u,"placeholder",d),524288&t[0]&&T(u,e[19]),(x=524288&t[0]?"PC"===He(e[45])&&e[19].length||"PC"!==He(e[45]):x)?S?S.p(e,t):((S=Ua(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),1207959552&t[0]|6&t[1]&&m!==(m="SearchContainer "+(e[32]||e[27]||e[33]||e[30]?"":"SearchTruncated"))&&ie(i,"class",m),1207959552&t[0]|6&t[1]&&p!==(p="SearchContainer "+(e[32]||e[27]||e[33]||e[30]?"":"SearchTruncated"))&&ie(i,"part",p),e[27]||e[32]||e[41]||e[33]||e[28]||e[31]||e[29]||e[30]?F&&(F.d(1),F=null):F?F.p(e,t):((F=za(e)).c(),F.m(r,null)),536870912&t[0]|1040&t[1]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==He(e[45])?"CategoriesHeaderMobileSection":"")+" "+(e[41]?"SearchMobileActive":"")+" "+(e[41]||e[29]&&"PC"!==He(e[45])&&!mo?"CategoriesHeaderSearchActive":"")+(e[35]&&e[41]?"SearchStickTop":""))&&ie(r,"class",f),536870912&t[0]|1040&t[1]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==He(e[45])?"CategoriesHeaderMobileSection":"")+" "+(e[41]?"SearchMobileActive":"")+" "+(e[41]||e[29]&&"PC"!==He(e[45])&&!mo?"CategoriesHeaderSearchActive":"")+(e[35]&&e[41]?"SearchStickTop":""))&&ie(r,"part",y),1040&t[1]&&P(r,"top",e[35]&&e[41]?po+"px":"")},d(e){e&&Q(r),C&&C.d(),n[67](null),S&&S.d(),F&&F.d(),n[72](null),v=!1,J(w)}}}function Na(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b=n[44]("casinoPage.searchGames")+"",x="PC"===He(n[45])&&n[19].length||"PC"!==He(n[45]),C=!n[41]&&Za(),S=x&&Ja(n),F=!n[27]&&!n[32]&&!n[41]&&!n[33]&&!n[28]&&!n[29]&&!n[31]&&!n[30]&&Ka(n);return{c(){r=ee("div"),i=ee("div"),a=ee("label"),o=te(b),s=ne(),l=ee("div"),C&&C.c(),c=ne(),u=ee("input"),h=ne(),S&&S.c(),g=ne(),F&&F.c(),ie(a,"for","search"),ie(a,"class","SrOnly"),ie(a,"part","SrOnly"),ie(u,"id","SearchField"),ie(u,"class","SearchInput"),ie(u,"part","SearchInput"),ie(u,"placeholder",d="PC"===He(n[45])?n[44]("casinoPage.search"):n[44]("casinoPage.searchMobile")),ie(u,"type","search"),ie(l,"class","SearchWrapper"),ie(l,"part","SearchWrapper"),ie(i,"class",m="SearchContainer "+(n[32]||n[27]||n[33]||n[30]?"":"SearchTruncated")),ie(i,"part",p="SearchContainer "+(n[32]||n[27]||n[33]||n[30]?"":"SearchTruncated")),ie(r,"class",f="CategoriesHeaderSection "+("PC"!==He(n[45])?"CategoriesHeaderMobileSection":"")+" "+(n[41]?"SearchMobileActive":"")+" "+(n[41]||n[29]&&"PC"!==He(n[45])&&!mo?"CategoriesHeaderSearchActive":"")+" "+(n[35]&&n[41]?"SearchStickTop":"")),P(r,"top",n[35]&&n[41]?po+"px":""),ie(r,"part",y="CategoriesHeaderSection "+("PC"!==He(n[45])?"CategoriesHeaderMobileSection":"")+" "+(n[41]?"SearchMobileActive":"")+" "+(n[41]||n[29]&&"PC"!==He(n[45])&&!mo?"CategoriesHeaderSearchActive":"")+" "+(n[35]&&n[41]?"SearchStickTop":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(i,s),X(i,l),C&&C.m(l,null),X(l,c),X(l,u),n[61](u),T(u,n[19]),X(l,h),S&&S.m(l,null),X(r,g),F&&F.m(r,null),n[66](r),v||(w=[re(u,"focus",n[47]),re(u,"blur",n[48]),re(u,"input",n[62]),re(u,"focus",n[49])],v=!0)},p(e,t){8192&t[1]&&b!==(b=e[44]("casinoPage.searchGames")+"")&&ae(o,b),e[41]?C&&(C.d(1),C=null):C||((C=Za()).c(),C.m(l,c)),8192&t[1]&&d!==(d="PC"===He(e[45])?e[44]("casinoPage.search"):e[44]("casinoPage.searchMobile"))&&ie(u,"placeholder",d),524288&t[0]&&T(u,e[19]),(x=524288&t[0]?"PC"===He(e[45])&&e[19].length||"PC"!==He(e[45]):x)?S?S.p(e,t):((S=Ja(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),1207959552&t[0]|6&t[1]&&m!==(m="SearchContainer "+(e[32]||e[27]||e[33]||e[30]?"":"SearchTruncated"))&&ie(i,"class",m),1207959552&t[0]|6&t[1]&&p!==(p="SearchContainer "+(e[32]||e[27]||e[33]||e[30]?"":"SearchTruncated"))&&ie(i,"part",p),e[27]||e[32]||e[41]||e[33]||e[28]||e[29]||e[31]||e[30]?F&&(F.d(1),F=null):F?F.p(e,t):((F=Ka(e)).c(),F.m(r,null)),536870912&t[0]|1040&t[1]&&f!==(f="CategoriesHeaderSection "+("PC"!==He(e[45])?"CategoriesHeaderMobileSection":"")+" "+(e[41]?"SearchMobileActive":"")+" "+(e[41]||e[29]&&"PC"!==He(e[45])&&!mo?"CategoriesHeaderSearchActive":"")+" "+(e[35]&&e[41]?"SearchStickTop":""))&&ie(r,"class",f),1040&t[1]&&P(r,"top",e[35]&&e[41]?po+"px":""),536870912&t[0]|1040&t[1]&&y!==(y="CategoriesHeaderSection "+("PC"!==He(e[45])?"CategoriesHeaderMobileSection":"")+" "+(e[41]?"SearchMobileActive":"")+" "+(e[41]||e[29]&&"PC"!==He(e[45])&&!mo?"CategoriesHeaderSearchActive":"")+" "+(e[35]&&e[41]?"SearchStickTop":""))&&ie(r,"part",y)},d(e){e&&Q(r),C&&C.d(),n[61](null),S&&S.d(),F&&F.d(),n[66](null),v=!1,J(w)}}}function Oa(){let n;return{c(){(n=ee("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>',ie(n,"class","SearchIcon"),ie(n,"part","SearchWrapper")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ua(n){let r,i,a,o;return{c(){r=ee("span"),(i=ee("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===He(n[45])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===He(n[45])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=re(r,"click",n[69]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function za(e){let n,r,i=e[42]&&ja(e),a=(!e[29]||!e[28])&&Ya(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[42]?i?i.p(e,t):((i=ja(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[29]&&e[28]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Ya(e)).c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function ja(n){let r,i,a,o,s,l,c,u,d,h=n[44]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(h),o=ne(),(s=ee("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>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class",l="ClearFilterButtonWrapper "+(n[42]?"FiltersActive":"")),ie(r,"part",c="ClearFilterButtonWrapper "+(n[42]?"FiltersActive":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),u||(d=re(r,"click",n[70]),u=!0)},p(e,t){8192&t[1]&&h!==(h=e[44]("casinoPage.clear")+"")&&ae(a,h),2048&t[1]&&l!==(l="ClearFilterButtonWrapper "+(e[42]?"FiltersActive":""))&&ie(r,"class",l),2048&t[1]&&c!==(c="ClearFilterButtonWrapper "+(e[42]?"FiltersActive":""))&&ie(r,"part",c)},d(e){e&&Q(r),u=!1,d()}}}function Ya(e){let n,r=!e[33]&&Wa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[33]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Wa(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Wa(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f=n[44]("casinoPage.filters")+"",y=0<n[42]&&Va(n);return{c(){r=ee("div"),i=ee("div"),a=te(f),o=ne(),s=ee("div"),l=b("svg"),c=b("defs"),u=b("style"),d=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=b("path"),m=ne(),y&&y.c(),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(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"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,m),y&&y.m(s,null),p||(g=re(r,"click",n[71]),p=!0)},p(e,t){8192&t[1]&&f!==(f=e[44]("casinoPage.filters")+"")&&ae(a,f),0<e[42]?y?y.p(e,t):((y=Va(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&Q(r),y&&y.d(),p=!1,g()}}}function Va(e){let n,r,i;return{c(){n=ee("div"),r=ee("span"),i=te(e[42]),ie(r,"class","NumberOfFilters"),ie(r,"part","NumberOfFilters"),ie(n,"class","NumberOfFiltersContainer"),ie(n,"part","NumberOfFiltersContainer")},m(e,t){q(e,n,t),X(n,r),X(r,i)},p(e,t){2048&t[1]&&ae(i,e[42])},d(e){e&&Q(n)}}}function Za(){let n;return{c(){(n=ee("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>',ie(n,"class","SearchIcon"),ie(n,"part","SearchIcon")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function Ja(n){let r,i,a,o;return{c(){r=ee("span"),(i=ee("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',ie(i,"class","CloseIconContainer"),ie(i,"part","CloseIconContainer"),ie(r,"class","PC"===He(n[45])?"ClearSearchButton":"ClearSearchButtonMobile"),ie(r,"part","PC"===He(n[45])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){q(e,r,t),X(r,i),a||(o=re(r,"click",n[63]),a=!0)},p:Z,d(e){e&&Q(r),a=!1,o()}}}function Ka(e){let n,r,i=e[42]&&Xa(e),a=(!e[29]||!e[28])&&qa(e);return{c(){n=ee("div"),i&&i.c(),r=ne(),a&&a.c(),ie(n,"class","FiltersButtonsContainer"),ie(n,"part","FiltersButtonsContainer")},m(e,t){q(e,n,t),i&&i.m(n,null),X(n,r),a&&a.m(n,null)},p(e,t){e[42]?i?i.p(e,t):((i=Xa(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[29]&&e[28]?a&&(a.d(1),a=null):a?a.p(e,t):((a=qa(e)).c(),a.m(n,null))},d(e){e&&Q(n),i&&i.d(),a&&a.d()}}}function Xa(n){let r,i,a,o,s,l,c,u=n[44]("casinoPage.clear")+"";return{c(){r=ee("div"),i=ee("div"),a=te(u),o=ne(),(s=ee("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>',ie(s,"class","ClearIcon"),ie(s,"part","ClearIcon"),ie(i,"class","ClearButton"),ie(i,"part","ClearButton"),ie(r,"class","ClearFilterButtonWrapper"),ie(r,"part","ClearFilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),l||(c=re(r,"click",n[64]),l=!0)},p(e,t){8192&t[1]&&u!==(u=e[44]("casinoPage.clear")+"")&&ae(a,u)},d(e){e&&Q(r),l=!1,c()}}}function qa(e){let n,r=!e[33]&&Qa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[33]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Qa(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&Q(n)}}}function Qa(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w=n[44]("casinoPage.filters")+"";return{c(){r=ee("div"),i=ee("div"),a=te(w),o=ne(),s=ee("div"),l=b("svg"),c=b("defs"),u=b("style"),d=te(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=b("path"),m=ne(),p=ee("div"),g=ee("span"),f=te(n[42]),ie(i,"class","FilterButton"),ie(i,"part","FilterButton"),ie(h,"class","a"),ie(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"),ie(h,"transform","translate(-5 -6.2)"),ie(l,"xmlns","http://www.w3.org/2000/svg"),ie(l,"width","20"),ie(l,"height","20"),ie(l,"viewBox","0 0 26 26"),ie(g,"class","NumberOfFilters"),ie(g,"part","NumberOfFilters"),ie(p,"class","NumberOfFiltersContainer"),ie(p,"part","NumberOfFiltersContainer"),ie(s,"class","FilterIconContainer"),ie(s,"part","FilterIconContainer"),ie(r,"class","FilterButtonWrapper"),ie(r,"part","FilterButtonWrapper")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(s,l),X(l,c),X(c,u),X(u,d),X(l,h),X(s,m),X(s,p),X(p,g),X(g,f),y||(v=re(r,"click",n[65]),y=!0)},p(e,t){8192&t[1]&&w!==(w=e[44]("casinoPage.filters")+"")&&ae(a,w),2048&t[1]&&ae(f,e[42])},d(e){e&&Q(r),y=!1,v()}}}function eo(e){let n;return{c(){x(n=ee("casino-random-game"),"datasource",e[1]),x(n,"endpoint",e[0]),x(n,"lang",e[3]),x(n,"gameevent",e[20]),x(n,"randombuttonicon",e[17])},m(e,t){q(e,n,t)},p(e,t){2&t[0]&&x(n,"datasource",e[1]),1&t[0]&&x(n,"endpoint",e[0]),8&t[0]&&x(n,"lang",e[3]),1048576&t[0]&&x(n,"gameevent",e[20]),131072&t[0]&&x(n,"randombuttonicon",e[17])},d(e){e&&Q(n)}}}function to(e){let n;return{c(){x(n=ee("casino-games-category-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"categoryid",e[38]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[16])},m(e,t){q(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),128&t[1]&&x(n,"categoryid",e[38]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),65536&t[0]&&x(n,"gamepagemodalurl",e[16])},d(e){e&&Q(n)}}}function no(e){let n;function r(e){return e[34]?lo:so}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function ro(n){let r,i,a,o;return{c(){x(r=ee("casino-games-category-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"favorites",n[11]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[16])},m(e,t){q(e,r,t),a||(o=h(i=n[46].call(null,r,(n[0],n[24],n[25],n[24]))),a=!0)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),65536&t[0]&&x(r,"gamepagemodalurl",e[16]),i&&k(i.update)&&50331649&t[0]&&i.update.call(null,(e[0],e[24],e[25],e[24]))},d(e){e&&Q(r),a=!1,o()}}}function io(t){let i,a=t[37],o=[];for(let e=0;e<a.length;e+=1)o[e]=co(Ba(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);q(t,i,n)},p(t,n){if(84991&n[0]|64&n[1]){let e;for(a=t[37],e=0;e<a.length;e+=1){var r=Ba(t,a,e);o[e]?o[e].p(r,n):(o[e]=co(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){m(o,e),e&&Q(i)}}}function ao(n){let r,i,a,o;return{c(){x(r=ee("casino-games-category-section"),"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"session",n[4]),x(r,"userid",n[5]),x(r,"categoryid","Search"),x(r,"favorites",n[11]),x(r,"categoryindex","0"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[16])},m(e,t){q(e,r,t),a||(o=h(i=n[54].call(null,r,n[36])),a=!0)},p(e,t){1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),65536&t[0]&&x(r,"gamepagemodalurl",e[16]),i&&k(i.update)&&32&t[1]&&i.update.call(null,e[36])},d(e){e&&Q(r),a=!1,o()}}}function oo(e){let n,r,i=e[44]("casinoPage.loading")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8192&t[1]&&i!==(i=e[44]("casinoPage.loading")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function so(e){let n;return{c(){x(n=ee("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[11]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[16])},m(e,t){q(e,n,t)},p(e,t){16&t[0]&&x(n,"session",e[4]),32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),2048&t[0]&&x(n,"favorites",e[11]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),65536&t[0]&&x(n,"gamepagemodalurl",e[16])},d(e){e&&Q(n)}}}function lo(e){let n,r,i=e[44]("casinoPage.noGamesPlayed")+"";return{c(){n=ee("p"),r=te(i),ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t),X(n,r)},p(e,t){8192&t[1]&&i!==(i=e[44]("casinoPage.noGamesPlayed")+"")&&ae(r,i)},d(e){e&&Q(n)}}}function co(n){let r,i,e,a,o,s;return{c(){x(r=ee("casino-games-category-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"categoryid",i=n[128]),x(r,"categoryindex",e=n[130]),x(r,"categorygames","9"),x(r,"favorites",n[11]),x(r,"class","CategoryContainer"),P(r,"background-color",n[130]%2!=0?n[8]:"transparent"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[16])},m(e,t){q(e,r,t),o||(s=h(a=n[53].call(null,r,n[128])),o=!0)},p(e,t){n=e,16&t[0]&&x(r,"session",n[4]),32&t[0]&&x(r,"userid",n[5]),1&t[0]&&x(r,"endpoint",n[0]),2&t[0]&&x(r,"datasource",n[1]),8&t[0]&&x(r,"lang",n[3]),4&t[0]&&x(r,"currency",n[2]),64&t[1]&&i!==(i=n[128])&&x(r,"categoryid",i),2048&t[0]&&x(r,"favorites",n[11]),256&t[0]&&P(r,"background-color",n[130]%2!=0?n[8]:"transparent"),64&t[0]&&x(r,"clientstyling",n[6]),128&t[0]&&x(r,"clientstylingurl",n[7]),16384&t[0]&&x(r,"livecasino",n[14]),512&t[0]&&x(r,"visiblegames",n[9]),65536&t[0]&&x(r,"gamepagemodalurl",n[16]),a&&k(a.update)&&64&t[1]&&a.update.call(null,n[128])},d(e){e&&Q(r),o=!1,s()}}}function uo(n){let r,i,a,e,t,o,s,l=n[44]("casinoPage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(l),ie(i,"class",e="PanicButton "+("PC"!==He(n[45])?"PanicButtonMobile ":"")),ie(i,"part",t="PanicButton "+("PC"!==He(n[45])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[26]),ie(r,"class",o="PanicSection "+("PC"!==He(n[45])?"PanicSectionMobile":"")),ie(r,"part",s="PanicSection "+("PC"!==He(n[45])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),n[73](i)},p(e,t){8192&t[1]&&l!==(l=e[44]("casinoPage.breakButton")+"")&&ae(a,l),67108864&t[0]&&B(i,"PanicButtonAnimation",e[26])},d(e){e&&Q(r),n[73](null)}}}function ho(e){let n;function r(e){return e[22]?Aa:Ra}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(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&&Q(n)}}}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Pa,Ta,t,{endpoint:10,datasource:11,gameevent:12,lang:13,randombuttonicon:0},null),e&&(e.target&&q(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()}});let mo=!1;const po=0;function go(e,t,c){let R;Ne(e,Kr,e=>c(44,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:U=""}=t,{containermaxwidth:z="1300"}=t,{lobbyid:m="casinodefault"}=t,{haspanicbutton:j="false"}=t,{mostplayedrounds:Y=""}=t,{activecategory:p=""}=t,{livecasino:W="false"}=t,{playrandomgame:V="false"}=t,{gamepagemodalurl:Z="false"}=t,{randombuttonicon:J=""}=t,g=window.navigator.userAgent;A=De(g)?"OpenGameFrame":"ShowGameModal";let f,y,v,K,w,b,x,X,q,Q,r,C,S,ee,F=!1,$=!1,te=!1,M="",ne=!1,re=0,i=!1,ie=!1,ae=!0,oe=!1,se=!1,le=!1,ce=!1,k=!0,_=!1,ue=!1,de=!1,E=!0,he=[],I="",me,pe,G=[],ge=!1,L=[],fe=0,T="",ye=!1;var ve,we;({withLocale:ve,translations:we}={withLocale:"en",translations:{}}),Ae.subscribe(e=>{null==e&&(_r.set(we),Ae.set(ve))}),Object.keys(pi).forEach(e=>{Ir(e,pi[e])});const be=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(25,y=n.data.session),c(24,f=n.data.userID),f&&f.length&&y&&0<y.length&&P(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,G.includes(l)&&(G=G.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),xe(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${f}/favorites`;var i=y;f;var a=n.data.id;n.data.triggerFactor;G.includes(a)||G.push(a);let e={items:G},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),xe(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":f&&f.length&&y&&0<y.length&&P(u,y,f);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(L=(L=Fe(`searchedGamesWds_${m}`))?L.split(","):[]).indexOf(t)){let e;L.push(t),e=L.join(","),document.cookie=`searchedGamesWds_${m}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),B();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),B();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href),B();break;case"CategoryVendors":T=n.data.categoryid,B();break;case"GameHovered":se=!0;break;case"GameBlur":se=!1}var e,o,s,l};let P=(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),Ce(r.items)),r)).then(e=>(i&&Se(),e)).catch(e=>{console.error(e)})},xe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,i&&Se(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const Ce=(e=[])=>(G=[],0<e.length&&e.forEach(e=>{G.push(e.id)}),G);const Se=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},Fe=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},$e=()=>{if(u&&a&&o&&(c(31,ce=!0),I.length<2)){let e=Fe("searchedGamesWds_"+m),t=[],n=(e&&(t=e.split(",")),1!=k||ae||(c(30,le=k),c(32,k=!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",He(g)),n.push((e=>new Promise((t,n)=>{c(21,F=!0),fetch(e).then(e=>e.json()).then(e=>{c(21,F=!1),t(e[0])}).catch(e=>{c(22,$=!0),c(21,F=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{c(36,w=e),_e(0,w)})}else _e(0,{})}},Me=()=>{c(31,ce=!1),I.length<2&&!se&&(c(29,oe=!1),c(36,w=[]),c(28,ie=!1),c(32,k=le),c(30,le=!1),!1===k&&window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},B=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&T&&(e[T]?c(42,fe=e[T].length):c(42,fe=0))},ke=()=>{c(60,E=!0),c(19,I=""),c(36,w=[]),c(28,ie=!1),Me()},_e=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Ee=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ie=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Ge=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},Le=()=>{X&&(q=X.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>q||130<q?c(35,de=!0):c(35,de=!1)},Te=()=>{c(38,b=p);var e={data:{itemId:b}};switch(c(29,oe=!1),c(19,I=""),me=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(32,k=!0),c(27,i=!1),c(38,b=""),c(33,_=!1);break;case"FAVORITES":c(32,k=!1),c(27,i=!0),c(33,_=!1),c(38,b="");break;case"MOSTPLAYED":"true"==U&&(c(21,F=!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),ee=W?t:t.href,new Promise((t,n)=>{fetch(ee).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:He(g),rounds:10}).then(e=>{if(c(21,F=!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=>{pe=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:pe},window.location.href)})}else c(34,ue=!0)}),c(38,b=""),c(32,k=!1),c(27,i=!1),c(33,_=!0));break;default:c(32,k=!1),c(27,i=!1),c(33,_=!1),c(38,b=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href)},500)}},Pe=e=>{re=0,K=setInterval(()=>{re+=1,c(26,ne=!0),3<=re&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(K))},1e3)},Be=e=>{re<3&&c(26,ne=!1),clearInterval(K)};return Oe(()=>(window.addEventListener("scroll",Le,!1),window.addEventListener("message",be,!1),()=>{window.removeEventListener("scroll",Le),window.removeEventListener("message",be),c(26,ne=!1),null!=v&&v.removeEventListener("mousedown",Pe),null!=v&&v.removeEventListener("touchstart",Pe),null!=v&&v.removeEventListener("mouseup",Be),null!=v&&v.removeEventListener("touchend",Be)})),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(55,U=e.mostplayed),"containermaxwidth"in e&&c(12,z=e.containermaxwidth),"lobbyid"in e&&c(56,m=e.lobbyid),"haspanicbutton"in e&&c(13,j=e.haspanicbutton),"mostplayedrounds"in e&&c(57,Y=e.mostplayedrounds),"activecategory"in e&&c(58,p=e.activecategory),"livecasino"in e&&c(14,W=e.livecasino),"playrandomgame"in e&&c(15,V=e.playrandomgame),"gamepagemodalurl"in e&&c(16,Z=e.gamepagemodalurl),"randombuttonicon"in e&&c(17,J=e.randombuttonicon)},e.$$.update=()=>{if(524288&e.$$.dirty[0]&&I&&(2<=I.length?c(60,E=!0):c(60,E=!1)),524299&e.$$.dirty[0]|805306368&e.$$.dirty[1])if(2<=I.length){c(29,oe=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",He(g)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+I),r=e,new Promise((t,n)=>{c(21,F=!0),fetch(r).then(e=>e.json()).then(e=>{c(21,F=!1),t(e)}).catch(e=>{c(22,$=!0),c(21,F=!1),console.error(e),n(e)})}).then(e=>{c(36,w=e),Ge(0,e)})}else E||$e(),ae&&c(59,ae=!1);var r,i,t;if((8&e.$$.dirty[0]|134217728&e.$$.dirty[1]&&o&&p&&Te(),49&e.$$.dirty[0]&&s&&n&&u&&(c(23,te=!0),c(25,y=s),c(24,f=n),f&&f.length&&y&&0<y.length&&P(u,y,f)),1035&e.$$.dirty[0]&&u&&a&&o&&O)&&(u||(M="Endpoint is missing! Please provide a valid endpointURL.",c(22,$=!0),c(21,F=!1),console.error(M)),a||(M="Datasource is missing! Please provide a valid datasource.",c(22,$=!0),c(21,F=!1),console.error(M)),(!o||o.length<2)&&(M="Language is missing! Please provide a valid language (alpha2code)",c(22,$=!0),c(21,F=!1),console.error(M)),!$)){c(21,F=!0),"true"==h&&P(u,y,f),t=o,Ae.set(t);let e=new URL(u+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",He(g)),i=e,new Promise((t,n)=>{c(21,F=!0),fetch(i).then(e=>e.json()).then(e=>{c(21,F=!1),t(e)}).catch(e=>{c(22,$=!0),c(21,F=!1),console.error(e),n(e)})}).then(e=>{e&&(Q=e.items.filter(e=>0<e.games.total),c(37,he=Q.map(e=>e.id)),c(21,F=!1))}),"PC"!==He(g)&&(C.addEventListener("focusin",e=>{c(41,ge=!0)}),C.addEventListener("focusout",e=>{c(41,ge=!1)})),B(),(X=x)&&(q=X.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(ye&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href)},500),ye=!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)})}262144&e.$$.dirty[0]&&v&&(null!=v&&v.addEventListener("mousedown",Pe,!1),null!=v&&v.addEventListener("touchstart",Pe,!1),null!=v&&v.addEventListener("mouseup",Be,!1),null!=v&&v.addEventListener("touchend",Be,!1))},[u,a,D,o,s,n,l,d,H,N,O,h,z,j,W,V,Z,J,v,I,A,F,$,te,f,y,ne,i,ie,oe,le,ce,k,_,ue,de,w,he,b,x,C,ge,fe,S,R,g,P,$e,Me,()=>{window.postMessage({type:"scroll"},window.location.href)},ke,Ee,Ie,(e,t)=>{T=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},Ge,U,m,Y,p,ae,E,function(e){Re[e?"unshift":"push"](()=>{C=e,c(40,C)})},function(){I=this.value,c(19,I)},()=>ke(),()=>Ie(),()=>{Ee()},function(e){Re[e?"unshift":"push"](()=>{x=e,c(39,x)})},function(e){Re[e?"unshift":"push"](()=>{C=e,c(40,C)})},function(){I=this.value,c(19,I)},()=>ke(),()=>Ie(),()=>{Ee()},function(e){Re[e?"unshift":"push"](()=>{x=e,c(39,x)})},function(e){Re[e?"unshift":"push"](()=>{v=e,c(18,v)})},function(e){Re[e?"unshift":"push"](()=>{S=e,c(43,S)})}]}function fo(e,{delay:t=0,duration:n=400,easing:r=F}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function yo(n){let r,i,a,o,s,l,c,t,u,d,h;return{c(){r=ee("div"),(i=ee("div")).innerHTML="<slot></slot>",a=ne(),o=ee("span"),(s=ee("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>',ie(i,"class","ModalContainer"),ie(i,"part","ModalContainer"),ie(s,"name","close"),ie(o,"class",l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")),ie(o,"part","ModalCloseBtn"),ie(o,"role","button"),ie(r,"class","ModalWindow"),ie(r,"part","ModalWindow"),ie(r,"id","Modal"),le(()=>n[17].call(r))},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),n[16](r),c=R(r,n[17].bind(r)),u=!0,d||(h=re(o,"click",n[8]),d=!0)},p(e,t){n=e,(!u||12&t&&l!==(l="ModalCloseBtn "+("true"==n[2]&&n[3]?"ModalPanicCloseButton":"")))&&ie(o,"class",l)},i(e){u||(le(()=>{(t=t||xe(r,fo,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||xe(r,fo,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&Q(r),n[16](null),c(),e&&t&&t.end(),d=!1,h()}}}function vo(n){let r,i,a=n[0]&&yo(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&ye(a,1)):((a=yo(e)).c(),ye(a,1),a.m(r,null)):a&&(ge(),ve(a,1,1,()=>{a=null}),fe())},i(e){i||(ye(a),i=!0)},o(e){ve(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[18](null)}}}function wo(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:m=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:g="false"}=t,{sessioncheck:f="true"}=t,y=window.navigator.userAgent,v=!1,w=!1;const b=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&&(w=e.data.detailsObtained)},x=e=>{var t;w&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Oe(()=>(n(3,v=De(y)),window.addEventListener("message",b,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",b),window.removeEventListener("resize",b)})),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,m=e.endpoint),"haspanicbutton"in e&&n(2,p=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&&m&&"true"==f&&qr(m,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,p,v,r,i,void 0,void 0,()=>{n(0,s=!1),n(3,v=De(y)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:v},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,m,g,f,function(e){Re[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(6,a),n(7,o)},function(e){Re[e?"unshift":"push"](()=>{i=e,n(5,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},go,ho,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:55,containermaxwidth:12,lobbyid:56,haspanicbutton:13,mostplayedrounds:57,activecategory:58,livecasino:14,playrandomgame:15,gamepagemodalurl:16,randombuttonicon:17},null,[-1,-1,-1,-1,-1]),e&&(e.target&&q(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","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[55]}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[56]}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[57]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get activecategory(){return this.$$.ctx[58]}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 randombuttonicon(){return this.$$.ctx[17]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},wo,vo,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&&q(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 bo={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"}},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 xo(){"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 Co=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},So=function(e,...t){try{return xo(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Fo(n){let r,i,a=n[10]&&ko(n);return{c(){r=ee("div"),i=ee("div"),a&&a.c(),ie(i,"class","CasinoGamePageContainer"),ie(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0)"),ie(r,"class","GamePageBackground"),P(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){q(e,r,t),X(r,i),a&&a.m(i,null),n[80](i)},p(e,t){e[10]?a?a.p(e,t):((a=ko(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&P(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&Q(r),a&&a.d(),n[80](null)}}}function $o(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Mo(e){let n;return{c(){(n=ee("p")).textContent="Loading, please wait ...",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function ko(e){let n;function r(e){return e[19]?Go:e[5]?Io:e[11]?Eo:_o}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function _o(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x=n[9].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),u=ee("div"),d=ee("button"),h=te(C),m=ne(),p=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[3]),K(s.src,l=n[9].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(p,"class","RegisterButton"),ie(p,"part","RegisterButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,m),X(u,p),X(p,g),X(r,f),X(r,y),X(y,v),w||(b=[re(d,"click",n[78]),re(p,"click",n[79])],w=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ae(a,x),512&t[0]&&!K(s.src,l=e[9].thumbnail)&&ie(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ae(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ae(g,S),8&t[0]&&ae(v,e[3])},d(e){e&&Q(r),w=!1,J(b)}}}function Eo(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x,C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";function F(e){return e[16]?To:Lo}let $=F(n),M=$(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("div"),u=ee("button"),d=te(C),h=ne(),m=ee("button"),p=te(S),g=ne(),f=ee("p"),y=ee("span"),v=te(n[3]),w=ne(),M.c(),ie(a,"title","Games"),ie(a,"id","IframeGame"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),K(a.src,o=n[9].launchUrl)||ie(a,"src",o),ie(u,"class","LoginButton"),ie(u,"part","LoginButton"),ie(m,"class","RegisterButton"),ie(m,"part","RegisterButton"),ie(c,"class","ButtonsContainer"),ie(c,"part","ButtonsContainer"),ie(f,"class","Time"),ie(f,"part","Time"),ie(l,"class","BottomGame"),ie(l,"part","BottomGame"),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),ie(i,"style",n[23]),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),B(r,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[69](a),X(i,s),X(i,l),X(l,c),X(c,u),X(u,d),X(c,h),X(c,m),X(m,p),X(l,g),X(l,f),X(f,y),X(y,v),n[72](f),X(l,w),M.m(l,null),n[75](l),n[76](i),n[77](r),b||(x=[re(u,"click",n[70]),re(m,"click",n[71])],b=!0)},p(e,t){512&t[0]&&!K(a.src,o=e[9].launchUrl)&&ie(a,"src",o),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ae(d,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ae(p,S),8&t[0]&&ae(v,e[3]),$===($=F(e))&&M?M.p(e,t):(M.d(1),(M=$(e))&&(M.c(),M.m(l,null))),8388608&t[0]&&ie(i,"style",e[23]),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&B(r,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[69](null),n[72](null),M.d(),n[75](null),n[76](null),n[77](null),b=!1,J(x)}}}function Io(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x=n[24]("gamePage.deposit")+"",C="true"===n[1]&&Po(n);function S(e){return e[16]?Ro:Bo}let F=S(n),$=F(n);return{c(){r=ee("div"),i=ee("div"),a=ee("iframe"),s=ne(),l=ee("div"),c=ee("button"),u=te(x),d=ne(),h=ee("p"),m=ee("span"),p=te(n[3]),g=ne(),C&&C.c(),f=ne(),$.c(),ie(a,"title","Games"),ie(a,"id","IframeGame"),ie(a,"class","GamesContainer"),ie(a,"part","GamesContainer"),ie(a,"aria-hidden","false"),K(a.src,o=n[9].launchUrl)||ie(a,"src",o),ie(c,"class","DepositButton"),ie(c,"part","DepositButton"),ie(h,"class","Time"),ie(h,"part","Time"),ie(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),ie(l,"part",v="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),ie(i,"id","IframeGame"),ie(i,"part","IframeGame"),ie(i,"style",n[23]),ie(r,"id","IframeContainer"),ie(r,"part","IframeContainer"),P(r,"width",n[17]),P(r,"height",n[18]),B(r,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(i,a),n[60](a),X(i,s),X(i,l),X(l,c),X(c,u),X(l,d),X(l,h),X(h,m),X(m,p),n[62](h),X(l,g),C&&C.m(l,null),X(l,f),$.m(l,null),n[66](l),n[67](i),n[68](r),w||(b=re(c,"click",n[61]),w=!0)},p(e,t){512&t[0]&&!K(a.src,o=e[9].launchUrl)&&ie(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.deposit")+"")&&ae(u,x),8&t[0]&&ae(p,e[3]),"true"===e[1]?C?C.p(e,t):((C=Po(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),F===(F=S(e))&&$?$.p(e,t):($.d(1),($=F(e))&&($.c(),$.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&ie(l,"class",y),2&t[0]&&v!==(v="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&ie(l,"part",v),8388608&t[0]&&ie(i,"style",e[23]),131072&t[0]&&P(r,"width",e[17]),262144&t[0]&&P(r,"height",e[18]),65536&t[0]&&B(r,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[60](null),n[62](null),C&&C.d(),$.d(),n[66](null),n[67](null),n[68](null),w=!1,b()}}}function Go(e){let n;function r(e){return e[5]?Ho:e[12]?Do:Ao}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Lo(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[74]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function To(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[73]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Po(n){let r,i,a,o=n[24]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(o),ie(i,"class","Button"),ie(i,"part","Button"),B(i,"PanicButtonAnimation",n[8]),ie(r,"class","PanicSection"),ie(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),n[63](i)},p(e,t){16777216&t[0]&&o!==(o=e[24]("gamePage.breakButton")+"")&&ae(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&Q(r),n[63](null)}}}function Bo(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[65]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Ro(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[64]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function Ao(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x=n[9].name+"",C=n[24]("gamePage.signIn")+"",S=n[24]("gamePage.register")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(x),o=ne(),s=ee("img"),c=ne(),u=ee("div"),d=ee("button"),h=te(C),m=ne(),p=ee("button"),g=te(S),f=ne(),y=ee("p"),v=te(n[3]),K(s.src,l=n[9].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(p,"class","RegisterButton"),ie(p,"part","RegisterButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,m),X(u,p),X(p,g),X(r,f),X(r,y),X(y,v),w||(b=[re(d,"click",n[58]),re(p,"click",n[59])],w=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ae(a,x),512&t[0]&&!K(s.src,l=e[9].thumbnail)&&ie(s,"src",l),16777216&t[0]&&C!==(C=e[24]("gamePage.signIn")+"")&&ae(h,C),16777216&t[0]&&S!==(S=e[24]("gamePage.register")+"")&&ae(g,S),8&t[0]&&ae(v,e[3])},d(e){e&&Q(r),w=!1,J(b)}}}function Do(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x,C,S,F=n[9].name+"",$=n[24]("gamePage.signIn")+"",M=n[24]("gamePage.register")+"",k=n[24]("gamePage.playForFun")+"";return{c(){r=ee("div"),i=ee("h3"),a=te(F),o=ne(),s=ee("img"),c=ne(),u=ee("div"),d=ee("button"),h=te($),m=ne(),p=ee("button"),g=te(M),f=ne(),y=ee("button"),v=te(k),w=ne(),b=ee("p"),x=te(n[3]),K(s.src,l=n[9].thumbnail)||ie(s,"src",l),ie(s,"class","GameThumbnail"),ie(s,"part","GameThumbnail"),ie(s,"alt","game thumbnail"),ie(s,"loading","lazy"),ie(d,"class","LoginButton"),ie(d,"part","LoginButton"),ie(p,"class","RegisterButton"),ie(p,"part","RegisterButton"),ie(y,"class","FullWidthButton"),ie(y,"part","FullWidthButton"),ie(u,"class","ButtonsContainer"),ie(u,"part","ButtonsContainer"),ie(r,"class","GameDetails"),ie(r,"part","GameDetails")},m(e,t){q(e,r,t),X(r,i),X(i,a),X(r,o),X(r,s),X(r,c),X(r,u),X(u,d),X(d,h),X(u,m),X(u,p),X(p,g),X(u,f),X(u,y),X(y,v),X(r,w),X(r,b),X(b,x),C||(S=[re(d,"click",n[55]),re(p,"click",n[56]),re(y,"click",n[57])],C=!0)},p(e,t){512&t[0]&&F!==(F=e[9].name+"")&&ae(a,F),512&t[0]&&!K(s.src,l=e[9].thumbnail)&&ie(s,"src",l),16777216&t[0]&&$!==($=e[24]("gamePage.signIn")+"")&&ae(h,$),16777216&t[0]&&M!==(M=e[24]("gamePage.register")+"")&&ae(g,M),16777216&t[0]&&k!==(k=e[24]("gamePage.playForFun")+"")&&ae(v,k),8&t[0]&&ae(x,e[3])},d(e){e&&Q(r),C=!1,J(S)}}}function Ho(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x,C,S=n[9].name+"",F=n[24]("gamePage.deposit")+"",$=n[24]("gamePage.playNow")+"",M="true"==n[0]&&No(n),k="true"===n[1]&&zo(n);return{c(){M&&M.c(),r=ne(),i=ee("div"),a=ee("h3"),o=te(S),s=ne(),l=ee("img"),u=ne(),d=ee("div"),h=ee("button"),m=te(F),p=ne(),g=ee("button"),f=te($),y=ne(),k&&k.c(),v=ne(),w=ee("p"),b=te(n[3]),K(l.src,c=n[9].thumbnail)||ie(l,"src",c),ie(l,"class","GameThumbnail"),ie(l,"part","GameThumbnail"),ie(l,"alt","game thumbnail"),ie(l,"loading","lazy"),ie(h,"class","DepositButton"),ie(h,"part","DepositButton"),ie(g,"class","PlayNowButton"),ie(g,"part","PlayNowButton"),ie(d,"class","ButtonsContainer"),ie(d,"part","ButtonsContainer"),ie(i,"class","GameDetails"),ie(i,"part","GameDetails")},m(e,t){M&&M.m(e,t),q(e,r,t),q(e,i,t),X(i,a),X(a,o),X(i,s),X(i,l),X(i,u),X(i,d),X(d,h),X(h,m),X(d,p),X(d,g),X(g,f),X(i,y),k&&k.m(i,null),X(i,v),X(i,w),X(w,b),x||(C=[re(h,"click",n[52]),re(g,"click",n[53])],x=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):((M=No(e)).c(),M.m(r.parentNode,r)):M&&(M.d(1),M=null),512&t[0]&&S!==(S=e[9].name+"")&&ae(o,S),512&t[0]&&!K(l.src,c=e[9].thumbnail)&&ie(l,"src",c),16777216&t[0]&&F!==(F=e[24]("gamePage.deposit")+"")&&ae(m,F),16777216&t[0]&&$!==($=e[24]("gamePage.playNow")+"")&&ae(f,$),"true"===e[1]?k?k.p(e,t):((k=zo(e)).c(),k.m(i,v)):k&&(k.d(1),k=null),8&t[0]&&ae(b,e[3])},d(e){M&&M.d(e),e&&Q(r),e&&Q(i),k&&k.d(),x=!1,J(C)}}}function No(e){let n;function r(e){return e[9].isFavored?Uo:Oo}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Oo(n){let r,i,a,o,s,l,c;return{c(){r=ee("div"),i=b("svg"),P(a=b("path"),"fill","white"),ie(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"),ie(i,"version","1.1"),ie(i,"class","UnfavoredIcon"),ie(i,"part","UnfavoredIcon"),ie(i,"xmlns","http://www.w3.org/2000/svg"),ie(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(i,"x","20px"),ie(i,"y","20px"),ie(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),ie(i,"xml:space","preserve"),ie(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),ie(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),l||(c=re(r,"click",n[51]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"part",s)},d(e){e&&Q(r),l=!1,c()}}}function Uo(n){let r,i,a,o,s,l,c;return{c(){r=ee("div"),i=b("svg"),P(a=b("path"),"fill","white"),ie(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"),ie(i,"version","1.1"),ie(i,"class","FavoredIcon"),ie(i,"part","FavoredIcon"),ie(i,"xmlns","http://www.w3.org/2000/svg"),ie(i,"viewBox","0 0 19.481 19.481"),ie(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),ie(i,"enable-background","new 0 0 19.481 19.481"),ie(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),ie(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),l||(c=re(r,"click",n[50]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&ie(r,"part",s)},d(e){e&&Q(r),l=!1,c()}}}function zo(n){let r,i,a,e,t,o,s,l=n[24]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(l),ie(i,"class",e="PanicButton "+("PC"!==He(n[25])?"PanicButtonMobile":"")),ie(i,"part",t="PanicButton "+("PC"!==He(n[25])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),ie(r,"class",o="PanicSection "+("PC"!==He(n[25])?"PanicSectionMobile":"")),ie(r,"part",s="PanicSection "+("PC"!==He(n[25])?"PanicSectionMobile":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),n[54](i)},p(e,t){16777216&t[0]&&l!==(l=e[24]("gamePage.breakButton")+"")&&ae(a,l),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&Q(r),n[54](null)}}}function jo(e){let n;function r(e){return e[7]?Mo:e[6]?$o:Fo}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(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&&Q(n)}}}function Yo(t,e,i){let R;Ne(t,Kr,e=>i(24,R=e));let A,n,r,a,D,o,s,l,H,N,c,u,O,U,d,h,m,p,{endpoint:g=""}=e,{lang:f=""}=e,{session:y=""}=e,{userid:z=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:j=""}=e,{loginurl:b=""}=e,{registerurl:x=""}=e,{depositurl:C=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:$=""}=e,{clockformat:M=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:k="true"}=e,{checksession:W="true"}=e,{integratedgameframe:_="false"}=e,{gameid:V=""}=e,E=!1,Z=!1,J=!0,K=!1,X=0,I=!1,q=!1,Q=!1,G=!0,L=!1,ee=window.navigator.userAgent,te=!1,ne=[],re=!1,ie="false",ae;var oe,se;({withLocale:oe,translations:se}={withLocale:"en",translations:{}}),Ae.subscribe(e=>{null==e&&(_r.set(se),Ae.set(oe))}),Object.keys(bo).forEach(e=>{Ir(e,bo[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,G=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=le(e[0])),o.launchUrl&&(i(10,I=!0),i(11,q="true"==k&&o.hasFunMode),i(12,Q="true"==k&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,Z=!0)}).then(()=>{s&&(G||(i(17,H=o.width),i(18,N=o.height),O=o.width+"px",U=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":pe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":i(49,ie="false"),de(),setTimeout(()=>{i(10,I="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)}},me=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))},pe=(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"==k&&e.hasAnonymousFunMode),i(11,q="true"==k&&t),i(10,I=!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",U=u?Math.floor(u)+"px":"720px",Se()},fe=e=>{var t;re?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},So("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:I},window.location.href),I&&(s&&ge(),window.addEventListener("ModalSize",he,!1))},T=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),b&&(window.location=b)},P=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ve=()=>{$&&(window.postMessage({type:$},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)};function we(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!L||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",we,!1),document.addEventListener("mozfullscreenchange",we,!1),document.addEventListener("fullscreenchange",we,!1),document.addEventListener("MSFullscreenChange",we,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(L?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(16,L=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(16,L=!0)))},be=(setInterval(()=>{i(3,A=M?vi().format(M):vi().format("LTS"))},100),()=>{"true"==W?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=L?"100%":O,t=L?"100%":U,n=L||!G?"none":o.width?Math.floor(o.width)+"px":"1280px",r=L||!G?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(23,ae=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),L||new IntersectionObserver((e,t)=>{var e=e[0].intersectionRatio,n=parseInt(getComputedStyle(s).height);p=p||n*Math.max(e,.5),i(14,s.style.height=p+"px",s),i(15,l.style.height=p+"px",l),t.unobserve(s)},{threshold:0}).observe(s)};return Oe(()=>(window.addEventListener("resize",ye,!1),window.addEventListener("message",he,!1),re=!!Co(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,z=e.userid),"clientstyling"in e&&i(36,v=e.clientstyling),"clientstylingurl"in e&&i(37,w=e.clientstylingurl),"favorites"in e&&i(0,j=e.favorites),"loginurl"in e&&i(38,b=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,F=e.registerevent),"depositevent"in e&&i(43,$=e.depositevent),"clockformat"in e&&i(44,M=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(45,k=e.playforfun),"checksession"in e&&i(46,W=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,Ae.set(e),i(19,te=De(ee))),131078&t.$$.dirty[1]&&g&&V&&f&&ce(V),26&t.$$.dirty[1]&&y&&z&&g&&be(),32778&t.$$.dirty[1]&&"false"==W&&y&&g&&be(),32&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,d.appendChild(e)}if(64&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,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()},[j,Y,a,A,n,E,Z,J,K,o,I,q,Q,G,s,l,L,H,N,te,d,h,m,"",R,ee,me,fe,T,P,ve,B,g,f,y,z,v,w,b,x,C,S,F,$,M,k,W,_,V,ie,()=>me(o.id),()=>me(o.id),()=>ve(),()=>{fe(o)},function(e){Re[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>T(),()=>P(),()=>{fe(o)},()=>T(),()=>P(),function(e){Re[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>ve(),function(e){Re[e?"unshift":"push"](()=>{m=e,i(22,m)})},function(e){Re[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){Re[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){Re[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){Re[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){Re[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>T(),()=>P(),function(e){Re[e?"unshift":"push"](()=>{m=e,i(22,m)})},()=>B(),()=>B(),function(e){Re[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){Re[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){Re[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>T(),()=>P(),function(e){Re[e?"unshift":"push"](()=>{d=e,i(20,d)})}]}function Wo(n){let r,i,a,o,s,l,c,u,t,d,h,m;return{c(){r=ee("div"),i=ee("div"),(a=ee("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=ne(),s=ee("slot"),ie(a,"class","FilterModalCloseBtn"),ie(a,"part","FilterModalCloseBtn"),ie(a,"role","button"),ie(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),ie(r,"class","FilterModalWindow"),ie(r,"id","FilterModal"),ie(r,"part","FilterModalWindow"),le(()=>n[15].call(r))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(i,o),X(i,s),n[14](r),u=R(r,n[15].bind(r)),d=!0,h||(m=re(a,"click",n[7]),h=!0)},p(e,t){n=e,(!d||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"class",l),(!d||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&ie(i,"part",c)},i(e){d||(le(()=>{(t=t||xe(r,fo,{transitionDuration:n[1]},!0)).run(1)}),d=!0)},o(e){(t=t||xe(r,fo,{transitionDuration:n[1]},!1)).run(0),d=!1},d(e){e&&Q(r),n[14](null),u(),e&&t&&t.end(),h=!1,m()}}}function Vo(n){let r,i,a=n[0]&&Wo(n);return{c(){r=ee("div"),a&&a.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&ye(a,1)):((a=Wo(e)).c(),ye(a,1),a.m(r,null)):a&&(ge(),ve(a,1,1,()=>{a=null}),fe())},i(e){i||(ye(a),i=!0)},o(e){ve(a),i=!1},d(e){e&&Q(r),a&&a.d(),n[16](null)}}}function Zo(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:m=""}=t,{sessioncheck:p="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))},w=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return Oe(()=>(window.addEventListener("message",v,!1),De(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,m=e.endpoint),"sessioncheck"in e&&n(13,p=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&u&&m&&"true"==p&&qr(m,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&&w(),2049&e.$$.dirty&&s&&h&&w()},[s,l,f,r,i,void 0,void 0,y,c,u,d,h,m,p,function(e){Re[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Re[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Yo,jo,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&&q(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 n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},Zo,Vo,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&q(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 Jo={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},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 Ko(e,t,n){const r=e.slice();return r[32]=t[n],r}function Xo(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x,C,S,F=n[6]("filters.filterModalTitle")+"",$=n[6]("filters.filterModalSubtitle")+"",M=n[6]("filters.filterApply")+"",k=n[0]&&Qo(n),_=n[3]&&ns(n);return{c(){r=ee("div"),i=ee("section"),a=ee("div"),o=ee("h4"),s=te(F),l=ne(),c=ee("h5"),u=te($),d=ne(),h=ee("section"),k&&k.c(),m=ne(),p=ee("section"),_&&_.c(),g=ne(),f=ee("div"),y=te(M),ie(o,"class","FilterHeaderTitle"),ie(o,"part","FilterHeaderTitle"),ie(c,"class","FilterHeaderSubtitle"),ie(c,"part","FilterHeaderSubtitle"),ie(a,"class","FilterHeaderDetails"),ie(a,"part","FilterHeaderDetails"),ie(i,"class","FilterHeaderSection"),ie(i,"part","FilterHeaderSection"),ie(h,"class","FilterContentSection"),ie(h,"part","FilterContentSection"),ie(f,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(f,"part",w="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),ie(p,"class","FilterFooterSection"),ie(p,"part","FilterFooterSection"),ie(r,"class",b="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),ie(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){q(e,r,t),X(r,i),X(i,a),X(a,o),X(o,s),X(a,l),X(a,c),X(c,u),X(r,d),X(r,h),k&&k.m(h,null),X(r,m),X(r,p),_&&_.m(p,null),X(p,g),X(p,f),X(f,y),C||(S=re(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&F!==(F=e[6]("filters.filterModalTitle")+"")&&ae(s,F),64&t[0]&&$!==($=e[6]("filters.filterModalSubtitle")+"")&&ae(u,$),e[0]?k?k.p(e,t):((k=Qo(e)).c(),k.m(h,null)):k&&(k.d(1),k=null),e[3]?_?_.p(e,t):((_=ns(e)).c(),_.m(p,g)):_&&(_.d(1),_=null),64&t[0]&&M!==(M=e[6]("filters.filterApply")+"")&&ae(y,M),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"class",v),4&t[0]&&w!==(w="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&ie(f,"part",w),2&t[0]&&b!==(b="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"class",b),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&ie(r,"part",x)},d(e){e&&Q(r),k&&k.d(),_&&_.d(),C=!1,S()}}}function qo(e){let n;return{c(){ie(n=ee("div"),"class","lds-dual-ring"),ie(n,"part","lds-dual-ring")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function Qo(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=ts(Ko(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);q(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=Ko(t,a,e);o[e]?o[e].p(r,n):(o[e]=ts(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){m(o,e),e&&Q(i)}}}function es(){let n;return{c(){(n=ee("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',ie(n,"class","FilterIconContainer"),ie(n,"part","FilterIconContainer")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ts(n){let r,i,a,o,s,l,c,u,d,h,m=n[32].isFilterSelected&&es();function p(){return n[17](n[32])}return{c(){r=ee("div"),i=ee("img"),s=ne(),m&&m.c(),l=ne(),ie(i,"class","VendorImage"),ie(i,"part","VendorImage"),K(i.src,a=n[32].image)||ie(i,"src",a),ie(i,"alt",o=n[32].name),ie(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),ie(r,"part",u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){q(e,r,t),X(r,i),X(r,s),m&&m.m(r,null),X(r,l),d||(h=re(r,"click",p),d=!0)},p(e,t){n=e,1&t[0]&&!K(i.src,a=n[32].image)&&ie(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&ie(i,"alt",o),n[32].isFilterSelected?m||((m=es()).c(),m.m(r,l)):m&&(m.d(1),m=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"class",c),1&t[0]&&u!==(u="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&ie(r,"part",u)},d(e){e&&Q(r),m&&m.d(),d=!1,h()}}}function ns(e){let n,r=e[3].length&&rs(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),q(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=rs(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Q(n)}}}function rs(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=ee("div"),i=te(s),ie(r,"class","ClearFiltersButton"),ie(r,"part","ClearFiltersButton")},m(e,t){q(e,r,t),X(r,i),a||(o=re(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ae(i,s)},d(e){e&&Q(r),a=!1,o()}}}function is(n){let r;function i(e){return e[4]?qo:Xo}let a=i(n),o=a(n);return{c(){r=ee("div"),o.c(),this.c=Z,ie(r,"part","CustomStylingContainer")},m(e,t){q(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&&Q(r),o.d(),n[20](null)}}}function as(e,t,i){let n;Ne(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=[],m=!1,p=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1,x=(w[f]&&(w={[f]:[]}),[]);var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),Ae.subscribe(e=>{null==e&&(_r.set(S),Ae.set(C))}),Object.keys(Jo).forEach(e=>{Ir(e,Jo[e])});const F=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(w={[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=`+He(p),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":k(),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,b=!1)}var r},$=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(2,g=!M(v,x))):(v.includes(t.id)&&i(3,v=v.filter(e=>e!==t.id)),i(2,g=!(!v.length&&M(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},M=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=M(v,x)),i(3,v=[]),null!==e&&((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[f]:v})):((e=JSON.parse(e))[f]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Oe(()=>(window.addEventListener("message",F,!1),De(p)&&i(1,m=!0),()=>{window.removeEventListener("message",F)})),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,m,g,v,b,r,n,$,k,_,a,o,s,l,c,u,d,e=>$(e),()=>k(),()=>_(),function(e){Re[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},as,is,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&q(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 os={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"}},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 ss(n){let r;function i(e){return e[5]?ds:e[10]?us:void 0}let a=i(n),o=a&&a(n);return{c(){r=ee("div"),o&&o.c(),ie(r,"class","CasinoIntegratedGamePage"),ie(r,"part","CasinoIntegratedGamePage")},m(e,t){q(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&&Q(r),o&&o.d(),n[66](null)}}}function ls(e){let n;return{c(){(n=ee("p")).textContent="500 Error - Internal Server Error.",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function cs(e){let n;return{c(){(n=ee("p")).textContent="Loading, please wait ...",ie(n,"class","SearchLoading"),ie(n,"part","SearchLoading")},m(e,t){q(e,n,t)},p:Z,d(e){e&&Q(n)}}}function us(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x,C,S,F,$,M,k,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function I(e){return e[16]?ms:hs}let G=I(n),L=G(n),T="true"==n[1]&&!n[16]&&ps();return{c(){r=ee("div"),(i=ee("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=ne(),o=ee("p"),s=ee("span"),l=te(n[3]),c=ne(),u=ee("div"),d=ne(),h=ee("div"),m=ee("div"),p=ee("iframe"),f=ne(),y=ee("div"),v=ee("div"),w=ee("button"),b=te(_),x=ne(),C=ee("button"),S=te(E),F=ne(),L.c(),$=ne(),T&&T.c(),ie(i,"class","backButton"),ie(i,"part","backButton"),ie(o,"class","Time"),ie(o,"part","Time"),ie(r,"class","GamePageIntegratedTopSection"),ie(r,"part","GamePageIntegratedTopSection"),ie(p,"title","Games"),ie(p,"class","GamesContainer"),ie(p,"part","GamesContainer"),ie(p,"aria-hidden","false"),K(p.src,g=n[9].launchUrl)||ie(p,"src",g),ie(w,"class","LoginButton"),ie(w,"part","LoginButton"),ie(C,"class","RegisterButton"),ie(C,"part","RegisterButton"),ie(v,"class","ButtonsContainer ButtonsContainerFunMode"),ie(v,"part","ButtonsContainer ButtonsContainerFunMode"),ie(y,"class","BottomGame"),ie(y,"part","BottomGame"),ie(m,"id","IframeGame"),ie(m,"part","IframeGame"),P(m,"width",n[16]?"100%":n[17]),P(m,"height",n[16]?"100%":n[18]),P(m,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),P(m,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),ie(h,"id","IframeContainer"),ie(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[57](o),X(r,c),X(r,u),q(e,d,t),q(e,h,t),X(h,m),X(m,p),n[58](p),X(m,f),X(m,y),X(y,v),X(v,w),X(w,b),X(v,x),X(v,C),X(C,S),X(y,F),L.m(y,null),n[63](y),n[64](m),X(h,$),T&&T.m(h,null),n[65](h),M||(k=[re(i,"click",n[56]),re(w,"click",n[59]),re(C,"click",n[60])],M=!0)},p(e,t){8&t[0]&&ae(l,e[3]),512&t[0]&&!K(p.src,g=e[9].launchUrl)&&ie(p,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ae(b,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ae(S,E),G===(G=I(e))&&L?L.p(e,t):(L.d(1),(L=G(e))&&(L.c(),L.m(y,null))),196608&t[0]&&P(m,"width",e[16]?"100%":e[17]),327680&t[0]&&P(m,"height",e[16]?"100%":e[18]),68096&t[0]&&P(m,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&P(m,"max-height",e[16]||!e[11]?"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=ps()).c(),T.m(h,null)),65536&t[0]&&B(h,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[57](null),e&&Q(d),e&&Q(h),n[58](null),L.d(),n[63](null),n[64](null),T&&T.d(),n[65](null),M=!1,J(k)}}}function ds(n){let r,i,a,o,s,l,c,u,d,h,m,p,g,f,y,v,w,b,x,C,S,F,$=n[22]("gamePage.deposit")+"",M="true"===n[0]&&gs(n);function k(e){return e[16]?ys:fs}let _=k(n),E=_(n),I="true"==n[1]&&!n[16]&&vs();return{c(){r=ee("div"),(i=ee("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=ne(),o=ee("p"),s=ee("span"),l=te(n[3]),c=ne(),u=ee("button"),d=te($),h=ne(),m=ee("div"),p=ee("div"),g=ee("iframe"),w=ne(),b=ee("div"),M&&M.c(),x=ne(),E.c(),C=ne(),I&&I.c(),ie(i,"class","backButton"),ie(i,"part","backButton"),ie(o,"class","Time"),ie(o,"part","Time"),ie(u,"class","DepositButton"),ie(u,"part","DepositButton"),ie(r,"class","GamePageIntegratedTopSection"),ie(r,"part","GamePageIntegratedTopSection"),ie(g,"title","Games"),ie(g,"id","IframeGame"),ie(g,"class","GamesContainer"),ie(g,"part","GamesContainer"),ie(g,"aria-hidden","false"),K(g.src,f=n[9].launchUrl)||ie(g,"src",f),ie(g,"width",y=n[13]+"px"),ie(g,"height",v=n[14]+"px"),ie(b,"class","BottomGame BottomGameLoggedin"),ie(b,"part","BottomGame BottomGameLoggedin"),ie(p,"id","IframeGame"),ie(p,"part","IframeGame"),P(p,"width",n[16]?"100%":n[17]),P(p,"height",n[16]?"100%":n[18]),P(p,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),P(p,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),ie(m,"id","IframeContainer"),ie(m,"part","IframeContainer"),B(m,"FullsScreenLayout",n[16])},m(e,t){q(e,r,t),X(r,i),X(r,a),X(r,o),X(o,s),X(s,l),n[47](o),X(r,c),X(r,u),X(u,d),q(e,h,t),q(e,m,t),X(m,p),X(p,g),n[49](g),X(p,w),X(p,b),M&&M.m(b,null),X(b,x),E.m(b,null),n[53](b),n[54](p),X(m,C),I&&I.m(m,null),n[55](m),S||(F=[re(i,"click",n[46]),re(u,"click",n[48])],S=!0)},p(e,t){8&t[0]&&ae(l,e[3]),4194304&t[0]&&$!==($=e[22]("gamePage.deposit")+"")&&ae(d,$),512&t[0]&&!K(g.src,f=e[9].launchUrl)&&ie(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&ie(g,"width",y),16384&t[0]&&v!==(v=e[14]+"px")&&ie(g,"height",v),"true"===e[0]?M?M.p(e,t):((M=gs(e)).c(),M.m(b,x)):M&&(M.d(1),M=null),_===(_=k(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(b,null))),196608&t[0]&&P(p,"width",e[16]?"100%":e[17]),327680&t[0]&&P(p,"height",e[16]?"100%":e[18]),66048&t[0]&&P(p,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&P(p,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?I&&(I.d(1),I=null):I||((I=vs()).c(),I.m(m,null)),65536&t[0]&&B(m,"FullsScreenLayout",e[16])},d(e){e&&Q(r),n[47](null),e&&Q(h),e&&Q(m),n[49](null),M&&M.d(),E.d(),n[53](null),n[54](null),I&&I.d(),n[55](null),S=!1,J(F)}}}function hs(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[62]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ms(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[61]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ps(){let n;return{c(){(n=ee("div")).innerHTML="<h3>Your banner here</h3>",ie(n,"class","BannerSection"),ie(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function gs(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=ee("div"),i=ee("button"),a=te(o),ie(i,"class",e="PanicButton "+("PC"!==He(n[23])?"PanicButtonMobile":"")),ie(i,"part",t="PanicButton "+("PC"!==He(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),ie(r,"class","PanicSection"),ie(r,"part","PanicSection")},m(e,t){q(e,r,t),X(r,i),X(i,a),n[50](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ae(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&Q(r),n[50](null)}}}function fs(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[52]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function ys(n){let r,i,a;return{c(){(r=ee("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>',ie(r,"class","FullscreenButton"),ie(r,"part","FullscreenButton")},m(e,t){q(e,r,t),i||(a=re(r,"click",n[51]),i=!0)},p:Z,d(e){e&&Q(r),i=!1,a()}}}function vs(){let n;return{c(){(n=ee("div")).innerHTML="<h3>Your banner here</h3>",ie(n,"class","BannerSection"),ie(n,"part","BannerSection")},m(e,t){q(e,n,t)},d(e){e&&Q(n)}}}function ws(e){let n;function r(e){return e[7]?cs:e[6]?ls:ss}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),q(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&&Q(n)}}}function bs(t,e,r){let R;Ne(t,Kr,e=>r(22,R=e));let A,n,i,a,D,o,s,l,c,u,d,h,H,N,m,p,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:v=""}=e,{userid:O=""}=e,{clientstyling:w=""}=e,{clientstylingurl:b=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:F=""}=e,{registerevent:$=""}=e,{depositevent:M=""}=e,{clockformat:k=""}=e,{haspanicbutton:U="false"}=e,{playforfun:_="true"}=e,{checksession:z="true"}=e,{integratedgameframe:j="false"}=e,{gamebanneractive:Y="false"}=e,{gameid:E=""}=e,I=!1,W=!1,V=!0,G=!1,L=0,Z=!1,J=!1,K=!0,T=!1,X=window.navigator.userAgent;var q,Q;({withLocale:q,translations:Q}={withLocale:"en",translations:{}}),Ae.subscribe(e=>{null==e&&(_r.set(Q),Ae.set(q))}),Object.keys(os).forEach(e=>{Ir(e,os[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,I=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,m.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,W=!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-p.clientHeight-g.clientHeight?(h=c-p.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=()=>{F&&(window.postMessage({type:F,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ie=()=>{$&&(window.postMessage({type:$,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},ae=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),S&&(window.location=S)};function P(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!T||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",P,!1),document.addEventListener("mozfullscreenchange",P,!1),document.addEventListener("fullscreenchange",P,!1),document.addEventListener("MSFullscreenChange",P,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(T?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,T=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,T=!0)))},oe=setInterval(()=>{r(3,A=k?vi().format(k):vi().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{L=0,D=setInterval(()=>{L+=1,r(8,G=!0),3<=L&&clearInterval(D)},1e3)},ce=e=>{L<3&&r(8,G=!1),clearInterval(D)};return Oe(()=>(window.addEventListener("resize",ne,!1),Co(X),()=>{r(8,G=!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,w=e.clientstyling),"clientstylingurl"in e&&r(34,b=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,F=e.loginevent),"registerevent"in e&&r(39,$=e.registerevent),"depositevent"in e&&r(40,M=e.depositevent),"clockformat"in e&&r(41,k=e.clockformat),"haspanicbutton"in e&&r(0,U=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,z=e.checksession),"integratedgameframe"in e&&r(44,j=e.integratedgameframe),"gamebanneractive"in e&&r(1,Y=e.gamebanneractive),"gameid"in e&&r(45,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,Ae.set(e),De(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"==z?qr(f,v).then(e=>{i=e.Guid,e.UserID,r(5,I=!0)},e=>{r(5,I=!1),console.error("err on session",e)}):i=v),4&t.$$.dirty[1]&&w){let e=document.createElement("style");e.innerHTML=w,m.appendChild(e)}if(8&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,m&&setTimeout(()=>{m.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))},[U,Y,a,A,n,I,W,V,G,o,J,K,s,l,c,u,T,H,N,m,p,g,R,X,re,ie,ae,B,se,f,y,v,O,w,b,x,C,S,F,$,M,k,_,z,j,E,()=>se(),function(e){Re[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ae(),function(e){Re[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){Re[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){Re[e?"unshift":"push"](()=>{p=e,r(20,p)})},function(e){Re[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){Re[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>se(),function(e){Re[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){Re[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>re(),()=>ie(),()=>B(),()=>B(),function(e){Re[e?"unshift":"push"](()=>{p=e,r(20,p)})},function(e){Re[e?"unshift":"push"](()=>{u=e,r(15,u)})},function(e){Re[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){Re[e?"unshift":"push"](()=>{m=e,r(19,m)})}]}function xs(e){let n,r,i,a,o,s,l,c,u,d,h,m,p,g="true"==e[19]&&Ss(e);return{c(){n=ee("div"),r=ee("div"),i=ee("div"),a=ne(),o=ee("div"),s=ne(),l=ee("casino-categories-slider"),c=ne(),u=ee("casino-page"),d=ne(),g&&g.c(),h=ne(),m=ee("casino-filter-modal"),p=ee("casino-filter-page"),ie(i,"class","HeaderPlaceholder"),ie(i,"part","HeaderPlaceholder"),P(i,"height",e[32]+"px"),ie(o,"class","ScrollTop"),ie(o,"part","ScrollTop"),x(l,"endpoint",e[25]),x(l,"datasource",e[26]),x(l,"lang",e[27]),x(l,"session",e[31]),x(l,"userid",e[1]),x(l,"sessioncheck","false"),x(l,"actionevent",e[16]),x(l,"mostplayed",e[10]),x(l,"mostplayedrounds",e[11]),x(l,"favorites",e[12]),x(l,"activecategory",e[0]),x(l,"clientstyling",e[2]),x(l,"clientstylingurl",e[3]),x(l,"containermaxwidth",e[14]),x(u,"session",e[31]),x(u,"userid",e[1]),x(u,"endpoint",e[25]),x(u,"datasource",e[26]),x(u,"lang",e[27]),x(u,"visiblegames",e[21]),x(u,"playrandomgame",e[20]),x(u,"activecategory",e[0]),x(u,"alternativesearch",e[13]),x(u,"favorites",e[12]),x(u,"mostplayedrounds",e[11]),x(u,"mostplayed",e[10]),x(u,"clientstyling",e[2]),x(u,"clientstylingurl",e[3]),x(u,"lobbyid",e[5]),x(u,"containermaxwidth",e[14]),x(u,"haspanicbutton",e[15]),x(u,"livecasino",e[17]),x(u,"currency",e[6]),x(u,"gamepagemodalurl",e[23]),x(u,"randombuttonicon",e[24]),x(p,"session",e[31]),x(p,"userid",e[1]),x(p,"endpoint",e[25]),x(p,"datasource",e[26]),x(p,"lang",e[27]),x(p,"clientstylingurl",e[3]),x(p,"clientstyling",e[2]),x(m,"clientstylingurl",e[3]),x(m,"session",e[31]),x(m,"userid",e[1]),x(m,"endpoint",e[25]),x(m,"datasource",e[26]),x(m,"lang",e[27]),x(m,"sessioncheck","false"),x(m,"clientstyling",e[2]),ie(r,"class","WidgetsSection"),ie(r,"part","WidgetsSection"),ie(n,"class","CasinoLobby"),ie(n,"part","CasinoLobby")},m(e,t){q(e,n,t),X(n,r),X(r,i),X(r,a),X(r,o),X(r,s),X(r,l),X(r,c),X(r,u),X(r,d),g&&g.m(r,null),X(r,h),X(r,m),X(m,p)},p(e,t){2&t[1]&&P(i,"height",e[32]+"px"),33554432&t[0]&&x(l,"endpoint",e[25]),67108864&t[0]&&x(l,"datasource",e[26]),134217728&t[0]&&x(l,"lang",e[27]),1&t[1]&&x(l,"session",e[31]),2&t[0]&&x(l,"userid",e[1]),65536&t[0]&&x(l,"actionevent",e[16]),1024&t[0]&&x(l,"mostplayed",e[10]),2048&t[0]&&x(l,"mostplayedrounds",e[11]),4096&t[0]&&x(l,"favorites",e[12]),1&t[0]&&x(l,"activecategory",e[0]),4&t[0]&&x(l,"clientstyling",e[2]),8&t[0]&&x(l,"clientstylingurl",e[3]),16384&t[0]&&x(l,"containermaxwidth",e[14]),1&t[1]&&x(u,"session",e[31]),2&t[0]&&x(u,"userid",e[1]),33554432&t[0]&&x(u,"endpoint",e[25]),67108864&t[0]&&x(u,"datasource",e[26]),134217728&t[0]&&x(u,"lang",e[27]),2097152&t[0]&&x(u,"visiblegames",e[21]),1048576&t[0]&&x(u,"playrandomgame",e[20]),1&t[0]&&x(u,"activecategory",e[0]),8192&t[0]&&x(u,"alternativesearch",e[13]),4096&t[0]&&x(u,"favorites",e[12]),2048&t[0]&&x(u,"mostplayedrounds",e[11]),1024&t[0]&&x(u,"mostplayed",e[10]),4&t[0]&&x(u,"clientstyling",e[2]),8&t[0]&&x(u,"clientstylingurl",e[3]),32&t[0]&&x(u,"lobbyid",e[5]),16384&t[0]&&x(u,"containermaxwidth",e[14]),32768&t[0]&&x(u,"haspanicbutton",e[15]),131072&t[0]&&x(u,"livecasino",e[17]),64&t[0]&&x(u,"currency",e[6]),8388608&t[0]&&x(u,"gamepagemodalurl",e[23]),16777216&t[0]&&x(u,"randombuttonicon",e[24]),"true"==e[19]?g?g.p(e,t):((g=Ss(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),1&t[1]&&x(p,"session",e[31]),2&t[0]&&x(p,"userid",e[1]),33554432&t[0]&&x(p,"endpoint",e[25]),67108864&t[0]&&x(p,"datasource",e[26]),134217728&t[0]&&x(p,"lang",e[27]),8&t[0]&&x(p,"clientstylingurl",e[3]),4&t[0]&&x(p,"clientstyling",e[2]),8&t[0]&&x(m,"clientstylingurl",e[3]),1&t[1]&&x(m,"session",e[31]),2&t[0]&&x(m,"userid",e[1]),33554432&t[0]&&x(m,"endpoint",e[25]),67108864&t[0]&&x(m,"datasource",e[26]),134217728&t[0]&&x(m,"lang",e[27]),4&t[0]&&x(m,"clientstyling",e[2])},d(e){e&&Q(n),g&&g.d()}}}function Cs(e){let n,r;return{c(){n=ee("p"),r=te(e[30]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){q(e,n,t),X(n,r)},p(e,t){1073741824&t[0]&&ae(r,e[30])},d(e){e&&Q(n)}}}function Ss(e){let n,r;return{c(){n=ee("casino-modal"),x(r=ee("casino-game-page"),"session",e[31]),x(r,"userid",e[1]),x(r,"endpoint",e[25]),x(r,"datasource",e[26]),x(r,"lang",e[27]),x(r,"loginevent",e[7]),x(r,"registerevent",e[8]),x(r,"depositevent",e[9]),x(r,"checksession","false"),x(r,"playforfun",e[18]),x(r,"favorites",e[12]),x(r,"clientstyling",e[2]),x(r,"clientstylingurl",e[3]),x(r,"clockformat",e[4]),x(r,"haspanicbutton",e[15]),x(r,"currency",e[6]),x(r,"integratedgameframe",e[22]),x(n,"session",e[31]),x(n,"userid",e[1]),x(n,"endpoint",e[25]),x(n,"datasource",e[26]),x(n,"lang",e[27]),x(n,"sessioncheck","false"),x(n,"clientstyling",e[2]),x(n,"clientstylingurl",e[3]),x(n,"gamepagemodalurl",e[23]),x(n,"haspanicbutton",e[15])},m(e,t){q(e,n,t),X(n,r)},p(e,t){1&t[1]&&x(r,"session",e[31]),2&t[0]&&x(r,"userid",e[1]),33554432&t[0]&&x(r,"endpoint",e[25]),67108864&t[0]&&x(r,"datasource",e[26]),134217728&t[0]&&x(r,"lang",e[27]),128&t[0]&&x(r,"loginevent",e[7]),256&t[0]&&x(r,"registerevent",e[8]),512&t[0]&&x(r,"depositevent",e[9]),262144&t[0]&&x(r,"playforfun",e[18]),4096&t[0]&&x(r,"favorites",e[12]),4&t[0]&&x(r,"clientstyling",e[2]),8&t[0]&&x(r,"clientstylingurl",e[3]),16&t[0]&&x(r,"clockformat",e[4]),32768&t[0]&&x(r,"haspanicbutton",e[15]),64&t[0]&&x(r,"currency",e[6]),4194304&t[0]&&x(r,"integratedgameframe",e[22]),1&t[1]&&x(n,"session",e[31]),2&t[0]&&x(n,"userid",e[1]),33554432&t[0]&&x(n,"endpoint",e[25]),67108864&t[0]&&x(n,"datasource",e[26]),134217728&t[0]&&x(n,"lang",e[27]),4&t[0]&&x(n,"clientstyling",e[2]),8&t[0]&&x(n,"clientstylingurl",e[3]),8388608&t[0]&&x(n,"gamepagemodalurl",e[23]),32768&t[0]&&x(n,"haspanicbutton",e[15])},d(e){e&&Q(n)}}}function Fs(n){let r,i,a;function o(e){return e[29]?Cs:xs}let s=o(n),l=s(n);return{c(){r=ee("div"),l.c(),this.c=Z,ie(r,"class",i=n[28]?"DisplayNone":""),ie(r,"part",a=n[28]?"DisplayNone":"")},m(e,t){q(e,r,t),l.m(r,null),n[44](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))),268435456&t[0]&&i!==(i=e[28]?"DisplayNone":"")&&ie(r,"class",i),268435456&t[0]&&a!==(a=e[28]?"DisplayNone":"")&&ie(r,"part",a)},i:Z,o:Z,d(e){e&&Q(r),l.d(),n[44](null)}}}function $s(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:m=""}=t,{clientstylingurl:p=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:$=""}=t,{favorites:M=""}=t,{desktopoffset:k="0"}=t,{mobileoffset:_="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:R=""}=t,{haspanicbutton:A="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:D="CategoryChange"}=t,{livecasino:H="false"}=t,{playforfun:N="true"}=t,{gamemodal:O="true"}=t,{playrandomgame:U="false"}=t,{visiblegames:z="10"}=t,{integratedgameframe:j="false"}=t,{gamepagemodalurl:Y="false"}=t,{randombuttonicon:W=""}=t,G=!1,L=!1,T="Loading, please wait ...",P="",V=window.navigator.userAgent,B=0,Z=!1;var J,K;({withLocale:J,translations:K}={withLocale:"en",translations:{}}),Ae.subscribe(e=>{null==e&&(_r.set(K),Ae.set(J))});const X=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(Z=e.data.scrollTop)&&(B||n(32,B="PC"===He(V)?parseInt(k):parseInt(_)),window.scrollTo({top:B}));break;case"UserSessionID":n(31,P=e.data.session),e.data.userID;break;case"CategoryChange":n(0,I=e.data.itemId)}};return Oe(()=>(window.addEventListener("message",X,!1),n(32,B="PC"===He(V)?parseInt(k):parseInt(_)),()=>{window.removeEventListener("message",X)})),e.$$set=e=>{"endpoint"in e&&n(34,s=e.endpoint),"datasource"in e&&n(35,l=e.datasource),"lang"in e&&n(36,c=e.lang),"session"in e&&n(37,u=e.session),"userid"in e&&n(1,d=e.userid),"opsession"in e&&n(38,h=e.opsession),"clientstyling"in e&&n(2,m=e.clientstyling),"clientstylingurl"in e&&n(3,p=e.clientstylingurl),"clockformat"in e&&n(4,g=e.clockformat),"lobbyid"in e&&n(5,f=e.lobbyid),"currency"in e&&n(6,y=e.currency),"loginurl"in e&&n(39,v=e.loginurl),"registerurl"in e&&n(40,w=e.registerurl),"depositurl"in e&&n(41,b=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,F=e.mostplayed),"mostplayedrounds"in e&&n(11,$=e.mostplayedrounds),"favorites"in e&&n(12,M=e.favorites),"desktopoffset"in e&&n(42,k=e.desktopoffset),"mobileoffset"in e&&n(43,_=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(0,I=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,U=e.playrandomgame),"visiblegames"in e&&n(21,z=e.visiblegames),"integratedgameframe"in e&&n(22,j=e.integratedgameframe),"gamepagemodalurl"in e&&n(23,Y=e.gamepagemodalurl),"randombuttonicon"in e&&n(24,W=e.randombuttonicon)},e.$$.update=()=>{if(32&e.$$.dirty[1]&&c&&Qr(c),2&e.$$.dirty[0]|72&e.$$.dirty[1]&&u&&d&&s&&qr(s,u).then(e=>{n(31,P=e.Guid),e.UserID},e=>{console.error("Error while checking the session - ",e)}),5120&e.$$.dirty[0]|56&e.$$.dirty[1]&&s&&l&&c&&F&&M&&(s||(n(30,T="Endpoint is missing! Please provide a valid endpointURL."),n(29,L=!0),console.error(T)),l||(n(30,T="Datasource is missing! Please provide a valid datasource."),n(29,L=!0),console.error(T)),(!c||c.length<2)&&(n(30,T="Language is missing! Please provide a valid language (alpha2code)"),n(29,L=!0),console.error(T)),Qr(c),n(25,r=s),n(26,i=l),n(27,a=c),n(29,L=!1)),128&e.$$.dirty[1]&&h&&n(31,P=h),4&e.$$.dirty[0]&&m){let e=document.createElement("style");e.innerHTML=m,o.appendChild(e)}if(8&e.$$.dirty[0]&&p){n(28,G=!0);let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(28,G=!1)},500))})}},[I,d,m,p,g,f,y,x,C,S,F,$,M,E,R,A,D,H,N,O,U,z,j,Y,W,r,i,a,G,L,T,P,B,o,s,l,c,u,h,v,w,b,k,_,function(e){Re[e?"unshift":"push"](()=>{o=e,n(33,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},bs,ws,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&&q(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 Ms extends n{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>",Se(this,{target:this.shadowRoot,props:D(this.attributes),customElement:!0},$s,Fs,t,{endpoint:34,datasource:35,lang:36,session:37,userid:1,opsession:38,clientstyling:2,clientstylingurl:3,clockformat:4,lobbyid:5,currency:6,loginurl:39,registerurl:40,depositurl:41,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:42,mobileoffset:43,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:0,actionevent:16,livecasino:17,playforfun:18,gamemodal:19,playrandomgame:20,visiblegames:21,integratedgameframe:22,gamepagemodalurl:23,randombuttonicon:24},null,[-1,-1]),e&&(e.target&&q(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","randombuttonicon"]}get endpoint(){return this.$$.ctx[34]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[35]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[36]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[37]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[38]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[4]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[5]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[6]}set currency(e){this.$$set({currency: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[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[42]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[43]}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[0]}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 randombuttonicon(){return this.$$.ctx[24]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Ms),Ms});
|
|
33
33
|
//# sourceMappingURL=casino-lobby.js.map
|