@everymatrix/casino-page-nd 1.39.3 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- ((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()})(this,function(){function G(){}function h(e){return e()}function g(){return Object.create(null)}function z(e){e.forEach(h)}function E(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let u;function ce(e,t){return(u=u||document.createElement("a")).href=t,e===u.href}function w(e,...t){if(null==e)return G;let n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function at(e,t,n){e.$$.on_destroy.push(w(t,n))}var $="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function de(e,t){e.appendChild(t)}function ue(e,t,n){e.insertBefore(t,n||null)}function me(e){e.parentNode&&e.parentNode.removeChild(e)}function B(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function he(e){return document.createElement(e)}function H(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ge(e){return document.createTextNode(e)}function pe(){return ge(" ")}function c(){return ge("")}function j(e,t,n,a){return e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function F(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function M(e,t){e.value=null==t?"":t}function _(e,t,n,a){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,a?"important":"")}function L(e,t,n){e.classList[n?"add":"remove"](t)}class T{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=H(t.nodeName):this.e=he(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(me)}}function a(e){var t,n={};for(t of e)n[t.name]=t.value;return n}let C;function k(e){C=e}function rt(e){(()=>{if(C)return C;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let S=[],et=[],P=[],I=[],R=Promise.resolve(),D=!1;function A(){D||(D=!0,R.then(m))}function Se(){return A(),R}function N(e){P.push(e)}let O=new Set,U=0;function m(){if(0===U){let e=C;do{try{for(;U<S.length;){let e=S[U];U++,k(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),z(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(N))}}catch(e){throw S.length=0,U=0,e}for(k(null),S.length=0,U=0;et.length;)et.pop()();for(let e=0;e<P.length;e+=1){var a=P[e];O.has(a)||(O.add(a),a())}}while(P.length=0,S.length);for(;I.length;)I.pop()();D=!1,O.clear(),k(e)}}let W=new Set;function r(a,t,e,n,r,i,o,s=[-1]){var l=C;k(a);let c=a.$$={fragment:null,ctx:[],props:i,update:G,not_equal:r,bound:g(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:g(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},d=(o&&o(c.root),!1);if(c.ctx=e?e(a,t.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=a).$$.dirty[0]&&(S.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,z(c.before_update),c.fragment=!!n&&n(c.ctx),t.target){if(t.hydrate){i=t.target;let e=Array.from(i.childNodes);c.fragment&&c.fragment.l(e),e.forEach(me)}else c.fragment&&c.fragment.c();t.intro&&(s=a.$$.fragment)&&s.i&&(W.delete(s),s.i(void 0));var u=a,o=t.customElement,{fragment:e,after_update:n}=u.$$;e&&e.m(t.target,t.anchor),o||N(()=>{var e=u.$$.on_mount.map(h).filter(E);u.$$.on_destroy?u.$$.on_destroy.push(...e):z(e),u.$$.on_mount=[]}),n.forEach(N),m()}k(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(h).filter(E);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var a=e.after_update;let t=[],n=[];P.forEach(e=>(-1===a.indexOf(e)?t:n).push(e)),n.forEach(e=>e()),P=t}z(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=G}$on(e,t){if(!E(t))return G;let 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 Y,V,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Z="URLSearchParams"in l,q="Symbol"in l&&"iterator"in Symbol,J="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),K="FormData"in l,X="ArrayBuffer"in l;function Q(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ee(e){return e="string"!=typeof e?String(e):e}function te(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return q&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ne(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ae(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function re(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function ie(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function oe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:J&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:K&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():X&&J&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ie(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):X&&(ArrayBuffer.prototype.isPrototypeOf(e)||V(e))?this._bodyArrayBuffer=ie(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},J&&(this.blob=function(){var e=ne(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return ne(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(J)return this.blob().then(re);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,a=ne(this);if(a)return a;if(this._bodyBlob)return a=this._bodyBlob,t=ae(e=new FileReader),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(a.type))?n[1]:"utf-8",e.readAsText(a,n),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a<t.length;a++)n[a]=String.fromCharCode(t[a]);return n.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},K&&(this.formData=function(){return this.text().then(ve)}),this.json=function(){return this.text().then(JSON.parse)},this}X&&(Y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],V=ArrayBuffer.isView||function(e){return e&&-1<Y.indexOf(Object.prototype.toString.call(e))}),d.prototype.append=function(e,t){e=Q(e),t=ee(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[Q(e)]},d.prototype.get=function(e){return e=Q(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(Q(e))},d.prototype.set=function(e,t){this.map[Q(e)]=ee(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),te(n)},d.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),te(t)},d.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),te(n)},q&&(d.prototype[Symbol.iterator]=d.prototype.entries);var se=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function le(e,t){if(!(this instanceof le))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,a=(t=t||{}).body;if(e instanceof le){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<se.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function 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 be(e,t){if(!(this instanceof be))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}le.prototype.clone=function(){return new le(this,{body:this._bodyInit})},oe.call(le.prototype),oe.call(be.prototype),be.prototype.clone=function(){return new be(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},be.error=function(){var e=new be(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var we=[301,302,303,307,308],xe=(be.redirect=function(e,t){if(-1===we.indexOf(t))throw new RangeError("Invalid status code");return new be(null,{status:t,headers:{location:e}})},l.DOMException);try{new xe}catch(G){(xe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),xe.prototype.constructor=xe}function $e(a,s){return new Promise(function(r,e){var i=new le(a,s);if(i.signal&&i.signal.aborted)return e(new xe("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,a,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",a=new d,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{a.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),a)},n=(0===i.url.indexOf("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){r(new be(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new xe("Aborted","AbortError"))},0)},o.open(i.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(J?o.responseType="blob":X&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof d||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(Q(e)),o.setRequestHeader(e,ee(s.headers[e]))}),i.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",t)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}function Mn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}$e.polyfill=!0,l.fetch||(l.fetch=$e,l.Headers=d,l.Request=le,l.Response=be),self.fetch.bind(self);var Ce=function(e,t){return(Ce=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 ke(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}Ce(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Fe(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&a>=e.length?void 0:e)&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _e(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,r,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(a=i.next()).done;)o.push(a.value)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}function Ge(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||((a=a||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function Ee(e){return"function"==typeof e}function Me(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 Le=Me(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 Te(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}Re.prototype.unsubscribe=function(){var e,t,n,a,r;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=Fe(i),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 i.remove(this);i=this.initialTeardown;if(Ee(i))try{i()}catch(e){r=e instanceof Le?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Fe(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{Ae(d)}catch(e){r=null!=r?r:[],e instanceof Le?r=Ge(Ge([],_e(r)),_e(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}if(r)throw new Le(r)}},Re.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ae(e);else{if(e instanceof Re){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Re.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Re.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Re.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Te(t,e)},Re.prototype.remove=function(e){var t=this._finalizers;t&&Te(t,e),e instanceof Re&&e._removeParent(this)},Re.EMPTY=((t=new Re).closed=!0,t);var Pe=Re,Ie=Pe.EMPTY;function Re(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function De(e){return e instanceof Pe||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function Ae(e){Ee(e)?e():e.unsubscribe()}var Ne=void 0,Oe=!1,Be=!1,He={setTimeout:function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var r=He.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ge([e,t],_e(n))):setTimeout.apply(void 0,Ge([e,t],_e(n)))},clearTimeout:function(e){var t=He.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function je(){}var ze=null;function Ue(e){if(Oe){var t=!ze;if(t&&(ze={errorThrown:!1,error:null}),e(),t){var t=ze,n=t.errorThrown;if(ze=null,n)throw t.error}}else e()}ke(Ze,We=Pe),Ze.create=function(e,t,n){return new Xe(e,t,n)},Ze.prototype.next=function(e){this.isStopped||this._next(e)},Ze.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ze.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ze.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,We.prototype.unsubscribe.call(this),this.destination=null)},Ze.prototype._next=function(e){this.destination.next(e)},Ze.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ze.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var We,Ye=Ze,Ve=Function.prototype.bind;function Ze(e){var t=We.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=st,t}function qe(e,t){return Ve.call(e,t)}it.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ot(e)}},it.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ot(e)}else ot(e)},it.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ot(e)}};var Je,Ke=it,Xe=(ke(Qe,Je=Ye),Qe);function Qe(e,t,n){var a=Je.call(this)||this,n=Ee(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:a&&Be?((t=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},{next:e.next&&qe(e.next,t),error:e.error&&qe(e.error,t),complete:e.complete&&qe(e.complete,t)}):e;return a.destination=new Ke(n),a}function it(e){this.partialObserver=e}function ot(e){var t=e;He.setTimeout(function(){throw t})}var st={closed:!0,next:je,error:function(e){throw e},complete:je},t="function"==typeof Symbol&&Symbol.observable||"@@observable";ct.prototype.lift=function(e){var t=new ct;return t.source=this,t.operator=e,t},ct.prototype.subscribe=function(e,t,n){var a,r=this,i=(a=e)&&a instanceof Ye||a&&Ee(a.next)&&Ee(a.error)&&Ee(a.complete)&&De(a)?e:new Xe(e,t,n);return Ue(function(){var e=r.operator,t=r.source;i.add(e?e.call(i,t):t?r._subscribe(i):r._trySubscribe(i))}),i},ct.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ct.prototype.forEach=function(a,e){var r=this;return new(e=dt(e))(function(e,t){var n=new Xe({next:function(e){try{a(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},ct.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},ct.prototype[t]=function(){return this},ct.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ct.prototype.toPromise=function(e){var a=this;return new(e=dt(e))(function(e,t){var n;a.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},ct.create=function(e){return new ct(e)};var lt=ct;function ct(e){e&&(this._subscribe=e)}function dt(e){return null!=(e=null!=e?e:Ne)?e:Promise}var ut,mt,ht,gt=Me(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=(ke(i,ht=lt),i.prototype.lift=function(e){var t=new pt(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new gt},i.prototype.next=function(r){var i=this;Ue(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=Fe(i.currentObservers),a=n.next();!a.done;a=n.next())a.value.next(r)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var n=this;Ue(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},i.prototype.complete=function(){var t=this;Ue(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),ht.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,a=this.isStopped,r=this.observers;return n||a?Ie:(this.currentObservers=null,r.push(e),new Pe(function(){t.currentObservers=null,Te(r,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,a=this.isStopped;t?e.error(n):a&&e.complete()},i.prototype.asObservable=function(){var e=new lt;return e.source=this,e},i.create=function(e,t){return new pt(e,t)},i),pt=(ke(bt,mt=t),bt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},bt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},bt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},bt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ie},bt),ft={now:function(){return(ft.delegate||Date).now()},delegate:void 0},yt=(ke(vt,ut=t),vt.prototype.next=function(e){var t=this,n=t.isStopped,a=t._buffer,r=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(a.push(e),r)||a.push(i.now()+t),this._trimBuffer(),ut.prototype.next.call(this,e)},vt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,a=this._buffer.slice(),r=0;r<a.length&&!e.closed;r+=n?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t},vt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,a=this._infiniteTimeWindow,r=(a?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!a){for(var i=t.now(),o=0,s=1;s<n.length&&n[s]<=i;s+=2)o=s;o&&n.splice(0,o+1)}},vt);function vt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ft);var a=ut.call(this)||this;return a._bufferSize=e,a._windowTime=t,a._timestampProvider=n,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=t===1/0,a._bufferSize=Math.max(1,e),a._windowTime=Math.max(1,t),a}function bt(e,t){var n=mt.call(this)||this;return n.destination=e,n.source=t,n}function i(){var e=ht.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let wt=[],xt={},$t=[];function Ct(a,r=G){let i,o=new Set;function s(e){if(n(a,e)&&(a=e,i)){let e=!$t.length;for(let e of o)e[1](),$t.push(e,a);if(e){for(let e=0;e<$t.length;e+=2)$t[e][0]($t[e+1]);$t.length=0}}}return{set:s,update:function(e){s(e(a))},subscribe:function(e,t=G){let n=[e,t];return o.add(n),1===o.size&&(i=r(s)||G),e(a),()=>{o.delete(n),0===o.size&&i&&(i(),i=null)}}}}function kt(e,s,t){let l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:Ct(t,t=>{let n=!1,a=[],r=0,i=G,o=()=>{var e;r||(i(),e=s(l?a[0]:a,t),d?t(e):i=E(e)?e:G)},e=c.map((e,t)=>w(e,e=>{a[t]=e,r&=~(1<<t),n&&o()},()=>{r|=1<<t}));return n=!0,o(),function(){z(e),i(),n=!1}}).subscribe}}function St(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Ft);var t}var Ft="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function _t(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Tt(Array.isArray(e)?[]:{},e,t):e}function Gt(e,t,n){return e.concat(t).map(function(e){return _t(e,n)})}function Et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Mt(e,t){try{return t in e}catch(e){return!1}}function Lt(a,r,i){var o={};return i.isMergeableObject(a)&&Et(a).forEach(function(e){o[e]=_t(a[e],i)}),Et(r).forEach(function(e){var t,n;(!Mt(t=a,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Mt(a,e)&&i.isMergeableObject(r[e])?o[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Tt)(a[e],r[e],i):o[e]=_t(r[e],i))}),o}function Tt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Gt,n.isMergeableObject=n.isMergeableObject||St,n.cloneUnlessOtherwiseSpecified=_t;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):Lt(e,t,n):_t(t,n)}Tt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Tt(e,t,n)},{});throw new Error("first argument should be an array")};var Pt=Tt,It=function(e,t){return(It=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 Rt(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}It(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p,y,Dt,f=function(){return(f=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function At(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||((a=a||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function Nt(e){return e.type===y.literal}function Ot(e){return e.type===y.number}function Bt(e){return e.type===y.date}function Ht(e){return e.type===y.time}function jt(e){return e.type===y.select}function zt(e){return e.type===y.plural}function Ut(e){return e.type===y.tag}function Wt(e){return e&&"object"==typeof e&&e.type===Dt.number}function Yt(e){return e&&"object"==typeof e&&e.type===Dt.dateTime}(t=p=p||{})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(t=y=y||{})[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",(t=Dt=Dt||{})[t.number=0]="number",t[t.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Vt=/(?:[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 Zt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Jt=/^(@+)?(\+|#+)?[rs]?$/g,Kt=/(\*)(0+)|(#+)(0+)|(0+)/g,Xt=/^(0+)$/;function Qt(e){var a={};return"r"===e[e.length-1]?a.roundingPriority="morePrecision":"s"===e[e.length-1]&&(a.roundingPriority="lessPrecision"),e.replace(Jt,function(e,t,n){return"string"!=typeof n?(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length):"+"===n?a.minimumSignificantDigits=t.length:"#"===t[0]?a.maximumSignificantDigits=t.length:(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),a}function en(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 tn(e){return en(e)||{}}function nn(e){for(var o={},t=0,n=e;t<n.length;t++){var a,r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=f(f(f({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return f(f({},e),tn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return f(f({},e),tn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Kt,function(e,t,n,a,r,i){if(t)o.minimumIntegerDigits=n.length;else{if(a&&r)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Xt.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if(qt.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(qt,function(e,t,n,a,r,i){return"*"===n?o.minimumFractionDigits=t.length:a&&"#"===a[0]?o.maximumFractionDigits=a.length:r&&i?(o.minimumFractionDigits=r.length,o.maximumFractionDigits=r.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=r.options[0];"w"===i?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=f(f({},o),Qt(i)))}else Jt.test(r.stem)?o=f(f({},o),Qt(r.stem)):((i=en(r.stem))&&(o=f(f({},o),i)),(a=(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)),!Xt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(r.stem))&&(o=f(f({},o),a)))}return o}var an={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 rn=new RegExp("^".concat(t.source,"*")),on=new RegExp("".concat(t.source,"*$"));function v(e,t){return{start:e,end:t}}var t=!!String.prototype.startsWith,sn=!!String.fromCodePoint,ln=!!Object.fromEntries,cn=!!String.prototype.codePointAt,dn=!!String.prototype.trimStart,un=!!String.prototype.trimEnd,mn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},hn=!0;try{hn="a"===(null==(Rn=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Rn[0])}catch(G){hn=!1}var gn,pn,fn=t?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},yn=sn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,a="",r=e.length,i=0;i<r;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");a+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return a},vn=ln?Object.fromEntries:function(e){for(var t={},n=0,a=e;n<a.length;n++){var r=a[n];t[r[0]]=r[1]}return t},bn=cn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,a=e.length;if(!(t<0||a<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===a||(a=e.charCodeAt(t+1))<56320||57343<a?n:a-56320+(n-55296<<10)+65536},wn=dn?function(e){return e.trimStart()}:function(e){return e.replace(rn,"")},xn=un?function(e){return e.trimEnd()}:function(e){return e.replace(on,"")};function $n(e,t){return new RegExp(e,t)}pn=hn?(gn=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return gn.lastIndex=t,null!=(t=gn.exec(e)[1])?t:""}):function(e,t){for(var n,a=[];;){var r=bn(e,t);if(void 0===r||Sn(r)||33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;a.push(r),t+=65536<=r?2:1}return yn.apply(void 0,a)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var a=[];!this.isEOF();){var r,i=this.char();if(123===i){if((r=this.parseArgument(e,n)).err)return r;a.push(r.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&kn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;a.push(r.val)}else{i=this.clonePosition();this.bump(),a.push({type:y.pound,location:v(i,this.clonePosition())})}}}return{val:a,err:null}},o.prototype.parseTag=function(e,t){var n,a=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(a,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!kn(this.char())?this.error(p.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),r!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(a,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,v(a,this.clonePosition()))):this.error(p.INVALID_TAG,v(a,this.clonePosition()))},o.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},o.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),a="";;){var r=this.tryParseQuote(t);if(r)a+=r;else{r=this.tryParseUnquoted(e,t);if(r)a+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;a+=r}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:a,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(kn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return yn.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),yn(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:a,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,a,n);default:return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=pn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,n,a){var r,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=xn(u.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(a)).err?c:(h=v(a,this.clonePosition()),l&&fn(null==l?void 0:l.style,"::",0)?(g=wn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(g,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:h,style:u.val},err:null}:0===g.length?this.error(p.EXPECT_DATE_TIME_SKELETON,h):(d=g,this.locale&&(d=((e,t)=>{for(var n="",a=0;a<e.length;a++){var r=e.charAt(a);if("j"===r){for(var i=0;a+1<e.length&&e.charAt(a+1)===r;)i++,a++;var o=1+(1&i),s=i<2?1:3+(i>>1),l=(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),(an[t||""]||an[n||""]||an["".concat(n,"-001")]||an["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===r?"H":r}return n})(g,this.locale)),m={type:Dt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},d.replace(Vt,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:h,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:h,style:null!=(g=null==l?void 0:l.style)?g:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),h=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=u.val}var g,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(a)).err?c:(g=v(a,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:vn(l.val),location:g},err:null}:{val:{type:y.plural,value:n,options:vn(l.val),offset:h,pluralType:"plural"===o?"cardinal":"ordinal",location:g},err:null});default:return this.error(p.INVALID_ARGUMENT_TYPE,v(i,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},o.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,a=e.split(Zt).filter(function(e){return 0<e.length});n<a.length;n++){var r=a[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var i=r[0],r=r.slice(1),o=0,s=r;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:r})}return t})(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Dt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?nn(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,a){for(var r=!1,i=[],o=new Set,s=a.value,l=a.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;i.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;r=!0,i=10*i+(o-48),this.bump()}a=v(a,this.clonePosition());return r?mn(i*=n)?{val:i,err:null}:this.error(t,a):this.error(e,a)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=bn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},o.prototype.bumpIf=function(e){if(fn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},o.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Sn(this.char());)this.bump()},o.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Cn=o;function o(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function kn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Sn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Fn(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Cn(e,t).parse();if(e.err)throw(n=SyntaxError(p[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,jt(e)||zt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Ot(e)&&Wt(e.style)||(Bt(e)||Ht(e))&&Yt(e.style)?delete e.style.location:Ut(e)&&n(e.children)})}(e.val),e.val}function _n(e,t){var n=t&&t.cache?t.cache:Dn,a=t&&t.serializer?t.serializer:Tn;return(t&&t.strategy?t.strategy:function(e,t){return Ln(e,this,1===e.length?Gn:En,t.cache.create(),t.serializer)})(e,{cache:n,serializer:a})}function Gn(e,t,n,a){var n=null==a||"number"==typeof a||"boolean"==typeof a?a:n(a),r=t.get(n);return void 0===r&&(r=e.call(this,a),t.set(n,r)),r}function En(e,t,n){var a=Array.prototype.slice.call(arguments,3),n=n(a),r=t.get(n);return void 0===r&&(r=e.apply(this,a),t.set(n,r)),r}function Ln(e,t,n,a,r){return n.bind(t,e,a,r)}var Tn=function(){return JSON.stringify(arguments)};function Pn(){this.cache=Object.create(null)}Pn.prototype.get=function(e){return this.cache[e]},Pn.prototype.set=function(e,t){this.cache[e]=t};var In,Rn,Dn={create:function(){return new Pn}},An={variadic:function(e,t){return Ln(e,this,En,t.cache.create(),t.serializer)},monadic:function(e,t){return Ln(e,this,Gn,t.cache.create(),t.serializer)}};(Rn=In=In||{}).MISSING_VALUE="MISSING_VALUE",Rn.INVALID_VALUE="INVALID_VALUE",Rn.MISSING_INTL_API="MISSING_INTL_API";Rt(qn,Hn=Error),qn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var b,Nn,On,Bn,Hn,jn=qn,zn=(Rt(Zn,Bn=jn),Zn),Un=(Rt(Vn,On=jn),Vn),Wn=(Rt(Yn,Nn=jn),Yn);function Yn(e,t){return Nn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),In.MISSING_VALUE,t)||this}function Vn(e,t,n){return On.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),In.INVALID_VALUE,n)||this}function Zn(e,t,n,a){return Bn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),In.INVALID_VALUE,a)||this}function qn(e,t,n){e=Hn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Jn(e,t,n,a,r,i,o){if(1===e.length&&Nt(e[0]))return[{type:b.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Nt(d))s.push({type:b.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&s.push({type:b.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(r&&u in r))throw new Wn(u,o);u=r[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?b.literal:b.object,value:u});else if(Bt(d)){var m="string"==typeof d.style?a.date[d.style]:Yt(d.style)?d.style.parsedOptions:void 0;s.push({type:b.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(Ht(d))m="string"==typeof d.style?a.time[d.style]:Yt(d.style)?d.style.parsedOptions:a.time.medium,s.push({type:b.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(Ot(d))(m="string"==typeof d.style?a.number[d.style]:Wt(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:b.literal,value:n.getNumberFormat(t,m).format(u)});else{if(Ut(d)){var h=d.children,g=d.value,p=r[g];if("function"!=typeof p)throw new Un(g,"function",o);g=p(Jn(h,t,n,a,r,i).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map(function(e){return{type:"string"==typeof e?b.literal:b.object,value:e}}))}if(jt(d)){if(!(f=d.options[u]||d.options.other))throw new zn(d.value,u,Object.keys(d.options),o);s.push.apply(s,Jn(f.value,t,n,a,r))}else if(zt(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new jn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',In.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[p]||d.options.other}if(!f)throw new zn(d.value,u,Object.keys(d.options),o);s.push.apply(s,Jn(f.value,t,n,a,r,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===b.literal&&t.type===b.literal?n.value+=t.value:e.push(t),e},[])}function Kn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(t=b=b||{})[t.literal=0]="literal",t[t.object=1]="object";Object.defineProperty(s,"defaultLocale",{get:function(){return s.memoizedDefaultLocale||(s.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),s.memoizedDefaultLocale},enumerable:!1,configurable:!0}),s.memoizedDefaultLocale=null,s.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])},s.__parse=Fn,s.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 Xn=s;function s(e,t,n,a){var r,i,o=this;if(void 0===t&&(t=s.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===b.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Jn(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=s.resolveLocale(t),"string"==typeof e){if(this.message=e,!s.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=s.__parse(e,{ignoreTag:null==a?void 0:a.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=s.formats,(i=n)?Object.keys(r).reduce(function(e,t){var n,a;return e[t]=(n=r[t],(a=i[t])?f(f(f({},n||{}),a||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),a[t]||{}),e},{})):n),e},f({},r)):r),this.formatters=a&&a.formatters||{getNumberFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,At([void 0],t,!1)))},{cache:Kn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:An.variadic}),getDateTimeFormat:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,At([void 0],t,!1)))},{cache:Kn(t.dateTime),strategy:An.variadic}),getPluralRules:_n(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,At([void 0],t,!1)))},{cache:Kn(t.pluralRules),strategy:An.variadic})}}let Qn={},ea=(e,t,n)=>n&&(t in Qn||(Qn[t]={}),e in Qn[t]||(Qn[t][e]=n),n),ta=(t,n)=>{if(null!=n){if(n in Qn&&t in Qn[n])return Qn[n][t];var a=xa(n);for(let e=0;e<a.length;e++){var r=((e,t)=>{if(!ra(e))return null;e=(e=>na[e]||null)(e);var a=t;if(null!=a){if(a in e)return e[a];var r=a.split(".");let n=e;for(let t=0;t<r.length;t++)if("object"==typeof n){if(0<t){let e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}})(a[e],t);if(r)return ea(t,n,r)}}},na,aa=Ct({});function ra(e){return e in na}function ia(t,...n){delete Qn[t],aa.update(e=>(e[t]=Pt.all([e[t]||{},...n]),e))}kt([aa],([e])=>Object.keys(e)),aa.subscribe(e=>na=e);let oa={};function sa(e){return oa[e]}function la(e){return null!=e&&xa(e).some(e=>null==(e=sa(e))?void 0:e.size)}function ca(a,e){return Promise.all(e.map(e=>{return t=a,n=e,oa[t].delete(n),0===oa[t].size&&delete oa[t],e().then(e=>e.default||e);var t,n})).then(e=>ia(a,...e))}let da={};let ua={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};let ma=Ct(!1);var ha=Object.defineProperty,sn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable,ya=(e,t,n)=>t in e?ha(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let va,ba=Ct(null);function wa(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function xa(e,t=ua.fallbackLocale){e=wa(e);return t?[...new Set([...e,...wa(t)])]:e}function $a(){return null!=va?va:void 0}ba.subscribe(e=>{va=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let tt=sn(((e,t)=>{for(var n in t=t||{})pa.call(t,n)&&ya(e,n,t[n]);if(ga)for(var n of ga(t))fa.call(t,n)&&ya(e,n,t[n]);return e})({},ba),ln({set:t=>{if(t&&(e=>{if(null!=e){var t=xa(e);for(let e=0;e<t.length;e++){var n=t[e];if(ra(n))return n}}})(t)&&la(t)){var n=ua.loadingDelay;let e;return"undefined"!=typeof window&&null!=$a()&&n?e=window.setTimeout(()=>ma.set(!0),n):ma.set(!0),function e(t){var n;return la(t)?(n=xa(t).map(e=>{var t=sa(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),da[t]=Promise.all(n.map(([e,t])=>ca(e,t))).then(()=>{if(la(t))return e(t);delete da[t]}),da[t]):t in da?da[t]:Promise.resolve()}(t).then(()=>{ba.set(t)}).finally(()=>{clearTimeout(e),ma.set(!1)})}return ba.set(t)}}));var cn=n=>{let a=Object.create(null);return e=>{var t=JSON.stringify(e);return t in a?a[t]:a[t]=n(e)}},Ca=Object.defineProperty,ka=Object.getOwnPropertySymbols,Sa=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable,_a=(e,t,n)=>t in e?Ca(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ga=(e,t)=>{for(var n in t=t||{})Sa.call(t,n)&&_a(e,n,t[n]);if(ka)for(var n of ka(t))Fa.call(t,n)&&_a(e,n,t[n]);return e},Ea=(e,t)=>{var n={};for(a in e)Sa.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&ka)for(var a of ka(e))t.indexOf(a)<0&&Fa.call(e,a)&&(n[a]=e[a]);return n};let Ma=(e,t)=>{var n=ua.formats;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},La=cn(e=>{var{locale:t,format:n}=e,e=Ea(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Ma("number",n)),new Intl.NumberFormat(t,e)}),Ta=cn(e=>{var{locale:t,format:n}=e,e=Ea(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Ma("date",n):0===Object.keys(e).length&&(e=Ma("date","short")),new Intl.DateTimeFormat(t,e)}),Pa=cn(e=>{var{locale:t,format:n}=e,e=Ea(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Ma("time",n):0===Object.keys(e).length&&(e=Ma("time","short")),new Intl.DateTimeFormat(t,e)}),Ia=cn((e,t=$a())=>new Xn(e,t,ua.formats,{ignoreTag:ua.ignoreTag})),Ra=kt([tt,aa],()=>(e,t={})=>{let n,a,r,i,o=t;"object"==typeof e&&(e=(o=e).id);var{values:s,locale:l=$a(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let d=ta(e,l);if(d){if("string"!=typeof d)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),d}else d=null!=(i=null!=(r=null==(a=(n=ua).handleMissingMessage)?void 0:a.call(n,{locale:l,id:e,defaultValue:c}))?r:c)?i:e;if(!s)return d;let u=d;try{u=Ia(d,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u}),nt=(kt([tt],()=>(e,t)=>((e={})=>{var{locale:t=$a()}=e,e=Ea(e,["locale"]);return Pa(Ga({locale:t},e))})(t).format(e)),kt([tt],()=>(e,t)=>((e={})=>{var{locale:t=$a()}=e,e=Ea(e,["locale"]);return Ta(Ga({locale:t},e))})(t).format(e)),kt([tt],()=>(e,t)=>((e={})=>{var{locale:t=$a()}=e,e=Ea(e,["locale"]);return La(Ga({locale:t},e))})(t).format(e)),kt([tt,aa],()=>(e,t=$a())=>ta(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==wt.indexOf(e)&&(t=new yt(t),xt[e]=t,wt.push(e)),xt[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))),Da=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Aa(e,t){ia(e,t)}let Na={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar"}};function Oa(e,t){ia(e,t)}let Ba={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};ja=Ha={path:void 0,exports:{},require:function(e,t){return Mn(null==t&&Ha.path)}},Ha.exports,ja.exports=(()=>{var D;function g(){return D.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function s(e){return void 0===e}function O(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function B(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],a=e.length,r=0;r<a;++r)n.push(t(e[r],r));return n}function j(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,a){return Tt(e,t,n,a,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function z(e){var t,n,a=e._d&&!isNaN(e._d.getTime());return a&&(t=f(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||(t.meridiem,n)),e._strict)&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function U(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1},Y=g.momentProperties=[],V=!1;function Z(e,t){var n,a,r,i=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<i)for(n=0;n<i;n++)s(r=t[a=Y[n]])||(e[a]=r);return e}function q(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,g.updateOffset(this),V=!1)}function l(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function J(e){!1===g.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return j(function(){if(null!=g.deprecationHandler&&g.deprecationHandler(null,i),s){for(var e,t,n=[],a=arguments.length,r=0;r<a;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}J(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=g.deprecationHandler&&g.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,a=j({},e);for(n in t)p(t,n)&&(A(e[n])&&A(t[n])?(a[n]={},j(a[n],e[n]),j(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)p(e,n)&&!p(t,n)&&A(e[n])&&(a[n]=j({},a[n]));return a}function ee(e){null!=e&&this.set(e)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function i(e,t,n){var a=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-a.length)).toString().substr(1)+a}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ie={};function a(e,t,n,a){var r="string"==typeof a?function(){return this[a]()}:a;e&&(ie[e]=r),t&&(ie[t[0]]=function(){return i(r.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||(a=>{for(var e,r=a.match(ne),t=0,i=r.length;t<i;t++)ie[r[t]]?r[t]=ie[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(r[n])?r[n].call(e,a):r[n];return t}})(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(ae.lastIndex=0;0<=n&&ae.test(e);)e=e.replace(ae,a),ae.lastIndex=0,--n;return e}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,a={};for(n in e)p(e,n)&&(t=u(n))&&(a[t]=e[n]);return a}var de={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},ue=/\d/,t=/\d\d/,me=/\d{3}/,he=/\d{4}/,ge=/[+-]?\d{6}/,n=/\d\d?/,pe=/\d\d\d\d?/,fe=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,ve=/\d{1,4}/,be=/[+-]?\d{1,6}/,we=/\d+/,xe=/[+-]?\d+/,$e=/Z|[+-]\d\d:?\d\d/gi,Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,r=/[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,m=/^[1-9]\d?/,h=/^([1-9]\d|\d)/;function y(e,n,a){Se[e]=d(n)?n:function(e,t){return e&&a?a:n}}function ke(e,t){return p(Se,e)?Se[e](t._strict,t._locale):new RegExp(v(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,r){return t||n||a||r})))}function v(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?b(e):t}var Se={},Fe={};function x(e,n){var t,a,r=n;for("string"==typeof e&&(e=[e]),O(n)&&(r=function(e,t){t[n]=w(e)}),a=e.length,t=0;t<a;t++)Fe[e[t]]=r}function _e(e,r){x(e,function(e,t,n,a){n._w=n._w||{},r(e,n._w,n,a)})}function Ge(e){return e%4==0&&e%100!=0||e%400==0}var $=0,C=1,k=2,S=3,F=4,_=5,Ee=6,Me=7,Le=8;function Te(e){return Ge(e)?366:365}a("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),a(0,["YY",2],0,function(){return this.year()%100}),a(0,["YYYY",4],0,"year"),a(0,["YYYYY",5],0,"year"),a(0,["YYYYYY",6,!0],0,"year"),y("Y",xe),y("YY",n,t),y("YYYY",ve,he),y("YYYYY",be,ge),y("YYYYYY",be,ge),x(["YYYYY","YYYYYY"],$),x("YYYY",function(e,t){t[$]=2===e.length?g.parseTwoDigitYear(e):w(e)}),x("YY",function(e,t){t[$]=g.parseTwoDigitYear(e)}),x("Y",function(e,t){t[$]=parseInt(e,10)}),g.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var G,Pe=Ie("FullYear",!0);function Ie(t,n){return function(e){return null!=e?(De(this,t,e),g.updateOffset(this,n),this):Re(this,t)}}function Re(e,t){if(!e.isValid())return NaN;var n=e._d,a=e._isUTC;switch(t){case"Milliseconds":return a?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return a?n.getUTCSeconds():n.getSeconds();case"Minutes":return a?n.getUTCMinutes():n.getMinutes();case"Hours":return a?n.getUTCHours():n.getHours();case"Date":return a?n.getUTCDate():n.getDate();case"Day":return a?n.getUTCDay():n.getDay();case"Month":return a?n.getUTCMonth():n.getMonth();case"FullYear":return a?n.getUTCFullYear():n.getFullYear();default:return NaN}}function De(e,t,n){var a,r,i;if(e.isValid()&&!isNaN(n)){switch(a=e._d,r=e._isUTC,t){case"Milliseconds":return r?a.setUTCMilliseconds(n):a.setMilliseconds(n);case"Seconds":return r?a.setUTCSeconds(n):a.setSeconds(n);case"Minutes":return r?a.setUTCMinutes(n):a.setMinutes(n);case"Hours":return r?a.setUTCHours(n):a.setHours(n);case"Date":return r?a.setUTCDate(n):a.setDate(n);case"FullYear":break;default:return}t=n,i=e.month(),e=29!==(e=e.date())||1!==i||Ge(t)?e:28,r?a.setUTCFullYear(t,i,e):a.setFullYear(t,i,e)}}function Ae(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?Ge(e)?29:28:31-n%7%2)}G=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},a("M",["MM",2],"Mo",function(){return this.month()+1}),a("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),a("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",n,m),y("MM",n,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[C]=w(e)-1}),x(["MMM","MMMM"],function(e,t,n,a){a=n._locale.monthsParse(e,a,n._strict);null!=a?t[C]=a:f(n).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Oe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He=r,je=r;function ze(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!O(t=e.localeData().monthsParse(t)))return;var n=(n=e.date())<29?n:Math.min(n,Ae(e.year(),t));e._isUTC?e._d.setUTCMonth(t,n):e._d.setMonth(t,n)}}function Ue(e){return null!=e?(ze(this,e),g.updateOffset(this,!0),this):Re(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n,a=[],r=[],i=[],o=0;o<12;o++)n=c([2e3,o]),t=v(this.monthsShort(n,"")),n=v(this.months(n,"")),a.push(t),r.push(n),i.push(n),i.push(t);a.sort(e),r.sort(e),i.sort(e),this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(e,t,n,a,r,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,a,r,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,a,r,i,o),s}function Ve(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 Ze(e,t,n){n=7+t-n;return-(7+Ve(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,a,r){var i,t=1+7*(t-1)+(7+n-a)%7+Ze(e,a,r),n=t<=0?Te(i=e-1)+t:t>Te(e)?(i=e+1,t-Te(e)):(i=e,t);return{year:i,dayOfYear:n}}function Je(e,t,n){var a,r,i=Ze(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?a=i+E(r=e.year()-1,t,n):i>E(e.year(),t,n)?(a=i-E(e.year(),t,n),r=e.year()+1):(r=e.year(),a=i),{week:a,year:r}}function E(e,t,n){var a=Ze(e,t,n),t=Ze(e+1,t,n);return(Te(e)-a+t)/7}function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}a("w",["ww",2],"wo","week"),a("W",["WW",2],"Wo","isoWeek"),y("w",n,m),y("ww",n,t),y("W",n,m),y("WW",n,t),_e(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=w(e)}),a("d",0,"do","day"),a("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),a("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),a("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),a("e",0,0,"weekday"),a("E",0,0,"isoWeekday"),y("d",n),y("e",n),y("E",n),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),_e(["dd","ddd","dddd"],function(e,t,n,a){a=n._locale.weekdaysParse(e,a,n._strict);null!=a?t.d=a:f(n).invalidWeekday=e}),_e(["d","e","E"],function(e,t,n,a){t[a]=w(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=r,nt=r,at=r;function rt(){function e(e,t){return t.length-e.length}for(var t,n,a,r=[],i=[],o=[],s=[],l=0;l<7;l++)a=c([2e3,1]).day(l),t=v(this.weekdaysMin(a,"")),n=v(this.weekdaysShort(a,"")),a=v(this.weekdays(a,"")),r.push(t),i.push(n),o.push(a),s.push(t),s.push(n),s.push(a);r.sort(e),i.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("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){a(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}a("H",["HH",2],0,"hour"),a("h",["hh",2],0,it),a("k",["kk",2],0,function(){return this.hours()||24}),a("hmm",0,0,function(){return""+it.apply(this)+i(this.minutes(),2)}),a("hmmss",0,0,function(){return""+it.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),a("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),a("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),ot("a",!0),ot("A",!1),y("a",st),y("A",st),y("H",n,h),y("h",n,m),y("k",n,m),y("HH",n,t),y("hh",n,t),y("kk",n,t),y("hmm",pe),y("hmmss",fe),y("Hmm",pe),y("Hmmss",fe),x(["H","HH"],S),x(["k","kk"],function(e,t,n){e=w(e);t[S]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[S]=w(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var a=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a,2)),t[_]=w(e.substr(r)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var a=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a))}),x("Hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a,2)),t[_]=w(e.substr(r))}),r=Ie("Hours",!0);var lt,ct={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:Ne,monthsShort:Oe,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},M={},dt={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function mt(e){for(var t,n,a,r,i=0;i<e.length;){for(t=(r=ut(e[i]).split("-")).length,n=(n=ut(e[i+1]))?n.split("-"):null;0<t;){if(a=ht(r.slice(0,t).join("-")))return a;if(n&&n.length>=t&&((e,t)=>{for(var n=Math.min(e.length,t.length),a=0;a<n;a+=1)if(e[a]!==t[a])return a;return n})(r,n)>=t-1)break;t--}i++}return lt}function ht(t){var e,n;if(void 0===M[t]&&ja&&ja.exports&&(n=t)&&n.match("^[^/\\\\]*$"))try{e=lt._abbr,Mn(),gt(e)}catch(e){M[t]=null}return M[t]}function gt(e,t){return e&&((t=s(t)?L(e):pt(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function pt(e,t){if(null===t)return delete M[e],null;var n,a=ct;if(t.abbr=e,null!=M[e])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=M[e]._config;else if(null!=t.parentLocale)if(null!=M[t.parentLocale])a=M[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;a=n._config}return M[e]=new ee(Q(a,t)),dt[e]&&dt[e].forEach(function(e){pt(e.name,e.config)}),gt(e),M[e]}function L(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!o(e)){if(t=ht(e))return t;e=[e]}return mt(e)}function ft(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[C]<0||11<t[C]?C:t[k]<1||t[k]>Ae(t[$],t[C])?k:t[S]<0||24<t[S]||24===t[S]&&(0!==t[F]||0!==t[_]||0!==t[Ee])?S:t[F]<0||59<t[F]?F:t[_]<0||59<t[_]?_:t[Ee]<0||999<t[Ee]?Ee:-1,f(e)._overflowDayOfYear&&(t<$||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Me),f(e)._overflowWeekday&&-1===t&&(t=Le),f(e).overflow=t),e}var 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=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,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]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$t=/^\/?Date\((-?\d+)/i,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}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,a,r,i,o,s=e._i,l=yt.exec(s)||vt.exec(s),s=wt.length,c=xt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(wt[t][1].exec(l[1])){r=wt[t][0],a=!1!==wt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(xt[t][1].exec(l[3])){i=(l[2]||" ")+xt[t][0];break}if(null==i)return e._isValid=!1}if(!a&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=r+(i||"")+(o||""),Mt(e)}else e._isValid=!1}function Ft(e,t,n,a,r,i){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),Oe.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return i&&e.push(parseInt(i,10)),e}function _t(e){var t,n,a,r,i=Ct.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=Ft(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],a=t,r=e,n&&Qe.indexOf(n)!==new Date(a[0],a[1],a[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=i[8],a=i[9],r=i[10],n?kt[n]:a?0:((n=parseInt(r,10))-(a=n%100))/100*60+a),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Gt(e,t,n){return null!=e?e:null!=t?t:n}function Et(e){var t,n,a,r,i,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(g.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[k]&&null==e._a[C]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,a=Gt(u.GG,d._a[$],Je(T(),1,4).year),r=Gt(u.W,1),((i=Gt(u.E,1))<1||7<i)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Je(T(),o,s),a=Gt(u.gg,d._a[$],c.year),r=Gt(u.w,c.week),null!=u.d?((i=u.d)<0||6<i)&&(l=!0):null!=u.e?(i=u.e+o,(u.e<0||6<u.e)&&(l=!0)):i=o),r<1||r>E(a,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(a,r,i,o,s),d._a[$]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Gt(e._a[$],n[$]),(e._dayOfYear>Te(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ve(u,0,e._dayOfYear),e._a[C]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[S]&&0===e._a[F]&&0===e._a[_]&&0===e._a[Ee]&&(e._nextDay=!0,e._a[S]=0),e._d=(e._useUTC?Ve:Ye).apply(null,m),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[S]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(f(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==g.ISO_8601)if(e._f!==g.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,a,r=""+e._i,i=r.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)a=n[l],(t=(r.match(ke(a,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),o+=t.length),ie[a]?(t?f(e).empty=!1:f(e).unusedTokens.push(a),u=a,h=e,null!=(m=t)&&p(Fe,u)&&Fe[u](m,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(a);f(e).charsLeftOver=i-o,0<r.length&&f(e).unusedInput.push(r),e._a[S]<=12&&!0===f(e).bigHour&&0<e._a[S]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[S]=(i=e._locale,c=e._a[S],null==(d=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,d):null!=i.isPM?((i=i.isPM(d))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[$]=e._locale.erasConvertYear(d,e._a[$])),Et(e),ft(e)}else _t(e);else St(e);var c,d,u,m,h}function Lt(e){var t,n=e._i,a=e._f;{var r,i;return(e._locale=e._locale||L(e._l),null===n||void 0===a&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new q(ft(n)):(B(n)?e._d=n:o(a)?(e=>{var t,n,a,r,i,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)i=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Mt(t),z(t)&&(o=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,s?i<a&&(a=i,n=t):(null==a||i<a||o)&&(a=i,n=t,o)&&(s=!0);j(e,n||t)})(e):a?Mt(e):s(a=(n=e)._i)?n._d=new Date(g.now()):B(a)?n._d=new Date(a.valueOf()):"string"==typeof a?(r=n,null===(i=$t.exec(r._i))?(St(r),!1===r._isValid&&(delete r._isValid,_t(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:g.createFromInputFallback(r))):r._d=new Date(+i[1])):o(a)?(n._a=H(a.slice(0),function(e){return parseInt(e,10)}),Et(n)):A(a)?(r=n)._d||(t=void 0===(i=ce(r._i)).day?i.date:i.day,r._a=H([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Et(r)):O(a)?n._d=new Date(a):g.createFromInputFallback(n),z(e)||(e._d=null),e))}}function Tt(e,t,n,a,r){var i={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(A(e)&&N(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=r,i._l=n,i._i=e,i._f=t,i._strict=a,(r=new q(ft(Lt(r=i))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function T(e,t,n,a){return Tt(e,t,n,a,!1)}function Pt(e,t){var n,a;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return T();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}g.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),g.ISO_8601=function(){},g.RFC_2822=function(){},pe=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:U()}),fe=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:U()});var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,a=e.month||0,r=e.week||e.isoWeek||0,i=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=(e=>{var t,n,a=!1,r=It.length;for(t in e)if(p(e,t)&&(-1===G.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[It[n]]){if(a)return!1;parseFloat(e[It[n]])!==w(e[It[n]])&&(a=!0)}return!0})(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*r,this._months=+a+3*n+12*t,this._data={},this._locale=L(),this._bubble()}function Dt(e){return e instanceof Rt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,n){a(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+i(~~(e/60),2)+n+i(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),y("Z",Ce),y("ZZ",Ce),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(Ce,e)});var Ot=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ot)||["-",0,0])[1]+w(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||B(e)?e:T(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),g.updateOffset(t,!1),t):T(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}g.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,a,r=e;return Dt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:O(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:w(t[k])*n,h:w(t[S])*n,m:w(t[F])*n,s:w(t[_])*n,ms:w(At(1e3*t[Ee]))*n}):(t=Wt.exec(e))?(n="-"===t[1]?-1:1,r={y:Yt(t[2],n),M:Yt(t[3],n),w:Yt(t[4],n),d:Yt(t[5],n),h:Yt(t[6],n),m:Yt(t[7],n),s:Yt(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=T(r.from),n=T(r.to),t=t.isValid()&&n.isValid()?(n=Ht(n,t),t.isBefore(n)?a=Vt(t,n):((a=Vt(n,t)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),a=new Rt(r),Dt(e)&&p(e,"_locale")&&(a._locale=e._locale),Dt(e)&&p(e,"_isValid")&&(a._isValid=e._isValid),a}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(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 Zt(a,r){return function(e,t){var n;return null===t||isNaN(+t)||(X(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,P(e,t),a),this}}function qt(e,t,n,a){var r=t._milliseconds,i=At(t._days),t=At(t._months);e.isValid()&&(a=null==a||a,t&&ze(e,Re(e,"Month")+t*n),i&&De(e,"Date",Re(e,"Date")+i*n),r&&e._d.setTime(e._d.valueOf()+r*n),a)&&g.updateOffset(e,i||t)}function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||B(e)||Jt(e)||O(e)||(n=o(t=e),a=!1,n&&(a=0===t.filter(function(e){return!O(e)&&Jt(t)}).length),n&&a)||(e=>{var t,n,a=A(e)&&!N(e),r=!1,i=["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=i.length;for(t=0;t<o;t+=1)n=i[t],r=r||p(e,n);return a&&r})(e)||null==e;var t,n,a}function Xt(e,t){var n,a;return e.date()<t.date()?-Xt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(a=e.clone().add(n,"months"))<0?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(1+n,"months")-a)))||0}function Qt(e){return void 0===e?this._locale._abbr:(null!=(e=L(e))&&(this._locale=e),this)}function en(){return this._locale}P.fn=Rt.prototype,P.invalid=function(){return P(NaN)},Ne=Zt(1,"add"),Xe=Zt(-1,"subtract"),g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",et=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)});var tn=126227808e5;function nn(e,t){return(e%t+t)%t}function an(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-tn:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-tn:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e,t,n,a=[],r=[],i=[],o=[],s=this.eras(),l=0,c=s.length;l<c;++l)e=v(s[l].name),t=v(s[l].abbr),n=v(s[l].narrow),r.push(e),a.push(t),i.push(n),o.push(e),o.push(t),o.push(n);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ln(e,t){a(0,[e,e.length],0,t)}function cn(e,t,n,a,r){var i;return null==e?Je(this,a,r).year:(t>(i=E(e,a,r))&&(t=i),function(e,t,n,a,r){e=qe(e,t,n,a,r),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,a,r))}a("N",0,0,"eraAbbr"),a("NN",0,0,"eraAbbr"),a("NNN",0,0,"eraAbbr"),a("NNNN",0,0,"eraName"),a("NNNNN",0,0,"eraNarrow"),a("y",["y",1],"yo","eraYear"),a("y",["yy",2],0,"eraYear"),a("y",["yyy",3],0,"eraYear"),a("y",["yyyy",4],0,"eraYear"),y("N",on),y("NN",on),y("NNN",on),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,a){a=n._locale.erasParse(e,a,n._strict);a?f(n).era=a:f(n).invalidEra=e}),y("y",we),y("yy",we),y("yyy",we),y("yyyy",we),y("yo",function(e,t){return t._eraYearOrdinalRegex||we}),x(["y","yy","yyy","yyyy"],$),x(["yo"],function(e,t,n,a){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[$]=n._locale.eraYearOrdinalParse(e,r):t[$]=parseInt(e,10)}),a(0,["gg",2],0,function(){return this.weekYear()%100}),a(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),y("G",xe),y("g",xe),y("GG",n,t),y("gg",n,t),y("GGGG",ve,he),y("gggg",ve,he),y("GGGGG",be,ge),y("ggggg",be,ge),_e(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=w(e)}),_e(["gg","GG"],function(e,t,n,a){t[a]=g.parseTwoDigitYear(e)}),a("Q",0,"Qo","quarter"),y("Q",ue),x("Q",function(e,t){t[C]=3*(w(e)-1)}),a("D",["DD",2],"Do","date"),y("D",n,m),y("DD",n,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],k),x("Do",function(e,t){t[k]=w(e.match(n)[0])}),ve=Ie("Date",!0),a("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",me),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),a("m",["mm",2],0,"minute"),y("m",n,h),y("mm",n,t),x(["m","mm"],F),he=Ie("Minutes",!1),a("s",["ss",2],0,"second"),y("s",n,h),y("ss",n,t),x(["s","ss"],_);var dn,be=Ie("Seconds",!1);for(a("S",0,0,function(){return~~(this.millisecond()/100)}),a(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),a(0,["SSS",3],0,"millisecond"),a(0,["SSSS",4],0,function(){return 10*this.millisecond()}),a(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),a(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),a(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),a(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),a(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,ue),y("SS",ye,t),y("SSS",ye,me),dn="SSSS";dn.length<=9;dn+="S")y(dn,we);function un(e,t){t[Ee]=w(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")x(dn,un);function mn(e){return e}function hn(e,t,n,a){var r=L(),a=c().set(a,t);return r[n](a,e)}function gn(e,t,n){if(O(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var a=[],r=0;r<12;r++)a[r]=hn(e,r,n,"month");return a}function pn(e,t,n,a){t=("boolean"==typeof e||(n=t=e,e=!1),O(t)&&(n=t,t=void 0),t||"");var r,i=L(),o=e?i._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,a,"day");for(r=0;r<7;r++)s[r]=hn(t,(r+o)%7,a,"day");return s}ge=Ie("Milliseconds",!1),a("z",0,0,"zoneAbbr"),a("zz",0,0,"zoneName"),(m=q.prototype).add=Ne,m.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=A(e)&&!N(e),n=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<a.length;r+=1)n=n||p(e,a[r]);return t&&n})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||T(),n=Ht(e,this).startOf("day"),n=g.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,T(e)))},m.clone=function(){return new q(this)},m.diff=function(e,t,n){var a,r,i;if(!this.isValid())return NaN;if(!(a=Ht(e,this)).isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=Xt(this,a)/12;break;case"month":i=Xt(this,a);break;case"quarter":i=Xt(this,a)/3;break;case"second":i=(this-a)/1e3;break;case"minute":i=(this-a)/6e4;break;case"hour":i=(this-a)/36e5;break;case"day":i=(this-a-r)/864e5;break;case"week":i=(this-a-r)/6048e5;break;default:i=this-a}return n?i:b(i)},m.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:an,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-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}this._d.setTime(t),g.updateOffset(this,!0)}return this},m.format=function(e){return e=e||(this.isUtc()?g.defaultFormatUtc:g.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},m.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()},m.fromNow=function(e){return this.from(T(),e)},m.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()},m.toNow=function(e){return this.to(T(),e)},m.get=function(e){return d(this[e=u(e)])?this[e]():this},m.invalidAt=function(){return f(this).overflow},m.isAfter=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},m.isBefore=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},m.isBetween=function(e,t,n,a){return e=l(e)?e:T(e),t=l(t)?t:T(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(a=a||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))},m.isSame=function(e,t){var e=l(e)?e:T(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},m.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},m.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},m.isValid=function(){return z(this)},m.lang=et,m.locale=Qt,m.localeData=en,m.max=fe,m.min=pe,m.parsingFlags=function(){return j({},f(this))},m.set=function(e,t){if("object"==typeof e)for(var n=(e=>{var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n})(e=ce(e)),a=n.length,r=0;r<a;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},m.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:an,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-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}this._d.setTime(t),g.updateOffset(this,!0)}return this},m.subtract=Xe,m.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},m.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()}},m.toDate=function(){return new Date(this.valueOf())},m.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},m.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(m[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},m.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},m.eraName=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},m.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},m.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},m.eraYear=function(){for(var e,t,n=this.localeData().eras(),a=0,r=n.length;a<r;++a)if(e=n[a].since<=n[a].until?1:-1,t=this.clone().startOf("day").valueOf(),n[a].since<=t&&t<=n[a].until||n[a].until<=t&&t<=n[a].since)return(this.year()-g(n[a].since).year())*e+n[a].offset;return this.year()},m.year=Pe,m.isLeapYear=function(){return Ge(this.year())},m.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},m.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},m.quarter=m.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},m.month=Ue,m.daysInMonth=function(){return Ae(this.year(),this.month())},m.week=m.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},m.isoWeek=m.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},m.weeksInYear=function(){var e=this.localeData()._week;return E(this.year(),e.dow,e.doy)},m.weeksInWeekYear=function(){var e=this.localeData()._week;return E(this.weekYear(),e.dow,e.doy)},m.isoWeeksInYear=function(){return E(this.year(),1,4)},m.isoWeeksInISOWeekYear=function(){return E(this.isoWeekYear(),1,4)},m.date=ve,m.day=m.days=function(e){var t,n,a;return this.isValid()?(t=Re(this,"Day"),null!=e?(n=e,a=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=a.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},m.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},m.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},m.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")},m.hour=m.hours=r,m.minute=m.minutes=he,m.second=m.seconds=be,m.millisecond=m.milliseconds=ge,m.utcOffset=function(e,t,n){var a,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:jt(this);if("string"==typeof e){if(null===(e=Bt(Ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=jt(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?qt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this},m.utc=function(e){return this.utcOffset(0,e)},m.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},m.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt($e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},m.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?T(e).utcOffset():0,(this.utcOffset()-e)%60==0)},m.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},m.isLocal=function(){return!!this.isValid()&&!this._isUTC},m.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},m.isUtc=zt,m.isUTC=zt,m.zoneAbbr=function(){return this._isUTC?"UTC":""},m.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},m.dates=e("dates accessor is deprecated. Use date instead.",ve),m.months=e("months accessor is deprecated. Use month instead",Ue),m.years=e("years accessor is deprecated. Use year instead",Pe),m.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()}),m.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=Lt(t))._a?(e=(t._isUTC?c:T)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,n)=>{for(var a=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0,o=0;o<a;o++)(n&&e[o]!==t[o]||!n&&w(e[o])!==w(t[o]))&&i++;return i+r})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(h=ee.prototype).calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},h.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])},h.invalidDate=function(){return this._invalidDate},h.ordinal=function(e){return this._ordinal.replace("%d",e)},h.preparse=mn,h.postformat=mn,h.relativeTime=function(e,t,n,a){var r=this._relativeTime[n];return d(r)?r(e,t,n,a):r.replace(/%d/i,e)},h.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},h.set=function(e){var t,n;for(n in e)p(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},h.eras=function(e,t){for(var n,a=this._eras||L("en")._eras,r=0,i=a.length;r<i;++r)switch("string"==typeof a[r].since&&(n=g(a[r].since).startOf("day"),a[r].since=n.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=g(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf()}return a},h.erasParse=function(e,t,n){var a,r,i,o,s,l=this.eras();for(e=e.toUpperCase(),a=0,r=l.length;a<r;++a)if(i=l[a].name.toUpperCase(),o=l[a].abbr.toUpperCase(),s=l[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[a];break;case"NNNN":if(i===e)return l[a];break;case"NNNNN":if(s===e)return l[a]}else if(0<=[i,o,s].indexOf(e))return l[a]},h.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?g(e.since).year():g(e.since).year()+(t-e.offset)*n},h.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},h.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},h.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},h.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Be).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},h.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Be.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},h.monthsParse=function(e,t,n){var a,r;if(this._monthsParseExact)return function(e,t,n){var a,r,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)i=c([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=G.call(this._shortMonthsParse,e))?r:null:-1!==(r=G.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=G.call(this._shortMonthsParse,e))||-1!==(r=G.call(this._longMonthsParse,e))?r:null:-1!==(r=G.call(this._longMonthsParse,e))||-1!==(r=G.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=c([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}},h.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},h.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},h.week=function(e){return Je(e,this._week.dow,this._week.doy).week},h.firstDayOfYear=function(){return this._week.doy},h.firstDayOfWeek=function(){return this._week.dow},h.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},h.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},h.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},h.weekdaysParse=function(e,t,n){var a,r;if(this._weekdaysParseExact)return function(e,t,n){var a,r,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)i=c([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=G.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=G.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=G.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=G.call(this._weekdaysParse,e))||-1!==(r=G.call(this._shortWeekdaysParse,e))||-1!==(r=G.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=G.call(this._shortWeekdaysParse,e))||-1!==(r=G.call(this._weekdaysParse,e))||-1!==(r=G.call(this._minWeekdaysParse,e))?r:null:-1!==(r=G.call(this._minWeekdaysParse,e))||-1!==(r=G.call(this._weekdaysParse,e))||-1!==(r=G.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=c([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}},h.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},h.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},h.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=at),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},h.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},h.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},gt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),g.lang=e("moment.lang is deprecated. Use moment.locale instead.",gt),g.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var I=Math.abs;function fn(e,t,n,a){t=P(t,n);return e._milliseconds+=a*t._milliseconds,e._days+=a*t._days,e._months+=a*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=wn("ms"),t=wn("s"),ye=wn("m"),me=wn("h"),Ne=wn("d"),fe=wn("w"),pe=wn("M"),Xe=wn("Q"),r=wn("y"),he=ue;var be=xn("milliseconds"),ge=xn("seconds"),ve=xn("minutes"),Pe=xn("hours"),h=xn("days"),$n=xn("months"),Cn=xn("years"),kn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Fn(e,t,n,a){var r=P(e).abs(),i=kn(r.as("s")),o=kn(r.as("m")),s=kn(r.as("h")),l=kn(r.as("d")),c=kn(r.as("M")),d=kn(r.as("w")),r=kn(r.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||(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(i=(i=null!=n.w?i||(d<=1?["w"]:d<n.w&&["ww",d]):i)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,i[3]=0<+e,i[4]=a,function(e,t,n,a,r){return r.relativeTime(t||1,!!n,e,a)}.apply(null,i)}var _n=Math.abs;function Gn(e){return(0<e)-(e<0)||+e}function En(){var e,t,n,a,r,i,o,s,l,c,d;return this.isValid()?(s=_n(this._milliseconds)/1e3,l=_n(this._days),c=_n(this._months),(d=this.asSeconds())?(e=b(s/60),t=b(e/60),s%=60,e%=60,n=b(c/12),c%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Gn(this._months)!==Gn(d)?"-":"",i=Gn(this._days)!==Gn(d)?"-":"",o=Gn(this._milliseconds)!==Gn(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+a+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Rt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=I(this._milliseconds),this._days=I(this._days),this._months=I(this._months),e.milliseconds=I(e.milliseconds),e.seconds=I(e.seconds),e.minutes=I(e.minutes),e.hours=I(e.hours),e.months=I(e.months),e.years=I(e.years),this},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+a/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=ue,R.asSeconds=t,R.asMinutes=ye,R.asHours=me,R.asDays=Ne,R.asWeeks=fe,R.asMonths=pe,R.asQuarters=Xe,R.asYears=r,R.valueOf=he,R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,a=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=t=0),a.milliseconds=e%1e3,e=b(e/1e3),a.seconds=e%60,e=b(e/60),a.minutes=e%60,e=b(e/60),a.hours=e%24,t+=b(e/24),n+=e=b(vn(t)),t-=yn(bn(e)),e=b(n/12),n%=12,a.days=t,a.months=n,a.years=e,this},R.clone=function(){return P(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=be,R.seconds=ge,R.minutes=ve,R.hours=Pe,R.days=h,R.weeks=function(){return b(this.days()/7)},R.months=$n,R.years=Cn,R.humanize=function(e,t){var n,a;return this.isValid()?(n=!1,a=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(a=Object.assign({},Sn,t),null!=t.s)&&null==t.ss&&(a.ss=t.s-1),t=Fn(this,!n,a,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=En,R.toString=En,R.toJSON=En,R.locale=Qt,R.localeData=en,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),R.lang=et,a("X",0,0,"unix"),a("x",0,0,"valueOf"),y("x",xe),y("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(w(e))}),g.version="2.30.1",D=T,g.fn=m,g.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},g.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=c,g.unix=function(e){return T(1e3*e)},g.months=function(e,t){return gn(e,t,"months")},g.isDate=B,g.locale=gt,g.invalid=U,g.duration=P,g.isMoment=l,g.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},g.parseZone=function(){return T.apply(null,arguments).parseZone()},g.localeData=L,g.isDuration=Dt,g.monthsShort=function(e,t){return gn(e,t,"monthsShort")},g.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},g.defineLocale=pt,g.updateLocale=function(e,t){var n,a;return null!=t?(a=ct,null!=M[e]&&null!=M[e].parentLocale?M[e].set(Q(M[e]._config,t)):(t=Q(a=null!=(n=ht(e))?n._config:a,t),null==n&&(t.abbr=e),(a=new ee(t)).parentLocale=M[e],M[e]=a),gt(e)):null!=M[e]&&(null!=M[e].parentLocale?(M[e]=M[e].parentLocale,e===gt()&&gt(e)):null!=M[e]&&delete M[e]),M[e]},g.locales=function(){return te(M)},g.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},g.normalizeUnits=u,g.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},g.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},g.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},g.prototype=m,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g})();var Ha,ja,za=Ha.exports;function Ua(e,t){ia(e,t)}let Wa={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Ya={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 Va(e,t,n){e=e.slice();return e[104]=t[n],e[106]=n,e}function Za(e,t,n){e=e.slice();return e[101]=t[n],e}function qa(n){let a,r,i,o,s,l,e=!nt(n[36]),c=n[35]("playNow")+"",d=e&&(()=>{let n,a,r,i,o,s;return{c(){n=H("svg"),a=H("g"),r=H("g"),i=H("path"),o=H("path"),s=H("path"),fe(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),fe(i,"stroke","none"),fe(o,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),fe(o,"stroke","none"),fe(o,"fill","#fff"),fe(r,"id","Ellipse_664_copy"),fe(r,"data-name","Ellipse 664 copy"),fe(r,"transform","translate(26 13)"),fe(r,"fill","rgba(249,165,2,0)"),fe(s,"id","Rounded_Rectangle_683"),fe(s,"data-name","Rounded Rectangle 683"),fe(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),fe(s,"transform","translate(-1102 -885)"),fe(s,"fill","#fff"),fe(a,"id","Group_5260"),fe(a,"data-name","Group 5260"),fe(a,"transform","translate(-26 -13)"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"width","28"),fe(n,"height","28"),fe(n,"viewBox","0 0 28 28")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(r,i),de(r,o),de(a,s)},d(e){e&&me(n)}}})();return{c(){a=he("button"),d&&d.c(),r=pe(),i=he("span"),o=ge(c),fe(a,"class","GameInfoBtn")},m(e,t){ue(e,a,t),d&&d.m(a,null),de(a,r),de(a,i),de(i,o),s||(l=j(a,"click",n[63]),s=!0)},p(e,t){16&t[1]&&c!==(c=e[35]("playNow")+"")&&ye(o,c)},d(e){e&&me(a),d&&d.d(),s=!1,l()}}}function Ja(e){let n,a,r=e[35]("new")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&r!==(r=e[35]("new")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ka(e){let n,a;return{c(){n=he("span"),a=ge(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function Xa(e){let n,a,r=!e[22]&&e[20]&&e[21]&&Qa(e);function i(e){return e[22]&&e[19]&&e[19]===pr?tr:e[22]&&e[19]&&e[19]===fr?er:void 0}let o=i(e),s=o&&o(e);return{c(){r&&r.c(),n=pe(),s&&s.c(),a=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){!e[22]&&e[20]&&e[21]?r?r.p(e,t):((r=Qa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){r&&r.d(e),e&&me(n),s&&s.d(e),e&&me(a)}}}function Qa(e){let n,a,r,i,o,s,l,c,d,u,m=e[35]("opens")+"",h=za.utc(e[20]).local().format(e[21])+"",g=e[41](e[34])+"",p=e[40](e[26],e[27],e[25])+"";return{c(){n=he("div"),a=he("div"),r=ge(m),i=pe(),o=he("span"),s=ge(h),l=pe(),c=new T(!1),d=pe(),u=new T(!1),fe(a,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(a,o),de(o,s),de(n,l),c.m(g,n),de(n,d),u.m(p,n)},p(e,t){16&t[1]&&m!==(m=e[35]("opens")+"")&&ye(r,m),3145728&t[0]&&h!==(h=za.utc(e[20]).local().format(e[21])+"")&&ye(s,h),8&t[1]&&g!==(g=e[41](e[34])+"")&&c.p(g),234881024&t[0]&&p!==(p=e[40](e[26],e[27],e[25])+"")&&u.p(p)},d(e){e&&me(n)}}}function er(n){let r,i,a,o,s,l,c=n[41](n[34])+"",d=n[40](n[26],n[27],n[25])+"",u=new Array(vr),m=[];for(let e=0;e<u.length;e+=1)m[e]=ir(Va(n,u,e));return{c(){r=he("div"),i=he("div");for(let e=0;e<m.length;e+=1)m[e].c();a=pe(),o=new T(!1),s=pe(),l=new T(!1),fe(i,"class","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30])},m(e,t){ue(e,r,t),de(r,i);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);n[64](i),de(r,a),o.m(c,r),de(r,s),l.m(d,r)},p(n,a){if(536887296&a[0]|2049&a[1]){let t;for(u=new Array(vr),t=0;t<u.length;t+=1){let e=Va(n,u,t);m[t]?m[t].p(e,a):(m[t]=ir(e),m[t].c(),m[t].m(i,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=u.length}8&a[1]&&c!==(c=n[41](n[34])+"")&&o.p(c),234881024&a[0]&&d!==(d=n[40](n[26],n[27],n[25])+"")&&l.p(d),1073741824&a[0]&&fe(r,"class",n[30])},d(e){e&&me(r),B(m,e),n[64](null)}}}function tr(e){let n,a,r,i,o,s,l=e[41](e[34])+"",c=e[40](e[26],e[27],e[25])+"";function d(e){return e[32]?sr:or}let u=d(e),m=u(e);return{c(){n=he("div"),a=he("div"),m.c(),r=pe(),i=new T(!1),o=pe(),s=new T(!1),fe(a,"class","LiveIcons"),i.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,a),m.m(a,null),de(n,r),i.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(a,null))),8&t[1]&&l!==(l=e[41](e[34])+"")&&i.p(l),234881024&t[0]&&c!==(c=e[40](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function nr(e){let n;function a(e){return e[29]?rr:ar}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function ar(e){let n,a,r=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"";return{c(){n=new T(!1),a=c(),n.a=a},m(e,t){n.m(r,e,t),ue(e,a,t)},p(e,t){16384&t[0]|1&t[1]&&r!==(r=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"")&&n.p(r)},d(e){e&&me(a),e&&n.d()}}}function rr(e){let n,a,r,i,o,s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"",l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"";return{c(){n=he("div"),a=new T(!1),r=pe(),i=new T(!1),o=pe(),a.a=r,i.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),a.m(s,n),de(n,r),i.m(l,n),de(n,o)},p(e,t){16384&t[0]|1&t[1]&&s!==(s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"")&&a.p(s),16384&t[0]|1&t[1]&&l!==(l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"")&&i.p(l)},d(e){e&&me(n)}}}function ir(e){let n,a=e[14]&&e[14][e[106]]&&nr(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[106]]?a?a.p(e,t):((a=nr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function or(t){let r,i=t[24],o=[];for(let e=0;e<i.length;e+=1)o[e]=lr(Za(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(285212672&n[0]|256&n[1]){let e;for(i=t[24],e=0;e<i.length;e+=1){var a=Za(t,i,e);o[e]?o[e].p(a,n):(o[e]=lr(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function sr(e){let n,a,r=e[35]("full")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&r!==(r=e[35]("full")+"")&&ye(a,r)},d(e){e&&me(n)}}}function lr(e){let n,a,r,i,o,s;return{c(){n=he("span"),a=H("svg"),r=H("path"),i=H("path"),o=pe(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"width","13"),fe(a,"height","14"),fe(a,"viewBox","0 0 13 14"),fe(n,"class",s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function cr(e){let n;return{c(){(n=he("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function dr(e){let n,a,r;function i(e){return e[0]&&e[16]&&e[2]?mr:!e[0]&&e[16]?ur:void 0}let o=i(e),s=o&&o(e);return{c(){n=he("div"),a=he("span"),r=pe(),s&&s.c(),fe(a,"class","GameInfoVendor"),_(a,"background-image","url("+e[5]+")"),fe(n,"class","GameTopContainer")},m(e,t){ue(e,n,t),de(n,a),de(n,r),s&&s.m(n,null)},p(e,t){32&t[0]&&_(a,"background-image","url("+e[5]+")"),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),s&&s.d()}}}function ur(n){let a,r,i;return{c(){(a=he("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),r||(i=j(a,"click",n[66]),r=!0)},p:G,d(e){e&&me(a),r=!1,i()}}}function mr(n){let a,r,i;return{c(){(a=he("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),r||(i=j(a,"click",n[65]),r=!0)},p:G,d(e){e&&me(a),r=!1,i()}}}function hr(e){let n,a;return{c(){n=he("p"),a=ge(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[0]&&ye(a,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function gr(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,t,y,v,b,w=n[1]&&qa(n),x=n[7]&&Ja(n),$=n[8]&&Ka(n),C=n[13]&&Xa(n);function k(e){return(t=null==t?!nt(e[36]):t)?dr:e[0]&&e[16]&&e[2]?cr:void 0}let S=k(n),F=S&&S(n),_="true"===n[10]&&hr(n);return{c(){a=he("div"),r=he("div"),i=he("img"),l=pe(),c=he("div"),d=he("div"),w&&w.c(),u=pe(),m=he("div"),h=he("div"),x&&x.c(),g=pe(),$&&$.c(),p=pe(),C&&C.c(),f=pe(),F&&F.c(),v=pe(),_&&_.c(),this.c=G,ce(i.src,o=n[3])||fe(i,"src",o),fe(i,"class",s=`GameBg GameBg-${n[9]} `+(n[17]?"Loaded":"")),fe(i,"alt","Game thumbnail"),fe(i,"loading","lazy"),fe(d,"class","GameInfo"),fe(c,"class","GameInfoWrapper"),fe(h,"class","GameExtraInfo"),fe(m,"class","GameExtraInfoContainer"),fe(r,"class",y="GameInnerContainer "+(n[13]&&!n[22]&&n[23].value||n[13]&&n[32]?"GameInnerContainerUnavailable":"")),fe(a,"class",b=`GameContainer ${n[33]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),L(a,"WithGameName",n[10])},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[62](i),de(r,l),de(r,c),de(c,d),w&&w.m(d,null),de(r,u),de(r,m),de(m,h),x&&x.m(h,null),de(h,g),$&&$.m(h,null),de(h,p),C&&C.m(h,null),de(m,f),F&&F.m(m,null),de(a,v),_&&_.m(a,null),n[67](a)},p(e,t){8&t[0]&&!ce(i.src,o=e[3])&&fe(i,"src",o),131584&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[17]?"Loaded":""))&&fe(i,"class",s),e[1]?w?w.p(e,t):((w=qa(e)).c(),w.m(d,null)):w&&(w.d(1),w=null),e[7]?x?x.p(e,t):((x=Ja(e)).c(),x.m(h,g)):x&&(x.d(1),x=null),e[8]?$?$.p(e,t):(($=Ka(e)).c(),$.m(h,p)):$&&($.d(1),$=null),e[13]?C?C.p(e,t):((C=Xa(e)).c(),C.m(h,null)):C&&(C.d(1),C=null),S===(S=k(e))&&F?F.p(e,t):(F&&F.d(1),(F=S&&S(e))&&(F.c(),F.m(m,null))),12591104&t[0]|2&t[1]&&y!==(y="GameInnerContainer "+(e[13]&&!e[22]&&e[23].value||e[13]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(r,"class",y),"true"===e[10]?_?_.p(e,t):((_=hr(e)).c(),_.m(a,null)):_&&(_.d(1),_=null),2048&t[0]|4&t[1]&&b!==(b=`GameContainer ${e[33]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(a,"class",b),3072&t[0]|4&t[1]&&L(a,"WithGameName",e[10])},i:G,o:G,d(e){e&&me(a),n[62](null),w&&w.d(),x&&x.d(),$&&$.d(),C&&C.d(),F&&F.d(),_&&_.d(),n[67](null)}}}let pr="blackjack",fr="roulette",yr="doubleballroulette",vr=5;function br(a,e,o){let D;at(a,Ra,e=>o(35,D=e));let A,r,i,s,t,N,O,l,c,B,H,j,d,z,U,W,u,Y,V,Z,m,q,h,J,K,{session:X=""}=e,{userid:g=""}=e,{lang:p="en"}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:v=""}=e,{favorites:Q=""}=e,{gamethumbnail:ee=""}=e,{gamename:te=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:b=""}=e,{gameid:w=""}=e,{gameisnew:ne=""}=e,{gametag:ae=""}=e,{gamefunmode:x=!1}=e,{gamefavorite:$=!1}=e,{gamecellsize:re=""}=e,{showfavoredcategory:C=!1}=e,{showgamename:ie=""}=e,{currency:k=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:F=""}=e,{categoryid:_=""}=e,{livelobbyendpoint:G=""}=e,{connectlive:E=""}=e,{visibilityconnect:M=""}=e,{integratedgameframedesktop:L="false"}=e,{integratedgameframemobile:T="false"}=e,{casinogamesgridslider:oe="false"}=e,se=!1,le=!1,P=window.navigator.userAgent,ce="HH:mm",de,ue=[],me="EUR",I="",he=[pr],ge=[fr,yr],pe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},fe={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},ye=(Object.keys(Wa).forEach(e=>{Ua(e,Wa[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+w||C||o(0,$=!0),e.data.type!=="RemoveFavoriteThumbnail_"+w||C||o(0,$=!1),"UserSessionID"===e.data.type&&(o(16,se=!0),e.data.session,A=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,s=null)}),ve=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(A||"Not logged in")}),nt(P)&&"true"==T?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:nt(P),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:b},window.location.href):nt(P)&&"false"==T&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:nt(P)},window.location.href),nt(P)||"true"!=L?nt(P)||"false"!=L||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:nt(P)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:nt(P),identifier:"Lobby",subVendor:n,launchUrl:b},window.location.href)},be=e=>{$?window.postMessage({type:"SetUnfavoredGame"+_,id:e},window.location.href):window.postMessage({type:"SetFavoredGame"+_,id:e},window.location.href)},we=()=>{G&&EventSource&&!t&&n&&w&&(t=new EventSource(`${F}/v1/encoder/lobby/updates/${n}/`+w)).addEventListener("message",$e)},xe=()=>{t&&(t.close(),t=void 0)},$e=async e=>{let{type:t,data:n}=e,i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){let{InternalTableId:e,MessageType:t,Results:n,Seats:a,Open:r}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(28,d=a),o(13,s.currentOccupiedSeats=a,s),await Se());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(z=n,o(13,s.currentRouletteNumbers=n,s),await Se());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(13,s.currentDoubleBallRouletteNumbers=n,s),await Se());break;case"TableOpened":case"TableClosed":o(22,l=r),o(13,s.isOpen=r,s),await Se()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),ke=()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})};return rt(()=>(window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye),t&&t.removeEventListener("message",$e)})),a.$$set=e=>{"session"in e&&o(43,X=e.session),"userid"in e&&o(44,g=e.userid),"lang"in e&&o(1,p=e.lang),"clientstyling"in e&&o(45,f=e.clientstyling),"clientstylingurl"in e&&o(46,y=e.clientstylingurl),"translationurl"in e&&o(47,v=e.translationurl),"favorites"in e&&o(2,Q=e.favorites),"gamethumbnail"in e&&o(3,ee=e.gamethumbnail),"gamename"in e&&o(4,te=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(48,b=e.gamelaunchurl),"gameid"in e&&o(6,w=e.gameid),"gameisnew"in e&&o(7,ne=e.gameisnew),"gametag"in e&&o(8,ae=e.gametag),"gamefunmode"in e&&o(49,x=e.gamefunmode),"gamefavorite"in e&&o(0,$=e.gamefavorite),"gamecellsize"in e&&o(9,re=e.gamecellsize),"showfavoredcategory"in e&&o(50,C=e.showfavoredcategory),"showgamename"in e&&o(10,ie=e.showgamename),"currency"in e&&o(51,k=e.currency),"gamepagemodalurl"in e&&o(52,S=e.gamepagemodalurl),"endpoint"in e&&o(53,F=e.endpoint),"categoryid"in e&&o(54,_=e.categoryid),"livelobbyendpoint"in e&&o(55,G=e.livelobbyendpoint),"connectlive"in e&&o(56,E=e.connectlive),"visibilityconnect"in e&&o(57,M=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,T=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,oe=e.casinogamesgridslider)},a.$$.update=()=>{if(33554432&a.$$.dirty[1]&&E&&("disconnect"===E?xe():"connect"===E&&we()),67108864&a.$$.dirty[1]&&M&&("disconnect"===M?xe():"connect"===M&&"connect"===E&&we()),2&a.$$.dirty[0]&&p&&(n=p,tt.set(n)),4206592&a.$$.dirty[1]&&X&&g&&F&&(o(16,se=!0),A=g),8&a.$$.dirty[0]&&ee&&r&&o(18,r.onload=()=>{o(17,le=!0)},r),4096&a.$$.dirty[0]|16384&a.$$.dirty[1]&&f&&i&&((n=document.createElement("style")).innerHTML=f,i.appendChild(n)),4096&a.$$.dirty[0]|32768&a.$$.dirty[1]&&y&&i&&ke(),a.$$.dirty[0],65536&a.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ua(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|32768&a.$$.dirty[1]&&re&&y&&ke(),20971520&a.$$.dirty[1]&&F&&G&&((t=new URL(""+G.split("?")[0])).searchParams.append("platform",Da(P)),t.searchParams.append("language",p),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,s=e)})),8192&a.$$.dirty[0]&&s&&(o(22,l=s.isOpen),de=s.betLimit||{},o(23,c=s.openHours),o(24,ue=(e=>{j=e.totalSeats||7,o(28,d=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=j;e++)t.push(e);return{seats:t}})(s).seats),c&&c.value&&({startTime:t,originalTimeFormat:e}=c.value,o(20,O=t),o(21,ce=e||ce)),l&&o(19,N=(e=>{let t=null;if(e){var n=e.vendorCategory;if(n){let e=n.toLowerCase();R(he,e)?t=pr:R(ge,e)&&(t=fr)}}return t})(s)),o(25,me=Ya[k]),o(26,B=(de.min||{})[k]),o(27,H=(de.max||{})[k]),z=s.currentRouletteNumbers,U=s.currentDoubleBallRouletteNumbers,W=s.vendorCategory,o(29,u=W.toLowerCase()===yr),o(14,Y=(u?U:z)||[]),o(30,V="GameProp LiveProps RoulleteProps"),o(30,V+=u?" Double":""),o(31,Z=R(ge,W.toLowerCase())?fe:pe),q=m,o(32,m=Array.isArray(d)&&d.length===j),s.dealer&&o(34,J=s.dealer.DealerName),K=s.numberOfPlayers,o(33,I="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(33,I+=" GameBackdrop"),l&&m&&B&&H&&s.currentOccupiedSeats?o(33,I+=" GameContainerDimmed"):!1===l&&O&&o(33,I+=" GameContainerFullyDimmed"),i)&&(!q&&m?(o(33,I+=" PulsatingRedShadow"),o(33,I=I.replace(" PulsatingGreenShadow",""))):q&&!m&&(o(33,I+=" PulsatingGreenShadow"),o(33,I=I.replace(" PulsatingRedShadow","")))),49152&a.$$.dirty[0]&&h&&Y){let e="FirstElementAnimated",t=h.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))}var e,t,n},[$,p,Q,ee,te,n,w,ne,ae,re,ie,oe,i,s,Y,h,se,le,r,N,O,ce,l,c,ue,me,B,H,d,u,V,Z,m,I,J,D,P,ve,be,R,(e,t,n)=>{let a,r;return null!=e&&null!=t&&(r=`
1
+ ((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()})(this,function(){function G(){}function h(e){return e()}function g(){return Object.create(null)}function z(e){e.forEach(h)}function E(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let w;function ce(e,t){return(w=w||document.createElement("a")).href=t,e===w.href}function $(e,...t){if(null==e)return G;let n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function at(e,t,n){e.$$.on_destroy.push($(t,n))}var C="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function de(e,t){e.appendChild(t)}function ue(e,t,n){e.insertBefore(t,n||null)}function me(e){e.parentNode&&e.parentNode.removeChild(e)}function B(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function he(e){return document.createElement(e)}function H(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ge(e){return document.createTextNode(e)}function pe(){return ge(" ")}function c(){return ge("")}function j(e,t,n,a){return e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function F(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.data!==(t=""+t)&&(e.data=t)}function M(e,t){e.value=null==t?"":t}function _(e,t,n,a){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,a?"important":"")}function L(e,t,n){e.classList[n?"add":"remove"](t)}class T{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=H(t.nodeName):this.e=he(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(("TEMPLATE"===this.e.nodeName?this.e.content:this.e).childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(me)}}function a(e){var t,n={};for(t of e)n[t.name]=t.value;return n}let k;function S(e){k=e}function rt(e){(()=>{if(k)return k;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let P=[],et=[],I=[],R=[],D=Promise.resolve(),A=!1;function N(){A||(A=!0,D.then(m))}function Se(){return N(),D}function O(e){I.push(e)}let U=new Set,W=0;function m(){if(0===W){let e=k;do{try{for(;W<P.length;){let e=P[W];W++,S(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),z(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(O))}}catch(e){throw P.length=0,W=0,e}for(S(null),P.length=0,W=0;et.length;)et.pop()();for(let e=0;e<I.length;e+=1){var a=I[e];U.has(a)||(U.add(a),a())}}while(I.length=0,P.length);for(;R.length;)R.pop()();A=!1,U.clear(),S(e)}}let Y=new Set;function r(a,t,e,n,r,i,o,s=[-1]){var l=k;S(a);let c=a.$$={fragment:null,ctx:[],props:i,update:G,not_equal:r,bound:g(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:g(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},d=(o&&o(c.root),!1);if(c.ctx=e?e(a,t.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d)&&(n=e,-1===(e=a).$$.dirty[0]&&(P.push(e),N(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),d=!0,z(c.before_update),c.fragment=!!n&&n(c.ctx),t.target){if(t.hydrate){i=t.target;let e=Array.from(i.childNodes);c.fragment&&c.fragment.l(e),e.forEach(me)}else c.fragment&&c.fragment.c();t.intro&&(s=a.$$.fragment)&&s.i&&(Y.delete(s),s.i(void 0));var u=a,o=t.customElement,{fragment:e,after_update:n}=u.$$;e&&e.m(t.target,t.anchor),o||O(()=>{var e=u.$$.on_mount.map(h).filter(E);u.$$.on_destroy?u.$$.on_destroy.push(...e):z(e),u.$$.on_mount=[]}),n.forEach(O),m()}S(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(h).filter(E);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var a=e.after_update;let t=[],n=[];I.forEach(e=>(-1===a.indexOf(e)?t:n).push(e)),n.forEach(e=>e()),I=t}z(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=G}$on(e,t){if(!E(t))return G;let 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 V,Z,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},q="URLSearchParams"in l,J="Symbol"in l&&"iterator"in Symbol,K="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),X="FormData"in l,Q="ArrayBuffer"in l;function ee(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function te(e){return e="string"!=typeof e?String(e):e}function ne(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return J&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ae(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function re(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ie(e){var t=new FileReader,n=re(t);return t.readAsArrayBuffer(e),n}function oe(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function se(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:K&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:X&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:q&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&K&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=oe(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Q&&(ArrayBuffer.prototype.isPrototypeOf(e)||Z(e))?this._bodyArrayBuffer=oe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):q&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K&&(this.blob=function(){var e=ae(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return ae(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(K)return this.blob().then(ie);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,a=ae(this);if(a)return a;if(this._bodyBlob)return a=this._bodyBlob,t=re(e=new FileReader),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(a.type))?n[1]:"utf-8",e.readAsText(a,n),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a<t.length;a++)n[a]=String.fromCharCode(t[a]);return n.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},X&&(this.formData=function(){return this.text().then(be)}),this.json=function(){return this.text().then(JSON.parse)},this}Q&&(V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Z=ArrayBuffer.isView||function(e){return e&&-1<V.indexOf(Object.prototype.toString.call(e))}),d.prototype.append=function(e,t){e=ee(e),t=te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[ee(e)]},d.prototype.get=function(e){return e=ee(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(ee(e))},d.prototype.set=function(e,t){this.map[ee(e)]=te(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ne(n)},d.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ne(t)},d.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ne(n)},J&&(d.prototype[Symbol.iterator]=d.prototype.entries);var le=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ve(e,t){if(!(this instanceof ve))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,a=(t=t||{}).body;if(e instanceof ve){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<le.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function be(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 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.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}ve.prototype.clone=function(){return new ve(this,{body:this._bodyInit})},se.call(ve.prototype),se.call(we.prototype),we.prototype.clone=function(){return new we(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},we.error=function(){var e=new we(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var xe=[301,302,303,307,308],$e=(we.redirect=function(e,t){if(-1===xe.indexOf(t))throw new RangeError("Invalid status code");return new we(null,{status:t,headers:{location:e}})},l.DOMException);try{new $e}catch(e){($e=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),$e.prototype.constructor=$e}function Ce(a,s){return new Promise(function(r,e){var i=new ve(a,s);if(i.signal&&i.signal.aborted)return e(new $e("Aborted","AbortError"));var n,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,a,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",a=new d,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{a.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),a)},n=(0===i.url.indexOf("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){r(new we(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new $e("Aborted","AbortError"))},0)},o.open(i.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(K?o.responseType="blob":Q&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof d||l.Headers&&s.headers instanceof l.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(ee(e)),o.setRequestHeader(e,te(s.headers[e]))}),i.headers.forEach(function(e,t){-1===n.indexOf(t)&&o.setRequestHeader(t,e)})):i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",t)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}function Mn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ce.polyfill=!0,l.fetch||(l.fetch=Ce,l.Headers=d,l.Request=ve,l.Response=we),self.fetch.bind(self);var ke=function(e,t){return(ke=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function Fe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ke(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function _e(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&a>=e.length?void 0:e)&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ge(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,r,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(a=i.next()).done;)o.push(a.value)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}function Ee(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||((a=a||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function Me(e){return"function"==typeof e}function Le(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 Te=Le(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 Pe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}De.prototype.unsubscribe=function(){var e,t,n,a,r;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=_e(i),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 i.remove(this);i=this.initialTeardown;if(Me(i))try{i()}catch(e){r=e instanceof Te?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=_e(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{Ne(d)}catch(e){r=null!=r?r:[],e instanceof Te?r=Ee(Ee([],Ge(r)),Ge(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}}if(r)throw new Te(r)}},De.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ne(e);else{if(e instanceof De){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},De.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},De.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},De.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Pe(t,e)},De.prototype.remove=function(e){var t=this._finalizers;t&&Pe(t,e),e instanceof De&&e._removeParent(this)},De.EMPTY=((i=new De).closed=!0,i);var Ie=De,Re=Ie.EMPTY;function De(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ae(e){return e instanceof Ie||e&&"closed"in e&&Me(e.remove)&&Me(e.add)&&Me(e.unsubscribe)}function Ne(e){Me(e)?e():e.unsubscribe()}var Oe=void 0,Be=!1,He=!1,je={setTimeout:function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var r=je.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ee([e,t],Ge(n))):setTimeout.apply(void 0,Ee([e,t],Ge(n)))},clearTimeout:function(e){var t=je.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ze(){}var Ue=null;function We(e){if(Be){var t=!Ue;if(t&&(Ue={errorThrown:!1,error:null}),e(),t){var t=Ue,n=t.errorThrown;if(Ue=null,n)throw t.error}}else e()}Fe(qe,Ye=Ie),qe.create=function(e,t,n){return new Qe(e,t,n)},qe.prototype.next=function(e){this.isStopped||this._next(e)},qe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},qe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},qe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ye.prototype.unsubscribe.call(this),this.destination=null)},qe.prototype._next=function(e){this.destination.next(e)},qe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},qe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ye,Ve=qe,Ze=Function.prototype.bind;function qe(e){var t=Ye.call(this)||this;return t.isStopped=!1,e?Ae(t.destination=e)&&e.add(t):t.destination=lt,t}function Je(e,t){return Ze.call(e,t)}ot.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){st(e)}},ot.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){st(e)}else st(e)},ot.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){st(e)}};var Ke,Xe=ot,Qe=(Fe(it,Ke=Ve),it);function it(e,t,n){var a=Ke.call(this)||this,n=Me(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:a&&He?((t=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},{next:e.next&&Je(e.next,t),error:e.error&&Je(e.error,t),complete:e.complete&&Je(e.complete,t)}):e;return a.destination=new Xe(n),a}function ot(e){this.partialObserver=e}function st(e){var t=e;je.setTimeout(function(){throw t})}var lt={closed:!0,next:ze,error:function(e){throw e},complete:ze},i="function"==typeof Symbol&&Symbol.observable||"@@observable";dt.prototype.lift=function(e){var t=new dt;return t.source=this,t.operator=e,t},dt.prototype.subscribe=function(e,t,n){var a,r=this,i=(a=e)&&a instanceof Ve||a&&Me(a.next)&&Me(a.error)&&Me(a.complete)&&Ae(a)?e:new Qe(e,t,n);return We(function(){var e=r.operator,t=r.source;i.add(e?e.call(i,t):t?r._subscribe(i):r._trySubscribe(i))}),i},dt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},dt.prototype.forEach=function(a,e){var r=this;return new(e=ut(e))(function(e,t){var n=new Qe({next:function(e){try{a(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},dt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},dt.prototype[i]=function(){return this},dt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},dt.prototype.toPromise=function(e){var a=this;return new(e=ut(e))(function(e,t){var n;a.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},dt.create=function(e){return new dt(e)};var ct=dt;function dt(e){e&&(this._subscribe=e)}function ut(e){return null!=(e=null!=e?e:Oe)?e:Promise}var mt,ht,gt,pt=Le(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(Fe(o,gt=ct),o.prototype.lift=function(e){var t=new ft(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new pt},o.prototype.next=function(r){var i=this;We(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=_e(i.currentObservers),a=n.next();!a.done;a=n.next())a.value.next(r)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var n=this;We(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)}})},o.prototype.complete=function(){var t=this;We(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),gt.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,a=this.isStopped,r=this.observers;return n||a?Re:(this.currentObservers=null,r.push(e),new Ie(function(){t.currentObservers=null,Pe(r,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,a=this.isStopped;t?e.error(n):a&&e.complete()},o.prototype.asObservable=function(){var e=new ct;return e.source=this,e},o.create=function(e,t){return new ft(e,t)},o),ft=(Fe(wt,ht=i),wt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},wt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},wt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},wt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Re},wt),yt={now:function(){return(yt.delegate||Date).now()},delegate:void 0},vt=(Fe(bt,mt=i),bt.prototype.next=function(e){var t=this,n=t.isStopped,a=t._buffer,r=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(a.push(e),r)||a.push(i.now()+t),this._trimBuffer(),mt.prototype.next.call(this,e)},bt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,a=this._buffer.slice(),r=0;r<a.length&&!e.closed;r+=n?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t},bt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,a=this._infiniteTimeWindow,r=(a?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!a){for(var i=t.now(),o=0,s=1;s<n.length&&n[s]<=i;s+=2)o=s;o&&n.splice(0,o+1)}},bt);function bt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=yt);var a=mt.call(this)||this;return a._bufferSize=e,a._windowTime=t,a._timestampProvider=n,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=t===1/0,a._bufferSize=Math.max(1,e),a._windowTime=Math.max(1,t),a}function wt(e,t){var n=ht.call(this)||this;return n.destination=e,n.source=t,n}function o(){var e=gt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let xt=[],$t={},Ct=[];function kt(a,r=G){let i,o=new Set;function s(e){if(n(a,e)&&(a=e,i)){let e=!Ct.length;for(let e of o)e[1](),Ct.push(e,a);if(e){for(let e=0;e<Ct.length;e+=2)Ct[e][0](Ct[e+1]);Ct.length=0}}}return{set:s,update:function(e){s(e(a))},subscribe:function(e,t=G){let n=[e,t];return o.add(n),1===o.size&&(i=r(s)||G),e(a),()=>{o.delete(n),0===o.size&&i&&(i(),i=null)}}}}function St(e,s,t){let l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:kt(t,t=>{let n=!1,a=[],r=0,i=G,o=()=>{var e;r||(i(),e=s(l?a[0]:a,t),d?t(e):i=E(e)?e:G)},e=c.map((e,t)=>$(e,e=>{a[t]=e,r&=~(1<<t),n&&o()},()=>{r|=1<<t}));return n=!0,o(),function(){z(e),i(),n=!1}}).subscribe}}function Ft(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===_t);var t}var _t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Gt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Pt(Array.isArray(e)?[]:{},e,t):e}function Et(e,t,n){return e.concat(t).map(function(e){return Gt(e,n)})}function Mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Lt(e,t){try{return t in e}catch(e){return!1}}function Tt(a,r,i){var o={};return i.isMergeableObject(a)&&Mt(a).forEach(function(e){o[e]=Gt(a[e],i)}),Mt(r).forEach(function(e){var t,n;(!Lt(t=a,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Lt(a,e)&&i.isMergeableObject(r[e])?o[e]=((t=i).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Pt)(a[e],r[e],i):o[e]=Gt(r[e],i))}),o}function Pt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Et,n.isMergeableObject=n.isMergeableObject||Ft,n.cloneUnlessOtherwiseSpecified=Gt;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):Tt(e,t,n):Gt(t,n)}Pt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return Pt(e,t,n)},{});throw new Error("first argument should be an array")};var It=Pt,Rt=function(e,t){return(Rt=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 Dt(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}Rt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p,y,At,f=function(){return(f=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Nt(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||((a=a||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function Ot(e){return e.type===y.literal}function Bt(e){return e.type===y.number}function Ht(e){return e.type===y.date}function jt(e){return e.type===y.time}function zt(e){return e.type===y.select}function Ut(e){return e.type===y.plural}function Wt(e){return e.type===y.tag}function Yt(e){return e&&"object"==typeof e&&e.type===At.number}function Vt(e){return e&&"object"==typeof e&&e.type===At.dateTime}(i=p=p||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=y=y||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=At=At||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Zt=/(?:[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 qt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Jt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?[rs]?$/g,Xt=/(\*)(0+)|(#+)(0+)|(0+)/g,Qt=/^(0+)$/;function en(e){var a={};return"r"===e[e.length-1]?a.roundingPriority="morePrecision":"s"===e[e.length-1]&&(a.roundingPriority="lessPrecision"),e.replace(Kt,function(e,t,n){return"string"!=typeof n?(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length):"+"===n?a.minimumSignificantDigits=t.length:"#"===t[0]?a.maximumSignificantDigits=t.length:(a.minimumSignificantDigits=t.length,a.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),a}function tn(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 nn(e){return tn(e)||{}}function an(e){for(var o={},t=0,n=e;t<n.length;t++){var a,r=n[t];switch(r.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=r.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=f(f(f({},o),{notation:"scientific"}),r.options.reduce(function(e,t){return f(f({},e),nn(t))},{}));continue;case"engineering":o=f(f(f({},o),{notation:"engineering"}),r.options.reduce(function(e,t){return f(f({},e),nn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Xt,function(e,t,n,a,r,i){if(t)o.minimumIntegerDigits=n.length;else{if(a&&r)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Qt.test(r.stem))o.minimumIntegerDigits=r.stem.length;else if(Jt.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Jt,function(e,t,n,a,r,i){return"*"===n?o.minimumFractionDigits=t.length:a&&"#"===a[0]?o.maximumFractionDigits=a.length:r&&i?(o.minimumFractionDigits=r.length,o.maximumFractionDigits=r.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=r.options[0];"w"===i?o=f(f({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=f(f({},o),en(i)))}else Kt.test(r.stem)?o=f(f({},o),en(r.stem)):((i=tn(r.stem))&&(o=f(f({},o),i)),(a=(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)),!Qt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(r.stem))&&(o=f(f({},o),a)))}return o}var rn={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 on=new RegExp("^".concat(i.source,"*")),sn=new RegExp("".concat(i.source,"*$"));function v(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,ln=!!String.fromCodePoint,cn=!!Object.fromEntries,dn=!!String.prototype.codePointAt,un=!!String.prototype.trimStart,mn=!!String.prototype.trimEnd,hn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gn=!0;try{gn="a"===(null==(Dn=Cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dn[0])}catch(e){gn=!1}var pn,fn,yn=i?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},vn=ln?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,a="",r=e.length,i=0;i<r;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");a+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return a},bn=cn?Object.fromEntries:function(e){for(var t={},n=0,a=e;n<a.length;n++){var r=a[n];t[r[0]]=r[1]}return t},wn=dn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,a=e.length;if(!(t<0||a<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===a||(a=e.charCodeAt(t+1))<56320||57343<a?n:a-56320+(n-55296<<10)+65536},xn=un?function(e){return e.trimStart()}:function(e){return e.replace(on,"")},$n=mn?function(e){return e.trimEnd()}:function(e){return e.replace(sn,"")};function Cn(e,t){return new RegExp(e,t)}fn=gn?(pn=Cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return pn.lastIndex=t,null!=(t=pn.exec(e)[1])?t:""}):function(e,t){for(var n,a=[];;){var r=wn(e,t);if(void 0===r||Fn(r)||33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;a.push(r),t+=65536<=r?2:1}return vn.apply(void 0,a)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,n){for(var a=[];!this.isEOF();){var r,i=this.char();if(123===i){if((r=this.parseArgument(e,n)).err)return r;a.push(r.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Sn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;a.push(r.val)}else{i=this.clonePosition();this.bump(),a.push({type:y.pound,location:v(i,this.clonePosition())})}}}return{val:a,err:null}},s.prototype.parseTag=function(e,t){var n,a=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(a,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Sn(this.char())?this.error(p.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),r!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(a,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,v(a,this.clonePosition()))):this.error(p.INVALID_TAG,v(a,this.clonePosition()))},s.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())},s.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),a="";;){var r=this.tryParseQuote(t);if(r)a+=r;else{r=this.tryParseUnquoted(e,t);if(r)a+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;a+=r}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:a,location:n},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Sn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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 vn.apply(void 0,t)},s.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),vn(n))},s.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:a,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,a,n);default:return this.error(p.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=fn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,n,a){var r,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((u=this.parseSimpleArgStyleIfPossible()).err)return u;if(0===(m=$n(u.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(a)).err?c:(h=v(a,this.clonePosition()),l&&yn(null==l?void 0:l.style,"::",0)?(g=xn(l.style.slice(2)),"number"===o?(u=this.parseNumberSkeletonFromString(g,l.styleLocation)).err?u:{val:{type:y.number,value:n,location:h,style:u.val},err:null}:0===g.length?this.error(p.EXPECT_DATE_TIME_SKELETON,h):(d=g,this.locale&&(d=((e,t)=>{for(var n="",a=0;a<e.length;a++){var r=e.charAt(a);if("j"===r){for(var i=0;a+1<e.length&&e.charAt(a+1)===r;)i++,a++;var o=1+(1&i),s=i<2?1:3+(i>>1),l=(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),(rn[t||""]||rn[n||""]||rn["".concat(n,"-001")]||rn["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===r?"H":r}return n})(g,this.locale)),m={type:At.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},d.replace(Zt,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}},{val:{type:"date"===o?y.date:y.time,value:n,location:h,style:m},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:h,style:null!=(g=null==l?void 0:l.style)?g:null},err:null});case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(d,f({},d)));this.bumpSpace();var u,m=this.parseIdentifierIfPossible(),h=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(u=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return u;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=u.val}var g,l=this.tryParsePluralOrSelectOptions(e,o,t,m);return l.err?l:(c=this.tryParseArgumentClose(a)).err?c:(g=v(a,this.clonePosition()),"select"===o?{val:{type:y.select,value:n,options:bn(l.val),location:g},err:null}:{val:{type:y.plural,value:n,options:bn(l.val),offset:h,pluralType:"plural"===o?"cardinal":"ordinal",location:g},err:null});default:return this.error(p.INVALID_ARGUMENT_TYPE,v(i,s))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},s.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,a=e.split(qt).filter(function(e){return 0<e.length});n<a.length;n++){var r=a[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var i=r[0],r=r.slice(1),o=0,s=r;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:r})}return t})(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:At.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?an(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,a){for(var r=!1,i=[],o=new Set,s=a.value,l=a.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var u=this.tryParseArgumentClose(d);if(u.err)return u;i.push([s,{value:c.val,location:v(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===i.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;r=!0,i=10*i+(o-48),this.bump()}a=v(a,this.clonePosition());return r?hn(i*=n)?{val:i,err:null}:this.error(t,a):this.error(e,a)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=wn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.prototype.bumpIf=function(e){if(yn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&Fn(this.char());)this.bump()},s.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var kn=s;function s(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 Sn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Fn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function _n(e,t){t=f({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new kn(e,t).parse();if(e.err)throw(n=SyntaxError(p[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,zt(e)||Ut(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Bt(e)&&Yt(e.style)||(Ht(e)||jt(e))&&Vt(e.style)?delete e.style.location:Wt(e)&&n(e.children)})}(e.val),e.val}function Gn(e,t){var n=t&&t.cache?t.cache:An,a=t&&t.serializer?t.serializer:Pn;return(t&&t.strategy?t.strategy:function(e,t){return Tn(e,this,1===e.length?En:Ln,t.cache.create(),t.serializer)})(e,{cache:n,serializer:a})}function En(e,t,n,a){var n=null==a||"number"==typeof a||"boolean"==typeof a?a:n(a),r=t.get(n);return void 0===r&&(r=e.call(this,a),t.set(n,r)),r}function Ln(e,t,n){var a=Array.prototype.slice.call(arguments,3),n=n(a),r=t.get(n);return void 0===r&&(r=e.apply(this,a),t.set(n,r)),r}function Tn(e,t,n,a,r){return n.bind(t,e,a,r)}var Pn=function(){return JSON.stringify(arguments)};function In(){this.cache=Object.create(null)}In.prototype.get=function(e){return this.cache[e]},In.prototype.set=function(e,t){this.cache[e]=t};var Rn,Dn,An={create:function(){return new In}},Nn={variadic:function(e,t){return Tn(e,this,Ln,t.cache.create(),t.serializer)},monadic:function(e,t){return Tn(e,this,En,t.cache.create(),t.serializer)}};(Dn=Rn=Rn||{}).MISSING_VALUE="MISSING_VALUE",Dn.INVALID_VALUE="INVALID_VALUE",Dn.MISSING_INTL_API="MISSING_INTL_API";Dt(Jn,jn=Error),Jn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var b,On,Bn,Hn,jn,zn=Jn,Un=(Dt(qn,Hn=zn),qn),Wn=(Dt(Zn,Bn=zn),Zn),Yn=(Dt(Vn,On=zn),Vn);function Vn(e,t){return On.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Rn.MISSING_VALUE,t)||this}function Zn(e,t,n){return Bn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Rn.INVALID_VALUE,n)||this}function qn(e,t,n,a){return Hn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Rn.INVALID_VALUE,a)||this}function Jn(e,t,n){e=jn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Kn(e,t,n,a,r,i,o){if(1===e.length&&Ot(e[0]))return[{type:b.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Ot(d))s.push({type:b.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&s.push({type:b.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(r&&u in r))throw new Yn(u,o);u=r[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?b.literal:b.object,value:u});else if(Ht(d)){var m="string"==typeof d.style?a.date[d.style]:Vt(d.style)?d.style.parsedOptions:void 0;s.push({type:b.literal,value:n.getDateTimeFormat(t,m).format(u)})}else if(jt(d))m="string"==typeof d.style?a.time[d.style]:Vt(d.style)?d.style.parsedOptions:a.time.medium,s.push({type:b.literal,value:n.getDateTimeFormat(t,m).format(u)});else if(Bt(d))(m="string"==typeof d.style?a.number[d.style]:Yt(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),s.push({type:b.literal,value:n.getNumberFormat(t,m).format(u)});else{if(Wt(d)){var h=d.children,g=d.value,p=r[g];if("function"!=typeof p)throw new Wn(g,"function",o);g=p(Kn(h,t,n,a,r,i).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map(function(e){return{type:"string"==typeof e?b.literal:b.object,value:e}}))}if(zt(d)){if(!(f=d.options[u]||d.options.other))throw new Un(d.value,u,Object.keys(d.options),o);s.push.apply(s,Kn(f.value,t,n,a,r))}else if(Ut(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new zn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Rn.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[p]||d.options.other}if(!f)throw new Un(d.value,u,Object.keys(d.options),o);s.push.apply(s,Kn(f.value,t,n,a,r,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===b.literal&&t.type===b.literal?n.value+=t.value:e.push(t),e},[])}function Xn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(i=b=b||{})[i.literal=0]="literal",i[i.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=_n,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 Qn=u;function u(e,t,n,a){var r,i,o=this;if(void 0===t&&(t=u.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===b.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Kn(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==a?void 0:a.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=u.formats,(i=n)?Object.keys(r).reduce(function(e,t){var n,a;return e[t]=(n=r[t],(a=i[t])?f(f(f({},n||{}),a||{}),Object.keys(n).reduce(function(e,t){return e[t]=f(f({},n[t]),a[t]||{}),e},{})):n),e},f({},r)):r),this.formatters=a&&a.formatters||{getNumberFormat:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:Xn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Nn.variadic}),getDateTimeFormat:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Nt([void 0],t,!1)))},{cache:Xn(t.dateTime),strategy:Nn.variadic}),getPluralRules:Gn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Nt([void 0],t,!1)))},{cache:Xn(t.pluralRules),strategy:Nn.variadic})}}let ea={},ta=(e,t,n)=>n&&(t in ea||(ea[t]={}),e in ea[t]||(ea[t][e]=n),n),na=(t,n)=>{if(null!=n){if(n in ea&&t in ea[n])return ea[n][t];var a=$a(n);for(let e=0;e<a.length;e++){var r=((e,t)=>{if(!ia(e))return null;e=(e=>aa[e]||null)(e);var a=t;if(null!=a){if(a in e)return e[a];var r=a.split(".");let n=e;for(let t=0;t<r.length;t++)if("object"==typeof n){if(0<t){let e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}})(a[e],t);if(r)return ta(t,n,r)}}},aa,ra=kt({});function ia(e){return e in aa}function oa(t,...n){delete ea[t],ra.update(e=>(e[t]=It.all([e[t]||{},...n]),e))}St([ra],([e])=>Object.keys(e)),ra.subscribe(e=>aa=e);let sa={};function la(e){return sa[e]}function ca(e){return null!=e&&$a(e).some(e=>null==(e=la(e))?void 0:e.size)}function da(a,e){return Promise.all(e.map(e=>{return t=a,n=e,sa[t].delete(n),0===sa[t].size&&delete sa[t],e().then(e=>e.default||e);var t,n})).then(e=>oa(a,...e))}let ua={};let ma={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};let ha=kt(!1);var ga=Object.defineProperty,ln=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable,va=(e,t,n)=>t in e?ga(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let ba,wa=kt(null);function xa(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function $a(e,t=ma.fallbackLocale){e=xa(e);return t?[...new Set([...e,...xa(t)])]:e}function Ca(){return null!=ba?ba:void 0}wa.subscribe(e=>{ba=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let tt=ln(((e,t)=>{for(var n in t=t||{})fa.call(t,n)&&va(e,n,t[n]);if(pa)for(var n of pa(t))ya.call(t,n)&&va(e,n,t[n]);return e})({},wa),cn({set:t=>{if(t&&(e=>{if(null!=e){var t=$a(e);for(let e=0;e<t.length;e++){var n=t[e];if(ia(n))return n}}})(t)&&ca(t)){var n=ma.loadingDelay;let e;return"undefined"!=typeof window&&null!=Ca()&&n?e=window.setTimeout(()=>ha.set(!0),n):ha.set(!0),function e(t){var n;return ca(t)?(n=$a(t).map(e=>{var t=la(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),ua[t]=Promise.all(n.map(([e,t])=>da(e,t))).then(()=>{if(ca(t))return e(t);delete ua[t]}),ua[t]):t in ua?ua[t]:Promise.resolve()}(t).then(()=>{wa.set(t)}).finally(()=>{clearTimeout(e),ha.set(!1)})}return wa.set(t)}}));var dn=n=>{let a=Object.create(null);return e=>{var t=JSON.stringify(e);return t in a?a[t]:a[t]=n(e)}},ka=Object.defineProperty,Sa=Object.getOwnPropertySymbols,Fa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,Ga=(e,t,n)=>t in e?ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ea=(e,t)=>{for(var n in t=t||{})Fa.call(t,n)&&Ga(e,n,t[n]);if(Sa)for(var n of Sa(t))_a.call(t,n)&&Ga(e,n,t[n]);return e},Ma=(e,t)=>{var n={};for(a in e)Fa.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&Sa)for(var a of Sa(e))t.indexOf(a)<0&&_a.call(e,a)&&(n[a]=e[a]);return n};let La=(e,t)=>{var n=ma.formats;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ta=dn(e=>{var{locale:t,format:n}=e,e=Ma(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=La("number",n)),new Intl.NumberFormat(t,e)}),Pa=dn(e=>{var{locale:t,format:n}=e,e=Ma(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=La("date",n):0===Object.keys(e).length&&(e=La("date","short")),new Intl.DateTimeFormat(t,e)}),Ia=dn(e=>{var{locale:t,format:n}=e,e=Ma(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=La("time",n):0===Object.keys(e).length&&(e=La("time","short")),new Intl.DateTimeFormat(t,e)}),Ra=dn((e,t=Ca())=>new Qn(e,t,ma.formats,{ignoreTag:ma.ignoreTag})),Da=St([tt,ra],()=>(e,t={})=>{let n,a,r,i,o=t;"object"==typeof e&&(e=(o=e).id);var{values:s,locale:l=Ca(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let d=na(e,l);if(d){if("string"!=typeof d)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),d}else d=null!=(i=null!=(r=null==(a=(n=ma).handleMissingMessage)?void 0:a.call(n,{locale:l,id:e,defaultValue:c}))?r:c)?i:e;if(!s)return d;let u=d;try{u=Ra(d,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u}),nt=(St([tt],()=>(e,t)=>((e={})=>{var{locale:t=Ca()}=e,e=Ma(e,["locale"]);return Ia(Ea({locale:t},e))})(t).format(e)),St([tt],()=>(e,t)=>((e={})=>{var{locale:t=Ca()}=e,e=Ma(e,["locale"]);return Pa(Ea({locale:t},e))})(t).format(e)),St([tt],()=>(e,t)=>((e={})=>{var{locale:t=Ca()}=e,e=Ma(e,["locale"]);return Ta(Ea({locale:t},e))})(t).format(e)),St([tt,ra],()=>(e,t=Ca())=>na(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==xt.indexOf(e)&&(t=new vt(t),$t[e]=t,xt.push(e)),$t[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))),Aa=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Na(e,t){oa(e,t)}let Oa={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar"}};function Ba(e,t){oa(e,t)}let Ha={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};za=ja={path:void 0,exports:{},require:function(e,t){return Mn(null==t&&ja.path)}},ja.exports,za.exports=(()=>{var D;function g(){return D.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function s(e){return void 0===e}function O(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function B(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],a=e.length,r=0;r<a;++r)n.push(t(e[r],r));return n}function j(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,a){return Tt(e,t,n,a,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function z(e){var t,n,a=e._d&&!isNaN(e._d.getTime());return a&&(t=f(e),n=W.call(t.parsedDateParts,function(e){return null!=e}),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||(t.meridiem,n)),e._strict)&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function U(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1},Y=g.momentProperties=[],V=!1;function Z(e,t){var n,a,r,i=Y.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),0<i)for(n=0;n<i;n++)s(r=t[a=Y[n]])||(e[a]=r);return e}function q(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,g.updateOffset(this),V=!1)}function l(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function J(e){!1===g.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return j(function(){if(null!=g.deprecationHandler&&g.deprecationHandler(null,i),s){for(var e,t,n=[],a=arguments.length,r=0;r<a;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}J(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var K={};function X(e,t){null!=g.deprecationHandler&&g.deprecationHandler(e,t),K[e]||(J(t),K[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,a=j({},e);for(n in t)p(t,n)&&(A(e[n])&&A(t[n])?(a[n]={},j(a[n],e[n]),j(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)p(e,n)&&!p(t,n)&&A(e[n])&&(a[n]=j({},a[n]));return a}function ee(e){null!=e&&this.set(e)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function i(e,t,n){var a=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-a.length)).toString().substr(1)+a}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ie={};function a(e,t,n,a){var r="string"==typeof a?function(){return this[a]()}:a;e&&(ie[e]=r),t&&(ie[t[0]]=function(){return i(r.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||(a=>{for(var e,r=a.match(ne),t=0,i=r.length;t<i;t++)ie[r[t]]?r[t]=ie[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(r[n])?r[n].call(e,a):r[n];return t}})(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(ae.lastIndex=0;0<=n&&ae.test(e);)e=e.replace(ae,a),ae.lastIndex=0,--n;return e}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,a={};for(n in e)p(e,n)&&(t=u(n))&&(a[t]=e[n]);return a}var de={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},ue=/\d/,t=/\d\d/,me=/\d{3}/,he=/\d{4}/,ge=/[+-]?\d{6}/,n=/\d\d?/,pe=/\d\d\d\d?/,fe=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,ve=/\d{1,4}/,be=/[+-]?\d{1,6}/,we=/\d+/,xe=/[+-]?\d+/,$e=/Z|[+-]\d\d:?\d\d/gi,Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,r=/[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,m=/^[1-9]\d?/,h=/^([1-9]\d|\d)/;function y(e,n,a){Se[e]=d(n)?n:function(e,t){return e&&a?a:n}}function ke(e,t){return p(Se,e)?Se[e](t._strict,t._locale):new RegExp(v(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,r){return t||n||a||r})))}function v(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?b(e):t}var Se={},Fe={};function x(e,n){var t,a,r=n;for("string"==typeof e&&(e=[e]),O(n)&&(r=function(e,t){t[n]=w(e)}),a=e.length,t=0;t<a;t++)Fe[e[t]]=r}function _e(e,r){x(e,function(e,t,n,a){n._w=n._w||{},r(e,n._w,n,a)})}function Ge(e){return e%4==0&&e%100!=0||e%400==0}var $=0,C=1,k=2,S=3,F=4,_=5,Ee=6,Me=7,Le=8;function Te(e){return Ge(e)?366:365}a("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),a(0,["YY",2],0,function(){return this.year()%100}),a(0,["YYYY",4],0,"year"),a(0,["YYYYY",5],0,"year"),a(0,["YYYYYY",6,!0],0,"year"),y("Y",xe),y("YY",n,t),y("YYYY",ve,he),y("YYYYY",be,ge),y("YYYYYY",be,ge),x(["YYYYY","YYYYYY"],$),x("YYYY",function(e,t){t[$]=2===e.length?g.parseTwoDigitYear(e):w(e)}),x("YY",function(e,t){t[$]=g.parseTwoDigitYear(e)}),x("Y",function(e,t){t[$]=parseInt(e,10)}),g.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var G,Pe=Ie("FullYear",!0);function Ie(t,n){return function(e){return null!=e?(De(this,t,e),g.updateOffset(this,n),this):Re(this,t)}}function Re(e,t){if(!e.isValid())return NaN;var n=e._d,a=e._isUTC;switch(t){case"Milliseconds":return a?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return a?n.getUTCSeconds():n.getSeconds();case"Minutes":return a?n.getUTCMinutes():n.getMinutes();case"Hours":return a?n.getUTCHours():n.getHours();case"Date":return a?n.getUTCDate():n.getDate();case"Day":return a?n.getUTCDay():n.getDay();case"Month":return a?n.getUTCMonth():n.getMonth();case"FullYear":return a?n.getUTCFullYear():n.getFullYear();default:return NaN}}function De(e,t,n){var a,r,i;if(e.isValid()&&!isNaN(n)){switch(a=e._d,r=e._isUTC,t){case"Milliseconds":return r?a.setUTCMilliseconds(n):a.setMilliseconds(n);case"Seconds":return r?a.setUTCSeconds(n):a.setSeconds(n);case"Minutes":return r?a.setUTCMinutes(n):a.setMinutes(n);case"Hours":return r?a.setUTCHours(n):a.setHours(n);case"Date":return r?a.setUTCDate(n):a.setDate(n);case"FullYear":break;default:return}t=n,i=e.month(),e=29!==(e=e.date())||1!==i||Ge(t)?e:28,r?a.setUTCFullYear(t,i,e):a.setFullYear(t,i,e)}}function Ae(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?Ge(e)?29:28:31-n%7%2)}G=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},a("M",["MM",2],"Mo",function(){return this.month()+1}),a("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),a("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",n,m),y("MM",n,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[C]=w(e)-1}),x(["MMM","MMMM"],function(e,t,n,a){a=n._locale.monthsParse(e,a,n._strict);null!=a?t[C]=a:f(n).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Oe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He=r,je=r;function ze(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!O(t=e.localeData().monthsParse(t)))return;var n=(n=e.date())<29?n:Math.min(n,Ae(e.year(),t));e._isUTC?e._d.setUTCMonth(t,n):e._d.setMonth(t,n)}}function Ue(e){return null!=e?(ze(this,e),g.updateOffset(this,!0),this):Re(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n,a=[],r=[],i=[],o=0;o<12;o++)n=c([2e3,o]),t=v(this.monthsShort(n,"")),n=v(this.months(n,"")),a.push(t),r.push(n),i.push(n),i.push(t);a.sort(e),r.sort(e),i.sort(e),this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(e,t,n,a,r,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,a,r,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,a,r,i,o),s}function Ve(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 Ze(e,t,n){n=7+t-n;return-(7+Ve(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,a,r){var i,t=1+7*(t-1)+(7+n-a)%7+Ze(e,a,r),n=t<=0?Te(i=e-1)+t:t>Te(e)?(i=e+1,t-Te(e)):(i=e,t);return{year:i,dayOfYear:n}}function Je(e,t,n){var a,r,i=Ze(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?a=i+E(r=e.year()-1,t,n):i>E(e.year(),t,n)?(a=i-E(e.year(),t,n),r=e.year()+1):(r=e.year(),a=i),{week:a,year:r}}function E(e,t,n){var a=Ze(e,t,n),t=Ze(e+1,t,n);return(Te(e)-a+t)/7}function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}a("w",["ww",2],"wo","week"),a("W",["WW",2],"Wo","isoWeek"),y("w",n,m),y("ww",n,t),y("W",n,m),y("WW",n,t),_e(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=w(e)}),a("d",0,"do","day"),a("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),a("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),a("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),a("e",0,0,"weekday"),a("E",0,0,"isoWeekday"),y("d",n),y("e",n),y("E",n),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),_e(["dd","ddd","dddd"],function(e,t,n,a){a=n._locale.weekdaysParse(e,a,n._strict);null!=a?t.d=a:f(n).invalidWeekday=e}),_e(["d","e","E"],function(e,t,n,a){t[a]=w(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=r,nt=r,at=r;function rt(){function e(e,t){return t.length-e.length}for(var t,n,a,r=[],i=[],o=[],s=[],l=0;l<7;l++)a=c([2e3,1]).day(l),t=v(this.weekdaysMin(a,"")),n=v(this.weekdaysShort(a,"")),a=v(this.weekdays(a,"")),r.push(t),i.push(n),o.push(a),s.push(t),s.push(n),s.push(a);r.sort(e),i.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("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){a(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}a("H",["HH",2],0,"hour"),a("h",["hh",2],0,it),a("k",["kk",2],0,function(){return this.hours()||24}),a("hmm",0,0,function(){return""+it.apply(this)+i(this.minutes(),2)}),a("hmmss",0,0,function(){return""+it.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),a("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),a("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),ot("a",!0),ot("A",!1),y("a",st),y("A",st),y("H",n,h),y("h",n,m),y("k",n,m),y("HH",n,t),y("hh",n,t),y("kk",n,t),y("hmm",pe),y("hmmss",fe),y("Hmm",pe),y("Hmmss",fe),x(["H","HH"],S),x(["k","kk"],function(e,t,n){e=w(e);t[S]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[S]=w(e),f(n).bigHour=!0}),x("hmm",function(e,t,n){var a=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a)),f(n).bigHour=!0}),x("hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a,2)),t[_]=w(e.substr(r)),f(n).bigHour=!0}),x("Hmm",function(e,t,n){var a=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a))}),x("Hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[S]=w(e.substr(0,a)),t[F]=w(e.substr(a,2)),t[_]=w(e.substr(r))}),r=Ie("Hours",!0);var lt,ct={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:Ne,monthsShort:Oe,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},M={},dt={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function mt(e){for(var t,n,a,r,i=0;i<e.length;){for(t=(r=ut(e[i]).split("-")).length,n=(n=ut(e[i+1]))?n.split("-"):null;0<t;){if(a=ht(r.slice(0,t).join("-")))return a;if(n&&n.length>=t&&((e,t)=>{for(var n=Math.min(e.length,t.length),a=0;a<n;a+=1)if(e[a]!==t[a])return a;return n})(r,n)>=t-1)break;t--}i++}return lt}function ht(t){var e,n;if(void 0===M[t]&&za&&za.exports&&(n=t)&&n.match("^[^/\\\\]*$"))try{e=lt._abbr,Mn(),gt(e)}catch(e){M[t]=null}return M[t]}function gt(e,t){return e&&((t=s(t)?L(e):pt(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function pt(e,t){if(null===t)return delete M[e],null;var n,a=ct;if(t.abbr=e,null!=M[e])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=M[e]._config;else if(null!=t.parentLocale)if(null!=M[t.parentLocale])a=M[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;a=n._config}return M[e]=new ee(Q(a,t)),dt[e]&&dt[e].forEach(function(e){pt(e.name,e.config)}),gt(e),M[e]}function L(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!o(e)){if(t=ht(e))return t;e=[e]}return mt(e)}function ft(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[C]<0||11<t[C]?C:t[k]<1||t[k]>Ae(t[$],t[C])?k:t[S]<0||24<t[S]||24===t[S]&&(0!==t[F]||0!==t[_]||0!==t[Ee])?S:t[F]<0||59<t[F]?F:t[_]<0||59<t[_]?_:t[Ee]<0||999<t[Ee]?Ee:-1,f(e)._overflowDayOfYear&&(t<$||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Me),f(e)._overflowWeekday&&-1===t&&(t=Le),f(e).overflow=t),e}var 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=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,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]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$t=/^\/?Date\((-?\d+)/i,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}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,a,r,i,o,s=e._i,l=yt.exec(s)||vt.exec(s),s=wt.length,c=xt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(wt[t][1].exec(l[1])){r=wt[t][0],a=!1!==wt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(xt[t][1].exec(l[3])){i=(l[2]||" ")+xt[t][0];break}if(null==i)return e._isValid=!1}if(!a&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=r+(i||"")+(o||""),Mt(e)}else e._isValid=!1}function Ft(e,t,n,a,r,i){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),Oe.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return i&&e.push(parseInt(i,10)),e}function _t(e){var t,n,a,r,i=Ct.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=Ft(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],a=t,r=e,n&&Qe.indexOf(n)!==new Date(a[0],a[1],a[2]).getDay()?(f(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=i[8],a=i[9],r=i[10],n?kt[n]:a?0:((n=parseInt(r,10))-(a=n%100))/100*60+a),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Gt(e,t,n){return null!=e?e:null!=t?t:n}function Et(e){var t,n,a,r,i,o,s,l,c,d,u,m=[];if(!e._d){for(d=e,u=new Date(g.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[k]&&null==e._a[C]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,a=Gt(u.GG,d._a[$],Je(T(),1,4).year),r=Gt(u.W,1),((i=Gt(u.E,1))<1||7<i)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Je(T(),o,s),a=Gt(u.gg,d._a[$],c.year),r=Gt(u.w,c.week),null!=u.d?((i=u.d)<0||6<i)&&(l=!0):null!=u.e?(i=u.e+o,(u.e<0||6<u.e)&&(l=!0)):i=o),r<1||r>E(a,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=qe(a,r,i,o,s),d._a[$]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Gt(e._a[$],n[$]),(e._dayOfYear>Te(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=Ve(u,0,e._dayOfYear),e._a[C]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[S]&&0===e._a[F]&&0===e._a[_]&&0===e._a[Ee]&&(e._nextDay=!0,e._a[S]=0),e._d=(e._useUTC?Ve:Ye).apply(null,m),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[S]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(f(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==g.ISO_8601)if(e._f!==g.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,a,r=""+e._i,i=r.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)a=n[l],(t=(r.match(ke(a,e))||[])[0])&&(0<(u=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(u),r=r.slice(r.indexOf(t)+t.length),o+=t.length),ie[a]?(t?f(e).empty=!1:f(e).unusedTokens.push(a),u=a,h=e,null!=(m=t)&&p(Fe,u)&&Fe[u](m,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(a);f(e).charsLeftOver=i-o,0<r.length&&f(e).unusedInput.push(r),e._a[S]<=12&&!0===f(e).bigHour&&0<e._a[S]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[S]=(i=e._locale,c=e._a[S],null==(d=e._meridiem)?c:null!=i.meridiemHour?i.meridiemHour(c,d):null!=i.isPM?((i=i.isPM(d))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(d=f(e).era)&&(e._a[$]=e._locale.erasConvertYear(d,e._a[$])),Et(e),ft(e)}else _t(e);else St(e);var c,d,u,m,h}function Lt(e){var t,n=e._i,a=e._f;{var r,i;return(e._locale=e._locale||L(e._l),null===n||void 0===a&&""===n)?U({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new q(ft(n)):(B(n)?e._d=n:o(a)?(e=>{var t,n,a,r,i,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)i=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Mt(t),z(t)&&(o=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,s?i<a&&(a=i,n=t):(null==a||i<a||o)&&(a=i,n=t,o)&&(s=!0);j(e,n||t)})(e):a?Mt(e):s(a=(n=e)._i)?n._d=new Date(g.now()):B(a)?n._d=new Date(a.valueOf()):"string"==typeof a?(r=n,null===(i=$t.exec(r._i))?(St(r),!1===r._isValid&&(delete r._isValid,_t(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:g.createFromInputFallback(r))):r._d=new Date(+i[1])):o(a)?(n._a=H(a.slice(0),function(e){return parseInt(e,10)}),Et(n)):A(a)?(r=n)._d||(t=void 0===(i=ce(r._i)).day?i.date:i.day,r._a=H([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Et(r)):O(a)?n._d=new Date(a):g.createFromInputFallback(n),z(e)||(e._d=null),e))}}function Tt(e,t,n,a,r){var i={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(A(e)&&N(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=r,i._l=n,i._i=e,i._f=t,i._strict=a,(r=new q(ft(Lt(r=i))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function T(e,t,n,a){return Tt(e,t,n,a,!1)}function Pt(e,t){var n,a;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return T();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}g.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),g.ISO_8601=function(){},g.RFC_2822=function(){},pe=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:U()}),fe=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:U()});var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,a=e.month||0,r=e.week||e.isoWeek||0,i=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=(e=>{var t,n,a=!1,r=It.length;for(t in e)if(p(e,t)&&(-1===G.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[It[n]]){if(a)return!1;parseFloat(e[It[n]])!==w(e[It[n]])&&(a=!0)}return!0})(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*r,this._months=+a+3*n+12*t,this._data={},this._locale=L(),this._bubble()}function Dt(e){return e instanceof Rt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,n){a(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+i(~~(e/60),2)+n+i(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),y("Z",Ce),y("ZZ",Ce),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(Ce,e)});var Ot=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ot)||["-",0,0])[1]+w(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||B(e)?e:T(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),g.updateOffset(t,!1),t):T(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}g.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var n,a,r=e;return Dt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:O(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Ut.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:w(t[k])*n,h:w(t[S])*n,m:w(t[F])*n,s:w(t[_])*n,ms:w(At(1e3*t[Ee]))*n}):(t=Wt.exec(e))?(n="-"===t[1]?-1:1,r={y:Yt(t[2],n),M:Yt(t[3],n),w:Yt(t[4],n),d:Yt(t[5],n),h:Yt(t[6],n),m:Yt(t[7],n),s:Yt(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=T(r.from),n=T(r.to),t=t.isValid()&&n.isValid()?(n=Ht(n,t),t.isBefore(n)?a=Vt(t,n):((a=Vt(n,t)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),a=new Rt(r),Dt(e)&&p(e,"_locale")&&(a._locale=e._locale),Dt(e)&&p(e,"_isValid")&&(a._isValid=e._isValid),a}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(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 Zt(a,r){return function(e,t){var n;return null===t||isNaN(+t)||(X(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,P(e,t),a),this}}function qt(e,t,n,a){var r=t._milliseconds,i=At(t._days),t=At(t._months);e.isValid()&&(a=null==a||a,t&&ze(e,Re(e,"Month")+t*n),i&&De(e,"Date",Re(e,"Date")+i*n),r&&e._d.setTime(e._d.valueOf()+r*n),a)&&g.updateOffset(e,i||t)}function Jt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||B(e)||Jt(e)||O(e)||(n=o(t=e),a=!1,n&&(a=0===t.filter(function(e){return!O(e)&&Jt(t)}).length),n&&a)||(e=>{var t,n,a=A(e)&&!N(e),r=!1,i=["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=i.length;for(t=0;t<o;t+=1)n=i[t],r=r||p(e,n);return a&&r})(e)||null==e;var t,n,a}function Xt(e,t){var n,a;return e.date()<t.date()?-Xt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(a=e.clone().add(n,"months"))<0?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(1+n,"months")-a)))||0}function Qt(e){return void 0===e?this._locale._abbr:(null!=(e=L(e))&&(this._locale=e),this)}function en(){return this._locale}P.fn=Rt.prototype,P.invalid=function(){return P(NaN)},Ne=Zt(1,"add"),Xe=Zt(-1,"subtract"),g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",et=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)});var tn=126227808e5;function nn(e,t){return(e%t+t)%t}function an(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-tn:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-tn:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e,t,n,a=[],r=[],i=[],o=[],s=this.eras(),l=0,c=s.length;l<c;++l)e=v(s[l].name),t=v(s[l].abbr),n=v(s[l].narrow),r.push(e),a.push(t),i.push(n),o.push(e),o.push(t),o.push(n);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ln(e,t){a(0,[e,e.length],0,t)}function cn(e,t,n,a,r){var i;return null==e?Je(this,a,r).year:(t>(i=E(e,a,r))&&(t=i),function(e,t,n,a,r){e=qe(e,t,n,a,r),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,a,r))}a("N",0,0,"eraAbbr"),a("NN",0,0,"eraAbbr"),a("NNN",0,0,"eraAbbr"),a("NNNN",0,0,"eraName"),a("NNNNN",0,0,"eraNarrow"),a("y",["y",1],"yo","eraYear"),a("y",["yy",2],0,"eraYear"),a("y",["yyy",3],0,"eraYear"),a("y",["yyyy",4],0,"eraYear"),y("N",on),y("NN",on),y("NNN",on),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,a){a=n._locale.erasParse(e,a,n._strict);a?f(n).era=a:f(n).invalidEra=e}),y("y",we),y("yy",we),y("yyy",we),y("yyyy",we),y("yo",function(e,t){return t._eraYearOrdinalRegex||we}),x(["y","yy","yyy","yyyy"],$),x(["yo"],function(e,t,n,a){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[$]=n._locale.eraYearOrdinalParse(e,r):t[$]=parseInt(e,10)}),a(0,["gg",2],0,function(){return this.weekYear()%100}),a(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),y("G",xe),y("g",xe),y("GG",n,t),y("gg",n,t),y("GGGG",ve,he),y("gggg",ve,he),y("GGGGG",be,ge),y("ggggg",be,ge),_e(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=w(e)}),_e(["gg","GG"],function(e,t,n,a){t[a]=g.parseTwoDigitYear(e)}),a("Q",0,"Qo","quarter"),y("Q",ue),x("Q",function(e,t){t[C]=3*(w(e)-1)}),a("D",["DD",2],"Do","date"),y("D",n,m),y("DD",n,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],k),x("Do",function(e,t){t[k]=w(e.match(n)[0])}),ve=Ie("Date",!0),a("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",me),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),a("m",["mm",2],0,"minute"),y("m",n,h),y("mm",n,t),x(["m","mm"],F),he=Ie("Minutes",!1),a("s",["ss",2],0,"second"),y("s",n,h),y("ss",n,t),x(["s","ss"],_);var dn,be=Ie("Seconds",!1);for(a("S",0,0,function(){return~~(this.millisecond()/100)}),a(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),a(0,["SSS",3],0,"millisecond"),a(0,["SSSS",4],0,function(){return 10*this.millisecond()}),a(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),a(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),a(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),a(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),a(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,ue),y("SS",ye,t),y("SSS",ye,me),dn="SSSS";dn.length<=9;dn+="S")y(dn,we);function un(e,t){t[Ee]=w(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")x(dn,un);function mn(e){return e}function hn(e,t,n,a){var r=L(),a=c().set(a,t);return r[n](a,e)}function gn(e,t,n){if(O(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var a=[],r=0;r<12;r++)a[r]=hn(e,r,n,"month");return a}function pn(e,t,n,a){t=("boolean"==typeof e||(n=t=e,e=!1),O(t)&&(n=t,t=void 0),t||"");var r,i=L(),o=e?i._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,a,"day");for(r=0;r<7;r++)s[r]=hn(t,(r+o)%7,a,"day");return s}ge=Ie("Milliseconds",!1),a("z",0,0,"zoneAbbr"),a("zz",0,0,"zoneName"),(m=q.prototype).add=Ne,m.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=A(e)&&!N(e),n=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<a.length;r+=1)n=n||p(e,a[r]);return t&&n})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||T(),n=Ht(e,this).startOf("day"),n=g.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,T(e)))},m.clone=function(){return new q(this)},m.diff=function(e,t,n){var a,r,i;if(!this.isValid())return NaN;if(!(a=Ht(e,this)).isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=Xt(this,a)/12;break;case"month":i=Xt(this,a);break;case"quarter":i=Xt(this,a)/3;break;case"second":i=(this-a)/1e3;break;case"minute":i=(this-a)/6e4;break;case"hour":i=(this-a)/36e5;break;case"day":i=(this-a-r)/864e5;break;case"week":i=(this-a-r)/6048e5;break;default:i=this-a}return n?i:b(i)},m.endOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:an,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-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}this._d.setTime(t),g.updateOffset(this,!0)}return this},m.format=function(e){return e=e||(this.isUtc()?g.defaultFormatUtc:g.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},m.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()},m.fromNow=function(e){return this.from(T(),e)},m.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()},m.toNow=function(e){return this.to(T(),e)},m.get=function(e){return d(this[e=u(e)])?this[e]():this},m.invalidAt=function(){return f(this).overflow},m.isAfter=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},m.isBefore=function(e,t){return e=l(e)?e:T(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},m.isBetween=function(e,t,n,a){return e=l(e)?e:T(e),t=l(t)?t:T(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(a=a||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))},m.isSame=function(e,t){var e=l(e)?e:T(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},m.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},m.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},m.isValid=function(){return z(this)},m.lang=et,m.locale=Qt,m.localeData=en,m.max=fe,m.min=pe,m.parsingFlags=function(){return j({},f(this))},m.set=function(e,t){if("object"==typeof e)for(var n=(e=>{var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n})(e=ce(e)),a=n.length,r=0;r<a;r++)this[n[r].unit](e[n[r].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},m.startOf=function(e){var t,n;if(void 0!==(e=u(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:an,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-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}this._d.setTime(t),g.updateOffset(this,!0)}return this},m.subtract=Xe,m.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},m.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()}},m.toDate=function(){return new Date(this.valueOf())},m.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},m.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(m[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},m.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},m.eraName=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},m.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},m.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,a=t.length;n<a;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},m.eraYear=function(){for(var e,t,n=this.localeData().eras(),a=0,r=n.length;a<r;++a)if(e=n[a].since<=n[a].until?1:-1,t=this.clone().startOf("day").valueOf(),n[a].since<=t&&t<=n[a].until||n[a].until<=t&&t<=n[a].since)return(this.year()-g(n[a].since).year())*e+n[a].offset;return this.year()},m.year=Pe,m.isLeapYear=function(){return Ge(this.year())},m.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},m.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},m.quarter=m.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},m.month=Ue,m.daysInMonth=function(){return Ae(this.year(),this.month())},m.week=m.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},m.isoWeek=m.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},m.weeksInYear=function(){var e=this.localeData()._week;return E(this.year(),e.dow,e.doy)},m.weeksInWeekYear=function(){var e=this.localeData()._week;return E(this.weekYear(),e.dow,e.doy)},m.isoWeeksInYear=function(){return E(this.year(),1,4)},m.isoWeeksInISOWeekYear=function(){return E(this.isoWeekYear(),1,4)},m.date=ve,m.day=m.days=function(e){var t,n,a;return this.isValid()?(t=Re(this,"Day"),null!=e?(n=e,a=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=a.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},m.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},m.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},m.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")},m.hour=m.hours=r,m.minute=m.minutes=he,m.second=m.seconds=be,m.millisecond=m.milliseconds=ge,m.utcOffset=function(e,t,n){var a,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:jt(this);if("string"==typeof e){if(null===(e=Bt(Ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=jt(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?qt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this},m.utc=function(e){return this.utcOffset(0,e)},m.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},m.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt($e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},m.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?T(e).utcOffset():0,(this.utcOffset()-e)%60==0)},m.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},m.isLocal=function(){return!!this.isValid()&&!this._isUTC},m.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},m.isUtc=zt,m.isUTC=zt,m.zoneAbbr=function(){return this._isUTC?"UTC":""},m.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},m.dates=e("dates accessor is deprecated. Use date instead.",ve),m.months=e("months accessor is deprecated. Use month instead",Ue),m.years=e("years accessor is deprecated. Use year instead",Pe),m.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()}),m.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(Z(t={},this),(t=Lt(t))._a?(e=(t._isUTC?c:T)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,n)=>{for(var a=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0,o=0;o<a;o++)(n&&e[o]!==t[o]||!n&&w(e[o])!==w(t[o]))&&i++;return i+r})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(h=ee.prototype).calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},h.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])},h.invalidDate=function(){return this._invalidDate},h.ordinal=function(e){return this._ordinal.replace("%d",e)},h.preparse=mn,h.postformat=mn,h.relativeTime=function(e,t,n,a){var r=this._relativeTime[n];return d(r)?r(e,t,n,a):r.replace(/%d/i,e)},h.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},h.set=function(e){var t,n;for(n in e)p(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},h.eras=function(e,t){for(var n,a=this._eras||L("en")._eras,r=0,i=a.length;r<i;++r)switch("string"==typeof a[r].since&&(n=g(a[r].since).startOf("day"),a[r].since=n.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=g(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf()}return a},h.erasParse=function(e,t,n){var a,r,i,o,s,l=this.eras();for(e=e.toUpperCase(),a=0,r=l.length;a<r;++a)if(i=l[a].name.toUpperCase(),o=l[a].abbr.toUpperCase(),s=l[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[a];break;case"NNNN":if(i===e)return l[a];break;case"NNNNN":if(s===e)return l[a]}else if(0<=[i,o,s].indexOf(e))return l[a]},h.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?g(e.since).year():g(e.since).year()+(t-e.offset)*n},h.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},h.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},h.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},h.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Be).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},h.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Be.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},h.monthsParse=function(e,t,n){var a,r;if(this._monthsParseExact)return function(e,t,n){var a,r,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)i=c([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=G.call(this._shortMonthsParse,e))?r:null:-1!==(r=G.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=G.call(this._shortMonthsParse,e))||-1!==(r=G.call(this._longMonthsParse,e))?r:null:-1!==(r=G.call(this._longMonthsParse,e))||-1!==(r=G.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=c([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}},h.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},h.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},h.week=function(e){return Je(e,this._week.dow,this._week.doy).week},h.firstDayOfYear=function(){return this._week.doy},h.firstDayOfWeek=function(){return this._week.dow},h.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},h.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},h.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},h.weekdaysParse=function(e,t,n){var a,r;if(this._weekdaysParseExact)return function(e,t,n){var a,r,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)i=c([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=G.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=G.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=G.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=G.call(this._weekdaysParse,e))||-1!==(r=G.call(this._shortWeekdaysParse,e))||-1!==(r=G.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=G.call(this._shortWeekdaysParse,e))||-1!==(r=G.call(this._weekdaysParse,e))||-1!==(r=G.call(this._minWeekdaysParse,e))?r:null:-1!==(r=G.call(this._minWeekdaysParse,e))||-1!==(r=G.call(this._weekdaysParse,e))||-1!==(r=G.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=c([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}},h.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},h.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},h.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=at),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},h.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},h.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},gt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),g.lang=e("moment.lang is deprecated. Use moment.locale instead.",gt),g.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var I=Math.abs;function fn(e,t,n,a){t=P(t,n);return e._milliseconds+=a*t._milliseconds,e._days+=a*t._days,e._months+=a*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=wn("ms"),t=wn("s"),ye=wn("m"),me=wn("h"),Ne=wn("d"),fe=wn("w"),pe=wn("M"),Xe=wn("Q"),r=wn("y"),he=ue;var be=xn("milliseconds"),ge=xn("seconds"),ve=xn("minutes"),Pe=xn("hours"),h=xn("days"),$n=xn("months"),Cn=xn("years"),kn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Fn(e,t,n,a){var r=P(e).abs(),i=kn(r.as("s")),o=kn(r.as("m")),s=kn(r.as("h")),l=kn(r.as("d")),c=kn(r.as("M")),d=kn(r.as("w")),r=kn(r.as("y")),i=(i<=n.ss?["s",i]:i<n.s&&["ss",i])||(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(i=(i=null!=n.w?i||(d<=1?["w"]:d<n.w&&["ww",d]):i)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,i[3]=0<+e,i[4]=a,function(e,t,n,a,r){return r.relativeTime(t||1,!!n,e,a)}.apply(null,i)}var _n=Math.abs;function Gn(e){return(0<e)-(e<0)||+e}function En(){var e,t,n,a,r,i,o,s,l,c,d;return this.isValid()?(s=_n(this._milliseconds)/1e3,l=_n(this._days),c=_n(this._months),(d=this.asSeconds())?(e=b(s/60),t=b(e/60),s%=60,e%=60,n=b(c/12),c%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Gn(this._months)!==Gn(d)?"-":"",i=Gn(this._days)!==Gn(d)?"-":"",o=Gn(this._milliseconds)!==Gn(d)?"-":"",(d<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+a+"S":"")):"P0D"):this.localeData().invalidDate()}var R=Rt.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=I(this._milliseconds),this._days=I(this._days),this._months=I(this._months),e.milliseconds=I(e.milliseconds),e.seconds=I(e.seconds),e.minutes=I(e.minutes),e.hours=I(e.hours),e.months=I(e.months),e.years=I(e.years),this},R.add=function(e,t){return fn(this,e,t,1)},R.subtract=function(e,t){return fn(this,e,t,-1)},R.as=function(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+a/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=ue,R.asSeconds=t,R.asMinutes=ye,R.asHours=me,R.asDays=Ne,R.asWeeks=fe,R.asMonths=pe,R.asQuarters=Xe,R.asYears=r,R.valueOf=he,R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,a=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=t=0),a.milliseconds=e%1e3,e=b(e/1e3),a.seconds=e%60,e=b(e/60),a.minutes=e%60,e=b(e/60),a.hours=e%24,t+=b(e/24),n+=e=b(vn(t)),t-=yn(bn(e)),e=b(n/12),n%=12,a.days=t,a.months=n,a.years=e,this},R.clone=function(){return P(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=be,R.seconds=ge,R.minutes=ve,R.hours=Pe,R.days=h,R.weeks=function(){return b(this.days()/7)},R.months=$n,R.years=Cn,R.humanize=function(e,t){var n,a;return this.isValid()?(n=!1,a=Sn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(a=Object.assign({},Sn,t),null!=t.s)&&null==t.ss&&(a.ss=t.s-1),t=Fn(this,!n,a,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},R.toISOString=En,R.toString=En,R.toJSON=En,R.locale=Qt,R.localeData=en,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",En),R.lang=et,a("X",0,0,"unix"),a("x",0,0,"valueOf"),y("x",xe),y("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(w(e))}),g.version="2.30.1",D=T,g.fn=m,g.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},g.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=c,g.unix=function(e){return T(1e3*e)},g.months=function(e,t){return gn(e,t,"months")},g.isDate=B,g.locale=gt,g.invalid=U,g.duration=P,g.isMoment=l,g.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},g.parseZone=function(){return T.apply(null,arguments).parseZone()},g.localeData=L,g.isDuration=Dt,g.monthsShort=function(e,t){return gn(e,t,"monthsShort")},g.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},g.defineLocale=pt,g.updateLocale=function(e,t){var n,a;return null!=t?(a=ct,null!=M[e]&&null!=M[e].parentLocale?M[e].set(Q(M[e]._config,t)):(t=Q(a=null!=(n=ht(e))?n._config:a,t),null==n&&(t.abbr=e),(a=new ee(t)).parentLocale=M[e],M[e]=a),gt(e)):null!=M[e]&&(null!=M[e].parentLocale?(M[e]=M[e].parentLocale,e===gt()&&gt(e)):null!=M[e]&&delete M[e]),M[e]},g.locales=function(){return te(M)},g.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},g.normalizeUnits=u,g.relativeTimeRounding=function(e){return void 0===e?kn:"function"==typeof e&&(kn=e,!0)},g.relativeTimeThreshold=function(e,t){return void 0!==Sn[e]&&(void 0===t?Sn[e]:(Sn[e]=t,"s"===e&&(Sn.ss=t-1),!0))},g.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},g.prototype=m,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g})();var ja,za,Ua=ja.exports;function Wa(e,t){oa(e,t)}let Ya={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Va={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 Za(e,t,n){e=e.slice();return e[104]=t[n],e[106]=n,e}function qa(e,t,n){e=e.slice();return e[101]=t[n],e}function Ja(n){let a,r,i,o,s,l,e=!nt(n[36]),c=n[35]("playNow")+"",d=e&&(()=>{let n,a,r,i,o,s;return{c(){n=H("svg"),a=H("g"),r=H("g"),i=H("path"),o=H("path"),s=H("path"),fe(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),fe(i,"stroke","none"),fe(o,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),fe(o,"stroke","none"),fe(o,"fill","#fff"),fe(r,"id","Ellipse_664_copy"),fe(r,"data-name","Ellipse 664 copy"),fe(r,"transform","translate(26 13)"),fe(r,"fill","rgba(249,165,2,0)"),fe(s,"id","Rounded_Rectangle_683"),fe(s,"data-name","Rounded Rectangle 683"),fe(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),fe(s,"transform","translate(-1102 -885)"),fe(s,"fill","#fff"),fe(a,"id","Group_5260"),fe(a,"data-name","Group 5260"),fe(a,"transform","translate(-26 -13)"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"width","28"),fe(n,"height","28"),fe(n,"viewBox","0 0 28 28")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(r,i),de(r,o),de(a,s)},d(e){e&&me(n)}}})();return{c(){a=he("button"),d&&d.c(),r=pe(),i=he("span"),o=ge(c),fe(a,"class","GameInfoBtn")},m(e,t){ue(e,a,t),d&&d.m(a,null),de(a,r),de(a,i),de(i,o),s||(l=j(a,"click",n[63]),s=!0)},p(e,t){16&t[1]&&c!==(c=e[35]("playNow")+"")&&ye(o,c)},d(e){e&&me(a),d&&d.d(),s=!1,l()}}}function Ka(e){let n,a,r=e[35]("new")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&r!==(r=e[35]("new")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Xa(e){let n,a;return{c(){n=he("span"),a=ge(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function Qa(e){let n,a,r=!e[22]&&e[20]&&e[21]&&er(e);function i(e){return e[22]&&e[19]&&e[19]===fr?nr:e[22]&&e[19]&&e[19]===yr?tr:void 0}let o=i(e),s=o&&o(e);return{c(){r&&r.c(),n=pe(),s&&s.c(),a=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){!e[22]&&e[20]&&e[21]?r?r.p(e,t):((r=er(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){r&&r.d(e),e&&me(n),s&&s.d(e),e&&me(a)}}}function er(e){let n,a,r,i,o,s,l,c,d,u,m=e[35]("opens")+"",h=Ua.utc(e[20]).local().format(e[21])+"",g=e[41](e[34])+"",p=e[40](e[26],e[27],e[25])+"";return{c(){n=he("div"),a=he("div"),r=ge(m),i=pe(),o=he("span"),s=ge(h),l=pe(),c=new T(!1),d=pe(),u=new T(!1),fe(a,"class","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(a,o),de(o,s),de(n,l),c.m(g,n),de(n,d),u.m(p,n)},p(e,t){16&t[1]&&m!==(m=e[35]("opens")+"")&&ye(r,m),3145728&t[0]&&h!==(h=Ua.utc(e[20]).local().format(e[21])+"")&&ye(s,h),8&t[1]&&g!==(g=e[41](e[34])+"")&&c.p(g),234881024&t[0]&&p!==(p=e[40](e[26],e[27],e[25])+"")&&u.p(p)},d(e){e&&me(n)}}}function tr(n){let r,i,a,o,s,l,c=n[41](n[34])+"",d=n[40](n[26],n[27],n[25])+"",u=new Array(br),m=[];for(let e=0;e<u.length;e+=1)m[e]=or(Za(n,u,e));return{c(){r=he("div"),i=he("div");for(let e=0;e<m.length;e+=1)m[e].c();a=pe(),o=new T(!1),s=pe(),l=new T(!1),fe(i,"class","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[30])},m(e,t){ue(e,r,t),de(r,i);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(i,null);n[64](i),de(r,a),o.m(c,r),de(r,s),l.m(d,r)},p(n,a){if(536887296&a[0]|2049&a[1]){let t;for(u=new Array(br),t=0;t<u.length;t+=1){let e=Za(n,u,t);m[t]?m[t].p(e,a):(m[t]=or(e),m[t].c(),m[t].m(i,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=u.length}8&a[1]&&c!==(c=n[41](n[34])+"")&&o.p(c),234881024&a[0]&&d!==(d=n[40](n[26],n[27],n[25])+"")&&l.p(d),1073741824&a[0]&&fe(r,"class",n[30])},d(e){e&&me(r),B(m,e),n[64](null)}}}function nr(e){let n,a,r,i,o,s,l=e[41](e[34])+"",c=e[40](e[26],e[27],e[25])+"";function d(e){return e[32]?lr:sr}let u=d(e),m=u(e);return{c(){n=he("div"),a=he("div"),m.c(),r=pe(),i=new T(!1),o=pe(),s=new T(!1),fe(a,"class","LiveIcons"),i.a=o,s.a=null,fe(n,"class","GameProp LiveProps BlackjackDisplay"),fe(n,"part","GameProp LiveProps BlackjackDisplay")},m(e,t){ue(e,n,t),de(n,a),m.m(a,null),de(n,r),i.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(a,null))),8&t[1]&&l!==(l=e[41](e[34])+"")&&i.p(l),234881024&t[0]&&c!==(c=e[40](e[26],e[27],e[25])+"")&&s.p(c)},d(e){e&&me(n),m.d()}}}function ar(e){let n;function a(e){return e[29]?ir:rr}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function rr(e){let n,a,r=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"";return{c(){n=new T(!1),a=c(),n.a=a},m(e,t){n.m(r,e,t),ue(e,a,t)},p(e,t){16384&t[0]|1&t[1]&&r!==(r=e[42]("LatestResult "+(0===e[106]?"First":""),e[106],e[14][e[106]],e[31][e[14][e[106]]])+"")&&n.p(r)},d(e){e&&me(a),e&&n.d()}}}function ir(e){let n,a,r,i,o,s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"",l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"";return{c(){n=he("div"),a=new T(!1),r=pe(),i=new T(!1),o=pe(),a.a=r,i.a=o,fe(n,"class","Double")},m(e,t){ue(e,n,t),a.m(s,n),de(n,r),i.m(l,n),de(n,o)},p(e,t){16384&t[0]|1&t[1]&&s!==(s=e[42]("LatestResult "+(0===e[106]?"First":""),"first"+e[106]+e[14][e[106]][0],e[14][e[106]][0],e[31][e[14][e[106]][0]])+"")&&a.p(s),16384&t[0]|1&t[1]&&l!==(l=e[42]("LatestResult "+(0===e[106]?"First":""),"second"+e[106]+e[14][e[106]][1],e[14][e[106]][1],e[31][e[14][e[106]][1]])+"")&&i.p(l)},d(e){e&&me(n)}}}function or(e){let n,a=e[14]&&e[14][e[106]]&&ar(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[14]&&e[14][e[106]]?a?a.p(e,t):((a=ar(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function sr(t){let r,i=t[24],o=[];for(let e=0;e<i.length;e+=1)o[e]=cr(qa(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(285212672&n[0]|256&n[1]){let e;for(i=t[24],e=0;e<i.length;e+=1){var a=qa(t,i,e);o[e]?o[e].p(a,n):(o[e]=cr(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function lr(e){let n,a,r=e[35]("full")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","FullTable")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[1]&&r!==(r=e[35]("full")+"")&&ye(a,r)},d(e){e&&me(n)}}}function cr(e){let n,a,r,i,o,s;return{c(){n=he("span"),a=H("svg"),r=H("path"),i=H("path"),o=pe(),fe(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(a,"width","13"),fe(a,"height","14"),fe(a,"viewBox","0 0 13 14"),fe(n,"class",s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(n,o)},p(e,t){285212672&t[0]&&s!==(s=e[39](e[28],e[101].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s)},d(e){e&&me(n)}}}function dr(e){let n;return{c(){(n=he("div")).innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function ur(e){let n,a,r;function i(e){return e[0]&&e[16]&&e[2]?hr:!e[0]&&e[16]?mr:void 0}let o=i(e),s=o&&o(e);return{c(){n=he("div"),a=he("span"),r=pe(),s&&s.c(),fe(a,"class","GameInfoVendor"),_(a,"background-image","url("+e[5]+")"),fe(n,"class","GameTopContainer")},m(e,t){ue(e,n,t),de(n,a),de(n,r),s&&s.m(n,null)},p(e,t){32&t[0]&&_(a,"background-image","url("+e[5]+")"),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),s&&s.d()}}}function mr(n){let a,r,i;return{c(){(a=he("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),r||(i=j(a,"click",n[66]),r=!0)},p:G,d(e){e&&me(a),r=!1,i()}}}function hr(n){let a,r,i;return{c(){(a=he("div")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',fe(a,"class","FavIconContainer")},m(e,t){ue(e,a,t),r||(i=j(a,"click",n[65]),r=!0)},p:G,d(e){e&&me(a),r=!1,i()}}}function gr(e){let n,a;return{c(){n=he("p"),a=ge(e[4]),fe(n,"class","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,a)},p(e,t){16&t[0]&&ye(a,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&me(n)}}}function pr(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,t,y,v,b,w=n[1]&&Ja(n),x=n[7]&&Ka(n),$=n[8]&&Xa(n),C=n[13]&&Qa(n);function k(e){return(t=null==t?!nt(e[36]):t)?ur:e[0]&&e[16]&&e[2]?dr:void 0}let S=k(n),F=S&&S(n),_="true"===n[10]&&gr(n);return{c(){a=he("div"),r=he("div"),i=he("img"),l=pe(),c=he("div"),d=he("div"),w&&w.c(),u=pe(),m=he("div"),h=he("div"),x&&x.c(),g=pe(),$&&$.c(),p=pe(),C&&C.c(),f=pe(),F&&F.c(),v=pe(),_&&_.c(),this.c=G,ce(i.src,o=n[3])||fe(i,"src",o),fe(i,"class",s=`GameBg GameBg-${n[9]} `+(n[17]?"Loaded":"")),fe(i,"alt","Game thumbnail"),fe(i,"loading","lazy"),fe(d,"class","GameInfo"),fe(c,"class","GameInfoWrapper"),fe(h,"class","GameExtraInfo"),fe(m,"class","GameExtraInfoContainer"),fe(r,"class",y="GameInnerContainer "+(n[13]&&!n[22]&&n[23].value||n[13]&&n[32]?"GameInnerContainerUnavailable":"")),fe(a,"class",b=`GameContainer ${n[33]} `+("true"==n[11]?"CasinoGamesGridSlider":"")),L(a,"WithGameName",n[10])},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[62](i),de(r,l),de(r,c),de(c,d),w&&w.m(d,null),de(r,u),de(r,m),de(m,h),x&&x.m(h,null),de(h,g),$&&$.m(h,null),de(h,p),C&&C.m(h,null),de(m,f),F&&F.m(m,null),de(a,v),_&&_.m(a,null),n[67](a)},p(e,t){8&t[0]&&!ce(i.src,o=e[3])&&fe(i,"src",o),131584&t[0]&&s!==(s=`GameBg GameBg-${e[9]} `+(e[17]?"Loaded":""))&&fe(i,"class",s),e[1]?w?w.p(e,t):((w=Ja(e)).c(),w.m(d,null)):w&&(w.d(1),w=null),e[7]?x?x.p(e,t):((x=Ka(e)).c(),x.m(h,g)):x&&(x.d(1),x=null),e[8]?$?$.p(e,t):(($=Xa(e)).c(),$.m(h,p)):$&&($.d(1),$=null),e[13]?C?C.p(e,t):((C=Qa(e)).c(),C.m(h,null)):C&&(C.d(1),C=null),S===(S=k(e))&&F?F.p(e,t):(F&&F.d(1),(F=S&&S(e))&&(F.c(),F.m(m,null))),12591104&t[0]|2&t[1]&&y!==(y="GameInnerContainer "+(e[13]&&!e[22]&&e[23].value||e[13]&&e[32]?"GameInnerContainerUnavailable":""))&&fe(r,"class",y),"true"===e[10]?_?_.p(e,t):((_=gr(e)).c(),_.m(a,null)):_&&(_.d(1),_=null),2048&t[0]|4&t[1]&&b!==(b=`GameContainer ${e[33]} `+("true"==e[11]?"CasinoGamesGridSlider":""))&&fe(a,"class",b),3072&t[0]|4&t[1]&&L(a,"WithGameName",e[10])},i:G,o:G,d(e){e&&me(a),n[62](null),w&&w.d(),x&&x.d(),$&&$.d(),C&&C.d(),F&&F.d(),_&&_.d(),n[67](null)}}}let fr="blackjack",yr="roulette",vr="doubleballroulette",br=5;function wr(a,e,o){let D;at(a,Da,e=>o(35,D=e));let A,r,i,s,t,N,O,l,c,B,H,j,d,z,U,W,u,Y,V,Z,m,q,h,J,K,{session:X=""}=e,{userid:g=""}=e,{lang:p="en"}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:v=""}=e,{favorites:Q=""}=e,{gamethumbnail:ee=""}=e,{gamename:te=""}=e,{gamevendor:n=""}=e,{gamelaunchurl:b=""}=e,{gameid:w=""}=e,{gameisnew:ne=""}=e,{gametag:ae=""}=e,{gamefunmode:x=!1}=e,{gamefavorite:$=!1}=e,{gamecellsize:re=""}=e,{showfavoredcategory:C=!1}=e,{showgamename:ie=""}=e,{currency:k=""}=e,{gamepagemodalurl:S="false"}=e,{endpoint:F=""}=e,{categoryid:_=""}=e,{livelobbyendpoint:G=""}=e,{connectlive:E=""}=e,{visibilityconnect:M=""}=e,{integratedgameframedesktop:L="false"}=e,{integratedgameframemobile:T="false"}=e,{casinogamesgridslider:oe="false"}=e,se=!1,le=!1,P=window.navigator.userAgent,ce="HH:mm",de,ue=[],me="EUR",I="",he=[fr],ge=[yr,vr],pe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},fe={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},ye=(Object.keys(Ya).forEach(e=>{Wa(e,Ya[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+w||C||o(0,$=!0),e.data.type!=="RemoveFavoriteThumbnail_"+w||C||o(0,$=!1),"UserSessionID"===e.data.type&&(o(16,se=!0),e.data.session,A=e.data.userID),"CategoryUpdate"===e.data.type&&o(13,s=null)}),ve=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(A||"Not logged in")}),nt(P)&&"true"==T?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:nt(P),source:"GameThumbnail",identifier:"Lobby",subVendor:n,launchUrl:b},window.location.href):nt(P)&&"false"==T&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:nt(P)},window.location.href),nt(P)||"true"!=L?nt(P)||"false"!=L||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:nt(P)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:x,gamepagemodalurl:S,isMobile:nt(P),identifier:"Lobby",subVendor:n,launchUrl:b},window.location.href)},be=e=>{$?window.postMessage({type:"SetUnfavoredGame"+_,id:e},window.location.href):window.postMessage({type:"SetFavoredGame"+_,id:e},window.location.href)},we=()=>{G&&EventSource&&!t&&n&&w&&(t=new EventSource(`${F}/v1/encoder/lobby/updates/${n}/`+w)).addEventListener("message",$e)},xe=()=>{t&&(t.close(),t=void 0)},$e=async e=>{let{type:t,data:n}=e,i;if("message"===t){if(n)try{i=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(i){let{InternalTableId:e,MessageType:t,Results:n,Seats:a,Open:r}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(28,d=a),o(13,s.currentOccupiedSeats=a,s),await Se());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(z=n,o(13,s.currentRouletteNumbers=n,s),await Se());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(U=n,o(13,s.currentDoubleBallRouletteNumbers=n,s),await Se());break;case"TableOpened":case"TableClosed":o(22,l=r),o(13,s.isOpen=r,s),await Se()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),ke=()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})};return rt(()=>(window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye),t&&t.removeEventListener("message",$e)})),a.$$set=e=>{"session"in e&&o(43,X=e.session),"userid"in e&&o(44,g=e.userid),"lang"in e&&o(1,p=e.lang),"clientstyling"in e&&o(45,f=e.clientstyling),"clientstylingurl"in e&&o(46,y=e.clientstylingurl),"translationurl"in e&&o(47,v=e.translationurl),"favorites"in e&&o(2,Q=e.favorites),"gamethumbnail"in e&&o(3,ee=e.gamethumbnail),"gamename"in e&&o(4,te=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gamelaunchurl"in e&&o(48,b=e.gamelaunchurl),"gameid"in e&&o(6,w=e.gameid),"gameisnew"in e&&o(7,ne=e.gameisnew),"gametag"in e&&o(8,ae=e.gametag),"gamefunmode"in e&&o(49,x=e.gamefunmode),"gamefavorite"in e&&o(0,$=e.gamefavorite),"gamecellsize"in e&&o(9,re=e.gamecellsize),"showfavoredcategory"in e&&o(50,C=e.showfavoredcategory),"showgamename"in e&&o(10,ie=e.showgamename),"currency"in e&&o(51,k=e.currency),"gamepagemodalurl"in e&&o(52,S=e.gamepagemodalurl),"endpoint"in e&&o(53,F=e.endpoint),"categoryid"in e&&o(54,_=e.categoryid),"livelobbyendpoint"in e&&o(55,G=e.livelobbyendpoint),"connectlive"in e&&o(56,E=e.connectlive),"visibilityconnect"in e&&o(57,M=e.visibilityconnect),"integratedgameframedesktop"in e&&o(58,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(59,T=e.integratedgameframemobile),"casinogamesgridslider"in e&&o(11,oe=e.casinogamesgridslider)},a.$$.update=()=>{if(33554432&a.$$.dirty[1]&&E&&("disconnect"===E?xe():"connect"===E&&we()),67108864&a.$$.dirty[1]&&M&&("disconnect"===M?xe():"connect"===M&&"connect"===E&&we()),2&a.$$.dirty[0]&&p&&(n=p,tt.set(n)),4206592&a.$$.dirty[1]&&X&&g&&F&&(o(16,se=!0),A=g),8&a.$$.dirty[0]&&ee&&r&&o(18,r.onload=()=>{o(17,le=!0)},r),4096&a.$$.dirty[0]|16384&a.$$.dirty[1]&&f&&i&&((n=document.createElement("style")).innerHTML=f,i.appendChild(n)),4096&a.$$.dirty[0]|32768&a.$$.dirty[1]&&y&&i&&ke(),a.$$.dirty[0],65536&a.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Wa(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|32768&a.$$.dirty[1]&&re&&y&&ke(),20971520&a.$$.dirty[1]&&F&&G&&((t=new URL(""+G.split("?")[0])).searchParams.append("platform",Aa(P)),t.searchParams.append("language",p),fetch(t).then(e=>e.json()).then(e=>{e=e[0].details;o(13,s=e)})),8192&a.$$.dirty[0]&&s&&(o(22,l=s.isOpen),de=s.betLimit||{},o(23,c=s.openHours),o(24,ue=(e=>{j=e.totalSeats||7,o(28,d=e.currentOccupiedSeats||[]);var t=[];for(let e=1;e<=j;e++)t.push(e);return{seats:t}})(s).seats),c&&c.value&&({startTime:t,originalTimeFormat:e}=c.value,o(20,O=t),o(21,ce=e||ce)),l&&o(19,N=(e=>{let t=null;if(e){var n=e.vendorCategory;if(n){let e=n.toLowerCase();R(he,e)?t=fr:R(ge,e)&&(t=yr)}}return t})(s)),o(25,me=Va[k]),o(26,B=(de.min||{})[k]),o(27,H=(de.max||{})[k]),z=s.currentRouletteNumbers,U=s.currentDoubleBallRouletteNumbers,W=s.vendorCategory,o(29,u=W.toLowerCase()===vr),o(14,Y=(u?U:z)||[]),o(30,V="GameProp LiveProps RoulleteProps"),o(30,V+=u?" Double":""),o(31,Z=R(ge,W.toLowerCase())?fe:pe),q=m,o(32,m=Array.isArray(d)&&d.length===j),s.dealer&&o(34,J=s.dealer.DealerName),K=s.numberOfPlayers,o(33,I="ListGame"),s.isOpen&&s.currentRouletteNumbers&&o(33,I+=" GameBackdrop"),l&&m&&B&&H&&s.currentOccupiedSeats?o(33,I+=" GameContainerDimmed"):!1===l&&O&&o(33,I+=" GameContainerFullyDimmed"),i)&&(!q&&m?(o(33,I+=" PulsatingRedShadow"),o(33,I=I.replace(" PulsatingGreenShadow",""))):q&&!m&&(o(33,I+=" PulsatingGreenShadow"),o(33,I=I.replace(" PulsatingRedShadow","")))),49152&a.$$.dirty[0]&&h&&Y){let e="FirstElementAnimated",t=h.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))}var e,t,n},[$,p,Q,ee,te,n,w,ne,ae,re,ie,oe,i,s,Y,h,se,le,r,N,O,ce,l,c,ue,me,B,H,d,u,V,Z,m,I,J,D,P,ve,be,R,(e,t,n)=>{let a,r;return null!=e&&null!=t&&(r=`
2
2
  <span>
3
3
  ${n}
4
4
  </span>
@@ -27,5 +27,5 @@
27
27
  <span id=${t} class="${e}">
28
28
  ${n}
29
29
  </span>
30
- `},X,g,f,y,v,b,x,C,k,S,F,_,G,E,M,L,T,pe,fe,function(e){et[e?"unshift":"push"](()=>{r=e,o(18,r)})},()=>ve(w),function(e){et[e?"unshift":"push"](()=>{h=e,o(15,h)})},()=>be(w),()=>be(w),function(e){et[e?"unshift":"push"](()=>{i=e,o(12,i)})}]}function wr(e,t){ia(e,t)}customElements.get("casino-game-thumbnail-nd")||customElements.define("casino-game-thumbnail-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 20px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d)}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 12px);white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},br,gr,n,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),m()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});let xr={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};function $r(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function Cr(n){let r,i,a,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,e,t,D,x,$,A,C,k,S,F,_,G,N,E=n[11]("filterby")+"",M=n[11]("providers")+"",L=n[11]("clear")+"";function O(e){return e[7]?Fr:Sr}let T=O(n),P=T(n),I=n[5],R=[];for(let e=0;e<I.length;e+=1)R[e]=Er($r(n,I,e));return{c(){r=he("div"),i=he("div"),a=he("div"),o=H("svg"),s=H("path"),l=pe(),c=he("div"),d=he("span"),u=ge(E),m=pe(),h=he("div"),g=he("span"),p=ge(M),f=pe(),P.c(),y=pe(),v=he("span"),b=H("svg"),w=H("path"),D=pe(),x=he("div"),$=he("ul");for(let e=0;e<R.length;e+=1)R[e].c();A=pe(),C=he("button"),k=ge(L),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(h,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(a,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(b,"xmlns","http://www.w3.org/2000/svg"),fe(b,"width","14"),fe(b,"height","6.835"),fe(b,"viewBox","0 0 14 6.835"),fe(v,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(i,"class",t="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe($,"class","FilterDropdown"),fe(C,"class","ClearFilters"),C.disabled=S=n[7]&&n[6].length!=n[5].length,fe(x,"class",F="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(r,"class",_="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(d,u),de(c,m),de(c,h),de(h,g),de(g,p),de(h,f),P.m(h,null),de(i,y),de(i,v),de(v,b),de(b,w),de(r,D),de(r,x),de(x,$);for(let e=0;e<R.length;e+=1)R[e]&&R[e].m($,null);de(x,A),de(x,C),de(C,k),G||(N=[j(i,"click",n[22]),j(C,"click",n[25])],G=!0)},p(n,a){if(2048&a[0]&&E!==(E=n[11]("filterby")+"")&&ye(u,E),2048&a[0]&&M!==(M=n[11]("providers")+"")&&ye(p,M),T===(T=O(n))&&P?P.p(n,a):(P.d(1),(P=T(n))&&(P.c(),P.m(h,null))),16&a[0]&&e!==(e="TriangleInactive "+(n[4]?"TriangleActive":""))&&fe(v,"class",e),16&a[0]&&t!==(t="FilterSelector "+(n[4]?"FilterSelectorOpen":""))&&fe(i,"class",t),8228&a[0]){let t;for(I=n[5],t=0;t<I.length;t+=1){let e=$r(n,I,t);R[t]?R[t].p(e,a):(R[t]=Er(e),R[t].c(),R[t].m($,null))}for(;t<R.length;t+=1)R[t].d(1);R.length=I.length}2048&a[0]&&L!==(L=n[11]("clear")+"")&&ye(k,L),224&a[0]&&S!==(S=n[7]&&n[6].length!=n[5].length)&&(C.disabled=S),16&a[0]&&F!==(F="FilterDropdownContainer "+(n[4]?"FilterOpen":""))&&fe(x,"class",F),3&a[0]&&_!==(_="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))&&fe(r,"class",_)},d(e){e&&me(r),P.d(),B(R,e),G=!1,z(N)}}}function kr(e){let n,a,r=e[11]("500")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Sr(e){let n,a;return{c(){n=he("span"),a=ge(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function Fr(e){let n,a,r=e[11]("all")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("all")+"")&&ye(a,r)},d(e){e&&me(n)}}}function _r(e){let n,a;return{c(){ce((n=he("img")).src,a=e[36].logo)||fe(n,"src",a),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,a=e[36].logo)&&fe(n,"src",a)},d(e){e&&me(n)}}}function Gr(e){let n,a,r,i,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=he("div"),a=he("span"),r=ge(d),i=pe(),o=he("span"),s=ge("("),l=ge(u),c=ge(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(r,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function Er(n){let a,r,i,o,s,l,c,d,u,m,h,g;function p(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?Gr:"true"===e[2]?_r:void 0}let v=y(n),b=v&&v(n);return{c(){a=he("li"),r=he("label"),i=he("input"),s=pe(),l=he("span"),c=pe(),b&&b.c(),d=pe(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=o=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(r,"class","FilterLabel"),fe(a,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),a.value=m=n[36].name},m(e,t){ue(e,a,t),de(a,r),de(r,i),i.checked=n[36].isFilterSelected,de(r,s),de(r,l),de(r,c),b&&b.m(r,null),de(a,d),h||(g=[j(i,"change",p),j(i,"click",f)],h=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(i.__value=o,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),v===(v=y(n))&&b?b.p(n,t):(b&&b.d(1),(b=v&&v(n))&&(b.c(),b.m(r,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(a,"class",u),32&t[0]&&m!==(m=n[36].name)&&(a.value=m)},d(e){e&&me(a),b&&b.d(),h=!1,z(g)}}}function Mr(n){let a;function r(e){return e[10]?kr:e[9]?void 0:Cr}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[26](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[26](null)}}}function Lr(n,e,a){let t;at(n,Ra,e=>a(11,t=e));let r,{endpoint:i=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:h="false"}=e,{filterbylogo:g="false"}=e,p=!1,f=window.navigator.userAgent,y=[],v=[],b={},w=!1,x=0,$=!0,C=!1;var k,S;({withLocale:k,translations:S}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(aa.set(S),tt.set(k))}),Object.keys(xr).forEach(e=>{wr(e,xr[e])}),b[u]&&(b={[u]:[]});let F=()=>{a(4,p=!p),window.postMessage({type:"FilterOpened"},window.location.href)},_=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,v.length&&0!=v.filter(e=>e.name===t.name).length?a(6,v=v.filter(e=>e.name!==t.name)):v.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})):((e=JSON.parse(e))[u]=v.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),G()},G=()=>{a(7,w=v.length===y.length||0==v.length),a(8,x=v.length)},E=()=>{a(6,v=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),a(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),a(7,w=!0),a(4,p=!1)},M=e=>{"SortingOpened"==e.data.type&&a(4,p=!1)};return rt(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)})),n.$$set=e=>{"endpoint"in e&&a(15,i=e.endpoint),"datasource"in e&&a(16,o=e.datasource),"lang"in e&&a(17,s=e.lang),"translationurl"in e&&a(18,l=e.translationurl),"clientstyling"in e&&a(19,c=e.clientstyling),"clientstylingurl"in e&&a(20,d=e.clientstylingurl),"categoryid"in e&&a(21,u=e.categoryid),"addfilterselector"in e&&a(0,m=e.addfilterselector),"addsortingselector"in e&&a(1,h=e.addsortingselector),"filterbylogo"in e&&a(2,g=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&o&&u&&g&&(t=new URL(i+"/v1/casino/vendors"),a(4,p=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",Da(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,a(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),a(6,v=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,v.push(e)):e.isFilterSelected=!1}),a(5,y=e),G()}).catch(e=>{console.error(e),a(10,C=!0),n(e)}).finally(()=>{a(9,$=!1)})})),524296&n.$$.dirty[0]&&c&&r&&((t=document.createElement("style")).innerHTML=c,r.appendChild(t)),1048584&n.$$.dirty[0]&&d&&r){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{wr(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,g,r,p,y,v,w,x,$,C,t,F,_,E,i,o,s,l,c,d,u,()=>F(),function(e,t){e[t].isFilterSelected=this.checked,a(5,y)},e=>_(e),()=>E(),function(e){et[e?"unshift":"push"](()=>{r=e,a(3,r)})}]}function Tr(e,t){ia(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Lr,Mr,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});let Pr={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function Ir(e,t,n){e=e.slice();return e[23]=t[n],e}function Rr(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,e,C,k,S,F,_,G,E,M=n[4]("sortby")+"",L=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),P=[];for(let e=0;e<T.length;e+=1)P[e]=Dr(Ir(n,T,e));return{c(){a=he("div"),r=he("div"),i=he("div"),o=H("svg"),s=H("g"),l=H("path"),c=H("path"),d=H("path"),u=pe(),m=he("div"),h=he("span"),g=ge(M),p=pe(),f=he("div"),y=he("span"),v=ge(L),b=pe(),w=he("span"),x=H("svg"),$=H("path"),k=pe(),S=he("div"),F=he("ul");for(let e=0;e<P.length;e+=1)P[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(h,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe($,"id","arrow"),fe($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe($,"transform","translate(-274.511 -441.088)"),fe($,"fill","#d1d1d1"),fe(x,"xmlns","http://www.w3.org/2000/svg"),fe(x,"width","14"),fe(x,"height","6.835"),fe(x,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(r,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(F,"class","SorterDropdown"),fe(S,"class",_="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(a,"class","SorterContainer")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(o,s),de(s,l),de(s,c),de(s,d),de(i,u),de(i,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(y,v),de(r,b),de(r,w),de(w,x),de(x,$),de(a,k),de(a,S),de(S,F);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(F,null);G||(E=j(r,"click",n[13]),G=!0)},p(t,n){if(16&n&&M!==(M=t[4]("sortby")+"")&&ye(g,M),24&n&&L!==(L=(t[3]||t[4]("all"))+"")&&ye(v,L),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(r,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var a=Ir(t,T,e);P[e]?P[e].p(a,n):(P[e]=Dr(a),P[e].c(),P[e].m(F,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=T.length}2&n&&_!==(_="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(S,"class",_)},d(e){e&&me(a),B(P,e),G=!1,E()}}}function Dr(n){let a,r,i,o,s,l,c,d,u,m,h,g,e=n[23]+"";function p(){return n[14](n[23])}return{c(){a=he("li"),r=he("label"),i=he("input"),s=pe(),l=he("span"),c=pe(),d=he("span"),u=ge(e),m=pe(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(r,"class","SorterLabel CustomRadioButton"),fe(a,"class","SorterItem"),a.value=n[23]},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,l),de(r,c),de(r,d),de(d,u),de(a,m),h||(g=j(i,"click",p),h=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(i.checked=o)},d(e){e&&me(a),h=!1,g()}}}function Ar(n){let a;function r(e){if(!e[2])return Rr}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[15](a)},p(e,[t]){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[15](null)}}}function Nr(t,e,a){let n;at(t,Ra,e=>a(4,n=e));let r,{lang:i=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",h="All";var g,p;({withLocale:g,translations:p}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(aa.set(p),tt.set(g))}),Object.keys(Pr).forEach(e=>{Tr(e,Pr[e])});let f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{a(3,h=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),a(1,d=!d)},v=()=>{a(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},b=e=>{"FilterOpened"==e.data.type&&a(1,d=!1)};return rt(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),t.$$set=e=>{"lang"in e&&a(8,i=e.lang),"translationurl"in e&&a(9,o=e.translationurl),"clientstyling"in e&&a(10,s=e.clientstyling),"clientstylingurl"in e&&a(11,l=e.clientstylingurl),"categoryid"in e&&a(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(a(3,h="All"),a(2,u=!1),a(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],a(3,h=e||"All"),a(3,h=f[e])),1025&t.$$.dirty&&s&&r&&((e=document.createElement("style")).innerHTML=s,r.appendChild(e)),2049&t.$$.dirty&&l&&r){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Tr(e,t[e])})}).catch(e=>{console.log(e)})},[r,d,u,h,n,f,y,v,i,o,s,l,c,()=>v(),e=>y(e),function(e){et[e?"unshift":"push"](()=>{r=e,a(0,r)})}]}function Or(e,t,n){e=e.slice();return e[90]=t[n],e[92]=n,e}function Br(e,t,n){e=e.slice();return e[90]=t[n],e[93]=t,e[92]=n,e}function Hr(e,t,n){e=e.slice();return e[90]=t[n],e[92]=n,e}function jr(e){let n;function a(e){return e[26]?Yr:e[37]?Wr:void 0}let r=a(e),i=r&&r(e);return{c(){n=he("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i&&i.d(1),(i=r&&r(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function zr(e){let n,a,r;function i(e){return e[30]?yi:e[27].length?pi:fi}let o=i(e),s=o(e);function l(e){return e[27]?bi:vi}let c=l(e),d=c(e);return{c(){n=he("div"),a=he("div"),s.c(),r=pe(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(nt(e[42])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),s.m(a,null),de(n,r),d.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function Ur(e){let n;function a(e){return e[32]?Ci:$i}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r!==(r=a(e))&&(i.d(1),i=r(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&me(n)}}}function Wr(n){let a,r,i,o,s="true"!==n[18]&&Vr(n);function l(e){return e[23]&&!e[34]?Jr:e[40]?qr:Zr}let c=l(n),d=c(n);return{c(){a=he("div"),s&&s.c(),r=pe(),i=he("ul"),d.c(),fe(i,"class",o=(0!=n[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer")},m(e,t){ue(e,a,t),s&&s.m(a,null),de(a,r),de(a,i),d.m(i,null),n[56](i)},p(e,t){"true"!==e[18]?s?s.p(e,t):((s=Vr(e)).c(),s.m(a,r)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null))),512&t[1]&&o!==(o=(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",o)},d(e){e&&me(a),s&&s.d(),d.d(),n[56](null)}}}function Yr(e){let n,a,r="true"!==e[18]&&oi(e);function i(e){return e[23]&&!e[34]?hi:0!==e[27].length?mi:ui}let o=i(e),s=o(e);return{c(){n=he("div"),r&&r.c(),a=pe(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),s.m(n,null)},p(e,t){"true"!==e[18]?r?r.p(e,t):((r=oi(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),r&&r.d(),s.d()}}}function Vr(n){let a,r,i,o,s,l,c,d,u=n[41]("favorites")+"",m=n[40].items.length+"";return{c(){a=he("div"),r=he("h3"),i=ge(u),o=pe(),s=he("span"),l=ge("("),c=ge(m),d=ge(")"),fe(s,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,o),de(r,s),de(s,l),de(s,c),de(s,d),n[55](r)},p(e,t){1024&t[1]&&u!==(u=e[41]("favorites")+"")&&ye(i,u),512&t[1]&&m!==(m=e[40].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[55](null)}}}function Zr(e){let n,a,r=e[41]("waiting")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("waiting")+"")&&ye(a,r)},d(e){e&&me(n)}}}function qr(t){let r,i=t[40].items,o=[];for(let e=0;e<i.length;e+=1)o[e]=ii(Or(t,i,e));let s=null;return i.length||(s=Kr(t)),{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c(),s&&s.c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n),s&&s.m(t,n)},p(n,a){if(262121&a[0]|8128&a[1]){let t;for(i=n[40].items,t=0;t<i.length;t+=1){let e=Or(n,i,t);o[t]?o[t].p(e,a):(o[t]=ii(e),o[t].c(),o[t].m(r.parentNode,r))}for(;t<o.length;t+=1)o[t].d(1);o.length=i.length,!i.length&&s?s.p(n,a):i.length?s&&(s.d(1),s=null):((s=Kr(n)).c(),s.m(r.parentNode,r))}},d(e){B(o,e),e&&me(r),s&&s.d(e)}}}function Jr(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Kr(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p,f=e[41]("noFavoritesTitle")+"",t=(v=e,nt(v[42])?Qr:Xr),y=t(e);var v;return{c(){n=he("p"),a=H("svg"),r=H("rect"),i=H("rect"),o=H("circle"),s=H("path"),l=H("path"),c=H("path"),d=H("path"),u=pe(),m=he("span"),h=ge(f),g=pe(),y.c(),p=pe(),fe(r,"x","1"),fe(r,"y","18.053"),fe(r,"width","90.263"),fe(r,"height","90.263"),fe(r,"rx","12"),fe(r,"stroke","var(--emw--color-gray-150, #828282)"),fe(r,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emw--color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emw-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(a,"width","198"),fe(a,"height","148"),fe(a,"viewBox","0 0 198 148"),fe(a,"fill","none"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(nt(e[42])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(a,o),de(a,s),de(a,l),de(a,c),de(a,d),de(n,u),de(n,m),de(m,h),de(n,g),y.m(n,null),de(n,p)},p(e,t){1024&t[1]&&f!==(f=e[41]("noFavoritesTitle")+"")&&ye(h,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function Xr(e){let n,a,r=e[41]("noFavorites")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noFavorites")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Qr(e){let n,a,r=e[41]("noFavoritesMobile")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noFavoritesMobile")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ei(e){let n,a=e[90].gameModel.isFavorite&&ti(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[90].gameModel.isFavorite?a?a.p(e,t):((a=ti(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function ti(e){let n,a=(e=>{let n,a,r;function i(e,t){return 512&t[1]&&(a=null),(n=null==n?!!nt(e[42]):n)?ai:(a=null==a?!!e[90].gameModel.platform.includes("PC"):a)?ni:void 0}let o=i(e,[-1,-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),r=c()},m(e,t){s&&s.m(e,t),ue(e,r,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&me(r)}}})(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function ni(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p,f;return{c(){F(n=he("casino-game-thumbnail-nd"),"class",a=""+(x+(e[90].cellSize||"1x1"))),F(n,"part",r=""+(x+(e[90].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"translationurl",e[11]),F(n,"favorites",e[8]),F(n,"categoryid",e[0]),F(n,"gamethumbnail",i=e[90].gameModel.thumbnail),F(n,"gamename",o=e[90].gameModel.name),F(n,"gamevendor",s=e[90].gameModel.vendor.logo),F(n,"gamelaunchurl",l=e[90].launchUrl),F(n,"gameisnew",c=e[90].gameModel.isNew),F(n,"gametag",d=0<e[90].gameModel.advancedTags?.length&&e[43](e[90].gameModel.advancedTags)),F(n,"gamecellsize",u=e[90].cellSize),F(n,"gameid",m=e[90].gameModel.id),F(n,"gamefunmode",h=e[90].gameModel.hasFunMode),F(n,"showgamename",e[13]),F(n,"gamefavorite",g=e[90].gameModel.isFavorite),F(n,"showfavoredcategory",e[37]),F(n,"connectlive",p=1==e[38][e[90].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[39]),F(n,"currency",e[12]),F(n,"livelobbyendpoint",f=e[90].gameModel.details?e[90].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[14]),F(n,"gamepagemodalurl",e[15]),F(n,"integratedgameframedesktop",e[16]),F(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(x+(e[90].cellSize||"1x1")))&&F(n,"class",a),512&t[1]&&r!==(r=""+(x+(e[90].cellSize||"1x1")))&&F(n,"part",r),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),2048&t[0]&&F(n,"translationurl",e[11]),256&t[0]&&F(n,"favorites",e[8]),1&t[0]&&F(n,"categoryid",e[0]),512&t[1]&&i!==(i=e[90].gameModel.thumbnail)&&F(n,"gamethumbnail",i),512&t[1]&&o!==(o=e[90].gameModel.name)&&F(n,"gamename",o),512&t[1]&&s!==(s=e[90].gameModel.vendor.logo)&&F(n,"gamevendor",s),512&t[1]&&l!==(l=e[90].launchUrl)&&F(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[90].gameModel.isNew)&&F(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[90].gameModel.advancedTags?.length&&e[43](e[90].gameModel.advancedTags))&&F(n,"gametag",d),512&t[1]&&u!==(u=e[90].cellSize)&&F(n,"gamecellsize",u),512&t[1]&&m!==(m=e[90].gameModel.id)&&F(n,"gameid",m),512&t[1]&&h!==(h=e[90].gameModel.hasFunMode)&&F(n,"gamefunmode",h),8192&t[0]&&F(n,"showgamename",e[13]),512&t[1]&&g!==(g=e[90].gameModel.isFavorite)&&F(n,"gamefavorite",g),64&t[1]&&F(n,"showfavoredcategory",e[37]),640&t[1]&&p!==(p=1==e[38][e[90].id]?"connect":"disconnect")&&F(n,"connectlive",p),256&t[1]&&F(n,"visibilityconnect",e[39]),4096&t[0]&&F(n,"currency",e[12]),512&t[1]&&f!==(f=e[90].gameModel.details?e[90].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),16384&t[0]&&F(n,"livecasino",e[14]),32768&t[0]&&F(n,"gamepagemodalurl",e[15]),65536&t[0]&&F(n,"integratedgameframedesktop",e[16]),131072&t[0]&&F(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function ai(e){let n,a=e[90].gameModel.platform.includes("iPad")||e[90].gameModel.platform.includes("iPhone")||e[90].gameModel.platform.includes("Android"),r=a&&ri(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=512&t[1]?e[90].gameModel.platform.includes("iPad")||e[90].gameModel.platform.includes("iPhone")||e[90].gameModel.platform.includes("Android"):a)?r?r.p(e,t):((r=ri(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function ri(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p,f;return{c(){F(n=he("casino-game-thumbnail-nd"),"class",a=""+(x+(e[90].cellSize||"1x1"))),F(n,"part",r=""+(x+(e[90].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"favorites",e[8]),F(n,"categoryid",e[0]),F(n,"gamethumbnail",i=e[90].gameModel.thumbnail),F(n,"gamename",o=e[90].gameModel.name),F(n,"gamevendor",s=e[90].gameModel.vendor.logo),F(n,"gamelaunchurl",l=e[90].launchUrl),F(n,"gameisnew",c=e[90].gameModel.isNew),F(n,"gametag",d=0<e[90].gameModel.advancedTags?.length&&e[43](e[90].gameModel.advancedTags)),F(n,"gamecellsize",u=e[90].cellSize),F(n,"gameid",m=e[90].gameModel.id),F(n,"gamefunmode",h=e[90].gameModel.hasFunMode),F(n,"showgamename",e[13]),F(n,"gamefavorite",g=e[90].gameModel.isFavorite),F(n,"showfavoredcategory",e[37]),F(n,"connectlive",p=1==e[38][e[90].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[39]),F(n,"translationurl",e[11]),F(n,"currency",e[12]),F(n,"livelobbyendpoint",f=e[90].gameModel.details?e[90].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[14]),F(n,"gamepagemodalurl",e[15]),F(n,"integratedgameframedesktop",e[16]),F(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(x+(e[90].cellSize||"1x1")))&&F(n,"class",a),512&t[1]&&r!==(r=""+(x+(e[90].cellSize||"1x1")))&&F(n,"part",r),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),256&t[0]&&F(n,"favorites",e[8]),1&t[0]&&F(n,"categoryid",e[0]),512&t[1]&&i!==(i=e[90].gameModel.thumbnail)&&F(n,"gamethumbnail",i),512&t[1]&&o!==(o=e[90].gameModel.name)&&F(n,"gamename",o),512&t[1]&&s!==(s=e[90].gameModel.vendor.logo)&&F(n,"gamevendor",s),512&t[1]&&l!==(l=e[90].launchUrl)&&F(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[90].gameModel.isNew)&&F(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[90].gameModel.advancedTags?.length&&e[43](e[90].gameModel.advancedTags))&&F(n,"gametag",d),512&t[1]&&u!==(u=e[90].cellSize)&&F(n,"gamecellsize",u),512&t[1]&&m!==(m=e[90].gameModel.id)&&F(n,"gameid",m),512&t[1]&&h!==(h=e[90].gameModel.hasFunMode)&&F(n,"gamefunmode",h),8192&t[0]&&F(n,"showgamename",e[13]),512&t[1]&&g!==(g=e[90].gameModel.isFavorite)&&F(n,"gamefavorite",g),64&t[1]&&F(n,"showfavoredcategory",e[37]),640&t[1]&&p!==(p=1==e[38][e[90].id]?"connect":"disconnect")&&F(n,"connectlive",p),256&t[1]&&F(n,"visibilityconnect",e[39]),2048&t[0]&&F(n,"translationurl",e[11]),4096&t[0]&&F(n,"currency",e[12]),512&t[1]&&f!==(f=e[90].gameModel.details?e[90].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),16384&t[0]&&F(n,"livecasino",e[14]),32768&t[0]&&F(n,"gamepagemodalurl",e[15]),65536&t[0]&&F(n,"integratedgameframedesktop",e[16]),131072&t[0]&&F(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function ii(e){let n,a=e[90].gameModel&&ei(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[90].gameModel?a?a.p(e,t):((a=ei(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function oi(n){let a,r,i,o,s,l,c=n[26].name+"";function d(e){return e[28]?li:si}let u=d(n),m=u(n);return{c(){a=he("div"),(r=he("span")).innerHTML='<div class="CategoryIconAnimation"></div> \n <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',i=pe(),o=he("h3"),s=ge(c),l=pe(),m.c(),fe(r,"class","CategoryIcon"),fe(o,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,o),de(o,s),n[51](o),de(a,l),m.m(a,null)},p(e,t){67108864&t[0]&&c!==(c=e[26].name+"")&&ye(s,c),u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(a,null)))},d(e){e&&me(a),n[51](null),m.d()}}}function si(e){let n,a,r,i="true"==e[1]&&ci(e),o="true"==e[2]&&di(e);return{c(){n=he("div"),i&&i.c(),a=pe(),o&&o.c(),fe(n,"class",r="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,a),o&&o.m(n,null)},p(e,t){"true"==e[1]?i?i.p(e,t):((i=ci(e)).c(),i.m(n,a)):i&&(i.d(1),i=null),"true"==e[2]?o?o.p(e,t):((o=di(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&r!==(r="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",r)},d(e){e&&me(n),i&&i.d(),o&&o.d()}}}function li(n){let a,r,i,o,s,l,c,d,u=n[41]("viewAll")+"",m=n[26].games.total+"";return{c(){a=he("a"),r=he("span"),i=ge(u),o=ge(" ("),s=ge(m),l=ge(")"),fe(r,"class","CategoryLoadMore"),fe(a,"class","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,o),de(r,s),de(r,l),c||(d=j(a,"click",n[52]),c=!0)},p(e,t){1024&t[1]&&u!==(u=e[41]("viewAll")+"")&&ye(i,u),67108864&t[0]&&m!==(m=e[26].games.total+"")&&ye(s,m)},d(e){e&&me(a),c=!1,d()}}}function ci(e){let n;return{c(){F(n=he("casino-filter"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"endpoint",e[3]),F(n,"datasource",e[4]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addfilterselector",e[1]),F(n,"addsortingselector",e[2]),F(n,"filterbylogo",e[19])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),8&t[0]&&F(n,"endpoint",e[3]),16&t[0]&&F(n,"datasource",e[4]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),2&t[0]&&F(n,"addfilterselector",e[1]),4&t[0]&&F(n,"addsortingselector",e[2]),524288&t[0]&&F(n,"filterbylogo",e[19])},d(e){e&&me(n)}}}function di(e){let n;return{c(){F(n=he("casino-sort"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),4&t[0]&&F(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function ui(e){let n,a,r=e[41]("noResults")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noResults")+"")&&ye(a,r)},d(e){e&&me(n)}}}function mi(n){let r,e,i=n[27],o=[];for(let e=0;e<i.length;e+=1)o[e]=gi(Br(n,i,e));return{c(){r=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[40].items.length&&n[37]?"":"CasinoGamesGrid")+" "+(n[25]&&"true"==n[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);n[54](r)},p(t,n){if(139722729&n[0]|4480&n[1]){let e;for(i=t[27],e=0;e<i.length;e+=1){var a=Br(t,i,e);o[e]?o[e].p(a,n):(o[e]=gi(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}34603008&n[0]|576&n[1]&&e!==(e=(0===t[40].items.length&&t[37]?"":"CasinoGamesGrid")+" "+(t[25]&&"true"==t[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(r,"class",e)},d(e){e&&me(r),B(o,e),n[54](null)}}}function hi(e){let n;return{c(){fe(n=he("div"),"class","DualRing")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function gi(e){let n,a=(n=>{let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v=n[92],b=()=>n[53](a,v),w=()=>n[53](null,v);return{c(){F(a=he("casino-game-thumbnail-nd"),"session",n[6]),F(a,"userid",n[7]),F(a,"lang",n[5]),F(a,"class",r=""+(x+(n[90].cellSize||"1x1"))),F(a,"part",i=""+(x+(n[90].cellSize||"1x1"))),F(a,"favorites",n[8]),F(a,"categoryid",n[0]),F(a,"gamethumbnail",o=n[90].thumbnail),F(a,"gamename",s=n[90].name),F(a,"gamevendor",l=n[90].vendor.logo),F(a,"gamelaunchurl",c=n[90].launchUrl),F(a,"gameisnew",d=n[90].isNew),F(a,"gametag",u=0<n[90].advancedTags?.length&&n[43](n[90].advancedTags)),F(a,"gamecellsize",m=n[90].cellSize),F(a,"gameid",h=n[90].id),F(a,"gamefunmode",g=n[90].hasFunMode),F(a,"gamefavorite",p=n[90].isFavorite),F(a,"translationurl",n[11]),F(a,"showgamename",n[13]),F(a,"connectlive",f=1==n[38][n[90].id]?"connect":"disconnect"),F(a,"visibilityconnect",n[39]),F(a,"currency",n[12]),F(a,"livelobbyendpoint",y=n[90].details?n[90].href:""),F(a,"clientstyling",n[9]),F(a,"clientstylingurl",n[10]),F(a,"endpoint",n[3]),F(a,"livecasino",n[14]),F(a,"gamepagemodalurl",n[15]),F(a,"integratedgameframedesktop",n[16]),F(a,"integratedgameframemobile",n[17]),F(a,"casinogamesgridslider",n[20])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,64&t[0]&&F(a,"session",n[6]),128&t[0]&&F(a,"userid",n[7]),32&t[0]&&F(a,"lang",n[5]),134217728&t[0]&&r!==(r=""+(x+(n[90].cellSize||"1x1")))&&F(a,"class",r),134217728&t[0]&&i!==(i=""+(x+(n[90].cellSize||"1x1")))&&F(a,"part",i),256&t[0]&&F(a,"favorites",n[8]),1&t[0]&&F(a,"categoryid",n[0]),134217728&t[0]&&o!==(o=n[90].thumbnail)&&F(a,"gamethumbnail",o),134217728&t[0]&&s!==(s=n[90].name)&&F(a,"gamename",s),134217728&t[0]&&l!==(l=n[90].vendor.logo)&&F(a,"gamevendor",l),134217728&t[0]&&c!==(c=n[90].launchUrl)&&F(a,"gamelaunchurl",c),134217728&t[0]&&d!==(d=n[90].isNew)&&F(a,"gameisnew",d),134217728&t[0]&&u!==(u=0<n[90].advancedTags?.length&&n[43](n[90].advancedTags))&&F(a,"gametag",u),134217728&t[0]&&m!==(m=n[90].cellSize)&&F(a,"gamecellsize",m),134217728&t[0]&&h!==(h=n[90].id)&&F(a,"gameid",h),134217728&t[0]&&g!==(g=n[90].hasFunMode)&&F(a,"gamefunmode",g),134217728&t[0]&&p!==(p=n[90].isFavorite)&&F(a,"gamefavorite",p),2048&t[0]&&F(a,"translationurl",n[11]),8192&t[0]&&F(a,"showgamename",n[13]),134217728&t[0]|128&t[1]&&f!==(f=1==n[38][n[90].id]?"connect":"disconnect")&&F(a,"connectlive",f),256&t[1]&&F(a,"visibilityconnect",n[39]),4096&t[0]&&F(a,"currency",n[12]),134217728&t[0]&&y!==(y=n[90].details?n[90].href:"")&&F(a,"livelobbyendpoint",y),512&t[0]&&F(a,"clientstyling",n[9]),1024&t[0]&&F(a,"clientstylingurl",n[10]),8&t[0]&&F(a,"endpoint",n[3]),16384&t[0]&&F(a,"livecasino",n[14]),32768&t[0]&&F(a,"gamepagemodalurl",n[15]),65536&t[0]&&F(a,"integratedgameframedesktop",n[16]),131072&t[0]&&F(a,"integratedgameframemobile",n[17]),1048576&t[0]&&F(a,"casinogamesgridslider",n[20]),v!==n[92]&&(w(),v=n[92],b())},d(e){e&&me(a),w()}}})(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function pi(e){let n,a,r=e[41]("searchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("searchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function fi(e){let n,a,r=e[41]("noResults")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noResults")+"")&&ye(a,r)},d(e){e&&me(n)}}}function yi(e){let n,a,r=e[41]("recentSearchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("recentSearchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function vi(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function bi(t){let r,i,o=!t[33]&&wi(t),s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=xi(Hr(t,s,e));return{c(){o&&o.c(),r=pe(),i=he("ul");for(let e=0;e<l.length;e+=1)l[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){o&&o.m(e,t),ue(e,r,t),ue(e,i,t);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null)},p(n,a){if(n[33]?o&&(o.d(1),o=null):o?o.p(n,a):((o=wi(n)).c(),o.m(r.parentNode,r)),134479849&a[0]|4097&a[1]){let t;for(s=n[27],t=0;t<s.length;t+=1){let e=Hr(n,s,t);l[t]?l[t].p(e,a):(l[t]=xi(e),l[t].c(),l[t].m(i,null))}for(;t<l.length;t+=1)l[t].d(1);l.length=s.length}},d(e){o&&o.d(e),e&&me(r),e&&me(i),B(l,e)}}}function wi(e){let n,a,r=e[41]("noRecentSearch")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(nt(e[42])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noRecentSearch")+"")&&ye(a,r)},d(e){e&&me(n)}}}function xi(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p;return{c(){F(n=he("casino-game-thumbnail-nd"),"class",a=""+(x+(e[90].cellSize||"1x1"))),F(n,"part",r=""+(x+(e[90].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"searchitem",e[31]),F(n,"favorites",e[8]),F(n,"categoryid",e[0]),F(n,"gamethumbnail",i=e[90].thumbnail),F(n,"gamename",o=e[90].name),F(n,"gamevendor",s=e[90].vendor.logo),F(n,"gamelaunchurl",l=e[90].launchUrl),F(n,"gameisnew",c=e[90].isNew),F(n,"gametag",d=0<e[90].advancedTags?.length&&e[43](e[90].advancedTags)),F(n,"gamecellsize",u=e[90].cellSize),F(n,"gameid",m=e[90].id),F(n,"gamefunmode",h=e[90].hasFunMode),F(n,"showgamename",e[13]),F(n,"translationurl",e[11]),F(n,"gamefavorite",g=e[90].isFavorite),F(n,"currency",e[12]),F(n,"livelobbyendpoint",p=e[90].details?e[90].href:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[14]),F(n,"gamepagemodalurl",e[15]),F(n,"integratedgameframedesktop",e[16]),F(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){134217728&t[0]&&a!==(a=""+(x+(e[90].cellSize||"1x1")))&&F(n,"class",a),134217728&t[0]&&r!==(r=""+(x+(e[90].cellSize||"1x1")))&&F(n,"part",r),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),1&t[1]&&F(n,"searchitem",e[31]),256&t[0]&&F(n,"favorites",e[8]),1&t[0]&&F(n,"categoryid",e[0]),134217728&t[0]&&i!==(i=e[90].thumbnail)&&F(n,"gamethumbnail",i),134217728&t[0]&&o!==(o=e[90].name)&&F(n,"gamename",o),134217728&t[0]&&s!==(s=e[90].vendor.logo)&&F(n,"gamevendor",s),134217728&t[0]&&l!==(l=e[90].launchUrl)&&F(n,"gamelaunchurl",l),134217728&t[0]&&c!==(c=e[90].isNew)&&F(n,"gameisnew",c),134217728&t[0]&&d!==(d=0<e[90].advancedTags?.length&&e[43](e[90].advancedTags))&&F(n,"gametag",d),134217728&t[0]&&u!==(u=e[90].cellSize)&&F(n,"gamecellsize",u),134217728&t[0]&&m!==(m=e[90].id)&&F(n,"gameid",m),134217728&t[0]&&h!==(h=e[90].hasFunMode)&&F(n,"gamefunmode",h),8192&t[0]&&F(n,"showgamename",e[13]),2048&t[0]&&F(n,"translationurl",e[11]),134217728&t[0]&&g!==(g=e[90].isFavorite)&&F(n,"gamefavorite",g),4096&t[0]&&F(n,"currency",e[12]),134217728&t[0]&&p!==(p=e[90].details?e[90].href:"")&&F(n,"livelobbyendpoint",p),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),16384&t[0]&&F(n,"livecasino",e[14]),32768&t[0]&&F(n,"gamepagemodalurl",e[15]),65536&t[0]&&F(n,"integratedgameframedesktop",e[16]),131072&t[0]&&F(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function $i(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Ci(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ki(n){let a;function r(e){return e[24]?Ur:e[29]?zr:jr}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G,fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),o.m(a,null),n[57](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[57](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Nr,Ar,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});let x="game-tile-";function Si(a,e,c){let D;at(a,Ra,e=>c(41,D=e));let r,i,o,t,A,n,s,l,N,d,{endpoint:u=""}=e,{datasource:m=""}=e,{lang:h=""}=e,{session:g=""}=e,{userid:p=""}=e,{favorites:f=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:O=""}=e,{currency:B=""}=e,{categoryid:b=""}=e,{showgamename:H=""}=e,{livecasino:j="false"}=e,{gamepagemodalurl:z="true"}=e,{integratedgameframedesktop:U="false"}=e,{integratedgameframemobile:W="false"}=e,{casinomygames:Y="false"}=e,{addfilterselector:V="false"}=e,{addsortingselector:Z="false"}=e,{filterbylogo:q=""}=e,{casinogamesgridslider:J="false"}=e,{fetchviaevent:w="false"}=e,{showallpage:K="casino"}=e,{actionevent:X="CategoryChange"}=e,{displayedgamecount:Q="10"}=e,{showallbuttongamescount:ee="10"}=e,x=!0,te=!1,$=!0,ne=window.navigator.userAgent,C=[],k=!0,S=40,F=!1,ae=!1,re=!1,_=!1,ie=!1,oe=!0,G=!1,se=!1,le=!1,E=new Array(1e4),M={},ce="",L="",T=[],de=new AbortController,P={items:[],count:0,name:""},ue=(Object.keys(Ba).forEach(e=>{Oa(e,Ba[e])}),void 0!==document.hidden?l="hidden":void 0!==document.msHidden?l="msHidden":void 0!==document.webkitHidden&&(l="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&fe(b),c(38,M[t]=1,M)):c(38,M[t]=0,M)})})),me=(e,t)=>{let a=u+`/v1/player/${t}/favorites/`,r=(c(23,x=!0),{method:"GET",headers:{"X-SessionID":e}});return new Promise((t,n)=>{fetch(a,r).then(e=>e.json()).then(e=>{c(23,x=!1),d=[],e?(e.items.forEach(e=>{e.gameModel&&(d.push(e),T.includes(e.id)||T.push(e.id))}),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d})):d=[],"FAVORITES"===b&&pe(d),C.forEach(e=>{e.isFavorite=R(e.id)});e=C;c(27,C=void 0),c(27,C=e),t(d)}).catch(e=>{console.error(e),n(e)})})},I=(a,e,r)=>{de&&de.abort();let i=(de=new AbortController).signal,t=void c(23,x=!0),o="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),l=JSON.parse(localStorage.getItem("vendorSortingBy"));return o=1<(a.match(/\$/g)||[]).length?(t=a.split("$").slice(0,2).join("$"),new URL(`${u}/v1/casino/groups/${m}/${t}/subGroups`)):new URL(`${u}/v1/casino/groups/${m}/`+a),new Promise((t,n)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Da(ne)),o.searchParams.append("pagination",`games(offset=${e},limit=${r})`),o.searchParams.append("language",h),window.postMessage({type:"CategoryVendors",categoryid:a},window.location.href),s&&s[a])if(s[a].length&&!1===$&&!1===se){let t="";c(32,ie=!0),s[a].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),o.searchParams.append("filter",""+t)}else c(32,ie=!1);l&&(l[a]?(l[a],"All"!=l[a]&&("isNew"==l[a]||"advancedTags(name(hot))"==l[a]?(o.searchParams.append("sortedField",`games(${l[a]})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${l[a]})`))):L&&"All"!=L&&("advancedTags(name(hot))"==L||"isNew"==L?(o.searchParams.append("sortedField",`games(${L})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${L})`))),fetch(o,{signal:i}).then(e=>e.json()).then(e=>{i.aborted||(c(23,x=!1),1<(a.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==a)return e})[0]),c(50,N=!0),c(24,te=!1),A=e.games.total,c(34,G=!0),t(e))}).catch(e=>{"AbortError"!==e.name&&(c(24,te=!0),console.error(e),n(e))})})},he=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==b&&(c(29,F=!1),c(25,$=!1),c(28,k=!1),c(27,C=t.data.mostPlayedGames),c(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),c(23,x=!1);break;case"LastPlayedData":"LASTPLAYED"==b&&(c(29,F=!1),c(25,$=!1),c(28,k=!1),c(27,C=t.data.lastPlayedGames),c(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),c(23,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":c(29,F=!0),c(30,ae=!0),0<t.data.searchData.length?(c(27,C=t.data.searchData),c(33,oe=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(c(27,C=[]),c(33,oe=!1));break;case"OutOfRecentSearches":c(29,F=!1),c(30,ae=!1);break;case"SearchData":c(29,F=!0),c(30,ae=!1),c(27,C=t.data.searchData.items||[]),c(31,_=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+b:c(29,F=!1),c(25,$=!0),c(1,V="false"),c(2,Z="false"),c(31,_=!1),le=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),I(t.data.categoryId,0,t.data.visiblegames).then(e=>{c(26,o=e),c(27,C=o.games.items),A<=t.data.visiblegames?c(28,k=!1):c(28,k=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":S=20;break;case"ApplySorter":c(0,b=t.data.itemId),L=t.data.sortBy,I(b,0,S).then(e=>{c(26,o=e),c(27,C=o.games.items),c(28,k=!1)});break;case"CategoryUpdate":c(29,F=!1),c(25,$=!1),c(31,_=!1),le=!0,c(34,G=!1),c(0,b=t.data.itemId),"MOSTPLAYED"!==b&&c(28,k=!1),"true"!==Y&&I(b,0,S).then(e=>{c(26,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),c(27,C=o.games.items),c(28,k=!1),C.length<10&&0==t.data.origin&&(re=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:re},window.location.href)},500))});break;case"SetUnfavoredGame"+b:e=`${u}/v1/player/${p}/favorites`,n=g,a=t.data.id,fetch(e+"/"+a,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+a},window.location.href),ge(e,n)}),T.includes(a)&&(T=T.filter(e=>e!=a));break;case"SetFavoredGame"+b:(async(e,t,n)=>{await ge(e,t),T.includes(n)||T.push(n);let a={items:T},r={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(e,r).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)}).catch(e=>{console.error("Err",e)})})(`${u}/v1/player/${p}/favorites`,g,t.data.id);break;case"UserSessionID":r=t.data.session,i=t.data.userID,"true"==f&&i&&i.length&&r&&0<r.length&&me(r,i);break;case"UpdateFavoredList":"FAVORITES"===b&&ge(t.data.url,t.data.sessionID)}var e,n,a},R=t=>{var e;return null!=(e=null==d?void 0:d.some(e=>e.id===t))&&e},ge=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>{d=e.items,w?(d.forEach(e=>{T.includes(e.id)||T.push(e.id)}),o&&(c(27,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)}))):d.forEach(e=>{e.isFavorite=R(e.id)}),"FAVORITES"===b&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:d}),pe(d))}).catch(e=>{console.error(e)}),pe=e=>{var t;e&&(0<(e=(null==e?void 0:e.items)||e||[]).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!0)}),c(40,P.items=(e=e,P.items,t=window.navigator.userAgent,nt(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})),P),c(40,P.name="Favorites",P),c(23,x=!1))},fe=e=>{S+=1,c(34,G=!0),S<=A&&I(e,0,S).then(e=>{c(26,o=e),o.games.items.length>C.length&&(c(27,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),c(34,G=!1)})},ye=e=>{window.postMessage({type:""+X,itemId:e,showallpage:K},window.location.href)};return rt(()=>(window.addEventListener("visibilitychange",e=>{document[l]?c(39,ce="disconnect"):c(39,ce="connect")}),window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),window.removeEventListener("visibilitychange",he)})),a.$$set=e=>{"endpoint"in e&&c(3,u=e.endpoint),"datasource"in e&&c(4,m=e.datasource),"lang"in e&&c(5,h=e.lang),"session"in e&&c(6,g=e.session),"userid"in e&&c(7,p=e.userid),"favorites"in e&&c(8,f=e.favorites),"clientstyling"in e&&c(9,y=e.clientstyling),"clientstylingurl"in e&&c(10,v=e.clientstylingurl),"translationurl"in e&&c(11,O=e.translationurl),"currency"in e&&c(12,B=e.currency),"categoryid"in e&&c(0,b=e.categoryid),"showgamename"in e&&c(13,H=e.showgamename),"livecasino"in e&&c(14,j=e.livecasino),"gamepagemodalurl"in e&&c(15,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&c(16,U=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(17,W=e.integratedgameframemobile),"casinomygames"in e&&c(18,Y=e.casinomygames),"addfilterselector"in e&&c(1,V=e.addfilterselector),"addsortingselector"in e&&c(2,Z=e.addsortingselector),"filterbylogo"in e&&c(19,q=e.filterbylogo),"casinogamesgridslider"in e&&c(20,J=e.casinogamesgridslider),"fetchviaevent"in e&&c(45,w=e.fetchviaevent),"showallpage"in e&&c(46,K=e.showallpage),"actionevent"in e&&c(47,X=e.actionevent),"displayedgamecount"in e&&c(48,Q=e.displayedgamecount),"showallbuttongamescount"in e&&c(49,ee=e.showallbuttongamescount)},a.$$.update=()=>{if(32&a.$$.dirty[0]&&h&&(n=h,tt.set(n)),57&a.$$.dirty[0]|409600&a.$$.dirty[1]&&("false"===w||""===w)&&u&&h&&b&&m&&Q&&ee&&(n=b,e=Q,t=ee,""!==n)&&(c(29,F=!1),c(25,$=!0),c(1,V="false"),c(2,Z="false"),c(31,_=!1),le=!1,c(28,k=+t<+e),I(n,0,+e).then(e=>{c(26,o=e),c(27,C=o.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})})),456&a.$$.dirty[0]&&"true"===f&&u&&g&&p&&me(g,p),4194304&a.$$.dirty[0]|524288&a.$$.dirty[1]&&N&&E&&le&&E.forEach((e,t)=>{e&&(e.elems_index=t,ue.observe(e))}),225&a.$$.dirty[0]&&h&&b&&p&&g)switch(b){case"FAVORITES":c(37,se=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===Y&&c(37,se=!1)}if(2048&a.$$.dirty[0]&&O&&fetch(O).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Oa(e,t[e])})}).catch(e=>{console.log(e)}),2097664&a.$$.dirty[0]&&y&&s&&((t=document.createElement("style")).innerHTML=y,s.appendChild(t)),2098176&a.$$.dirty[0]&&v&&s){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t,n},[b,V,Z,u,m,h,g,p,f,y,v,O,B,H,j,z,U,W,Y,q,J,s,E,x,te,$,o,C,k,F,ae,_,ie,oe,G,t,n,se,M,ce,P,D,ne,a=>{if(0===(null==a?void 0:a.length))return"";let r,i="",o=999999999999,s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);za(e).diff(s)<o&&(o=za(e).diff(s),r=t),za(s).isAfter(n)&&za(s).isBefore(e)&&(i=a[r].name)}),i},ye,w,K,X,Q,ee,N,function(e){et[e?"unshift":"push"](()=>{n=e,c(36,n)})},e=>ye(o.id),function(e,t){et[e?"unshift":"push"](()=>{E[t]=e,c(22,E)})},function(e){et[e?"unshift":"push"](()=>{t=e,c(35,t)})},function(e){et[e?"unshift":"push"](()=>{n=e,c(36,n)})},function(e){et[e?"unshift":"push"](()=>{t=e,c(35,t)})},function(e){et[e?"unshift":"push"](()=>{s=e,c(21,s)})}]}function Fi(e,t){ia(e,t)}customElements.get("casino-games-category-section-nd")||customElements.define("casino-games-category-section-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw-casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw-casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;padding:8px 0 0;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw-casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 20px)}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw-casino-color-primary, #D0046C);border-color:var(--emw-casino-color-primary, #D0046C) transparent var(--emw-casino-color-primary, #D0046C);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw-casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Si,ki,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),m()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),m()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),m()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),m()}});let _i={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"}};function Gi(e,t,n){e=e.slice();return e[36]=t[n],e[38]=n,e}function Ei(n){let a,r,i,o,s,l,c,d=!n[7]&&Mi(n),u=n[7]&&Ti(n);return{c(){a=he("div"),r=he("div"),(i=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=pe(),d&&d.c(),s=pe(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"role","button"),fe(r,"class","ModalContainer"),fe(a,"class","ModalWindow")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,o),d&&d.m(r,null),de(r,s),u&&u.m(r,null),l||(c=j(i,"click",n[12]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Mi(e)).c(),d.m(r,s)),e[7]?u?u.p(e,t):((u=Ti(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&me(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Mi(t){let n,a,r,i,o,s,e=t[9]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Li(Gi(t,l,e));return{c(){n=he("div"),a=he("main"),r=he("div");for(let e=0;e<c.length;e+=1)c[e].c();i=pe(),o=he("p"),s=ge(e),fe(r,"class","items"),_(r,"transform","translateY("+t[6]+"px)"),fe(a,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(r,null);de(n,i),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var a=Gi(t,l,e);c[e]?c[e].p(a,n):(c[e]=Li(a),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&_(r,"transform","translateY("+t[6]+"px)"),512&n[0]&&e!==(e=t[9]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),B(c,e)}}}function Li(e){let n,a,r,i,o,s;return{c(){n=he("div"),a=he("img"),s=pe(),fe(a,"class","RandomGameImage"),ce(a.src,r=e[36].thumbnail)||fe(a,"src",r),fe(a,"alt",i=e[36].name),fe(a,"title",o=e[36].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,a),de(n,s)},p(e,t){16&t[0]&&!ce(a.src,r=e[36].thumbnail)&&fe(a,"src",r),16&t[0]&&i!==(i=e[36].name)&&fe(a,"alt",i),16&t[0]&&o!==(o=e[36].name)&&fe(a,"title",o)},d(e){e&&me(n)}}}function Ti(e){let n;function a(e){return e[8]?Ii:Pi}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Pi(e){let n,a,r=e[9]("noGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","RandomGameLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&r!==(r=e[9]("noGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ii(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C=n[3].name+"",k=n[3].vendor.name+"",S=n[9]("playNowRandomGame")+"";return{c(){a=he("div"),r=he("div"),i=he("img"),c=pe(),(d=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=pe(),m=he("div"),h=he("p"),g=ge(C),p=pe(),f=he("p"),y=ge(k),v=pe(),b=he("button"),w=ge(S),fe(i,"class","RandomGameImage"),ce(i.src,o=n[3].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(r,"class","item"),fe(h,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(b,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(a,"class","RandomGameWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,c),de(r,d),de(a,u),de(a,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(m,v),de(m,b),de(b,w),x||($=[j(d,"click",n[21]),j(b,"click",n[22])],x=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3].thumbnail)&&fe(i,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(i,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(g,C),8&t[0]&&k!==(k=e[3].vendor.name+"")&&ye(y,k),512&t[0]&&S!==(S=e[9]("playNowRandomGame")+"")&&ye(w,S)},d(e){e&&me(a),x=!1,z($)}}}function Ri(e){let n,a,r=e[9]("playRandomGame")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&r!==(r=e[9]("playRandomGame")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Di(e){let n,a;return{c(){n=he("span"),a=ge(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2&t[0]&&ye(a,e[1])},d(e){e&&me(n)}}}function Ai(n){let a,r,i,o,s,l,c,d,u=n[5]&&Ei(n);function m(e){return e[1]?Di:e[1]?void 0:Ri}let h=m(n),g=h&&h(n);return{c(){a=he("div"),u&&u.c(),r=pe(),i=he("div"),o=he("button"),g&&g.c(),s=pe(),l=he("span"),this.c=G,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),u&&u.m(a,null),de(a,r),de(a,i),de(i,o),g&&g.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[24](a),c||(d=j(o,"click",n[23]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Ei(e)).c(),u.m(a,r)):u&&(u.d(1),u=null),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:G,o:G,d(e){e&&me(a),u&&u.d(),g&&g.d(),n[24](null),c=!1,d()}}}function Ni(n,e,a){let t;at(n,Ra,e=>a(9,t=e));let r,i,o,{endpoint:s=""}=e,{datasource:l=""}=e,{gameevent:c=""}=e,{lang:d=""}=e,{randombuttonicon:u=""}=e,{buttontext:m=""}=e,{translationurl:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:f=""}=e,y=[],v="",b=!1,w=0,x=0,$=!1,C=!1,k=window.navigator.userAgent;var S,F;({withLocale:S,translations:F}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(aa.set(F),tt.set(S))}),Object.keys(_i).forEach(e=>{Fi(e,_i[e])});let _=e=>{C?(a(4,r=(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})(r)),a(6,w=0),x=0,a(7,$=!1),a(3,v=y[Math.floor(Math.random()*y.length)]),a(5,b=!0),clearInterval(i),i=setInterval(()=>{a(6,w-=75),20==++x&&(a(7,$=!0),clearInterval(i))},150)):(a(5,b=!0),a(7,$=!0)),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},G=()=>{window.postMessage({type:c,gameId:v.gId||v.id},window.location.href),a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)})};return n.$$set=e=>{"endpoint"in e&&a(13,s=e.endpoint),"datasource"in e&&a(14,l=e.datasource),"gameevent"in e&&a(15,c=e.gameevent),"lang"in e&&a(16,d=e.lang),"randombuttonicon"in e&&a(0,u=e.randombuttonicon),"buttontext"in e&&a(1,m=e.buttontext),"translationurl"in e&&a(17,h=e.translationurl),"clientstyling"in e&&a(18,g=e.clientstyling),"clientstylingurl"in e&&a(19,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&a(20,f=e.filteredrandomgamecategories)},n.$$.update=()=>{if(65536&n.$$.dirty[0]&&d&&(t=d,tt.set(t)),131072&n.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fi(e,t[e])})}).catch(e=>{console.log(e)}),24576&n.$$.dirty[0]&&s&&l&&((t=new URL(s+"/v1/casino/games")).searchParams.append("platform",Da(k)),t.searchParams.append("datasource",l),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),f&&t.searchParams.append("filter","groups="+f),t.searchParams.append("expand","categories,vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{(y=e.items).length?(a(4,r=y.slice(0,19)),a(8,C=!0)):(a(4,r=[]),a(8,C=!1))}).catch(e=>{console.log(e),a(8,C=!1)})),262148&n.$$.dirty[0]&&g&&o&&((e=document.createElement("style")).innerHTML=g,o.appendChild(e)),524292&n.$$.dirty[0]&&p&&o){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t},[u,m,o,v,r,b,w,$,C,t,_,G,()=>{a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,l,c,d,h,g,p,f,()=>_(!0),()=>G(),()=>_(),function(e){et[e?"unshift":"push"](()=>{o=e,a(2,o)})}]}function Oi(e,t){ia(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;transition:transform 400ms ease-in-out}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ni,Ai,n,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[15]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});let Bi={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};function Hi(n){let a;return{c(){(a=he("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=G},m(e,t){ue(e,a,t),n[3](a)},p:G,i:G,o:G,d(e){e&&me(a),n[3](null)}}}function ji(t,e,n){let a,{clientstyling:r=""}=e,{clientstylingurl:i=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,r=e.clientstyling),"clientstylingurl"in e&&n(2,i=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&r&&a&&((e=document.createElement("style")).innerHTML=r,a.appendChild(e)),5&t.$$.dirty&&i&&a){let e=new URL(i),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[a,r,i,function(e){et[e?"unshift":"push"](()=>{a=e,n(0,a)})}]}function zi(e,t,n){e=e.slice();return e[70]=t[n],e}function Ui(e,t,n){e=e.slice();return e[73]=t[n],e}function Wi(n){let r,a,i,o,s,l,c,d,e,u,m,h,g,p,f,y,v,b,w,x=n[17],$=[];for(let e=0;e<x.length;e+=1)$[e]=qi(Ui(n,x,e));function C(e){return e[18]?Ki:Ji}let k=C(n),S=k(n);return{c(){r=he("div"),a=he("div"),i=he("div");for(let e=0;e<$.length;e+=1)$[e].c();o=pe(),s=he("div"),l=he("button"),c=H("svg"),d=H("path"),u=pe(),m=he("button"),h=H("svg"),g=H("path"),y=pe(),S.c(),fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(g,"style",p=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(g,"id","Path_36"),fe(g,"data-name","Path 36"),fe(g,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(g,"transform","translate(0 24.656) rotate(-90)"),fe(g,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(r,"class",v="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i);for(let e=0;e<$.length;e+=1)$[e]&&$[e].m(i,null);de(a,o),de(a,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,h),de(h,g),de(r,y),S.m(r,null),b||(w=[j(l,"click",n[43]),j(m,"click",n[44])],b=!0)},p(t,n){if(3277827&n[0]){let e;for(x=t[17],e=0;e<x.length;e+=1){var a=Ui(t,x,e);$[e]?$[e].p(a,n):($[e]=qi(a),$[e].c(),$[e].m(i,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=x.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&p!==(p=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(g,"style",p),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),k===(k=C(t))&&S?S.p(t,n):(S.d(1),(S=k(t))&&(S.c(),S.m(r,null))),8192&n[0]&&v!==(v="CasinoWinners "+(t[13]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&me(r),B($,e),S.d(),b=!1,z(w)}}}function Yi(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Vi(n){let a,r,i,o,s,l=n[20]("recentWinners")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),o||(s=j(a,"click",n[41]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("recentWinners")+"")&&ye(r,l),1025&t[0]&&i!==(i="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),o=!1,s()}}}function Zi(n){let a,r,i,o,s,l,c=n[20]("topWinners")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),s||(l=j(a,"click",n[42]),s=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("topWinners")+"")&&ye(r,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function qi(e){let n,a,r="recent"==e[73]&&Vi(e),i="top"==e[73]&&Zi(e);return{c(){r&&r.c(),n=pe(),i&&i.c(),a=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){"recent"==e[73]?r?r.p(e,t):((r=Vi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[73]?i?i.p(e,t):((i=Zi(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&me(n),i&&i.d(e),e&&me(a)}}}function Ji(n){let r,i=n[11],o=[];for(let e=0;e<i.length;e+=1)o[e]=Xi(zi(n,i,e));return{c(){r=he("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","WinnersSlider")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);n[47](r)},p(t,n){if(14223500&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var a=zi(t,i,e);o[e]?o[e].p(a,n):(o[e]=Xi(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(r),B(o,e),n[47](null)}}}function Ki(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Xi(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C,k,S,F,_=n[70].gameName+"",G=n[22](n[70].username)+"",E=n[20]("won")+"",M=n[70].specifiedCurrencyAmount.toFixed(2)+"",L=(n[7]?n[3]:n[2])+"";function T(){return n[45](n[70])}return{c(){a=he("div"),r=he("div"),i=he("img"),l=pe(),c=he("p"),d=ge(_),u=pe(),m=he("p"),h=ge(G),g=pe(),p=he("p"),f=ge(E),y=pe(),v=he("p"),b=ge(M),w=pe(),x=he("span"),$=ge(L),C=pe(),ce(i.src,o=n[70]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[70]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(p,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(a,"class",k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,l),de(r,c),de(c,d),de(r,u),de(r,m),de(m,h),de(r,g),de(r,p),de(p,f),de(r,y),de(r,v),de(v,b),de(v,w),de(v,x),de(x,$),de(a,C),n[46](a),S||(F=j(i,"click",T),S=!0)},p(e,t){n=e,2048&t[0]&&!ce(i.src,o=n[70]?.gameModel?.thumbnail)&&fe(i,"src",o),2048&t[0]&&s!==(s=n[70]?.gameModel?.thumbnail)&&fe(i,"alt",s),2048&t[0]&&_!==(_=n[70].gameName+"")&&ye(d,_),2048&t[0]&&G!==(G=n[22](n[70].username)+"")&&ye(h,G),1048576&t[0]&&E!==(E=n[20]("won")+"")&&ye(f,E),2048&t[0]&&M!==(M=n[70].specifiedCurrencyAmount.toFixed(2)+"")&&ye(b,M),140&t[0]&&L!==(L=(n[7]?n[3]:n[2])+"")&&ye($,L),65536&t[0]&&k!==(k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(a,"class",k)},d(e){e&&me(a),n[46](null),S=!1,F()}}}function Qi(n){let a;function r(e){return e[14]||e[15]?Yi:Wi}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[48](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[48](null)}}}function eo(n,e,a){let t;at(n,Ra,e=>a(20,t=e));let r,i,A,o,N,s,O,l,c,d,u,{endpoint:m=""}=e,{session:h=""}=e,{userid:g=""}=e,{periodrecent:p="Today"}=e,{periodtop:f="Last7Days"}=e,{numberusersrecent:y="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:w="All"}=e,{lang:x="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:k=""}=e,{usercurrency:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:_=""}=e,{enableautoscroll:G=""}=e,{tabsorder:E=""}=e,{translationurl:M=""}=e,{winnersdatasources:L=""}=e,{hascustomstyling:T="false"}=e,P=[],I=0,R=0,B=window.navigator.userAgent,D=!0,H=!1,j=!1,z=[],U=!1,W=0,Y=(Object.keys(Bi).forEach(e=>{Oi(e,Bi[e])}),()=>{z=L.split(",").map(function(e){return e.trim()});let t=new URL(`${m}/v1/casino/${i}-winners`);a(18,U=!0),t.searchParams.append("limit","recent"==i?y:v),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?p:f),t.searchParams.append("language",x),t.searchParams.append("amountLimit",b),t.searchParams.append("vendorCategory",w),z.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{a(11,P=[]),a(11,P=e.items.map(e=>e)),a(18,U=!1),setTimeout(()=>{W=u.offsetWidth,a(12,R=Math.round(r.offsetWidth/W)),q(),"true"==G&&(clearInterval(l),I=0,R<O?l=setInterval(()=>{X()},3e3):clearInterval(l)),a(14,D=!1)},5)})},1e3)}),V=e=>{i!==e&&(a(11,P=[]),a(10,i=e),Y())},Z=(e,t,n,a)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(N||"Not logged in")})},q=n=>{var e=[...r.children];O=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{a(16,j=!0)},10)},J=()=>{q(I)},K=()=>{var e;R>=P.length||(e=P.length,0===I?I=e-R:I-R<0?I=0:I-=R,J())},X=()=>{var e;R>=P.length||(e=P.length,"true"==G&&(I===e-R?I=0:I++),"false"==G&&(I===e-R?I=0:e-R<I+R?I=e-R:I+=R),J())},Q=()=>{a(40,d=o?S:k)};return rt(()=>(a(13,A=nt(B)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&a(27,m=e.endpoint),"session"in e&&a(28,h=e.session),"userid"in e&&a(29,g=e.userid),"periodrecent"in e&&a(30,p=e.periodrecent),"periodtop"in e&&a(31,f=e.periodtop),"numberusersrecent"in e&&a(32,y=e.numberusersrecent),"numberuserstop"in e&&a(33,v=e.numberuserstop),"amountlimit"in e&&a(26,b=e.amountlimit),"vendorCategory"in e&&a(34,w=e.vendorCategory),"lang"in e&&a(35,x=e.lang),"isrecentavailable"in e&&a(0,$=e.isrecentavailable),"istopavailable"in e&&a(1,C=e.istopavailable),"defaultcurrency"in e&&a(2,k=e.defaultcurrency),"usercurrency"in e&&a(3,S=e.usercurrency),"clientstyling"in e&&a(4,F=e.clientstyling),"clientstylingurl"in e&&a(5,_=e.clientstylingurl),"enableautoscroll"in e&&a(6,G=e.enableautoscroll),"tabsorder"in e&&a(36,E=e.tabsorder),"translationurl"in e&&a(37,M=e.translationurl),"winnersdatasources"in e&&a(38,L=e.winnersdatasources),"hascustomstyling"in e&&a(39,T=e.hascustomstyling)},n.$$.update=()=>{if(1140850691&n.$$.dirty[0]|63&n.$$.dirty[1]&&$&&C&&p&&f&&y&&v&&b&&w&&x&&E&&(a(17,c=E.split(",")),a(10,i=c[0]),"false"==$&&a(26,b=""),Q(),a(14,D=!1)),268435456&n.$$.dirty[0]&&h&&(a(7,o=!0),N=g),140&n.$$.dirty[0]&&o&&(S||k)&&Q(),134217728&n.$$.dirty[0]|640&n.$$.dirty[1]&&m&&L&&d&&Y(),16&n.$$.dirty[1]&&x&&(t=x,tt.set(t)),64&n.$$.dirty[1]&&M&&(t=new URL(M),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Oi(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[1]&&T&&"true"===T&&(F||_||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!F)&&_&&a(15,H=!0),272&n.$$.dirty[0]&&F&&s&&((e=document.createElement("style")).innerHTML=F,s.appendChild(e)),288&n.$$.dirty[0]&&_&&s){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500),a(15,H=!1)})}var e,t},[$,C,k,S,F,_,G,o,s,r,i,P,R,A,D,H,j,c,U,u,t,V,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Z,K,X,b,m,h,g,p,f,y,v,w,x,E,M,L,T,d,()=>V("recent"),()=>V("top"),()=>K(),()=>X(),e=>Z(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){et[e?"unshift":"push"](()=>{u=e,a(19,u)})},function(e){et[e?"unshift":"push"](()=>{r=e,a(9,r)})},function(e){et[e?"unshift":"push"](()=>{s=e,a(8,s)})}]}function to(e,t){ia(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ji,Hi,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .WinnersSlider{-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},eo,Qi,n,{endpoint:27,session:28,userid:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:26,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[26]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[37]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});let no={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."}};function ao(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function ro(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y;function v(e){return e[5]?so:lo}let b=v(n),w=b(n);return{c(){a=he("div"),r=he("div"),i=he("div"),o=he("div"),s=pe(),l=he("div"),w.c(),c=pe(),d=he("div"),u=he("img"),fe(o,"class","vendorLogo"),_(o,"background-image","url("+n[6]+")"),fe(l,"class","displayContainer"),ce(u.src,m=n[11])||fe(u,"src",m),fe(u,"alt",""),fe(d,"class","title"),fe(i,"class",h="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(i,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(a,"class",g=n[12]?"DisplayNone":""),fe(a,"part",p=n[12]?"DisplayNone":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(i,s),de(i,l),w.m(l,null),de(i,c),de(i,d),de(d,u),f||(y=j(r,"click",n[31]),f=!0)},p(e,t){64&t[0]&&_(o,"background-image","url("+e[6]+")"),b===(b=v(e))&&w?w.p(e,t):(w.d(1),(w=b(e))&&(w.c(),w.m(l,null))),2048&t[0]&&!ce(u.src,m=e[11])&&fe(u,"src",m),49&t[0]&&h!==(h="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",h),1024&t[0]&&_(i,"background","url("+e[10]+")"),4096&t[0]&&g!==(g=e[12]?"DisplayNone":"")&&fe(a,"class",g),4096&t[0]&&p!==(p=e[12]?"DisplayNone":"")&&fe(a,"part",p)},d(e){e&&me(a),w.d(),f=!1,y()}}}function io(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function oo(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function so(e){let n,a,r,i,o,s,A,l,c,N,O,d,B,H,u,m,h,g,p,j,f,y,z,U,v,W,Y,b,w,x,$,C,k,V,S,F,Z,q,_,J,K,G,E,M,L,T,X,P,I,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",ae=e[8][1]+"",re=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),a=he("div"),r=he("div"),i=he("img"),s=he("span"),A=ge(D),l=he("span"),c=he("span"),N=ge(ne),O=pe(),d=he("span"),B=ge(e[1]),H=pe(),u=he("div"),m=he("div"),h=he("img"),p=he("span"),j=ge(ae),f=he("span"),y=he("span"),z=ge(re),U=pe(),v=he("span"),W=ge(e[1]),Y=pe(),b=he("div"),w=he("div"),x=he("div"),$=he("img"),k=he("span"),V=ge(ie),S=he("span"),F=he("span"),Z=ge(oe),q=pe(),_=he("span"),J=ge(e[1]),K=pe(),G=he("div"),E=he("div"),M=he("img"),T=he("span"),X=ge(se),P=he("span"),I=he("span"),Q=ge(le),ee=pe(),R=he("span"),te=ge(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(a,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,g=e[9][1])||fe(h,"src",g),fe(h,"alt",""),fe(p,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(v,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(k,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(F,"class","jackpotValue"),fe(_,"class","jackpot-currency"),fe(S,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(M,"class","displayCardIcon"),ce(M.src,L=e[9][3])||fe(M,"src",L),fe(M,"alt",""),fe(T,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(G,"class","displayCard"),fe(b,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(r,i),de(r,s),de(s,A),de(a,l),de(l,c),de(c,N),de(l,O),de(l,d),de(d,B),de(n,H),de(n,u),de(u,m),de(m,h),de(m,p),de(p,j),de(u,f),de(f,y),de(y,z),de(f,U),de(f,v),de(v,W),ue(e,Y,t),ue(e,b,t),de(b,w),de(w,x),de(x,$),de(x,k),de(k,V),de(w,S),de(S,F),de(F,Z),de(S,q),de(S,_),de(_,J),de(b,K),de(b,G),de(G,E),de(E,M),de(E,T),de(T,X),de(G,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(N,ne),2&t[0]&&ye(B,e[1]),512&t[0]&&!ce(h.src,g=e[9][1])&&fe(h,"src",g),256&t[0]&&ae!==(ae=e[8][1]+"")&&ye(j,ae),128&t[0]&&re!==(re=e[7][1]+"")&&ye(z,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(J,e[1]),512&t[0]&&!ce(M.src,L=e[9][3])&&fe(M,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(X,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(b)}}}function lo(t){let r,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=co(ao(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var a=ao(t,i,e);o[e]?o[e].p(a,n):(o[e]=co(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function co(e){let n,a,r,i,o,s,l,c,d,u,m,h,g=e[8][e[50]]+"",p=(e[7][e[50]]??"")+"";return{c(){n=he("div"),a=he("div"),r=he("img"),o=he("span"),s=ge(g),l=he("span"),c=he("span"),d=ge(p),u=pe(),m=he("span"),h=ge(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,i=e[9][e[50]])||fe(r,"src",i),fe(r,"alt",""),fe(o,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(r.src,i=e[9][e[50]])&&fe(r,"src",i),256&t[0]&&g!==(g=e[8][e[50]]+"")&&ye(s,g),128&t[0]&&p!==(p=(e[7][e[50]]??"")+"")&&ye(d,p),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function uo(n){let a;function r(e){return e[13]?oo:e[3]?io:ro}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[32](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[32](null)}}}function mo(a,e,r){let i,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:g=""}=e,{backgroundsrcmobile:p=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,A=window.navigator.userAgent,C=!1,k=!1,S="",F=[],_=[],G=[],E=[],M=[],L="",T="",P=!1,I=!0,R=!1,D=(Object.keys(no).forEach(e=>{to(e,no[e])}),["typeSpread","typeLeft"]),n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};return a.$$set=e=>{"visualstructure"in e&&r(0,s=e.visualstructure),"title"in e&&r(15,t=e.title),"caticon0"in e&&r(16,l=e.caticon0),"caticon1"in e&&r(17,c=e.caticon1),"caticon2"in e&&r(18,d=e.caticon2),"caticon3"in e&&r(19,u=e.caticon3),"iconlabels"in e&&r(20,m=e.iconlabels),"backgroundsrc"in e&&r(21,h=e.backgroundsrc),"currency"in e&&r(1,g=e.currency),"backgroundsrcmobile"in e&&r(22,p=e.backgroundsrcmobile),"titlelogopath"in e&&r(23,f=e.titlelogopath),"lang"in e&&r(24,y=e.lang),"clientstyling"in e&&r(25,v=e.clientstyling),"clientstylingurl"in e&&r(26,b=e.clientstylingurl),"translationurl"in e&&r(27,w=e.translationurl),"endpoint"in e&&r(28,x=e.endpoint),"gameid"in e&&r(29,$=e.gameid)},a.$$.update=()=>{if(268435456&a.$$.dirty[0]&&x&&(n=new URL(x+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{r(30,_=e.egtJackpotIds.map(e=>e))})),33554436&a.$$.dirty[0]&&i&&v&&((n=document.createElement("style")).innerHTML=v,i.appendChild(n)),67108868&a.$$.dirty[0]&&i&&b){r(12,P=!0);let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,P=!1)},500)})}var e,t,n;1358954498&a.$$.dirty[0]&&x&&y&&g&&0<_.length&&x&&y&&g&&((t=new URL(x+"/v1/casino/jackpots")).searchParams.append("filter","id="+$),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",g),fetch(t.href).then(e=>e.json().then(e=>{r(3,I=!1),o=e,_.includes($)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),e=o,r(6,S=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{r(13,R=!0),r(3,I=!1),console.error(e)}))),16777226&a.$$.dirty[0]&&g&&y&&!I&&(r(4,C=nt(A)&&1<window.innerHeight/window.innerWidth),r(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&r(7,G=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,E=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?r(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),r(0,s=D[0])),r(10,L=p&&C&&!k?p:h),r(11,T=f),r(9,M=[l,c,d,u])),16777216&a.$$.dirty[0]&&y&&(e=y,tt.set(e)),134217728&a.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{to(e,t[e])})}).catch(e=>{console.log(e)})},[s,g,i,I,C,k,S,G,E,M,L,T,P,R,n,t,l,c,d,u,m,h,p,f,y,v,b,w,x,$,_,()=>n(),function(e){et[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function ho(e,t){ia(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},mo,uo,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});let go={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function po(e,t,n){e=e.slice();return e[39]=t[n],e}function fo(e,t,n){e=e.slice();return e[42]=t[n],e}function yo(n){let r,i,a,o,s,l,c,e,t=("vendor"==n[0]?n[10]("providers"):n[10]("collections"))+"",d=n[8]<n[7]&&bo(n),u=n[3],m=[];for(let e=0;e<u.length;e+=1)m[e]=ko(po(n,u,e));return{c(){r=he("div"),i=he("div"),a=he("p"),o=ge(t),s=pe(),d&&d.c(),l=pe(),c=he("div");for(let e=0;e<m.length;e+=1)m[e].c();fe(a,"class","Title"),fe(i,"class","CategoriesHeader"),fe(c,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[9]?"Mobile":"")+" "+("vendor"===n[0]?"Providers":"Collections"))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),d&&d.m(i,null),de(r,l),de(r,c);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(c,null);n[25](c)},p(n,a){if(1025&a[0]&&t!==(t=("vendor"==n[0]?n[10]("providers"):n[10]("collections"))+"")&&ye(o,t),n[7]>n[8]?d?d.p(n,a):((d=bo(n)).c(),d.m(i,null)):d&&(d.d(1),d=null),24590&a[0]){let t;for(u=n[3],t=0;t<u.length;t+=1){let e=po(n,u,t);m[t]?m[t].p(e,a):(m[t]=ko(e),m[t].c(),m[t].m(c,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=u.length}513&a[0]&&e!==(e="CasinoCollectionsProviders "+(n[9]?"Mobile":"")+" "+("vendor"===n[0]?"Providers":"Collections"))&&fe(r,"class",e)},d(e){e&&me(r),d&&d.d(),B(m,e),n[25](null)}}}function vo(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function bo(n){let a,r,i,o,s,l;return{c(){a=he("div"),(r=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',i=pe(),(o=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',fe(a,"class","ButtonsContainer")},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,o),s||(l=[j(r,"click",n[21]),j(o,"click",n[22])],s=!0)},p:G,d(e){e&&me(a),s=!1,z(l)}}}function wo(e){let n,a,r=e[39].name+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[39].name+"")&&ye(a,r)},d(e){e&&me(n)}}}function xo(e){let n,a,r;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,a=e[39].icon)||fe(n,"src",a),fe(n,"alt",r=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[39].icon)&&fe(n,"src",a),8&t[0]&&r!==(r=e[39].name+" icon")&&fe(n,"alt",r)},d(e){e&&me(n)}}}function $o(e){let n,a,r,i=e[42].name+"";return{c(){n=he("p"),a=ge(i),fe(n,"title",r=e[42].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(a,i),8&t[0]&&r!==(r=e[42].name)&&fe(n,"title",r)},d(e){e&&me(n)}}}function Co(n){let a,r,i,o,s,l,c,d;function u(){return n[23](n[42])}let m="true"==n[2]&&$o(n);return{c(){a=he("div"),r=he("img"),s=pe(),m&&m.c(),l=pe(),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[42].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",o=n[42].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,r),de(a,s),m&&m.m(a,null),de(a,l),c||(d=j(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,i=n[42].defaultThumbnail)&&fe(r,"src",i),8&t[0]&&o!==(o=n[42].name)&&fe(r,"alt",o),"true"==n[2]?m?m.p(n,t):((m=$o(n)).c(),m.m(a,l)):m&&(m.d(1),m=null)},d(e){e&&me(a),m&&m.d(),c=!1,d()}}}function ko(a){let n,r,i,o,s,t,l,c,d;function u(e){return"logo"==e[1]?xo:"title"==e[1]?wo:void 0}let m=u(a),h=m&&m(a),g=a[39].games,p=[];for(let e=0;e<g.length;e+=1)p[e]=Co(fo(a,g,e));function f(){return a[24](a[39])}return{c(){n=he("div"),r=he("div"),i=he("div"),h&&h.c(),o=pe(),s=he("div");for(let e=0;e<p.length;e+=1)p[e].c();l=pe(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(r,"class",t="CategorySlide "+("vendor"==a[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(r,"background-image","url("+a[39]?.background+")"),_(r,"background-size","cover"),fe(n,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,n,t),de(n,r),de(r,i),h&&h.m(i,null),de(r,o),de(r,s);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(s,null);de(n,l),c||(d=j(r,"click",f),c=!0)},p(e,n){if(m===(m=u(a=e))&&h?h.p(a,n):(h&&h.d(1),(h=m&&m(a))&&(h.c(),h.m(i,null))),8204&n[0]){let t;for(g=a[39].games,t=0;t<g.length;t+=1){let e=fo(a,g,t);p[t]?p[t].p(e,n):(p[t]=Co(e),p[t].c(),p[t].m(s,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=g.length}8&n[0]&&t!==(t="CategorySlide "+("vendor"==a[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",t),8&n[0]&&_(r,"background-image","url("+a[39]?.background+")")},d(e){e&&me(n),h&&h.d(),B(p,e),c=!1,d()}}}function So(n){let a;function r(e){return e[6]?vo:yo}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[26](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[26](null)}}}function Fo(n,e,a){let t;at(n,Ra,e=>a(10,t=e));let r,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,v=[],b=!0,w=0,x=0,$=0,C=window.navigator.userAgent,k=(Object.keys(go).forEach(e=>{ho(e,go[e])}),n=>{(o=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),S()}),S=()=>{a(8,$=Math.floor(r.offsetWidth/i))},F=()=>{k(w)},_=()=>{0===w?w=x-$:w-$<-1?w=0:w--,F()},G=()=>{w===x-$?w=0:x-$<w+1?w=x-$:w++,F()},E=(e,t,n,a)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return rt(()=>{a(9,l=nt(C))}),n.$$set=e=>{"endpoint"in e&&a(15,c=e.endpoint),"datasource"in e&&a(16,d=e.datasource),"lang"in e&&a(17,u=e.lang),"type"in e&&a(0,m=e.type),"titletype"in e&&a(1,h=e.titletype),"clientstyling"in e&&a(18,g=e.clientstyling),"clientstylingurl"in e&&a(19,p=e.clientstylingurl),"translationurl"in e&&a(20,f=e.translationurl),"collectionprovidersgamenames"in e&&a(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(229376&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{a(6,b=!1);e=e.items.filter(e=>e.flags==m);a(3,v=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),a(7,x=v.length)})),24&n.$$.dirty[0]&&v&&r&&k(),131072&n.$$.dirty[0]&&u&&(t=u,tt.set(t)),262176&n.$$.dirty[0]&&g&&s&&((e=document.createElement("style")).innerHTML=g,s.appendChild(e)),524320&n.$$.dirty[0]&&p&&s){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t;1048576&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ho(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,v,r,s,b,x,$,l,t,_,G,E,M,c,d,u,g,p,f,()=>_(),()=>G(),e=>E(e.gameId,e.launchUrl,e.name,e.subVendor),e=>M(e.id),function(e){et[e?"unshift":"push"](()=>{r=e,a(4,r)})},function(e){et[e?"unshift":"push"](()=>{s=e,a(5,s)})}]}function _o(e,t){ia(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Fo,So,n,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}});let Go={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Eo(n){let a,r;return{c(){a=he("div"),r=he("casino-games-category-section-nd"),this.c=G,F(r,"session",n[4]),F(r,"userid",n[5]),F(r,"endpoint",n[0]),F(r,"datasource",n[1]),F(r,"lang",n[3]),F(r,"currency",n[2]),F(r,"favorites",n[14]),F(r,"fetchviaevent",n[16]),F(r,"categoryid","FAVORITES"),F(r,"class","CategoryContainer"),F(r,"showgamename",n[11]),F(r,"clientstyling",n[6]),F(r,"clientstylingurl",n[7]),F(r,"livecasino",n[8]),F(r,"visiblegames",n[13]),F(r,"gamepagemodalurl",n[12]),F(r,"integratedgameframedesktop",n[10]),F(r,"integratedgameframemobile",n[9]),F(r,"casinomygames",n[15]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,r),n[18](a)},p(e,[t]){16&t&&F(r,"session",e[4]),32&t&&F(r,"userid",e[5]),1&t&&F(r,"endpoint",e[0]),2&t&&F(r,"datasource",e[1]),8&t&&F(r,"lang",e[3]),4&t&&F(r,"currency",e[2]),16384&t&&F(r,"favorites",e[14]),65536&t&&F(r,"fetchviaevent",e[16]),2048&t&&F(r,"showgamename",e[11]),64&t&&F(r,"clientstyling",e[6]),128&t&&F(r,"clientstylingurl",e[7]),256&t&&F(r,"livecasino",e[8]),8192&t&&F(r,"visiblegames",e[13]),4096&t&&F(r,"gamepagemodalurl",e[12]),1024&t&&F(r,"integratedgameframedesktop",e[10]),512&t&&F(r,"integratedgameframemobile",e[9]),32768&t&&F(r,"casinomygames",e[15])},i:G,o:G,d(e){e&&me(a),n[18](null)}}}function Mo(t,e,n){let a,{endpoint:r=""}=e,{datasource:i=""}=e,{currency:o=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{showgamename:p=""}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:v=""}=e,{casinomygames:b="false"}=e,{fetchviaevent:w="true"}=e;var x,$;return{withLocale:x,translations:$}=[{withLocale:"en",translations:{}}][0],tt.subscribe(e=>{null==e&&(aa.set($),tt.set(x))}),t.$$set=e=>{"endpoint"in e&&n(0,r=e.endpoint),"datasource"in e&&n(1,i=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,u=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"showgamename"in e&&n(11,p=e.showgamename),"gamepagemodalurl"in e&&n(12,f=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},t.$$.update=()=>{if(131136&t.$$.dirty&&d&&a&&((e=document.createElement("style")).innerHTML=d,a.appendChild(e)),131200&t.$$.dirty&&u&&a){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,a,function(e){et[e?"unshift":"push"](()=>{a=e,n(17,a)})}]}function Lo(e,t){ia(e,t)}customElements.get("casino-favorites-section-nd")||customElements.define("casino-favorites-section-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Mo,Eo,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});let To={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."}};function Po(e){let n;return{c(){F(n=he("casino-games-category-section-nd"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"fetchviaevent",e[16]),F(n,"categoryid","LASTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),65536&t[0]&&F(n,"fetchviaevent",e[16]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Io(e){let n,a,r=e[19]("noRecentGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&r!==(r=e[19]("noRecentGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ro(n){let a,r;function i(e){return e[18]?Io:Po}let o=i(n),s=o(n);return{c(){a=he("div"),r=he("div"),s.c(),this.c=G,fe(r,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),s.m(r,null),n[25](a)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:G,o:G,d(e){e&&me(a),s.d(),n[25](null)}}}function Do(t,e,n){let a;at(t,Ra,e=>n(19,a=e));let r,i,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:g=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:v="false"}=e,{showgamename:b=""}=e,{visiblegames:w=""}=e,{favorites:x=""}=e,{lastplayedperiod:$="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:k=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:F="true"}=e,{fetchviaevent:_="true"}=e,G=window.navigator.userAgent,E=!1,M=[];Object.keys(To).forEach(e=>{Lo(e,To[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(20,g=e.translationurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,v=e.gamepagemodalurl),"showgamename"in e&&n(12,b=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,x=e.favorites),"lastplayedperiod"in e&&n(21,$=e.lastplayedperiod),"lastplayedorder"in e&&n(22,C=e.lastplayedorder),"lastplayedlimit"in e&&n(23,k=e.lastplayedlimit),"casinomygames"in e&&n(15,S=e.casinomygames),"lastplayedunique"in e&&n(24,F=e.lastplayedunique),"fetchviaevent"in e&&n(16,_=e.fetchviaevent)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",F),n.searchParams.append("limit",k),n.searchParams.append("order",C),n.searchParams.append("period",$),"PC"===Da(G)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),r=p?n:n.href,fetch(r).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{M=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===S&&(M=M.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:M},window.location.href)})}else n(18,E=!0)}),1048576&t.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Lo(e,t[e])})}).catch(e=>{console.log(e)}),131136&t.$$.dirty[0]&&m&&i&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),131200&t.$$.dirty[0]&&h&&i){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,tt.set(e))},[o,s,l,c,d,u,m,h,p,f,y,v,b,w,x,S,_,i,E,a,g,$,C,k,F,function(e){et[e?"unshift":"push"](()=>{i=e,n(17,i)})}]}function Ao(e,t){ia(e,t)}customElements.get("casino-last-played-section-nd")||customElements.define("casino-last-played-section-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Do,Ro,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});let No={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Oo(e){let n;return{c(){F(n=he("casino-games-category-section-nd"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"fetchviaevent",e[16]),F(n,"categoryid","MOSTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),65536&t[0]&&F(n,"fetchviaevent",e[16]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Bo(e){let n,a,r=e[19]("noGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&r!==(r=e[19]("noGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ho(n){let a,r;function i(e){return e[18]?Bo:Oo}let o=i(n),s=o(n);return{c(){a=he("div"),r=he("div"),s.c(),this.c=G,fe(r,"class","casino-most-played-section"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),s.m(r,null),n[23](a)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:G,o:G,d(e){e&&me(a),s.d(),n[23](null)}}}function jo(a,e,r){let t,{endpoint:i=""}=(at(a,Ra,e=>r(19,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:p="false"}=e,{showgamename:f=""}=e,y=e.visiblegames,{favorites:v=""}=e,{translationurl:b=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:x="Last30Days"}=e,{mostplayedrounds:$="10"}=e,{fetchviaevent:C="true"}=e,k=window.navigator.userAgent;Object.keys(No).forEach(e=>{Ao(e,No[e])});let S,F,_=[],G=!1;return a.$$set=e=>{"endpoint"in e&&r(0,i=e.endpoint),"datasource"in e&&r(1,o=e.datasource),"currency"in e&&r(2,n=e.currency),"lang"in e&&r(3,s=e.lang),"session"in e&&r(4,l=e.session),"userid"in e&&r(5,c=e.userid),"clientstyling"in e&&r(6,d=e.clientstyling),"clientstylingurl"in e&&r(7,u=e.clientstylingurl),"livecasino"in e&&r(8,m=e.livecasino),"integratedgameframemobile"in e&&r(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&r(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&r(11,p=e.gamepagemodalurl),"showgamename"in e&&r(12,f=e.showgamename),"visiblegames"in e&&r(13,y=e.visiblegames),"favorites"in e&&r(14,v=e.favorites),"translationurl"in e&&r(20,b=e.translationurl),"casinomygames"in e&&r(15,w=e.casinomygames),"mostplayedperiod"in e&&r(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&r(22,$=e.mostplayedrounds),"fetchviaevent"in e&&r(16,C=e.fetchviaevent)},a.$$.update=()=>{if(41&a.$$.dirty[0]&&i&&c&&s&&(e={limit:100,device:Da(k),rounds:$},t=new URL(`${i}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x),(n=e.device)?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),S=m?t:t.href,new Promise((e,t)=>{fetch(S).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(i+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{_=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===w&&(_=_.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:_},window.location.href)})}else r(18,G=!0)})),131136&a.$$.dirty[0]&&d&&F&&((n=document.createElement("style")).innerHTML=d,F.appendChild(n)),131200&a.$$.dirty[0]&&u&&F){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e,t,n;1048576&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ao(e,t[e])})}).catch(e=>{console.log(e)}),8&a.$$.dirty[0]&&s&&(e=s,tt.set(e))},[i,o,n,s,l,c,d,u,m,h,g,p,f,y,v,w,C,F,G,t,b,x,$,function(e){et[e?"unshift":"push"](()=>{F=e,r(17,F)})}]}function zo(e,t,n){e=e.slice();return e[43]=t[n],e}function Uo(t){let r,n,i,a,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=Zo(zo(t,s,e));function c(e){return"Favorites"==e[25]?Ko:"MostPlayed"==e[25]?Jo:"LastPlayed"==e[25]?qo:void 0}let d=c(t),u=d&&d(t);return{c(){r=he("div"),n=he("div"),i=he("div");for(let e=0;e<l.length;e+=1)l[e].c();a=pe(),o=he("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(r,a),de(r,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var a=zo(t,s,e);l[e]?l[e].p(a,n):(l[e]=Zo(a),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),B(l,e),u&&u.d()}}}function Wo(n){let a,r,i,o,s,l,c,d,u,m,h=n[29]("favorites")+"";return{c(){a=he("button"),r=ge(h),i=pe(),o=he("span"),s=ge("("),l=ge(n[28]),c=ge(")"),fe(a,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,o),de(o,s),de(o,l),de(o,c),u||(m=j(a,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&h!==(h=e[29]("favorites")+"")&&ye(r,h),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",d)},d(e){e&&me(a),u=!1,m()}}}function Yo(n){let a,r,i,o,s,l=n[29]("mostPlayed")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),o||(s=j(a,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(r,l),33587200&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),o=!1,s()}}}function Vo(n){let a,r,i,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),s||(l=j(a,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(r,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function Zo(e){let n,a,r,i="Favorites"==e[43]&&Wo(e),o="MostPlayed"==e[43]&&Yo(e),s="LastPlayed"==e[43]&&Vo(e);return{c(){i&&i.c(),n=pe(),o&&o.c(),a=pe(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,a,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[43]?i?i.p(e,t):((i=Wo(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=Yo(e)).c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=Vo(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&me(n),o&&o.d(e),e&&me(a),s&&s.d(e),e&&me(r)}}}function qo(e){let n;return{c(){F(n=he("casino-last-played-section-nd"),"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"favorites",e[14]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"lastplayedperiod",e[18]),F(n,"lastplayedorder",e[20]),F(n,"lastplayedlimit",e[21]),F(n,"lastplayedunique",e[22]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16384&t[0]&&F(n,"favorites",e[14]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),262144&t[0]&&F(n,"lastplayedperiod",e[18]),1048576&t[0]&&F(n,"lastplayedorder",e[20]),2097152&t[0]&&F(n,"lastplayedlimit",e[21]),4194304&t[0]&&F(n,"lastplayedunique",e[22]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Jo(e){let n;return{c(){F(n=he("casino-most-played-section-nd"),"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"userid",e[0]),F(n,"favorites",e[14]),F(n,"categoryindex","0"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"mostplayedrounds",e[23]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"mostplayedperiod",e[19]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),8388608&t[0]&&F(n,"mostplayedrounds",e[23]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),524288&t[0]&&F(n,"mostplayedperiod",e[19]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Ko(e){let n;return{c(){F(n=he("casino-favorites-section-nd"),"session",e[1]),F(n,"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"favorites",e[14]),F(n,"categoryid","FAVORITES"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Xo(n){let a;function r(e){if(e[17])return Uo}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[35](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[35](null)}}}function Qo(t,e,n){let a;at(t,Ra,e=>n(29,a=e));let r,{userid:i=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h=""}=e,{visiblegames:g=""}=e,{gamepagemodalurl:p=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:v=""}=e,{translationurl:b=""}=e,{favorites:w="false"}=e,{mostplayed:x="false"}=e,{lastplayed:$="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:k="Last30Days"}=e,{mostplayedperiod:S="Last30Days"}=e,{lastplayedorder:F=""}=e,{lastplayedlimit:_=""}=e,{lastplayedunique:G="true"}=e,{mostplayedrounds:E=""}=e,D=window.navigator.userAgent,M="",L=!1,T=["","",""],P="0";var I,A;({withLocale:I,translations:A}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(aa.set(A),tt.set(I))}),Object.keys(Go).forEach(e=>{_o(e,Go[e])});let R=e=>{M!==e&&n(25,M=e)},N=()=>{var e;n(25,M="true"===w?"Favorites":"true"===x?"MostPlayed":"true"===$?"LastPlayed":""),n(27,T[0]="true"===w?"Favorites":"",T),n(27,T[1]="true"===x?"MostPlayed":"",T),n(27,T[2]="true"===$?"LastPlayed":"",T),e=c,tt.set(e)},O=e=>{var t;e.data&&"UpdateFavoritesCount"===e.data.type&&(e.data.favoriteGames?n(28,P=null==(t=e.data.favoriteGames)?void 0:t.length):n(28,P=null==(t=e.data.listOfFavoritesGames)?void 0:t.length))};return rt(()=>(window.addEventListener("message",O,!1),n(26,L=nt(D)),()=>{window.removeEventListener("message",O)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,g=e.visiblegames),"gamepagemodalurl"in e&&n(10,p=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"translationurl"in e&&n(31,b=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,x=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,k=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,S=e.mostplayedperiod),"lastplayedorder"in e&&n(20,F=e.lastplayedorder),"lastplayedlimit"in e&&n(21,_=e.lastplayedlimit),"lastplayedunique"in e&&n(22,G=e.lastplayedunique),"mostplayedrounds"in e&&n(23,E=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&s&&l&&c&&N(),114688&t.$$.dirty[0]&&w&&x&&$&&N(),1&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_o(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&r&&((e=document.createElement("style")).innerHTML=u,r.appendChild(e)),16777344&t.$$.dirty[0]&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e},[i,o,s,l,c,d,u,m,h,g,p,f,y,v,w,x,$,C,k,S,F,_,G,E,r,M,L,T,P,a,R,b,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){et[e?"unshift":"push"](()=>{r=e,n(24,r)})}]}function es(e,t){ia(e,t)}customElements.get("casino-most-played-section-nd")||customElements.define("casino-most-played-section-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},jo,Ho,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}}),customElements.get("casino-my-games-nd")||customElements.define("casino-my-games-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Qo,Xo,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});let ts={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};function ns(e,t,n){e=e.slice();return e[53]=t[n],e}function as(n){let a,r,i,o,s,l=n[20]("cancel")+"";return{c(){a=he("small"),r=ge(l),fe(a,"class",i="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,a,t),de(a,r),o||(s=j(a,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(r,l),4096&t[0]&&i!==(i="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(a,"class",i)},d(e){e&&me(a),o=!1,s()}}}function rs(e){let n,a,r,i;function o(e){return 1==e[16]&&e[11].length<2?ss:0!=e[14].length?os:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&us(e),d=2<=e[11].length&&0==e[14].length&&hs(e);return{c(){l&&l.c(),n=pe(),a=he("div"),c&&c.c(),r=pe(),d&&d.c(),fe(a,"class",i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,a,t),c&&c.m(a,null),de(a,r),d&&d.m(a,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[12]?c?c.p(e,t):((c=us(e)).c(),c.m(a,r)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=hs(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),65536&t[0]&&i!==(i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(a,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(a),c&&c.d(),d&&d.d()}}}function is(e){let n,a,r=e[20]("loading")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&r!==(r=e[20]("loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function os(e){let n,a,r=e[20]("searchResult")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&r!==(r=e[20]("searchResult")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ss(e){let n,a,r=0!==e[14].length&&ls(e),i=0==e[14].length&&cs(e);return{c(){r&&r.c(),n=pe(),i&&i.c(),a=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){0!==e[14].length?r?r.p(e,t):((r=ls(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),0==e[14].length?i?i.p(e,t):((i=cs(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&me(n),i&&i.d(e),e&&me(a)}}}function ls(e){let n,a,r=e[20]("recentSearch")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&r!==(r=e[20]("recentSearch")+"")&&ye(a,r)},d(e){e&&me(n)}}}function cs(e){let n,a,r,i,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&ds();return{c(){n=he("div"),l&&l.c(),a=pe(),r=he("p"),i=ge(s),fe(r,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,a),de(n,r),de(r,i)},p(e,t){"true"===e[10]?l||((l=ds()).c(),l.m(n,a)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(i,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function ds(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function us(t){let r,i=t[14],o=[];for(let e=0;e<i.length;e+=1)o[e]=ms(ns(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(17580543&n[0]){let e;for(i=t[14],e=0;e<i.length;e+=1){var a=ns(t,i,e);o[e]?o[e].p(a,n):(o[e]=ms(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function ms(e){let n,a,r,i,o,s,l,c,d,u,m,h;return{c(){F(n=he("casino-game-thumbnail-nd"),"endpoint",e[0]),F(n,"session",e[18]),F(n,"userid",e[19]),F(n,"favorites",e[8]),F(n,"lang",e[1]),F(n,"gamethumbnail",a=e[53].thumbnail),F(n,"gamename",r=e[53].name),F(n,"gamevendor",i=e[53].vendor.name),F(n,"gamelaunchurl",o=e[53].launchUrl),F(n,"gameisnew",s=e[53].isNew),F(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),F(n,"gamecellsize",c=e[53].cellSize),F(n,"gameid",d=e[53].id),F(n,"showgamename",e[6]),F(n,"gamefunmode",u=e[53].hasFunMode),F(n,"gamefavorite",m=e[53].isFavorite),F(n,"livelobbyendpoint",h=e[53].details?e[53].launchUrl:""),F(n,"integratedgameframedesktop",e[4]),F(n,"integratedgameframemobile",e[5]),F(n,"clientstyling",e[2]),F(n,"clientstylingurl",e[3]),F(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"endpoint",e[0]),262144&t[0]&&F(n,"session",e[18]),524288&t[0]&&F(n,"userid",e[19]),256&t[0]&&F(n,"favorites",e[8]),2&t[0]&&F(n,"lang",e[1]),16384&t[0]&&a!==(a=e[53].thumbnail)&&F(n,"gamethumbnail",a),16384&t[0]&&r!==(r=e[53].name)&&F(n,"gamename",r),16384&t[0]&&i!==(i=e[53].vendor.name)&&F(n,"gamevendor",i),16384&t[0]&&o!==(o=e[53].launchUrl)&&F(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&F(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&F(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&F(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&F(n,"gameid",d),64&t[0]&&F(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&F(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&F(n,"gamefavorite",m),16384&t[0]&&h!==(h=e[53].details?e[53].launchUrl:"")&&F(n,"livelobbyendpoint",h),16&t[0]&&F(n,"integratedgameframedesktop",e[4]),32&t[0]&&F(n,"integratedgameframemobile",e[5]),4&t[0]&&F(n,"clientstyling",e[2]),8&t[0]&&F(n,"clientstylingurl",e[3]),128&t[0]&&F(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function hs(e){let n,a,r,i,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&gs();return{c(){n=he("div"),m&&m.c(),a=pe(),r=he("p"),i=ge(d),o=pe(),s=he("p"),l=ge(u),fe(r,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,a),de(n,r),de(r,i),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=gs()).c(),m.m(n,a)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(i,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function gs(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ps(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C="true"===n[9]&&as(n);function k(e){return e[17]?is:rs}let S=k(n),F=S(n);return{c(){a=he("div"),r=he("div"),i=he("div"),(o=he("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',s=pe(),l=he("input"),d=pe(),u=he("span"),m=H("svg"),h=H("path"),p=pe(),C&&C.c(),y=pe(),v=he("div"),w=pe(),F.c(),this.c=G,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(h,"stroke","#717171"),fe(h,"stroke-width","2"),fe(h,"stroke-linecap","round"),fe(h,"stroke-linejoin","round"),fe(m,"width","11"),fe(m,"height","11"),fe(m,"fill","none"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",g="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(i,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(r,"class","SearchWrap"),fe(v,"class",b="true"!=n[9]?"OverlayCancel":""),fe(a,"class",("PC"!==Da(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(i,s),de(i,l),M(l,n[11]),n[33](l),de(i,d),de(i,u),de(u,m),de(m,h),de(i,p),C&&C.m(i,null),de(a,y),de(a,v),de(a,w),F.m(a,null),n[36](a),x||($=[j(l,"input",n[32]),j(l,"focus",n[22]),j(u,"click",n[34]),j(v,"click",n[23])],x=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&M(l,e[11]),2560&t[0]&&g!==(g="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",g),"true"===e[9]?C?C.p(e,t):((C=as(e)).c(),C.m(i,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(i,"class",f),512&t[0]&&b!==(b="true"!=e[9]?"OverlayCancel":"")&&fe(v,"class",b),S===(S=k(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(a,null)))},i:G,o:G,d(e){e&&me(a),n[33](null),C&&C.d(),F.d(),n[36](null),x=!1,z($)}}}function fs(n,e,o){let t;at(n,Ra,e=>o(20,t=e));let a,r,i,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{integratedgameframedesktop:p="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:v="true"}=e,{translationurl:b=""}=e,{showfavorites:w=""}=e,{cancelbutton:x="true"}=e,{notfoundicon:$="false"}=e,C=window.navigator.userAgent,k=[],S=[],F={},_="",G=!0,E=!1,M=!1,L=!1,T=[],P=(Object.keys(ts).forEach(e=>{es(e,ts[e])}),e=>{e.data&&"SearchedItemClicked"==e.data.type&&(t=>{if(-1===(S=(S=localStorage.getItem("searchedGamesWds_casino"))?S.split(","):[]).indexOf(t)){let e;S.unshift(t),e=S.join(","),localStorage.setItem("searchedGamesWds_casino",e)}})(e.data.gameId),"UserSessionID"==e.data.type&&(o(18,i=e.data.session),o(19,s=e.data.userid),o(31,L=!0)),"CategoryChange"==e.data.type&&R()}),D=()=>{if(o(12,G=!1),o(16,E=!0),l&&c&&m&&_.length<2){o(14,k=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],a=0,r=(t=e?e.split(","):t).length;if(0<r){for(a=0;a<r;a++){var i=new URL(l+"/v1/casino/games/"+t[a]);i.searchParams.append("language",m),i.searchParams.append("datasource",c),i.searchParams.append("platform",Da(C)),n.push(((e,a)=>new Promise((t,n)=>{o(17,M=!0),a&&Object.keys(F).indexOf(a)>=0?(o(17,M=!1),t(F[a])):fetch(e).then(e=>e.json()).then(e=>{o(17,M=!1),e.error||(F[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,M=!1),console.error(e),n(e)})}))(i,t[a]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,k=e.map(e=>(e.isFavorite=A(e.id),e))),k.length?I("searchSuccess","SearchWidget"):I("searchFail","SearchWidget")}).catch(e=>{I("searchError","SearchWidget")})}}O(E),I("searchAttempt","SearchWidget"),I("SearchInitialized","SearchWidget")},I=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},A=t=>-1!==T.findIndex(e=>e==t),R=()=>{o(11,_=""),o(12,G=!0),o(17,M=!1),o(14,k=[]),o(16,E=!1),O(E)},N=()=>{o(11,_=""),a.focus()},O=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return rt(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),n.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,h=e.clientstyling),"clientstylingurl"in e&&o(3,g=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,p=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,v=e.gamepagemodalurl),"translationurl"in e&&o(30,b=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,x=e.cancelbutton),"notfoundicon"in e&&o(10,$=e.notfoundicon)},n.$$.update=()=>{if(134223875&n.$$.dirty[0])if(2<=_.length){let e=new URL(l+"/v1/casino/games");e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Da(C)),e.searchParams.append("language",m),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+_),a=e,new Promise((t,n)=>{o(17,M=!0),fetch(a.href).then(e=>e.json()).then(e=>{o(17,M=!1),t(e)}).catch(e=>{o(17,M=!1),console.error(e),n(e)})}).then(e=>{o(14,k=e.items.map(e=>(e.isFavorite=A(e.id),e)))})}else G||D();var a,e,t;if(2&n.$$.dirty[0]&&m&&(t=m,tt.set(t)),1073741824&n.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{es(e,t[e])})}).catch(e=>{console.log(e)}),805306368&n.$$.dirty[0]&&d&&u&&(o(31,L=!0),o(18,i=d),o(19,s=u)),256&n.$$.dirty[0]|1&n.$$.dirty[1]&&w&&L&&(t=new URL(`${l}/v1/player/${s}/favorites/`),o(17,M=!0),e={method:"GET",headers:{"X-SessionID":i}},fetch(t.href,e).then(e=>e.json()).then(e=>{o(17,M=!1),T=e.items.map(e=>e.id)})),8196&n.$$.dirty[0]&&h&&r&&((e=document.createElement("style")).innerHTML=h,r.appendChild(e)),8200&n.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,m,h,g,p,f,y,v,w,x,$,_,G,r,k,a,E,M,i,s,t,C,D,()=>{"true"!=x&&R()},a=>{if(0===(null==a?void 0:a.length))return"";let r,i,o=99999999999,s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);za(e).diff(s)<o&&(o=za(e).diff(s),i=t),za(s).isAfter(n)&&za(s).isBefore(e)&&(r=a[i].name)}),r},R,N,c,d,u,b,L,function(){_=this.value,o(11,_)},function(e){et[e?"unshift":"push"](()=>{a=e,o(15,a)})},()=>N(),()=>R(),function(e){et[e?"unshift":"push"](()=>{r=e,o(13,r)})}]}function ys(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function vs(e,t,n){e=e.slice();return e[29]=t[n],e[31]=n,e}function bs(n){let r,a,i,o,s,l,e,c,d,u=n[3],m=[];for(let e=0;e<u.length;e+=1)m[e]=Fs(ys(n,u,e));return{c(){r=he("div"),(a=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',i=pe(),o=he("div"),s=ge(n[1]),l=pe();for(let e=0;e<m.length;e+=1)m[e].c();fe(a,"class","ModalCloseBtn"),fe(a,"role","button"),fe(o,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(n[5]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(r,l);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(r,null);c||(d=j(a,"click",n[6]),c=!0)},p(t,n){if(2&n[0]&&ye(s,t[1]),393&n[0]){let e;for(u=t[3],e=0;e<u.length;e+=1){var a=ys(t,u,e);m[e]?m[e].p(a,n):(m[e]=Fs(a),m[e].c(),m[e].m(r,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}32&n[0]&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[5]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),B(m,e),c=!1,d()}}}function ws(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function xs(e){let n,a;return{c(){n=H("svg"),fe(a=H("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function $s(e){let n,a;return{c(){n=H("svg"),fe(a=H("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function Cs(t){let r,n,i,o=t[26].details,s=[];for(let e=0;e<o.length;e+=1)s[e]=ks(vs(t,o,e));let l=t[26].detailsExpanded&&Ss(t);return{c(){r=he("div");for(let e=0;e<s.length;e+=1)s[e].c();n=pe(),l&&l.c(),i=c(),fe(r,"class","DetailsTabsTitles")},m(e,t){ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(r,null);ue(e,n,t),l&&l.m(e,t),ue(e,i,t)},p(n,a){if(264&a[0]){let t;for(o=n[26].details,t=0;t<o.length;t+=1){let e=vs(n,o,t);s[t]?s[t].p(e,a):(s[t]=ks(e),s[t].c(),s[t].m(r,null))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}n[26].detailsExpanded?l?l.p(n,a):((l=Ss(n)).c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},d(e){e&&me(r),B(s,e),e&&me(n),l&&l.d(e),e&&me(i)}}}function ks(n){let a,r,i,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[31],n[28])}return{c(){a=he("div"),r=he("div"),i=he("button"),s=pe(),fe(i,"class",o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":"")),fe(r,"class","Header"),fe(a,"class",l=n[31]===n[26].selectedTab?"SelectedTab":""),fe(a,"id","CollapseMoreInfoButton"),_(a,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),i.innerHTML=u,de(a,s),c||(d=j(i,"click",m),c=!0)},p(e,t){n=e,8&t[0]&&u!==(u=n[29].title+"")&&(i.innerHTML=u),8&t[0]&&o!==(o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":""))&&fe(i,"class",o),8&t[0]&&l!==(l=n[31]===n[26].selectedTab?"SelectedTab":"")&&fe(a,"class",l),8&t[0]&&_(a,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(a),c=!1,d()}}}function Ss(e){let n,a,r=e[26].details[e[26].selectedTab].description+"";return{c(){fe(n=he("div"),"class",a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),n.innerHTML=r},p(e,t){8&t[0]&&r!==(r=e[26].details[e[26].selectedTab].description+"")&&(n.innerHTML=r),8&t[0]&&a!==(a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function Fs(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x=n[26].title+"",$=n[26].description+"";function C(e){return 1==e[26].expandedInfo?$s:xs}let k=C(n),S=k(n);function F(){return n[17](n[26],n[27],n[28])}let _=1==n[26].expandedInfo&&Cs(n);return{c(){a=he("div"),r=he("div"),i=pe(),o=he("div"),s=he("img"),d=pe(),u=he("div"),m=pe(),h=he("div"),g=he("button"),p=new T(!1),f=pe(),S.c(),y=pe(),_&&_.c(),v=pe(),fe(r,"class","CasinoCalendarDailyTitle"),fe(s,"class","CasinoCalendarFitImage"),ce(s.src,l=n[26].image)||fe(s,"src",l),fe(s,"alt",c=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(u,"class","CasinoCalendarDailyDescription"),p.a=f,fe(g,"class","MoreInfoButton"),fe(h,"class","CasinoCalendarTabs"),fe(a,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,a,t),de(a,r),r.innerHTML=x,de(a,i),de(a,o),de(o,s),de(a,d),de(a,u),u.innerHTML=$,de(a,m),de(a,h),de(h,g),p.m(n[0],g),de(g,f),S.m(g,null),de(h,y),_&&_.m(h,null),de(a,v),b||(w=j(g,"click",F),b=!0)},p(e,t){n=e,8&t[0]&&x!==(x=n[26].title+"")&&(r.innerHTML=x),8&t[0]&&!ce(s.src,l=n[26].image)&&fe(s,"src",l),8&t[0]&&c!==(c=n[26].image)&&fe(s,"alt",c),8&t[0]&&$!==($=n[26].description+"")&&(u.innerHTML=$),1&t[0]&&p.p(n[0]),k!==(k=C(n))&&(S.d(1),S=k(n))&&(S.c(),S.m(g,null)),1==n[26].expandedInfo?_?_.p(n,t):((_=Cs(n)).c(),_.m(h,null)):_&&(_.d(1),_=null)},d(e){e&&me(a),S.d(),_&&_.d(),b=!1,w()}}}function _s(n){let a;function r(e){return e[4]?ws:bs}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[19](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[19](null)}}}function Gs(t,e,a){let n,{dailybackground:r=""}=e,{dailybuttontitle:i=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:h=""}=e,g=[],p=!0,f=!1,y=window.navigator.userAgent;var v,b;({withLocale:v,translations:b}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(aa.set(b),tt.set(v))});let w=e=>{"DailyEventsData"==e.data.type&&(a(4,p=!1),a(3,g=e.data.data),g.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.selectedTab=0,e.details.forEach((e,t)=>{e.expandedTab=0==t})}))},x=e=>{a(3,g[e].detailsExpanded=!g[e].detailsExpanded,g),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},$=(e,t,n)=>{a(3,g[n].selectedTab=t,g),e.details.forEach((e,t)=>{g[n].selectedTab!=t?e.expandedTab=!1:e.expandedTab=!0})};return rt(()=>(window.addEventListener("message",w,!1),nt(y)&&a(5,f=!0),()=>{window.removeEventListener("message",w)})),t.$$set=e=>{"dailybackground"in e&&a(9,r=e.dailybackground),"dailybuttontitle"in e&&a(0,i=e.dailybuttontitle),"dailyday"in e&&a(1,o=e.dailyday),"dailydescription"in e&&a(10,s=e.dailydescription),"dailyicon"in e&&a(11,l=e.dailyicon),"dailytitle"in e&&a(12,c=e.dailytitle),"lang"in e&&a(13,d=e.lang),"clientstyling"in e&&a(14,u=e.clientstyling),"clientstylingurl"in e&&a(15,m=e.clientstylingurl),"translationUrl"in e&&a(16,h=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty[0]&&d&&(e=d,tt.set(e)),16388&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty[0]&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,o,n,g,p,f,()=>{window.postMessage({type:"ModalClosed"},window.location.href),g.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t,e.selectedTab=0})},x,$,r,s,l,c,d,u,m,h,(e,t,n)=>{a(3,t[n].expandedInfo=!e.expandedInfo,g),x(n)},(e,t,n)=>{$(e,t,n)},function(e){et[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function Es(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C,k,S;return{c(){a=he("div"),r=he("div"),i=he("div"),o=he("div"),(s=he("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=pe(),c=he("div"),d=he("div"),u=he("img"),h=pe(),g=he("div"),p=ge(n[2]),f=pe(),y=he("div"),v=pe(),b=he("div"),w=he("button"),x=ge(n[3]),this.c=G,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(g,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(b,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),_(c,"background-image","url('"+n[0]+"')"),_(c,"background-size","cover"),_(c,"background-position","center"),_(c,"-webkit-background-size","cover"),_(c,"-moz-background-size","cover"),_(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,h),de(c,g),de(g,p),de(c,f),de(c,y),n[14](y),de(c,v),de(c,b),de(b,w),de(w,x),n[16](a),k||(S=j(w,"click",n[15]),k=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(p,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&_(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(r,"class",C)},i:G,o:G,d(e){e&&me(a),n[14](null),n[16](null),k=!1,S()}}}function Ms(t,e,n){let a,r,{cmsendpoint:i=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e;var p,f;({withLocale:p,translations:f}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(aa.set(f),tt.set(p))});let y=!1,v=window.navigator.userAgent,b=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return rt(()=>{nt(v)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,h=e.clientstyling),"clientstylingurl"in e&&n(13,g=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,a)&&a.append(e),4128&t.$$.dirty&&h&&r&&((e=document.createElement("style")).innerHTML=h,r.appendChild(e)),8224&t.$$.dirty&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,r,a,y,b,i,o,d,h,g,function(e){et[e?"unshift":"push"](()=>{a=e,n(6,a)})},()=>b(),function(e){et[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function Ls(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function Ts(t){let r,i,e,o=t[4],s=[];for(let e=0;e<o.length;e+=1)s[e]=Rs(Ls(t,o,e));let l=1==t[9]&&Ds(t);return{c(){r=he("div");for(let e=0;e<s.length;e+=1)s[e].c();i=pe(),l&&l.c(),fe(r,"class",e="CasinoCalendarItem "+(t[8]?"Mobile":""))},m(e,t){ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(r,null);de(r,i),l&&l.m(r,null)},p(n,a){if(23&a){let t;for(o=n[4],t=0;t<o.length;t+=1){let e=Ls(n,o,t);s[t]?s[t].p(e,a):(s[t]=Rs(e),s[t].c(),s[t].m(r,i))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}1==n[9]?l?l.p(n,a):((l=Ds(n)).c(),l.m(r,null)):l&&(l.d(1),l=null),256&a&&e!==(e="CasinoCalendarItem "+(n[8]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),B(s,e),l&&l.d()}}}function Ps(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Is(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Rs(e){let n,a,r,i,o,s;return{c(){F(n=he("casino-calendar-daily-item"),"dailybackground",a=e[21].dailyBackground),F(n,"dailyicon",r=e[21].dailyIcon),F(n,"dailyday",i=e[21].dailyDay),F(n,"dailydescription",o=e[21].dailyDescription),F(n,"dailybuttontitle",s=e[21].dailyButtonTitle),F(n,"index",e[23]),F(n,"lang",e[0]),F(n,"clientstyling",e[1]),F(n,"clientstylingurl",e[2])},m(e,t){ue(e,n,t)},p(e,t){16&t&&a!==(a=e[21].dailyBackground)&&F(n,"dailybackground",a),16&t&&r!==(r=e[21].dailyIcon)&&F(n,"dailyicon",r),16&t&&i!==(i=e[21].dailyDay)&&F(n,"dailyday",i),16&t&&o!==(o=e[21].dailyDescription)&&F(n,"dailydescription",o),16&t&&s!==(s=e[21].dailyButtonTitle)&&F(n,"dailybuttontitle",s),1&t&&F(n,"lang",e[0]),2&t&&F(n,"clientstyling",e[1]),4&t&&F(n,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function Ds(e){let n,a,r,i,o,s,l,c;return{c(){n=he("div"),F(a=he("casino-calendar-daily-details"),"dailybackground",r=e[4][e[5]].dailyBackground),F(a,"dailybuttontitle",i=e[4][e[5]].dailyButtonTitle),F(a,"dailyday",o=e[4][e[5]].dailyDay),F(a,"dailydescription",s=e[4][e[5]].dailyDescription),F(a,"dailyicon",l=e[4][e[5]].dailyIcon),F(a,"dailytitle",c=e[4][e[5]].dailyTitle),F(a,"lang",e[0]),F(a,"clientstyling",e[1]),F(a,"clientstylingurl",e[2]),fe(n,"class","CalendarDetailsWrapper")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){48&t&&r!==(r=e[4][e[5]].dailyBackground)&&F(a,"dailybackground",r),48&t&&i!==(i=e[4][e[5]].dailyButtonTitle)&&F(a,"dailybuttontitle",i),48&t&&o!==(o=e[4][e[5]].dailyDay)&&F(a,"dailyday",o),48&t&&s!==(s=e[4][e[5]].dailyDescription)&&F(a,"dailydescription",s),48&t&&l!==(l=e[4][e[5]].dailyIcon)&&F(a,"dailyicon",l),48&t&&c!==(c=e[4][e[5]].dailyTitle)&&F(a,"dailytitle",c),1&t&&F(a,"lang",e[0]),2&t&&F(a,"clientstyling",e[1]),4&t&&F(a,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function As(n){let a;function r(e){return e[7]?Is:e[6]?Ps:e[4]?.length?Ts:void 0}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[13](a)},p(e,[t]){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[13](null)}}}function Ns(n,e,a){let r,i,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,h=!0,g=!1,t=!1,p=window.navigator.userAgent,f=!1,y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(a(5,m=e.data.index),a(9,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=i[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&a(9,f=!1)};return rt(()=>(window.addEventListener("message",y,!1),nt(p)&&a(8,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&a(10,o=e.cmsendpoint),"env"in e&&a(11,s=e.env),"userroles"in e&&a(12,l=e.userroles),"lang"in e&&a(0,c=e.lang),"clientstyling"in e&&a(1,d=e.clientstyling),"clientstylingurl"in e&&a(2,u=e.clientstylingurl)},n.$$.update=()=>{if(7169&n.$$.dirty&&o&&c&&s&&l&&(a(6,h=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=Da(p))&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{a(4,i=e)}).catch(e=>{console.log(e),a(7,g=!0)}).finally(()=>{a(6,h=!1)})),10&n.$$.dirty&&d&&r&&((t=document.createElement("style")).innerHTML=d,r.appendChild(t)),12&n.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t},[c,d,u,r,i,m,h,g,t,f,o,s,l,function(e){et[e?"unshift":"push"](()=>{r=e,a(3,r)})}]}customElements.get("casino-search-nd")||customElements.define("casino-search-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 40px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emfe-w-color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emfe-w-color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-white, #FFF);background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E))}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E))}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},fs,ps,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Gs,_s,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ms,Es,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ns,As,n,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[11]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[12]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let Os=$.document;function Bs(e,t,n){e=e.slice();return e[125]=t[n],e[127]=n,e}function Hs(e){let n,a,r,i,o,s,l="true"==e[21]&&0==ol&&!e[83]&&zs(e),c="true"==e[22]&&0==ol&&!e[83]&&Us(e);function d(e){return e[77]?Ys:e[83]?void 0:Ws}let u=d(e),m=u&&u(e),h=e[79]&&"true"==e[16]&&rl(e);return{c(){n=he("section"),a=he("casino-search-nd"),r=pe(),l&&l.c(),i=pe(),c&&c.c(),o=pe(),m&&m.c(),s=pe(),h&&h.c(),F(a,"endpoint",e[1]),F(a,"datasource",e[3]),F(a,"showgamename",e[19]),F(a,"lang",e[5]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10]),F(a,"integratedgameframedesktop",e[31]),F(a,"integratedgameframemobile",e[32]),F(a,"translationurl",e[11]),F(a,"showfavorites",e[15]),fe(n,"class","CategoriesLobby")},m(e,t){ue(e,n,t),de(n,a),de(n,r),l&&l.m(n,null),de(n,i),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),h&&h.m(n,null)},p(e,t){2&t[0]&&F(a,"endpoint",e[1]),8&t[0]&&F(a,"datasource",e[3]),524288&t[0]&&F(a,"showgamename",e[19]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10]),1&t[1]&&F(a,"integratedgameframedesktop",e[31]),2&t[1]&&F(a,"integratedgameframemobile",e[32]),2048&t[0]&&F(a,"translationurl",e[11]),32768&t[0]&&F(a,"showfavorites",e[15]),"true"!=e[21]||0!=ol||e[83]?l&&(l.d(1),l=null):l?l.p(e,t):((l=zs(e)).c(),l.m(n,i)),"true"!=e[22]||0!=ol||e[83]?c&&(c.d(1),c=null):c?c.p(e,t):((c=Us(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[79]&&"true"==e[16]?h?h.p(e,t):((h=rl(e)).c(),h.m(n,null)):h&&(h.d(1),h=null)},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),h&&h.d()}}}function js(e){let n,a,r=e[85]("500")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&r!==(r=e[85]("500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function zs(e){let n;return{c(){F(n=he("casino-random-game"),"datasource",e[3]),F(n,"filteredrandomgamecategories",e[23]),F(n,"endpoint",e[1]),F(n,"lang",e[5]),F(n,"gameevent",e[76]),F(n,"randombuttonicon",e[72]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&F(n,"datasource",e[3]),8388608&t[0]&&F(n,"filteredrandomgamecategories",e[23]),2&t[0]&&F(n,"endpoint",e[1]),32&t[0]&&F(n,"lang",e[5]),16384&t[2]&&F(n,"gameevent",e[76]),1024&t[2]&&F(n,"randombuttonicon",e[72]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Us(e){let n;return{c(){F(n=he("casino-play-random-game"),"datasource",e[3]),F(n,"endpoint",e[1]),F(n,"language",e[5]),F(n,"specific-category",e[68]),F(n,"icon-visible",e[70]),F(n,"icon-visible-on-anim",e[71]),F(n,"launch-by-game-card",e[69]),F(n,"client-styling",e[8]),F(n,"client-styling-url",e[10]),F(n,"translation-url",e[11])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&F(n,"datasource",e[3]),2&t[0]&&F(n,"endpoint",e[1]),32&t[0]&&F(n,"language",e[5]),64&t[2]&&F(n,"specific-category",e[68]),256&t[2]&&F(n,"icon-visible",e[70]),512&t[2]&&F(n,"icon-visible-on-anim",e[71]),128&t[2]&&F(n,"launch-by-game-card",e[69]),256&t[0]&&F(n,"client-styling",e[8]),1024&t[0]&&F(n,"client-styling-url",e[10]),2048&t[0]&&F(n,"translation-url",e[11])},d(e){e&&me(n)}}}function Ws(e){let n;function a(e){return e[82]?qs:e[81]?Zs:Vs}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Ys(e){let n,a,r=e[85]("loading")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&r!==(r=e[85]("loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Vs(e){let n;return{c(){F(n=he("casino-games-category-section-nd"),"userid",e[7]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"favorites",e[15]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"session",e[6]),F(n,"categoryid",e[74]),F(n,"categorygames","9"),F(n,"fetchviaevent",e[66]),F(n,"class","CategoryContainer"),F(n,"showgamename",e[19]),F(n,"translationurl",e[11]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[20]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"casinomygames",e[0]),F(n,"filterbylogo",e[55]),F(n,"addfilterselector",e[53]),F(n,"addsortingselector",e[54]),F(n,"casinogamesgridslider",e[25])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32768&t[0]&&F(n,"favorites",e[15]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),64&t[0]&&F(n,"session",e[6]),4096&t[2]&&F(n,"categoryid",e[74]),16&t[2]&&F(n,"fetchviaevent",e[66]),524288&t[0]&&F(n,"showgamename",e[19]),2048&t[0]&&F(n,"translationurl",e[11]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),1048576&t[0]&&F(n,"livecasino",e[20]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),1&t[0]&&F(n,"casinomygames",e[0]),16777216&t[1]&&F(n,"filterbylogo",e[55]),4194304&t[1]&&F(n,"addfilterselector",e[53]),8388608&t[1]&&F(n,"addsortingselector",e[54]),33554432&t[0]&&F(n,"casinogamesgridslider",e[25])},d(e){e&&me(n)}}}function Zs(e){let n;return{c(){F(n=he("casino-my-games"),"userid",e[7]),F(n,"session",e[6]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"favorites",e[15]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[20]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"showgamename",e[19]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"translationurl",e[11]),F(n,"mostplayed",e[57]),F(n,"lastplayed",e[58]),F(n,"filteredcategories",e[17]),F(n,"activecategory",e[18]),F(n,"lastplayedunique",e[63]),F(n,"categoryindex","0"),F(n,"categoryid","MYGAMES"),F(n,"casinomygames",e[0]),F(n,"lastplayedperiod",e[59]),F(n,"mostplayedperiod",e[60]),F(n,"lastplayedorder",e[61]),F(n,"lastplayedlimit",e[62]),F(n,"mostplayedrounds",e[64])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),64&t[0]&&F(n,"session",e[6]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),32768&t[0]&&F(n,"favorites",e[15]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),1048576&t[0]&&F(n,"livecasino",e[20]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),524288&t[0]&&F(n,"showgamename",e[19]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),2048&t[0]&&F(n,"translationurl",e[11]),67108864&t[1]&&F(n,"mostplayed",e[57]),134217728&t[1]&&F(n,"lastplayed",e[58]),131072&t[0]&&F(n,"filteredcategories",e[17]),262144&t[0]&&F(n,"activecategory",e[18]),2&t[2]&&F(n,"lastplayedunique",e[63]),1&t[0]&&F(n,"casinomygames",e[0]),268435456&t[1]&&F(n,"lastplayedperiod",e[59]),536870912&t[1]&&F(n,"mostplayedperiod",e[60]),1073741824&t[1]&&F(n,"lastplayedorder",e[61]),1&t[2]&&F(n,"lastplayedlimit",e[62]),4&t[2]&&F(n,"mostplayedrounds",e[64])},d(e){e&&me(n)}}}function qs(t){let r,i=t[84],o=[];for(let e=0;e<i.length;e+=1)o[e]=al(Bs(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(2132344831&n[0]|67108863&n[1]|20971576&n[2]){let e;for(i=t[84],e=0;e<i.length;e+=1){var a=Bs(t,i,e);o[e]?o[e].p(a,n):(o[e]=al(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function Js(e){let n,a;return{c(){n=he("div"),F(a=he("casino-winners"),"session",e[6]),F(a,"userid",e[7]),F(a,"periodrecent",e[33]),F(a,"periodtop",e[34]),F(a,"numberusersrecent",e[35]),F(a,"numberuserstop",e[36]),F(a,"amountlimit",e[37]),F(a,"isrecentavailable",e[30]),F(a,"istopavailable",e[29]),F(a,"defaultcurrency",e[38]),F(a,"usercurrency",e[4]),F(a,"enableautoscroll",e[28]),F(a,"tabsorder",e[27]),F(a,"lang",e[5]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10]),F(a,"endpoint",e[1]),F(a,"winnersdatasources",e[65]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[0]&&F(a,"session",e[6]),128&t[0]&&F(a,"userid",e[7]),4&t[1]&&F(a,"periodrecent",e[33]),8&t[1]&&F(a,"periodtop",e[34]),16&t[1]&&F(a,"numberusersrecent",e[35]),32&t[1]&&F(a,"numberuserstop",e[36]),64&t[1]&&F(a,"amountlimit",e[37]),1073741824&t[0]&&F(a,"isrecentavailable",e[30]),536870912&t[0]&&F(a,"istopavailable",e[29]),128&t[1]&&F(a,"defaultcurrency",e[38]),16&t[0]&&F(a,"usercurrency",e[4]),268435456&t[0]&&F(a,"enableautoscroll",e[28]),134217728&t[0]&&F(a,"tabsorder",e[27]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10]),2&t[0]&&F(a,"endpoint",e[1]),8&t[2]&&F(a,"winnersdatasources",e[65])},d(e){e&&me(n)}}}function Ks(e){let n,a,r;return{c(){n=he("br"),a=pe(),F(r=he("casino-calendar"),"userroles",e[9]),F(r,"cmsendpoint",e[12]),F(r,"env",e[2]),F(r,"lang",e[5]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){512&t[0]&&F(r,"userroles",e[9]),4096&t[0]&&F(r,"cmsendpoint",e[12]),4&t[0]&&F(r,"env",e[2]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Xs(e){let n,a,r;return{c(){n=he("br"),a=pe(),fe(r=he("slot"),"name","je-jackpots-widget"),fe(r,"class",nt(e[86])?"":"JackpotsContainer")},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p:G,d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Qs(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),F(r=he("casino-jackpot-banner"),"title","Jackpot Cards"),F(r,"currency",i=e[4]||"RON"),F(r,"gameid","999"),F(r,"endpoint",e[1]),F(r,"lang",e[5]),F(r,"backgroundsrc","/assets/background0.jpg"),F(r,"backgroundsrcmobile","/assets/background0.jpg"),F(r,"titlelogopath","/assets/jackpots_logo.svg"),F(r,"caticon0","/assets/icon0.svg"),F(r,"caticon1","/assets/icon1.svg"),F(r,"caticon2","/assets/icon2.svg"),F(r,"caticon3","/assets/icon3.svg"),F(r,"visualstructure","typeSpread"),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(r,"currency",i),2&t[0]&&F(r,"endpoint",e[1]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function el(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),F(r=he("casino-jackpot-banner"),"title","Egypt Quest"),F(r,"currency",i=e[4]||"RON"),F(r,"gameid","998"),F(r,"endpoint",e[1]),F(r,"lang",e[5]),F(r,"backgroundsrc",e[44]),F(r,"backgroundsrcmobile",e[45]),F(r,"titlelogopath",e[46]),F(r,"caticon0",e[40]),F(r,"caticon1",e[41]),F(r,"caticon2",e[42]),F(r,"caticon3",e[43]),F(r,"iconlabels",e[47]),F(r,"visualstructure",e[48]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(r,"currency",i),2&t[0]&&F(r,"endpoint",e[1]),32&t[0]&&F(r,"lang",e[5]),8192&t[1]&&F(r,"backgroundsrc",e[44]),16384&t[1]&&F(r,"backgroundsrcmobile",e[45]),32768&t[1]&&F(r,"titlelogopath",e[46]),512&t[1]&&F(r,"caticon0",e[40]),1024&t[1]&&F(r,"caticon1",e[41]),2048&t[1]&&F(r,"caticon2",e[42]),4096&t[1]&&F(r,"caticon3",e[43]),65536&t[1]&&F(r,"iconlabels",e[47]),131072&t[1]&&F(r,"visualstructure",e[48]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function tl(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type","vendor"),F(n,"titletype","logo"),F(n,"collectionprovidersgamenames",e[52]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function nl(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type",e[50]),F(n,"collectionprovidersgamenames",e[52]),F(n,"titletype",e[51]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),524288&t[1]&&F(n,"type",e[50]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),1048576&t[1]&&F(n,"titletype",e[51]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function al(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y=n[26]&&n[127]==+n[26]&&Js(n),v=n[56]&&n[127]==+n[56]&&Ks(n),b=n[67]&&n[127]==+n[67]&&Xs(n);function w(e,t){return 256&t[1]|4194304&t[2]&&(o=null),256&t[1]|4194304&t[2]&&(s=null),(o=null==o?!(!e[39]||e[127]!=(""==e[39].split(",")[0]?e[84].length:+e[39].split(",")[0])):o)?el:(s=null==s?!(!e[39]||e[127]!=(""==e[39].split(",")[1]?e[84].length:+e[39].split(",")[1])):s)?Qs:void 0}let x=w(n,[-1,-1,-1,-1,-1]),$=x&&x(n);function C(e,t){return 262144&t[1]|4194304&t[2]&&(c=null),262144&t[1]|4194304&t[2]&&(d=null),(c=null==c?!(!e[49]||e[127]!=(""==e[49].split(",")[0]?e[84].length:+e[49].split(",")[0])):c)?nl:(d=null==d?!(!e[49]||e[127]!=(""==e[49].split(",")[1]?e[84].length:+e[49].split(",")[1])):d)?tl:void 0}let k=C(n,[-1,-1,-1,-1,-1]),S=k&&k(n);return{c(){y&&y.c(),a=pe(),v&&v.c(),r=pe(),b&&b.c(),i=pe(),$&&$.c(),l=pe(),S&&S.c(),u=pe(),F(m=he("casino-games-category-section-nd"),"session",n[6]),F(m,"userid",n[7]),F(m,"endpoint",n[1]),F(m,"datasource",n[3]),F(m,"lang",n[5]),F(m,"currency",n[4]),F(m,"categoryid",h=n[125]),F(m,"categoryindex",n[127]),F(m,"categorygames","9"),F(m,"fetchviaevent",n[66]),F(m,"favorites",n[15]),F(m,"showgamename",n[19]),F(m,"translationurl",n[11]),F(m,"class","CategoryContainer"),_(m,"background-color",n[127]%2!=0?n[13]:"transparent"),F(m,"clientstyling",n[8]),F(m,"clientstylingurl",n[10]),F(m,"livecasino",n[20]),F(m,"visiblegames",n[14]),F(m,"gamepagemodalurl",n[24]),F(m,"integratedgameframedesktop",n[31]),F(m,"integratedgameframemobile",n[32]),F(m,"casinomygames",n[0]),F(m,"filterbylogo",n[55]),F(m,"addfilterselector",n[53]),F(m,"addsortingselector",n[54]),F(m,"casinogamesgridslider",n[25])},m(e,t){y&&y.m(e,t),ue(e,a,t),v&&v.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,i,t),$&&$.m(e,t),ue(e,l,t),S&&S.m(e,t),ue(e,u,t),ue(e,m,t),p||(e=g=n[87].call(null,m,n[125]),f=e&&E(e.destroy)?e.destroy:G,p=!0)},p(e,t){(n=e)[26]&&n[127]==+n[26]?y?y.p(n,t):((y=Js(n)).c(),y.m(a.parentNode,a)):y&&(y.d(1),y=null),n[56]&&n[127]==+n[56]?v?v.p(n,t):((v=Ks(n)).c(),v.m(r.parentNode,r)):v&&(v.d(1),v=null),n[67]&&n[127]==+n[67]?b?b.p(n,t):((b=Xs(n)).c(),b.m(i.parentNode,i)):b&&(b.d(1),b=null),x===(x=w(n,t))&&$?$.p(n,t):($&&$.d(1),($=x&&x(n))&&($.c(),$.m(l.parentNode,l))),k===(k=C(n,t))&&S?S.p(n,t):(S&&S.d(1),(S=k&&k(n))&&(S.c(),S.m(u.parentNode,u))),64&t[0]&&F(m,"session",n[6]),128&t[0]&&F(m,"userid",n[7]),2&t[0]&&F(m,"endpoint",n[1]),8&t[0]&&F(m,"datasource",n[3]),32&t[0]&&F(m,"lang",n[5]),16&t[0]&&F(m,"currency",n[4]),4194304&t[2]&&h!==(h=n[125])&&F(m,"categoryid",h),16&t[2]&&F(m,"fetchviaevent",n[66]),32768&t[0]&&F(m,"favorites",n[15]),524288&t[0]&&F(m,"showgamename",n[19]),2048&t[0]&&F(m,"translationurl",n[11]),8192&t[0]&&_(m,"background-color",n[127]%2!=0?n[13]:"transparent"),256&t[0]&&F(m,"clientstyling",n[8]),1024&t[0]&&F(m,"clientstylingurl",n[10]),1048576&t[0]&&F(m,"livecasino",n[20]),16384&t[0]&&F(m,"visiblegames",n[14]),16777216&t[0]&&F(m,"gamepagemodalurl",n[24]),1&t[1]&&F(m,"integratedgameframedesktop",n[31]),2&t[1]&&F(m,"integratedgameframemobile",n[32]),1&t[0]&&F(m,"casinomygames",n[0]),16777216&t[1]&&F(m,"filterbylogo",n[55]),4194304&t[1]&&F(m,"addfilterselector",n[53]),8388608&t[1]&&F(m,"addsortingselector",n[54]),33554432&t[0]&&F(m,"casinogamesgridslider",n[25]),g&&E(g.update)&&4194304&t[2]&&g.update.call(null,n[125])},d(e){y&&y.d(e),e&&me(a),v&&v.d(e),e&&me(r),b&&b.d(e),e&&me(i),$&&$.d(e),e&&me(l),S&&S.d(e),e&&me(u),e&&me(m),p=!1,f()}}}function rl(n){let a,r,i,o=n[85]("breakButton")+"";return{c(){a=he("div"),r=he("button"),i=ge(o),fe(r,"class","PanicButton "+("PC"!==Da(n[86])?"PanicButtonMobile ":"")),L(r,"PanicButtonAnimation",n[80]),fe(a,"class","PanicSection "+("PC"!==Da(n[86])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[90](r)},p(e,t){8388608&t[2]&&o!==(o=e[85]("breakButton")+"")&&ye(i,o),262144&t[2]&&L(r,"PanicButtonAnimation",e[80])},d(e){e&&me(a),n[90](null)}}}function il(n){let a,r,i;function o(e){return e[78]?js:Hs}let s=o(n),l=s(n);return{c(){a=he("script"),r=pe(),i=he("div"),l.c(),this.c=G,fe(a,"type","module"),ce(a.src,"https://unpkg.com/@everymatrix/casino-play-random-game")||fe(a,"src","https://unpkg.com/@everymatrix/casino-play-random-game")},m(e,t){de(Os.head,a),ue(e,r,t),ue(e,i,t),l.m(i,null),n[91](i)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(i,null)))},i:G,o:G,d(e){me(a),e&&me(r),e&&me(i),l.d(),n[91](null)}}}let ol=!1;function sl(n,e,r){let D;at(n,Ra,e=>r(85,D=e));let A,{endpoint:i=""}=e,{env:N=""}=e,{datasource:o=""}=e,{currency:O=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{userroles:B=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:H=""}=e,{categorybackground:j=""}=e,a=e.visiblegames,{favorites:z=""}=e,{haspanicbutton:U="false"}=e,{filteredcategories:h=""}=e,{activecategory:g=""}=e,{showgamename:W=""}=e,{livecasino:Y="false"}=e,{playrandomgame:V="false"}=e,{randomgameslider:Z="false"}=e,{filteredrandomgamecategories:q=""}=e,{gamepagemodalurl:J="false"}=e,{casinogamesgridslider:K="false"}=e,{positionwinnerswidget:X=""}=e,{tabsorder:Q=""}=e,{enableautoscroll:ee=""}=e,{istopavailable:te=""}=e,{isrecentavailable:ne=""}=e,{integratedgameframedesktop:ae="false"}=e,{integratedgameframemobile:re="false"}=e,{periodrecent:ie=""}=e,{periodtop:oe=""}=e,{numberusersrecent:se=""}=e,{numberuserstop:le=""}=e,{amountlimit:ce=""}=e,{defaultcurrency:de=""}=e,{showsubgroups:p=""}=e,{positionjackpotbanners:ue=""}=e,{caticon0:me=""}=e,{caticon1:he=""}=e,{caticon2:ge=""}=e,{caticon3:pe=""}=e,{backgroundsrc:fe=""}=e,{backgroundsrcmobile:ye=""}=e,{titlelogopath:ve=""}=e,{iconlabels:be=""}=e,{visualstructure:we=""}=e,{positioncollections:xe=""}=e,{type:$e=""}=e,{titletype:Ce=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Se="false"}=e,{addsortingselector:Fe="false"}=e,{filterbylogo:_e=""}=e,{positioncasinocalendar:Ge=""}=e,{casinomygames:t="false"}=e,{mostplayed:f=""}=e,{lastplayed:y=""}=e,{lastplayedperiod:Ee="Last30Days"}=e,{mostplayedperiod:Me="Last30Days"}=e,{lastplayedorder:Le=""}=e,{lastplayedlimit:Te=""}=e,{lastplayedunique:Pe="true"}=e,{mostplayedrounds:Ie=""}=e,{winnersdatasources:Re=""}=e,{fetchviaevent:De="true"}=e,{positionjelobbywidget:Ae=""}=e,{specificcategory:Ne=""}=e,{launchbygamecard:Oe=""}=e,{iconvisible:Be=""}=e,{iconvisibleonanim:He=""}=e,{randombuttonicon:je=""}=e,v=window.navigator.userAgent;A=nt(v)?"OpenGameFrame":"ShowGameModal";let b,w,x,$,ze,Ue,C,k=!1,S=!1,We=!1,F="",_=!1,G=0,E=!1,M=!0,L=!1,Ye=[],T=[],Ve=!1,P="",Ze=!1;var qe,Je;({withLocale:qe,translations:Je}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(aa.set(Je),tt.set(qe))}),Object.keys(Na).forEach(e=>{Aa(e,Na[e])});let Ke=e=>{switch(Ve=!0,r(0,t="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ve},window.location.href)}),e.data.itemId){case"LOBBY":r(82,M=!0),r(81,E=!1),r(74,x="");break;case"MYGAMES":r(0,t="true"),r(82,M=!1),r(81,E=!0),r(74,x="");break;case"FAVORITES":r(82,M=!1),r(81,E=!0),r(74,x="");break;case"MOSTPLAYED":"true"==f&&(r(74,x=""),r(82,M=!1),r(81,E=!0));break;case"LASTPLAYED":"true"==y&&(r(74,x=""),r(82,M=!1),r(81,E=!0));break;default:r(82,M=!1),r(81,E=!1),r(74,x=e.data.itemId),window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href)}},Xe=t=>{if(t.data)switch(t.data.type){case"CategoryChange":Ke(t);break;case"UserSessionID":t.data.session,t.data.userID;break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:P,origin:t.data.origin},window.location.href);break;case"CategoryVendors":P=t.data.categoryid;break;case"searchCancelled":r(83,L=!1),x&&Ke({data:{itemId:x}});break;case"searchActive":r(83,L=!0);break;case"ModalClosed":break;case"SubgroupsIds":T.some(e=>t.data.subGroupsIds.includes(e))||T.push(...t.data.subGroupsIds)}},Qe=()=>{$&&(ze=$.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{G=0,w=setInterval(()=>{G+=1,r(80,_=!0),3<=G&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(w))},1e3)},R=e=>{G<3&&r(80,_=!1),clearInterval(w)};return rt(()=>(window.addEventListener("scroll",Qe,!1),window.addEventListener("message",Xe,!1),()=>{window.removeEventListener("scroll",Qe),window.removeEventListener("message",Xe),r(80,_=!1),null!=b&&b.removeEventListener("mousedown",I),null!=b&&b.removeEventListener("touchstart",I),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&r(1,i=e.endpoint),"env"in e&&r(2,N=e.env),"datasource"in e&&r(3,o=e.datasource),"currency"in e&&r(4,O=e.currency),"lang"in e&&r(5,s=e.lang),"session"in e&&r(6,l=e.session),"userid"in e&&r(7,c=e.userid),"clientstyling"in e&&r(8,d=e.clientstyling),"userroles"in e&&r(9,B=e.userroles),"clientstylingurl"in e&&r(10,u=e.clientstylingurl),"translationurl"in e&&r(11,m=e.translationurl),"cmsendpoint"in e&&r(12,H=e.cmsendpoint),"categorybackground"in e&&r(13,j=e.categorybackground),"visiblegames"in e&&r(14,a=e.visiblegames),"favorites"in e&&r(15,z=e.favorites),"haspanicbutton"in e&&r(16,U=e.haspanicbutton),"filteredcategories"in e&&r(17,h=e.filteredcategories),"activecategory"in e&&r(18,g=e.activecategory),"showgamename"in e&&r(19,W=e.showgamename),"livecasino"in e&&r(20,Y=e.livecasino),"playrandomgame"in e&&r(21,V=e.playrandomgame),"randomgameslider"in e&&r(22,Z=e.randomgameslider),"filteredrandomgamecategories"in e&&r(23,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&r(24,J=e.gamepagemodalurl),"casinogamesgridslider"in e&&r(25,K=e.casinogamesgridslider),"positionwinnerswidget"in e&&r(26,X=e.positionwinnerswidget),"tabsorder"in e&&r(27,Q=e.tabsorder),"enableautoscroll"in e&&r(28,ee=e.enableautoscroll),"istopavailable"in e&&r(29,te=e.istopavailable),"isrecentavailable"in e&&r(30,ne=e.isrecentavailable),"integratedgameframedesktop"in e&&r(31,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(32,re=e.integratedgameframemobile),"periodrecent"in e&&r(33,ie=e.periodrecent),"periodtop"in e&&r(34,oe=e.periodtop),"numberusersrecent"in e&&r(35,se=e.numberusersrecent),"numberuserstop"in e&&r(36,le=e.numberuserstop),"amountlimit"in e&&r(37,ce=e.amountlimit),"defaultcurrency"in e&&r(38,de=e.defaultcurrency),"showsubgroups"in e&&r(88,p=e.showsubgroups),"positionjackpotbanners"in e&&r(39,ue=e.positionjackpotbanners),"caticon0"in e&&r(40,me=e.caticon0),"caticon1"in e&&r(41,he=e.caticon1),"caticon2"in e&&r(42,ge=e.caticon2),"caticon3"in e&&r(43,pe=e.caticon3),"backgroundsrc"in e&&r(44,fe=e.backgroundsrc),"backgroundsrcmobile"in e&&r(45,ye=e.backgroundsrcmobile),"titlelogopath"in e&&r(46,ve=e.titlelogopath),"iconlabels"in e&&r(47,be=e.iconlabels),"visualstructure"in e&&r(48,we=e.visualstructure),"positioncollections"in e&&r(49,xe=e.positioncollections),"type"in e&&r(50,$e=e.type),"titletype"in e&&r(51,Ce=e.titletype),"collectionprovidersgamenames"in e&&r(52,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&r(53,Se=e.addfilterselector),"addsortingselector"in e&&r(54,Fe=e.addsortingselector),"filterbylogo"in e&&r(55,_e=e.filterbylogo),"positioncasinocalendar"in e&&r(56,Ge=e.positioncasinocalendar),"casinomygames"in e&&r(0,t=e.casinomygames),"mostplayed"in e&&r(57,f=e.mostplayed),"lastplayed"in e&&r(58,y=e.lastplayed),"lastplayedperiod"in e&&r(59,Ee=e.lastplayedperiod),"mostplayedperiod"in e&&r(60,Me=e.mostplayedperiod),"lastplayedorder"in e&&r(61,Le=e.lastplayedorder),"lastplayedlimit"in e&&r(62,Te=e.lastplayedlimit),"lastplayedunique"in e&&r(63,Pe=e.lastplayedunique),"mostplayedrounds"in e&&r(64,Ie=e.mostplayedrounds),"winnersdatasources"in e&&r(65,Re=e.winnersdatasources),"fetchviaevent"in e&&r(66,De=e.fetchviaevent),"positionjelobbywidget"in e&&r(67,Ae=e.positionjelobbywidget),"specificcategory"in e&&r(68,Ne=e.specificcategory),"launchbygamecard"in e&&r(69,Oe=e.launchbygamecard),"iconvisible"in e&&r(70,Be=e.iconvisible),"iconvisibleonanim"in e&&r(71,He=e.iconvisibleonanim),"randombuttonicon"in e&&r(72,je=e.randombuttonicon)},n.$$.update=()=>{if(262176&n.$$.dirty[0]&&s&&g&&(r(74,x=g),Ke({data:{itemId:x}})),194&n.$$.dirty[0]&&l&&c&&i&&r(79,We=!0),134221824&n.$$.dirty[2]&&x&&T&&!T.includes(decodeURI(x))&&""!=x&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&i&&o&&s&&(i||(F="Endpoint is missing! Please provide a valid endpointURL.",r(78,S=!0),r(77,k=!1),console.error(F)),o||(F="Datasource is missing! Please provide a valid datasource.",r(78,S=!0),r(77,k=!1),console.error(F)),(!s||s.length<2)&&(F="Language is missing! Please provide a valid language (alpha2code)",r(78,S=!0),r(77,k=!1),console.error(F)),S||(r(77,k=!0),t=s,tt.set(t),(t=new URL(i+"/v1/casino/groups/"+o)).searchParams.append("language",s),t.searchParams.append("platform",Da(v)),a=t,new Promise((t,n)=>{r(77,k=!0),fetch(a).then(e=>e.json()).then(e=>{r(77,k=!1),t(e)}).catch(e=>{r(78,S=!0),r(77,k=!1),console.error(e),n(e)})}).then(e=>{let a=h.split(",");e&&(Ue=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of a)e.flags==n&&(t=!1);return t}),r(84,Ye=Ue.filter(e=>!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==p)).map(e=>e.id)),r(89,T=e.items.map(e=>e.id.toString())),r(77,k=!1))}),$=void 0)),32&n.$$.dirty[0]&&s&&(Ze&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href)},500),Ze=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Aa(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|8192&n.$$.dirty[2]&&d&&C&&((e=document.createElement("style")).innerHTML=d,C.appendChild(e)),1024&n.$$.dirty[0]|8192&n.$$.dirty[2]&&u&&C){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{C.appendChild(t)},1)})}var e,a,t;2048&n.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",I,!1),null!=b&&b.addEventListener("touchstart",I,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b)&&b.addEventListener("touchend",R,!1)},[t,i,N,o,O,s,l,c,d,B,u,m,H,j,a,z,U,h,g,W,Y,V,Z,q,J,K,X,Q,ee,te,ne,ae,re,ie,oe,se,le,ce,de,ue,me,he,ge,pe,fe,ye,ve,be,we,xe,$e,Ce,ke,Se,Fe,_e,Ge,f,y,Ee,Me,Le,Te,Pe,Ie,Re,De,Ae,Ne,Oe,Be,He,je,b,x,C,A,k,S,We,_,E,M,L,Ye,D,v,(e,t)=>{P=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:a,receivedFavoriteResults:void 0},window.location.href)},p,T,function(e){et[e?"unshift":"push"](()=>{b=e,r(73,b)})},function(e){et[e?"unshift":"push"](()=>{C=e,r(75,C)})}]}class ll extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},sl,il,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,randomgameslider:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:88,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,fetchviaevent:66,positionjelobbywidget:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,randombuttonicon:72},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","randomgameslider","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","fetchviaevent","positionjelobbywidget","specificcategory","launchbygamecard","iconvisible","iconvisibleonanim","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[19]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get randomgameslider(){return this.$$.ctx[22]}set randomgameslider(e){this.$$set({randomgameslider:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[88]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get fetchviaevent(){return this.$$.ctx[66]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(e){this.$$set({specificcategory:e}),m()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(e){this.$$set({launchbygamecard:e}),m()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(e){this.$$set({iconvisible:e}),m()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(e){this.$$set({iconvisibleonanim:e}),m()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}return customElements.get("casino-page-nd")||customElements.define("casino-page-nd",ll),ll});
30
+ `},X,g,f,y,v,b,x,C,k,S,F,_,G,E,M,L,T,pe,fe,function(e){et[e?"unshift":"push"](()=>{r=e,o(18,r)})},()=>ve(w),function(e){et[e?"unshift":"push"](()=>{h=e,o(15,h)})},()=>be(w),()=>be(w),function(e){et[e?"unshift":"push"](()=>{i=e,o(12,i)})}]}function xr(e,t){oa(e,t)}customElements.get("casino-game-thumbnail-nd")||customElements.define("casino-game-thumbnail-nd",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 20px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d)}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 12px);white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},wr,pr,n,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),m()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});let $r={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};function Cr(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function kr(n){let r,i,a,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,e,t,D,x,$,A,C,k,S,F,_,G,N,E=n[11]("filterby")+"",M=n[11]("providers")+"",L=n[11]("clear")+"";function O(e){return e[7]?_r:Fr}let T=O(n),P=T(n),I=n[5],R=[];for(let e=0;e<I.length;e+=1)R[e]=Mr(Cr(n,I,e));return{c(){r=he("div"),i=he("div"),a=he("div"),o=H("svg"),s=H("path"),l=pe(),c=he("div"),d=he("span"),u=ge(E),m=pe(),h=he("div"),g=he("span"),p=ge(M),f=pe(),P.c(),y=pe(),v=he("span"),b=H("svg"),w=H("path"),D=pe(),x=he("div"),$=he("ul");for(let e=0;e<R.length;e+=1)R[e].c();A=pe(),C=he("button"),k=ge(L),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(h,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(a,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(b,"xmlns","http://www.w3.org/2000/svg"),fe(b,"width","14"),fe(b,"height","6.835"),fe(b,"viewBox","0 0 14 6.835"),fe(v,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(i,"class",t="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe($,"class","FilterDropdown"),fe(C,"class","ClearFilters"),C.disabled=S=n[7]&&n[6].length!=n[5].length,fe(x,"class",F="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(r,"class",_="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(d,u),de(c,m),de(c,h),de(h,g),de(g,p),de(h,f),P.m(h,null),de(i,y),de(i,v),de(v,b),de(b,w),de(r,D),de(r,x),de(x,$);for(let e=0;e<R.length;e+=1)R[e]&&R[e].m($,null);de(x,A),de(x,C),de(C,k),G||(N=[j(i,"click",n[22]),j(C,"click",n[25])],G=!0)},p(n,a){if(2048&a[0]&&E!==(E=n[11]("filterby")+"")&&ye(u,E),2048&a[0]&&M!==(M=n[11]("providers")+"")&&ye(p,M),T===(T=O(n))&&P?P.p(n,a):(P.d(1),(P=T(n))&&(P.c(),P.m(h,null))),16&a[0]&&e!==(e="TriangleInactive "+(n[4]?"TriangleActive":""))&&fe(v,"class",e),16&a[0]&&t!==(t="FilterSelector "+(n[4]?"FilterSelectorOpen":""))&&fe(i,"class",t),8228&a[0]){let t;for(I=n[5],t=0;t<I.length;t+=1){let e=Cr(n,I,t);R[t]?R[t].p(e,a):(R[t]=Mr(e),R[t].c(),R[t].m($,null))}for(;t<R.length;t+=1)R[t].d(1);R.length=I.length}2048&a[0]&&L!==(L=n[11]("clear")+"")&&ye(k,L),224&a[0]&&S!==(S=n[7]&&n[6].length!=n[5].length)&&(C.disabled=S),16&a[0]&&F!==(F="FilterDropdownContainer "+(n[4]?"FilterOpen":""))&&fe(x,"class",F),3&a[0]&&_!==(_="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))&&fe(r,"class",_)},d(e){e&&me(r),P.d(),B(R,e),G=!1,z(N)}}}function Sr(e){let n,a,r=e[11]("500")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Fr(e){let n,a;return{c(){n=he("span"),a=ge(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){256&t[0]&&ye(a,e[8])},d(e){e&&me(n)}}}function _r(e){let n,a,r=e[11]("all")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2048&t[0]&&r!==(r=e[11]("all")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Gr(e){let n,a;return{c(){ce((n=he("img")).src,a=e[36].logo)||fe(n,"src",a),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,a=e[36].logo)&&fe(n,"src",a)},d(e){e&&me(n)}}}function Er(e){let n,a,r,i,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=he("div"),a=he("span"),r=ge(d),i=pe(),o=he("span"),s=ge("("),l=ge(u),c=ge(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(n,i),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(r,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function Mr(n){let a,r,i,o,s,l,c,d,u,m,h,g;function p(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?Er:"true"===e[2]?Gr:void 0}let v=y(n),b=v&&v(n);return{c(){a=he("li"),r=he("label"),i=he("input"),s=pe(),l=he("span"),c=pe(),b&&b.c(),d=pe(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=o=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(r,"class","FilterLabel"),fe(a,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),a.value=m=n[36].name},m(e,t){ue(e,a,t),de(a,r),de(r,i),i.checked=n[36].isFilterSelected,de(r,s),de(r,l),de(r,c),b&&b.m(r,null),de(a,d),h||(g=[j(i,"change",p),j(i,"click",f)],h=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(i.__value=o,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),v===(v=y(n))&&b?b.p(n,t):(b&&b.d(1),(b=v&&v(n))&&(b.c(),b.m(r,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(a,"class",u),32&t[0]&&m!==(m=n[36].name)&&(a.value=m)},d(e){e&&me(a),b&&b.d(),h=!1,z(g)}}}function Lr(n){let a;function r(e){return e[10]?Sr:e[9]?void 0:kr}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[26](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[26](null)}}}function Tr(n,e,a){let t;at(n,Da,e=>a(11,t=e));let r,{endpoint:i=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:h="false"}=e,{filterbylogo:g="false"}=e,p=!1,f=window.navigator.userAgent,y=[],v=[],b={},w=!1,x=0,$=!0,C=!1;var k,S;({withLocale:k,translations:S}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(ra.set(S),tt.set(k))}),Object.keys($r).forEach(e=>{xr(e,$r[e])}),b[u]&&(b={[u]:[]});let F=()=>{a(4,p=!p),window.postMessage({type:"FilterOpened"},window.location.href)},_=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,v.length&&0!=v.filter(e=>e.name===t.name).length?a(6,v=v.filter(e=>e.name!==t.name)):v.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})):((e=JSON.parse(e))[u]=v.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),G()},G=()=>{a(7,w=v.length===y.length||0==v.length),a(8,x=v.length)},E=()=>{a(6,v=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),a(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),a(7,w=!0),a(4,p=!1)},M=e=>{"SortingOpened"==e.data.type&&a(4,p=!1)};return rt(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)})),n.$$set=e=>{"endpoint"in e&&a(15,i=e.endpoint),"datasource"in e&&a(16,o=e.datasource),"lang"in e&&a(17,s=e.lang),"translationurl"in e&&a(18,l=e.translationurl),"clientstyling"in e&&a(19,c=e.clientstyling),"clientstylingurl"in e&&a(20,d=e.clientstylingurl),"categoryid"in e&&a(21,u=e.categoryid),"addfilterselector"in e&&a(0,m=e.addfilterselector),"addsortingselector"in e&&a(1,h=e.addsortingselector),"filterbylogo"in e&&a(2,g=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&o&&u&&g&&(t=new URL(i+"/v1/casino/vendors"),a(4,p=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",Aa(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,a(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),a(6,v=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,v.push(e)):e.isFilterSelected=!1}),a(5,y=e),G()}).catch(e=>{console.error(e),a(10,C=!0),n(e)}).finally(()=>{a(9,$=!1)})})),524296&n.$$.dirty[0]&&c&&r&&((t=document.createElement("style")).innerHTML=c,r.appendChild(t)),1048584&n.$$.dirty[0]&&d&&r){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xr(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,g,r,p,y,v,w,x,$,C,t,F,_,E,i,o,s,l,c,d,u,()=>F(),function(e,t){e[t].isFilterSelected=this.checked,a(5,y)},e=>_(e),()=>E(),function(e){et[e?"unshift":"push"](()=>{r=e,a(3,r)})}]}function Pr(e,t){oa(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Tr,Lr,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});let Ir={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function Rr(e,t,n){e=e.slice();return e[23]=t[n],e}function Dr(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,e,C,k,S,F,_,G,E,M=n[4]("sortby")+"",L=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),P=[];for(let e=0;e<T.length;e+=1)P[e]=Ar(Rr(n,T,e));return{c(){a=he("div"),r=he("div"),i=he("div"),o=H("svg"),s=H("g"),l=H("path"),c=H("path"),d=H("path"),u=pe(),m=he("div"),h=he("span"),g=ge(M),p=pe(),f=he("div"),y=he("span"),v=ge(L),b=pe(),w=he("span"),x=H("svg"),$=H("path"),k=pe(),S=he("div"),F=he("ul");for(let e=0;e<P.length;e+=1)P[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(h,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe($,"id","arrow"),fe($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe($,"transform","translate(-274.511 -441.088)"),fe($,"fill","#d1d1d1"),fe(x,"xmlns","http://www.w3.org/2000/svg"),fe(x,"width","14"),fe(x,"height","6.835"),fe(x,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(r,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(F,"class","SorterDropdown"),fe(S,"class",_="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(a,"class","SorterContainer")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(o,s),de(s,l),de(s,c),de(s,d),de(i,u),de(i,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(y,v),de(r,b),de(r,w),de(w,x),de(x,$),de(a,k),de(a,S),de(S,F);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(F,null);G||(E=j(r,"click",n[13]),G=!0)},p(t,n){if(16&n&&M!==(M=t[4]("sortby")+"")&&ye(g,M),24&n&&L!==(L=(t[3]||t[4]("all"))+"")&&ye(v,L),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(r,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var a=Rr(t,T,e);P[e]?P[e].p(a,n):(P[e]=Ar(a),P[e].c(),P[e].m(F,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=T.length}2&n&&_!==(_="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(S,"class",_)},d(e){e&&me(a),B(P,e),G=!1,E()}}}function Ar(n){let a,r,i,o,s,l,c,d,u,m,h,g,e=n[23]+"";function p(){return n[14](n[23])}return{c(){a=he("li"),r=he("label"),i=he("input"),s=pe(),l=he("span"),c=pe(),d=he("span"),u=ge(e),m=pe(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(r,"class","SorterLabel CustomRadioButton"),fe(a,"class","SorterItem"),a.value=n[23]},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,s),de(r,l),de(r,c),de(r,d),de(d,u),de(a,m),h||(g=j(i,"click",p),h=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(i.checked=o)},d(e){e&&me(a),h=!1,g()}}}function Nr(n){let a;function r(e){if(!e[2])return Dr}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[15](a)},p(e,[t]){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[15](null)}}}function Or(t,e,a){let n;at(t,Da,e=>a(4,n=e));let r,{lang:i=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",h="All";var g,p;({withLocale:g,translations:p}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(ra.set(p),tt.set(g))}),Object.keys(Ir).forEach(e=>{Pr(e,Ir[e])});let f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{a(3,h=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),a(1,d=!d)},v=()=>{a(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},b=e=>{"FilterOpened"==e.data.type&&a(1,d=!1)};return rt(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),t.$$set=e=>{"lang"in e&&a(8,i=e.lang),"translationurl"in e&&a(9,o=e.translationurl),"clientstyling"in e&&a(10,s=e.clientstyling),"clientstylingurl"in e&&a(11,l=e.clientstylingurl),"categoryid"in e&&a(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(a(3,h="All"),a(2,u=!1),a(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],a(3,h=e||"All"),a(3,h=f[e])),1025&t.$$.dirty&&s&&r&&((e=document.createElement("style")).innerHTML=s,r.appendChild(e)),2049&t.$$.dirty&&l&&r){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Pr(e,t[e])})}).catch(e=>{console.log(e)})},[r,d,u,h,n,f,y,v,i,o,s,l,c,()=>v(),e=>y(e),function(e){et[e?"unshift":"push"](()=>{r=e,a(0,r)})}]}function Br(e,t,n){e=e.slice();return e[91]=t[n],e[93]=n,e}function Hr(e,t,n){e=e.slice();return e[91]=t[n],e[94]=t,e[93]=n,e}function jr(e,t,n){e=e.slice();return e[91]=t[n],e[93]=n,e}function zr(e){let n;function a(e){return e[26]?Vr:e[37]?Yr:void 0}let r=a(e),i=r&&r(e);return{c(){n=he("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i&&i.d(1),(i=r&&r(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function Ur(e){let n,a,r;function i(e){return e[30]?vi:e[27].length?fi:yi}let o=i(e),s=o(e);function l(e){return e[27]?wi:bi}let c=l(e),d=c(e);return{c(){n=he("div"),a=he("div"),s.c(),r=pe(),d.c(),fe(a,"class","CasinoGamesHeader Searched "+(nt(e[42])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,a),s.m(a,null),de(n,r),d.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function Wr(e){let n;function a(e){return e[32]?ki:Ci}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r!==(r=a(e))&&(i.d(1),i=r(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&me(n)}}}function Yr(n){let a,r,i,o,s="true"!==n[18]&&Zr(n);function l(e){return e[23]&&!e[34]?Kr:e[40]?Jr:qr}let c=l(n),d=c(n);return{c(){a=he("div"),s&&s.c(),r=pe(),i=he("ul"),d.c(),fe(i,"class",o=(0!=n[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(a,"class","CasinoGamesContainer")},m(e,t){ue(e,a,t),s&&s.m(a,null),de(a,r),de(a,i),d.m(i,null),n[56](i)},p(e,t){"true"!==e[18]?s?s.p(e,t):((s=Zr(e)).c(),s.m(a,r)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null))),512&t[1]&&o!==(o=(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",o)},d(e){e&&me(a),s&&s.d(),d.d(),n[56](null)}}}function Vr(e){let n,a,r="true"!==e[18]&&si(e);function i(e){return e[23]&&!e[34]?gi:0!==e[27].length?hi:mi}let o=i(e),s=o(e);return{c(){n=he("div"),r&&r.c(),a=pe(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),r&&r.m(n,null),de(n,a),s.m(n,null)},p(e,t){"true"!==e[18]?r?r.p(e,t):((r=si(e)).c(),r.m(n,a)):r&&(r.d(1),r=null),o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),r&&r.d(),s.d()}}}function Zr(n){let a,r,i,o,s,l,c,d,u=n[41]("favorites")+"",m=n[40].items.length+"";return{c(){a=he("div"),r=he("h3"),i=ge(u),o=pe(),s=he("span"),l=ge("("),c=ge(m),d=ge(")"),fe(s,"class","CategoryFavName"),fe(r,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,o),de(r,s),de(s,l),de(s,c),de(s,d),n[55](r)},p(e,t){1024&t[1]&&u!==(u=e[41]("favorites")+"")&&ye(i,u),512&t[1]&&m!==(m=e[40].items.length+"")&&ye(c,m)},d(e){e&&me(a),n[55](null)}}}function qr(e){let n,a,r=e[41]("waiting")+"";return{c(){n=he("p"),a=ge(r)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("waiting")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Jr(t){let r,i=t[40].items,o=[];for(let e=0;e<i.length;e+=1)o[e]=oi(Br(t,i,e));let s=null;return i.length||(s=Xr(t)),{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c(),s&&s.c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n),s&&s.m(t,n)},p(n,a){if(262121&a[0]|8128&a[1]){let t;for(i=n[40].items,t=0;t<i.length;t+=1){let e=Br(n,i,t);o[t]?o[t].p(e,a):(o[t]=oi(e),o[t].c(),o[t].m(r.parentNode,r))}for(;t<o.length;t+=1)o[t].d(1);o.length=i.length,!i.length&&s?s.p(n,a):i.length?s&&(s.d(1),s=null):((s=Xr(n)).c(),s.m(r.parentNode,r))}},d(e){B(o,e),e&&me(r),s&&s.d(e)}}}function Kr(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Xr(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p,f=e[41]("noFavoritesTitle")+"",t=(v=e,nt(v[42])?ei:Qr),y=t(e);var v;return{c(){n=he("p"),a=H("svg"),r=H("rect"),i=H("rect"),o=H("circle"),s=H("path"),l=H("path"),c=H("path"),d=H("path"),u=pe(),m=he("span"),h=ge(f),g=pe(),y.c(),p=pe(),fe(r,"x","1"),fe(r,"y","18.053"),fe(r,"width","90.263"),fe(r,"height","90.263"),fe(r,"rx","12"),fe(r,"stroke","var(--emw--color-gray-150, #828282)"),fe(r,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emw--color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emw-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(a,"width","198"),fe(a,"height","148"),fe(a,"viewBox","0 0 198 148"),fe(a,"fill","none"),fe(a,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(nt(e[42])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,i),de(a,o),de(a,s),de(a,l),de(a,c),de(a,d),de(n,u),de(n,m),de(m,h),de(n,g),y.m(n,null),de(n,p)},p(e,t){1024&t[1]&&f!==(f=e[41]("noFavoritesTitle")+"")&&ye(h,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function Qr(e){let n,a,r=e[41]("noFavorites")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noFavorites")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ei(e){let n,a,r=e[41]("noFavoritesMobile")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noFavoritesMobile")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ti(e){let n,a=e[91].gameModel.isFavorite&&ni(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[91].gameModel.isFavorite?a?a.p(e,t):((a=ni(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function ni(e){let n,a=(e=>{let n,a,r;function i(e,t){return 512&t[1]&&(a=null),(n=null==n?!!nt(e[42]):n)?ri:(a=null==a?!!e[91].gameModel.platform.includes("PC"):a)?ai:void 0}let o=i(e,[-1,-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),r=c()},m(e,t){s&&s.m(e,t),ue(e,r,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&me(r)}}})(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function ai(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p,f;return{c(){F(n=he("casino-game-thumbnail-nd"),"class",a=""+(x+(e[91].cellSize||"1x1"))),F(n,"part",r=""+(x+(e[91].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"translationurl",e[11]),F(n,"favorites",e[8]),F(n,"categoryid",e[0]),F(n,"gamethumbnail",i=e[91].gameModel.thumbnail),F(n,"gamename",o=e[91].gameModel.name),F(n,"gamevendor",s=e[91].gameModel.vendor.logo),F(n,"gamelaunchurl",l=e[91].launchUrl),F(n,"gameisnew",c=e[91].gameModel.isNew),F(n,"gametag",d=0<e[91].gameModel.advancedTags?.length&&e[43](e[91].gameModel.advancedTags)),F(n,"gamecellsize",u=e[91].cellSize),F(n,"gameid",m=e[91].gameModel.id),F(n,"gamefunmode",h=e[91].gameModel.hasFunMode),F(n,"showgamename",e[13]),F(n,"gamefavorite",g=e[91].gameModel.isFavorite),F(n,"showfavoredcategory",e[37]),F(n,"connectlive",p=1==e[38][e[91].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[39]),F(n,"currency",e[12]),F(n,"livelobbyendpoint",f=e[91].gameModel.details?e[91].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[14]),F(n,"gamepagemodalurl",e[15]),F(n,"integratedgameframedesktop",e[16]),F(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(x+(e[91].cellSize||"1x1")))&&F(n,"class",a),512&t[1]&&r!==(r=""+(x+(e[91].cellSize||"1x1")))&&F(n,"part",r),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),2048&t[0]&&F(n,"translationurl",e[11]),256&t[0]&&F(n,"favorites",e[8]),1&t[0]&&F(n,"categoryid",e[0]),512&t[1]&&i!==(i=e[91].gameModel.thumbnail)&&F(n,"gamethumbnail",i),512&t[1]&&o!==(o=e[91].gameModel.name)&&F(n,"gamename",o),512&t[1]&&s!==(s=e[91].gameModel.vendor.logo)&&F(n,"gamevendor",s),512&t[1]&&l!==(l=e[91].launchUrl)&&F(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[91].gameModel.isNew)&&F(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[91].gameModel.advancedTags?.length&&e[43](e[91].gameModel.advancedTags))&&F(n,"gametag",d),512&t[1]&&u!==(u=e[91].cellSize)&&F(n,"gamecellsize",u),512&t[1]&&m!==(m=e[91].gameModel.id)&&F(n,"gameid",m),512&t[1]&&h!==(h=e[91].gameModel.hasFunMode)&&F(n,"gamefunmode",h),8192&t[0]&&F(n,"showgamename",e[13]),512&t[1]&&g!==(g=e[91].gameModel.isFavorite)&&F(n,"gamefavorite",g),64&t[1]&&F(n,"showfavoredcategory",e[37]),640&t[1]&&p!==(p=1==e[38][e[91].id]?"connect":"disconnect")&&F(n,"connectlive",p),256&t[1]&&F(n,"visibilityconnect",e[39]),4096&t[0]&&F(n,"currency",e[12]),512&t[1]&&f!==(f=e[91].gameModel.details?e[91].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),16384&t[0]&&F(n,"livecasino",e[14]),32768&t[0]&&F(n,"gamepagemodalurl",e[15]),65536&t[0]&&F(n,"integratedgameframedesktop",e[16]),131072&t[0]&&F(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function ri(e){let n,a=e[91].gameModel.platform.includes("iPad")||e[91].gameModel.platform.includes("iPhone")||e[91].gameModel.platform.includes("Android"),r=a&&ii(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){(a=512&t[1]?e[91].gameModel.platform.includes("iPad")||e[91].gameModel.platform.includes("iPhone")||e[91].gameModel.platform.includes("Android"):a)?r?r.p(e,t):((r=ii(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function ii(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p,f;return{c(){F(n=he("casino-game-thumbnail-nd"),"class",a=""+(x+(e[91].cellSize||"1x1"))),F(n,"part",r=""+(x+(e[91].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"favorites",e[8]),F(n,"categoryid",e[0]),F(n,"gamethumbnail",i=e[91].gameModel.thumbnail),F(n,"gamename",o=e[91].gameModel.name),F(n,"gamevendor",s=e[91].gameModel.vendor.logo),F(n,"gamelaunchurl",l=e[91].launchUrl),F(n,"gameisnew",c=e[91].gameModel.isNew),F(n,"gametag",d=0<e[91].gameModel.advancedTags?.length&&e[43](e[91].gameModel.advancedTags)),F(n,"gamecellsize",u=e[91].cellSize),F(n,"gameid",m=e[91].gameModel.id),F(n,"gamefunmode",h=e[91].gameModel.hasFunMode),F(n,"showgamename",e[13]),F(n,"gamefavorite",g=e[91].gameModel.isFavorite),F(n,"showfavoredcategory",e[37]),F(n,"connectlive",p=1==e[38][e[91].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[39]),F(n,"translationurl",e[11]),F(n,"currency",e[12]),F(n,"livelobbyendpoint",f=e[91].gameModel.details?e[91].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[14]),F(n,"gamepagemodalurl",e[15]),F(n,"integratedgameframedesktop",e[16]),F(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){512&t[1]&&a!==(a=""+(x+(e[91].cellSize||"1x1")))&&F(n,"class",a),512&t[1]&&r!==(r=""+(x+(e[91].cellSize||"1x1")))&&F(n,"part",r),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),256&t[0]&&F(n,"favorites",e[8]),1&t[0]&&F(n,"categoryid",e[0]),512&t[1]&&i!==(i=e[91].gameModel.thumbnail)&&F(n,"gamethumbnail",i),512&t[1]&&o!==(o=e[91].gameModel.name)&&F(n,"gamename",o),512&t[1]&&s!==(s=e[91].gameModel.vendor.logo)&&F(n,"gamevendor",s),512&t[1]&&l!==(l=e[91].launchUrl)&&F(n,"gamelaunchurl",l),512&t[1]&&c!==(c=e[91].gameModel.isNew)&&F(n,"gameisnew",c),512&t[1]&&d!==(d=0<e[91].gameModel.advancedTags?.length&&e[43](e[91].gameModel.advancedTags))&&F(n,"gametag",d),512&t[1]&&u!==(u=e[91].cellSize)&&F(n,"gamecellsize",u),512&t[1]&&m!==(m=e[91].gameModel.id)&&F(n,"gameid",m),512&t[1]&&h!==(h=e[91].gameModel.hasFunMode)&&F(n,"gamefunmode",h),8192&t[0]&&F(n,"showgamename",e[13]),512&t[1]&&g!==(g=e[91].gameModel.isFavorite)&&F(n,"gamefavorite",g),64&t[1]&&F(n,"showfavoredcategory",e[37]),640&t[1]&&p!==(p=1==e[38][e[91].id]?"connect":"disconnect")&&F(n,"connectlive",p),256&t[1]&&F(n,"visibilityconnect",e[39]),2048&t[0]&&F(n,"translationurl",e[11]),4096&t[0]&&F(n,"currency",e[12]),512&t[1]&&f!==(f=e[91].gameModel.details?e[91].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),16384&t[0]&&F(n,"livecasino",e[14]),32768&t[0]&&F(n,"gamepagemodalurl",e[15]),65536&t[0]&&F(n,"integratedgameframedesktop",e[16]),131072&t[0]&&F(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function oi(e){let n,a=e[91].gameModel&&ti(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){e[91].gameModel?a?a.p(e,t):((a=ti(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function si(n){let a,r,i,o,s,l,c=n[26].name+"";function d(e){return e[28]?ci:li}let u=d(n),m=u(n);return{c(){a=he("div"),(r=he("span")).innerHTML='<div class="CategoryIconAnimation"></div> \n <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',i=pe(),o=he("h3"),s=ge(c),l=pe(),m.c(),fe(r,"class","CategoryIcon"),fe(o,"class","CategoryName"),fe(a,"class","CasinoGamesHeader")},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,o),de(o,s),n[51](o),de(a,l),m.m(a,null)},p(e,t){67108864&t[0]&&c!==(c=e[26].name+"")&&ye(s,c),u===(u=d(e))&&m?m.p(e,t):(m.d(1),(m=u(e))&&(m.c(),m.m(a,null)))},d(e){e&&me(a),n[51](null),m.d()}}}function li(e){let n,a,r,i="true"==e[1]&&di(e),o="true"==e[2]&&ui(e);return{c(){n=he("div"),i&&i.c(),a=pe(),o&&o.c(),fe(n,"class",r="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,a),o&&o.m(n,null)},p(e,t){"true"==e[1]?i?i.p(e,t):((i=di(e)).c(),i.m(n,a)):i&&(i.d(1),i=null),"true"==e[2]?o?o.p(e,t):((o=ui(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&r!==(r="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",r)},d(e){e&&me(n),i&&i.d(),o&&o.d()}}}function ci(n){let a,r,i,o,s,l,c,d,u=n[41]("viewAll")+"",m=n[26].games.total+"";return{c(){a=he("a"),r=he("span"),i=ge(u),o=ge(" ("),s=ge(m),l=ge(")"),fe(r,"class","CategoryLoadMore"),fe(a,"class","CategoryNameLink")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,o),de(r,s),de(r,l),c||(d=j(a,"click",n[52]),c=!0)},p(e,t){1024&t[1]&&u!==(u=e[41]("viewAll")+"")&&ye(i,u),67108864&t[0]&&m!==(m=e[26].games.total+"")&&ye(s,m)},d(e){e&&me(a),c=!1,d()}}}function di(e){let n;return{c(){F(n=he("casino-filter"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"endpoint",e[3]),F(n,"datasource",e[4]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addfilterselector",e[1]),F(n,"addsortingselector",e[2]),F(n,"filterbylogo",e[19])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),8&t[0]&&F(n,"endpoint",e[3]),16&t[0]&&F(n,"datasource",e[4]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),2&t[0]&&F(n,"addfilterselector",e[1]),4&t[0]&&F(n,"addsortingselector",e[2]),524288&t[0]&&F(n,"filterbylogo",e[19])},d(e){e&&me(n)}}}function ui(e){let n;return{c(){F(n=he("casino-sort"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),4&t[0]&&F(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function mi(e){let n,a,r=e[41]("noResults")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noResults")+"")&&ye(a,r)},d(e){e&&me(n)}}}function hi(n){let r,e,i=n[27],o=[];for(let e=0;e<i.length;e+=1)o[e]=pi(Hr(n,i,e));return{c(){r=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[40].items.length&&n[37]?"":"CasinoGamesGrid")+" "+(n[25]&&"true"==n[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);n[54](r)},p(t,n){if(139722729&n[0]|4480&n[1]){let e;for(i=t[27],e=0;e<i.length;e+=1){var a=Hr(t,i,e);o[e]?o[e].p(a,n):(o[e]=pi(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}34603008&n[0]|576&n[1]&&e!==(e=(0===t[40].items.length&&t[37]?"":"CasinoGamesGrid")+" "+(t[25]&&"true"==t[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(r,"class",e)},d(e){e&&me(r),B(o,e),n[54](null)}}}function gi(e){let n;return{c(){fe(n=he("div"),"class","DualRing")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function pi(e){let n,a=(n=>{let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v=n[93],b=()=>n[53](a,v),w=()=>n[53](null,v);return{c(){F(a=he("casino-game-thumbnail-nd"),"session",n[6]),F(a,"userid",n[7]),F(a,"lang",n[5]),F(a,"class",r=""+(x+(n[91].cellSize||"1x1"))),F(a,"part",i=""+(x+(n[91].cellSize||"1x1"))),F(a,"favorites",n[8]),F(a,"categoryid",n[0]),F(a,"gamethumbnail",o=n[91].thumbnail),F(a,"gamename",s=n[91].name),F(a,"gamevendor",l=n[91].vendor.logo),F(a,"gamelaunchurl",c=n[91].launchUrl),F(a,"gameisnew",d=n[91].isNew),F(a,"gametag",u=0<n[91].advancedTags?.length&&n[43](n[91].advancedTags)),F(a,"gamecellsize",m=n[91].cellSize),F(a,"gameid",h=n[91].id),F(a,"gamefunmode",g=n[91].hasFunMode),F(a,"gamefavorite",p=n[91].isFavorite),F(a,"translationurl",n[11]),F(a,"showgamename",n[13]),F(a,"connectlive",f=1==n[38][n[91].id]?"connect":"disconnect"),F(a,"visibilityconnect",n[39]),F(a,"currency",n[12]),F(a,"livelobbyendpoint",y=n[91].details?n[91].href:""),F(a,"clientstyling",n[9]),F(a,"clientstylingurl",n[10]),F(a,"endpoint",n[3]),F(a,"livecasino",n[14]),F(a,"gamepagemodalurl",n[15]),F(a,"integratedgameframedesktop",n[16]),F(a,"integratedgameframemobile",n[17]),F(a,"casinogamesgridslider",n[20])},m(e,t){ue(e,a,t),b()},p(e,t){n=e,64&t[0]&&F(a,"session",n[6]),128&t[0]&&F(a,"userid",n[7]),32&t[0]&&F(a,"lang",n[5]),134217728&t[0]&&r!==(r=""+(x+(n[91].cellSize||"1x1")))&&F(a,"class",r),134217728&t[0]&&i!==(i=""+(x+(n[91].cellSize||"1x1")))&&F(a,"part",i),256&t[0]&&F(a,"favorites",n[8]),1&t[0]&&F(a,"categoryid",n[0]),134217728&t[0]&&o!==(o=n[91].thumbnail)&&F(a,"gamethumbnail",o),134217728&t[0]&&s!==(s=n[91].name)&&F(a,"gamename",s),134217728&t[0]&&l!==(l=n[91].vendor.logo)&&F(a,"gamevendor",l),134217728&t[0]&&c!==(c=n[91].launchUrl)&&F(a,"gamelaunchurl",c),134217728&t[0]&&d!==(d=n[91].isNew)&&F(a,"gameisnew",d),134217728&t[0]&&u!==(u=0<n[91].advancedTags?.length&&n[43](n[91].advancedTags))&&F(a,"gametag",u),134217728&t[0]&&m!==(m=n[91].cellSize)&&F(a,"gamecellsize",m),134217728&t[0]&&h!==(h=n[91].id)&&F(a,"gameid",h),134217728&t[0]&&g!==(g=n[91].hasFunMode)&&F(a,"gamefunmode",g),134217728&t[0]&&p!==(p=n[91].isFavorite)&&F(a,"gamefavorite",p),2048&t[0]&&F(a,"translationurl",n[11]),8192&t[0]&&F(a,"showgamename",n[13]),134217728&t[0]|128&t[1]&&f!==(f=1==n[38][n[91].id]?"connect":"disconnect")&&F(a,"connectlive",f),256&t[1]&&F(a,"visibilityconnect",n[39]),4096&t[0]&&F(a,"currency",n[12]),134217728&t[0]&&y!==(y=n[91].details?n[91].href:"")&&F(a,"livelobbyendpoint",y),512&t[0]&&F(a,"clientstyling",n[9]),1024&t[0]&&F(a,"clientstylingurl",n[10]),8&t[0]&&F(a,"endpoint",n[3]),16384&t[0]&&F(a,"livecasino",n[14]),32768&t[0]&&F(a,"gamepagemodalurl",n[15]),65536&t[0]&&F(a,"integratedgameframedesktop",n[16]),131072&t[0]&&F(a,"integratedgameframemobile",n[17]),1048576&t[0]&&F(a,"casinogamesgridslider",n[20]),v!==n[93]&&(w(),v=n[93],b())},d(e){e&&me(a),w()}}})(e);return{c(){a&&a.c(),n=c()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){a.p(e,t)},d(e){a&&a.d(e),e&&me(n)}}}function fi(e){let n,a,r=e[41]("searchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("searchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function yi(e){let n,a,r=e[41]("noResults")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noResults")+"")&&ye(a,r)},d(e){e&&me(n)}}}function vi(e){let n,a,r=e[41]("recentSearchedItems")+"";return{c(){n=he("h3"),a=ge(r),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("recentSearchedItems")+"")&&ye(a,r)},d(e){e&&me(n)}}}function bi(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function wi(t){let r,i,o=!t[33]&&xi(t),s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=$i(jr(t,s,e));return{c(){o&&o.c(),r=pe(),i=he("ul");for(let e=0;e<l.length;e+=1)l[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){o&&o.m(e,t),ue(e,r,t),ue(e,i,t);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null)},p(n,a){if(n[33]?o&&(o.d(1),o=null):o?o.p(n,a):((o=xi(n)).c(),o.m(r.parentNode,r)),134479849&a[0]|4097&a[1]){let t;for(s=n[27],t=0;t<s.length;t+=1){let e=jr(n,s,t);l[t]?l[t].p(e,a):(l[t]=$i(e),l[t].c(),l[t].m(i,null))}for(;t<l.length;t+=1)l[t].d(1);l.length=s.length}},d(e){o&&o.d(e),e&&me(r),e&&me(i),B(l,e)}}}function xi(e){let n,a,r=e[41]("noRecentSearch")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(nt(e[42])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1024&t[1]&&r!==(r=e[41]("noRecentSearch")+"")&&ye(a,r)},d(e){e&&me(n)}}}function $i(e){let n,a,r,i,o,s,l,c,d,u,m,h,g,p;return{c(){F(n=he("casino-game-thumbnail-nd"),"class",a=""+(x+(e[91].cellSize||"1x1"))),F(n,"part",r=""+(x+(e[91].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"searchitem",e[31]),F(n,"favorites",e[8]),F(n,"categoryid",e[0]),F(n,"gamethumbnail",i=e[91].thumbnail),F(n,"gamename",o=e[91].name),F(n,"gamevendor",s=e[91].vendor.logo),F(n,"gamelaunchurl",l=e[91].launchUrl),F(n,"gameisnew",c=e[91].isNew),F(n,"gametag",d=0<e[91].advancedTags?.length&&e[43](e[91].advancedTags)),F(n,"gamecellsize",u=e[91].cellSize),F(n,"gameid",m=e[91].id),F(n,"gamefunmode",h=e[91].hasFunMode),F(n,"showgamename",e[13]),F(n,"translationurl",e[11]),F(n,"gamefavorite",g=e[91].isFavorite),F(n,"currency",e[12]),F(n,"livelobbyendpoint",p=e[91].details?e[91].href:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[14]),F(n,"gamepagemodalurl",e[15]),F(n,"integratedgameframedesktop",e[16]),F(n,"integratedgameframemobile",e[17])},m(e,t){ue(e,n,t)},p(e,t){134217728&t[0]&&a!==(a=""+(x+(e[91].cellSize||"1x1")))&&F(n,"class",a),134217728&t[0]&&r!==(r=""+(x+(e[91].cellSize||"1x1")))&&F(n,"part",r),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),1&t[1]&&F(n,"searchitem",e[31]),256&t[0]&&F(n,"favorites",e[8]),1&t[0]&&F(n,"categoryid",e[0]),134217728&t[0]&&i!==(i=e[91].thumbnail)&&F(n,"gamethumbnail",i),134217728&t[0]&&o!==(o=e[91].name)&&F(n,"gamename",o),134217728&t[0]&&s!==(s=e[91].vendor.logo)&&F(n,"gamevendor",s),134217728&t[0]&&l!==(l=e[91].launchUrl)&&F(n,"gamelaunchurl",l),134217728&t[0]&&c!==(c=e[91].isNew)&&F(n,"gameisnew",c),134217728&t[0]&&d!==(d=0<e[91].advancedTags?.length&&e[43](e[91].advancedTags))&&F(n,"gametag",d),134217728&t[0]&&u!==(u=e[91].cellSize)&&F(n,"gamecellsize",u),134217728&t[0]&&m!==(m=e[91].id)&&F(n,"gameid",m),134217728&t[0]&&h!==(h=e[91].hasFunMode)&&F(n,"gamefunmode",h),8192&t[0]&&F(n,"showgamename",e[13]),2048&t[0]&&F(n,"translationurl",e[11]),134217728&t[0]&&g!==(g=e[91].isFavorite)&&F(n,"gamefavorite",g),4096&t[0]&&F(n,"currency",e[12]),134217728&t[0]&&p!==(p=e[91].details?e[91].href:"")&&F(n,"livelobbyendpoint",p),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),16384&t[0]&&F(n,"livecasino",e[14]),32768&t[0]&&F(n,"gamepagemodalurl",e[15]),65536&t[0]&&F(n,"integratedgameframedesktop",e[16]),131072&t[0]&&F(n,"integratedgameframemobile",e[17])},d(e){e&&me(n)}}}function Ci(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ki(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Si(n){let a;function r(e){return e[24]?Wr:e[29]?Ur:zr}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G,fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),o.m(a,null),n[57](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[57](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Or,Nr,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});let x="game-tile-";function Fi(a,t,c){let A;at(a,Da,e=>c(41,A=e));let r,i,o,n,N,s,l,d,O,u,{endpoint:m=""}=t,{datasource:h=""}=t,{lang:g=""}=t,{session:p=""}=t,{userid:f=""}=t,{favorites:y=""}=t,{clientstyling:v=""}=t,{clientstylingurl:b=""}=t,{translationurl:B=""}=t,{currency:H=""}=t,{categoryid:w=""}=t,{showgamename:j=""}=t,{livecasino:z="false"}=t,{gamepagemodalurl:U="true"}=t,{integratedgameframedesktop:W="false"}=t,{integratedgameframemobile:Y="false"}=t,{casinomygames:V="false"}=t,{addfilterselector:Z="false"}=t,{addsortingselector:q="false"}=t,{filterbylogo:J=""}=t,{casinogamesgridslider:K="false"}=t,{fetchviaevent:x="false"}=t,{showallpage:X="casino"}=t,{actionevent:Q="CategoryChange"}=t,{displayedgamecount:ee="10"}=t,{showallbuttongamescount:te="10"}=t,$=!0,ne=!1,C=!0,ae=window.navigator.userAgent,k=[],S=!0,F=40,_=!1,re=!1,ie=!1,G=!1,oe=!1,se=!0,E=!1,le=!1,ce=!1,M=new Array(1e4),L={},de="",T="",P=[],ue=new AbortController,I={items:[],count:0,name:""},me=(Object.keys(Ha).forEach(e=>{Ba(e,Ha[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>F&&ve(w),c(38,L[t]=1,L)):c(38,L[t]=0,L)})})),he=(e,t)=>{let a=m+`/v1/player/${t}/favorites/`,r=(c(23,$=!0),{method:"GET",headers:{"X-SessionID":e}});return new Promise((t,n)=>{fetch(a,r).then(e=>e.json()).then(e=>{c(23,$=!1),u=[],e?(e.items.forEach(e=>{e.gameModel&&(u.push(e),P.includes(e.id)||P.push(e.id))}),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:u})):u=[],"FAVORITES"===w&&ye(u),k.forEach(e=>{e.isFavorite=D(e.id)});e=k;c(27,k=void 0),c(27,k=e),t(u)}).catch(e=>{console.error(e),n(e)})})},R=(a,e,r)=>{ue&&ue.abort();let i=(ue=new AbortController).signal,t=void c(23,$=!0),o="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),l=JSON.parse(localStorage.getItem("vendorSortingBy"));return o=1<(a.match(/\$/g)||[]).length?(t=a.split("$").slice(0,2).join("$"),new URL(`${m}/v1/casino/groups/${h}/${t}/subGroups`)):new URL(`${m}/v1/casino/groups/${h}/`+a),new Promise((t,n)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Aa(ae)),o.searchParams.append("pagination",`games(offset=${e},limit=${r})`),o.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:a},window.location.href),s&&s[a])if(s[a].length&&!1===C&&!1===le){let t="";c(32,oe=!0),s[a].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),o.searchParams.append("filter",""+t)}else c(32,oe=!1);l&&(l[a]?(l[a],"All"!=l[a]&&("isNew"==l[a]||"advancedTags(name(hot))"==l[a]?(o.searchParams.append("sortedField",`games(${l[a]})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${l[a]})`))):T&&"All"!=T&&("advancedTags(name(hot))"==T||"isNew"==T?(o.searchParams.append("sortedField",`games(${T})`),o.searchParams.append("orderBy","DES")):o.searchParams.append("sortedField",`games(${T})`))),fetch(o,{signal:i}).then(e=>e.json()).then(e=>{i.aborted||(c(23,$=!1),1<(a.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==a)return e})[0]),c(50,O=!0),c(24,ne=!1),N=e.games.total,c(34,E=!0),t(e))}).catch(e=>{"AbortError"!==e.name&&(c(24,ne=!0),console.error(e),n(e))})})},ge=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==w&&(c(29,_=!1),c(25,C=!1),c(28,S=!1),c(27,k=t.data.mostPlayedGames),c(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),c(23,$=!1);break;case"LastPlayedData":"LASTPLAYED"==w&&(c(29,_=!1),c(25,C=!1),c(28,S=!1),c(27,k=t.data.lastPlayedGames),c(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),c(23,$=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":c(29,_=!0),c(30,re=!0),0<t.data.searchData.length?(c(27,k=t.data.searchData),c(33,se=!0),k&&k.forEach(e=>{e.isFavorite=D(e.id)})):(c(27,k=[]),c(33,se=!1));break;case"OutOfRecentSearches":c(29,_=!1),c(30,re=!1);break;case"SearchData":c(29,_=!0),c(30,re=!1),c(27,k=t.data.searchData.items||[]),c(31,G=!0),t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=D(e.id)});break;case"CategoryData_"+w:c(29,_=!1),c(25,C=!0),c(1,Z="false"),c(2,q="false"),c(31,G=!1),ce=!1,t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),R(t.data.categoryId,0,t.data.visiblegames).then(e=>{c(26,o=e),c(27,k=o.games.items),N<=t.data.visiblegames?c(28,S=!1):c(28,S=!0),k&&k.forEach(e=>{e.isFavorite=D(e.id)})});break;case"CategoryChange":F=20;break;case"ApplySorter":c(0,w=t.data.itemId),T=t.data.sortBy,R(w,0,F).then(e=>{c(26,o=e),c(27,k=o.games.items),c(28,S=!1)});break;case"CategoryUpdate":pe(t.data.itemId);break;case"SetUnfavoredGame"+w:e=`${m}/v1/player/${f}/favorites`,n=p,a=t.data.id,fetch(e+"/"+a,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+a},window.location.href),fe(e,n)}),P.includes(a)&&(P=P.filter(e=>e!=a));break;case"SetFavoredGame"+w:(async(e,t,n)=>{await fe(e,t),P.includes(n)||P.push(n);let a={items:P},r={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(e,r).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)}).catch(e=>{console.error("Err",e)})})(`${m}/v1/player/${f}/favorites`,p,t.data.id);break;case"UserSessionID":r=t.data.session,i=t.data.userID,"true"==y&&i&&i.length&&r&&0<r.length&&he(r,i);break;case"UpdateFavoredList":"FAVORITES"===w&&fe(t.data.url,t.data.sessionID)}var e,n,a},pe=t=>{c(29,_=!1),c(25,C=!1),c(31,G=!1),ce=!0,c(34,E=!1),c(0,w=t),"MOSTPLAYED"!==w&&c(28,S=!1),"true"!==V&&R(w,0,F).then(t=>{c(26,o=t),o.games.items.forEach(e=>{e.isFavorite=D(e.id)}),c(27,k=o.games.items),c(28,S=!1),k.length<10&&0==e.data.origin&&(ie=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ie},window.location.href)},500))})},D=t=>{var e;return null!=(e=null==u?void 0:u.some(e=>e.id===t))&&e},fe=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>{u=e.items,x?(u.forEach(e=>{P.includes(e.id)||P.push(e.id)}),o&&(c(27,k=o.games.items),k.forEach(e=>{e.isFavorite=D(e.id)}))):u.forEach(e=>{e.isFavorite=D(e.id)}),"FAVORITES"===w&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:u}),ye(u))}).catch(e=>{console.error(e)}),ye=e=>{var t;e&&(0<(e=(null==e?void 0:e.items)||e||[]).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!0)}),c(40,I.items=(e=e,I.items,t=window.navigator.userAgent,nt(t)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),I),c(40,I.name="Favorites",I),c(23,$=!1))},ve=e=>{F+=1,c(34,E=!0),F<=N&&R(e,0,F).then(e=>{c(26,o=e),o.games.items.length>k.length&&(c(27,k=o.games.items),k.forEach(e=>{e.isFavorite=D(e.id)})),c(34,E=!1)})},be=e=>{window.postMessage({type:""+Q,itemId:e,showallpage:X},window.location.href)};return rt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?c(39,de="disconnect"):c(39,de="connect")}),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})),a.$$set=e=>{"endpoint"in e&&c(3,m=e.endpoint),"datasource"in e&&c(4,h=e.datasource),"lang"in e&&c(5,g=e.lang),"session"in e&&c(6,p=e.session),"userid"in e&&c(7,f=e.userid),"favorites"in e&&c(8,y=e.favorites),"clientstyling"in e&&c(9,v=e.clientstyling),"clientstylingurl"in e&&c(10,b=e.clientstylingurl),"translationurl"in e&&c(11,B=e.translationurl),"currency"in e&&c(12,H=e.currency),"categoryid"in e&&c(0,w=e.categoryid),"showgamename"in e&&c(13,j=e.showgamename),"livecasino"in e&&c(14,z=e.livecasino),"gamepagemodalurl"in e&&c(15,U=e.gamepagemodalurl),"integratedgameframedesktop"in e&&c(16,W=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(17,Y=e.integratedgameframemobile),"casinomygames"in e&&c(18,V=e.casinomygames),"addfilterselector"in e&&c(1,Z=e.addfilterselector),"addsortingselector"in e&&c(2,q=e.addsortingselector),"filterbylogo"in e&&c(19,J=e.filterbylogo),"casinogamesgridslider"in e&&c(20,K=e.casinogamesgridslider),"fetchviaevent"in e&&c(45,x=e.fetchviaevent),"showallpage"in e&&c(46,X=e.showallpage),"actionevent"in e&&c(47,Q=e.actionevent),"displayedgamecount"in e&&c(48,ee=e.displayedgamecount),"showallbuttongamescount"in e&&c(49,te=e.showallbuttongamescount)},a.$$.update=()=>{if(32&a.$$.dirty[0]&&g&&(n=g,tt.set(n)),57&a.$$.dirty[0]|409600&a.$$.dirty[1]&&("false"===x||""===x)&&m&&g&&w&&h&&ee&&te&&(n=w,e=ee,t=te,""!==n)&&(c(29,_=!1),c(25,C=!0),c(1,Z="false"),c(2,q="false"),c(31,G=!1),ce=!1,c(28,S=+t<+e),R(n,0,+e).then(e=>{c(26,o=e),c(27,k=o.games.items),k&&k.forEach(e=>{e.isFavorite=D(e.id)})})),456&a.$$.dirty[0]&&"true"===y&&m&&p&&f&&he(p,f),4194304&a.$$.dirty[0]|524288&a.$$.dirty[1]&&O&&M&&ce&&M.forEach((e,t)=>{e&&(e.elems_index=t,me.observe(e))}),225&a.$$.dirty[0]&&g&&w&&f&&p)switch(w){case"FAVORITES":c(37,le=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===V&&c(37,le=!1);break;default:pe(w)}if(2048&a.$$.dirty[0]&&B&&fetch(B).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ba(e,t[e])})}).catch(e=>{console.log(e)}),2097664&a.$$.dirty[0]&&v&&l&&((t=document.createElement("style")).innerHTML=v,l.appendChild(t)),2098176&a.$$.dirty[0]&&b&&l){let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})}var e,t,n},[w,Z,q,m,h,g,p,f,y,v,b,B,H,j,z,U,W,Y,V,J,K,l,M,$,ne,C,o,k,S,_,re,G,oe,se,E,n,s,le,L,de,I,A,ae,a=>{if(0===(null==a?void 0:a.length))return"";let r,i="",o=999999999999,s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ua(e).diff(s)<o&&(o=Ua(e).diff(s),r=t),Ua(s).isAfter(n)&&Ua(s).isBefore(e)&&(i=a[r].name)}),i},be,x,X,Q,ee,te,O,function(e){et[e?"unshift":"push"](()=>{s=e,c(36,s)})},e=>be(o.id),function(e,t){et[e?"unshift":"push"](()=>{M[t]=e,c(22,M)})},function(e){et[e?"unshift":"push"](()=>{n=e,c(35,n)})},function(e){et[e?"unshift":"push"](()=>{s=e,c(36,s)})},function(e){et[e?"unshift":"push"](()=>{n=e,c(35,n)})},function(e){et[e?"unshift":"push"](()=>{l=e,c(21,l)})}]}function _i(e,t){oa(e,t)}customElements.get("casino-games-category-section-nd")||customElements.define("casino-games-category-section-nd",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw-casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw-casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;padding:8px 0 0;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw-casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 20px)}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw-casino-color-primary, #D0046C);border-color:var(--emw-casino-color-primary, #D0046C) transparent var(--emw-casino-color-primary, #D0046C);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw-casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Fi,Si,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),m()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),m()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),m()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),m()}});let Gi={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"}};function Ei(e,t,n){e=e.slice();return e[36]=t[n],e[38]=n,e}function Mi(n){let a,r,i,o,s,l,c,d=!n[7]&&Li(n),u=n[7]&&Pi(n);return{c(){a=he("div"),r=he("div"),(i=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=pe(),d&&d.c(),s=pe(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"role","button"),fe(r,"class","ModalContainer"),fe(a,"class","ModalWindow")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,o),d&&d.m(r,null),de(r,s),u&&u.m(r,null),l||(c=j(i,"click",n[12]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Li(e)).c(),d.m(r,s)),e[7]?u?u.p(e,t):((u=Pi(e)).c(),u.m(r,null)):u&&(u.d(1),u=null)},d(e){e&&me(a),d&&d.d(),u&&u.d(),l=!1,c()}}}function Li(t){let n,a,r,i,o,s,e=t[9]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ti(Ei(t,l,e));return{c(){n=he("div"),a=he("main"),r=he("div");for(let e=0;e<c.length;e+=1)c[e].c();i=pe(),o=he("p"),s=ge(e),fe(r,"class","items"),_(r,"transform","translateY("+t[6]+"px)"),fe(a,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(r,null);de(n,i),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var a=Ei(t,l,e);c[e]?c[e].p(a,n):(c[e]=Ti(a),c[e].c(),c[e].m(r,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&_(r,"transform","translateY("+t[6]+"px)"),512&n[0]&&e!==(e=t[9]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),B(c,e)}}}function Ti(e){let n,a,r,i,o,s;return{c(){n=he("div"),a=he("img"),s=pe(),fe(a,"class","RandomGameImage"),ce(a.src,r=e[36].thumbnail)||fe(a,"src",r),fe(a,"alt",i=e[36].name),fe(a,"title",o=e[36].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,a),de(n,s)},p(e,t){16&t[0]&&!ce(a.src,r=e[36].thumbnail)&&fe(a,"src",r),16&t[0]&&i!==(i=e[36].name)&&fe(a,"alt",i),16&t[0]&&o!==(o=e[36].name)&&fe(a,"title",o)},d(e){e&&me(n)}}}function Pi(e){let n;function a(e){return e[8]?Ri:Ii}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Ii(e){let n,a,r=e[9]("noGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","RandomGameLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&r!==(r=e[9]("noGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ri(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C=n[3].name+"",k=n[3].vendor.name+"",S=n[9]("playNowRandomGame")+"";return{c(){a=he("div"),r=he("div"),i=he("img"),c=pe(),(d=he("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=pe(),m=he("div"),h=he("p"),g=ge(C),p=pe(),f=he("p"),y=ge(k),v=pe(),b=he("button"),w=ge(S),fe(i,"class","RandomGameImage"),ce(i.src,o=n[3].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(r,"class","item"),fe(h,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(b,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(a,"class","RandomGameWrapper")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,c),de(r,d),de(a,u),de(a,m),de(m,h),de(h,g),de(m,p),de(m,f),de(f,y),de(m,v),de(m,b),de(b,w),x||($=[j(d,"click",n[21]),j(b,"click",n[22])],x=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3].thumbnail)&&fe(i,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(i,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(g,C),8&t[0]&&k!==(k=e[3].vendor.name+"")&&ye(y,k),512&t[0]&&S!==(S=e[9]("playNowRandomGame")+"")&&ye(w,S)},d(e){e&&me(a),x=!1,z($)}}}function Di(e){let n,a,r=e[9]("playRandomGame")+"";return{c(){n=he("span"),a=ge(r),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){512&t[0]&&r!==(r=e[9]("playRandomGame")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Ai(e){let n,a;return{c(){n=he("span"),a=ge(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){2&t[0]&&ye(a,e[1])},d(e){e&&me(n)}}}function Ni(n){let a,r,i,o,s,l,c,d,u=n[5]&&Mi(n);function m(e){return e[1]?Ai:e[1]?void 0:Di}let h=m(n),g=h&&h(n);return{c(){a=he("div"),u&&u.c(),r=pe(),i=he("div"),o=he("button"),g&&g.c(),s=pe(),l=he("span"),this.c=G,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(a,"part","CustomStylingContainer")},m(e,t){ue(e,a,t),u&&u.m(a,null),de(a,r),de(a,i),de(i,o),g&&g.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[24](a),c||(d=j(o,"click",n[23]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Mi(e)).c(),u.m(a,r)):u&&(u.d(1),u=null),h===(h=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=h&&h(e))&&(g.c(),g.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:G,o:G,d(e){e&&me(a),u&&u.d(),g&&g.d(),n[24](null),c=!1,d()}}}function Oi(n,e,a){let t;at(n,Da,e=>a(9,t=e));let r,i,o,{endpoint:s=""}=e,{datasource:l=""}=e,{gameevent:c=""}=e,{lang:d=""}=e,{randombuttonicon:u=""}=e,{buttontext:m=""}=e,{translationurl:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:f=""}=e,y=[],v="",b=!1,w=0,x=0,$=!1,C=!1,k=window.navigator.userAgent;var S,F;({withLocale:S,translations:F}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(ra.set(F),tt.set(S))}),Object.keys(Gi).forEach(e=>{_i(e,Gi[e])});let _=e=>{C?(a(4,r=(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})(r)),a(6,w=0),x=0,a(7,$=!1),a(3,v=y[Math.floor(Math.random()*y.length)]),a(5,b=!0),clearInterval(i),i=setInterval(()=>{a(6,w-=75),20==++x&&(a(7,$=!0),clearInterval(i))},150)):(a(5,b=!0),a(7,$=!0)),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},G=()=>{window.postMessage({type:c,gameId:v.gId||v.id},window.location.href),a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(v.gId||v.id)})};return n.$$set=e=>{"endpoint"in e&&a(13,s=e.endpoint),"datasource"in e&&a(14,l=e.datasource),"gameevent"in e&&a(15,c=e.gameevent),"lang"in e&&a(16,d=e.lang),"randombuttonicon"in e&&a(0,u=e.randombuttonicon),"buttontext"in e&&a(1,m=e.buttontext),"translationurl"in e&&a(17,h=e.translationurl),"clientstyling"in e&&a(18,g=e.clientstyling),"clientstylingurl"in e&&a(19,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&a(20,f=e.filteredrandomgamecategories)},n.$$.update=()=>{if(65536&n.$$.dirty[0]&&d&&(t=d,tt.set(t)),131072&n.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_i(e,t[e])})}).catch(e=>{console.log(e)}),24576&n.$$.dirty[0]&&s&&l&&((t=new URL(s+"/v1/casino/games")).searchParams.append("platform",Aa(k)),t.searchParams.append("datasource",l),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),f&&t.searchParams.append("filter","groups="+f),t.searchParams.append("expand","categories,vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{(y=e.items).length?(a(4,r=y.slice(0,19)),a(8,C=!0)):(a(4,r=[]),a(8,C=!1))}).catch(e=>{console.log(e),a(8,C=!1)})),262148&n.$$.dirty[0]&&g&&o&&((e=document.createElement("style")).innerHTML=g,o.appendChild(e)),524292&n.$$.dirty[0]&&p&&o){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,t},[u,m,o,v,r,b,w,$,C,t,_,G,()=>{a(5,b=!1),window.postMessage({type:"RandomWidgetState",state:b},window.location.href)},s,l,c,d,h,g,p,f,()=>_(!0),()=>G(),()=>_(),function(e){et[e?"unshift":"push"](()=>{o=e,a(2,o)})}]}function Bi(e,t){oa(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden;transition:transform 400ms ease-in-out}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Oi,Ni,n,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[15]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});let Hi={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};function ji(n){let a;return{c(){(a=he("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=G},m(e,t){ue(e,a,t),n[3](a)},p:G,i:G,o:G,d(e){e&&me(a),n[3](null)}}}function zi(t,e,n){let a,{clientstyling:r=""}=e,{clientstylingurl:i=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,r=e.clientstyling),"clientstylingurl"in e&&n(2,i=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&r&&a&&((e=document.createElement("style")).innerHTML=r,a.appendChild(e)),5&t.$$.dirty&&i&&a){let e=new URL(i),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[a,r,i,function(e){et[e?"unshift":"push"](()=>{a=e,n(0,a)})}]}function Ui(e,t,n){e=e.slice();return e[70]=t[n],e}function Wi(e,t,n){e=e.slice();return e[73]=t[n],e}function Yi(n){let r,a,i,o,s,l,c,d,e,u,m,h,g,p,f,y,v,b,w,x=n[17],$=[];for(let e=0;e<x.length;e+=1)$[e]=Ji(Wi(n,x,e));function C(e){return e[18]?Xi:Ki}let k=C(n),S=k(n);return{c(){r=he("div"),a=he("div"),i=he("div");for(let e=0;e<$.length;e+=1)$[e].c();o=pe(),s=he("div"),l=he("button"),c=H("svg"),d=H("path"),u=pe(),m=he("button"),h=H("svg"),g=H("path"),y=pe(),S.c(),fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(g,"style",p=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(g,"id","Path_36"),fe(g,"data-name","Path 36"),fe(g,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(g,"transform","translate(0 24.656) rotate(-90)"),fe(g,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(a,"class","WinnersHeader"),fe(r,"class",v="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i);for(let e=0;e<$.length;e+=1)$[e]&&$[e].m(i,null);de(a,o),de(a,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,h),de(h,g),de(r,y),S.m(r,null),b||(w=[j(l,"click",n[43]),j(m,"click",n[44])],b=!0)},p(t,n){if(3277827&n[0]){let e;for(x=t[17],e=0;e<x.length;e+=1){var a=Wi(t,x,e);$[e]?$[e].p(a,n):($[e]=Ji(a),$[e].c(),$[e].m(i,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=x.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&p!==(p=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(g,"style",p),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),k===(k=C(t))&&S?S.p(t,n):(S.d(1),(S=k(t))&&(S.c(),S.m(r,null))),8192&n[0]&&v!==(v="CasinoWinners "+(t[13]?"Mobile":""))&&fe(r,"class",v)},d(e){e&&me(r),B($,e),S.d(),b=!1,z(w)}}}function Vi(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Zi(n){let a,r,i,o,s,l=n[20]("recentWinners")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),o||(s=j(a,"click",n[41]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("recentWinners")+"")&&ye(r,l),1025&t[0]&&i!==(i="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),o=!1,s()}}}function qi(n){let a,r,i,o,s,l,c=n[20]("topWinners")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),s||(l=j(a,"click",n[42]),s=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("topWinners")+"")&&ye(r,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function Ji(e){let n,a,r="recent"==e[73]&&Zi(e),i="top"==e[73]&&qi(e);return{c(){r&&r.c(),n=pe(),i&&i.c(),a=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){"recent"==e[73]?r?r.p(e,t):((r=Zi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),"top"==e[73]?i?i.p(e,t):((i=qi(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&me(n),i&&i.d(e),e&&me(a)}}}function Ki(n){let r,i=n[11],o=[];for(let e=0;e<i.length;e+=1)o[e]=Qi(Ui(n,i,e));return{c(){r=he("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class","WinnersSlider")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);n[47](r)},p(t,n){if(14223500&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var a=Ui(t,i,e);o[e]?o[e].p(a,n):(o[e]=Qi(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(r),B(o,e),n[47](null)}}}function Xi(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function Qi(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C,k,S,F,_=n[70].gameName+"",G=n[22](n[70].username)+"",E=n[20]("won")+"",M=n[70].specifiedCurrencyAmount.toFixed(2)+"",L=(n[7]?n[3]:n[2])+"";function T(){return n[45](n[70])}return{c(){a=he("div"),r=he("div"),i=he("img"),l=pe(),c=he("p"),d=ge(_),u=pe(),m=he("p"),h=ge(G),g=pe(),p=he("p"),f=ge(E),y=pe(),v=he("p"),b=ge(M),w=pe(),x=he("span"),$=ge(L),C=pe(),ce(i.src,o=n[70]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[70]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(p,"class","WinnerUsername"),fe(r,"class","WinnerCard"),fe(a,"class",k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(r,l),de(r,c),de(c,d),de(r,u),de(r,m),de(m,h),de(r,g),de(r,p),de(p,f),de(r,y),de(r,v),de(v,b),de(v,w),de(v,x),de(x,$),de(a,C),n[46](a),S||(F=j(i,"click",T),S=!0)},p(e,t){n=e,2048&t[0]&&!ce(i.src,o=n[70]?.gameModel?.thumbnail)&&fe(i,"src",o),2048&t[0]&&s!==(s=n[70]?.gameModel?.thumbnail)&&fe(i,"alt",s),2048&t[0]&&_!==(_=n[70].gameName+"")&&ye(d,_),2048&t[0]&&G!==(G=n[22](n[70].username)+"")&&ye(h,G),1048576&t[0]&&E!==(E=n[20]("won")+"")&&ye(f,E),2048&t[0]&&M!==(M=n[70].specifiedCurrencyAmount.toFixed(2)+"")&&ye(b,M),140&t[0]&&L!==(L=(n[7]?n[3]:n[2])+"")&&ye($,L),65536&t[0]&&k!==(k="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(a,"class",k)},d(e){e&&me(a),n[46](null),S=!1,F()}}}function eo(n){let a;function r(e){return e[14]||e[15]?Vi:Yi}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[48](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[48](null)}}}function to(n,e,a){let t;at(n,Da,e=>a(20,t=e));let r,i,A,o,N,s,O,l,c,d,u,{endpoint:m=""}=e,{session:h=""}=e,{userid:g=""}=e,{periodrecent:p="Today"}=e,{periodtop:f="Last7Days"}=e,{numberusersrecent:y="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:b="1"}=e,{vendorCategory:w="All"}=e,{lang:x="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:k=""}=e,{usercurrency:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:_=""}=e,{enableautoscroll:G=""}=e,{tabsorder:E=""}=e,{translationurl:M=""}=e,{winnersdatasources:L=""}=e,{hascustomstyling:T="false"}=e,P=[],I=0,R=0,B=window.navigator.userAgent,D=!0,H=!1,j=!1,z=[],U=!1,W=0,Y=(Object.keys(Hi).forEach(e=>{Bi(e,Hi[e])}),()=>{z=L.split(",").map(function(e){return e.trim()});let t=new URL(`${m}/v1/casino/${i}-winners`);a(18,U=!0),t.searchParams.append("limit","recent"==i?y:v),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?p:f),t.searchParams.append("language",x),t.searchParams.append("amountLimit",b),t.searchParams.append("vendorCategory",w),z.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{a(11,P=[]),a(11,P=e.items.map(e=>e)),a(18,U=!1),setTimeout(()=>{W=u.offsetWidth,a(12,R=Math.round(r.offsetWidth/W)),q(),"true"==G&&(clearInterval(l),I=0,R<O?l=setInterval(()=>{X()},3e3):clearInterval(l)),a(14,D=!1)},5)})},1e3)}),V=e=>{i!==e&&(a(11,P=[]),a(10,i=e),Y())},Z=(e,t,n,a)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(N||"Not logged in")})},q=n=>{var e=[...r.children];O=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{a(16,j=!0)},10)},J=()=>{q(I)},K=()=>{var e;R>=P.length||(e=P.length,0===I?I=e-R:I-R<0?I=0:I-=R,J())},X=()=>{var e;R>=P.length||(e=P.length,"true"==G&&(I===e-R?I=0:I++),"false"==G&&(I===e-R?I=0:e-R<I+R?I=e-R:I+=R),J())},Q=()=>{a(40,d=o?S:k)};return rt(()=>(a(13,A=nt(B)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&a(27,m=e.endpoint),"session"in e&&a(28,h=e.session),"userid"in e&&a(29,g=e.userid),"periodrecent"in e&&a(30,p=e.periodrecent),"periodtop"in e&&a(31,f=e.periodtop),"numberusersrecent"in e&&a(32,y=e.numberusersrecent),"numberuserstop"in e&&a(33,v=e.numberuserstop),"amountlimit"in e&&a(26,b=e.amountlimit),"vendorCategory"in e&&a(34,w=e.vendorCategory),"lang"in e&&a(35,x=e.lang),"isrecentavailable"in e&&a(0,$=e.isrecentavailable),"istopavailable"in e&&a(1,C=e.istopavailable),"defaultcurrency"in e&&a(2,k=e.defaultcurrency),"usercurrency"in e&&a(3,S=e.usercurrency),"clientstyling"in e&&a(4,F=e.clientstyling),"clientstylingurl"in e&&a(5,_=e.clientstylingurl),"enableautoscroll"in e&&a(6,G=e.enableautoscroll),"tabsorder"in e&&a(36,E=e.tabsorder),"translationurl"in e&&a(37,M=e.translationurl),"winnersdatasources"in e&&a(38,L=e.winnersdatasources),"hascustomstyling"in e&&a(39,T=e.hascustomstyling)},n.$$.update=()=>{if(1140850691&n.$$.dirty[0]|63&n.$$.dirty[1]&&$&&C&&p&&f&&y&&v&&b&&w&&x&&E&&(a(17,c=E.split(",")),a(10,i=c[0]),"false"==$&&a(26,b=""),Q(),a(14,D=!1)),268435456&n.$$.dirty[0]&&h&&(a(7,o=!0),N=g),140&n.$$.dirty[0]&&o&&(S||k)&&Q(),134217728&n.$$.dirty[0]|640&n.$$.dirty[1]&&m&&L&&d&&Y(),16&n.$$.dirty[1]&&x&&(t=x,tt.set(t)),64&n.$$.dirty[1]&&M&&(t=new URL(M),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Bi(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[1]&&T&&"true"===T&&(F||_||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!F)&&_&&a(15,H=!0),272&n.$$.dirty[0]&&F&&s&&((e=document.createElement("style")).innerHTML=F,s.appendChild(e)),288&n.$$.dirty[0]&&_&&s){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500),a(15,H=!1)})}var e,t},[$,C,k,S,F,_,G,o,s,r,i,P,R,A,D,H,j,c,U,u,t,V,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Z,K,X,b,m,h,g,p,f,y,v,w,x,E,M,L,T,d,()=>V("recent"),()=>V("top"),()=>K(),()=>X(),e=>Z(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){et[e?"unshift":"push"](()=>{u=e,a(19,u)})},function(e){et[e?"unshift":"push"](()=>{r=e,a(9,r)})},function(e){et[e?"unshift":"push"](()=>{s=e,a(8,s)})}]}function no(e,t){oa(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},zi,ji,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .WinnersSlider{-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},to,eo,n,{endpoint:27,session:28,userid:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:26,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[31]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[26]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[35]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[37]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});let ao={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."}};function ro(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function io(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y;function v(e){return e[5]?lo:co}let b=v(n),w=b(n);return{c(){a=he("div"),r=he("div"),i=he("div"),o=he("div"),s=pe(),l=he("div"),w.c(),c=pe(),d=he("div"),u=he("img"),fe(o,"class","vendorLogo"),_(o,"background-image","url("+n[6]+")"),fe(l,"class","displayContainer"),ce(u.src,m=n[11])||fe(u,"src",m),fe(u,"alt",""),fe(d,"class","title"),fe(i,"class",h="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(i,"background","url("+n[10]+")"),fe(r,"class","jackpotBanner"),fe(a,"class",g=n[12]?"DisplayNone":""),fe(a,"part",p=n[12]?"DisplayNone":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(i,s),de(i,l),w.m(l,null),de(i,c),de(i,d),de(d,u),f||(y=j(r,"click",n[31]),f=!0)},p(e,t){64&t[0]&&_(o,"background-image","url("+e[6]+")"),b===(b=v(e))&&w?w.p(e,t):(w.d(1),(w=b(e))&&(w.c(),w.m(l,null))),2048&t[0]&&!ce(u.src,m=e[11])&&fe(u,"src",m),49&t[0]&&h!==(h="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",h),1024&t[0]&&_(i,"background","url("+e[10]+")"),4096&t[0]&&g!==(g=e[12]?"DisplayNone":"")&&fe(a,"class",g),4096&t[0]&&p!==(p=e[12]?"DisplayNone":"")&&fe(a,"part",p)},d(e){e&&me(a),w.d(),f=!1,y()}}}function oo(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function so(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function lo(e){let n,a,r,i,o,s,A,l,c,N,O,d,B,H,u,m,h,g,p,j,f,y,z,U,v,W,Y,b,w,x,$,C,k,V,S,F,Z,q,_,J,K,G,E,M,L,T,X,P,I,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",ae=e[8][1]+"",re=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),a=he("div"),r=he("div"),i=he("img"),s=he("span"),A=ge(D),l=he("span"),c=he("span"),N=ge(ne),O=pe(),d=he("span"),B=ge(e[1]),H=pe(),u=he("div"),m=he("div"),h=he("img"),p=he("span"),j=ge(ae),f=he("span"),y=he("span"),z=ge(re),U=pe(),v=he("span"),W=ge(e[1]),Y=pe(),b=he("div"),w=he("div"),x=he("div"),$=he("img"),k=he("span"),V=ge(ie),S=he("span"),F=he("span"),Z=ge(oe),q=pe(),_=he("span"),J=ge(e[1]),K=pe(),G=he("div"),E=he("div"),M=he("img"),T=he("span"),X=ge(se),P=he("span"),I=he("span"),Q=ge(le),ee=pe(),R=he("span"),te=ge(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(a,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,g=e[9][1])||fe(h,"src",g),fe(h,"alt",""),fe(p,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(v,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(k,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(F,"class","jackpotValue"),fe(_,"class","jackpot-currency"),fe(S,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(M,"class","displayCardIcon"),ce(M.src,L=e[9][3])||fe(M,"src",L),fe(M,"alt",""),fe(T,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(G,"class","displayCard"),fe(b,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(r,i),de(r,s),de(s,A),de(a,l),de(l,c),de(c,N),de(l,O),de(l,d),de(d,B),de(n,H),de(n,u),de(u,m),de(m,h),de(m,p),de(p,j),de(u,f),de(f,y),de(y,z),de(f,U),de(f,v),de(v,W),ue(e,Y,t),ue(e,b,t),de(b,w),de(w,x),de(x,$),de(x,k),de(k,V),de(w,S),de(S,F),de(F,Z),de(S,q),de(S,_),de(_,J),de(b,K),de(b,G),de(G,E),de(E,M),de(E,T),de(T,X),de(G,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(N,ne),2&t[0]&&ye(B,e[1]),512&t[0]&&!ce(h.src,g=e[9][1])&&fe(h,"src",g),256&t[0]&&ae!==(ae=e[8][1]+"")&&ye(j,ae),128&t[0]&&re!==(re=e[7][1]+"")&&ye(z,re),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(J,e[1]),512&t[0]&&!ce(M.src,L=e[9][3])&&fe(M,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(X,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(b)}}}function co(t){let r,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=uo(ro(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var a=ro(t,i,e);o[e]?o[e].p(a,n):(o[e]=uo(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function uo(e){let n,a,r,i,o,s,l,c,d,u,m,h,g=e[8][e[50]]+"",p=(e[7][e[50]]??"")+"";return{c(){n=he("div"),a=he("div"),r=he("img"),o=he("span"),s=ge(g),l=he("span"),c=he("span"),d=ge(p),u=pe(),m=he("span"),h=ge(e[1]),fe(r,"class","displayCardIcon"),ce(r.src,i=e[9][e[50]])||fe(r,"src",i),fe(r,"alt",""),fe(o,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,a),de(a,r),de(a,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(r.src,i=e[9][e[50]])&&fe(r,"src",i),256&t[0]&&g!==(g=e[8][e[50]]+"")&&ye(s,g),128&t[0]&&p!==(p=(e[7][e[50]]??"")+"")&&ye(d,p),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function mo(n){let a;function r(e){return e[13]?so:e[3]?oo:io}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[32](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[32](null)}}}function ho(a,e,r){let i,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:g=""}=e,{backgroundsrcmobile:p=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,A=window.navigator.userAgent,C=!1,k=!1,S="",F=[],_=[],G=[],E=[],M=[],L="",T="",P=!1,I=!0,R=!1,D=(Object.keys(ao).forEach(e=>{no(e,ao[e])}),["typeSpread","typeLeft"]),n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};return a.$$set=e=>{"visualstructure"in e&&r(0,s=e.visualstructure),"title"in e&&r(15,t=e.title),"caticon0"in e&&r(16,l=e.caticon0),"caticon1"in e&&r(17,c=e.caticon1),"caticon2"in e&&r(18,d=e.caticon2),"caticon3"in e&&r(19,u=e.caticon3),"iconlabels"in e&&r(20,m=e.iconlabels),"backgroundsrc"in e&&r(21,h=e.backgroundsrc),"currency"in e&&r(1,g=e.currency),"backgroundsrcmobile"in e&&r(22,p=e.backgroundsrcmobile),"titlelogopath"in e&&r(23,f=e.titlelogopath),"lang"in e&&r(24,y=e.lang),"clientstyling"in e&&r(25,v=e.clientstyling),"clientstylingurl"in e&&r(26,b=e.clientstylingurl),"translationurl"in e&&r(27,w=e.translationurl),"endpoint"in e&&r(28,x=e.endpoint),"gameid"in e&&r(29,$=e.gameid)},a.$$.update=()=>{if(268435456&a.$$.dirty[0]&&x&&(n=new URL(x+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{r(30,_=e.egtJackpotIds.map(e=>e))})),33554436&a.$$.dirty[0]&&i&&v&&((n=document.createElement("style")).innerHTML=v,i.appendChild(n)),67108868&a.$$.dirty[0]&&i&&b){r(12,P=!0);let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,P=!1)},500)})}var e,t,n;1358954498&a.$$.dirty[0]&&x&&y&&g&&0<_.length&&x&&y&&g&&((t=new URL(x+"/v1/casino/jackpots")).searchParams.append("filter","id="+$),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",g),fetch(t.href).then(e=>e.json().then(e=>{r(3,I=!1),o=e,_.includes($)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),e=o,r(6,S=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{r(13,R=!0),r(3,I=!1),console.error(e)}))),16777226&a.$$.dirty[0]&&g&&y&&!I&&(r(4,C=nt(A)&&1<window.innerHeight/window.innerWidth),r(5,k=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&r(7,G=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,E=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?r(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),r(0,s=D[0])),r(10,L=p&&C&&!k?p:h),r(11,T=f),r(9,M=[l,c,d,u])),16777216&a.$$.dirty[0]&&y&&(e=y,tt.set(e)),134217728&a.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{no(e,t[e])})}).catch(e=>{console.log(e)})},[s,g,i,I,C,k,S,G,E,M,L,T,P,R,n,t,l,c,d,u,m,h,p,f,y,v,b,w,x,$,_,()=>n(),function(e){et[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function go(e,t){oa(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ho,mo,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});let po={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function fo(e,t,n){e=e.slice();return e[39]=t[n],e}function yo(e,t,n){e=e.slice();return e[42]=t[n],e}function vo(n){let r,i,a,o,s,l,c,e,t=("vendor"==n[0]?n[10]("providers"):n[10]("collections"))+"",d=n[8]<n[7]&&wo(n),u=n[3],m=[];for(let e=0;e<u.length;e+=1)m[e]=So(fo(n,u,e));return{c(){r=he("div"),i=he("div"),a=he("p"),o=ge(t),s=pe(),d&&d.c(),l=pe(),c=he("div");for(let e=0;e<m.length;e+=1)m[e].c();fe(a,"class","Title"),fe(i,"class","CategoriesHeader"),fe(c,"class","CategoriesSlider"),fe(r,"class",e="CasinoCollectionsProviders "+(n[9]?"Mobile":"")+" "+("vendor"===n[0]?"Providers":"Collections"))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),d&&d.m(i,null),de(r,l),de(r,c);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(c,null);n[25](c)},p(n,a){if(1025&a[0]&&t!==(t=("vendor"==n[0]?n[10]("providers"):n[10]("collections"))+"")&&ye(o,t),n[7]>n[8]?d?d.p(n,a):((d=wo(n)).c(),d.m(i,null)):d&&(d.d(1),d=null),24590&a[0]){let t;for(u=n[3],t=0;t<u.length;t+=1){let e=fo(n,u,t);m[t]?m[t].p(e,a):(m[t]=So(e),m[t].c(),m[t].m(c,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=u.length}513&a[0]&&e!==(e="CasinoCollectionsProviders "+(n[9]?"Mobile":"")+" "+("vendor"===n[0]?"Providers":"Collections"))&&fe(r,"class",e)},d(e){e&&me(r),d&&d.d(),B(m,e),n[25](null)}}}function bo(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function wo(n){let a,r,i,o,s,l;return{c(){a=he("div"),(r=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',i=pe(),(o=he("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',fe(a,"class","ButtonsContainer")},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,o),s||(l=[j(r,"click",n[21]),j(o,"click",n[22])],s=!0)},p:G,d(e){e&&me(a),s=!1,z(l)}}}function xo(e){let n,a,r=e[39].name+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&r!==(r=e[39].name+"")&&ye(a,r)},d(e){e&&me(n)}}}function $o(e){let n,a,r;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,a=e[39].icon)||fe(n,"src",a),fe(n,"alt",r=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,a=e[39].icon)&&fe(n,"src",a),8&t[0]&&r!==(r=e[39].name+" icon")&&fe(n,"alt",r)},d(e){e&&me(n)}}}function Co(e){let n,a,r,i=e[42].name+"";return{c(){n=he("p"),a=ge(i),fe(n,"title",r=e[42].name)},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(a,i),8&t[0]&&r!==(r=e[42].name)&&fe(n,"title",r)},d(e){e&&me(n)}}}function ko(n){let a,r,i,o,s,l,c,d;function u(){return n[23](n[42])}let m="true"==n[2]&&Co(n);return{c(){a=he("div"),r=he("img"),s=pe(),m&&m.c(),l=pe(),fe(r,"class","CategorySlideGameImage"),ce(r.src,i=n[42].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",o=n[42].name),fe(a,"class","CategorySlideGames")},m(e,t){var n;ue(e,a,t),de(a,r),de(a,s),m&&m.m(a,null),de(a,l),c||(d=j(r,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(r.src,i=n[42].defaultThumbnail)&&fe(r,"src",i),8&t[0]&&o!==(o=n[42].name)&&fe(r,"alt",o),"true"==n[2]?m?m.p(n,t):((m=Co(n)).c(),m.m(a,l)):m&&(m.d(1),m=null)},d(e){e&&me(a),m&&m.d(),c=!1,d()}}}function So(a){let n,r,i,o,s,t,l,c,d;function u(e){return"logo"==e[1]?$o:"title"==e[1]?xo:void 0}let m=u(a),h=m&&m(a),g=a[39].games,p=[];for(let e=0;e<g.length;e+=1)p[e]=ko(yo(a,g,e));function f(){return a[24](a[39])}return{c(){n=he("div"),r=he("div"),i=he("div"),h&&h.c(),o=pe(),s=he("div");for(let e=0;e<p.length;e+=1)p[e].c();l=pe(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(r,"class",t="CategorySlide "+("vendor"==a[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(r,"background-image","url("+a[39]?.background+")"),_(r,"background-size","cover"),fe(n,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,n,t),de(n,r),de(r,i),h&&h.m(i,null),de(r,o),de(r,s);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(s,null);de(n,l),c||(d=j(r,"click",f),c=!0)},p(e,n){if(m===(m=u(a=e))&&h?h.p(a,n):(h&&h.d(1),(h=m&&m(a))&&(h.c(),h.m(i,null))),8204&n[0]){let t;for(g=a[39].games,t=0;t<g.length;t+=1){let e=yo(a,g,t);p[t]?p[t].p(e,n):(p[t]=ko(e),p[t].c(),p[t].m(s,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=g.length}8&n[0]&&t!==(t="CategorySlide "+("vendor"==a[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(r,"class",t),8&n[0]&&_(r,"background-image","url("+a[39]?.background+")")},d(e){e&&me(n),h&&h.d(),B(p,e),c=!1,d()}}}function Fo(n){let a;function r(e){return e[6]?bo:vo}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[26](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[26](null)}}}function _o(n,e,a){let t;at(n,Da,e=>a(10,t=e));let r,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:g=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,v=[],b=!0,w=0,x=0,$=0,C=window.navigator.userAgent,k=(Object.keys(po).forEach(e=>{go(e,po[e])}),n=>{(o=[...r.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),S()}),S=()=>{a(8,$=Math.floor(r.offsetWidth/i))},F=()=>{k(w)},_=()=>{0===w?w=x-$:w-$<-1?w=0:w--,F()},G=()=>{w===x-$?w=0:x-$<w+1?w=x-$:w++,F()},E=(e,t,n,a)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:a},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return rt(()=>{a(9,l=nt(C))}),n.$$set=e=>{"endpoint"in e&&a(15,c=e.endpoint),"datasource"in e&&a(16,d=e.datasource),"lang"in e&&a(17,u=e.lang),"type"in e&&a(0,m=e.type),"titletype"in e&&a(1,h=e.titletype),"clientstyling"in e&&a(18,g=e.clientstyling),"clientstylingurl"in e&&a(19,p=e.clientstylingurl),"translationurl"in e&&a(20,f=e.translationurl),"collectionprovidersgamenames"in e&&a(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(229376&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{a(6,b=!1);e=e.items.filter(e=>e.flags==m);a(3,v=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),a(7,x=v.length)})),24&n.$$.dirty[0]&&v&&r&&k(),131072&n.$$.dirty[0]&&u&&(t=u,tt.set(t)),262176&n.$$.dirty[0]&&g&&s&&((e=document.createElement("style")).innerHTML=g,s.appendChild(e)),524320&n.$$.dirty[0]&&p&&s){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}var e,t;1048576&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{go(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,v,r,s,b,x,$,l,t,_,G,E,M,c,d,u,g,p,f,()=>_(),()=>G(),e=>E(e.gameId,e.launchUrl,e.name,e.subVendor),e=>M(e.id),function(e){et[e?"unshift":"push"](()=>{r=e,a(4,r)})},function(e){et[e?"unshift":"push"](()=>{s=e,a(5,s)})}]}function Go(e,t){oa(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},_o,Fo,n,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}});let Eo={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Mo(n){let a,r;return{c(){a=he("div"),r=he("casino-games-category-section-nd"),this.c=G,F(r,"session",n[4]),F(r,"userid",n[5]),F(r,"endpoint",n[0]),F(r,"datasource",n[1]),F(r,"lang",n[3]),F(r,"currency",n[2]),F(r,"favorites",n[14]),F(r,"fetchviaevent",n[16]),F(r,"categoryid","FAVORITES"),F(r,"class","CategoryContainer"),F(r,"showgamename",n[11]),F(r,"clientstyling",n[6]),F(r,"clientstylingurl",n[7]),F(r,"livecasino",n[8]),F(r,"visiblegames",n[13]),F(r,"gamepagemodalurl",n[12]),F(r,"integratedgameframedesktop",n[10]),F(r,"integratedgameframemobile",n[9]),F(r,"casinomygames",n[15]),fe(a,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,a,t),de(a,r),n[18](a)},p(e,[t]){16&t&&F(r,"session",e[4]),32&t&&F(r,"userid",e[5]),1&t&&F(r,"endpoint",e[0]),2&t&&F(r,"datasource",e[1]),8&t&&F(r,"lang",e[3]),4&t&&F(r,"currency",e[2]),16384&t&&F(r,"favorites",e[14]),65536&t&&F(r,"fetchviaevent",e[16]),2048&t&&F(r,"showgamename",e[11]),64&t&&F(r,"clientstyling",e[6]),128&t&&F(r,"clientstylingurl",e[7]),256&t&&F(r,"livecasino",e[8]),8192&t&&F(r,"visiblegames",e[13]),4096&t&&F(r,"gamepagemodalurl",e[12]),1024&t&&F(r,"integratedgameframedesktop",e[10]),512&t&&F(r,"integratedgameframemobile",e[9]),32768&t&&F(r,"casinomygames",e[15])},i:G,o:G,d(e){e&&me(a),n[18](null)}}}function Lo(t,e,n){let a,{endpoint:r=""}=e,{datasource:i=""}=e,{currency:o=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{showgamename:p=""}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:v=""}=e,{casinomygames:b="false"}=e,{fetchviaevent:w="true"}=e;var x,$;return{withLocale:x,translations:$}=[{withLocale:"en",translations:{}}][0],tt.subscribe(e=>{null==e&&(ra.set($),tt.set(x))}),t.$$set=e=>{"endpoint"in e&&n(0,r=e.endpoint),"datasource"in e&&n(1,i=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,u=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"showgamename"in e&&n(11,p=e.showgamename),"gamepagemodalurl"in e&&n(12,f=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},t.$$.update=()=>{if(131136&t.$$.dirty&&d&&a&&((e=document.createElement("style")).innerHTML=d,a.appendChild(e)),131200&t.$$.dirty&&u&&a){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,a,function(e){et[e?"unshift":"push"](()=>{a=e,n(17,a)})}]}function To(e,t){oa(e,t)}customElements.get("casino-favorites-section-nd")||customElements.define("casino-favorites-section-nd",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Lo,Mo,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});let Po={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."}};function Io(e){let n;return{c(){F(n=he("casino-games-category-section-nd"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"fetchviaevent",e[16]),F(n,"categoryid","LASTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),65536&t[0]&&F(n,"fetchviaevent",e[16]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Ro(e){let n,a,r=e[19]("noRecentGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&r!==(r=e[19]("noRecentGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Do(n){let a,r;function i(e){return e[18]?Ro:Io}let o=i(n),s=o(n);return{c(){a=he("div"),r=he("div"),s.c(),this.c=G,fe(r,"class","CasinoLastPlayedSection"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),s.m(r,null),n[25](a)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:G,o:G,d(e){e&&me(a),s.d(),n[25](null)}}}function Ao(t,e,n){let a;at(t,Da,e=>n(19,a=e));let r,i,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:g=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:v="false"}=e,{showgamename:b=""}=e,{visiblegames:w=""}=e,{favorites:x=""}=e,{lastplayedperiod:$="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:k=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:F="true"}=e,{fetchviaevent:_="true"}=e,G=window.navigator.userAgent,E=!1,M=[];Object.keys(Po).forEach(e=>{To(e,Po[e])});return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(20,g=e.translationurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,v=e.gamepagemodalurl),"showgamename"in e&&n(12,b=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,x=e.favorites),"lastplayedperiod"in e&&n(21,$=e.lastplayedperiod),"lastplayedorder"in e&&n(22,C=e.lastplayedorder),"lastplayedlimit"in e&&n(23,k=e.lastplayedlimit),"casinomygames"in e&&n(15,S=e.casinomygames),"lastplayedunique"in e&&n(24,F=e.lastplayedunique),"fetchviaevent"in e&&n(16,_=e.fetchviaevent)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",F),n.searchParams.append("limit",k),n.searchParams.append("order",C),n.searchParams.append("period",$),"PC"===Aa(G)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),r=p?n:n.href,fetch(r).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{M=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===S&&(M=M.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:M},window.location.href)})}else n(18,E=!0)}),1048576&t.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{To(e,t[e])})}).catch(e=>{console.log(e)}),131136&t.$$.dirty[0]&&m&&i&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),131200&t.$$.dirty[0]&&h&&i){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty[0]&&c&&(e=c,tt.set(e))},[o,s,l,c,d,u,m,h,p,f,y,v,b,w,x,S,_,i,E,a,g,$,C,k,F,function(e){et[e?"unshift":"push"](()=>{i=e,n(17,i)})}]}function No(e,t){oa(e,t)}customElements.get("casino-last-played-section-nd")||customElements.define("casino-last-played-section-nd",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ao,Do,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}});let Oo={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};function Bo(e){let n;return{c(){F(n=he("casino-games-category-section-nd"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"fetchviaevent",e[16]),F(n,"categoryid","MOSTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),65536&t[0]&&F(n,"fetchviaevent",e[16]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Ho(e){let n,a,r=e[19]("noGames")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){524288&t[0]&&r!==(r=e[19]("noGames")+"")&&ye(a,r)},d(e){e&&me(n)}}}function jo(n){let a,r;function i(e){return e[18]?Ho:Bo}let o=i(n),s=o(n);return{c(){a=he("div"),r=he("div"),s.c(),this.c=G,fe(r,"class","casino-most-played-section"),fe(a,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,a,t),de(a,r),s.m(r,null),n[23](a)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},i:G,o:G,d(e){e&&me(a),s.d(),n[23](null)}}}function zo(a,e,r){let t,{endpoint:i=""}=(at(a,Da,e=>r(19,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:p="false"}=e,{showgamename:f=""}=e,y=e.visiblegames,{favorites:v=""}=e,{translationurl:b=""}=e,{casinomygames:w="false"}=e,{mostplayedperiod:x="Last30Days"}=e,{mostplayedrounds:$="10"}=e,{fetchviaevent:C="true"}=e,k=window.navigator.userAgent;Object.keys(Oo).forEach(e=>{No(e,Oo[e])});let S,F,_=[],G=!1;return a.$$set=e=>{"endpoint"in e&&r(0,i=e.endpoint),"datasource"in e&&r(1,o=e.datasource),"currency"in e&&r(2,n=e.currency),"lang"in e&&r(3,s=e.lang),"session"in e&&r(4,l=e.session),"userid"in e&&r(5,c=e.userid),"clientstyling"in e&&r(6,d=e.clientstyling),"clientstylingurl"in e&&r(7,u=e.clientstylingurl),"livecasino"in e&&r(8,m=e.livecasino),"integratedgameframemobile"in e&&r(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&r(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&r(11,p=e.gamepagemodalurl),"showgamename"in e&&r(12,f=e.showgamename),"visiblegames"in e&&r(13,y=e.visiblegames),"favorites"in e&&r(14,v=e.favorites),"translationurl"in e&&r(20,b=e.translationurl),"casinomygames"in e&&r(15,w=e.casinomygames),"mostplayedperiod"in e&&r(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&r(22,$=e.mostplayedrounds),"fetchviaevent"in e&&r(16,C=e.fetchviaevent)},a.$$.update=()=>{if(41&a.$$.dirty[0]&&i&&c&&s&&(e={limit:100,device:Aa(k),rounds:$},t=new URL(`${i}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x),(n=e.device)?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),S=m?t:t.href,new Promise((e,t)=>{fetch(S).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let t=[];e.items.forEach(e=>{e=new URL(i+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{_=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===w&&(_=_.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:_},window.location.href)})}else r(18,G=!0)})),131136&a.$$.dirty[0]&&d&&F&&((n=document.createElement("style")).innerHTML=d,F.appendChild(n)),131200&a.$$.dirty[0]&&u&&F){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e,t,n;1048576&a.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{No(e,t[e])})}).catch(e=>{console.log(e)}),8&a.$$.dirty[0]&&s&&(e=s,tt.set(e))},[i,o,n,s,l,c,d,u,m,h,g,p,f,y,v,w,C,F,G,t,b,x,$,function(e){et[e?"unshift":"push"](()=>{F=e,r(17,F)})}]}function Uo(e,t,n){e=e.slice();return e[43]=t[n],e}function Wo(t){let r,n,i,a,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=qo(Uo(t,s,e));function c(e){return"Favorites"==e[25]?Xo:"MostPlayed"==e[25]?Ko:"LastPlayed"==e[25]?Jo:void 0}let d=c(t),u=d&&d(t);return{c(){r=he("div"),n=he("div"),i=he("div");for(let e=0;e<l.length;e+=1)l[e].c();a=pe(),o=he("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(r,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(r,a),de(r,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var a=Uo(t,s,e);l[e]?l[e].p(a,n):(l[e]=qo(a),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),B(l,e),u&&u.d()}}}function Yo(n){let a,r,i,o,s,l,c,d,u,m,h=n[29]("favorites")+"";return{c(){a=he("button"),r=ge(h),i=pe(),o=he("span"),s=ge("("),l=ge(n[28]),c=ge(")"),fe(a,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),de(a,o),de(o,s),de(o,l),de(o,c),u||(m=j(a,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&h!==(h=e[29]("favorites")+"")&&ye(r,h),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(a,"class",d)},d(e){e&&me(a),u=!1,m()}}}function Vo(n){let a,r,i,o,s,l=n[29]("mostPlayed")+"";return{c(){a=he("button"),r=ge(l),fe(a,"class",i="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),o||(s=j(a,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(r,l),33587200&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(a,"class",i)},d(e){e&&me(a),o=!1,s()}}}function Zo(n){let a,r,i,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){a=he("button"),r=ge(c),i=pe(),fe(a,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,a,t),de(a,r),de(a,i),s||(l=j(a,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(r,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(a,"class",o)},d(e){e&&me(a),s=!1,l()}}}function qo(e){let n,a,r,i="Favorites"==e[43]&&Yo(e),o="MostPlayed"==e[43]&&Vo(e),s="LastPlayed"==e[43]&&Zo(e);return{c(){i&&i.c(),n=pe(),o&&o.c(),a=pe(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,a,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){"Favorites"==e[43]?i?i.p(e,t):((i=Yo(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=Vo(e)).c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=Zo(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&me(n),o&&o.d(e),e&&me(a),s&&s.d(e),e&&me(r)}}}function Jo(e){let n;return{c(){F(n=he("casino-last-played-section-nd"),"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"favorites",e[14]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"lastplayedperiod",e[18]),F(n,"lastplayedorder",e[20]),F(n,"lastplayedlimit",e[21]),F(n,"lastplayedunique",e[22]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16384&t[0]&&F(n,"favorites",e[14]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),262144&t[0]&&F(n,"lastplayedperiod",e[18]),1048576&t[0]&&F(n,"lastplayedorder",e[20]),2097152&t[0]&&F(n,"lastplayedlimit",e[21]),4194304&t[0]&&F(n,"lastplayedunique",e[22]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Ko(e){let n;return{c(){F(n=he("casino-most-played-section-nd"),"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"userid",e[0]),F(n,"favorites",e[14]),F(n,"categoryindex","0"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"mostplayedrounds",e[23]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"mostplayedperiod",e[19]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),8388608&t[0]&&F(n,"mostplayedrounds",e[23]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),524288&t[0]&&F(n,"mostplayedperiod",e[19]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Xo(e){let n;return{c(){F(n=he("casino-favorites-section-nd"),"session",e[1]),F(n,"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"favorites",e[14]),F(n,"categoryid","FAVORITES"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function Qo(n){let a;function r(e){if(e[17])return Wo}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[35](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[35](null)}}}function es(t,e,n){let a;at(t,Da,e=>n(29,a=e));let r,{userid:i=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h=""}=e,{visiblegames:g=""}=e,{gamepagemodalurl:p=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:v=""}=e,{translationurl:b=""}=e,{favorites:w="false"}=e,{mostplayed:x="false"}=e,{lastplayed:$="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:k="Last30Days"}=e,{mostplayedperiod:S="Last30Days"}=e,{lastplayedorder:F=""}=e,{lastplayedlimit:_=""}=e,{lastplayedunique:G="true"}=e,{mostplayedrounds:E=""}=e,D=window.navigator.userAgent,M="",L=!1,T=["","",""],P="0";var I,A;({withLocale:I,translations:A}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(ra.set(A),tt.set(I))}),Object.keys(Eo).forEach(e=>{Go(e,Eo[e])});let R=e=>{M!==e&&n(25,M=e)},N=e=>{var t;e.data&&"UpdateFavoritesCount"===e.data.type&&(e.data.favoriteGames?n(28,P=null==(t=e.data.favoriteGames)?void 0:t.length):n(28,P=null==(t=e.data.listOfFavoritesGames)?void 0:t.length))};return rt(()=>(window.addEventListener("message",N,!1),n(26,L=nt(D)),()=>{window.removeEventListener("message",N)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,g=e.visiblegames),"gamepagemodalurl"in e&&n(10,p=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"translationurl"in e&&n(31,b=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,x=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,k=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,S=e.mostplayedperiod),"lastplayedorder"in e&&n(20,F=e.lastplayedorder),"lastplayedlimit"in e&&n(21,_=e.lastplayedlimit),"lastplayedunique"in e&&n(22,G=e.lastplayedunique),"mostplayedrounds"in e&&n(23,E=e.mostplayedrounds)},t.$$.update=()=>{if(114716&t.$$.dirty[0]&&s&&l&&c&&w&&x&&$&&(n(25,M="true"===w?"Favorites":"true"===x?"MostPlayed":"true"===$?"LastPlayed":""),n(27,T[0]="true"===w?"Favorites":"",T),n(27,T[1]="true"===x?"MostPlayed":"",T),n(27,T[2]="true"===$?"LastPlayed":"",T),e=c,tt.set(e)),1&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Go(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&r&&((e=document.createElement("style")).innerHTML=u,r.appendChild(e)),16777344&t.$$.dirty[0]&&m&&r){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e},[i,o,s,l,c,d,u,m,h,g,p,f,y,v,w,x,$,C,k,S,F,_,G,E,r,M,L,T,P,a,R,b,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){et[e?"unshift":"push"](()=>{r=e,n(24,r)})}]}function ts(e,t){oa(e,t)}customElements.get("casino-most-played-section-nd")||customElements.define("casino-most-played-section-nd",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},zo,jo,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}}),customElements.get("casino-my-games-nd")||customElements.define("casino-my-games-nd",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},es,Qo,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});let ns={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};function as(e,t,n){e=e.slice();return e[53]=t[n],e}function rs(n){let a,r,i,o,s,l=n[20]("cancel")+"";return{c(){a=he("small"),r=ge(l),fe(a,"class",i="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,a,t),de(a,r),o||(s=j(a,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(r,l),4096&t[0]&&i!==(i="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(a,"class",i)},d(e){e&&me(a),o=!1,s()}}}function is(e){let n,a,r,i;function o(e){return 1==e[16]&&e[11].length<2?ls:0!=e[14].length?ss:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&ms(e),d=2<=e[11].length&&0==e[14].length&&gs(e);return{c(){l&&l.c(),n=pe(),a=he("div"),c&&c.c(),r=pe(),d&&d.c(),fe(a,"class",i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,a,t),c&&c.m(a,null),de(a,r),d&&d.m(a,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[12]?c?c.p(e,t):((c=ms(e)).c(),c.m(a,r)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=gs(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),65536&t[0]&&i!==(i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(a,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(a),c&&c.d(),d&&d.d()}}}function os(e){let n,a,r=e[20]("loading")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&r!==(r=e[20]("loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ss(e){let n,a,r=e[20]("searchResult")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&r!==(r=e[20]("searchResult")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ls(e){let n,a,r=0!==e[14].length&&cs(e),i=0==e[14].length&&ds(e);return{c(){r&&r.c(),n=pe(),i&&i.c(),a=c()},m(e,t){r&&r.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,a,t)},p(e,t){0!==e[14].length?r?r.p(e,t):((r=cs(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null),0==e[14].length?i?i.p(e,t):((i=ds(e)).c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&me(n),i&&i.d(e),e&&me(a)}}}function cs(e){let n,a,r=e[20]("recentSearch")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){1048576&t[0]&&r!==(r=e[20]("recentSearch")+"")&&ye(a,r)},d(e){e&&me(n)}}}function ds(e){let n,a,r,i,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&us();return{c(){n=he("div"),l&&l.c(),a=pe(),r=he("p"),i=ge(s),fe(r,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,a),de(n,r),de(r,i)},p(e,t){"true"===e[10]?l||((l=us()).c(),l.m(n,a)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(i,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function us(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ms(t){let r,i=t[14],o=[];for(let e=0;e<i.length;e+=1)o[e]=hs(as(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(17580543&n[0]){let e;for(i=t[14],e=0;e<i.length;e+=1){var a=as(t,i,e);o[e]?o[e].p(a,n):(o[e]=hs(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function hs(e){let n,a,r,i,o,s,l,c,d,u,m,h;return{c(){F(n=he("casino-game-thumbnail-nd"),"endpoint",e[0]),F(n,"session",e[18]),F(n,"userid",e[19]),F(n,"favorites",e[8]),F(n,"lang",e[1]),F(n,"gamethumbnail",a=e[53].thumbnail),F(n,"gamename",r=e[53].name),F(n,"gamevendor",i=e[53].vendor.name),F(n,"gamelaunchurl",o=e[53].launchUrl),F(n,"gameisnew",s=e[53].isNew),F(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),F(n,"gamecellsize",c=e[53].cellSize),F(n,"gameid",d=e[53].id),F(n,"showgamename",e[6]),F(n,"gamefunmode",u=e[53].hasFunMode),F(n,"gamefavorite",m=e[53].isFavorite),F(n,"livelobbyendpoint",h=e[53].details?e[53].launchUrl:""),F(n,"integratedgameframedesktop",e[4]),F(n,"integratedgameframemobile",e[5]),F(n,"clientstyling",e[2]),F(n,"clientstylingurl",e[3]),F(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"endpoint",e[0]),262144&t[0]&&F(n,"session",e[18]),524288&t[0]&&F(n,"userid",e[19]),256&t[0]&&F(n,"favorites",e[8]),2&t[0]&&F(n,"lang",e[1]),16384&t[0]&&a!==(a=e[53].thumbnail)&&F(n,"gamethumbnail",a),16384&t[0]&&r!==(r=e[53].name)&&F(n,"gamename",r),16384&t[0]&&i!==(i=e[53].vendor.name)&&F(n,"gamevendor",i),16384&t[0]&&o!==(o=e[53].launchUrl)&&F(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&F(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&F(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&F(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&F(n,"gameid",d),64&t[0]&&F(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&F(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&F(n,"gamefavorite",m),16384&t[0]&&h!==(h=e[53].details?e[53].launchUrl:"")&&F(n,"livelobbyendpoint",h),16&t[0]&&F(n,"integratedgameframedesktop",e[4]),32&t[0]&&F(n,"integratedgameframemobile",e[5]),4&t[0]&&F(n,"clientstyling",e[2]),8&t[0]&&F(n,"clientstylingurl",e[3]),128&t[0]&&F(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function gs(e){let n,a,r,i,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&ps();return{c(){n=he("div"),m&&m.c(),a=pe(),r=he("p"),i=ge(d),o=pe(),s=he("p"),l=ge(u),fe(r,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,a),de(n,r),de(r,i),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=ps()).c(),m.m(n,a)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(i,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function ps(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function fs(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C="true"===n[9]&&rs(n);function k(e){return e[17]?os:is}let S=k(n),F=S(n);return{c(){a=he("div"),r=he("div"),i=he("div"),(o=he("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',s=pe(),l=he("input"),d=pe(),u=he("span"),m=H("svg"),h=H("path"),p=pe(),C&&C.c(),y=pe(),v=he("div"),w=pe(),F.c(),this.c=G,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(h,"stroke","#717171"),fe(h,"stroke-width","2"),fe(h,"stroke-linecap","round"),fe(h,"stroke-linejoin","round"),fe(m,"width","11"),fe(m,"height","11"),fe(m,"fill","none"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",g="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(i,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(r,"class","SearchWrap"),fe(v,"class",b="true"!=n[9]?"OverlayCancel":""),fe(a,"class",("PC"!==Aa(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(i,s),de(i,l),M(l,n[11]),n[33](l),de(i,d),de(i,u),de(u,m),de(m,h),de(i,p),C&&C.m(i,null),de(a,y),de(a,v),de(a,w),F.m(a,null),n[36](a),x||($=[j(l,"input",n[32]),j(l,"focus",n[22]),j(u,"click",n[34]),j(v,"click",n[23])],x=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&M(l,e[11]),2560&t[0]&&g!==(g="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",g),"true"===e[9]?C?C.p(e,t):((C=rs(e)).c(),C.m(i,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(i,"class",f),512&t[0]&&b!==(b="true"!=e[9]?"OverlayCancel":"")&&fe(v,"class",b),S===(S=k(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(a,null)))},i:G,o:G,d(e){e&&me(a),n[33](null),C&&C.d(),F.d(),n[36](null),x=!1,z($)}}}function ys(n,e,o){let t;at(n,Da,e=>o(20,t=e));let a,r,i,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e,{integratedgameframedesktop:p="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:v="true"}=e,{translationurl:b=""}=e,{showfavorites:w=""}=e,{cancelbutton:x="true"}=e,{notfoundicon:$="false"}=e,C=window.navigator.userAgent,k=[],S=[],F={},_="",G=!0,E=!1,M=!1,L=!1,T=[],P=(Object.keys(ns).forEach(e=>{ts(e,ns[e])}),e=>{e.data&&"SearchedItemClicked"==e.data.type&&(t=>{if(-1===(S=(S=localStorage.getItem("searchedGamesWds_casino"))?S.split(","):[]).indexOf(t)){let e;S.unshift(t),e=S.join(","),localStorage.setItem("searchedGamesWds_casino",e)}})(e.data.gameId),"UserSessionID"==e.data.type&&(o(18,i=e.data.session),o(19,s=e.data.userid),o(31,L=!0)),"CategoryChange"==e.data.type&&R()}),D=()=>{if(o(12,G=!1),o(16,E=!0),l&&c&&m&&_.length<2){o(14,k=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],a=0,r=(t=e?e.split(","):t).length;if(0<r){for(a=0;a<r;a++){var i=new URL(l+"/v1/casino/games/"+t[a]);i.searchParams.append("language",m),i.searchParams.append("datasource",c),i.searchParams.append("platform",Aa(C)),n.push(((e,a)=>new Promise((t,n)=>{o(17,M=!0),a&&Object.keys(F).indexOf(a)>=0?(o(17,M=!1),t(F[a])):fetch(e).then(e=>e.json()).then(e=>{o(17,M=!1),e.error||(F[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,M=!1),console.error(e),n(e)})}))(i,t[a]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,k=e.map(e=>(e.isFavorite=A(e.id),e))),k.length?I("searchSuccess","SearchWidget"):I("searchFail","SearchWidget")}).catch(e=>{I("searchError","SearchWidget")})}}O(E),I("searchAttempt","SearchWidget"),I("SearchInitialized","SearchWidget")},I=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},A=t=>-1!==T.findIndex(e=>e==t),R=()=>{o(11,_=""),o(12,G=!0),o(17,M=!1),o(14,k=[]),o(16,E=!1),O(E)},N=()=>{o(11,_=""),a.focus()},O=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return rt(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),n.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,h=e.clientstyling),"clientstylingurl"in e&&o(3,g=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,p=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,v=e.gamepagemodalurl),"translationurl"in e&&o(30,b=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,x=e.cancelbutton),"notfoundicon"in e&&o(10,$=e.notfoundicon)},n.$$.update=()=>{if(134223875&n.$$.dirty[0])if(2<=_.length){let e=new URL(l+"/v1/casino/games");e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Aa(C)),e.searchParams.append("language",m),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+_),a=e,new Promise((t,n)=>{o(17,M=!0),fetch(a.href).then(e=>e.json()).then(e=>{o(17,M=!1),t(e)}).catch(e=>{o(17,M=!1),console.error(e),n(e)})}).then(e=>{o(14,k=e.items.map(e=>(e.isFavorite=A(e.id),e)))})}else G||D();var a,e,t;if(2&n.$$.dirty[0]&&m&&(t=m,tt.set(t)),1073741824&n.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ts(e,t[e])})}).catch(e=>{console.log(e)}),805306368&n.$$.dirty[0]&&d&&u&&(o(31,L=!0),o(18,i=d),o(19,s=u)),256&n.$$.dirty[0]|1&n.$$.dirty[1]&&w&&L&&(t=new URL(`${l}/v1/player/${s}/favorites/`),o(17,M=!0),e={method:"GET",headers:{"X-SessionID":i}},fetch(t.href,e).then(e=>e.json()).then(e=>{o(17,M=!1),T=e.items.map(e=>e.id)})),8196&n.$$.dirty[0]&&h&&r&&((e=document.createElement("style")).innerHTML=h,r.appendChild(e)),8200&n.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[l,m,h,g,p,f,y,v,w,x,$,_,G,r,k,a,E,M,i,s,t,C,D,()=>{"true"!=x&&R()},a=>{if(0===(null==a?void 0:a.length))return"";let r,i,o=99999999999,s=new Date(Date.now());return a.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ua(e).diff(s)<o&&(o=Ua(e).diff(s),i=t),Ua(s).isAfter(n)&&Ua(s).isBefore(e)&&(r=a[i].name)}),r},R,N,c,d,u,b,L,function(){_=this.value,o(11,_)},function(e){et[e?"unshift":"push"](()=>{a=e,o(15,a)})},()=>N(),()=>R(),function(e){et[e?"unshift":"push"](()=>{r=e,o(13,r)})}]}function vs(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function bs(e,t,n){e=e.slice();return e[29]=t[n],e[31]=n,e}function ws(n){let r,a,i,o,s,l,e,c,d,u=n[3],m=[];for(let e=0;e<u.length;e+=1)m[e]=_s(vs(n,u,e));return{c(){r=he("div"),(a=he("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',i=pe(),o=he("div"),s=ge(n[1]),l=pe();for(let e=0;e<m.length;e+=1)m[e].c();fe(a,"class","ModalCloseBtn"),fe(a,"role","button"),fe(o,"class","CasinoCalendarDailyDay"),fe(r,"class",e="CasinoCalendarDailyDetailsBackground "+(n[5]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(r,l);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(r,null);c||(d=j(a,"click",n[6]),c=!0)},p(t,n){if(2&n[0]&&ye(s,t[1]),393&n[0]){let e;for(u=t[3],e=0;e<u.length;e+=1){var a=vs(t,u,e);m[e]?m[e].p(a,n):(m[e]=_s(a),m[e].c(),m[e].m(r,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=u.length}32&n[0]&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[5]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),B(m,e),c=!1,d()}}}function xs(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function $s(e){let n,a;return{c(){n=H("svg"),fe(a=H("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function Cs(e){let n,a;return{c(){n=H("svg"),fe(a=H("path"),"stroke-linecap","round"),fe(a,"stroke-linejoin","round"),fe(a,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,a)},d(e){e&&me(n)}}}function ks(t){let r,n,i,o=t[26].details,s=[];for(let e=0;e<o.length;e+=1)s[e]=Ss(bs(t,o,e));let l=t[26].detailsExpanded&&Fs(t);return{c(){r=he("div");for(let e=0;e<s.length;e+=1)s[e].c();n=pe(),l&&l.c(),i=c(),fe(r,"class","DetailsTabsTitles")},m(e,t){ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(r,null);ue(e,n,t),l&&l.m(e,t),ue(e,i,t)},p(n,a){if(264&a[0]){let t;for(o=n[26].details,t=0;t<o.length;t+=1){let e=bs(n,o,t);s[t]?s[t].p(e,a):(s[t]=Ss(e),s[t].c(),s[t].m(r,null))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}n[26].detailsExpanded?l?l.p(n,a):((l=Fs(n)).c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},d(e){e&&me(r),B(s,e),e&&me(n),l&&l.d(e),e&&me(i)}}}function Ss(n){let a,r,i,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[31],n[28])}return{c(){a=he("div"),r=he("div"),i=he("button"),s=pe(),fe(i,"class",o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":"")),fe(r,"class","Header"),fe(a,"class",l=n[31]===n[26].selectedTab?"SelectedTab":""),fe(a,"id","CollapseMoreInfoButton"),_(a,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,a,t),de(a,r),de(r,i),i.innerHTML=u,de(a,s),c||(d=j(i,"click",m),c=!0)},p(e,t){n=e,8&t[0]&&u!==(u=n[29].title+"")&&(i.innerHTML=u),8&t[0]&&o!==(o="HeaderButton "+(n[31]===n[26].selectedTab?"Active":""))&&fe(i,"class",o),8&t[0]&&l!==(l=n[31]===n[26].selectedTab?"SelectedTab":"")&&fe(a,"class",l),8&t[0]&&_(a,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(a),c=!1,d()}}}function Fs(e){let n,a,r=e[26].details[e[26].selectedTab].description+"";return{c(){fe(n=he("div"),"class",a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),n.innerHTML=r},p(e,t){8&t[0]&&r!==(r=e[26].details[e[26].selectedTab].description+"")&&(n.innerHTML=r),8&t[0]&&a!==(a="DetailTabsDescription "+(e[26].details[e[26].selectedTab].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function _s(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x=n[26].title+"",$=n[26].description+"";function C(e){return 1==e[26].expandedInfo?Cs:$s}let k=C(n),S=k(n);function F(){return n[17](n[26],n[27],n[28])}let _=1==n[26].expandedInfo&&ks(n);return{c(){a=he("div"),r=he("div"),i=pe(),o=he("div"),s=he("img"),d=pe(),u=he("div"),m=pe(),h=he("div"),g=he("button"),p=new T(!1),f=pe(),S.c(),y=pe(),_&&_.c(),v=pe(),fe(r,"class","CasinoCalendarDailyTitle"),fe(s,"class","CasinoCalendarFitImage"),ce(s.src,l=n[26].image)||fe(s,"src",l),fe(s,"alt",c=n[26].image),fe(o,"class","CasinoCalendarImage"),fe(u,"class","CasinoCalendarDailyDescription"),p.a=f,fe(g,"class","MoreInfoButton"),fe(h,"class","CasinoCalendarTabs"),fe(a,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,a,t),de(a,r),r.innerHTML=x,de(a,i),de(a,o),de(o,s),de(a,d),de(a,u),u.innerHTML=$,de(a,m),de(a,h),de(h,g),p.m(n[0],g),de(g,f),S.m(g,null),de(h,y),_&&_.m(h,null),de(a,v),b||(w=j(g,"click",F),b=!0)},p(e,t){n=e,8&t[0]&&x!==(x=n[26].title+"")&&(r.innerHTML=x),8&t[0]&&!ce(s.src,l=n[26].image)&&fe(s,"src",l),8&t[0]&&c!==(c=n[26].image)&&fe(s,"alt",c),8&t[0]&&$!==($=n[26].description+"")&&(u.innerHTML=$),1&t[0]&&p.p(n[0]),k!==(k=C(n))&&(S.d(1),S=k(n))&&(S.c(),S.m(g,null)),1==n[26].expandedInfo?_?_.p(n,t):((_=ks(n)).c(),_.m(h,null)):_&&(_.d(1),_=null)},d(e){e&&me(a),S.d(),_&&_.d(),b=!1,w()}}}function Gs(n){let a;function r(e){return e[4]?xs:ws}let i=r(n),o=i(n);return{c(){a=he("div"),o.c(),this.c=G},m(e,t){ue(e,a,t),o.m(a,null),n[19](a)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o.d(),n[19](null)}}}function Es(t,e,a){let n,{dailybackground:r=""}=e,{dailybuttontitle:i=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:h=""}=e,g=[],p=!0,f=!1,y=window.navigator.userAgent;var v,b;({withLocale:v,translations:b}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(ra.set(b),tt.set(v))});let w=e=>{"DailyEventsData"==e.data.type&&(a(4,p=!1),a(3,g=e.data.data),g.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.selectedTab=0,e.details.forEach((e,t)=>{e.expandedTab=0==t})}))},x=e=>{a(3,g[e].detailsExpanded=!g[e].detailsExpanded,g),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},$=(e,t,n)=>{a(3,g[n].selectedTab=t,g),e.details.forEach((e,t)=>{g[n].selectedTab!=t?e.expandedTab=!1:e.expandedTab=!0})};return rt(()=>(window.addEventListener("message",w,!1),nt(y)&&a(5,f=!0),()=>{window.removeEventListener("message",w)})),t.$$set=e=>{"dailybackground"in e&&a(9,r=e.dailybackground),"dailybuttontitle"in e&&a(0,i=e.dailybuttontitle),"dailyday"in e&&a(1,o=e.dailyday),"dailydescription"in e&&a(10,s=e.dailydescription),"dailyicon"in e&&a(11,l=e.dailyicon),"dailytitle"in e&&a(12,c=e.dailytitle),"lang"in e&&a(13,d=e.lang),"clientstyling"in e&&a(14,u=e.clientstyling),"clientstylingurl"in e&&a(15,m=e.clientstylingurl),"translationUrl"in e&&a(16,h=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty[0]&&d&&(e=d,tt.set(e)),16388&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty[0]&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,o,n,g,p,f,()=>{window.postMessage({type:"ModalClosed"},window.location.href),g.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t,e.selectedTab=0})},x,$,r,s,l,c,d,u,m,h,(e,t,n)=>{a(3,t[n].expandedInfo=!e.expandedInfo,g),x(n)},(e,t,n)=>{$(e,t,n)},function(e){et[e?"unshift":"push"](()=>{n=e,a(2,n)})}]}function Ms(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y,v,b,w,x,$,C,k,S;return{c(){a=he("div"),r=he("div"),i=he("div"),o=he("div"),(s=he("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=pe(),c=he("div"),d=he("div"),u=he("img"),h=pe(),g=he("div"),p=ge(n[2]),f=pe(),y=he("div"),v=pe(),b=he("div"),w=he("button"),x=ge(n[3]),this.c=G,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(g,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(b,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),_(c,"background-image","url('"+n[0]+"')"),_(c,"background-size","cover"),_(c,"background-position","center"),_(c,"-webkit-background-size","cover"),_(c,"-moz-background-size","cover"),_(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(r,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,h),de(c,g),de(g,p),de(c,f),de(c,y),n[14](y),de(c,v),de(c,b),de(b,w),de(w,x),n[16](a),k||(S=j(w,"click",n[15]),k=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(p,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&_(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(r,"class",C)},i:G,o:G,d(e){e&&me(a),n[14](null),n[16](null),k=!1,S()}}}function Ls(t,e,n){let a,r,{cmsendpoint:i=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:h=""}=e,{clientstylingurl:g=""}=e;var p,f;({withLocale:p,translations:f}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(ra.set(f),tt.set(p))});let y=!1,v=window.navigator.userAgent,b=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return rt(()=>{nt(v)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,h=e.clientstyling),"clientstylingurl"in e&&n(13,g=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,a)&&a.append(e),4128&t.$$.dirty&&h&&r&&((e=document.createElement("style")).innerHTML=h,r.appendChild(e)),8224&t.$$.dirty&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,r,a,y,b,i,o,d,h,g,function(e){et[e?"unshift":"push"](()=>{a=e,n(6,a)})},()=>b(),function(e){et[e?"unshift":"push"](()=>{r=e,n(5,r)})}]}function Ts(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function Ps(t){let r,i,e,o=t[4],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ds(Ts(t,o,e));let l=1==t[9]&&As(t);return{c(){r=he("div");for(let e=0;e<s.length;e+=1)s[e].c();i=pe(),l&&l.c(),fe(r,"class",e="CasinoCalendarItem "+(t[8]?"Mobile":""))},m(e,t){ue(e,r,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(r,null);de(r,i),l&&l.m(r,null)},p(n,a){if(23&a){let t;for(o=n[4],t=0;t<o.length;t+=1){let e=Ts(n,o,t);s[t]?s[t].p(e,a):(s[t]=Ds(e),s[t].c(),s[t].m(r,i))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}1==n[9]?l?l.p(n,a):((l=As(n)).c(),l.m(r,null)):l&&(l.d(1),l=null),256&a&&e!==(e="CasinoCalendarItem "+(n[8]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),B(s,e),l&&l.d()}}}function Is(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Rs(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:G,d(e){e&&me(n)}}}function Ds(e){let n,a,r,i,o,s;return{c(){F(n=he("casino-calendar-daily-item"),"dailybackground",a=e[21].dailyBackground),F(n,"dailyicon",r=e[21].dailyIcon),F(n,"dailyday",i=e[21].dailyDay),F(n,"dailydescription",o=e[21].dailyDescription),F(n,"dailybuttontitle",s=e[21].dailyButtonTitle),F(n,"index",e[23]),F(n,"lang",e[0]),F(n,"clientstyling",e[1]),F(n,"clientstylingurl",e[2])},m(e,t){ue(e,n,t)},p(e,t){16&t&&a!==(a=e[21].dailyBackground)&&F(n,"dailybackground",a),16&t&&r!==(r=e[21].dailyIcon)&&F(n,"dailyicon",r),16&t&&i!==(i=e[21].dailyDay)&&F(n,"dailyday",i),16&t&&o!==(o=e[21].dailyDescription)&&F(n,"dailydescription",o),16&t&&s!==(s=e[21].dailyButtonTitle)&&F(n,"dailybuttontitle",s),1&t&&F(n,"lang",e[0]),2&t&&F(n,"clientstyling",e[1]),4&t&&F(n,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function As(e){let n,a,r,i,o,s,l,c;return{c(){n=he("div"),F(a=he("casino-calendar-daily-details"),"dailybackground",r=e[4][e[5]].dailyBackground),F(a,"dailybuttontitle",i=e[4][e[5]].dailyButtonTitle),F(a,"dailyday",o=e[4][e[5]].dailyDay),F(a,"dailydescription",s=e[4][e[5]].dailyDescription),F(a,"dailyicon",l=e[4][e[5]].dailyIcon),F(a,"dailytitle",c=e[4][e[5]].dailyTitle),F(a,"lang",e[0]),F(a,"clientstyling",e[1]),F(a,"clientstylingurl",e[2]),fe(n,"class","CalendarDetailsWrapper")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){48&t&&r!==(r=e[4][e[5]].dailyBackground)&&F(a,"dailybackground",r),48&t&&i!==(i=e[4][e[5]].dailyButtonTitle)&&F(a,"dailybuttontitle",i),48&t&&o!==(o=e[4][e[5]].dailyDay)&&F(a,"dailyday",o),48&t&&s!==(s=e[4][e[5]].dailyDescription)&&F(a,"dailydescription",s),48&t&&l!==(l=e[4][e[5]].dailyIcon)&&F(a,"dailyicon",l),48&t&&c!==(c=e[4][e[5]].dailyTitle)&&F(a,"dailytitle",c),1&t&&F(a,"lang",e[0]),2&t&&F(a,"clientstyling",e[1]),4&t&&F(a,"clientstylingurl",e[2])},d(e){e&&me(n)}}}function Ns(n){let a;function r(e){return e[7]?Rs:e[6]?Is:e[4]?.length?Ps:void 0}let i=r(n),o=i&&i(n);return{c(){a=he("div"),o&&o.c(),this.c=G},m(e,t){ue(e,a,t),o&&o.m(a,null),n[13](a)},p(e,[t]){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(a,null)))},i:G,o:G,d(e){e&&me(a),o&&o.d(),n[13](null)}}}function Os(n,e,a){let r,i,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,h=!0,g=!1,t=!1,p=window.navigator.userAgent,f=!1,y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(a(5,m=e.data.index),a(9,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=i[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&a(9,f=!1)};return rt(()=>(window.addEventListener("message",y,!1),nt(p)&&a(8,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&a(10,o=e.cmsendpoint),"env"in e&&a(11,s=e.env),"userroles"in e&&a(12,l=e.userroles),"lang"in e&&a(0,c=e.lang),"clientstyling"in e&&a(1,d=e.clientstyling),"clientstylingurl"in e&&a(2,u=e.clientstylingurl)},n.$$.update=()=>{if(7169&n.$$.dirty&&o&&c&&s&&l&&(a(6,h=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=Aa(p))&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{a(4,i=e)}).catch(e=>{console.log(e),a(7,g=!0)}).finally(()=>{a(6,h=!1)})),10&n.$$.dirty&&d&&r&&((t=document.createElement("style")).innerHTML=d,r.appendChild(t)),12&n.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t},[c,d,u,r,i,m,h,g,t,f,o,s,l,function(e){et[e?"unshift":"push"](()=>{r=e,a(3,r)})}]}customElements.get("casino-search-nd")||customElements.define("casino-search-nd",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 40px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emfe-w-color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emfe-w-color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-white, #FFF);background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E))}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E))}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ys,fs,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Es,Gs,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Ls,Ms,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},Os,Ns,n,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[11]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[12]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let Bs=C.document;function Hs(e,t,n){e=e.slice();return e[125]=t[n],e[127]=n,e}function js(e){let n,a,r,i,o,s,l="true"==e[21]&&0==sl&&!e[83]&&Us(e),c="true"==e[22]&&0==sl&&!e[83]&&Ws(e);function d(e){return e[77]?Vs:e[83]?void 0:Ys}let u=d(e),m=u&&u(e),h=e[79]&&"true"==e[16]&&il(e);return{c(){n=he("section"),a=he("casino-search-nd"),r=pe(),l&&l.c(),i=pe(),c&&c.c(),o=pe(),m&&m.c(),s=pe(),h&&h.c(),F(a,"endpoint",e[1]),F(a,"datasource",e[3]),F(a,"showgamename",e[19]),F(a,"lang",e[5]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10]),F(a,"integratedgameframedesktop",e[31]),F(a,"integratedgameframemobile",e[32]),F(a,"translationurl",e[11]),F(a,"showfavorites",e[15]),fe(n,"class","CategoriesLobby")},m(e,t){ue(e,n,t),de(n,a),de(n,r),l&&l.m(n,null),de(n,i),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),h&&h.m(n,null)},p(e,t){2&t[0]&&F(a,"endpoint",e[1]),8&t[0]&&F(a,"datasource",e[3]),524288&t[0]&&F(a,"showgamename",e[19]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10]),1&t[1]&&F(a,"integratedgameframedesktop",e[31]),2&t[1]&&F(a,"integratedgameframemobile",e[32]),2048&t[0]&&F(a,"translationurl",e[11]),32768&t[0]&&F(a,"showfavorites",e[15]),"true"!=e[21]||0!=sl||e[83]?l&&(l.d(1),l=null):l?l.p(e,t):((l=Us(e)).c(),l.m(n,i)),"true"!=e[22]||0!=sl||e[83]?c&&(c.d(1),c=null):c?c.p(e,t):((c=Ws(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[79]&&"true"==e[16]?h?h.p(e,t):((h=il(e)).c(),h.m(n,null)):h&&(h.d(1),h=null)},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),h&&h.d()}}}function zs(e){let n,a,r=e[85]("500")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&r!==(r=e[85]("500")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Us(e){let n;return{c(){F(n=he("casino-random-game"),"datasource",e[3]),F(n,"filteredrandomgamecategories",e[23]),F(n,"endpoint",e[1]),F(n,"lang",e[5]),F(n,"gameevent",e[76]),F(n,"randombuttonicon",e[72]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&F(n,"datasource",e[3]),8388608&t[0]&&F(n,"filteredrandomgamecategories",e[23]),2&t[0]&&F(n,"endpoint",e[1]),32&t[0]&&F(n,"lang",e[5]),16384&t[2]&&F(n,"gameevent",e[76]),1024&t[2]&&F(n,"randombuttonicon",e[72]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function Ws(e){let n;return{c(){F(n=he("casino-play-random-game"),"datasource",e[3]),F(n,"endpoint",e[1]),F(n,"language",e[5]),F(n,"specific-category",e[68]),F(n,"icon-visible",e[70]),F(n,"icon-visible-on-anim",e[71]),F(n,"launch-by-game-card",e[69]),F(n,"client-styling",e[8]),F(n,"client-styling-url",e[10]),F(n,"translation-url",e[11])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&F(n,"datasource",e[3]),2&t[0]&&F(n,"endpoint",e[1]),32&t[0]&&F(n,"language",e[5]),64&t[2]&&F(n,"specific-category",e[68]),256&t[2]&&F(n,"icon-visible",e[70]),512&t[2]&&F(n,"icon-visible-on-anim",e[71]),128&t[2]&&F(n,"launch-by-game-card",e[69]),256&t[0]&&F(n,"client-styling",e[8]),1024&t[0]&&F(n,"client-styling-url",e[10]),2048&t[0]&&F(n,"translation-url",e[11])},d(e){e&&me(n)}}}function Ys(e){let n;function a(e){return e[82]?Js:e[81]?qs:Zs}let r=a(e),i=r(e);return{c(){i.c(),n=c()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){r===(r=a(e))&&i?i.p(e,t):(i.d(1),(i=r(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function Vs(e){let n,a,r=e[85]("loading")+"";return{c(){n=he("p"),a=ge(r),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){8388608&t[2]&&r!==(r=e[85]("loading")+"")&&ye(a,r)},d(e){e&&me(n)}}}function Zs(e){let n;return{c(){F(n=he("casino-games-category-section-nd"),"userid",e[7]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"favorites",e[15]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"session",e[6]),F(n,"categoryid",e[74]),F(n,"categorygames","9"),F(n,"fetchviaevent",e[66]),F(n,"class","CategoryContainer"),F(n,"showgamename",e[19]),F(n,"translationurl",e[11]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[20]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"casinomygames",e[0]),F(n,"filterbylogo",e[55]),F(n,"addfilterselector",e[53]),F(n,"addsortingselector",e[54]),F(n,"casinogamesgridslider",e[25])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32768&t[0]&&F(n,"favorites",e[15]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),64&t[0]&&F(n,"session",e[6]),4096&t[2]&&F(n,"categoryid",e[74]),16&t[2]&&F(n,"fetchviaevent",e[66]),524288&t[0]&&F(n,"showgamename",e[19]),2048&t[0]&&F(n,"translationurl",e[11]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),1048576&t[0]&&F(n,"livecasino",e[20]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),1&t[0]&&F(n,"casinomygames",e[0]),16777216&t[1]&&F(n,"filterbylogo",e[55]),4194304&t[1]&&F(n,"addfilterselector",e[53]),8388608&t[1]&&F(n,"addsortingselector",e[54]),33554432&t[0]&&F(n,"casinogamesgridslider",e[25])},d(e){e&&me(n)}}}function qs(e){let n;return{c(){F(n=he("casino-my-games-nd"),"userid",e[7]),F(n,"session",e[6]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"favorites",e[15]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[20]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"showgamename",e[19]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"translationurl",e[11]),F(n,"mostplayed",e[57]),F(n,"lastplayed",e[58]),F(n,"filteredcategories",e[17]),F(n,"activecategory",e[18]),F(n,"lastplayedunique",e[63]),F(n,"categoryindex","0"),F(n,"categoryid","MYGAMES"),F(n,"casinomygames",e[0]),F(n,"lastplayedperiod",e[59]),F(n,"mostplayedperiod",e[60]),F(n,"lastplayedorder",e[61]),F(n,"lastplayedlimit",e[62]),F(n,"mostplayedrounds",e[64])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),64&t[0]&&F(n,"session",e[6]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),32768&t[0]&&F(n,"favorites",e[15]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),1048576&t[0]&&F(n,"livecasino",e[20]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),524288&t[0]&&F(n,"showgamename",e[19]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),2048&t[0]&&F(n,"translationurl",e[11]),67108864&t[1]&&F(n,"mostplayed",e[57]),134217728&t[1]&&F(n,"lastplayed",e[58]),131072&t[0]&&F(n,"filteredcategories",e[17]),262144&t[0]&&F(n,"activecategory",e[18]),2&t[2]&&F(n,"lastplayedunique",e[63]),1&t[0]&&F(n,"casinomygames",e[0]),268435456&t[1]&&F(n,"lastplayedperiod",e[59]),536870912&t[1]&&F(n,"mostplayedperiod",e[60]),1073741824&t[1]&&F(n,"lastplayedorder",e[61]),1&t[2]&&F(n,"lastplayedlimit",e[62]),4&t[2]&&F(n,"mostplayedrounds",e[64])},d(e){e&&me(n)}}}function Js(t){let r,i=t[84],o=[];for(let e=0;e<i.length;e+=1)o[e]=rl(Hs(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n)},p(t,n){if(2132344831&n[0]|67108863&n[1]|20971576&n[2]){let e;for(i=t[84],e=0;e<i.length;e+=1){var a=Hs(t,i,e);o[e]?o[e].p(a,n):(o[e]=rl(a),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){B(o,e),e&&me(r)}}}function Ks(e){let n,a;return{c(){n=he("div"),F(a=he("casino-winners"),"session",e[6]),F(a,"userid",e[7]),F(a,"periodrecent",e[33]),F(a,"periodtop",e[34]),F(a,"numberusersrecent",e[35]),F(a,"numberuserstop",e[36]),F(a,"amountlimit",e[37]),F(a,"isrecentavailable",e[30]),F(a,"istopavailable",e[29]),F(a,"defaultcurrency",e[38]),F(a,"usercurrency",e[4]),F(a,"enableautoscroll",e[28]),F(a,"tabsorder",e[27]),F(a,"lang",e[5]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10]),F(a,"endpoint",e[1]),F(a,"winnersdatasources",e[65]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,a)},p(e,t){64&t[0]&&F(a,"session",e[6]),128&t[0]&&F(a,"userid",e[7]),4&t[1]&&F(a,"periodrecent",e[33]),8&t[1]&&F(a,"periodtop",e[34]),16&t[1]&&F(a,"numberusersrecent",e[35]),32&t[1]&&F(a,"numberuserstop",e[36]),64&t[1]&&F(a,"amountlimit",e[37]),1073741824&t[0]&&F(a,"isrecentavailable",e[30]),536870912&t[0]&&F(a,"istopavailable",e[29]),128&t[1]&&F(a,"defaultcurrency",e[38]),16&t[0]&&F(a,"usercurrency",e[4]),268435456&t[0]&&F(a,"enableautoscroll",e[28]),134217728&t[0]&&F(a,"tabsorder",e[27]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10]),2&t[0]&&F(a,"endpoint",e[1]),8&t[2]&&F(a,"winnersdatasources",e[65])},d(e){e&&me(n)}}}function Xs(e){let n,a,r;return{c(){n=he("br"),a=pe(),F(r=he("casino-calendar"),"userroles",e[9]),F(r,"cmsendpoint",e[12]),F(r,"env",e[2]),F(r,"lang",e[5]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){512&t[0]&&F(r,"userroles",e[9]),4096&t[0]&&F(r,"cmsendpoint",e[12]),4&t[0]&&F(r,"env",e[2]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function Qs(e){let n,a,r;return{c(){n=he("br"),a=pe(),fe(r=he("slot"),"name","je-jackpots-widget"),fe(r,"class",nt(e[86])?"":"JackpotsContainer")},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p:G,d(e){e&&me(n),e&&me(a),e&&me(r)}}}function el(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),F(r=he("casino-jackpot-banner"),"title","Jackpot Cards"),F(r,"currency",i=e[4]||"RON"),F(r,"gameid","999"),F(r,"endpoint",e[1]),F(r,"lang",e[5]),F(r,"backgroundsrc","/assets/background0.jpg"),F(r,"backgroundsrcmobile","/assets/background0.jpg"),F(r,"titlelogopath","/assets/jackpots_logo.svg"),F(r,"caticon0","/assets/icon0.svg"),F(r,"caticon1","/assets/icon1.svg"),F(r,"caticon2","/assets/icon2.svg"),F(r,"caticon3","/assets/icon3.svg"),F(r,"visualstructure","typeSpread"),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(r,"currency",i),2&t[0]&&F(r,"endpoint",e[1]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function tl(e){let n,a,r,i;return{c(){n=he("br"),a=pe(),F(r=he("casino-jackpot-banner"),"title","Egypt Quest"),F(r,"currency",i=e[4]||"RON"),F(r,"gameid","998"),F(r,"endpoint",e[1]),F(r,"lang",e[5]),F(r,"backgroundsrc",e[44]),F(r,"backgroundsrcmobile",e[45]),F(r,"titlelogopath",e[46]),F(r,"caticon0",e[40]),F(r,"caticon1",e[41]),F(r,"caticon2",e[42]),F(r,"caticon3",e[43]),F(r,"iconlabels",e[47]),F(r,"visualstructure",e[48]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,a,t),ue(e,r,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(r,"currency",i),2&t[0]&&F(r,"endpoint",e[1]),32&t[0]&&F(r,"lang",e[5]),8192&t[1]&&F(r,"backgroundsrc",e[44]),16384&t[1]&&F(r,"backgroundsrcmobile",e[45]),32768&t[1]&&F(r,"titlelogopath",e[46]),512&t[1]&&F(r,"caticon0",e[40]),1024&t[1]&&F(r,"caticon1",e[41]),2048&t[1]&&F(r,"caticon2",e[42]),4096&t[1]&&F(r,"caticon3",e[43]),65536&t[1]&&F(r,"iconlabels",e[47]),131072&t[1]&&F(r,"visualstructure",e[48]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(a),e&&me(r)}}}function nl(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type","vendor"),F(n,"titletype","logo"),F(n,"collectionprovidersgamenames",e[52]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function al(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type",e[50]),F(n,"collectionprovidersgamenames",e[52]),F(n,"titletype",e[51]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),524288&t[1]&&F(n,"type",e[50]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),1048576&t[1]&&F(n,"titletype",e[51]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function rl(n){let a,r,i,o,s,l,c,d,u,m,h,g,p,f,y=n[26]&&n[127]==+n[26]&&Ks(n),v=n[56]&&n[127]==+n[56]&&Xs(n),b=n[67]&&n[127]==+n[67]&&Qs(n);function w(e,t){return 256&t[1]|4194304&t[2]&&(o=null),256&t[1]|4194304&t[2]&&(s=null),(o=null==o?!(!e[39]||e[127]!=(""==e[39].split(",")[0]?e[84].length:+e[39].split(",")[0])):o)?tl:(s=null==s?!(!e[39]||e[127]!=(""==e[39].split(",")[1]?e[84].length:+e[39].split(",")[1])):s)?el:void 0}let x=w(n,[-1,-1,-1,-1,-1]),$=x&&x(n);function C(e,t){return 262144&t[1]|4194304&t[2]&&(c=null),262144&t[1]|4194304&t[2]&&(d=null),(c=null==c?!(!e[49]||e[127]!=(""==e[49].split(",")[0]?e[84].length:+e[49].split(",")[0])):c)?al:(d=null==d?!(!e[49]||e[127]!=(""==e[49].split(",")[1]?e[84].length:+e[49].split(",")[1])):d)?nl:void 0}let k=C(n,[-1,-1,-1,-1,-1]),S=k&&k(n);return{c(){y&&y.c(),a=pe(),v&&v.c(),r=pe(),b&&b.c(),i=pe(),$&&$.c(),l=pe(),S&&S.c(),u=pe(),F(m=he("casino-games-category-section-nd"),"session",n[6]),F(m,"userid",n[7]),F(m,"endpoint",n[1]),F(m,"datasource",n[3]),F(m,"lang",n[5]),F(m,"currency",n[4]),F(m,"categoryid",h=n[125]),F(m,"categoryindex",n[127]),F(m,"categorygames","9"),F(m,"fetchviaevent",n[66]),F(m,"favorites",n[15]),F(m,"showgamename",n[19]),F(m,"translationurl",n[11]),F(m,"class","CategoryContainer"),_(m,"background-color",n[127]%2!=0?n[13]:"transparent"),F(m,"clientstyling",n[8]),F(m,"clientstylingurl",n[10]),F(m,"livecasino",n[20]),F(m,"visiblegames",n[14]),F(m,"gamepagemodalurl",n[24]),F(m,"integratedgameframedesktop",n[31]),F(m,"integratedgameframemobile",n[32]),F(m,"casinomygames",n[0]),F(m,"filterbylogo",n[55]),F(m,"addfilterselector",n[53]),F(m,"addsortingselector",n[54]),F(m,"casinogamesgridslider",n[25])},m(e,t){y&&y.m(e,t),ue(e,a,t),v&&v.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,i,t),$&&$.m(e,t),ue(e,l,t),S&&S.m(e,t),ue(e,u,t),ue(e,m,t),p||(e=g=n[87].call(null,m,n[125]),f=e&&E(e.destroy)?e.destroy:G,p=!0)},p(e,t){(n=e)[26]&&n[127]==+n[26]?y?y.p(n,t):((y=Ks(n)).c(),y.m(a.parentNode,a)):y&&(y.d(1),y=null),n[56]&&n[127]==+n[56]?v?v.p(n,t):((v=Xs(n)).c(),v.m(r.parentNode,r)):v&&(v.d(1),v=null),n[67]&&n[127]==+n[67]?b?b.p(n,t):((b=Qs(n)).c(),b.m(i.parentNode,i)):b&&(b.d(1),b=null),x===(x=w(n,t))&&$?$.p(n,t):($&&$.d(1),($=x&&x(n))&&($.c(),$.m(l.parentNode,l))),k===(k=C(n,t))&&S?S.p(n,t):(S&&S.d(1),(S=k&&k(n))&&(S.c(),S.m(u.parentNode,u))),64&t[0]&&F(m,"session",n[6]),128&t[0]&&F(m,"userid",n[7]),2&t[0]&&F(m,"endpoint",n[1]),8&t[0]&&F(m,"datasource",n[3]),32&t[0]&&F(m,"lang",n[5]),16&t[0]&&F(m,"currency",n[4]),4194304&t[2]&&h!==(h=n[125])&&F(m,"categoryid",h),16&t[2]&&F(m,"fetchviaevent",n[66]),32768&t[0]&&F(m,"favorites",n[15]),524288&t[0]&&F(m,"showgamename",n[19]),2048&t[0]&&F(m,"translationurl",n[11]),8192&t[0]&&_(m,"background-color",n[127]%2!=0?n[13]:"transparent"),256&t[0]&&F(m,"clientstyling",n[8]),1024&t[0]&&F(m,"clientstylingurl",n[10]),1048576&t[0]&&F(m,"livecasino",n[20]),16384&t[0]&&F(m,"visiblegames",n[14]),16777216&t[0]&&F(m,"gamepagemodalurl",n[24]),1&t[1]&&F(m,"integratedgameframedesktop",n[31]),2&t[1]&&F(m,"integratedgameframemobile",n[32]),1&t[0]&&F(m,"casinomygames",n[0]),16777216&t[1]&&F(m,"filterbylogo",n[55]),4194304&t[1]&&F(m,"addfilterselector",n[53]),8388608&t[1]&&F(m,"addsortingselector",n[54]),33554432&t[0]&&F(m,"casinogamesgridslider",n[25]),g&&E(g.update)&&4194304&t[2]&&g.update.call(null,n[125])},d(e){y&&y.d(e),e&&me(a),v&&v.d(e),e&&me(r),b&&b.d(e),e&&me(i),$&&$.d(e),e&&me(l),S&&S.d(e),e&&me(u),e&&me(m),p=!1,f()}}}function il(n){let a,r,i,o=n[85]("breakButton")+"";return{c(){a=he("div"),r=he("button"),i=ge(o),fe(r,"class","PanicButton "+("PC"!==Aa(n[86])?"PanicButtonMobile ":"")),L(r,"PanicButtonAnimation",n[80]),fe(a,"class","PanicSection "+("PC"!==Aa(n[86])?"PanicSectionMobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),n[90](r)},p(e,t){8388608&t[2]&&o!==(o=e[85]("breakButton")+"")&&ye(i,o),262144&t[2]&&L(r,"PanicButtonAnimation",e[80])},d(e){e&&me(a),n[90](null)}}}function ol(n){let a,r,i;function o(e){return e[78]?zs:js}let s=o(n),l=s(n);return{c(){a=he("script"),r=pe(),i=he("div"),l.c(),this.c=G,fe(a,"type","module"),ce(a.src,"https://unpkg.com/@everymatrix/casino-play-random-game")||fe(a,"src","https://unpkg.com/@everymatrix/casino-play-random-game")},m(e,t){de(Bs.head,a),ue(e,r,t),ue(e,i,t),l.m(i,null),n[91](i)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(i,null)))},i:G,o:G,d(e){me(a),e&&me(r),e&&me(i),l.d(),n[91](null)}}}let sl=!1;function ll(n,e,r){let D;at(n,Da,e=>r(85,D=e));let A,{endpoint:i=""}=e,{env:N=""}=e,{datasource:o=""}=e,{currency:O=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{userroles:B=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:H=""}=e,{categorybackground:j=""}=e,a=e.visiblegames,{favorites:z=""}=e,{haspanicbutton:U="false"}=e,{filteredcategories:h=""}=e,{activecategory:g=""}=e,{showgamename:W=""}=e,{livecasino:Y="false"}=e,{playrandomgame:V="false"}=e,{randomgameslider:Z="false"}=e,{filteredrandomgamecategories:q=""}=e,{gamepagemodalurl:J="false"}=e,{casinogamesgridslider:K="false"}=e,{positionwinnerswidget:X=""}=e,{tabsorder:Q=""}=e,{enableautoscroll:ee=""}=e,{istopavailable:te=""}=e,{isrecentavailable:ne=""}=e,{integratedgameframedesktop:ae="false"}=e,{integratedgameframemobile:re="false"}=e,{periodrecent:ie=""}=e,{periodtop:oe=""}=e,{numberusersrecent:se=""}=e,{numberuserstop:le=""}=e,{amountlimit:ce=""}=e,{defaultcurrency:de=""}=e,{showsubgroups:p=""}=e,{positionjackpotbanners:ue=""}=e,{caticon0:me=""}=e,{caticon1:he=""}=e,{caticon2:ge=""}=e,{caticon3:pe=""}=e,{backgroundsrc:fe=""}=e,{backgroundsrcmobile:ye=""}=e,{titlelogopath:ve=""}=e,{iconlabels:be=""}=e,{visualstructure:we=""}=e,{positioncollections:xe=""}=e,{type:$e=""}=e,{titletype:Ce=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Se="false"}=e,{addsortingselector:Fe="false"}=e,{filterbylogo:_e=""}=e,{positioncasinocalendar:Ge=""}=e,{casinomygames:t="false"}=e,{mostplayed:f=""}=e,{lastplayed:y=""}=e,{lastplayedperiod:Ee="Last30Days"}=e,{mostplayedperiod:Me="Last30Days"}=e,{lastplayedorder:Le=""}=e,{lastplayedlimit:Te=""}=e,{lastplayedunique:Pe="true"}=e,{mostplayedrounds:Ie=""}=e,{winnersdatasources:Re=""}=e,{fetchviaevent:De="true"}=e,{positionjelobbywidget:Ae=""}=e,{specificcategory:Ne=""}=e,{launchbygamecard:Oe=""}=e,{iconvisible:Be=""}=e,{iconvisibleonanim:He=""}=e,{randombuttonicon:je=""}=e,v=window.navigator.userAgent;A=nt(v)?"OpenGameFrame":"ShowGameModal";let b,w,x,$,ze,Ue,C,k=!1,S=!1,We=!1,F="",_=!1,G=0,E=!1,M=!0,L=!1,Ye=[],T=[],Ve=!1,P="",Ze=!1;var qe,Je;({withLocale:qe,translations:Je}={withLocale:"en",translations:{}}),tt.subscribe(e=>{null==e&&(ra.set(Je),tt.set(qe))}),Object.keys(Oa).forEach(e=>{Na(e,Oa[e])});let Ke=e=>{switch(Ve=!0,r(0,t="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ve},window.location.href)}),e.data.itemId){case"LOBBY":r(82,M=!0),r(81,E=!1),r(74,x="");break;case"MYGAMES":r(0,t="true"),r(82,M=!1),r(81,E=!0),r(74,x="");break;case"FAVORITES":r(82,M=!1),r(81,E=!0),r(74,x="");break;case"MOSTPLAYED":"true"==f&&(r(74,x=""),r(82,M=!1),r(81,E=!0));break;case"LASTPLAYED":"true"==y&&(r(74,x=""),r(82,M=!1),r(81,E=!0));break;default:r(82,M=!1),r(81,E=!1),r(74,x=e.data.itemId)}},Xe=t=>{if(t.data)switch(t.data.type){case"CategoryChange":Ke(t);break;case"UserSessionID":t.data.session,t.data.userID;break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:P,origin:t.data.origin},window.location.href);break;case"CategoryVendors":P=t.data.categoryid;break;case"searchCancelled":r(83,L=!1),x&&Ke({data:{itemId:x}});break;case"searchActive":r(83,L=!0);break;case"ModalClosed":break;case"SubgroupsIds":T.some(e=>t.data.subGroupsIds.includes(e))||T.push(...t.data.subGroupsIds)}},Qe=()=>{$&&(ze=$.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{G=0,w=setInterval(()=>{G+=1,r(80,_=!0),3<=G&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(w))},1e3)},R=e=>{G<3&&r(80,_=!1),clearInterval(w)};return rt(()=>(window.addEventListener("scroll",Qe,!1),window.addEventListener("message",Xe,!1),()=>{window.removeEventListener("scroll",Qe),window.removeEventListener("message",Xe),r(80,_=!1),null!=b&&b.removeEventListener("mousedown",I),null!=b&&b.removeEventListener("touchstart",I),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&r(1,i=e.endpoint),"env"in e&&r(2,N=e.env),"datasource"in e&&r(3,o=e.datasource),"currency"in e&&r(4,O=e.currency),"lang"in e&&r(5,s=e.lang),"session"in e&&r(6,l=e.session),"userid"in e&&r(7,c=e.userid),"clientstyling"in e&&r(8,d=e.clientstyling),"userroles"in e&&r(9,B=e.userroles),"clientstylingurl"in e&&r(10,u=e.clientstylingurl),"translationurl"in e&&r(11,m=e.translationurl),"cmsendpoint"in e&&r(12,H=e.cmsendpoint),"categorybackground"in e&&r(13,j=e.categorybackground),"visiblegames"in e&&r(14,a=e.visiblegames),"favorites"in e&&r(15,z=e.favorites),"haspanicbutton"in e&&r(16,U=e.haspanicbutton),"filteredcategories"in e&&r(17,h=e.filteredcategories),"activecategory"in e&&r(18,g=e.activecategory),"showgamename"in e&&r(19,W=e.showgamename),"livecasino"in e&&r(20,Y=e.livecasino),"playrandomgame"in e&&r(21,V=e.playrandomgame),"randomgameslider"in e&&r(22,Z=e.randomgameslider),"filteredrandomgamecategories"in e&&r(23,q=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&r(24,J=e.gamepagemodalurl),"casinogamesgridslider"in e&&r(25,K=e.casinogamesgridslider),"positionwinnerswidget"in e&&r(26,X=e.positionwinnerswidget),"tabsorder"in e&&r(27,Q=e.tabsorder),"enableautoscroll"in e&&r(28,ee=e.enableautoscroll),"istopavailable"in e&&r(29,te=e.istopavailable),"isrecentavailable"in e&&r(30,ne=e.isrecentavailable),"integratedgameframedesktop"in e&&r(31,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(32,re=e.integratedgameframemobile),"periodrecent"in e&&r(33,ie=e.periodrecent),"periodtop"in e&&r(34,oe=e.periodtop),"numberusersrecent"in e&&r(35,se=e.numberusersrecent),"numberuserstop"in e&&r(36,le=e.numberuserstop),"amountlimit"in e&&r(37,ce=e.amountlimit),"defaultcurrency"in e&&r(38,de=e.defaultcurrency),"showsubgroups"in e&&r(88,p=e.showsubgroups),"positionjackpotbanners"in e&&r(39,ue=e.positionjackpotbanners),"caticon0"in e&&r(40,me=e.caticon0),"caticon1"in e&&r(41,he=e.caticon1),"caticon2"in e&&r(42,ge=e.caticon2),"caticon3"in e&&r(43,pe=e.caticon3),"backgroundsrc"in e&&r(44,fe=e.backgroundsrc),"backgroundsrcmobile"in e&&r(45,ye=e.backgroundsrcmobile),"titlelogopath"in e&&r(46,ve=e.titlelogopath),"iconlabels"in e&&r(47,be=e.iconlabels),"visualstructure"in e&&r(48,we=e.visualstructure),"positioncollections"in e&&r(49,xe=e.positioncollections),"type"in e&&r(50,$e=e.type),"titletype"in e&&r(51,Ce=e.titletype),"collectionprovidersgamenames"in e&&r(52,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&r(53,Se=e.addfilterselector),"addsortingselector"in e&&r(54,Fe=e.addsortingselector),"filterbylogo"in e&&r(55,_e=e.filterbylogo),"positioncasinocalendar"in e&&r(56,Ge=e.positioncasinocalendar),"casinomygames"in e&&r(0,t=e.casinomygames),"mostplayed"in e&&r(57,f=e.mostplayed),"lastplayed"in e&&r(58,y=e.lastplayed),"lastplayedperiod"in e&&r(59,Ee=e.lastplayedperiod),"mostplayedperiod"in e&&r(60,Me=e.mostplayedperiod),"lastplayedorder"in e&&r(61,Le=e.lastplayedorder),"lastplayedlimit"in e&&r(62,Te=e.lastplayedlimit),"lastplayedunique"in e&&r(63,Pe=e.lastplayedunique),"mostplayedrounds"in e&&r(64,Ie=e.mostplayedrounds),"winnersdatasources"in e&&r(65,Re=e.winnersdatasources),"fetchviaevent"in e&&r(66,De=e.fetchviaevent),"positionjelobbywidget"in e&&r(67,Ae=e.positionjelobbywidget),"specificcategory"in e&&r(68,Ne=e.specificcategory),"launchbygamecard"in e&&r(69,Oe=e.launchbygamecard),"iconvisible"in e&&r(70,Be=e.iconvisible),"iconvisibleonanim"in e&&r(71,He=e.iconvisibleonanim),"randombuttonicon"in e&&r(72,je=e.randombuttonicon)},n.$$.update=()=>{if(262176&n.$$.dirty[0]&&s&&g&&(r(74,x=g),Ke({data:{itemId:x}})),194&n.$$.dirty[0]&&l&&c&&i&&r(79,We=!0),134221824&n.$$.dirty[2]&&x&&T&&!T.includes(decodeURI(x))&&""!=x&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&i&&o&&s&&(i||(F="Endpoint is missing! Please provide a valid endpointURL.",r(78,S=!0),r(77,k=!1),console.error(F)),o||(F="Datasource is missing! Please provide a valid datasource.",r(78,S=!0),r(77,k=!1),console.error(F)),(!s||s.length<2)&&(F="Language is missing! Please provide a valid language (alpha2code)",r(78,S=!0),r(77,k=!1),console.error(F)),S||(r(77,k=!0),t=s,tt.set(t),(t=new URL(i+"/v1/casino/groups/"+o)).searchParams.append("language",s),t.searchParams.append("platform",Aa(v)),a=t,new Promise((t,n)=>{r(77,k=!0),fetch(a).then(e=>e.json()).then(e=>{r(77,k=!1),t(e)}).catch(e=>{r(78,S=!0),r(77,k=!1),console.error(e),n(e)})}).then(e=>{let a=h.split(",");e&&(Ue=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,h))for(var n of a)e.flags==n&&(t=!1);return t}),r(84,Ye=Ue.filter(e=>!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==p)).map(e=>e.id)),r(89,T=e.items.map(e=>e.id.toString())),r(77,k=!1))}),$=void 0)),32&n.$$.dirty[0]&&s&&(Ze&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href)},500),Ze=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Na(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|8192&n.$$.dirty[2]&&d&&C&&((e=document.createElement("style")).innerHTML=d,C.appendChild(e)),1024&n.$$.dirty[0]|8192&n.$$.dirty[2]&&u&&C){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{C.appendChild(t)},1)})}var e,a,t;2048&n.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",I,!1),null!=b&&b.addEventListener("touchstart",I,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b)&&b.addEventListener("touchend",R,!1)},[t,i,N,o,O,s,l,c,d,B,u,m,H,j,a,z,U,h,g,W,Y,V,Z,q,J,K,X,Q,ee,te,ne,ae,re,ie,oe,se,le,ce,de,ue,me,he,ge,pe,fe,ye,ve,be,we,xe,$e,Ce,ke,Se,Fe,_e,Ge,f,y,Ee,Me,Le,Te,Pe,Ie,Re,De,Ae,Ne,Oe,Be,He,je,b,x,C,A,k,S,We,_,E,M,L,Ye,D,v,(e,t)=>{P=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:a,receivedFavoriteResults:void 0},window.location.href)},p,T,function(e){et[e?"unshift":"push"](()=>{b=e,r(73,b)})},function(e){et[e?"unshift":"push"](()=>{C=e,r(75,C)})}]}class cl extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},ll,ol,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,randomgameslider:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:88,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,fetchviaevent:66,positionjelobbywidget:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,randombuttonicon:72},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","randomgameslider","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","fetchviaevent","positionjelobbywidget","specificcategory","launchbygamecard","iconvisible","iconvisibleonanim","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[18]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[19]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get randomgameslider(){return this.$$.ctx[22]}set randomgameslider(e){this.$$set({randomgameslider:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[88]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get fetchviaevent(){return this.$$.ctx[66]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),m()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(e){this.$$set({specificcategory:e}),m()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(e){this.$$set({launchbygamecard:e}),m()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(e){this.$$set({iconvisible:e}),m()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(e){this.$$set({iconvisibleonanim:e}),m()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}return customElements.get("casino-page-nd")||customElements.define("casino-page-nd",cl),cl});
31
31
  //# sourceMappingURL=casino-page-nd.js.map