@everymatrix/casino-page 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-page.js +2 -2
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-page.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Y(){}function S(e){return e()}function $(){return Object.create(null)}function z(e){e.forEach(S)}function T(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let i,G;function ce(e,t){return(i=i||document.createElement("a")).href=t,e===i.href}function u(e,...t){if(null==e)return Y;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function yt(e,t,n){e.$$.on_destroy.push(u(t,n))}function F(e){return e&&T(e.destroy)?e.destroy:Y}function de(e,t){e.appendChild(t)}function ue(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function k(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function me(e){return document.createElement(e)}function M(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function pe(e){return document.createTextNode(e)}function ge(){return pe(" ")}function l(){return pe("")}function V(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function C(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function _(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function h(e,t,n){e.classList[n?"add":"remove"](t)}class L{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=M(t.nodeName):this.e=me(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function o(e){const t={};for(const n of e)t[n.name]=n.value;return t}function P(e){G=e}function bt(e){!function(){if(G)return G;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const I=[],mt=[],m=[],p=[],R=Promise.resolve();let A=!1;function B(){A||(A=!0,R.then(f))}function $e(){return B(),R}function D(e){m.push(e)}const O=new Set;let H=0;function f(){const e=G;do{for(;H<I.length;){const e=I[H];H++,P(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(D))}for(P(null),I.length=0,H=0;mt.length;)mt.pop()();for(let e=0;e<m.length;e+=1){const r=m[e];O.has(r)||(O.add(r),r())}}while(m.length=0,I.length);for(;p.length;)p.pop()();A=!1,O.clear(),P(e)}const N=new Set;function j(r,e,t,n,a,i,o,s=[-1]){var l=G;P(r);const c=r.$$={fragment:null,ctx:null,props:i,update:Y,not_equal:a,bound:$(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:$(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&(n=e,-1===(e=r).$$.dirty[0]&&(I.push(e),B(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,z(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const Y=Array.from(i.childNodes);c.fragment&&c.fragment.l(Y),Y.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(N.delete(s),s.i(void 0));{var u=r;o=e.target;t=e.anchor;n=e.customElement;const{fragment:h,on_mount:m,on_destroy:p,after_update:g}=u.$$;h&&h.m(o,t),n||D(()=>{var e=m.map(S).filter(T);p?p.push(...e):z(e),u.$$.on_mount=[]}),g.forEach(D)}f()}P(l)}let W;"function"==typeof HTMLElement&&(W=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(T);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(z(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Y}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var U,Z,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,K="URLSearchParams"in s,X="Symbol"in s&&"iterator"in Symbol,J="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),q="FormData"in s,Q="ArrayBuffer"in s;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 X&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function re(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));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 ie(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function oe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.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:J&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:K&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&J&&(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._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):K&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},J&&(this.blob=function(){var e=re(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?re(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ie)}),this.text=function(){var e,t,n=re(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=ae(e=new FileReader),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},q&&(this.formData=function(){return this.text().then(ve)}),this.json=function(){return this.text().then(JSON.parse)},this}Q&&(U=["[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<U.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=ee(e),t=te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[ee(e)]},c.prototype.get=function(e){return e=ee(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(ee(e))},c.prototype.set=function(e,t){this.map[ee(e)]=te(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ne(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ne(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ne(n)},X&&(c.prototype[Symbol.iterator]=c.prototype.entries);var le=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,r=(t=t||{}).body;if(e instanceof be){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(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,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ve(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function 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.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}be.prototype.clone=function(){return new be(this,{body:this._bodyInit})},se.call(be.prototype),se.call(we.prototype),we.prototype.clone=function(){return new we(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},we.error=function(){var e=new we(null,{status:0,statusText:""});return e.type="error",e};var xe=[301,302,303,307,308],Ce=(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}})},s.DOMException);try{new Ce}catch(Y){(Ce=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ce.prototype.constructor=Ce}function Se(r,o){return new Promise(function(a,e){var t=new be(r,o);if(t.signal&&t.signal.aborted)return e(new Ce("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){a(new we(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new Ce("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(J?i.responseType="blob":Q&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof c?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){i.setRequestHeader(e,te(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}function En(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Se.polyfill=!0,s.fetch||(s.fetch=Se,s.Headers=c,s.Request=be,s.Response=we),self.fetch.bind(self);var _e=function(e,t){return(_e=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}_e(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Me(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Te(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function Ge(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function Fe(e){return"function"==typeof e}function Ee(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=Ee(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)}Ae.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=Me(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(Fe(i))try{i()}catch(e){a=e instanceof Le?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Me(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{De(d)}catch(e){a=null!=a?a:[],e instanceof Le?a=Ge(Ge([],Te(a)),Te(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(a)throw new Le(a)}},Ae.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)De(e);else{if(e instanceof Ae){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Ae.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ae.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ae.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Pe(t,e)},Ae.prototype.remove=function(e){var t=this._finalizers;t&&Pe(t,e),e instanceof Ae&&e._removeParent(this)},Ae.EMPTY=((e=new Ae).closed=!0,e);var Ie=Ae,Re=Ie.EMPTY;function Ae(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Be(e){return e instanceof Ie||e&&"closed"in e&&Fe(e.remove)&&Fe(e.add)&&Fe(e.unsubscribe)}function De(e){Fe(e)?e():e.unsubscribe()}var Oe=void 0,He=!1,Ne=!1,je={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=je.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,Ge([e,t],Te(n))):setTimeout.apply(void 0,Ge([e,t],Te(n)))},clearTimeout:function(e){var t=je.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function We(){}var Ue=null;function Ye(e){if(He){var t=!Ue;if(t&&(Ue={errorThrown:!1,error:null}),e(),t){var t=Ue,n=t.errorThrown,t=t.error;if(Ue=null,n)throw t}}else e()}ke(Ke,ze=Ie),Ke.create=function(e,t,n){return new Qe(e,t,n)},Ke.prototype.next=function(e){this.isStopped||this._next(e)},Ke.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ke.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ke.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ze.prototype.unsubscribe.call(this),this.destination=null)},Ke.prototype._next=function(e){this.destination.next(e)},Ke.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ke.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ze,Ve=Ke,Ze=Function.prototype.bind;function Ke(e){var t=ze.call(this)||this;return t.isStopped=!1,e?Be(t.destination=e)&&e.add(t):t.destination=rt,t}function Xe(e,t){return Ze.call(e,t)}tt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){nt(e)}},tt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){nt(e)}else nt(e)},tt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){nt(e)}};var Je,qe=tt,Qe=(ke(et,Je=Ve),et);function et(e,t,n){var r=Je.call(this)||this,n=Fe(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&Ne?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Xe(e.next,t),error:e.error&&Xe(e.error,t),complete:e.complete&&Xe(e.complete,t)}):e;return r.destination=new qe(n),r}function tt(e){this.partialObserver=e}function nt(e){var t=e;je.setTimeout(function(){throw t})}var rt={closed:!0,next:We,error:function(e){throw e},complete:We},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function at(e){return e}n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,n){var r,a=this,i=(r=e)&&r instanceof Ve||r&&Fe(r.next)&&Fe(r.error)&&Fe(r.complete)&&Be(r)?e:new Qe(e,t,n);return Ye(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},n.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},n.prototype.forEach=function(r,e){var a=this;return new(e=ot(e))(function(e,t){var n=new Qe({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.subscribe(n)})},n.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},n.prototype[e]=function(){return this},n.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?at:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},n.prototype.toPromise=function(e){var r=this;return new(e=ot(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},n.create=function(e){return new n(e)};var it=n;function n(e){e&&(this._subscribe=e)}function ot(e){return null!=(e=null!=e?e:Oe)?e:Promise}var st,lt,ct,dt=Ee(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(ke(r,ct=it),r.prototype.lift=function(e){var t=new ut(this,this);return t.operator=e,t},r.prototype._throwIfClosed=function(){if(this.closed)throw new dt},r.prototype.next=function(a){var i=this;Ye(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=Me(i.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(a)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},r.prototype.error=function(t){var n=this;Ye(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},r.prototype.complete=function(){var t=this;Ye(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),ct.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,a=this.observers;return n||r?Re:(this.currentObservers=null,a.push(e),new Ie(function(){t.currentObservers=null,Pe(a,e)}))},r.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},r.prototype.asObservable=function(){var e=new it;return e.source=this,e},r.create=function(e,t){return new ut(e,t)},r),ut=(ke(xt,lt=e),xt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},xt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},xt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},xt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Re},xt),ht={now:function(){return(ht.delegate||Date).now()},delegate:void 0},vt=(ke(wt,st=e),wt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a||r.push(i.now()+t)),this._trimBuffer(),st.prototype.next.call(this,e)},wt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},wt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){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)}},wt);function wt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ht);var r=st.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function xt(e,t){var n=lt.call(this)||this;return n.destination=e,n.source=t,n}function r(){var e=ct.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ct=[],St={};const $t=[];function _t(r,a=Y){let i;const o=new Set;function s(e){if(t(r,e)&&(r=e,i)){const e=!$t.length;for(const e of o)e[1](),$t.push(e,r);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(r))},subscribe:function(e,t=Y){const n=[e,t];return o.add(n),1===o.size&&(i=a(s)||Y),e(r),()=>{o.delete(n),0===o.size&&(i(),i=null)}}}}function kt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:_t(t,t=>{let n=!1;const r=[];let a=0,i=Y;const o=()=>{var e;a||(i(),e=s(l?r[0]:r,t),d?t(e):i=T(e)?e:Y)},e=c.map((e,t)=>u(e,e=>{r[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){z(e),i()}}).subscribe}}function Mt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Tt));var t}var Tt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Gt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?It(Array.isArray(e)?[]:{},e,t):e}function Ft(e,t,n){return e.concat(t).map(function(e){return Gt(e,n)})}function Et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Lt(e,t){try{return t in e}catch(e){return!1}}function Pt(r,a,i){var o={};return i.isMergeableObject(r)&&Et(r).forEach(function(e){o[e]=Gt(r[e],i)}),Et(a).forEach(function(t){var e,n;(!Lt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Lt(r,t)&&i.isMergeableObject(a[t])?o[t]=function(e){if(!e.customMerge)return It;e=e.customMerge(t);return"function"==typeof e?e:It}(i)(r[t],a[t],i):o[t]=Gt(a[t],i))}),o}function It(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ft,n.isMergeableObject=n.isMergeableObject||Mt,n.cloneUnlessOtherwiseSpecified=Gt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Pt(e,t,n):Gt(t,n)}It.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return It(e,t,n)},{});throw new Error("first argument should be an array")};var Rt=It,At=function(e,t){return(At=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 Bt(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}At(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,Dt,b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function Ot(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Nt(e){return e.type===y.number}function jt(e){return e.type===y.date}function Wt(e){return e.type===y.time}function Ut(e){return e.type===y.select}function Yt(e){return e.type===y.plural}function zt(e){return e.type===y.tag}function Vt(e){return e&&"object"==typeof e&&e.type===Dt.number}function Zt(e){return e&&"object"==typeof e&&e.type===Dt.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=Dt=Dt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Kt=/(?:[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 Xt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Jt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,qt=/^(@+)?(\+|#+)?[rs]?$/g,Qt=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function tn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(qt,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function nn(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 rn(e){return nn(e)||{}}function an(e){for(var o={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return b(b({},e),rn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return b(b({},e),rn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(Qt,function(e,t,n,r,a,i){if(t)o.minimumIntegerDigits=n.length;else{if(r&&a)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(en.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(Jt.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Jt,function(e,t,n,r,a,i){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:a&&i?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=a.options[0];"w"===i?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=b(b({},o),tn(i)))}else qt.test(a.stem)?o=b(b({},o),tn(a.stem)):((i=nn(a.stem))&&(o=b(b({},o),i)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!en.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=b(b({},o),r)))}return o}var on={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var sn=new RegExp("^".concat(e.source,"*")),ln=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,cn=!!String.fromCodePoint,dn=!!Object.fromEntries,un=!!String.prototype.codePointAt,hn=!!String.prototype.trimStart,mn=!!String.prototype.trimEnd,pn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gn=!0;try{gn="a"===(null==(Bn=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Bn[0])}catch(Y){gn=!1}var fn,yn,bn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},vn=cn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},wn=dn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},xn=un?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},Cn=hn?function(e){return e.trimStart()}:function(e){return e.replace(sn,"")},Sn=mn?function(e){return e.trimEnd()}:function(e){return e.replace(ln,"")};function $n(e,t){return new RegExp(e,t)}yn=gn?(fn=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return fn.lastIndex=t,null!=(t=fn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var a=xn(e,t);if(void 0===a||Mn(a)||(33<=(n=a)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(a),t+=65536<=a?2:1}return vn.apply(void 0,r)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.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(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&kn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{i=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(i,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!kn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(kn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return vn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),vn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=yn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.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((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(m=Sn(p.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var d=v(r,this.clonePosition());if(l&&bn(null==l?void 0:l.style,"::",0)){var u=Cn(l.style.slice(2));if("number"===o)return(p=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?p:{val:{type:y.number,value:n,location:d,style:p.val},err:null};if(0===u.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,d);var h=u,m=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),s=i<2?1:3+(i>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(on[t||""]||on[n||""]||on["".concat(n,"-001")]||on["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===a?"H":a}return n}(u,this.locale)),{type:Dt.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},h.replace(Kt,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":a.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":a.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":a.minute=["numeric","2-digit"][t-1];break;case"s":a.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":a.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),a):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:d,style:m},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:d,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var p,m=this.parseIdentifierIfPossible(),d=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),m=this.parseIdentifierIfPossible(),d=p.val}l=this.tryParsePluralOrSelectOptions(e,o,t,m);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;u=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:wn(l.val),location:u},err:null}:{val:{type:y.plural,value:n,options:wn(l.val),offset:d,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(i,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Xt).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Dt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?an(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.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?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(a=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var 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?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}r=v(r,this.clonePosition());return a?pn(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=xn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(bn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var _n=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function kn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Mn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Tn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new _n(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Ut(e)||Yt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Nt(e)&&Vt(e.style)||(jt(e)||Wt(e))&&Zt(e.style)?delete e.style.location:zt(e)&&n(e.children)})}(e.val),e.val}function Gn(e,t){var n=t&&t.cache?t.cache:Dn,r=t&&t.serializer?t.serializer:In;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?Fn:Ln,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Fn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),a=t.get(n);return void 0===a&&(a=e.call(this,r),t.set(n,a)),a}function Ln(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),a=t.get(n);return void 0===a&&(a=e.apply(this,r),t.set(n,a)),a}function Pn(e,t,n,r,a){return n.bind(t,e,r,a)}var In=function(){return JSON.stringify(arguments)};function Rn(){this.cache=Object.create(null)}Rn.prototype.get=function(e){return this.cache[e]},Rn.prototype.set=function(e,t){this.cache[e]=t};var An,Bn,Dn={create:function(){return new Rn}},On={variadic:function(e,t){return Pn(e,this,Ln,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,Fn,t.cache.create(),t.serializer)}};(Bn=An=An||{}).MISSING_VALUE="MISSING_VALUE",Bn.INVALID_VALUE="INVALID_VALUE",Bn.MISSING_INTL_API="MISSING_INTL_API";Bt(Jn,Wn=Error),Jn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Hn,Nn,jn,Wn,Un=Jn,Yn=(Bt(Xn,jn=Un),Xn),zn=(Bt(Kn,Nn=Un),Kn),Vn=(Bt(Zn,Hn=Un),Zn);function Zn(e,t){return Hn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),An.MISSING_VALUE,t)||this}function Kn(e,t,n){return Nn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),An.INVALID_VALUE,n)||this}function Xn(e,t,n,r){return jn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),An.INVALID_VALUE,r)||this}function Jn(e,t,n){e=Wn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function qn(e,t,n,r,a,i,o){if(1===e.length&&Ht(e[0]))return[{type:w.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Ht(d))s.push({type:w.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&s.push({type:w.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(a&&u in a))throw new Vn(u,o);u=a[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?w.literal:w.object,value:u});else if(jt(d)){var h="string"==typeof d.style?r.date[d.style]:Zt(d.style)?d.style.parsedOptions:void 0;s.push({type:w.literal,value:n.getDateTimeFormat(t,h).format(u)})}else if(Wt(d))h="string"==typeof d.style?r.time[d.style]:Zt(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:w.literal,value:n.getDateTimeFormat(t,h).format(u)});else if(Nt(d))(h="string"==typeof d.style?r.number[d.style]:Vt(d.style)?d.style.parsedOptions:void 0)&&h.scale&&(u*=h.scale||1),s.push({type:w.literal,value:n.getNumberFormat(t,h).format(u)});else{if(zt(d)){var m=d.children,p=d.value,g=a[p];if("function"!=typeof g)throw new zn(p,"function",o);p=g(qn(m,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(Ut(d)){if(!(f=d.options[u]||d.options.other))throw new Yn(d.value,u,Object.keys(d.options),o);s.push.apply(s,qn(f.value,t,n,r,a))}else if(Yt(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new Un('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',An.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new Yn(d.value,u,Object.keys(d.options),o);s.push.apply(s,qn(f.value,t,n,r,a,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===w.literal&&t.type===w.literal?n.value+=t.value:e.push(t),e},[])}function Qn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=w=w||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(d,"defaultLocale",{get:function(){return d.memoizedDefaultLocale||(d.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),d.memoizedDefaultLocale},enumerable:!1,configurable:!0}),d.memoizedDefaultLocale=null,d.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])},d.__parse=Tn,d.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 er=d;function d(e,t,n,r){var a,i,o=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===w.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return qn(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=d.resolveLocale(t),"string"==typeof e){if(this.message=e,!d.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=d.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=d.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},a)):a),this.formatters=r&&r.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,Ot([void 0],t,!1)))},{cache:Qn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:On.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,Ot([void 0],t,!1)))},{cache:Qn(t.dateTime),strategy:On.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,Ot([void 0],t,!1)))},{cache:Qn(t.pluralRules),strategy:On.variadic})}}const tr={},nr=(e,t,n)=>n&&(t in tr||(tr[t]={}),e in tr[t]||(tr[t][e]=n),n),rr=(t,n)=>{if(null!=n){if(n in tr&&t in tr[n])return tr[n][t];var r=vr(n);for(let e=0;e<r.length;e++){var a=function(e,n){if(!or(e))return null;e=function(e){return ar[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const a=r.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const r=a.slice(e,a.length).join(".");if(r in t){t=t[r];break}}t=t[a[e]]}else t=void 0;return t}}(r[e],t);if(a)return nr(t,n,a)}}};let ar;const ir=_t({});function or(e){return e in ar}function sr(t,...n){delete tr[t],ir.update(e=>(e[t]=Rt.all([e[t]||{},...n]),e))}kt([ir],([e])=>Object.keys(e)),ir.subscribe(e=>ar=e);const lr={};function cr(e){return lr[e]}function dr(e){return null!=e&&vr(e).some(e=>{return null==(e=cr(e))?void 0:e.size})}const ur={};function hr(e){if(!dr(e))return e in ur?ur[e]:Promise.resolve();const t=vr(e).map(e=>{var t=cr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return ur[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return lr[t].delete(n),0===lr[t].size&&delete lr[t],e().then(e=>e.default||e)}));return n.then(e=>sr(r,...e))}})).then(()=>{if(dr(e))return hr(e);delete ur[e]}),ur[e]}function mr(e,t){var n={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}const pr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const gr=_t(!1);let fr;const yr=_t(null);function br(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function vr(e,t=pr.fallbackLocale){e=br(e);return t?[...new Set([...e,...br(t)])]:e}function wr(){return null!=fr?fr:void 0}yr.subscribe(e=>{fr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const pt=Object.assign(Object.assign({},yr),{set:t=>{if(t&&function(e){if(null!=e){var t=vr(e);for(let e=0;e<t.length;e++){var n=t[e];if(or(n))return n}}}(t)&&dr(t)){var n=pr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=wr()&&n?e=window.setTimeout(()=>gr.set(!0),n):gr.set(!0),hr(t).then(()=>{yr.set(t)}).finally(()=>{clearTimeout(e),gr.set(!1)})}return yr.set(t)}}),xr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Cr=(e,t)=>{var n=pr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Sr=xr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Cr("number",n)),new Intl.NumberFormat(t,e)}),$r=xr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Cr("date",n):0===Object.keys(e).length&&(e=Cr("date","short")),new Intl.DateTimeFormat(t,e)}),_r=xr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Cr("time",n):0===Object.keys(e).length&&(e=Cr("time","short")),new Intl.DateTimeFormat(t,e)}),kr=xr((e,t=wr())=>new er(e,t,pr.formats,{ignoreTag:pr.ignoreTag})),Mr=kt([pt,ir],()=>(e,t={})=>{var n,r;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:i,locale:o=wr(),default:s}=a;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=rr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=pr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=kr(l,o).format(i)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),gt=(kt([pt],()=>(e,t)=>((e={})=>{var{locale:t=wr()}=e,e=mr(e,["locale"]);return _r(Object.assign({locale:t},e))})(t).format(e)),kt([pt],()=>(e,t)=>((e={})=>{var{locale:t=wr()}=e,e=mr(e,["locale"]);return $r(Object.assign({locale:t},e))})(t).format(e)),kt([pt],()=>(e,t)=>((e={})=>{var{locale:t=wr()}=e,e=mr(e,["locale"]);return Sr(Object.assign({locale:t},e))})(t).format(e)),kt([pt,ir],()=>(e,t=wr())=>rr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ct.indexOf(e)&&(t=new vt(t),St[e]=t,Ct.push(e)),St[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))),ft=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Tr(e,t){sr(e,t)}const Gr={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function Fr(e,t){sr(e,t)}const Er={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};Pr=Lr={path:void 0,exports:{},require:function(e,t){return En(null==t&&Lr.path)}},Lr.exports,Pr.exports=function(){var A;function p(){return A.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function O(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function N(e,t){for(var n=[],r=e.length,a=0;a<r;++a)n.push(t(e[a],a));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Et(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function W(e){if(null==e._isValid){var t=f(e),n=Y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function U(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},z=p.momentProperties=[],V=!1;function Z(e,t){var n,r,a,i=z.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(a=t[r=z[n]])||(e[r]=a);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,p.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return j(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),s){for(var e,t,n=[],r=arguments.length,a=0;a<r;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(B(e[n])&&B(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&B(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function i(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ae={},ie={};function r(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=a),t&&(ie[t[0]]=function(){return i(a.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ae[t]=ae[t]||function(r){for(var e,a=r.match(ne),t=0,i=a.length;t<i;t++)ie[a[t]]?a[t]=ie[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(a[n])?a[n].call(e,r):a[n];return t}}(t),ae[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=u(n))&&(r[t]=e[n]);return r}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var a=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,$e=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){Te[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(Te,e)?Te[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Te={},Ge={};function C(e,n){var t,r,a=n;for("string"==typeof e&&(e=[e]),O(n)&&(a=function(e,t){t[n]=m(e)}),r=e.length,t=0;t<r;t++)Ge[e[t]]=a}function Fe(e,a){C(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var S,$=0,_=1,k=2,M=3,T=4,G=5,Ee=6,Le=7,Pe=8;function Ie(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[_]=m(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[_]=r:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Be=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=v,Oe=v;function He(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!O(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ne(e){return null!=e?(He(this,e),p.updateOffset(this,!0),this):me(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=x(n[i]),r[i]=x(r[i]);for(i=0;i<24;i++)a[i]=x(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function We(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",$e),w("YY",b,y),w("YYYY",xe,fe),w("YYYYY",Ce,ye),w("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],$),C("YYYY",function(e,t){t[$]=2===e.length?p.parseTwoDigitYear(e):m(e)}),C("YY",function(e,t){t[$]=p.parseTwoDigitYear(e)}),C("Y",function(e,t){t[$]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var Ue=he("FullYear",!0);function Ye(e,t,n,r,a,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,a){var i,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,a),n=t<=0?We(i=e-1)+t:t>We(e)?(i=e+1,t-We(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ke(e,t,n){var r,a,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+F(a=e.year()-1,t,n):i>F(e.year(),t,n)?(r=i-F(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function F(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(We(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Fe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Fe(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Fe(["d","e","E"],function(e,t,n,r){t[r]=m(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,a=[],i=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(this.weekdays(r,"")),a.push(t),i.push(n),o.push(r),s.push(t),s.push(n),s.push(r);a.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("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function it(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),C(["H","HH"],M),C(["k","kk"],function(e,t,n){e=m(e);t[M]=24===e?0:e}),C(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),C(["h","hh"],function(e,t,n){t[M]=m(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r)),f(n).bigHour=!0}),C("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r,2)),t[G]=m(e.substr(a)),f(n).bigHour=!0}),C("Hmm",function(e,t,n){var r=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r))}),C("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r,2)),t[G]=m(e.substr(a))});v=he("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},E={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;0<t;){if(r=ht(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(a,n)>=t-1)break;t--}i++}return st}function ht(t){var e;if(void 0===E[t]&&Pr&&Pr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,En(),mt(e)}catch(e){E[t]=null}return E[t]}function mt(e,t){return e&&((t=s(t)?L(e):pt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function pt(e,t){if(null===t)return delete E[e],null;var n,r=lt;if(t.abbr=e,null!=E[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=E[e]._config;else if(null!=t.parentLocale)if(null!=E[t.parentLocale])r=E[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return E[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),mt(e),E[e]}function L(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[_]<0||11<t[_]?_:t[k]<1||t[k]>Ie(t[$],t[_])?k:t[M]<0||24<t[M]||24===t[M]&&(0!==t[T]||0!==t[G]||0!==t[Ee])?M:t[T]<0||59<t[T]?T:t[G]<0||59<t[G]?G:t[Ee]<0||999<t[Ee]?Ee:-1,f(e)._overflowDayOfYear&&(t<$||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Le),f(e)._overflowWeekday&&-1===t&&(t=Pe),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function $t(e){var t,n,r,a,i,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){a=vt[t][0],r=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(i||"")+(o||""),Gt(e)}else e._isValid=!1}function _t(e,t,n,r,a,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ae.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&e.push(parseInt(i,10)),e}function kt(e){var t,n,r,a,i=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=_t(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=i[8],r=i[9],a=i[10],n?St[n]:r?0:((n=parseInt(a,10))-(r=n%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,r,a,i,o,s,l,c,d,u,h=[];if(!e._d){for(d=e,u=new Date(p.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[k]&&null==e._a[_]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,r=Mt(u.GG,d._a[$],Ke(P(),1,4).year),a=Mt(u.W,1),((i=Mt(u.E,1))<1||7<i)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ke(P(),o,s),r=Mt(u.gg,d._a[$],c.year),a=Mt(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),a<1||a>F(r,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(r,a,i,o,s),d._a[$]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[$],n[$]),(e._dayOfYear>We(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=ze(u,0,e._dayOfYear),e._a[_]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[T]&&0===e._a[G]&&0===e._a[Ee]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?ze:Ye).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Gt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,a=""+e._i,i=a.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(a.match(Me(r,e))||[])[0])&&(0<(u=a.substr(0,a.indexOf(t))).length&&f(e).unusedInput.push(u),a=a.slice(a.indexOf(t)+t.length),o+=t.length),ie[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,m=e,null!=(h=t)&&g(Ge,u)&&Ge[u](h,m._a,m,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=i-o,0<a.length&&f(e).unusedInput.push(a),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(i=e._locale,c=e._a[M],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[$])),Tt(e),gt(e)}else kt(e);else $t(e);var c,d,u,h,m}function Ft(e){var t,n=e._i,r=e._f;{var a,i;if(e._locale=e._locale||L(e._l),null===n||void 0===r&&""===n)return U({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(gt(n)):(H(n)?e._d=n:o(r)?function(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)i=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Gt(t),W(t)&&(o=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o&&(s=!0));j(e,n||t)}(e):r?Gt(e):s(r=(n=e)._i)?n._d=new Date(p.now()):H(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(a=n,null===(i=xt.exec(a._i))?($t(a),!1===a._isValid&&(delete a._isValid,kt(a),!1===a._isValid&&(delete a._isValid,a._strict?a._isValid=!1:p.createFromInputFallback(a)))):a._d=new Date(+i[1])):o(r)?(n._a=N(r.slice(0),function(e){return parseInt(e,10)}),Tt(n)):B(r)?(a=n)._d||(t=void 0===(i=ce(a._i)).day?i.date:i.day,a._a=N([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Tt(a)):O(r)?n._d=new Date(r):p.createFromInputFallback(n),W(e)||(e._d=null),e)}}function Et(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(B(e)&&D(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(a=new K(gt(Ft(a=i))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function P(e,t,n,r){return Et(e,t,n,r,!1)}p.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Lt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return P();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,a=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=function(e){var t,n,r=!1,a=Pt.length;for(t in e)if(g(e,t)&&(-1===S.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==m(e[Pt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*a,this._months=+r+3*n+12*t,this._data={},this._locale=L(),this._bubble()}function Rt(e){return e instanceof It}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Bt(e,n){r(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)})}Bt("Z",":"),Bt("ZZ",""),w("Z",ke),w("ZZ",ke),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ot(ke,e)});var Dt=/([\+\-]|\d\d)/gi;function Ot(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Dt)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||H(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):P(e).local()}function Nt(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n,r,a=e,i=null;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:O(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(i=Wt.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:m(i[k])*n,h:m(i[M])*n,m:m(i[T])*n,s:m(i[G])*n,ms:m(At(1e3*i[Ee]))*n}):(i=Ut.exec(e))?(n="-"===i[1]?-1:1,a={y:Yt(i[2],n),M:Yt(i[3],n),w:Yt(i[4],n),d:Yt(i[5],n),h:Yt(i[6],n),m:Yt(i[7],n),s:Yt(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=P(a.from),i=P(a.to),n=t.isValid()&&i.isValid()?(i=Ht(i,t),t.isBefore(i)?r=zt(t,i):((r=zt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=n.milliseconds,a.M=n.months),i=new It(a),Rt(e)&&g(e,"_locale")&&(i._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(i._isValid=e._isValid),i}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,a){return function(e,t){var n;return null===t||isNaN(+t)||(q(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,I(e,t),r),this}}function Zt(e,t,n,r){var a=t._milliseconds,i=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&He(e,me(e,"Month")+t*n),i&&pe(e,"Date",me(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&p.updateOffset(e,i||t))}I.fn=It.prototype,I.invalid=function(){return I(NaN)};Re=Vt(1,"add"),Je=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||H(e)||Kt(e)||O(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!O(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=B(e)&&!D(e),a=!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],a=a||g(e,n);return r&&a}(e)||null==e;var t,n,r}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=L(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],a=this.eras(),i=0,o=a.length;i<o;++i)t.push(x(a[i].name)),e.push(x(a[i].abbr)),n.push(x(a[i].narrow)),r.push(x(a[i].name)),r.push(x(a[i].abbr)),r.push(x(a[i].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,a){var i;return null==e?Ke(this,r,a).year:(t>(i=F(e,r,a))&&(t=i),function(e,t,n,r,a){e=Ze(e,t,n,r,a),t=ze(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,a))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Se),w("yy",Se),w("yyy",Se),w("yyyy",Se),w("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),C(["y","yy","yyy","yyyy"],$),C(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[$]=n._locale.eraYearOrdinalParse(e,a):t[$]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",$e),w("g",$e),w("GG",b,y),w("gg",b,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",Ce,ye),w("ggggg",Ce,ye),Fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),Fe(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),C("Q",function(e,t){t[_]=3*(m(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],k),C("Do",function(e,t){t[k]=m(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),C(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),C(["m","mm"],T);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),C(["s","ss"],G);var cn,Ce=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,a),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Se);function dn(e,t){t[Ee]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")C(cn,dn);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");a=K.prototype;function un(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=B(e)&&!D(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||g(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),n=Ht(e,this).startOf("day"),n=p.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,P(e)))},a.clone=function(){return new K(this)},a.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=Jt(this,r)/12;break;case"month":i=Jt(this,r);break;case"quarter":i=Jt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:h(i)},a.endOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},a.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(P(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(P(),e)},a.get=function(e){return d(this[e=u(e)])?this[e]():this},a.invalidAt=function(){return f(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,r){return e=l(e)?e:P(e),t=l(t)?t:P(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},a.isSame=function(e,t){var e=l(e)?e:P(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return W(this)},a.lang=Qe,a.locale=qt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return j({},f(this))},a.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,a=0;a<r;a++)this[n[a].unit](e[n[a].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},a.subtract=Je,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},a.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},a.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},a.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},a.year=Ue,a.isLeapYear=function(){return ue(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=Ne,a.daysInMonth=function(){return Ie(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return F(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return F(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return F(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return F(this.isoWeekYear(),1,4)},a.date=xe,a.day=a.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},a.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},a.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},a.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},a.hour=a.hours=v,a.minute=a.minutes=fe,a.second=a.seconds=Ce,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Nt(this);if("string"==typeof e){if(null===(e=Ot(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Nt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Zt(this,I(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ot(_e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=jt,a.isUTC=jt,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",xe),a.months=e("months accessor is deprecated. Use month instead",Ne),a.years=e("years accessor is deprecated. Use year instead",Ue),a.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Ft(t))._a?(e=(t._isUTC?c:P)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var a=L(),r=c().set(r,t);return a[n](r,e)}function mn(e,t,n){if(O(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=hn(e,a,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),O(t)&&(n=t,t=void 0),t||"");var a,i=L(),o=e?i._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=hn(t,(a+o)%7,r,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return d(a)?a(e,t,n,r):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||L("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=p(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=p(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[i,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Be).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Be.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=S.call(this._shortMonthsParse,e))?a:null:-1!==(a=S.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=S.call(this._shortMonthsParse,e))||-1!==(a=S.call(this._longMonthsParse,e))?a:null:-1!==(a=S.call(this._longMonthsParse,e))||-1!==(a=S.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=S.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=S.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=S.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=S.call(this._weekdaysParse,e))||-1!==(a=S.call(this._shortWeekdaysParse,e))||-1!==(a=S.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=S.call(this._shortWeekdaysParse,e))||-1!==(a=S.call(this._weekdaysParse,e))||-1!==(a=S.call(this._minWeekdaysParse,e))?a:null:-1!==(a=S.call(this._minWeekdaysParse,e))||-1!==(a=S.call(this._weekdaysParse,e))||-1!==(a=S.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var gn=Math.abs;function fn(e,t,n,r){t=I(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Re=wn("m"),ve=wn("h"),be=wn("d"),Je=wn("w"),v=wn("M"),fe=wn("Q"),Ce=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),Ue=xn("minutes"),y=xn("hours"),Cn=xn("days"),Sn=xn("months"),$n=xn("years");var _n=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var a=I(e).abs(),i=_n(a.as("s")),o=_n(a.as("m")),s=_n(a.as("h")),l=_n(a.as("d")),c=_n(a.as("M")),d=_n(a.as("w")),a=_n(a.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]||a<=1&&["y"]||["yy",a])[2]=t,i[3]=0<+e,i[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,i)}var Tn=Math.abs;function Gn(e){return(0<e)-(e<0)||+e}function Fn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),d=this.asSeconds();return d?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=Gn(this._months)!==Gn(d)?"-":"",i=Gn(this._days)!==Gn(d)?"-":"",o=Gn(this._milliseconds)!==Gn(d)?"-":"",(d<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var R=It.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},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,r=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=Je,R.asMonths=v,R.asQuarters=fe,R.asYears=Ce,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},R.clone=function(){return I(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=Ue,R.hours=y,R.days=Cn,R.weeks=function(){return h(this.days()/7)},R.months=Sn,R.years=$n,R.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},R.toISOString=Fn,R.toString=Fn,R.toJSON=Fn,R.locale=qt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fn),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",$e),w("X",/[+-]?\d+(\.\d{1,3})?/),C("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),C("x",function(e,t,n){n._d=new Date(m(e))}),p.version="2.29.3",A=P,p.fn=a,p.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return P(1e3*e)},p.months=function(e,t){return mn(e,t,"months")},p.isDate=H,p.locale=mt,p.invalid=U,p.duration=I,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return P.apply(null,arguments).parseZone()},p.localeData=L,p.isDuration=Rt,p.monthsShort=function(e,t){return mn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=E[e]&&null!=E[e].parentLocale?E[e].set(Q(E[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=E[e],E[e]=r),mt(e)):null!=E[e]&&(null!=E[e].parentLocale?(E[e]=E[e].parentLocale,e===mt()&&mt(e)):null!=E[e]&&delete E[e]),E[e]},p.locales=function(){return te(E)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=u,p.relativeTimeRounding=function(e){return void 0===e?_n:"function"==typeof e&&(_n=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=a,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}();var Lr,Pr,Ir=Lr.exports;function Rr(e,t){sr(e,t)}const Ar={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Br={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 Dr(e,t,n){const r=e.slice();return r[109]=t[n],r[111]=n,r}function Or(e,t,n){const r=e.slice();return r[106]=t[n],r}function Hr(e){let n,r=!gt(e[37])&&!e[0]&&e[15],a=r&&Nr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=32769&t[0]?!gt(e[37])&&!e[0]&&e[15]:r)?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&&he(n)}}}function Nr(n){let r,a,i;return{c(){(r=me("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=V(r,"click",n[67]),a=!0)},p:Y,d(e){e&&he(r),a=!1,i()}}}function jr(n){let r,a,i,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){r=me("button"),a=pe(s),fe(r,"class","GameInfoBtn"),fe(r,"part","GameInfoBtn")},m(e,t){ue(e,r,t),de(r,a),i||(o=V(r,"click",n[68]),i=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(a,s)},d(e){e&&he(r),i=!1,o()}}}function Wr(e){let n;return{c(){(n=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Ur(n){let r,a,i;return{c(){(r=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=V(r,"click",n[69]),a=!0)},p:Y,d(e){e&&he(r),a=!1,i()}}}function Yr(e){let n,r,a=e[36]("gameThumbnail.new")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("gameThumbnail.new")+"")&&ye(r,a)},d(e){e&&he(n)}}}function zr(e){let n,r;return{c(){n=me("span"),r=pe(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&he(n)}}}function Vr(e){let n,r,a=!e[23]&&e[21]&&e[22]&&Zr(e);function i(e){return e[23]&&e[20]&&e[20]===oa?Xr:e[23]&&e[20]&&e[20]===sa?Kr:void 0}let o=i(e),s=o&&o(e);return{c(){a&&a.c(),n=ge(),s&&s.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){!e[23]&&e[21]&&e[22]?a?a.p(e,t):((a=Zr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Zr(e){let n,r,a,i,o,s,l,c,d,u,h=e[36]("gameThumbnail.opens")+"",m=Ir.utc(e[21]).local().format(e[22])+"",p=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=me("div"),r=me("div"),a=pe(h),i=ge(),o=me("span"),s=pe(m),l=ge(),c=new L(!1),d=ge(),u=new L(!1),fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(o,s),de(n,l),c.m(p,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&h!==(h=e[36]("gameThumbnail.opens")+"")&&ye(a,h),6291456&t[0]&&m!==(m=Ir.utc(e[21]).local().format(e[22])+"")&&ye(s,m),16&t[1]&&p!==(p=e[46](e[35])+"")&&c.p(p),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&he(n)}}}function Kr(n){let r,a,i,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(ca),h=[];for(let e=0;e<u.length;e+=1)h[e]=ea(Dr(n,u,e));return{c(){r=me("div"),a=me("div");for(let e=0;e<h.length;e+=1)h[e].c();i=ge(),o=new L(!1),s=ge(),l=new L(!1),fe(a,"class","LiveIcons"),fe(a,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[31]),fe(r,"part",n[31])},m(e,t){ue(e,r,t),de(r,a);for(let e=0;e<h.length;e+=1)h[e].m(a,null);n[70](a),de(r,i),o.m(c,r),de(r,s),l.m(d,r)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(ca),e=0;e<u.length;e+=1){const o=Dr(t,u,e);h[e]?h[e].p(o,n):(h[e]=ea(o),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(r,"class",t[31]),1&n[1]&&fe(r,"part",t[31])},d(e){e&&he(r),k(h,e),n[70](null)}}}function Xr(e){let n,r,a,i,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?na:ta}let u=d(e),h=u(e);return{c(){n=me("div"),r=me("div"),h.c(),a=ge(),i=new L(!1),o=ge(),s=new L(!1),fe(r,"class","LiveIcons"),fe(r,"part","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,r),h.m(r,null),de(n,a),i.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&h?h.p(e,t):(h.d(1),(h=u(e))&&(h.c(),h.m(r,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&i.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Jr(e){let n;function r(e){return e[30]?Qr:qr}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function qr(e){let n,r,a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new L(!1),r=l(),n.a=r},m(e,t){n.m(a,e,t),ue(e,r,t)},p(e,t){8192&t[0]|2&t[1]&&a!==(a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(a)},d(e){e&&he(r),e&&n.d()}}}function Qr(e){let n,r,a,i,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=me("div"),r=new L(!1),a=ge(),i=new L(!1),o=ge(),r.a=a,i.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),r.m(s,n),de(n,a),i.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&r.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&i.p(l)},d(e){e&&he(n)}}}function ea(e){let n,r=e[13]&&e[13][e[111]]&&Jr(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?r?r.p(e,t):((r=Jr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ta(t){let a,i=t[25],o=[];for(let e=0;e<i.length;e+=1)o[e]=ra(Or(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(i=t[25],e=0;e<i.length;e+=1){var r=Or(t,i,e);o[e]?o[e].p(r,n):(o[e]=ra(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function na(e){let n,r,a=e[36]("gameThumbnail.full")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("gameThumbnail.full")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ra(e){let n,r,a,i,o,s,l;return{c(){n=me("span"),r=M("svg"),a=M("path"),i=M("path"),o=ge(),fe(a,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(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(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function aa(e){let n,r;return{c(){n=me("p"),r=pe(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&ye(r,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&he(n)}}}function ia(n){let r,a,i,o,s,l,D,c,d,u,h,m,O,p,g,H,f,y,N,b,v,w,x,C,S,$,_,j,k,M,T,W,G=(n[5]||"-")+"",F=n[16]&&Hr(n),E=n[1]&&jr(n);function U(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(gt(e[37])||!e[0]||!e[15]||!e[2]):b)?Ur:(v=null==v?!!(gt(e[37])&&e[0]&&e[15]&&e[2]):v)?Wr:void 0}let L=U(n,[-1,-1,-1,-1]),P=L&&L(n),I=n[7]&&Yr(n),R=n[8]&&zr(n),A=n[12]&&Vr(n),B=n[10]&&aa(n);return{c(){r=me("div"),a=me("div"),i=me("img"),D=ge(),c=me("div"),d=me("div"),F&&F.c(),u=ge(),h=me("p"),m=pe(n[4]),O=ge(),E&&E.c(),H=ge(),f=me("span"),y=pe(G),N=ge(),P&&P.c(),w=ge(),x=me("div"),I&&I.c(),C=ge(),R&&R.c(),S=ge(),A&&A.c(),j=ge(),B&&B.c(),this.c=Y,ce(i.src,o=n[3])||fe(i,"src",o),fe(i,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(i,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(i,"alt",""),fe(i,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[4]),fe(d,"class",p="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe(x,"class","GameExtraInfo"),fe(x,"part","GameExtraInfo"),fe(a,"class",$="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(a,"part",_="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"class",k="GameContainer "+n[34]),fe(r,"part",M="GameContainer "+n[34])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[66](i),de(a,D),de(a,c),de(c,d),F&&F.m(d,null),de(d,u),de(d,h),de(h,m),de(d,O),E&&E.m(d,null),de(c,H),de(c,f),de(f,y),de(a,N),P&&P.m(a,null),de(a,w),de(a,x),I&&I.m(x,null),de(x,C),R&&R.m(x,null),de(x,S),A&&A.m(x,null),de(r,j),B&&B.m(r,null),n[71](r),T||(W=[V(a,"mouseenter",n[42]),V(a,"mouseleave",n[43]),V(a,"touchstart",n[40],{passive:!0}),V(a,"touchend",n[41],{passive:!0})],T=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3])&&fe(i,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(i,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(i,"part",l),e[16]?F?F.p(e,t):((F=Hr(e)).c(),F.m(d,u)):F&&(F.d(1),F=null),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(h,"title",e[4]),e[1]?E?E.p(e,t):((E=jr(e)).c(),E.m(d,null)):E&&(E.d(1),E=null),131072&t[0]&&p!==(p="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",p),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&G!==(G=(e[5]||"-")+"")&&ye(y,G),L===(L=U(e,t))&&P?P.p(e,t):(P&&P.d(1),(P=L&&L(e))&&(P.c(),P.m(a,w))),e[7]?I?I.p(e,t):((I=Yr(e)).c(),I.m(x,C)):I&&(I.d(1),I=null),e[8]?R?R.p(e,t):((R=zr(e)).c(),R.m(x,S)):R&&(R.d(1),R=null),e[12]?A?A.p(e,t):((A=Vr(e)).c(),A.m(x,null)):A&&(A.d(1),A=null),25169920&t[0]|4&t[1]&&$!==($="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"class",$),8392704&t[0]|4&t[1]&&_!==(_="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"part",_),e[10]?B?B.p(e,t):((B=aa(e)).c(),B.m(r,null)):B&&(B.d(1),B=null),8&t[1]&&k!==(k="GameContainer "+e[34])&&fe(r,"class",k),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(r,"part",M)},i:Y,o:Y,d(e){e&&he(r),n[66](null),F&&F.d(),E&&E.d(),P&&P.d(),I&&I.d(),R&&R.d(),A&&A.d(),B&&B.d(),n[71](null),T=!1,z(W)}}}const oa="blackjack",sa="roulette",la="doubleballroulette",ca=5;function da(a,e,o){let A;yt(a,Mr,e=>o(36,A=e));let i,s,l,c,t,B,D,d,u,O,H,N,h,j,W,U,m,Y,z,V,p,Z,g,K,X,{session:J=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:x=""}=e,{gamethumbnail:q=""}=e,{gamename:Q=""}=e,{gamevendor:n=""}=e,{gameid:r=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:C=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:S=!1}=e,{gamecellsize:re=""}=e,{showfavoredcategory:$=!1}=e,{showgamename:ae=!1}=e,{currency:_=""}=e,{gamepagemodalurl:k="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:T=""}=e,{connectlive:G=""}=e,{visibilityconnect:F=""}=e,{integratedgameframedesktop:E="false"}=e,{integratedgameframemobile:L="false"}=e,ie=!1,oe=!1,se=!1,P=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",I="";const he=[oa],me=[sa,la],pe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Ar).forEach(e=>{Rr(e,Ar[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+r||$||o(0,S=!0),e.data.type!=="RemoveFavoriteThumbnail_"+r||$||o(0,S=!1),"UserSessionID"===e.data.type&&(o(15,ie=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,c=null)}),ye=e=>{ne?(window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(i||"Not logged in")})):"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail",gameId:""+e,userId:""+(i||"Not logged in")}),gt(P)&&"true"==L?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:gt(P),source:"GameThumbnail"},window.location.href):gt(P)&&"false"==L&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:gt(P)},window.location.href),gt(P)||"true"!=E?gt(P)||"false"!=E||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:gt(P)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:gt(P)},window.location.href)},be=e=>{var t="thumbnail";S?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},ve=()=>{T&&EventSource&&!t&&n&&r&&(t=new EventSource(`${M}/encoder/lobby/updates/${n}/`+r)).addEventListener("message",xe)},we=()=>{t&&(t.close(),t=void 0)},xe=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:a,Open:i}=r;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(29,h=a),o(12,c.currentOccupiedSeats=a,c),await $e());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,c.currentRouletteNumbers=n,c),await $e());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(W=n,o(12,c.currentDoubleBallRouletteNumbers=n,c),await $e());break;case"TableOpened":case"TableClosed":o(23,d=i),o(12,c.isOpen=i,c),await $e()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Se=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return bt(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),t&&t.removeEventListener("message",xe)})),a.$$set=e=>{"session"in e&&o(48,J=e.session),"userid"in e&&o(49,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(50,b=e.clientstyling),"clientstylingurl"in e&&o(51,v=e.clientstylingurl),"translationurl"in e&&o(52,w=e.translationurl),"favorites"in e&&o(2,x=e.favorites),"gamethumbnail"in e&&o(3,q=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gameid"in e&&o(6,r=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,C=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,S=e.gamefavorite),"gamecellsize"in e&&o(9,re=e.gamecellsize),"showfavoredcategory"in e&&o(55,$=e.showfavoredcategory),"showgamename"in e&&o(10,ae=e.showgamename),"currency"in e&&o(56,_=e.currency),"gamepagemodalurl"in e&&o(57,k=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,T=e.livelobbyendpoint),"connectlive"in e&&o(60,G=e.connectlive),"visibilityconnect"in e&&o(61,F=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,E=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,L=e.integratedgameframemobile)},a.$$.update=()=>{if(536870912&a.$$.dirty[1]&&G&&("disconnect"===G?we():"connect"===G&&ve()),1073741824&a.$$.dirty[1]&&F&&("disconnect"===F?we():"connect"===F&&"connect"===G&&ve()),2&a.$$.dirty[0]&&y&&(t=y,pt.set(t)),134610944&a.$$.dirty[1]&&J&&f&&M&&(o(15,ie=!0),i=f),8&a.$$.dirty[0]&&q&&s&&o(19,s.onload=()=>{o(18,se=!0)},s),2048&a.$$.dirty[0]|524288&a.$$.dirty[1]&&b&&l){let e=document.createElement("style");e.innerHTML=b,l.appendChild(e)}if(2048&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&v&&l&&Se(),4&a.$$.dirty[0]&&x&&"true"==x&&o(16,oe=!0),2097152&a.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Rr(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&re&&v&&Se(),402653184&a.$$.dirty[1]&&M&&T){let e=new URL(""+T.split("?")[0]);e.searchParams.append("platform",ft(P)),e.searchParams.append("language",y),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(12,c=e)})}if(4096&a.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),ce=c.betLimit||{},o(24,u=c.openHours),o(25,de=(e=>{N=e.totalSeats||7,o(29,h=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=N;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,D=t),o(22,le=e||le)),d&&o(20,B=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(he,e)?t=oa:R(me,e)&&(t=sa)}}return t})(c)),o(26,ue=Br[_]),o(27,O=(ce.min||{})[_]),o(28,H=(ce.max||{})[_]),j=c.currentRouletteNumbers,W=c.currentDoubleBallRouletteNumbers,U=c.vendorCategory,o(30,m=U.toLowerCase()===la),o(13,Y=(m?W:j)||[]),o(31,z="GameProp LiveProps RoulleteProps"),o(31,z+=m?" Double":""),o(32,V=R(me,U.toLowerCase())?ge:pe),Z=p,o(33,p=Array.isArray(h)&&h.length===N),c.dealer&&o(35,K=c.dealer.DealerName),X=c.numberOfPlayers,o(34,I="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,I+=" GameBackdrop"),d&&p&&O&&H&&c.currentOccupiedSeats?o(34,I+=" GameContainerDimmed"):!1===d&&D&&o(34,I+=" GameContainerFullyDimmed"),l&&(!Z&&p?(o(34,I+=" PulsatingRedShadow"),o(34,I=I.replace(" PulsatingGreenShadow",""))):Z&&!p&&(o(34,I+=" PulsatingGreenShadow"),o(34,I=I.replace(" PulsatingRedShadow",""))))),24576&a.$$.dirty[0]&&g&&Y){const n="FirstElementAnimated",r=g.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[S,y,x,q,Q,n,r,ee,te,re,ae,l,c,Y,g,ie,oe,!1,se,s,B,D,le,d,u,de,ue,O,H,h,m,z,V,p,I,K,A,P,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},R,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function Y(){}function S(e){return e()}function $(){return Object.create(null)}function z(e){e.forEach(S)}function T(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let i,G;function ce(e,t){return(i=i||document.createElement("a")).href=t,e===i.href}function u(e,...t){if(null==e)return Y;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function yt(e,t,n){e.$$.on_destroy.push(u(t,n))}function F(e){return e&&T(e.destroy)?e.destroy:Y}function de(e,t){e.appendChild(t)}function ue(e,t,n){e.insertBefore(t,n||null)}function he(e){e.parentNode.removeChild(e)}function k(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function me(e){return document.createElement(e)}function M(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function pe(e){return document.createTextNode(e)}function ge(){return pe(" ")}function l(){return pe("")}function V(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function fe(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function C(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:fe(e,t,n)}function ye(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function _(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function h(e,t,n){e.classList[n?"add":"remove"](t)}class L{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=M(t.nodeName):this.e=me(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ue(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(he)}}function o(e){const t={};for(const n of e)t[n.name]=n.value;return t}function P(e){G=e}function bt(e){!function(){if(G)return G;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const I=[],mt=[],m=[],p=[],R=Promise.resolve();let A=!1;function D(){A||(A=!0,R.then(f))}function $e(){return D(),R}function B(e){m.push(e)}const O=new Set;let H=0;function f(){const e=G;do{for(;H<I.length;){const e=I[H];H++,P(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(B))}for(P(null),I.length=0,H=0;mt.length;)mt.pop()();for(let e=0;e<m.length;e+=1){const r=m[e];O.has(r)||(O.add(r),r())}}while(m.length=0,I.length);for(;p.length;)p.pop()();A=!1,O.clear(),P(e)}const N=new Set;function j(r,e,t,n,a,i,o,s=[-1]){var l=G;P(r);const c=r.$$={fragment:null,ctx:null,props:i,update:Y,not_equal:a,bound:$(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:$(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&a(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&(n=e,-1===(e=r).$$.dirty[0]&&(I.push(e),D(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),d=!0,z(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){i=e.target;const Y=Array.from(i.childNodes);c.fragment&&c.fragment.l(Y),Y.forEach(he)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(N.delete(s),s.i(void 0));{var u=r;o=e.target;t=e.anchor;n=e.customElement;const{fragment:h,on_mount:m,on_destroy:p,after_update:g}=u.$$;h&&h.m(o,t),n||B(()=>{var e=m.map(S).filter(T);p?p.push(...e):z(e),u.$$.on_mount=[]}),g.forEach(B)}f()}P(l)}let W;"function"==typeof HTMLElement&&(W=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(T);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(z(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=Y}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var U,Z,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==s&&s,K="URLSearchParams"in s,X="Symbol"in s&&"iterator"in Symbol,J="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch(e){return!1}}(),q="FormData"in s,Q="ArrayBuffer"in s;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 X&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function re(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));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 ie(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function oe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.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:J&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:K&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&J&&(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._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):K&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},J&&(this.blob=function(){var e=re(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?re(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ie)}),this.text=function(){var e,t,n=re(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=ae(e=new FileReader),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},q&&(this.formData=function(){return this.text().then(ve)}),this.json=function(){return this.text().then(JSON.parse)},this}Q&&(U=["[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<U.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=ee(e),t=te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[ee(e)]},c.prototype.get=function(e){return e=ee(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(ee(e))},c.prototype.set=function(e,t){this.map[ee(e)]=te(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),ne(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),ne(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),ne(n)},X&&(c.prototype[Symbol.iterator]=c.prototype.entries);var le=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var n,r=(t=t||{}).body;if(e instanceof be){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(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,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ve(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function 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.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}be.prototype.clone=function(){return new be(this,{body:this._bodyInit})},se.call(be.prototype),se.call(we.prototype),we.prototype.clone=function(){return new we(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},we.error=function(){var e=new we(null,{status:0,statusText:""});return e.type="error",e};var xe=[301,302,303,307,308],Ce=(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}})},s.DOMException);try{new Ce}catch(Y){(Ce=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ce.prototype.constructor=Ce}function Se(r,o){return new Promise(function(a,e){var t=new be(r,o);if(t.signal&&t.signal.aborted)return e(new Ce("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){a(new we(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new Ce("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&s.location.href?s.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(J?i.responseType="blob":Q&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof c?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){i.setRequestHeader(e,te(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}function En(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Se.polyfill=!0,s.fetch||(s.fetch=Se,s.Headers=c,s.Request=be,s.Response=we),self.fetch.bind(self);var _e=function(e,t){return(_e=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}_e(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Me(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Te(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function Ge(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function Fe(e){return"function"==typeof e}function Ee(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=Ee(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)}Ae.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=Me(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(Fe(i))try{i()}catch(e){a=e instanceof Le?e.errors:[e]}i=this._finalizers;if(i){this._finalizers=null;try{for(var l=Me(i),c=l.next();!c.done;c=l.next()){var d=c.value;try{Be(d)}catch(e){a=null!=a?a:[],e instanceof Le?a=Ge(Ge([],Te(a)),Te(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(a)throw new Le(a)}},Ae.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Be(e);else{if(e instanceof Ae){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Ae.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ae.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ae.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Pe(t,e)},Ae.prototype.remove=function(e){var t=this._finalizers;t&&Pe(t,e),e instanceof Ae&&e._removeParent(this)},Ae.EMPTY=((e=new Ae).closed=!0,e);var Ie=Ae,Re=Ie.EMPTY;function Ae(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function De(e){return e instanceof Ie||e&&"closed"in e&&Fe(e.remove)&&Fe(e.add)&&Fe(e.unsubscribe)}function Be(e){Fe(e)?e():e.unsubscribe()}var Oe=void 0,He=!1,Ne=!1,je={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=je.delegate;return null!=a&&a.setTimeout?a.setTimeout.apply(a,Ge([e,t],Te(n))):setTimeout.apply(void 0,Ge([e,t],Te(n)))},clearTimeout:function(e){var t=je.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function We(){}var Ue=null;function Ye(e){if(He){var t=!Ue;if(t&&(Ue={errorThrown:!1,error:null}),e(),t){var t=Ue,n=t.errorThrown,t=t.error;if(Ue=null,n)throw t}}else e()}ke(Ke,ze=Ie),Ke.create=function(e,t,n){return new Qe(e,t,n)},Ke.prototype.next=function(e){this.isStopped||this._next(e)},Ke.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ke.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ke.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,ze.prototype.unsubscribe.call(this),this.destination=null)},Ke.prototype._next=function(e){this.destination.next(e)},Ke.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ke.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var ze,Ve=Ke,Ze=Function.prototype.bind;function Ke(e){var t=ze.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=rt,t}function Xe(e,t){return Ze.call(e,t)}tt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){nt(e)}},tt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){nt(e)}else nt(e)},tt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){nt(e)}};var Je,qe=tt,Qe=(ke(et,Je=Ve),et);function et(e,t,n){var r=Je.call(this)||this,n=Fe(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&Ne?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Xe(e.next,t),error:e.error&&Xe(e.error,t),complete:e.complete&&Xe(e.complete,t)}):e;return r.destination=new qe(n),r}function tt(e){this.partialObserver=e}function nt(e){var t=e;je.setTimeout(function(){throw t})}var rt={closed:!0,next:We,error:function(e){throw e},complete:We},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function at(e){return e}n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,n){var r,a=this,i=(r=e)&&r instanceof Ve||r&&Fe(r.next)&&Fe(r.error)&&Fe(r.complete)&&De(r)?e:new Qe(e,t,n);return Ye(function(){var e=a.operator,t=a.source;i.add(e?e.call(i,t):t?a._subscribe(i):a._trySubscribe(i))}),i},n.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},n.prototype.forEach=function(r,e){var a=this;return new(e=ot(e))(function(e,t){var n=new Qe({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});a.subscribe(n)})},n.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},n.prototype[e]=function(){return this},n.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?at:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},n.prototype.toPromise=function(e){var r=this;return new(e=ot(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},n.create=function(e){return new n(e)};var it=n;function n(e){e&&(this._subscribe=e)}function ot(e){return null!=(e=null!=e?e:Oe)?e:Promise}var st,lt,ct,dt=Ee(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(ke(r,ct=it),r.prototype.lift=function(e){var t=new ut(this,this);return t.operator=e,t},r.prototype._throwIfClosed=function(){if(this.closed)throw new dt},r.prototype.next=function(a){var i=this;Ye(function(){var t,e;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=Me(i.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(a)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},r.prototype.error=function(t){var n=this;Ye(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},r.prototype.complete=function(){var t=this;Ye(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),ct.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,a=this.observers;return n||r?Re:(this.currentObservers=null,a.push(e),new Ie(function(){t.currentObservers=null,Pe(a,e)}))},r.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},r.prototype.asObservable=function(){var e=new it;return e.source=this,e},r.create=function(e,t){return new ut(e,t)},r),ut=(ke(xt,lt=e),xt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},xt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},xt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},xt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Re},xt),ht={now:function(){return(ht.delegate||Date).now()},delegate:void 0},vt=(ke(wt,st=e),wt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,a=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),a||r.push(i.now()+t)),this._trimBuffer(),st.prototype.next.call(this,e)},wt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},wt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,a=(r?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!r){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)}},wt);function wt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ht);var r=st.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function xt(e,t){var n=lt.call(this)||this;return n.destination=e,n.source=t,n}function r(){var e=ct.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ct=[],St={};const $t=[];function _t(r,a=Y){let i;const o=new Set;function s(e){if(t(r,e)&&(r=e,i)){const e=!$t.length;for(const e of o)e[1](),$t.push(e,r);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(r))},subscribe:function(e,t=Y){const n=[e,t];return o.add(n),1===o.size&&(i=a(s)||Y),e(r),()=>{o.delete(n),0===o.size&&(i(),i=null)}}}}function kt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,d=s.length<2;return{subscribe:_t(t,t=>{let n=!1;const r=[];let a=0,i=Y;const o=()=>{var e;a||(i(),e=s(l?r[0]:r,t),d?t(e):i=T(e)?e:Y)},e=c.map((e,t)=>u(e,e=>{r[t]=e,a&=~(1<<t),n&&o()},()=>{a|=1<<t}));return n=!0,o(),function(){z(e),i()}}).subscribe}}function Mt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Tt));var t}var Tt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Gt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?It(Array.isArray(e)?[]:{},e,t):e}function Ft(e,t,n){return e.concat(t).map(function(e){return Gt(e,n)})}function Et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Lt(e,t){try{return t in e}catch(e){return!1}}function Pt(r,a,i){var o={};return i.isMergeableObject(r)&&Et(r).forEach(function(e){o[e]=Gt(r[e],i)}),Et(a).forEach(function(t){var e,n;(!Lt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(Lt(r,t)&&i.isMergeableObject(a[t])?o[t]=function(e){if(!e.customMerge)return It;e=e.customMerge(t);return"function"==typeof e?e:It}(i)(r[t],a[t],i):o[t]=Gt(a[t],i))}),o}function It(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ft,n.isMergeableObject=n.isMergeableObject||Mt,n.cloneUnlessOtherwiseSpecified=Gt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Pt(e,t,n):Gt(t,n)}It.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return It(e,t,n)},{});throw new Error("first argument should be an array")};var Rt=It,At=function(e,t){return(At=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}At(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var g,y,Bt,b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function Ot(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Nt(e){return e.type===y.number}function jt(e){return e.type===y.date}function Wt(e){return e.type===y.time}function Ut(e){return e.type===y.select}function Yt(e){return e.type===y.plural}function zt(e){return e.type===y.tag}function Vt(e){return e&&"object"==typeof e&&e.type===Bt.number}function Zt(e){return e&&"object"==typeof e&&e.type===Bt.dateTime}(e=g=g||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=Bt=Bt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Kt=/(?:[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 Xt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Jt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,qt=/^(@+)?(\+|#+)?[rs]?$/g,Qt=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function tn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(qt,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function nn(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 rn(e){return nn(e)||{}}function an(e){for(var o={},t=0,n=e;t<n.length;t++){var r,a=n[t];switch(a.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=a.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=b(b(b({},o),{notation:"scientific"}),a.options.reduce(function(e,t){return b(b({},e),rn(t))},{}));continue;case"engineering":o=b(b(b({},o),{notation:"engineering"}),a.options.reduce(function(e,t){return b(b({},e),rn(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(a.options[0]);continue;case"integer-width":if(1<a.options.length)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(Qt,function(e,t,n,r,a,i){if(t)o.minimumIntegerDigits=n.length;else{if(r&&a)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(en.test(a.stem))o.minimumIntegerDigits=a.stem.length;else if(Jt.test(a.stem)){if(1<a.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Jt,function(e,t,n,r,a,i){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:a&&i?(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length+i.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var i=a.options[0];"w"===i?o=b(b({},o),{trailingZeroDisplay:"stripIfInteger"}):i&&(o=b(b({},o),tn(i)))}else qt.test(a.stem)?o=b(b({},o),tn(a.stem)):((i=nn(a.stem))&&(o=b(b({},o),i)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!en.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(a.stem))&&(o=b(b({},o),r)))}return o}var on={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var sn=new RegExp("^".concat(e.source,"*")),ln=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,cn=!!String.fromCodePoint,dn=!!Object.fromEntries,un=!!String.prototype.codePointAt,hn=!!String.prototype.trimStart,mn=!!String.prototype.trimEnd,pn=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=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Dn[0])}catch(Y){gn=!1}var fn,yn,bn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},vn=cn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;i<a;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},wn=dn?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],a=a[1];t[i]=a}return t},xn=un?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},Cn=hn?function(e){return e.trimStart()}:function(e){return e.replace(sn,"")},Sn=mn?function(e){return e.trimEnd()}:function(e){return e.replace(ln,"")};function $n(e,t){return new RegExp(e,t)}yn=gn?(fn=$n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return fn.lastIndex=t,null!=(t=fn.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var a=xn(e,t);if(void 0===a||Mn(a)||(33<=(n=a)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(a),t+=65536<=a?2:1}return vn.apply(void 0,r)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a,i=this.char();if(123===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.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(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&kn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{i=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(i,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!kn(this.char()))return this.error(g.INVALID_TAG,v(e,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))}return this.error(g.INVALID_TAG,v(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{a=this.tryParseUnquoted(e,t);if(a)r+=a;else{a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:r,location:n},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(kn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return vn.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),vn(n))},a.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(g.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=yn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(g.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((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(m=Sn(p.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var d=v(r,this.clonePosition());if(l&&bn(null==l?void 0:l.style,"::",0)){var u=Cn(l.style.slice(2));if("number"===o)return(p=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?p:{val:{type:y.number,value:n,location:d,style:p.val},err:null};if(0===u.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,d);var h=u,m=(this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),s=i<2?1:3+(i>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(on[t||""]||on[n||""]||on["".concat(n,"-001")]||on["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<o--;)n=l+n}else n+="J"===a?"H":a}return n}(u,this.locale)),{type:Bt.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(a={},h.replace(Kt,function(e){var t=e.length;switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short";break;case"y":a.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":a.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":a.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":a.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");a.weekday=["short","long","narrow","short"][t-4];break;case"a":a.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1];break;case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1];break;case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1];break;case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":a.minute=["numeric","2-digit"][t-1];break;case"s":a.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":a.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),a):{}});return{val:{type:"date"===o?y.date:y.time,value:n,location:d,style:m},err:null}}return{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:n,location:d,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(h,b({},h)));this.bumpSpace();var p,m=this.parseIdentifierIfPossible(),d=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),m=this.parseIdentifierIfPossible(),d=p.val}l=this.tryParsePluralOrSelectOptions(e,o,t,m);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;u=v(r,this.clonePosition());return"select"===o?{val:{type:y.select,value:n,options:wn(l.val),location:u},err:null}:{val:{type:y.plural,value:n,options:wn(l.val),offset:d,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,v(i,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(Xt).filter(function(e){return 0<e.length});n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],a=a.slice(1),o=0,s=a;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?an(n):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a=!1,i=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.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?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(a=!0),this.bumpSpace();d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var 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?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:i,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}r=v(r,this.clonePosition());return a?pn(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=xn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(bn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mn(this.char());)this.bump()},a.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var _n=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function kn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Mn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Tn(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new _n(e,t).parse();if(e.err)throw(n=SyntaxError(g[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Ut(e)||Yt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Nt(e)&&Vt(e.style)||(jt(e)||Wt(e))&&Zt(e.style)?delete e.style.location:zt(e)&&n(e.children)})}(e.val),e.val}function Gn(e,t){var n=t&&t.cache?t.cache:Bn,r=t&&t.serializer?t.serializer:In;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?Fn:Ln,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Fn(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),a=t.get(n);return void 0===a&&(a=e.call(this,r),t.set(n,a)),a}function Ln(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),a=t.get(n);return void 0===a&&(a=e.apply(this,r),t.set(n,a)),a}function Pn(e,t,n,r,a){return n.bind(t,e,r,a)}var In=function(){return JSON.stringify(arguments)};function Rn(){this.cache=Object.create(null)}Rn.prototype.get=function(e){return this.cache[e]},Rn.prototype.set=function(e,t){this.cache[e]=t};var An,Dn,Bn={create:function(){return new Rn}},On={variadic:function(e,t){return Pn(e,this,Ln,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,Fn,t.cache.create(),t.serializer)}};(Dn=An=An||{}).MISSING_VALUE="MISSING_VALUE",Dn.INVALID_VALUE="INVALID_VALUE",Dn.MISSING_INTL_API="MISSING_INTL_API";Dt(Jn,Wn=Error),Jn.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Hn,Nn,jn,Wn,Un=Jn,Yn=(Dt(Xn,jn=Un),Xn),zn=(Dt(Kn,Nn=Un),Kn),Vn=(Dt(Zn,Hn=Un),Zn);function Zn(e,t){return Hn.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),An.MISSING_VALUE,t)||this}function Kn(e,t,n){return Nn.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),An.INVALID_VALUE,n)||this}function Xn(e,t,n,r){return jn.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),An.INVALID_VALUE,r)||this}function Jn(e,t,n){e=Wn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function qn(e,t,n,r,a,i,o){if(1===e.length&&Ht(e[0]))return[{type:w.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Ht(d))s.push({type:w.literal,value:d.value});else if(d.type===y.pound)"number"==typeof i&&s.push({type:w.literal,value:n.getNumberFormat(t).format(i)});else{var u=d.value;if(!(a&&u in a))throw new Vn(u,o);u=a[u];if(d.type===y.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),s.push({type:"string"==typeof u?w.literal:w.object,value:u});else if(jt(d)){var h="string"==typeof d.style?r.date[d.style]:Zt(d.style)?d.style.parsedOptions:void 0;s.push({type:w.literal,value:n.getDateTimeFormat(t,h).format(u)})}else if(Wt(d))h="string"==typeof d.style?r.time[d.style]:Zt(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:w.literal,value:n.getDateTimeFormat(t,h).format(u)});else if(Nt(d))(h="string"==typeof d.style?r.number[d.style]:Vt(d.style)?d.style.parsedOptions:void 0)&&h.scale&&(u*=h.scale||1),s.push({type:w.literal,value:n.getNumberFormat(t,h).format(u)});else{if(zt(d)){var m=d.children,p=d.value,g=a[p];if("function"!=typeof g)throw new zn(p,"function",o);p=g(qn(m,t,n,r,a,i).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(Ut(d)){if(!(f=d.options[u]||d.options.other))throw new Yn(d.value,u,Object.keys(d.options),o);s.push.apply(s,qn(f.value,t,n,r,a))}else if(Yt(d)){if(!(f=d.options["=".concat(u)])){if(!Intl.PluralRules)throw new Un('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',An.MISSING_INTL_API,o);var g=n.getPluralRules(t,{type:d.pluralType}).select(u-(d.offset||0)),f=d.options[g]||d.options.other}if(!f)throw new Yn(d.value,u,Object.keys(d.options),o);s.push.apply(s,qn(f.value,t,n,r,a,u-(d.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===w.literal&&t.type===w.literal?n.value+=t.value:e.push(t),e},[])}function Qn(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=w=w||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(d,"defaultLocale",{get:function(){return d.memoizedDefaultLocale||(d.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),d.memoizedDefaultLocale},enumerable:!1,configurable:!0}),d.memoizedDefaultLocale=null,d.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])},d.__parse=Tn,d.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 er=d;function d(e,t,n,r){var a,i,o=this;if(void 0===t&&(t=d.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=o.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===w.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return qn(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=d.resolveLocale(t),"string"==typeof e){if(this.message=e,!d.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=d.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=d.formats,(i=n)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?b(b(b({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),r[t]||{}),e},{})):n),e},b({},a)):a),this.formatters=r&&r.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,Ot([void 0],t,!1)))},{cache:Qn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:On.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,Ot([void 0],t,!1)))},{cache:Qn(t.dateTime),strategy:On.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,Ot([void 0],t,!1)))},{cache:Qn(t.pluralRules),strategy:On.variadic})}}const tr={},nr=(e,t,n)=>n&&(t in tr||(tr[t]={}),e in tr[t]||(tr[t][e]=n),n),rr=(t,n)=>{if(null!=n){if(n in tr&&t in tr[n])return tr[n][t];var r=vr(n);for(let e=0;e<r.length;e++){var a=function(e,n){if(!or(e))return null;e=function(e){return ar[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const a=r.split(".");let t=e;for(let e=0;e<a.length;e++)if("object"==typeof t){if(0<e){const r=a.slice(e,a.length).join(".");if(r in t){t=t[r];break}}t=t[a[e]]}else t=void 0;return t}}(r[e],t);if(a)return nr(t,n,a)}}};let ar;const ir=_t({});function or(e){return e in ar}function sr(t,...n){delete tr[t],ir.update(e=>(e[t]=Rt.all([e[t]||{},...n]),e))}kt([ir],([e])=>Object.keys(e)),ir.subscribe(e=>ar=e);const lr={};function cr(e){return lr[e]}function dr(e){return null!=e&&vr(e).some(e=>{return null==(e=cr(e))?void 0:e.size})}const ur={};function hr(e){if(!dr(e))return e in ur?ur[e]:Promise.resolve();const t=vr(e).map(e=>{var t=cr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return ur[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return lr[t].delete(n),0===lr[t].size&&delete lr[t],e().then(e=>e.default||e)}));return n.then(e=>sr(r,...e))}})).then(()=>{if(dr(e))return hr(e);delete ur[e]}),ur[e]}function mr(e,t){var n={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}const pr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const gr=_t(!1);let fr;const yr=_t(null);function br(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function vr(e,t=pr.fallbackLocale){e=br(e);return t?[...new Set([...e,...br(t)])]:e}function wr(){return null!=fr?fr:void 0}yr.subscribe(e=>{fr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const pt=Object.assign(Object.assign({},yr),{set:t=>{if(t&&function(e){if(null!=e){var t=vr(e);for(let e=0;e<t.length;e++){var n=t[e];if(or(n))return n}}}(t)&&dr(t)){var n=pr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=wr()&&n?e=window.setTimeout(()=>gr.set(!0),n):gr.set(!0),hr(t).then(()=>{yr.set(t)}).finally(()=>{clearTimeout(e),gr.set(!1)})}return yr.set(t)}}),xr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Cr=(e,t)=>{var n=pr["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Sr=xr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Cr("number",n)),new Intl.NumberFormat(t,e)}),$r=xr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Cr("date",n):0===Object.keys(e).length&&(e=Cr("date","short")),new Intl.DateTimeFormat(t,e)}),_r=xr(e=>{var{locale:t,format:n}=e,e=mr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Cr("time",n):0===Object.keys(e).length&&(e=Cr("time","short")),new Intl.DateTimeFormat(t,e)}),kr=xr((e,t=wr())=>new er(e,t,pr.formats,{ignoreTag:pr.ignoreTag})),Mr=kt([pt,ir],()=>(e,t={})=>{var n,r;let a=t;"object"==typeof e&&(e=(a=e).id);var{values:i,locale:o=wr(),default:s}=a;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=rr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=pr).handleMissingMessage)?void 0:n.call(r,{locale:o,id:e,defaultValue:s}))?n:s)?r:e;if(!i)return l;let c=l;try{c=kr(l,o).format(i)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),gt=(kt([pt],()=>(e,t)=>((e={})=>{var{locale:t=wr()}=e,e=mr(e,["locale"]);return _r(Object.assign({locale:t},e))})(t).format(e)),kt([pt],()=>(e,t)=>((e={})=>{var{locale:t=wr()}=e,e=mr(e,["locale"]);return $r(Object.assign({locale:t},e))})(t).format(e)),kt([pt],()=>(e,t)=>((e={})=>{var{locale:t=wr()}=e,e=mr(e,["locale"]);return Sr(Object.assign({locale:t},e))})(t).format(e)),kt([pt,ir],()=>(e,t=wr())=>rr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ct.indexOf(e)&&(t=new vt(t),St[e]=t,Ct.push(e)),St[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))),ft=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Tr(e,t){sr(e,t)}const Gr={en:{casinoPage:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",filters:"Filters",clear:"Clear",noGamesPlayed:"You have no games played!"}},zh:{casinoPage:{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",filters:"過濾器",clear:"清除",noGamesPlayed:"你沒有玩過遊戲!"}},de:{casinoPage:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",filters:"Filter",clear:"Zurücksetzen",noGamesPlayed:"Sie haben keine Spiele gespielt!"}},it:{casinoPage:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",filters:"Filtri",clear:"Azzera",noGamesPlayed:"Non hai giochi giocati!"}},fr:{casinoPage:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu ",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",filters:"Filtres",clear:"Clair",noGamesPlayed:"Vous n'avez aucune partie jouée"}},es:{casinoPage:{500:"Error 500 - Error Interno del Servidor",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tómate un descanso de 1 día del juego.",breakButton:"Tómese un descanso de 24 horas del juego",searchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Limpio",noGamesPlayed:"No has probado ningún juego!"}},tr:{casinoPage:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Casino oyunları ara",filters:"Filtreler",clear:"Temizlemek",noGamesPlayed:"Oynadığın oyun yok!"}},ru:{casinoPage:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",filters:"Фильтры",clear:"Прозрачный",noGamesPlayed:"У вас нет сыгранных игр!"}},ro:{casinoPage:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",filters:"Filtrare",clear:"Sterge",noGamesPlayed:"Nu ai jucat niciun joc!"}},hr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Traži casino igre",filters:"Filtri",clear:"Resetiraj",noGamesPlayed:"Niste igrali nijednu igru!"}},hu:{casinoPage:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",filters:"Szűrők",clear:"Visszaállítás",noGamesPlayed:"Nincsenek lejátszott játékok!"}},pl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",filters:"Filtry",clear:"Przywróć",noGamesPlayed:"Nie grałeś w żadne gry!"}},pt:{casinoPage:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",filters:"Filtros",clear:"Limpar",noGamesPlayed:"Você não experimentou nenhum jogo!"}},sl:{casinoPage:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Ponastavitev",noGamesPlayed:"You have no games played!"}},sr:{casinoPage:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",filters:"Filters",clear:"Resetuj",noGamesPlayed:"You have no games played!"}}};function Fr(e,t){sr(e,t)}const Er={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};Pr=Lr={path:void 0,exports:{},require:function(e,t){return En(null==t&&Lr.path)}},Lr.exports,Pr.exports=function(){var A;function p(){return A.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function D(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function B(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function s(e){return void 0===e}function O(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function N(e,t){for(var n=[],r=e.length,a=0;a<r;++a)n.push(t(e[a],a));return n}function j(e,t){for(var n in t)g(t,n)&&(e[n]=t[n]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Et(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function W(e){if(null==e._isValid){var t=f(e),n=Y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function U(e){var t=c(NaN);return null!=e?j(f(t),e):f(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},z=p.momentProperties=[],V=!1;function Z(e,t){var n,r,a,i=z.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(a=t[r=z[n]])||(e[r]=a);return e}function K(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,p.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function X(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,o){var s=!0;return j(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),s){for(var e,t,n=[],r=arguments.length,a=0;a<r;a++){if(e="","object"==typeof arguments[a]){for(t in e+="\n["+a+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[a];n.push(e)}X(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var J={};function q(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),J[e]||(X(t),J[e]=!0)}function d(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=j({},e);for(n in t)g(t,n)&&(D(e[n])&&D(t[n])?(r[n]={},j(r[n],e[n]),j(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)g(e,n)&&!g(t,n)&&D(e[n])&&(r[n]=j({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(t);return n};function i(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ae={},ie={};function r(e,t,n,r){var a="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=a),t&&(ie[t[0]]=function(){return i(a.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ae[t]=ae[t]||function(r){for(var e,a=r.match(ne),t=0,i=a.length;t<i;t++)ie[a[t]]?a[t]=ie[a[t]]:a[t]=(e=a[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<i;n++)t+=d(a[n])?a[n].call(e,r):a[n];return t}}(t),ae[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function u(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)g(e,n)&&(t=u(n))&&(r[t]=e[n]);return r}var de={};function n(e,t){de[e]=t}function ue(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,n),this):me(this,t)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=m(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var a=/\d/,y=/\d\d/,ge=/\d{3}/,fe=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,Se=/\d+/,$e=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,r){Te[e]=d(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return g(Te,e)?Te[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Te={},Ge={};function C(e,n){var t,r,a=n;for("string"==typeof e&&(e=[e]),O(n)&&(a=function(e,t){t[n]=m(e)}),r=e.length,t=0;t<r;t++)Ge[e[t]]=a}function Fe(e,a){C(e,function(e,t,n,r){n._w=n._w||{},a(e,n._w,n,r)})}var S,$=0,_=1,k=2,M=3,T=4,G=5,Ee=6,Le=7,Pe=8;function Ie(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?ue(e)?29:28:31-n%7%2}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",b),w("MM",b,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),C(["M","MM"],function(e,t){t[_]=m(e)-1}),C(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[_]=r:f(n).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Be=v,Oe=v;function He(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=m(t);else if(!O(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ne(e){return null!=e?(He(this,e),p.updateOffset(this,!0),this):me(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],a=[],i=0;i<12;i++)t=c([2e3,i]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),a.sort(e),i=0;i<12;i++)n[i]=x(n[i]),r[i]=x(r[i]);for(i=0;i<24;i++)a[i]=x(a[i]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function We(e){return ue(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?i(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",$e),w("YY",b,y),w("YYYY",xe,fe),w("YYYYY",Ce,ye),w("YYYYYY",Ce,ye),C(["YYYYY","YYYYYY"],$),C("YYYY",function(e,t){t[$]=2===e.length?p.parseTwoDigitYear(e):m(e)}),C("YY",function(e,t){t[$]=p.parseTwoDigitYear(e)}),C("Y",function(e,t){t[$]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return m(e)+(68<m(e)?1900:2e3)};var Ue=he("FullYear",!0);function Ye(e,t,n,r,a,i,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,a){var i,t=1+7*(t-1)+(7+n-r)%7+Ve(e,r,a),n=t<=0?We(i=e-1)+t:t>We(e)?(i=e+1,t-We(e)):(i=e,t);return{year:i,dayOfYear:n}}function Ke(e,t,n){var r,a,i=Ve(e.year(),t,n),i=Math.floor((e.dayOfYear()-i-1)/7)+1;return i<1?r=i+F(a=e.year()-1,t,n):i>F(e.year(),t,n)?(r=i-F(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function F(e,t,n){var r=Ve(e,t,n),t=Ve(e+1,t,n);return(We(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",b),w("ww",b,y),w("W",b),w("WW",b,y),Fe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=m(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",b),w("e",b),w("E",b),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Fe(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e}),Fe(["d","e","E"],function(e,t,n,r){t[r]=m(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,nt=v;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,a=[],i=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=x(this.weekdaysMin(r,"")),n=x(this.weekdaysShort(r,"")),r=x(this.weekdays(r,"")),a.push(t),i.push(n),o.push(r),s.push(t),s.push(n),s.push(r);a.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("^("+a.join("|")+")","i")}function at(){return this.hours()%12||12}function it(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+i(this.minutes(),2)+i(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+i(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+i(this.minutes(),2)+i(this.seconds(),2)}),it("a",!0),it("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",b),w("h",b),w("k",b),w("HH",b,y),w("hh",b,y),w("kk",b,y),w("hmm",be),w("hmmss",ve),w("Hmm",be),w("Hmmss",ve),C(["H","HH"],M),C(["k","kk"],function(e,t,n){e=m(e);t[M]=24===e?0:e}),C(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),C(["h","hh"],function(e,t,n){t[M]=m(e),f(n).bigHour=!0}),C("hmm",function(e,t,n){var r=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r)),f(n).bigHour=!0}),C("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r,2)),t[G]=m(e.substr(a)),f(n).bigHour=!0}),C("Hmm",function(e,t,n){var r=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r))}),C("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[M]=m(e.substr(0,r)),t[T]=m(e.substr(r,2)),t[G]=m(e.substr(a))});v=he("Hours",!0);var st,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},E={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;0<t;){if(r=ht(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(a,n)>=t-1)break;t--}i++}return st}function ht(t){var e;if(void 0===E[t]&&Pr&&Pr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,En(),mt(e)}catch(e){E[t]=null}return E[t]}function mt(e,t){return e&&((t=s(t)?L(e):pt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function pt(e,t){if(null===t)return delete E[e],null;var n,r=lt;if(t.abbr=e,null!=E[e])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=E[e]._config;else if(null!=t.parentLocale)if(null!=E[t.parentLocale])r=E[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return E[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),mt(e),E[e]}function L(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!o(e)){if(t=ht(e))return t;e=[e]}return ut(e)}function gt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[_]<0||11<t[_]?_:t[k]<1||t[k]>Ie(t[$],t[_])?k:t[M]<0||24<t[M]||24===t[M]&&(0!==t[T]||0!==t[G]||0!==t[Ee])?M:t[T]<0||59<t[T]?T:t[G]<0||59<t[G]?G:t[Ee]<0||999<t[Ee]?Ee:-1,f(e)._overflowDayOfYear&&(t<$||k<t)&&(t=k),f(e)._overflowWeeks&&-1===t&&(t=Le),f(e)._overflowWeekday&&-1===t&&(t=Pe),f(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function $t(e){var t,n,r,a,i,o,s=e._i,l=ft.exec(s)||yt.exec(s),s=vt.length,c=wt.length;if(l){for(f(e).iso=!0,t=0,n=s;t<n;t++)if(vt[t][1].exec(l[1])){a=vt[t][0],r=!1!==vt[t][2];break}if(null==a)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){i=(l[2]||" ")+wt[t][0];break}if(null==i)return e._isValid=!1}if(!r&&null!=i)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=a+(i||"")+(o||""),Gt(e)}else e._isValid=!1}function _t(e,t,n,r,a,i){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ae.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&e.push(parseInt(i,10)),e}function kt(e){var t,n,r,a,i=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=_t(i[4],i[3],i[2],i[5],i[6],i[7]),n=i[1],r=t,a=e,n&&qe.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(a).weekdayMismatch=!0,a._isValid=!1):(e._a=t,e._tzm=(n=i[8],r=i[9],a=i[10],n?St[n]:r?0:((n=parseInt(a,10))-(r=n%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,r,a,i,o,s,l,c,d,u,h=[];if(!e._d){for(d=e,u=new Date(p.now()),n=d._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],e._w&&null==e._a[k]&&null==e._a[_]&&(null!=(u=(d=e)._w).GG||null!=u.W||null!=u.E?(o=1,s=4,r=Mt(u.GG,d._a[$],Ke(P(),1,4).year),a=Mt(u.W,1),((i=Mt(u.E,1))<1||7<i)&&(l=!0)):(o=d._locale._week.dow,s=d._locale._week.doy,c=Ke(P(),o,s),r=Mt(u.gg,d._a[$],c.year),a=Mt(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),a<1||a>F(r,o,s)?f(d)._overflowWeeks=!0:null!=l?f(d)._overflowWeekday=!0:(c=Ze(r,a,i,o,s),d._a[$]=c.year,d._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(u=Mt(e._a[$],n[$]),(e._dayOfYear>We(u)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),l=ze(u,0,e._dayOfYear),e._a[_]=l.getUTCMonth(),e._a[k]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[T]&&0===e._a[G]&&0===e._a[Ee]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?ze:Ye).apply(null,h),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Gt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r,a=""+e._i,i=a.length,o=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)r=n[l],(t=(a.match(Me(r,e))||[])[0])&&(0<(u=a.substr(0,a.indexOf(t))).length&&f(e).unusedInput.push(u),a=a.slice(a.indexOf(t)+t.length),o+=t.length),ie[r]?(t?f(e).empty=!1:f(e).unusedTokens.push(r),u=r,m=e,null!=(h=t)&&g(Ge,u)&&Ge[u](h,m._a,m,u)):e._strict&&!t&&f(e).unusedTokens.push(r);f(e).charsLeftOver=i-o,0<a.length&&f(e).unusedInput.push(a),e._a[M]<=12&&!0===f(e).bigHour&&0<e._a[M]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[M]=(i=e._locale,c=e._a[M],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[$])),Tt(e),gt(e)}else kt(e);else $t(e);var c,d,u,h,m}function Ft(e){var t,n=e._i,r=e._f;{var a,i;if(e._locale=e._locale||L(e._l),null===n||void 0===r&&""===n)return U({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new K(gt(n)):(H(n)?e._d=n:o(r)?function(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<l;a++)i=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Gt(t),W(t)&&(o=!0),i=(i+=f(t).charsLeftOver)+10*f(t).unusedTokens.length,f(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o&&(s=!0));j(e,n||t)}(e):r?Gt(e):s(r=(n=e)._i)?n._d=new Date(p.now()):H(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(a=n,null===(i=xt.exec(a._i))?($t(a),!1===a._isValid&&(delete a._isValid,kt(a),!1===a._isValid&&(delete a._isValid,a._strict?a._isValid=!1:p.createFromInputFallback(a)))):a._d=new Date(+i[1])):o(r)?(n._a=N(r.slice(0),function(e){return parseInt(e,10)}),Tt(n)):D(r)?(a=n)._d||(t=void 0===(i=ce(a._i)).day?i.date:i.day,a._a=N([i.year,i.month,t,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Tt(a)):O(r)?n._d=new Date(r):p.createFromInputFallback(n),W(e)||(e._d=null),e)}}function Et(e,t,n,r,a){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(D(e)&&B(e)||o(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,(a=new K(gt(Ft(a=i))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function P(e,t,n,r){return Et(e,t,n,r,!1)}p.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Lt(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return P();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,a=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=function(e){var t,n,r=!1,a=Pt.length;for(t in e)if(g(e,t)&&(-1===S.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Pt[n]]){if(r)return!1;parseFloat(e[Pt[n]])!==m(e[Pt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+i+7*a,this._months=+r+3*n+12*t,this._data={},this._locale=L(),this._bubble()}function Rt(e){return e instanceof It}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,n){r(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)})}Dt("Z",":"),Dt("ZZ",""),w("Z",ke),w("ZZ",ke),C(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ot(ke,e)});var Bt=/([\+\-]|\d\d)/gi;function Ot(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Bt)||["-",0,0])[1]+m(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||H(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):P(e).local()}function Nt(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n,r,a=e,i=null;return Rt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:O(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(i=Wt.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:m(i[k])*n,h:m(i[M])*n,m:m(i[T])*n,s:m(i[G])*n,ms:m(At(1e3*i[Ee]))*n}):(i=Ut.exec(e))?(n="-"===i[1]?-1:1,a={y:Yt(i[2],n),M:Yt(i[3],n),w:Yt(i[4],n),d:Yt(i[5],n),h:Yt(i[6],n),m:Yt(i[7],n),s:Yt(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(t=P(a.from),i=P(a.to),n=t.isValid()&&i.isValid()?(i=Ht(i,t),t.isBefore(i)?r=zt(t,i):((r=zt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(a={}).ms=n.milliseconds,a.M=n.months),i=new It(a),Rt(e)&&g(e,"_locale")&&(i._locale=e._locale),Rt(e)&&g(e,"_isValid")&&(i._isValid=e._isValid),i}function Yt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(r,a){return function(e,t){var n;return null===t||isNaN(+t)||(q(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,I(e,t),r),this}}function Zt(e,t,n,r){var a=t._milliseconds,i=At(t._days),t=At(t._months);e.isValid()&&(r=null==r||r,t&&He(e,me(e,"Month")+t*n),i&&pe(e,"Date",me(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&p.updateOffset(e,i||t))}I.fn=It.prototype,I.invalid=function(){return I(NaN)};Re=Vt(1,"add"),Je=Vt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||H(e)||Kt(e)||O(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!O(e)&&Kt(t)}).length),n&&r)||function(e){var t,n,r=D(e)&&!B(e),a=!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],a=a||g(e,n);return r&&a}(e)||null==e;var t,n,r}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function qt(e){return void 0===e?this._locale._abbr:(null!=(e=L(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],r=[],a=this.eras(),i=0,o=a.length;i<o;++i)t.push(x(a[i].name)),e.push(x(a[i].abbr)),n.push(x(a[i].narrow)),r.push(x(a[i].name)),r.push(x(a[i].abbr)),r.push(x(a[i].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,a){var i;return null==e?Ke(this,r,a).year:(t>(i=F(e,r,a))&&(t=i),function(e,t,n,r,a){e=Ze(e,t,n,r,a),t=ze(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,a))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),w("N",an),w("NN",an),w("NNN",an),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?f(n).era=r:f(n).invalidEra=e}),w("y",Se),w("yy",Se),w("yyy",Se),w("yyyy",Se),w("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),C(["y","yy","yyy","yyyy"],$),C(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[$]=n._locale.eraYearOrdinalParse(e,a):t[$]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",$e),w("g",$e),w("GG",b,y),w("gg",b,y),w("GGGG",xe,fe),w("gggg",xe,fe),w("GGGGG",Ce,ye),w("ggggg",Ce,ye),Fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=m(e)}),Fe(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",a),C("Q",function(e,t){t[_]=3*(m(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",b),w("DD",b,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),C(["D","DD"],k),C("Do",function(e,t){t[k]=m(e.match(b)[0])});xe=he("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",we),w("DDDD",ge),C(["DDD","DDDD"],function(e,t,n){n._dayOfYear=m(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",b),w("mm",b,y),C(["m","mm"],T);fe=he("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",b),w("ss",b,y),C(["s","ss"],G);var cn,Ce=he("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",we,a),w("SS",we,y),w("SSS",we,ge),cn="SSSS";cn.length<=9;cn+="S")w(cn,Se);function dn(e,t){t[Ee]=m(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")C(cn,dn);ye=he("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");a=K.prototype;function un(e){return e}a.add=Re,a.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=D(e)&&!B(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a=0;a<r.length;a+=1)n=n||g(e,r[a]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),n=Ht(e,this).startOf("day"),n=p.calendarFormat(this,n)||"sameElse",t=t&&(d(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,P(e)))},a.clone=function(){return new K(this)},a.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=u(t)){case"year":i=Jt(this,r)/12;break;case"month":i=Jt(this,r);break;case"quarter":i=Jt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:h(i)},a.endOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},a.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},a.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.fromNow=function(e){return this.from(P(),e)},a.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},a.toNow=function(e){return this.to(P(),e)},a.get=function(e){return d(this[e=u(e)])?this[e]():this},a.invalidAt=function(){return f(this).overflow},a.isAfter=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},a.isBefore=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},a.isBetween=function(e,t,n,r){return e=l(e)?e:P(e),t=l(t)?t:P(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},a.isSame=function(e,t){var e=l(e)?e:P(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=u(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},a.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},a.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},a.isValid=function(){return W(this)},a.lang=Qe,a.locale=qt,a.localeData=Qt,a.max=ve,a.min=be,a.parsingFlags=function(){return j({},f(this))},a.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)g(e,t)&&n.push({unit:t,priority:de[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,a=0;a<r;a++)this[n[a].unit](e[n[a].unit]);else if(d(this[e=u(e)]))return this[e](t);return this},a.startOf=function(e){var t,n;if(void 0===(e=u(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},a.subtract=Je,a.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},a.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},a.toDate=function(){return new Date(this.valueOf())},a.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):d(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},a.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(a[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},a.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},a.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},a.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},a.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},a.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,a=n.length;r<a;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},a.year=Ue,a.isLeapYear=function(){return ue(this.year())},a.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},a.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},a.quarter=a.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},a.month=Ne,a.daysInMonth=function(){return Ie(this.year(),this.month())},a.week=a.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},a.isoWeek=a.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},a.weeksInYear=function(){var e=this.localeData()._week;return F(this.year(),e.dow,e.doy)},a.weeksInWeekYear=function(){var e=this.localeData()._week;return F(this.weekYear(),e.dow,e.doy)},a.isoWeeksInYear=function(){return F(this.year(),1,4)},a.isoWeeksInISOWeekYear=function(){return F(this.isoWeekYear(),1,4)},a.date=xe,a.day=a.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},a.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},a.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},a.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},a.hour=a.hours=v,a.minute=a.minutes=fe,a.second=a.seconds=Ce,a.millisecond=a.milliseconds=ye,a.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Nt(this);if("string"==typeof e){if(null===(e=Ot(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Nt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Zt(this,I(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},a.utc=function(e){return this.utcOffset(0,e)},a.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},a.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ot(_e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},a.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},a.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},a.isLocal=function(){return!!this.isValid()&&!this._isUTC},a.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},a.isUtc=jt,a.isUTC=jt,a.zoneAbbr=function(){return this._isUTC?"UTC":""},a.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},a.dates=e("dates accessor is deprecated. Use date instead.",xe),a.months=e("months accessor is deprecated. Use month instead",Ne),a.years=e("years accessor is deprecated. Use year instead",Ue),a.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),a.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Ft(t))._a?(e=(t._isUTC?c:P)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&m(e[o])!==m(t[o]))&&i++;return i+a}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function hn(e,t,n,r){var a=L(),r=c().set(r,t);return a[n](r,e)}function mn(e,t,n){if(O(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");for(var r=[],a=0;a<12;a++)r[a]=hn(e,a,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),O(t)&&(n=t,t=void 0),t||"");var a,i=L(),o=e?i._week.dow:0,s=[];if(null!=n)return hn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=hn(t,(a+o)%7,r,"day");return s}y.calendar=function(e,t,n){return d(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=un,y.postformat=un,y.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return d(a)?a(e,t,n,r):a.replace(/%d/i,e)},y.pastFuture=function(e,t){return d(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)g(e,n)&&(d(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var n,r=this._eras||L("en")._eras,a=0,i=r.length;a<i;++a)switch("string"==typeof r[a].since&&(n=p(r[a].since).startOf("day"),r[a].since=n.valueOf()),typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":n=p(r[a].until).startOf("day").valueOf(),r[a].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[i,o,s].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return g(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,a;if(this._monthsParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=S.call(this._shortMonthsParse,e))?a:null:-1!==(a=S.call(this._longMonthsParse,e))?a:null:"MMM"===t?-1!==(a=S.call(this._shortMonthsParse,e))||-1!==(a=S.call(this._longMonthsParse,e))?a:null:-1!==(a=S.call(this._longMonthsParse,e))||-1!==(a=S.call(this._shortMonthsParse,e))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Be),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,a;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=S.call(this._weekdaysParse,e))?a:null:"ddd"===t?-1!==(a=S.call(this._shortWeekdaysParse,e))?a:null:-1!==(a=S.call(this._minWeekdaysParse,e))?a:null:"dddd"===t?-1!==(a=S.call(this._weekdaysParse,e))||-1!==(a=S.call(this._shortWeekdaysParse,e))||-1!==(a=S.call(this._minWeekdaysParse,e))?a:null:"ddd"===t?-1!==(a=S.call(this._shortWeekdaysParse,e))||-1!==(a=S.call(this._weekdaysParse,e))||-1!==(a=S.call(this._minWeekdaysParse,e))?a:null:-1!==(a=S.call(this._minWeekdaysParse,e))||-1!==(a=S.call(this._weekdaysParse,e))||-1!==(a=S.call(this._shortWeekdaysParse,e))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===m(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",L);var gn=Math.abs;function fn(e,t,n,r){t=I(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function vn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),ge=wn("s"),Re=wn("m"),ve=wn("h"),be=wn("d"),Je=wn("w"),v=wn("M"),fe=wn("Q"),Ce=wn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=xn("milliseconds"),xe=xn("seconds"),Ue=xn("minutes"),y=xn("hours"),Cn=xn("days"),Sn=xn("months"),$n=xn("years");var _n=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var a=I(e).abs(),i=_n(a.as("s")),o=_n(a.as("m")),s=_n(a.as("h")),l=_n(a.as("d")),c=_n(a.as("M")),d=_n(a.as("w")),a=_n(a.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]||a<=1&&["y"]||["yy",a])[2]=t,i[3]=0<+e,i[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,i)}var Tn=Math.abs;function Gn(e){return(0<e)-(e<0)||+e}function Fn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s=Tn(this._milliseconds)/1e3,l=Tn(this._days),c=Tn(this._months),d=this.asSeconds();return d?(e=h(s/60),t=h(e/60),s%=60,e%=60,n=h(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",a=Gn(this._months)!==Gn(d)?"-":"",i=Gn(this._days)!==Gn(d)?"-":"",o=Gn(this._milliseconds)!==Gn(d)?"-":"",(d<0?"-":"")+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(l?i+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}var R=It.prototype;return R.isValid=function(){return this._isValid},R.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},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,r=this._milliseconds;if("month"===(e=u(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(vn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},R.asMilliseconds=we,R.asSeconds=ge,R.asMinutes=Re,R.asHours=ve,R.asDays=be,R.asWeeks=Je,R.asMonths=v,R.asQuarters=fe,R.asYears=Ce,R.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*m(this._months/12):NaN},R._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(vn(n)+t),n=t=0),r.milliseconds=e%1e3,e=h(e/1e3),r.seconds=e%60,e=h(e/60),r.minutes=e%60,e=h(e/60),r.hours=e%24,t+=h(e/24),n+=e=h(bn(t)),t-=yn(vn(e)),e=h(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},R.clone=function(){return I(this)},R.get=function(e){return e=u(e),this.isValid()?this[e+"s"]():NaN},R.milliseconds=ye,R.seconds=xe,R.minutes=Ue,R.hours=y,R.days=Cn,R.weeks=function(){return h(this.days()/7)},R.months=Sn,R.years=$n,R.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},R.toISOString=Fn,R.toString=Fn,R.toJSON=Fn,R.locale=qt,R.localeData=Qt,R.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fn),R.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),w("x",$e),w("X",/[+-]?\d+(\.\d{1,3})?/),C("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),C("x",function(e,t,n){n._d=new Date(m(e))}),p.version="2.29.3",A=P,p.fn=a,p.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return P(1e3*e)},p.months=function(e,t){return mn(e,t,"months")},p.isDate=H,p.locale=mt,p.invalid=U,p.duration=I,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return P.apply(null,arguments).parseZone()},p.localeData=L,p.isDuration=Rt,p.monthsShort=function(e,t){return mn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=E[e]&&null!=E[e].parentLocale?E[e].set(Q(E[e]._config,t)):(t=Q(r=null!=(n=ht(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=E[e],E[e]=r),mt(e)):null!=E[e]&&(null!=E[e].parentLocale?(E[e]=E[e].parentLocale,e===mt()&&mt(e)):null!=E[e]&&delete E[e]),E[e]},p.locales=function(){return te(E)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=u,p.relativeTimeRounding=function(e){return void 0===e?_n:"function"==typeof e&&(_n=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=a,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}();var Lr,Pr,Ir=Lr.exports;function Rr(e,t){sr(e,t)}const Ar={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Dr={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 Br(e,t,n){const r=e.slice();return r[109]=t[n],r[111]=n,r}function Or(e,t,n){const r=e.slice();return r[106]=t[n],r}function Hr(e){let n,r=!gt(e[37])&&!e[0]&&e[15],a=r&&Nr(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=32769&t[0]?!gt(e[37])&&!e[0]&&e[15]:r)?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&&he(n)}}}function Nr(n){let r,a,i;return{c(){(r=me("div")).innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=V(r,"click",n[67]),a=!0)},p:Y,d(e){e&&he(r),a=!1,i()}}}function jr(n){let r,a,i,o,s=n[36]("gameThumbnail.playNow")+"";return{c(){r=me("button"),a=pe(s),fe(r,"class","GameInfoBtn"),fe(r,"part","GameInfoBtn")},m(e,t){ue(e,r,t),de(r,a),i||(o=V(r,"click",n[68]),i=!0)},p(e,t){32&t[1]&&s!==(s=e[36]("gameThumbnail.playNow")+"")&&ye(a,s)},d(e){e&&he(r),i=!1,o()}}}function Wr(e){let n;return{c(){(n=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(n,"class","FavIconContainer"),fe(n,"part","FavIconContainer")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Ur(n){let r,a,i;return{c(){(r=me("div")).innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',fe(r,"class","FavIconContainer"),fe(r,"part","FavIconContainer")},m(e,t){ue(e,r,t),a||(i=V(r,"click",n[69]),a=!0)},p:Y,d(e){e&&he(r),a=!1,i()}}}function Yr(e){let n,r,a=e[36]("gameThumbnail.new")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","GameExtraInfoLabel NewGameTag"),fe(n,"part","GameExtraInfoLabel NewGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("gameThumbnail.new")+"")&&ye(r,a)},d(e){e&&he(n)}}}function zr(e){let n,r;return{c(){n=me("span"),r=pe(e[8]),fe(n,"class","GameExtraInfoLabel PopularGameTag"),fe(n,"part","GameExtraInfoLabel PopularGameTag")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&he(n)}}}function Vr(e){let n,r,a=!e[23]&&e[21]&&e[22]&&Zr(e);function i(e){return e[23]&&e[20]&&e[20]===oa?Xr:e[23]&&e[20]&&e[20]===sa?Kr:void 0}let o=i(e),s=o&&o(e);return{c(){a&&a.c(),n=ge(),s&&s.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),s&&s.m(e,t),ue(e,r,t)},p(e,t){!e[23]&&e[21]&&e[22]?a?a.p(e,t):((a=Zr(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){a&&a.d(e),e&&he(n),s&&s.d(e),e&&he(r)}}}function Zr(e){let n,r,a,i,o,s,l,c,d,u,h=e[36]("gameThumbnail.opens")+"",m=Ir.utc(e[21]).local().format(e[22])+"",p=e[46](e[35])+"",g=e[45](e[27],e[28],e[26])+"";return{c(){n=me("div"),r=me("div"),a=pe(h),i=ge(),o=me("span"),s=pe(m),l=ge(),c=new L(!1),d=ge(),u=new L(!1),fe(r,"class","ClosedGame"),fe(r,"part","ClosedGame"),c.a=d,u.a=null,fe(n,"class","GameProp LiveProps"),fe(n,"part","GameProp LiveProps")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(o,s),de(n,l),c.m(p,n),de(n,d),u.m(g,n)},p(e,t){32&t[1]&&h!==(h=e[36]("gameThumbnail.opens")+"")&&ye(a,h),6291456&t[0]&&m!==(m=Ir.utc(e[21]).local().format(e[22])+"")&&ye(s,m),16&t[1]&&p!==(p=e[46](e[35])+"")&&c.p(p),469762048&t[0]&&g!==(g=e[45](e[27],e[28],e[26])+"")&&u.p(g)},d(e){e&&he(n)}}}function Kr(n){let r,a,i,o,s,l,c=n[46](n[35])+"",d=n[45](n[27],n[28],n[26])+"",u=new Array(ca),h=[];for(let e=0;e<u.length;e+=1)h[e]=ea(Br(n,u,e));return{c(){r=me("div"),a=me("div");for(let e=0;e<h.length;e+=1)h[e].c();i=ge(),o=new L(!1),s=ge(),l=new L(!1),fe(a,"class","LiveIcons"),fe(a,"part","LiveIcons"),o.a=s,l.a=null,fe(r,"class",n[31]),fe(r,"part",n[31])},m(e,t){ue(e,r,t),de(r,a);for(let e=0;e<h.length;e+=1)h[e].m(a,null);n[70](a),de(r,i),o.m(c,r),de(r,s),l.m(d,r)},p(t,n){if(1073750016&n[0]|65538&n[1]){let e;for(u=new Array(ca),e=0;e<u.length;e+=1){const o=Br(t,u,e);h[e]?h[e].p(o,n):(h[e]=ea(o),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=u.length}16&n[1]&&c!==(c=t[46](t[35])+"")&&o.p(c),469762048&n[0]&&d!==(d=t[45](t[27],t[28],t[26])+"")&&l.p(d),1&n[1]&&fe(r,"class",t[31]),1&n[1]&&fe(r,"part",t[31])},d(e){e&&he(r),k(h,e),n[70](null)}}}function Xr(e){let n,r,a,i,o,s,l=e[46](e[35])+"",c=e[45](e[27],e[28],e[26])+"";function d(e){return e[33]?na:ta}let u=d(e),h=u(e);return{c(){n=me("div"),r=me("div"),h.c(),a=ge(),i=new L(!1),o=ge(),s=new L(!1),fe(r,"class","LiveIcons"),fe(r,"part","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,r),h.m(r,null),de(n,a),i.m(l,n),de(n,o),s.m(c,n)},p(e,t){u===(u=d(e))&&h?h.p(e,t):(h.d(1),(h=u(e))&&(h.c(),h.m(r,null))),16&t[1]&&l!==(l=e[46](e[35])+"")&&i.p(l),469762048&t[0]&&c!==(c=e[45](e[27],e[28],e[26])+"")&&s.p(c)},d(e){e&&he(n),h.d()}}}function Jr(e){let n;function r(e){return e[30]?Qr:qr}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function qr(e){let n,r,a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"";return{c(){n=new L(!1),r=l(),n.a=r},m(e,t){n.m(a,e,t),ue(e,r,t)},p(e,t){8192&t[0]|2&t[1]&&a!==(a=e[47]("LatestResult "+(0===e[111]?"First":""),e[111],e[13][e[111]],e[32][e[13][e[111]]])+"")&&n.p(a)},d(e){e&&he(r),e&&n.d()}}}function Qr(e){let n,r,a,i,o,s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"",l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"";return{c(){n=me("div"),r=new L(!1),a=ge(),i=new L(!1),o=ge(),r.a=a,i.a=o,fe(n,"class","Double"),fe(n,"part","Double")},m(e,t){ue(e,n,t),r.m(s,n),de(n,a),i.m(l,n),de(n,o)},p(e,t){8192&t[0]|2&t[1]&&s!==(s=e[47]("LatestResult "+(0===e[111]?"First":""),"first"+e[111]+e[13][e[111]][0],e[13][e[111]][0],e[32][e[13][e[111]][0]])+"")&&r.p(s),8192&t[0]|2&t[1]&&l!==(l=e[47]("LatestResult "+(0===e[111]?"First":""),"second"+e[111]+e[13][e[111]][1],e[13][e[111]][1],e[32][e[13][e[111]][1]])+"")&&i.p(l)},d(e){e&&he(n)}}}function ea(e){let n,r=e[13]&&e[13][e[111]]&&Jr(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[13]&&e[13][e[111]]?r?r.p(e,t):((r=Jr(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ta(t){let a,i=t[25],o=[];for(let e=0;e<i.length;e+=1)o[e]=ra(Or(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(570425344&n[0]|8192&n[1]){let e;for(i=t[25],e=0;e<i.length;e+=1){var r=Or(t,i,e);o[e]?o[e].p(r,n):(o[e]=ra(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function na(e){let n,r,a=e[36]("gameThumbnail.full")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","FullTable"),fe(n,"part","FullTable")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){32&t[1]&&a!==(a=e[36]("gameThumbnail.full")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ra(e){let n,r,a,i,o,s,l;return{c(){n=me("span"),r=M("svg"),a=M("path"),i=M("path"),o=ge(),fe(a,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),fe(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(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"width","13"),fe(r,"height","14"),fe(r,"viewBox","0 0 13 14"),fe(n,"class",s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat"),fe(n,"part",l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(n,o)},p(e,t){570425344&t[0]&&s!==(s=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"class",s),570425344&t[0]&&l!==(l=e[44](e[29],e[106].toString())?"ClosedSeat":"OpenSeat")&&fe(n,"part",l)},d(e){e&&he(n)}}}function aa(e){let n,r;return{c(){n=me("p"),r=pe(e[4]),fe(n,"class","GameNameBelow"),fe(n,"part","GameNameBelow"),fe(n,"title",e[4])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&ye(r,e[4]),16&t[0]&&fe(n,"title",e[4])},d(e){e&&he(n)}}}function ia(n){let r,a,i,o,s,l,B,c,d,u,h,m,O,p,g,H,f,y,N,b,v,w,x,C,S,$,_,j,k,M,T,W,G=(n[5]||"-")+"",F=n[16]&&Hr(n),E=n[1]&&jr(n);function U(e,t){return 32773&t[0]&&(b=null),32773&t[0]&&(v=null),(b=null==b?!(gt(e[37])||!e[0]||!e[15]||!e[2]):b)?Ur:(v=null==v?!!(gt(e[37])&&e[0]&&e[15]&&e[2]):v)?Wr:void 0}let L=U(n,[-1,-1,-1,-1]),P=L&&L(n),I=n[7]&&Yr(n),R=n[8]&&zr(n),A=n[12]&&Vr(n),D=n[10]&&aa(n);return{c(){r=me("div"),a=me("div"),i=me("img"),B=ge(),c=me("div"),d=me("div"),F&&F.c(),u=ge(),h=me("p"),m=pe(n[4]),O=ge(),E&&E.c(),H=ge(),f=me("span"),y=pe(G),N=ge(),P&&P.c(),w=ge(),x=me("div"),I&&I.c(),C=ge(),R&&R.c(),S=ge(),A&&A.c(),j=ge(),D&&D.c(),this.c=Y,ce(i.src,o=n[3])||fe(i,"src",o),fe(i,"class",s=`GameBg GameBg-${n[9]} ${n[17]?"GameContainerHovered":""} `+(n[18]?"Loaded":"")),fe(i,"part",l="GameBg "+(n[17]?"GameContainerHovered":"")+" "+(n[18]?"Loaded":"")),fe(i,"alt",""),fe(i,"loading","lazy"),fe(h,"class","GameInfoName"),fe(h,"part","GameInfoName"),fe(h,"title",n[4]),fe(d,"class",p="GameInfo "+(n[17]?"GameHovered":"")),fe(d,"part",g="GameInfo "+(n[17]?"GameHovered":"")),fe(f,"class","GameInfoVendor"),fe(f,"part","GameInfoVendor"),fe(c,"class","GameInfoWrapper"),fe(c,"part","GameInfoWrapper"),fe(x,"class","GameExtraInfo"),fe(x,"part","GameExtraInfo"),fe(a,"class",$="GameInnerContainer "+(n[12]&&!n[23]&&n[24].value||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(a,"part",_="GameInnerContainer "+(n[12]&&!n[23]||n[12]&&n[33]?"GameInnerContainerUnavailable":"")),fe(r,"class",k="GameContainer "+n[34]),fe(r,"part",M="GameContainer "+n[34])},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[66](i),de(a,B),de(a,c),de(c,d),F&&F.m(d,null),de(d,u),de(d,h),de(h,m),de(d,O),E&&E.m(d,null),de(c,H),de(c,f),de(f,y),de(a,N),P&&P.m(a,null),de(a,w),de(a,x),I&&I.m(x,null),de(x,C),R&&R.m(x,null),de(x,S),A&&A.m(x,null),de(r,j),D&&D.m(r,null),n[71](r),T||(W=[V(a,"mouseenter",n[42]),V(a,"mouseleave",n[43]),V(a,"touchstart",n[40],{passive:!0}),V(a,"touchend",n[41],{passive:!0})],T=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3])&&fe(i,"src",o),393728&t[0]&&s!==(s=`GameBg GameBg-${e[9]} ${e[17]?"GameContainerHovered":""} `+(e[18]?"Loaded":""))&&fe(i,"class",s),393216&t[0]&&l!==(l="GameBg "+(e[17]?"GameContainerHovered":"")+" "+(e[18]?"Loaded":""))&&fe(i,"part",l),e[16]?F?F.p(e,t):((F=Hr(e)).c(),F.m(d,u)):F&&(F.d(1),F=null),16&t[0]&&ye(m,e[4]),16&t[0]&&fe(h,"title",e[4]),e[1]?E?E.p(e,t):((E=jr(e)).c(),E.m(d,null)):E&&(E.d(1),E=null),131072&t[0]&&p!==(p="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"class",p),131072&t[0]&&g!==(g="GameInfo "+(e[17]?"GameHovered":""))&&fe(d,"part",g),32&t[0]&&G!==(G=(e[5]||"-")+"")&&ye(y,G),L===(L=U(e,t))&&P?P.p(e,t):(P&&P.d(1),(P=L&&L(e))&&(P.c(),P.m(a,w))),e[7]?I?I.p(e,t):((I=Yr(e)).c(),I.m(x,C)):I&&(I.d(1),I=null),e[8]?R?R.p(e,t):((R=zr(e)).c(),R.m(x,S)):R&&(R.d(1),R=null),e[12]?A?A.p(e,t):((A=Vr(e)).c(),A.m(x,null)):A&&(A.d(1),A=null),25169920&t[0]|4&t[1]&&$!==($="GameInnerContainer "+(e[12]&&!e[23]&&e[24].value||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"class",$),8392704&t[0]|4&t[1]&&_!==(_="GameInnerContainer "+(e[12]&&!e[23]||e[12]&&e[33]?"GameInnerContainerUnavailable":""))&&fe(a,"part",_),e[10]?D?D.p(e,t):((D=aa(e)).c(),D.m(r,null)):D&&(D.d(1),D=null),8&t[1]&&k!==(k="GameContainer "+e[34])&&fe(r,"class",k),8&t[1]&&M!==(M="GameContainer "+e[34])&&fe(r,"part",M)},i:Y,o:Y,d(e){e&&he(r),n[66](null),F&&F.d(),E&&E.d(),P&&P.d(),I&&I.d(),R&&R.d(),A&&A.d(),D&&D.d(),n[71](null),T=!1,z(W)}}}const oa="blackjack",sa="roulette",la="doubleballroulette",ca=5;function da(a,e,o){let A;yt(a,Mr,e=>o(36,A=e));let i,s,l,c,t,D,B,d,u,O,H,N,h,j,W,U,m,Y,z,V,p,Z,g,K,X,{session:J=""}=e,{userid:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{favorites:x=""}=e,{gamethumbnail:q=""}=e,{gamename:Q=""}=e,{gamevendor:n=""}=e,{gameid:r=""}=e,{gameisnew:ee=""}=e,{gametag:te=""}=e,{gamefunmode:C=!1}=e,{searchitem:ne=!1}=e,{gamefavorite:S=!1}=e,{gamecellsize:re=""}=e,{showfavoredcategory:$=!1}=e,{showgamename:ae=!1}=e,{currency:_=""}=e,{gamepagemodalurl:k="false"}=e,{endpoint:M=""}=e,{livelobbyendpoint:T=""}=e,{connectlive:G=""}=e,{visibilityconnect:F=""}=e,{integratedgameframedesktop:E="false"}=e,{integratedgameframemobile:L="false"}=e,ie=!1,oe=!1,se=!1,P=window.navigator.userAgent,le="HH:mm",ce,de=[],ue="EUR",I="";const he=[oa],me=[sa,la],pe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ge={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},fe=(Object.keys(Ar).forEach(e=>{Rr(e,Ar[e])}),e=>{e.data.type!=="AddFavoriteThumbnail_"+r||$||o(0,S=!0),e.data.type!=="RemoveFavoriteThumbnail_"+r||$||o(0,S=!1),"UserSessionID"===e.data.type&&(o(15,ie=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&o(12,c=null)}),ye=e=>{ne?(window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:""+e,userId:""+(i||"Not logged in")})):"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail",gameId:""+e,userId:""+(i||"Not logged in")}),gt(P)&&"true"==L?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:gt(P),source:"GameThumbnail"},window.location.href):gt(P)&&"false"==L&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:gt(P)},window.location.href),gt(P)||"true"!=E?gt(P)||"false"!=E||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:gt(P)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:C,gamepagemodalurl:k,isMobile:gt(P)},window.location.href)},be=e=>{var t="thumbnail";S?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},ve=()=>{T&&EventSource&&!t&&n&&r&&(t=new EventSource(`${M}/encoder/lobby/updates/${n}/`+r)).addEventListener("message",xe)},we=()=>{t&&(t.close(),t=void 0)},xe=async e=>{const{type:t,data:n}=e;let r;if("message"===t){if(n)try{r=JSON.parse(n)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(r){const{InternalTableId:e,MessageType:t,Results:n,Seats:a,Open:i}=r;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(o(29,h=a),o(12,c.currentOccupiedSeats=a,c),await $e());break;case"RouletteResultsUpdated":n&&Array.isArray(n)&&(j=n,o(12,c.currentRouletteNumbers=n,c),await $e());break;case"DoubleBallRouletteResultsUpdated":n&&Array.isArray(n)&&(W=n,o(12,c.currentDoubleBallRouletteNumbers=n,c),await $e());break;case"TableOpened":case"TableClosed":o(23,d=i),o(12,c.isOpen=i,c),await $e()}}}},Ce=(e,t=",")=>null!=e?(""+e).replace(/\B(?=(\d{3})+(?!\d))/g,t):"",R=(e,t)=>e.some(e=>e===t),Se=()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1)})};return bt(()=>(window.addEventListener("message",fe,!1),()=>{window.removeEventListener("message",fe),t&&t.removeEventListener("message",xe)})),a.$$set=e=>{"session"in e&&o(48,J=e.session),"userid"in e&&o(49,f=e.userid),"lang"in e&&o(1,y=e.lang),"clientstyling"in e&&o(50,b=e.clientstyling),"clientstylingurl"in e&&o(51,v=e.clientstylingurl),"translationurl"in e&&o(52,w=e.translationurl),"favorites"in e&&o(2,x=e.favorites),"gamethumbnail"in e&&o(3,q=e.gamethumbnail),"gamename"in e&&o(4,Q=e.gamename),"gamevendor"in e&&o(5,n=e.gamevendor),"gameid"in e&&o(6,r=e.gameid),"gameisnew"in e&&o(7,ee=e.gameisnew),"gametag"in e&&o(8,te=e.gametag),"gamefunmode"in e&&o(53,C=e.gamefunmode),"searchitem"in e&&o(54,ne=e.searchitem),"gamefavorite"in e&&o(0,S=e.gamefavorite),"gamecellsize"in e&&o(9,re=e.gamecellsize),"showfavoredcategory"in e&&o(55,$=e.showfavoredcategory),"showgamename"in e&&o(10,ae=e.showgamename),"currency"in e&&o(56,_=e.currency),"gamepagemodalurl"in e&&o(57,k=e.gamepagemodalurl),"endpoint"in e&&o(58,M=e.endpoint),"livelobbyendpoint"in e&&o(59,T=e.livelobbyendpoint),"connectlive"in e&&o(60,G=e.connectlive),"visibilityconnect"in e&&o(61,F=e.visibilityconnect),"integratedgameframedesktop"in e&&o(62,E=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(63,L=e.integratedgameframemobile)},a.$$.update=()=>{if(536870912&a.$$.dirty[1]&&G&&("disconnect"===G?we():"connect"===G&&ve()),1073741824&a.$$.dirty[1]&&F&&("disconnect"===F?we():"connect"===F&&"connect"===G&&ve()),2&a.$$.dirty[0]&&y&&(t=y,pt.set(t)),134610944&a.$$.dirty[1]&&J&&f&&M&&(o(15,ie=!0),i=f),8&a.$$.dirty[0]&&q&&s&&o(19,s.onload=()=>{o(18,se=!0)},s),2048&a.$$.dirty[0]|524288&a.$$.dirty[1]&&b&&l){let e=document.createElement("style");e.innerHTML=b,l.appendChild(e)}if(2048&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&v&&l&&Se(),4&a.$$.dirty[0]&&x&&"true"==x&&o(16,oe=!0),2097152&a.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Rr(e,t[e])})}).catch(e=>{console.log(e)}),512&a.$$.dirty[0]|1048576&a.$$.dirty[1]&&re&&v&&Se(),402653184&a.$$.dirty[1]&&M&&T){let e=new URL(""+T.split("?")[0]);e.searchParams.append("platform",ft(P)),e.searchParams.append("language",y),fetch(e).then(e=>e.json()).then(e=>{e=e[0].details;o(12,c=e)})}if(4096&a.$$.dirty[0]&&c&&c&&(o(23,d=c.isOpen),ce=c.betLimit||{},o(24,u=c.openHours),o(25,de=(e=>{N=e.totalSeats||7,o(29,h=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=N;e++)t.push(e);return{seats:t}})(c).seats),u&&u.value&&({startTime:t,originalTimeFormat:e}=u["value"],o(21,B=t),o(22,le=e||le)),d&&o(20,D=(e=>{let t=null;if(e){const n=e["vendorCategory"];if(n){const e=n.toLowerCase();R(he,e)?t=oa:R(me,e)&&(t=sa)}}return t})(c)),o(26,ue=Dr[_]),o(27,O=(ce.min||{})[_]),o(28,H=(ce.max||{})[_]),j=c.currentRouletteNumbers,W=c.currentDoubleBallRouletteNumbers,U=c.vendorCategory,o(30,m=U.toLowerCase()===la),o(13,Y=(m?W:j)||[]),o(31,z="GameProp LiveProps RoulleteProps"),o(31,z+=m?" Double":""),o(32,V=R(me,U.toLowerCase())?ge:pe),Z=p,o(33,p=Array.isArray(h)&&h.length===N),c.dealer&&o(35,K=c.dealer.DealerName),X=c.numberOfPlayers,o(34,I="ListGame"),c.isOpen&&c.currentRouletteNumbers&&o(34,I+=" GameBackdrop"),d&&p&&O&&H&&c.currentOccupiedSeats?o(34,I+=" GameContainerDimmed"):!1===d&&B&&o(34,I+=" GameContainerFullyDimmed"),l&&(!Z&&p?(o(34,I+=" PulsatingRedShadow"),o(34,I=I.replace(" PulsatingGreenShadow",""))):Z&&!p&&(o(34,I+=" PulsatingGreenShadow"),o(34,I=I.replace(" PulsatingRedShadow",""))))),24576&a.$$.dirty[0]&&g&&Y){const n="FirstElementAnimated",r=g.getElementsByClassName("First")[0];r&&(r.classList.add(n),setTimeout(()=>{r.classList.remove(n)},2e3))}var e,t},[S,y,x,q,Q,n,r,ee,te,re,ae,l,c,Y,g,ie,oe,!1,se,s,D,B,le,d,u,de,ue,O,H,h,m,z,V,p,I,K,A,P,ye,be,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},R,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`
|
|
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
|
-
`},J,f,b,v,w,C,ne,$,_,k,M,T,G,F,E,L,pe,ge,function(e){mt[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>be(r),()=>ye(r),()=>be(r),function(e){mt[e?"unshift":"push"](()=>{g=e,o(14,g)})},function(e){mt[e?"unshift":"push"](()=>{l=e,o(11,l)})}]}function ua(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function ha(e,t,n){const r=e.slice();return r[78]=t[n],r[81]=t,r[80]=n,r}function ma(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function pa(e){let n;function r(e){return e[15]?ba:e[25]?ya:void 0}let a=r(e),i=a&&a(e);return{c(){n=me("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&he(n),i&&i.d()}}}function ga(e){let n,r,a;function i(e){return e[19]?Aa:e[16].length?Ia:Ra}let o=i(e),s=o(e);function l(e){return e[16]?Da:Ba}let c=l(e),d=c(e);return{c(){n=me("div"),r=me("div"),s.c(),a=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,a),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(r,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&&he(n),s.d(),d.d()}}}function fa(e){let n;function r(e){return e[21]?ja:Na}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function ya(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f=n[29]("gamesCategorySection.favorites")+"",y=n[28].items.length+"";function b(e){return e[28]?wa:va}let v=b(n),w=v(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(f),s=ge(),l=me("span"),c=pe("("),d=pe(y),u=pe(")"),h=ge(),m=me("ul"),w.c(),fe(l,"class","CategoryFavName"),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(m,"class",p=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(m,"part",g=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(i,s),de(i,l),de(l,c),de(l,d),de(l,u),n[49](i),de(r,h),de(r,m),w.m(m,null),n[50](m)},p(e,t){536870912&t[0]&&f!==(f=e[29]("gamesCategorySection.favorites")+"")&&ye(o,f),268435456&t[0]&&y!==(y=e[28].items.length+"")&&ye(d,y),v===(v=b(e))&&w?w.p(e,t):(w.d(1),(w=v(e))&&(w.c(),w.m(m,null))),268435456&t[0]&&p!==(p=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(m,"class",p),268435456&t[0]&&g!==(g=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(m,"part",g)},d(e){e&&he(r),n[49](null),w.d(),n[50](null)}}}function ba(n){let r,a,i,o,s,l,c=n[15].name+"",d=n[17]&&Fa(n);function u(e){return 0!==e[16].length?La:Ea}let h=u(n),m=h(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(c),s=ge(),d&&d.c(),l=ge(),m.c(),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),n[45](i),de(a,s),d&&d.m(a,null),de(r,l),m.m(r,null)},p(e,t){32768&t[0]&&c!==(c=e[15].name+"")&&ye(o,c),e[17]?d?d.p(e,t):((d=Fa(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),h===(h=u(e))&&m?m.p(e,t):(m.d(1),(m=h(e))&&(m.c(),m.m(r,null)))},d(e){e&&he(r),n[45](null),d&&d.d(),m.d()}}}function va(e){let n,r,a=e[29]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),r=pe(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.waiting")+"")&&ye(r,a)},d(e){e&&he(n)}}}function wa(t){let r,a=t[28].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=Ga(ua(t,a,e));let o=null;return a.length||(o=xa(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(2113933311&n[0]|1&n[1]){let e;for(a=t[28].items,e=0;e<a.length;e+=1){const o=ua(t,a,e);i[e]?i[e].p(o,n):(i[e]=Ga(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=xa(t)).c(),o.m(r.parentNode,r))}},d(e){k(i,e),e&&he(r),o&&o.d(e)}}}function xa(e){let n,r,a,i,o,s,l,c,t,d,u=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(p=e,gt(p[30])?Sa:Ca),m=h(e);var p;return{c(){n=me("p"),r=M("svg"),a=M("path"),i=ge(),o=me("span"),s=pe(u),l=ge(),m.c(),c=ge(),_(a,"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),_(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(gt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(gt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,o),de(o,s),de(n,l),m.m(n,null),de(n,c)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),m.p(e,t)},d(e){e&&he(n),m.d()}}}function Ca(e){let n,r,a=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Sa(e){let n,r,a=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&he(n)}}}function $a(e){let n,r=e[78].gameModel.isFavorite&&_a(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel.isFavorite?r?r.p(e,t):((r=_a(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function _a(e){let n,r=function(e){let n,r,a;function i(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!gt(e[30]):n)?Ma:(r=null==r?!!e[78].gameModel.platform.includes("PC"):r)?ka:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=l()},m(e,t){s&&s.m(e,t),ue(e,a,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(a.parentNode,a)))},d(e){s&&s.d(e),e&&he(a)}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ka(e){let n,r,a,i,o,s,l,c,d,u,h,m,p,g;return{c(){C(n=me("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),C(n,"part",a=""+(x+(e[78].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",i=e[78].gameModel.thumbnail),C(n,"gamename",o=e[78].gameModel.name),C(n,"gamevendor",s=e[78].gameModel.vendor.name),C(n,"gameisnew",l=e[78].gameModel.isNew),C(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),C(n,"gamecellsize",d=e[78].cellSize),C(n,"gameid",u=e[78].gameModel.id),C(n,"gamefunmode",h=e[78].gameModel.hasFunMode),C(n,"gamefavorite",m=e[78].gameModel.isFavorite),C(n,"showfavoredcategory",e[25]),C(n,"connectlive",p=1==e[26][e[78].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[27]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8]),C(n,"gamepagemodalurl",e[9]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&C(n,"class",r),268435456&t[0]&&a!==(a=""+(x+(e[78].cellSize||"1x1")))&&C(n,"part",a),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[78].gameModel.thumbnail)&&C(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&C(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&C(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&C(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&C(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&C(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&C(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&C(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[78].gameModel.isFavorite)&&C(n,"gamefavorite",m),33554432&t[0]&&C(n,"showfavoredcategory",e[25]),335544320&t[0]&&p!==(p=1==e[26][e[78].id]?"connect":"disconnect")&&C(n,"connectlive",p),134217728&t[0]&&C(n,"visibilityconnect",e[27]),128&t[0]&&C(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8]),512&t[0]&&C(n,"gamepagemodalurl",e[9]),1024&t[0]&&C(n,"integratedgameframedesktop",e[10]),2048&t[0]&&C(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ma(e){let n,r=e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"),a=r&&Ta(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=268435456&t[0]?e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=Ta(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function Ta(e){let n,r,a,i,o,s,l,c,d,u,h,m,p,g;return{c(){C(n=me("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),C(n,"part",a=""+(x+(e[78].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",i=e[78].gameModel.thumbnail),C(n,"gamename",o=e[78].gameModel.name),C(n,"gamevendor",s=e[78].gameModel.vendor.name),C(n,"gameisnew",l=e[78].gameModel.isNew),C(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),C(n,"gamecellsize",d=e[78].cellSize),C(n,"gameid",u=e[78].gameModel.id),C(n,"gamefunmode",h=e[78].gameModel.hasFunMode),C(n,"gamefavorite",m=e[78].gameModel.isFavorite),C(n,"showfavoredcategory",e[25]),C(n,"connectlive",p=1==e[26][e[78].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[27]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8]),C(n,"gamepagemodalurl",e[9]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&C(n,"class",r),268435456&t[0]&&a!==(a=""+(x+(e[78].cellSize||"1x1")))&&C(n,"part",a),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[78].gameModel.thumbnail)&&C(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&C(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&C(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&C(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&C(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&C(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&C(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&C(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[78].gameModel.isFavorite)&&C(n,"gamefavorite",m),33554432&t[0]&&C(n,"showfavoredcategory",e[25]),335544320&t[0]&&p!==(p=1==e[26][e[78].id]?"connect":"disconnect")&&C(n,"connectlive",p),134217728&t[0]&&C(n,"visibilityconnect",e[27]),128&t[0]&&C(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8]),512&t[0]&&C(n,"gamepagemodalurl",e[9]),1024&t[0]&&C(n,"integratedgameframedesktop",e[10]),2048&t[0]&&C(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ga(e){let n,r=e[78].gameModel&&$a(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel?r?r.p(e,t):((r=$a(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Fa(n){let r,a,i,o,s,l,c,d,u=n[29]("gamesCategorySection.viewAll")+"",h=n[15].games.total+"";return{c(){r=me("a"),a=me("span"),i=pe(u),o=pe(" ("),s=pe(h),l=pe(")"),fe(a,"class","CategoryLoadMore"),fe(a,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(a,l),c||(d=V(r,"click",n[46]),c=!0)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.viewAll")+"")&&ye(i,u),32768&t[0]&&h!==(h=e[15].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,d()}}}function Ea(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function La(n){let r,e,a,i=n[16],o=[];for(let e=0;e<i.length;e+=1)o[e]=Pa(ha(n,i,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",a=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[48](r)},p(t,n){if(201404415&n[0]|1&n[1]){let e;for(i=t[16],e=0;e<i.length;e+=1){const a=ha(t,i,e);o[e]?o[e].p(a,n):(o[e]=Pa(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}301989888&n[0]&&e!==(e=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),301989888&n[0]&&a!==(a=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",a)},d(e){e&&he(r),k(o,e),n[48](null)}}}function Pa(e){let n,r=function(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y=n[80];const b=()=>n[47](r,y),v=()=>n[47](null,y);return{c(){C(r=me("casino-game-thumbnail"),"session",n[2]),C(r,"userid",n[3]),C(r,"lang",n[1]),C(r,"class",a=""+(x+(n[78].cellSize||"1x1"))),C(r,"part",i=""+(x+(n[78].cellSize||"1x1"))),C(r,"favorites",n[4]),C(r,"gamethumbnail",o=n[78].thumbnail),C(r,"gamename",s=n[78].name),C(r,"gamevendor",l=n[78].vendor.name),C(r,"gameisnew",c=n[78].isNew),C(r,"gametag",d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags)),C(r,"gamecellsize",u=n[78].cellSize),C(r,"gameid",h=n[78].id),C(r,"gamefunmode",m=n[78].hasFunMode),C(r,"gamefavorite",p=n[78].isFavorite),C(r,"connectlive",g=1==n[26][n[78].id]?"connect":"disconnect"),C(r,"visibilityconnect",n[27]),C(r,"currency",n[7]),C(r,"livelobbyendpoint",f=n[78].details?n[78].href:""),C(r,"clientstyling",n[5]),C(r,"clientstylingurl",n[6]),C(r,"endpoint",n[0]),C(r,"livecasino",n[8]),C(r,"gamepagemodalurl",n[9]),C(r,"integratedgameframedesktop",n[10]),C(r,"integratedgameframemobile",n[11])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,4&t[0]&&C(r,"session",n[2]),8&t[0]&&C(r,"userid",n[3]),2&t[0]&&C(r,"lang",n[1]),65536&t[0]&&a!==(a=""+(x+(n[78].cellSize||"1x1")))&&C(r,"class",a),65536&t[0]&&i!==(i=""+(x+(n[78].cellSize||"1x1")))&&C(r,"part",i),16&t[0]&&C(r,"favorites",n[4]),65536&t[0]&&o!==(o=n[78].thumbnail)&&C(r,"gamethumbnail",o),65536&t[0]&&s!==(s=n[78].name)&&C(r,"gamename",s),65536&t[0]&&l!==(l=n[78].vendor.name)&&C(r,"gamevendor",l),65536&t[0]&&c!==(c=n[78].isNew)&&C(r,"gameisnew",c),65536&t[0]&&d!==(d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags))&&C(r,"gametag",d),65536&t[0]&&u!==(u=n[78].cellSize)&&C(r,"gamecellsize",u),65536&t[0]&&h!==(h=n[78].id)&&C(r,"gameid",h),65536&t[0]&&m!==(m=n[78].hasFunMode)&&C(r,"gamefunmode",m),65536&t[0]&&p!==(p=n[78].isFavorite)&&C(r,"gamefavorite",p),67174400&t[0]&&g!==(g=1==n[26][n[78].id]?"connect":"disconnect")&&C(r,"connectlive",g),134217728&t[0]&&C(r,"visibilityconnect",n[27]),128&t[0]&&C(r,"currency",n[7]),65536&t[0]&&f!==(f=n[78].details?n[78].href:"")&&C(r,"livelobbyendpoint",f),32&t[0]&&C(r,"clientstyling",n[5]),64&t[0]&&C(r,"clientstylingurl",n[6]),1&t[0]&&C(r,"endpoint",n[0]),256&t[0]&&C(r,"livecasino",n[8]),512&t[0]&&C(r,"gamepagemodalurl",n[9]),1024&t[0]&&C(r,"integratedgameframedesktop",n[10]),2048&t[0]&&C(r,"integratedgameframemobile",n[11]),y!==n[80]&&(v(),y=n[80],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ia(e){let n,r,a=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ra(e){let n,r,a=e[29]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noResults")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Aa(e){let n,r,a=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ba(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Da(t){let r,a,i=!t[22]&&Oa(t),o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ha(ma(t,o,e));return{c(){i&&i.c(),r=ge(),a=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(a,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,r,t),ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null)},p(t,n){if(t[22]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Oa(t)).c(),i.m(r.parentNode,r)),1118207&n[0]|1&n[1]){let e;for(o=t[16],e=0;e<o.length;e+=1){const i=ma(t,o,e);s[e]?s[e].p(i,n):(s[e]=Ha(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&he(r),e&&he(a),k(s,e)}}}function Oa(e){let n,r,t,a,i=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),r=pe(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",a="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ha(e){let n,r,a,i,o,s,l,c,d,u,h,m,p;return{c(){C(n=me("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),C(n,"part",a=""+(x+(e[78].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"searchitem",e[20]),C(n,"favorites",e[4]),C(n,"gamethumbnail",i=e[78].thumbnail),C(n,"gamename",o=e[78].name),C(n,"gamevendor",s=e[78].vendor.name),C(n,"gameisnew",l=e[78].isNew),C(n,"gametag",c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags)),C(n,"gamecellsize",d=e[78].cellSize),C(n,"gameid",u=e[78].id),C(n,"gamefunmode",h=e[78].hasFunMode),C(n,"gamefavorite",m=e[78].isFavorite),C(n,"currency",e[7]),C(n,"livelobbyendpoint",p=e[78].details?e[78].href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8]),C(n,"gamepagemodalurl",e[9]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){65536&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&C(n,"class",r),65536&t[0]&&a!==(a=""+(x+(e[78].cellSize||"1x1")))&&C(n,"part",a),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),1048576&t[0]&&C(n,"searchitem",e[20]),16&t[0]&&C(n,"favorites",e[4]),65536&t[0]&&i!==(i=e[78].thumbnail)&&C(n,"gamethumbnail",i),65536&t[0]&&o!==(o=e[78].name)&&C(n,"gamename",o),65536&t[0]&&s!==(s=e[78].vendor.name)&&C(n,"gamevendor",s),65536&t[0]&&l!==(l=e[78].isNew)&&C(n,"gameisnew",l),65536&t[0]&&c!==(c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags))&&C(n,"gametag",c),65536&t[0]&&d!==(d=e[78].cellSize)&&C(n,"gamecellsize",d),65536&t[0]&&u!==(u=e[78].id)&&C(n,"gameid",u),65536&t[0]&&h!==(h=e[78].hasFunMode)&&C(n,"gamefunmode",h),65536&t[0]&&m!==(m=e[78].isFavorite)&&C(n,"gamefavorite",m),128&t[0]&&C(n,"currency",e[7]),65536&t[0]&&p!==(p=e[78].details?e[78].href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8]),512&t[0]&&C(n,"gamepagemodalurl",e[9]),1024&t[0]&&C(n,"integratedgameframedesktop",e[10]),2048&t[0]&&C(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Na(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ja(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Wa(n){let r;function a(e){return e[14]?fa:e[18]?ga:pa}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[51](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[51](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},da,ia,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const x="game-tile-";function Ua(e,t,s){let A;yt(e,Mr,e=>s(29,A=e));let i,o,l,n,B,r,c,a,d,u,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:m=""}=t,{lang:p=""}=t,{session:O=""}=t,{userid:H=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:N=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:W="false"}=t,{visiblegames:U=""}=t,{gamepagemodalurl:Y="false"}=t,{integratedgameframedesktop:z="false"}=t,{integratedgameframemobile:V="false"}=t,{once:Z=!0}=t,{top:K=0}=t,{bottom:X=0}=t,{left:J=0}=t,{right:q=0}=t,w=!1,x=!0,Q=window.navigator.userAgent,C=[],S=!0,$=40,_=!1,k=!1,ee=!1,M=!1,T=!1,G=!0,F=!1,E=!1,te=!1,L=new Array(1e4),P={},ne="",I={items:[],count:0,name:""},re=(Object.keys(Er).forEach(e=>{Fr(e,Er[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>$&&oe(v),s(26,P[t]=1,P)):s(26,P[t]=0,P)})}));const ae=(e,r,a,t=0)=>{let n,i="",o=(i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${m}/${n}/subGroups`)):new URL(`${h}/casino/groups/${m}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",ft(Q)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===x&&!1===F){let t="";s(21,T=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(21,T=!1);fetch(i).then(e=>e.json()).then(e=>{1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),s(44,u=!0),s(14,w=!1),B=e.games.total,t(e)},e=>{s(14,w=!0),console.error(e),n(e)})})},ie=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(18,_=!1),x=!1,s(17,S=!1),E=!0,s(16,C=t.data.mostPlayedGames),s(15,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(18,_=!1),x=!1,s(17,S=!1),E=!1,s(16,C=t.data.lastPlayedGames),s(15,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(18,_=!0),E=!1,s(19,k=!0),0<t.data.searchData.length?(s(16,C=t.data.searchData),s(22,G=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(s(16,C=[]),s(22,G=!1));break;case"OutOfRecentSearches":s(18,_=!1),s(19,k=!1);break;case"SearchData":s(18,_=!0),E=!1,s(19,k=!1),s(16,C=t.data.searchData.items||[]),s(20,M=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:s(18,_=!1),x=!0,s(17,S=!0),s(20,M=!1),E=!1,te=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),ae(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(15,l=e),s(16,C=l.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":$=20;break;case"CategoryUpdate":s(18,_=!1),x=!1,s(20,M=!1),E=!1,te=!0,s(33,v=t.data.itemId),"MOSTPLAYED"!==v&&s(17,S=!1),ae(0,0,$).then(e=>{s(15,l=e),l.games.items.forEach(e=>{e.isFavorite=R(e.id)}),s(16,C=l.games.items),s(17,S=!1),C.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":E=!1,x=!0,s(16,C=l.games.items),C.forEach(e=>{e.isFavorite=R(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;F?x||E||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;x=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,I.items=(n=e,I.items,a=window.navigator.userAgent,gt(a)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),I),s(28,I.name="Favorites",I),s(25,F=!0));break;case"UserSessionID":if(i=t.data.session,o=t.data.userID,"true"==g&&o&&o.length&&i&&0<i.length){var r=`${h}/player/${o}/favorites/`;let e={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{c=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;s(16,C=void 0),s(16,C=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,a},oe=e=>{($+=1)<=B&&ae(0,0,$).then(e=>{s(15,l=e),l.games.items.length>C.length&&(s(16,C=l.games.items),C.forEach(e=>{e.isFavorite=R(e.id)}))})},R=t=>!!c&&-1!==c.findIndex(e=>e.id==t),se=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return bt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(27,ne="disconnect"):s(27,ne="connect")}),window.addEventListener("message",ie,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ie),window.removeEventListener("visibilitychange",ie)})),e.$$set=e=>{"categoryindex"in e&&s(34,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(35,m=e.datasource),"lang"in e&&s(1,p=e.lang),"session"in e&&s(2,O=e.session),"userid"in e&&s(3,H=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"translationurl"in e&&s(36,b=e.translationurl),"currency"in e&&s(7,N=e.currency),"categoryid"in e&&s(33,v=e.categoryid),"categorygames"in e&&s(37,j=e.categorygames),"livecasino"in e&&s(8,W=e.livecasino),"visiblegames"in e&&s(38,U=e.visiblegames),"gamepagemodalurl"in e&&s(9,Y=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"once"in e&&s(39,Z=e.once),"top"in e&&s(40,K=e.top),"bottom"in e&&s(41,X=e.bottom),"left"in e&&s(42,J=e.left),"right"in e&&s(43,q=e.right)},e.$$.update=()=>{if(8192&e.$$.dirty[0]|8192&e.$$.dirty[1]&&u&&L&&te&&L.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fr(e,t[e])})}).catch(e=>{console.log(e)}),4128&e.$$.dirty[0]&&f&&a){let e=document.createElement("style");e.innerHTML=f,a.appendChild(e)}if(4160&e.$$.dirty[0]&&y&&a){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[h,p,O,H,g,f,y,N,W,Y,z,V,a,L,w,l,C,S,_,k,M,T,G,n,r,F,P,ne,I,A,Q,r=>{if(0===(null==r?void 0:r.length))return"";let a,i,o=99999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ir(e).diff(s)<o&&(o=Ir(e).diff(s),i=t),Ir(s).isAfter(n)&&Ir(s).isBefore(e)&&(a=r[i].name)}),a},se,v,D,m,b,j,U,Z,K,X,J,q,u,function(e){mt[e?"unshift":"push"](()=>{r=e,s(24,r)})},e=>se(l.id),function(e,t){mt[e?"unshift":"push"](()=>{L[t]=e,s(13,L)})},function(e){mt[e?"unshift":"push"](()=>{n=e,s(23,n)})},function(e){mt[e?"unshift":"push"](()=>{r=e,s(24,r)})},function(e){mt[e?"unshift":"push"](()=>{n=e,s(23,n)})},function(e){mt[e?"unshift":"push"](()=>{a=e,s(12,a)})}]}function Ya(e,t){sr(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Ua,Wa,t,{categoryindex:34,endpoint:0,datasource:35,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:36,currency:7,categoryid:33,categorygames:37,livecasino:8,visiblegames:38,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:39,top:40,bottom:41,left:42,right:43},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[34]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[35]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[33]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[37]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[38]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get once(){return this.$$.ctx[39]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[40]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[41]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[42]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[43]}set right(e){this.$$set({right:e}),f()}});const za={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Va(e,t,n){const r=e.slice();return r[34]=t[n],r[36]=n,r}function Za(n){let r,a,i,o,s,l,c,d=!n[7]&&Ka(n),u=n[7]&&Ja(n);return{c(){r=me("div"),a=me("div"),(i=me("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),d&&d.c(),s=ge(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),d&&d.m(a,null),de(a,s),u&&u.m(a,null),l||(c=V(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ka(e)).c(),d.m(a,s)),e[7]?u?u.p(e,t):((u=Ja(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ka(t){let n,r,a,i,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Xa(Va(t,l,e));return{c(){n=me("div"),r=me("main"),a=me("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=me("p"),s=pe(e),fe(a,"class","items"),fe(a,"part","items"),_(a,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a);for(let e=0;e<c.length;e+=1)c[e].m(a,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 r=Va(t,l,e);c[e]?c[e].p(r,n):(c[e]=Xa(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&_(a,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),k(c,e)}}}function Xa(e){let n,r,a,i,o,s;return{c(){n=me("div"),r=me("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,a=e[34].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[34].name),fe(r,"title",o=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,a=e[34].thumbnail)&&fe(r,"src",a),16&t[0]&&i!==(i=e[34].name)&&fe(r,"alt",i),16&t[0]&&o!==(o=e[34].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Ja(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w,x,C,S=n[3].name+"",$=n[3].vendor.name+"",_=n[8]("randomGame.playNowRandomGame")+"";return{c(){r=me("div"),a=me("div"),i=me("img"),c=ge(),(d=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=me("div"),m=me("p"),p=pe(S),g=ge(),f=me("p"),y=pe($),b=ge(),v=me("button"),w=pe(_),fe(i,"class","RandomGameImage"),fe(i,"part","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(d,"part","RandomTryAgain"),fe(a,"class","item"),fe(a,"part","item"),fe(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,c),de(a,d),de(r,u),de(r,h),de(h,m),de(m,p),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||(C=[V(d,"click",n[20]),V(v,"click",n[21])],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]&&S!==(S=e[3].name+"")&&ye(p,S),8&t[0]&&$!==($=e[3].vendor.name+"")&&ye(y,$),256&t[0]&&_!==(_=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,_)},d(e){e&&he(r),x=!1,z(C)}}}function qa(e){let n,r,a=e[8]("randomGame.playRandomGame")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&a!==(a=e[8]("randomGame.playRandomGame")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Qa(e){let n,r;return{c(){n=me("span"),r=pe(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&he(n)}}}function ei(n){let r,a,i,o,s,l,c,d,u=n[5]&&Za(n);function h(e){return e[1]?Qa:e[1]?void 0:qa}let m=h(n),p=m&&m(n);return{c(){r=me("div"),u&&u.c(),a=ge(),i=me("div"),o=me("button"),p&&p.c(),s=ge(),l=me("span"),this.c=Y,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(i,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,a),de(r,i),de(i,o),p&&p.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](r),c||(d=V(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Za(e)).c(),u.m(r,a)):u&&(u.d(1),u=null),m===(m=h(e))&&p?p.p(e,t):(p&&p.d(1),(p=m&&m(e))&&(p.c(),p.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:Y,o:Y,d(e){e&&he(r),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function ti(t,e,n){let r;yt(t,Mr,e=>n(8,r=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:h=""}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,x=!1,C=window.navigator.userAgent;var S,$;({withLocale:S,translations:$}={withLocale:"en",translations:{}}),pt.subscribe(e=>{null==e&&(ir.set($),pt.set(S))}),Object.keys(za).forEach(e=>{Ya(e,za[e])});const _=()=>{n(4,a=M(a)),n(6,v=0),w=0,n(7,x=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},k=e=>{if(g)for(;_(),!g.includes(y.vendor.name););else _();let t=setInterval(()=>{n(6,v-=100),20==++w&&(n(7,x=!0),clearInterval(t))},100);e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},M=e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e},T=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,h=e.translationurl),"clientstyling"in e&&n(17,m=e.clientstyling),"clientstylingurl"in e&&n(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,pt.set(e)),65536&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ya(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",ft(C)),e.searchParams.append("datasource",s),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,a=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&m&&i){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(262148&t.$$.dirty[0]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e},[d,u,i,y,a,b,v,x,r,k,T,()=>{n(5,b=!1)},o,s,l,c,h,m,p,g,()=>k(!0),()=>T(),()=>k(),function(e){mt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function ni(e,t){sr(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},ti,ei,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const ri={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function ai(e,t,n){const r=e.slice();return r[60]=t[n],r}function ii(e,t,n){const r=e.slice();return r[63]=t[n],r}function oi(n){let i,r,o,a,s,l,c,d,e,u,h,m,p,g,f,y,b,v,w,x,C=n[14],S=[];for(let e=0;e<C.length;e+=1)S[e]=di(ii(n,C,e));let $=n[8],_=[];for(let e=0;e<$.length;e+=1)_[e]=ui(ai(n,$,e));return{c(){i=me("div"),r=me("div"),o=me("div");for(let e=0;e<S.length;e+=1)S[e].c();a=ge(),s=me("div"),l=me("button"),c=M("svg"),d=M("path"),u=ge(),h=me("button"),m=M("svg"),p=M("path"),y=ge(),b=me("div");for(let e=0;e<_.length;e+=1)_[e].c();fe(o,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(p,"style",g=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,o);for(let e=0;e<S.length;e+=1)S[e].m(o,null);de(r,a),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,h),de(h,m),de(m,p),de(i,y),de(i,b);for(let e=0;e<_.length;e+=1)_[e].m(b,null);n[40](b),w||(x=[V(l,"click",n[37]),V(h,"click",n[38])],w=!0)},p(t,n){if(114819&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=ii(t,C,e);S[e]?S[e].p(r,n):(S[e]=di(r),S[e].c(),S[e].m(o,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=C.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&g!==(g=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),436492&n[0]){let e;for($=t[8],e=0;e<$.length;e+=1){var a=ai(t,$,e);_[e]?_[e].p(a,n):(_[e]=ui(a),_[e].c(),_[e].m(b,null))}for(;e<_.length;e+=1)_[e].d(1);_.length=$.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),k(S,e),k(_,e),n[40](null),w=!1,z(x)}}}function si(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function li(n){let r,a,i,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=me("button"),a=pe(l),fe(r,"class",i="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=V(r,"click",n[35]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(a,l),129&t[0]&&i!==(i="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&he(r),o=!1,s()}}}function ci(n){let r,a,i,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=me("button"),a=pe(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=V(r,"click",n[36]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(a,c),130&t[0]&&o!==(o="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function di(e){let n,r,a="recent"==e[63]&&li(e),i="top"==e[63]&&ci(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[63]?a?a.p(e,t):((a=li(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[63]?i?i.p(e,t):((i=ci(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&he(n),i&&i.d(e),e&&he(r)}}}function ui(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w,x,C,S,$,_,k,M=n[60].gameName+"",T=n[17](n[60].username)+"",G=n[15]("Translations.won")+"",F=n[60].specifiedCurrencyAmount.toFixed(2)+"",E=(n[11]?n[3]:n[2])+"";function L(){return n[39](n[60])}return{c(){r=me("div"),a=me("div"),i=me("img"),l=ge(),c=me("p"),d=pe(M),u=ge(),h=me("p"),m=pe(T),p=ge(),g=me("p"),f=pe(G),y=ge(),b=me("p"),v=pe(F),w=ge(),x=me("span"),C=pe(E),S=ge(),ce(i.src,o=n[60]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[60]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",$="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,l),de(a,c),de(c,d),de(a,u),de(a,h),de(h,m),de(a,p),de(a,g),de(g,f),de(a,y),de(a,b),de(b,v),de(b,w),de(b,x),de(x,C),de(r,S),_||(k=V(i,"click",L),_=!0)},p(e,t){n=e,256&t[0]&&!ce(i.src,o=n[60]?.gameModel?.thumbnail)&&fe(i,"src",o),256&t[0]&&s!==(s=n[60]?.gameModel?.thumbnail)&&fe(i,"alt",s),256&t[0]&&M!==(M=n[60].gameName+"")&&ye(d,M),256&t[0]&&T!==(T=n[17](n[60].username)+"")&&ye(m,T),32768&t[0]&&G!==(G=n[15]("Translations.won")+"")&&ye(f,G),256&t[0]&&F!==(F=n[60].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,F),2060&t[0]&&E!==(E=(n[11]?n[3]:n[2])+"")&&ye(C,E),8192&t[0]&&$!==($="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",$)},d(e){e&&he(r),_=!1,k()}}}function hi(n){let r;function a(e){return e[12]?si:oi}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[41](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[41](null)}}}function mi(t,e,r){let n;yt(t,Mr,e=>r(15,n=e));let a,i,o,s,A,l,B,c,d,u,{endpoint:h=""}=e,{session:m=""}=e,{userid:p=""}=e,{periodrecent:g="Today"}=e,{periodtop:f="Last7Days"}=e,{numberusersrecent:y="20"}=e,{numberuserstop:b="20"}=e,{amountlimit:v="1"}=e,{lang:w="en"}=e,{isrecentavailable:x="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:S=""}=e,{usercurrency:$=""}=e,{clientstyling:_=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:T=""}=e,{translationurl:G=""}=e,F=[],E=0,L=0,D=window.navigator.userAgent,O=!0,P=!1;Object.keys(ri).forEach(e=>{ni(e,ri[e])});const H=()=>{const e=new URL(`${h}/casino/${i}-winners`);e.searchParams.append("limit","recent"==i?y:b),e.searchParams.append("specifiedCurrency",u),e.searchParams.append("period","recent"==i?g:f),e.searchParams.append("language",w),e.searchParams.append("amountLimit",v),fetch(e.href).then(e=>e.json()).then(e=>{r(8,F=[]),r(8,F=e.items.map(e=>e)),r(12,O=!1),setTimeout(()=>{r(9,L=Math.round(a.offsetWidth/225)),j(),"true"==M&&(E=0,L<B?c=setInterval(()=>{R()},3e3):clearInterval(c))})})},I=e=>{i!==e&&(r(7,i=e),r(8,F=[]),H())},N=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(A||"Not logged in")})},j=n=>{const e=[...a.children];B=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==i?setTimeout(()=>{r(13,P=!0)},10):r(13,P=!1)},W=()=>{j(E)},U=()=>{var e=F.length;L>=F.length||(0===E?E=e-L:E-L<0?E=0:E-=L,W())},R=()=>{var e=F.length;L>=F.length||("true"==M&&(E===e-L?E=0:E++),"false"==M&&(E===e-L?E=0:e-L<E+L?E=e-L:E+=L),W())},Y=()=>{r(34,u=s?$:S)};return bt(()=>(r(10,o=gt(D)),()=>{clearInterval(c)})),t.$$set=e=>{"endpoint"in e&&r(22,h=e.endpoint),"session"in e&&r(23,m=e.session),"userid"in e&&r(24,p=e.userid),"periodrecent"in e&&r(25,g=e.periodrecent),"periodtop"in e&&r(26,f=e.periodtop),"numberusersrecent"in e&&r(27,y=e.numberusersrecent),"numberuserstop"in e&&r(28,b=e.numberuserstop),"amountlimit"in e&&r(21,v=e.amountlimit),"lang"in e&&r(29,w=e.lang),"isrecentavailable"in e&&r(0,x=e.isrecentavailable),"istopavailable"in e&&r(1,C=e.istopavailable),"defaultcurrency"in e&&r(2,S=e.defaultcurrency),"usercurrency"in e&&r(3,$=e.usercurrency),"clientstyling"in e&&r(30,_=e.clientstyling),"clientstylingurl"in e&&r(31,k=e.clientstylingurl),"enableautoscroll"in e&&r(4,M=e.enableautoscroll),"tabsorder"in e&&r(32,T=e.tabsorder),"translationurl"in e&&r(33,G=e.translationurl)},t.$$.update=()=>{if(1042284547&t.$$.dirty[0]|2&t.$$.dirty[1]&&x&&C&&g&&f&&y&&b&&v&&w&&T&&(r(14,d=T.split(",")),r(7,i=d[0]),"false"==x&&r(21,v=""),Y()),12582912&t.$$.dirty[0]&&m&&h&&(r(11,s=!0),A=p,Y()),4194320&t.$$.dirty[0]|8&t.$$.dirty[1]&&h&&u&&M&&H(),536870912&t.$$.dirty[0]&&w&&(e=w,pt.set(e)),4&t.$$.dirty[1]&&G&&fetch(G).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ni(e,t[e])})}).catch(e=>{console.log(e)}),1073741856&t.$$.dirty[0]&&_&&l){let e=document.createElement("style");e.innerHTML=_,l.appendChild(e)}if(32&t.$$.dirty[0]|1&t.$$.dirty[1]&&k&&l){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[x,C,S,$,M,l,a,i,F,L,o,s,O,P,d,n,I,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),N,U,R,v,h,m,p,g,f,y,b,w,_,k,T,G,u,()=>I("recent"),()=>I("top"),()=>U(),()=>R(),e=>N(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){mt[e?"unshift":"push"](()=>{a=e,r(6,a)})},function(e){mt[e?"unshift":"push"](()=>{l=e,r(5,l)})}]}function pi(e,t){sr(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},mi,hi,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,lang:29,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:30,clientstylingurl:31,enableautoscroll:4,tabsorder:32,translationurl:33},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[29]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[32]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[33]}set translationurl(e){this.$$set({translationurl:e}),f()}});const gi={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function fi(e,t,n){const r=e.slice();return r[49]=t[n],r[51]=n,r}function yi(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v;function w(e){return e[5]?wi:xi}let x=w(n),C=x(n);return{c(){r=me("div"),a=me("div"),i=me("div"),o=me("div"),s=me("img"),c=ge(),d=me("div"),C.c(),u=ge(),h=me("div"),m=me("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(m.src,p=n[11])||fe(m,"src",p),fe(m,"alt",""),fe(h,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,c),de(i,d),C.m(d,null),de(i,u),de(i,h),de(h,m),b||(v=V(a,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(d,null))),2048&t[0]&&!ce(m.src,p=e[11])&&fe(m,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&_(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),C.d(),b=!1,v()}}}function bi(e){let n,r,a=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16384&t[0]&&a!==(a=e[14]("jackpotBanners.loadingText")+"")&&ye(r,a)},d(e){e&&he(n)}}}function vi(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function wi(e){let n,r,a,i,o,s,B,l,c,D,O,d,H,N,u,h,m,p,g,j,f,y,W,U,b,Y,z,v,w,x,C,S,$,V,_,k,Z,K,M,X,J,T,G,F,E,L,q,P,I,Q,ee,R,te,A=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=me("div"),r=me("div"),a=me("div"),i=me("img"),s=me("span"),B=pe(A),l=me("span"),c=me("span"),D=pe(ne),O=ge(),d=me("span"),H=pe(e[1]),N=ge(),u=me("div"),h=me("div"),m=me("img"),g=me("span"),j=pe(re),f=me("span"),y=me("span"),W=pe(ae),U=ge(),b=me("span"),Y=pe(e[1]),z=ge(),v=me("div"),w=me("div"),x=me("div"),C=me("img"),$=me("span"),V=pe(ie),_=me("span"),k=me("span"),Z=pe(oe),K=ge(),M=me("span"),X=pe(e[1]),J=ge(),T=me("div"),G=me("div"),F=me("img"),L=me("span"),q=pe(se),P=me("span"),I=me("span"),Q=pe(le),ee=ge(),R=me("span"),te=pe(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(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(m,"class","displayCardIcon"),ce(m.src,p=e[9][1])||fe(m,"src",p),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,S=e[9][2])||fe(C,"src",S),fe(C,"alt",""),fe($,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(_,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(F,"class","displayCardIcon"),ce(F.src,E=e[9][3])||fe(F,"src",E),fe(F,"alt",""),fe(L,"class","cardLabel"),fe(G,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(a,i),de(a,s),de(s,B),de(r,l),de(l,c),de(c,D),de(l,O),de(l,d),de(d,H),de(n,N),de(n,u),de(u,h),de(h,m),de(h,g),de(g,j),de(u,f),de(f,y),de(y,W),de(f,U),de(f,b),de(b,Y),ue(e,z,t),ue(e,v,t),de(v,w),de(w,x),de(x,C),de(x,$),de($,V),de(w,_),de(_,k),de(k,Z),de(_,K),de(_,M),de(M,X),de(v,J),de(v,T),de(T,G),de(G,F),de(G,L),de(L,q),de(T,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&A!==(A=e[8][0]+"")&&ye(B,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(H,e[1]),512&t[0]&&!ce(m.src,p=e[9][1])&&fe(m,"src",p),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(W,ae),2&t[0]&&ye(Y,e[1]),512&t[0]&&!ce(C.src,S=e[9][2])&&fe(C,"src",S),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(X,e[1]),512&t[0]&&!ce(F.src,E=e[9][3])&&fe(F,"src",E),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(z),e&&he(v)}}}function xi(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=Ci(fi(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=fi(t,i,e);o[e]?o[e].p(r,n):(o[e]=Ci(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function Ci(e){let n,r,a,i,o,s,l,c,d,u,h,m,p=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=me("div"),r=me("div"),a=me("img"),o=me("span"),s=pe(p),l=me("span"),c=me("span"),d=pe(g),u=ge(),h=me("span"),m=pe(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[51]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,m)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[51]])&&fe(a,"src",i),256&t[0]&&p!==(p=e[8][e[51]]+"")&&ye(s,p),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(m,e[1])},d(e){e&&he(n)}}}function Si(n){let r;function a(e){return e[13]?vi:e[3]?bi:yi}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[33](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[33](null)}}}function $i(n,e,r){let t;yt(n,Mr,e=>r(14,t=e));let a,i,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:m=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:C=""}=e,A=window.navigator.userAgent,S=!1,$=!1,_="",k=[],M=[],T=[],G=[],F=[],E="",L="",P=!1,I=!0,B=!1;Object.keys(gi).forEach(e=>{pi(e,gi[e])});const R=["typeSpread","typeLeft"],D=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:C},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+C})};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,d=e.caticon2),"caticon3"in e&&r(20,u=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,m=e.backgroundsrc),"currency"in e&&r(1,p=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"translationurl"in e&&r(28,w=e.translationurl),"endpoint"in e&&r(29,x=e.endpoint),"gameid"in e&&r(30,C=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&x&&(t=new URL(x+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&a&&b){let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)}if(134217732&n.$$.dirty[0]&&a&&v){r(12,P=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{r(12,P=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&x&&y&&p&&0<M.length&&(x&&y&&p)){let e=new URL(x+"/casino/jackpots");e.searchParams.append("filter","id="+C),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",p),fetch(e.href).then(e=>e.json().then(e=>{r(3,I=!1),i=e,M.includes(C)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>k.push(+e)),r(6,_=i.items[0].vendorLogo))}).catch(e=>{r(13,B=!0),r(3,I=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&p&&y&&!I&&(r(4,S=gt(A)&&1<window.innerHeight/window.innerWidth),r(5,$=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==k.length&&r(7,T=k.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,G=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`),r(0,o=R[0])),r(10,E=g&&S&&!$?g:m),r(11,L=f),r(9,F=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,pt.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{pi(e,t[e])})}).catch(e=>{console.log(e)})},[o,p,a,I,S,$,_,T,G,F,E,L,P,B,t,D,s,l,c,d,u,h,m,g,f,y,b,v,w,x,C,M,()=>D(),function(e){mt[e?"unshift":"push"](()=>{a=e,r(2,a)})}]}function _i(e,t){sr(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends W{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},$i,Si,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const ki={en:{Translations:{collections:"Game Collections",providers:"Game Providers"}},zh:{Translations:{collections:"Game Collections",providers:"Game Providers"}},de:{Translations:{collections:"Game Collections",providers:"Game Providers"}},it:{Translations:{collections:"Game Collections",providers:"Game Providers"}},fr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},es:{Translations:{collections:"Game Collections",providers:"Game Providers"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers"}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers"}}};function Mi(e,t,n){const r=e.slice();return r[39]=t[n],r}function Ti(e,t,n){const r=e.slice();return r[42]=t[n],r}function Gi(n){let a,r,i,o,s,l,c,d,u,h,m,e,p,g,f=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",y=n[2],b=[];for(let e=0;e<y.length;e+=1)b[e]=Ii(Mi(n,y,e));return{c(){a=me("div"),r=me("div"),i=me("p"),o=pe(f),s=ge(),l=me("div"),(c=me("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=ge(),(u=me("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>',h=ge(),m=me("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(m,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(a,h),de(a,m);for(let e=0;e<b.length;e+=1)b[e].m(m,null);n[22](m),p||(g=[V(c,"click",n[18]),V(u,"click",n[19])],p=!0)},p(t,n){if(129&n[0]&&f!==(f=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(o,f),3078&n[0]){let e;for(y=t[2],e=0;e<y.length;e+=1){var r=Mi(t,y,e);b[e]?b[e].p(r,n):(b[e]=Ii(r),b[e].c(),b[e].m(m,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&he(a),k(b,e),n[22](null),p=!1,z(g)}}}function Fi(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Ei(e){let n,r,a=e[39].name+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){4&t[0]&&a!==(a=e[39].name+"")&&ye(r,a)},d(e){e&&he(n)}}}function Li(e){let n,r,a;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",a=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),4&t[0]&&a!==(a=e[39].name+" icon")&&fe(n,"alt",a)},d(e){e&&he(n)}}}function Pi(n){let r,a,i,o,s;function l(){return n[20](n[42])}return{c(){fe(r=me("img"),"class","CategorySlideGameImage"),ce(r.src,a=n[42].defaultThumbnail)||fe(r,"src",a),fe(r,"alt",i=n[42].name)},m(e,t){var n;ue(e,r,t),o||(s=V(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[42].defaultThumbnail)&&fe(r,"src",a),4&t[0]&&i!==(i=n[42].name)&&fe(r,"alt",i)},d(e){e&&he(r),o=!1,s()}}}function Ii(n){let r,a,i,o,s,l,c,d,u;function h(e){return"logo"==e[1]?Li:"title"==e[1]?Ei:void 0}let m=h(n),p=m&&m(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=Pi(Ti(n,g,e));function y(){return n[21](n[39])}return{c(){r=me("div"),a=me("div"),i=me("div"),p&&p.c(),o=ge(),s=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(a,"background-image","url("+n[39]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,a),de(a,i),p&&p.m(i,null),de(a,o),de(a,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(r,c),d||(u=V(a,"click",y),d=!0)},p(e,t){if(m===(m=h(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(i,null))),1028&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const a=Ti(n,g,e);f[e]?f[e].p(a,t):(f[e]=Pi(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),4&t[0]&&_(a,"background-image","url("+n[39]?.background+")")},d(e){e&&he(r),p&&p.d(),k(f,e),d=!1,u()}}}function Ri(n){let r;function a(e){return e[5]?Fi:Gi}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[23](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[23](null)}}}function Ai(n,e,r){let t;yt(n,Mr,e=>r(7,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:m=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,y=[],b=!0,v=0,w=0,x=0,C=window.navigator.userAgent;Object.keys(ki).forEach(e=>{_i(e,ki[e])});const S=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),x=Math.round(a.offsetWidth/i)},$=()=>{S(v)},_=()=>{x>=w||(0===v?v=w-x:v-x<-1?v=0:v--,$())},k=()=>{x>=w||(v===w-x?v=0:w-x<v+1?v=w-x:v++,$())},M=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},T=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return bt(()=>{r(6,l=gt(C))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,d=e.datasource),"lang"in e&&r(14,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,m=e.titletype),"clientstyling"in e&&r(15,p=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl),"translationurl"in e&&r(17,f=e.translationurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(5,b=!1);let t=e.items.filter(e=>e.flags==h);r(2,y=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),w=y.length})}if(12&n.$$.dirty[0]&&y&&a&&S(),16384&n.$$.dirty[0]&&u&&(e=u,pt.set(e)),32784&n.$$.dirty[0]&&p&&s){let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)}if(65552&n.$$.dirty[0]&&g&&s){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;131072&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_i(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,y,a,s,b,l,t,_,k,M,T,c,d,u,p,g,f,()=>_(),()=>k(),e=>M(e.gameId,e.launchUrl,e.name),e=>T(e.id),function(e){mt[e?"unshift":"push"](()=>{a=e,r(3,a)})},function(e){mt[e?"unshift":"push"](()=>{s=e,r(4,s)})}]}function Bi(n){let r,a,i,o,s;return{c(){r=me("div"),a=me("casino-games-category-section"),this.c=Y,C(a,"session",n[0]),C(a,"userid",n[1]),C(a,"endpoint",n[2]),C(a,"datasource",n[3]),C(a,"lang",n[5]),C(a,"currency",n[4]),C(a,"favorites",n[13]),C(a,"categoryid","FAVORITES"),C(a,"class","CategoryContainer"),C(a,"clientstyling",n[6]),C(a,"clientstylingurl",n[7]),C(a,"livecasino",n[8]),C(a,"visiblegames",n[12]),C(a,"gamepagemodalurl",n[11]),C(a,"integratedgameframedesktop",n[10]),C(a,"integratedgameframemobile",n[9]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,a),n[17](r),o||(s=F(i=n[15].call(null,a,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,t){1&t[0]&&C(a,"session",e[0]),2&t[0]&&C(a,"userid",e[1]),4&t[0]&&C(a,"endpoint",e[2]),8&t[0]&&C(a,"datasource",e[3]),32&t[0]&&C(a,"lang",e[5]),16&t[0]&&C(a,"currency",e[4]),8192&t[0]&&C(a,"favorites",e[13]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7]),256&t[0]&&C(a,"livecasino",e[8]),4096&t[0]&&C(a,"visiblegames",e[12]),2048&t[0]&&C(a,"gamepagemodalurl",e[11]),1024&t[0]&&C(a,"integratedgameframedesktop",e[10]),512&t[0]&&C(a,"integratedgameframemobile",e[9]),i&&T(i.update)&&7&t[0]&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:Y,o:Y,d(e){e&&he(r),n[17](null),o=!1,s()}}}function Di(e,t,l){let n,r,{endpoint:c=""}=t,{datasource:a=""}=t,{currency:i=""}=t,{lang:o=""}=t,{session:d=""}=t,{userid:u=""}=t,{clientstyling:s=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,w=[];var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),pt.subscribe(e=>{null==e&&(ir.set(C),pt.set(x))});const S=n=>{if(n.data)switch(n.data.type){case"UserSessionID":l(0,d=n.data.session),l(1,u=n.data.userID),u&&u.length&&d&&0<d.length&&$(c,d,u);break;case"SetUnfavoredGame":t=`${c}/player/${u}/favorites`,o=d,u,s=n.data.id,n.data.triggerFactor,w.includes(s)&&(w=w.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),_(t,o)});break;case"SetFavoredGame":{var r=`${c}/player/${u}/favorites`;var a=d;u;var i=n.data.id;n.data.triggerFactor;w.includes(i)||w.push(i);let e={items:w},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),_(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":u&&u.length&&d&&0<d.length&&$(c,d,u)}var t,o,s};let $=(e,t,n)=>{"true"==b&&d&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(k(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),M(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let _=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,k(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const k=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},M=(e=[])=>(w=[],0<e.length&&e.forEach(e=>{w.push(e.id)}),w);return bt(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})),e.$$set=e=>{"endpoint"in e&&l(2,c=e.endpoint),"datasource"in e&&l(3,a=e.datasource),"currency"in e&&l(4,i=e.currency),"lang"in e&&l(5,o=e.lang),"session"in e&&l(0,d=e.session),"userid"in e&&l(1,u=e.userid),"clientstyling"in e&&l(6,s=e.clientstyling),"clientstylingurl"in e&&l(7,h=e.clientstylingurl),"livecasino"in e&&l(8,m=e.livecasino),"integratedgameframemobile"in e&&l(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&l(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&l(11,f=e.gamepagemodalurl),"visiblegames"in e&&l(12,y=e.visiblegames),"favorites"in e&&l(13,b=e.favorites),"categoryid"in e&&l(16,v=e.categoryid)},e.$$.update=()=>{if(8231&e.$$.dirty[0]&&c&&u&&d&&o&&b&&"true"==b&&$(c,d,u),16448&e.$$.dirty[0]&&s&&n){let e=document.createElement("style");e.innerHTML=s,n.appendChild(e)}if(16512&e.$$.dirty[0]&&h&&n){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[d,u,c,a,i,o,s,h,m,p,g,f,y,b,n,$,v,function(e){mt[e?"unshift":"push"](()=>{n=e,l(14,n)})}]}function Oi(e){let n;return{c(){C(n=me("casino-games-category-section"),"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[13]),C(n,"categoryid","LASTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[8]),C(n,"visiblegames",e[12]),C(n,"gamepagemodalurl",e[11]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t&&C(n,"session",e[4]),32&t&&C(n,"userid",e[5]),1&t&&C(n,"endpoint",e[0]),2&t&&C(n,"datasource",e[1]),8&t&&C(n,"lang",e[3]),4&t&&C(n,"currency",e[2]),8192&t&&C(n,"favorites",e[13]),64&t&&C(n,"clientstyling",e[6]),128&t&&C(n,"clientstylingurl",e[7]),256&t&&C(n,"livecasino",e[8]),4096&t&&C(n,"visiblegames",e[12]),2048&t&&C(n,"gamepagemodalurl",e[11]),1024&t&&C(n,"integratedgameframedesktop",e[10]),512&t&&C(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function Hi(e){let n;return{c(){(n=me("p")).textContent="No games in last played",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Ni(n){let r,a;function i(e){return e[15]?Hi:Oi}let o=i(n),s=o(n);return{c(){r=me("div"),a=me("div"),s.c(),this.c=Y,fe(a,"class","casino-last-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[17](r)},p(e,[t]){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:Y,o:Y,d(e){e&&he(r),s.d(),n[17](null)}}}function ji(t,e,n){let i,r,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:a=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:b=""}=e,{lastplayedperiod:v=""}=e,w=window.navigator.userAgent,x=!1,C;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,a=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastplayedperiod"in e&&n(16,v=e.lastplayedperiod)},t.$$.update=()=>{if(41&t.$$.dirty&&o&&d&&l&&(a={device:ft(w),period:v||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${o}/player/${d}/games/last-played`);a.limit&&n.searchParams.append("limit","10"),a.order&&n.searchParams.append("order",a.order);var r=a.device;r?"PC"===r?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),a.period&&n.searchParams.append("period","Last30Days"),i=m?n:n.href,fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{C=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:C},window.location.href)})}else n(15,x=!0)})),16448&t.$$.dirty&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(16512&t.$$.dirty&&h&&r){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,a;8&t.$$.dirty&&l&&(e=l,pt.set(e))},[o,s,a,l,c,d,u,h,m,p,g,f,y,b,r,x,v,function(e){mt[e?"unshift":"push"](()=>{r=e,n(14,r)})}]}function Wi(e){let n;return{c(){C(n=me("casino-games-category-section"),"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[13]),C(n,"categoryid","MOSTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[8]),C(n,"visiblegames",e[12]),C(n,"gamepagemodalurl",e[11]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t&&C(n,"session",e[4]),32&t&&C(n,"userid",e[5]),1&t&&C(n,"endpoint",e[0]),2&t&&C(n,"datasource",e[1]),8&t&&C(n,"lang",e[3]),4&t&&C(n,"currency",e[2]),8192&t&&C(n,"favorites",e[13]),64&t&&C(n,"clientstyling",e[6]),128&t&&C(n,"clientstylingurl",e[7]),256&t&&C(n,"livecasino",e[8]),4096&t&&C(n,"visiblegames",e[12]),2048&t&&C(n,"gamepagemodalurl",e[11]),1024&t&&C(n,"integratedgameframedesktop",e[10]),512&t&&C(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function Ui(e){let n;return{c(){(n=me("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Yi(n){let r,a;function i(e){return e[15]?Ui:Wi}let o=i(n),s=o(n);return{c(){r=me("div"),a=me("div"),s.c(),this.c=Y,fe(a,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[17](r)},p(e,[t]){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:Y,o:Y,d(e){e&&he(r),s.d(),n[17](null)}}}function zi(t,e,n){let r,a,{endpoint:i=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,w=window.navigator.userAgent,x,C=!1;return t.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(16,v=e.lastPlayedEmpty)},t.$$.update=()=>{if(41&t.$$.dirty&&i&&d&&l&&(e=>{let t=new URL(`${i}/player/${d}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),r=m?t:t.href,new Promise((e,t)=>{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)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:ft(w),rounds:10}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(i+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)})}else n(15,C=!0)}),16448&t.$$.dirty&&u&&a){let e=document.createElement("style");e.innerHTML=u,a.appendChild(e)}if(16512&t.$$.dirty&&h&&a){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,pt.set(e))},[i,o,s,l,c,d,u,h,m,p,g,f,y,b,a,C,v,function(e){mt[e?"unshift":"push"](()=>{a=e,n(14,a)})}]}function Vi(e,t,n){const r=e.slice();return r[162]=t[n],r[164]=n,r}function Zi(e,t,n){const r=e.slice();return r[162]=t[n],r[164]=n,r}function Ki(e){let n,r,a,i,o,s="PC"!==ft(e[72])&&"false"===e[10]&&e[69],l=s&&Ji();function c(e){return"false"===e[10]?Qi:qi}let d=c(e),u=d(e),h="true"==e[15]&&0==e[60]&&po(e);function m(e){return e[50]?So:e[61]?Co:e[56]?xo:e[62]?wo:e[61]?vo:e[56]?bo:e[62]?yo:e[63]?fo:go}let p=m(e),g=p(e),f=e[52]&&"true"==e[13]&&Ro(e);return{c(){n=me("section"),l&&l.c(),r=ge(),u.c(),a=ge(),h&&h.c(),i=ge(),g.c(),o=ge(),f&&f.c(),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),_(n,"max-width",e[12]+"px")},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),u.m(n,null),de(n,a),h&&h.m(n,null),de(n,i),g.m(n,null),de(n,o),f&&f.m(n,null)},p(e,t){(s=1024&t[0]|128&t[2]?"PC"!==ft(e[72])&&"false"===e[10]&&e[69]:s)?l||((l=Ji()).c(),l.m(n,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(n,a))),"true"==e[15]&&0==e[60]?h?h.p(e,t):((h=po(e)).c(),h.m(n,i)):h&&(h.d(1),h=null),p===(p=m(e))&&g?g.p(e,t):(g.d(1),(g=p(e))&&(g.c(),g.m(n,o))),e[52]&&"true"==e[13]?f?f.p(e,t):((f=Ro(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),4096&t[0]&&_(n,"max-width",e[12]+"px")},d(e){e&&he(n),l&&l.d(),u.d(),h&&h.d(),g.d(),f&&f.d()}}}function Xi(e){let n,r,a=e[71]("casinoPage.500")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&a!==(a=e[71]("casinoPage.500")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ji(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function qi(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",x="PC"===ft(n[72])&&n[47].length||"PC"!==ft(n[72]),C=!n[69]&&eo(),S=x&&to(n),$=!n[56]&&!n[61]&&!n[69]&&!n[62]&&!n[63]&&!n[57]&&!n[60]&&!n[58]&&!n[59]&&no(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),C&&C.c(),c=ge(),d=me("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Bo?"CategoriesHeaderSearchActive":"")+(n[64]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Bo?"CategoriesHeaderSearchActive":"")+(n[64]&&n[69]?"SearchStickTop":"")),_(r,"top",n[64]&&n[69]?Do+"px":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(a,s),de(a,l),C&&C.m(l,null),de(l,c),de(l,d),n[99](d),E(d,n[47]),de(l,h),S&&S.m(l,null),de(r,g),$&&$.m(r,null),n[104](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[100]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=eo()).c(),C.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),65536&t[1]&&E(d,e[47]),(x=65536&t[1]?"PC"===ft(e[72])&&e[47].length||"PC"!==ft(e[72]):x)?S?S.p(e,t):((S=to(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),1375731712&t[1]|3&t[2]&&m!==(m="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"class",m),1375731712&t[1]|3&t[2]&&p!==(p="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"part",p),e[56]||e[61]||e[69]||e[62]||e[63]||e[57]||e[60]||e[58]||e[59]?$&&($.d(1),$=null):$?$.p(e,t):(($=no(e)).c(),$.m(r,null)),134217728&t[1]|132&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Bo?"CategoriesHeaderSearchActive":"")+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),134217728&t[1]|132&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Bo?"CategoriesHeaderSearchActive":"")+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),132&t[2]&&_(r,"top",e[64]&&e[69]?Do+"px":"")},d(e){e&&he(r),C&&C.d(),n[99](null),S&&S.d(),$&&$.d(),n[104](null),b=!1,z(v)}}}function Qi(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",x="PC"===ft(n[72])&&n[47].length||"PC"!==ft(n[72]),C=!n[69]&&so(),S=x&&lo(n),$=!n[56]&&!n[61]&&!n[69]&&!n[62]&&!n[63]&&!n[57]&&!n[58]&&!n[60]&&!n[59]&&co(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),C&&C.c(),c=ge(),d=me("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Bo?"CategoriesHeaderSearchActive":"")+" "+(n[64]&&n[69]?"SearchStickTop":"")),_(r,"top",n[64]&&n[69]?Do+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Bo?"CategoriesHeaderSearchActive":"")+" "+(n[64]&&n[69]?"SearchStickTop":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(a,s),de(a,l),C&&C.m(l,null),de(l,c),de(l,d),n[93](d),E(d,n[47]),de(l,h),S&&S.m(l,null),de(r,g),$&&$.m(r,null),n[98](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[94]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=so()).c(),C.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),65536&t[1]&&E(d,e[47]),(x=65536&t[1]?"PC"===ft(e[72])&&e[47].length||"PC"!==ft(e[72]):x)?S?S.p(e,t):((S=lo(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),1375731712&t[1]|3&t[2]&&m!==(m="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"class",m),1375731712&t[1]|3&t[2]&&p!==(p="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"part",p),e[56]||e[61]||e[69]||e[62]||e[63]||e[57]||e[58]||e[60]||e[59]?$&&($.d(1),$=null):$?$.p(e,t):(($=co(e)).c(),$.m(r,null)),134217728&t[1]|132&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Bo?"CategoriesHeaderSearchActive":"")+" "+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),132&t[2]&&_(r,"top",e[64]&&e[69]?Do+"px":""),134217728&t[1]|132&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Bo?"CategoriesHeaderSearchActive":"")+" "+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[93](null),S&&S.d(),$&&$.d(),n[98](null),b=!1,z(v)}}}function eo(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function to(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,a),i||(o=V(r,"click",n[101]),i=!0)},p:Y,d(e){e&&he(r),i=!1,o()}}}function no(e){let n,r,a=e[70]&&ro(e),i=(!e[58]||!e[57])&&ao(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=ro(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[58]&&e[57]?i&&(i.d(1),i=null):i?i.p(e,t):((i=ao(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function ro(n){let r,a,i,o,s,l,c,d,u,h=n[71]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(h),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),d||(u=V(r,"click",n[102]),d=!0)},p(e,t){512&t[2]&&h!==(h=e[71]("casinoPage.clear")+"")&&ye(i,h),256&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"class",l),256&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),d=!1,u()}}}function ao(e){let n,r=!e[62]&&io(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]?r&&(r.d(1),r=null):r?r.p(e,t):((r=io(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function io(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f=n[71]("casinoPage.filters")+"",y=0<n[70]&&oo(n);return{c(){r=me("div"),a=me("div"),i=pe(f),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),d=M("style"),u=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),y&&y.c(),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,m),y&&y.m(s,null),p||(g=V(r,"click",n[103]),p=!0)},p(e,t){512&t[2]&&f!==(f=e[71]("casinoPage.filters")+"")&&ye(i,f),0<e[70]?y?y.p(e,t):((y=oo(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),p=!1,g()}}}function oo(e){let n,r,a;return{c(){n=me("div"),r=me("span"),a=pe(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){ue(e,n,t),de(n,r),de(r,a)},p(e,t){256&t[2]&&ye(a,e[70])},d(e){e&&he(n)}}}function so(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function lo(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,a),i||(o=V(r,"click",n[95]),i=!0)},p:Y,d(e){e&&he(r),i=!1,o()}}}function co(e){let n,r,a=e[70]&&uo(e),i=(!e[58]||!e[57])&&ho(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=uo(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[58]&&e[57]?i&&(i.d(1),i=null):i?i.p(e,t):((i=ho(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function uo(n){let r,a,i,o,s,l,c,d=n[71]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(d),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),l||(c=V(r,"click",n[96]),l=!0)},p(e,t){512&t[2]&&d!==(d=e[71]("casinoPage.clear")+"")&&ye(i,d)},d(e){e&&he(r),l=!1,c()}}}function ho(e){let n,r=(!e[62]||!e[63])&&mo(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]&&e[63]?r&&(r.d(1),r=null):r?r.p(e,t):((r=mo(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function mo(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v=n[71]("casinoPage.filters")+"";return{c(){r=me("div"),a=me("div"),i=pe(v),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),d=M("style"),u=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),p=me("div"),g=me("span"),f=pe(n[70]),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(p,"class","NumberOfFiltersContainer"),fe(p,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,m),de(s,p),de(p,g),de(g,f),y||(b=V(r,"click",n[97]),y=!0)},p(e,t){512&t[2]&&v!==(v=e[71]("casinoPage.filters")+"")&&ye(i,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function po(e){let n;return{c(){C(n=me("casino-random-game"),"datasource",e[1]),C(n,"filteredrandomgamecategories",e[16]),C(n,"endpoint",e[0]),C(n,"lang",e[3]),C(n,"gameevent",e[49]),C(n,"randombuttonicon",e[44]),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&C(n,"datasource",e[1]),65536&t[0]&&C(n,"filteredrandomgamecategories",e[16]),1&t[0]&&C(n,"endpoint",e[0]),8&t[0]&&C(n,"lang",e[3]),262144&t[1]&&C(n,"gameevent",e[49]),8192&t[1]&&C(n,"randombuttonicon",e[44]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function go(e){let n;return{c(){C(n=me("casino-games-category-section"),"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"categoryid",e[46]),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9]),C(n,"gamepagemodalurl",e[17]),C(n,"integratedgameframedesktop",e[23]),C(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),32768&t[1]&&C(n,"categoryid",e[46]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9]),131072&t[0]&&C(n,"gamepagemodalurl",e[17]),8388608&t[0]&&C(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function fo(e){let n;return{c(){C(n=me("casino-last-played-section"),"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9]),C(n,"gamepagemodalurl",e[17]),C(n,"integratedgameframedesktop",e[23]),C(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9]),131072&t[0]&&C(n,"gamepagemodalurl",e[17]),8388608&t[0]&&C(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function yo(e){let n;return{c(){C(n=me("casino-most-played-section"),"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9]),C(n,"gamepagemodalurl",e[17]),C(n,"integratedgameframedesktop",e[23]),C(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9]),131072&t[0]&&C(n,"gamepagemodalurl",e[17]),8388608&t[0]&&C(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function bo(n){let r,a,i,o;return{c(){C(r=me("casino-games-category-section"),"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"favorites",n[11]),C(r,"categoryid","FAVORITES"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9]),C(r,"gamepagemodalurl",n[17]),C(r,"integratedgameframedesktop",n[23]),C(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),i||(o=F(a=n[73].call(null,r,(n[0],n[53],n[54],n[53]))),i=!0)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),131072&t[0]&&C(r,"gamepagemodalurl",e[17]),8388608&t[0]&&C(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(r,"integratedgameframemobile",e[24]),a&&T(a.update)&&1&t[0]|12582912&t[1]&&a.update.call(null,(e[0],e[53],e[54],e[53]))},d(e){e&&he(r),i=!1,o()}}}function vo(t){let a,i=t[66],o=[];for(let e=0;e<i.length;e+=1)o[e]=To(Vi(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(2147109887&n[0]|7166&n[1]|16&n[2]){let e;for(i=t[66],e=0;e<i.length;e+=1){var r=Vi(t,i,e);o[e]?o[e].p(r,n):(o[e]=To(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function wo(n){let r,a,i,o;return{c(){C(r=me("casino-most-played-section"),"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"categoryid","Search"),C(r,"favorites",n[11]),C(r,"categoryindex","0"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9]),C(r,"gamepagemodalurl",n[17]),C(r,"integratedgameframedesktop",n[23]),C(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),i||(o=F(a=n[81].call(null,r,n[65])),i=!0)},p(e,t){1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),131072&t[0]&&C(r,"gamepagemodalurl",e[17]),8388608&t[0]&&C(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(r,"integratedgameframemobile",e[24]),a&&T(a.update)&&8&t[2]&&a.update.call(null,e[65])},d(e){e&&he(r),i=!1,o()}}}function xo(n){let r,a,i,o;return{c(){C(r=me("casino-favorites-section"),"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"favorites",n[11]),C(r,"categoryid","FAVORITES"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9]),C(r,"gamepagemodalurl",n[17]),C(r,"integratedgameframedesktop",n[23]),C(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),i||(o=F(a=n[73].call(null,r,(n[0],n[53],n[54],n[53]))),i=!0)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),131072&t[0]&&C(r,"gamepagemodalurl",e[17]),8388608&t[0]&&C(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(r,"integratedgameframemobile",e[24]),a&&T(a.update)&&1&t[0]|12582912&t[1]&&a.update.call(null,(e[0],e[53],e[54],e[53]))},d(e){e&&he(r),i=!1,o()}}}function Co(t){let a,i=t[66],o=[];for(let e=0;e<i.length;e+=1)o[e]=Io(Zi(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(2147372031&n[0]|8191&n[1]|16&n[2]){let e;for(i=t[66],e=0;e<i.length;e+=1){var r=Zi(t,i,e);o[e]?o[e].p(r,n):(o[e]=Io(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function So(e){let n,r,a=e[71]("casinoPage.loading")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&a!==(a=e[71]("casinoPage.loading")+"")&&ye(r,a)},d(e){e&&he(n)}}}function $o(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Jackpot Cards"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","998"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc","/assets/background0.jpg"),C(a,"backgroundsrcmobile","/assets/background0.jpg"),C(a,"titlelogopath","/assets/jackpots_logo.svg"),C(a,"caticon0","/assets/icon0.svg"),C(a,"caticon1","/assets/icon1.svg"),C(a,"caticon2","/assets/icon2.svg"),C(a,"caticon3","/assets/icon3.svg"),C(a,"iconlabels",e[39]),C(a,"visualstructure","typeSpread"),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),256&t[1]&&C(a,"iconlabels",e[39]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function _o(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Egypt Quest"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","999"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc",e[36]),C(a,"backgroundsrcmobile",e[37]),C(a,"titlelogopath",e[38]),C(a,"caticon0",e[32]),C(a,"caticon1",e[33]),C(a,"caticon2",e[34]),C(a,"caticon3",e[35]),C(a,"iconlabels",e[39]),C(a,"visualstructure",e[40]),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),32&t[1]&&C(a,"backgroundsrc",e[36]),64&t[1]&&C(a,"backgroundsrcmobile",e[37]),128&t[1]&&C(a,"titlelogopath",e[38]),2&t[1]&&C(a,"caticon0",e[32]),4&t[1]&&C(a,"caticon1",e[33]),8&t[1]&&C(a,"caticon2",e[34]),16&t[1]&&C(a,"caticon3",e[35]),256&t[1]&&C(a,"iconlabels",e[39]),512&t[1]&&C(a,"visualstructure",e[40]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function ko(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type","vendor"),C(n,"titletype","logo"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Mo(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type",e[42]),C(n,"titletype",e[43]),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),2048&t[1]&&C(n,"type",e[42]),4096&t[1]&&C(n,"titletype",e[43]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function To(n){let r,a,i,o,s,e,l,c,d,u="true"===enablecasinowinners&&1===n[164]&&function(e){let n,r;return{c(){n=me("div"),C(r=me("casino-winners"),"session",e[4]),C(r,"periodrecent",e[25]),C(r,"periodtop",e[26]),C(r,"numberusersrecent",e[27]),C(r,"numberuserstop",e[28]),C(r,"amountlimit",e[29]),C(r,"isrecentavailable",e[22]),C(r,"istopavailable",e[21]),C(r,"defaultcurrency",e[30]),C(r,"enableautoscroll",e[20]),C(r,"tabsorder",e[19]),C(r,"lang",e[3]),C(r,"clientstyling",e[6]),C(r,"clientstylingurl",e[7]),C(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&C(r,"session",e[4]),33554432&t[0]&&C(r,"periodrecent",e[25]),67108864&t[0]&&C(r,"periodtop",e[26]),134217728&t[0]&&C(r,"numberusersrecent",e[27]),268435456&t[0]&&C(r,"numberuserstop",e[28]),536870912&t[0]&&C(r,"amountlimit",e[29]),4194304&t[0]&&C(r,"isrecentavailable",e[22]),2097152&t[0]&&C(r,"istopavailable",e[21]),1073741824&t[0]&&C(r,"defaultcurrency",e[30]),1048576&t[0]&&C(r,"enableautoscroll",e[20]),524288&t[0]&&C(r,"tabsorder",e[19]),8&t[0]&&C(r,"lang",e[3]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),1&t[0]&&C(r,"endpoint",e[0])},d(e){e&&he(n)}}}(n),t=4===(m=n)[164]&&"true"==enablejackpotbanner?_o:6===m[164]&&"true"==enablejackpotbanner?$o:void 0,h=t&&t(n);var m;function p(e){return 7==e[164]&&"true"==enablecollections?Mo:e[164]==e[66].length-1&&"true"==enablecollections?ko:void 0}let g=p(n),f=g&&g(n);return{c(){u&&u.c(),r=ge(),h&&h.c(),a=ge(),f&&f.c(),i=ge(),C(o=me("casino-games-category-section"),"session",n[4]),C(o,"userid",n[5]),C(o,"endpoint",n[0]),C(o,"datasource",n[1]),C(o,"lang",n[3]),C(o,"currency",n[2]),C(o,"categoryid",s=n[162]),C(o,"categoryindex",e=n[164]),C(o,"categorygames","9"),C(o,"favorites",n[11]),C(o,"class","CategoryContainer"),_(o,"background-color",n[164]%2!=0?n[8]:"transparent"),C(o,"clientstyling",n[6]),C(o,"clientstylingurl",n[7]),C(o,"livecasino",n[14]),C(o,"visiblegames",n[9]),C(o,"gamepagemodalurl",n[17]),C(o,"integratedgameframedesktop",n[23]),C(o,"integratedgameframemobile",n[24])},m(e,t){u&&u.m(e,t),ue(e,r,t),h&&h.m(e,t),ue(e,a,t),f&&f.m(e,t),ue(e,i,t),ue(e,o,t),c||(d=F(l=n[80].call(null,o,n[162])),c=!0)},p(e,t){n=e,"true"===enablecasinowinners&&1===n[164]&&u.p(n,t),h&&h.p(n,t),g===(g=p(n))&&f?f.p(n,t):(f&&f.d(1),(f=g&&g(n))&&(f.c(),f.m(i.parentNode,i))),16&t[0]&&C(o,"session",n[4]),32&t[0]&&C(o,"userid",n[5]),1&t[0]&&C(o,"endpoint",n[0]),2&t[0]&&C(o,"datasource",n[1]),8&t[0]&&C(o,"lang",n[3]),4&t[0]&&C(o,"currency",n[2]),16&t[2]&&s!==(s=n[162])&&C(o,"categoryid",s),2048&t[0]&&C(o,"favorites",n[11]),256&t[0]&&_(o,"background-color",n[164]%2!=0?n[8]:"transparent"),64&t[0]&&C(o,"clientstyling",n[6]),128&t[0]&&C(o,"clientstylingurl",n[7]),16384&t[0]&&C(o,"livecasino",n[14]),512&t[0]&&C(o,"visiblegames",n[9]),131072&t[0]&&C(o,"gamepagemodalurl",n[17]),8388608&t[0]&&C(o,"integratedgameframedesktop",n[23]),16777216&t[0]&&C(o,"integratedgameframemobile",n[24]),l&&T(l.update)&&16&t[2]&&l.update.call(null,n[162])},d(e){u&&u.d(e),e&&he(r),h&&h.d(e),e&&he(a),f&&f.d(e),e&&he(i),e&&he(o),c=!1,d()}}}function Go(e){let n,r;return{c(){n=me("div"),C(r=me("casino-winners"),"session",e[4]),C(r,"userid",e[5]),C(r,"periodrecent",e[25]),C(r,"periodtop",e[26]),C(r,"numberusersrecent",e[27]),C(r,"numberuserstop",e[28]),C(r,"amountlimit",e[29]),C(r,"isrecentavailable",e[22]),C(r,"istopavailable",e[21]),C(r,"defaultcurrency",e[30]),C(r,"usercurrency",e[2]),C(r,"enableautoscroll",e[20]),C(r,"tabsorder",e[19]),C(r,"lang",e[3]),C(r,"clientstyling",e[6]),C(r,"clientstylingurl",e[7]),C(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),33554432&t[0]&&C(r,"periodrecent",e[25]),67108864&t[0]&&C(r,"periodtop",e[26]),134217728&t[0]&&C(r,"numberusersrecent",e[27]),268435456&t[0]&&C(r,"numberuserstop",e[28]),536870912&t[0]&&C(r,"amountlimit",e[29]),4194304&t[0]&&C(r,"isrecentavailable",e[22]),2097152&t[0]&&C(r,"istopavailable",e[21]),1073741824&t[0]&&C(r,"defaultcurrency",e[30]),4&t[0]&&C(r,"usercurrency",e[2]),1048576&t[0]&&C(r,"enableautoscroll",e[20]),524288&t[0]&&C(r,"tabsorder",e[19]),8&t[0]&&C(r,"lang",e[3]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),1&t[0]&&C(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Fo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Jackpot Cards"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","999"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc","/assets/background0.jpg"),C(a,"backgroundsrcmobile","/assets/background0.jpg"),C(a,"titlelogopath","/assets/jackpots_logo.svg"),C(a,"caticon0","/assets/icon0.svg"),C(a,"caticon1","/assets/icon1.svg"),C(a,"caticon2","/assets/icon2.svg"),C(a,"caticon3","/assets/icon3.svg"),C(a,"iconlabels",e[39]),C(a,"visualstructure","typeSpread"),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),256&t[1]&&C(a,"iconlabels",e[39]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function Eo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Egypt Quest"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","998"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc",e[36]),C(a,"backgroundsrcmobile",e[37]),C(a,"titlelogopath",e[38]),C(a,"caticon0",e[32]),C(a,"caticon1",e[33]),C(a,"caticon2",e[34]),C(a,"caticon3",e[35]),C(a,"iconlabels",e[39]),C(a,"visualstructure",e[40]),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),32&t[1]&&C(a,"backgroundsrc",e[36]),64&t[1]&&C(a,"backgroundsrcmobile",e[37]),128&t[1]&&C(a,"titlelogopath",e[38]),2&t[1]&&C(a,"caticon0",e[32]),4&t[1]&&C(a,"caticon1",e[33]),8&t[1]&&C(a,"caticon2",e[34]),16&t[1]&&C(a,"caticon3",e[35]),256&t[1]&&C(a,"iconlabels",e[39]),512&t[1]&&C(a,"visualstructure",e[40]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function Lo(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type","vendor"),C(n,"titletype","logo"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Po(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type",e[42]),C(n,"titletype",e[43]),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),2048&t[1]&&C(n,"type",e[42]),4096&t[1]&&C(n,"titletype",e[43]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Io(n){let r,a,i,o,s,l,c,d,u,e,h,m,p,g=n[18]&&n[164]==+n[18]&&Go(n);function f(e,t){return 1&t[1]|16&t[2]&&(a=null),1&t[1]|16&t[2]&&(i=null),(a=null==a?!(!e[31]||e[164]!=(""==e[31].split(",")[0]?e[66].length:+e[31].split(",")[0])):a)?Eo:(i=null==i?!(!e[31]||e[164]!=(""==e[31].split(",")[1]?e[66].length:+e[31].split(",")[1])):i)?Fo:void 0}let y=f(n,[-1,-1,-1,-1,-1,-1]),b=y&&y(n);function v(e,t){return 1024&t[1]|16&t[2]&&(s=null),1024&t[1]|16&t[2]&&(l=null),(s=null==s?!(!e[41]||e[164]!=(""==e[41].split(",")[0]?e[66].length:+e[41].split(",")[0])):s)?Po:(l=null==l?!(!e[41]||e[164]!=(""==e[41].split(",")[1]?e[66].length:+e[41].split(",")[1])):l)?Lo:void 0}let w=v(n,[-1,-1,-1,-1,-1,-1]),x=w&&w(n);return{c(){g&&g.c(),r=ge(),b&&b.c(),o=ge(),x&&x.c(),c=ge(),C(d=me("casino-games-category-section"),"session",n[4]),C(d,"userid",n[5]),C(d,"endpoint",n[0]),C(d,"datasource",n[1]),C(d,"lang",n[3]),C(d,"currency",n[2]),C(d,"categoryid",u=n[162]),C(d,"categoryindex",e=n[164]),C(d,"categorygames","9"),C(d,"favorites",n[11]),C(d,"class","CategoryContainer"),_(d,"background-color",n[164]%2!=0?n[8]:"transparent"),C(d,"clientstyling",n[6]),C(d,"clientstylingurl",n[7]),C(d,"livecasino",n[14]),C(d,"visiblegames",n[9]),C(d,"gamepagemodalurl",n[17]),C(d,"integratedgameframedesktop",n[23]),C(d,"integratedgameframemobile",n[24])},m(e,t){g&&g.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,o,t),x&&x.m(e,t),ue(e,c,t),ue(e,d,t),m||(p=F(h=n[80].call(null,d,n[162])),m=!0)},p(e,t){(n=e)[18]&&n[164]==+n[18]?g?g.p(n,t):((g=Go(n)).c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),y===(y=f(n,t))&&b?b.p(n,t):(b&&b.d(1),(b=y&&y(n))&&(b.c(),b.m(o.parentNode,o))),w===(w=v(n,t))&&x?x.p(n,t):(x&&x.d(1),(x=w&&w(n))&&(x.c(),x.m(c.parentNode,c))),16&t[0]&&C(d,"session",n[4]),32&t[0]&&C(d,"userid",n[5]),1&t[0]&&C(d,"endpoint",n[0]),2&t[0]&&C(d,"datasource",n[1]),8&t[0]&&C(d,"lang",n[3]),4&t[0]&&C(d,"currency",n[2]),16&t[2]&&u!==(u=n[162])&&C(d,"categoryid",u),2048&t[0]&&C(d,"favorites",n[11]),256&t[0]&&_(d,"background-color",n[164]%2!=0?n[8]:"transparent"),64&t[0]&&C(d,"clientstyling",n[6]),128&t[0]&&C(d,"clientstylingurl",n[7]),16384&t[0]&&C(d,"livecasino",n[14]),512&t[0]&&C(d,"visiblegames",n[9]),131072&t[0]&&C(d,"gamepagemodalurl",n[17]),8388608&t[0]&&C(d,"integratedgameframedesktop",n[23]),16777216&t[0]&&C(d,"integratedgameframemobile",n[24]),h&&T(h.update)&&16&t[2]&&h.update.call(null,n[162])},d(e){g&&g.d(e),e&&he(r),b&&b.d(e),e&&he(o),x&&x.d(e),e&&he(c),e&&he(d),m=!1,p()}}}function Ro(n){let r,a,i,e,t,o,s,l=n[71]("casinoPage.breakButton")+"";return{c(){r=me("div"),a=me("button"),i=pe(l),fe(a,"class",e="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile ":"")),fe(a,"part",t="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile":"")),h(a,"PanicButtonAnimation",n[55]),fe(r,"class",o="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[105](a)},p(e,t){512&t[2]&&l!==(l=e[71]("casinoPage.breakButton")+"")&&ye(i,l),16777216&t[1]&&h(a,"PanicButtonAnimation",e[55])},d(e){e&&he(r),n[105](null)}}}function Ao(n){let r;function a(e){return e[51]?Xi:Ki}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[106](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[106](null)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Ai,Ri,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16,translationurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends W{constructor(e){super(),j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Di,Bi,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[16]}set categoryid(e){this.$$set({categoryid:e}),f()}}),customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-last-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},ji,Ni,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[16]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},zi,Yi,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[16]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}});let Bo=!1;const Do=0;function Oo(n,e,c){let t;yt(n,Mr,e=>c(71,t=e));let a,{endpoint:d=""}=e,{datasource:i=""}=e,{currency:D=""}=e,{lang:o=""}=e,{session:s=""}=e,{userid:l=""}=e,{clientstyling:O=""}=e,{clientstylingurl:H=""}=e,{translationurl:N=""}=e,{categorybackground:j=""}=e,W=e["visiblegames"],{alternativesearch:U="false"}=e,{favorites:Y=""}=e,{mostplayed:z=""}=e,{lastplayed:V=""}=e,{containermaxwidth:Z="1300"}=e,{lobbyid:u="casinodefault"}=e,{haspanicbutton:K="false"}=e,{mostplayedrounds:X=""}=e,{lastplayedperiod:J=""}=e,{filteredcategories:q=""}=e,{activecategory:Q=""}=e,{livecasino:ee="false"}=e,{playrandomgame:te="false"}=e,{filteredrandomgamecategories:ne=""}=e,{gamepagemodalurl:re="false"}=e,{positionwinnerswidget:ae=""}=e,{tabsorder:ie=""}=e,{enableautoscroll:oe=""}=e,{istopavailable:se=""}=e,{isrecentavailable:le=""}=e,{integratedgameframedesktop:ce="false"}=e,{integratedgameframemobile:de="false"}=e,{periodrecent:ue=""}=e,{periodtop:he=""}=e,{numberusersrecent:me=""}=e,{numberuserstop:pe=""}=e,{amountlimit:ge=""}=e,{defaultcurrency:fe=""}=e,{positionjackpotbanners:ye=""}=e,{caticon0:be=""}=e,{caticon1:ve=""}=e,{caticon2:we=""}=e,{caticon3:xe=""}=e,{backgroundsrc:Ce=""}=e,{backgroundsrcmobile:Se=""}=e,{titlelogopath:$e=""}=e,{iconlabels:_e=""}=e,{visualstructure:ke=""}=e,{positioncollections:Me=""}=e,{type:Te=""}=e,{titletype:Ge=""}=e,{randombuttonicon:Fe=""}=e,h=window.navigator.userAgent;a=gt(h)?"OpenGameFrame":"ShowGameModal";let m,p,g,Ee,f,y,b,Le,Pe,Ie,r,v,w,x=!1,C=!1,Re=!1,S="",Ae=!1,Be=0,$=!1,De=!1,Oe=!0,He=!1,_=!1,Ne=!1,je=!1,k=!0,M=!1,T=!1,We=!1,G=!0,Ue=[],F=[],E="",Ye={},ze,L=!1,P=[],Ve=!1,I=[],Ze=0,R="",Ke=!1;var Xe,Je;({withLocale:Xe,translations:Je}={withLocale:"en",translations:{}}),pt.subscribe(e=>{null==e&&(ir.set(Je),pt.set(Xe))}),Object.keys(Gr).forEach(e=>{Tr(e,Gr[e])});const qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(54,p=n.data.session),c(53,m=n.data.userID),m&&m.length&&p&&0<p.length&&A(d,p,m);break;case"SetUnfavoredGame":o=`${d}/player/${m}/favorites`,s=p,m,l=n.data.id,n.data.triggerFactor,P.includes(l)&&(P=P.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),Qe(o,s)});break;case"SetFavoredGame":{var r=`${d}/player/${m}/favorites`;var a=p;m;var i=n.data.id;n.data.triggerFactor;P.includes(i)||P.push(i);let e={items:P},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),Qe(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":m&&m.length&&p&&0<p.length&&A(d,p,m);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(I=(I=nt(`searchedGamesWds_${u}`))?I.split(","):[]).indexOf(t)){let e;I.push(t),e=I.join(","),document.cookie=`searchedGamesWds_${u}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),B();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),B();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:R},window.location.href),B();break;case"CategoryVendors":R=n.data.categoryid,B();break;case"GameHoveredPc":case"GameHoveredMobile":_=!0;break;case"GameBlurPc":_=(L&&v.focus(),!1);break;case"GameBlurMobile":L?at():_=!1;break;case"ModalClosed":L&&(L=!1,_=!1);break;case"SubgroupsIds":F.some(e=>n.data.subGroupsIds.includes(e))||F.push(...n.data.subGroupsIds)}var e,o,s,l};let A=(e,t,n)=>{"true"==Y&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),et(r.items)),r)).then(e=>($&&tt(),e)).catch(e=>{console.error(e)})},Qe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,$&&tt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const et=(e=[])=>(P=[],0<e.length&&e.forEach(e=>{P.push(e.id)}),P);const tt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},nt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},rt=()=>{if(L=!0,d&&i&&o&&(c(60,je=!0),E.length<2)){let e=nt("searchedGamesWds_"+u),t=[],n=(e&&(t=e.split(",")),1!=k||Oe||(c(59,Ne=k),c(61,k=!1)),[]),r=0,a=t.length;if(0<a){for(r=0;r<a;r++){let e=new URL(d+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",i),e.searchParams.append("platform",ft(h)),n.push(((e,r)=>new Promise((t,n)=>{c(50,x=!0),r&&0<=Object.keys(Ye).indexOf(r)?(c(50,x=!1),t(Ye[r])):fetch(e).then(e=>e.json()).then(e=>{c(50,x=!1),Ye[e[0].id]=e[0],t(e[0])}).catch(e=>{c(51,C=!0),c(50,x=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(65,f=e),ot(0,f)})}else ot(0,{})}"function"==typeof gtag&>ag("event","SearchInitialized",{context:"CasinoPage"})},at=()=>{c(60,je=!1),E.length<2&&!_&&(c(58,He=!1),c(65,f=[]),c(57,De=!1),c(61,k=Ne),c(59,Ne=!1),!1===k&&window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href),L=!1,window.postMessage({type:"OutOfRecentSearches"},window.location.href))},B=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&R&&(e[R]?c(70,Ze=e[R].length):c(70,Ze=0))},it=()=>{c(91,G=!0),c(47,E=""),c(65,f=[]),c(57,De=!1),at()},ot=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},st=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},lt=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ct=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},dt=()=>{Le&&(Pe=Le.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>Pe||130<Pe?c(64,We=!0):c(64,We=!1)},ut=e=>{Be=0,Ee=setInterval(()=>{Be+=1,c(55,Ae=!0),3<=Be&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ee))},1e3)},ht=e=>{Be<3&&c(55,Ae=!1),clearInterval(Ee)};return bt(()=>(window.addEventListener("scroll",dt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",dt),window.removeEventListener("message",qe),c(55,Ae=!1),null!=g&&g.removeEventListener("mousedown",ut),null!=g&&g.removeEventListener("touchstart",ut),null!=g&&g.removeEventListener("mouseup",ht),null!=g&&g.removeEventListener("touchend",ht)})),n.$$set=e=>{"endpoint"in e&&c(0,d=e.endpoint),"datasource"in e&&c(1,i=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,l=e.userid),"clientstyling"in e&&c(6,O=e.clientstyling),"clientstylingurl"in e&&c(7,H=e.clientstylingurl),"translationurl"in e&&c(82,N=e.translationurl),"categorybackground"in e&&c(8,j=e.categorybackground),"visiblegames"in e&&c(9,W=e.visiblegames),"alternativesearch"in e&&c(10,U=e.alternativesearch),"favorites"in e&&c(11,Y=e.favorites),"mostplayed"in e&&c(83,z=e.mostplayed),"lastplayed"in e&&c(84,V=e.lastplayed),"containermaxwidth"in e&&c(12,Z=e.containermaxwidth),"lobbyid"in e&&c(85,u=e.lobbyid),"haspanicbutton"in e&&c(13,K=e.haspanicbutton),"mostplayedrounds"in e&&c(86,X=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,J=e.lastplayedperiod),"filteredcategories"in e&&c(88,q=e.filteredcategories),"activecategory"in e&&c(89,Q=e.activecategory),"livecasino"in e&&c(14,ee=e.livecasino),"playrandomgame"in e&&c(15,te=e.playrandomgame),"filteredrandomgamecategories"in e&&c(16,ne=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&c(17,re=e.gamepagemodalurl),"positionwinnerswidget"in e&&c(18,ae=e.positionwinnerswidget),"tabsorder"in e&&c(19,ie=e.tabsorder),"enableautoscroll"in e&&c(20,oe=e.enableautoscroll),"istopavailable"in e&&c(21,se=e.istopavailable),"isrecentavailable"in e&&c(22,le=e.isrecentavailable),"integratedgameframedesktop"in e&&c(23,ce=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(24,de=e.integratedgameframemobile),"periodrecent"in e&&c(25,ue=e.periodrecent),"periodtop"in e&&c(26,he=e.periodtop),"numberusersrecent"in e&&c(27,me=e.numberusersrecent),"numberuserstop"in e&&c(28,pe=e.numberuserstop),"amountlimit"in e&&c(29,ge=e.amountlimit),"defaultcurrency"in e&&c(30,fe=e.defaultcurrency),"positionjackpotbanners"in e&&c(31,ye=e.positionjackpotbanners),"caticon0"in e&&c(32,be=e.caticon0),"caticon1"in e&&c(33,ve=e.caticon1),"caticon2"in e&&c(34,we=e.caticon2),"caticon3"in e&&c(35,xe=e.caticon3),"backgroundsrc"in e&&c(36,Ce=e.backgroundsrc),"backgroundsrcmobile"in e&&c(37,Se=e.backgroundsrcmobile),"titlelogopath"in e&&c(38,$e=e.titlelogopath),"iconlabels"in e&&c(39,_e=e.iconlabels),"visualstructure"in e&&c(40,ke=e.visualstructure),"positioncollections"in e&&c(41,Me=e.positioncollections),"type"in e&&c(42,Te=e.type),"titletype"in e&&c(43,Ge=e.titletype),"randombuttonicon"in e&&c(44,Fe=e.randombuttonicon)},n.$$.update=()=>{if(65536&n.$$.dirty[1]&&E&&(2<=E.length?c(91,G=!0):c(91,G=!1)),11&n.$$.dirty[0]|65536&n.$$.dirty[1]|805306368&n.$$.dirty[2])if(2<=E.length){c(58,He=!0);let e=new URL(d+"/casino/games");e.searchParams.append("datasource",i),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ft(h)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+E),r=e,new Promise((t,n)=>{c(50,x=!0),fetch(r).then(e=>e.json()).then(e=>{c(50,x=!1),t(e)}).catch(e=>{c(51,C=!0),c(50,x=!1),console.error(e),n(e)})}).then(e=>{c(65,f=e),ct(0,e)})}else G||rt(),Oe&&c(90,Oe=!1);var r,a,t;if(8&n.$$.dirty[0]|134217728&n.$$.dirty[2]&&o&&Q){c(46,y=Q);var e={data:{itemId:y}};switch(c(58,He=!1),c(47,E=""),ze=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(61,k=!0),c(56,$=!1),c(46,y=""),c(62,M=!1),c(63,T=!1);break;case"FAVORITES":c(61,k=!1),c(56,$=!0),c(62,M=!1),c(63,T=!1),c(46,y="");break;case"MOSTPLAYED":"true"==z&&(c(46,y=""),c(61,k=!1),c(56,$=!1),c(62,M=!0));break;case"LASTPLAYED":"true"==V&&(c(46,y=""),c(61,k=!1),c(63,T=!0),c(56,$=!1),c(62,M=!1));break;default:c(61,k=!1),c(56,$=!1),c(62,M=!1),c(63,T=!1),c(46,y=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500)}}if((49&n.$$.dirty[0]&&s&&l&&d&&(c(52,Re=!0),c(54,p=s),c(53,m=l),m&&m.length&&p&&0<p.length&&A(d,p,m)),32768&n.$$.dirty[1]|1073741824&n.$$.dirty[2]&&y&&F&&F&&!F.includes(decodeURI(y))&&""!=y&&window.postMessage({type:"NonExistentCategory"},window.location.href),1035&n.$$.dirty[0]&&d&&i&&o&&U)&&(d||(S="Endpoint is missing! Please provide a valid endpointURL.",c(51,C=!0),c(50,x=!1),console.error(S)),i||(S="Datasource is missing! Please provide a valid datasource.",c(51,C=!0),c(50,x=!1),console.error(S)),(!o||o.length<2)&&(S="Language is missing! Please provide a valid language (alpha2code)",c(51,C=!0),c(50,x=!1),console.error(S)),!C)){c(50,x=!0),"true"==Y&&A(d,p,m),t=o,pt.set(t);let e=new URL(d+"/casino/groups/"+i);e.searchParams.append("language",o),e.searchParams.append("platform",ft(h)),a=e,new Promise((t,n)=>{c(50,x=!0),fetch(a).then(e=>e.json()).then(e=>{c(50,x=!1),t(e)}).catch(e=>{c(51,C=!0),c(50,x=!1),console.error(e),n(e)})}).then(e=>{let r=q.split(",");e&&(Ie=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,q))for(var n of r)e.flags==n&&(t=!1);return t}),c(66,Ue=Ie.map(e=>e.id)),c(92,F=e.items.map(e=>e.id.toString())),c(50,x=!1))}),"PC"!==ft(h)&&(v.addEventListener("focusin",e=>{c(69,Ve=!0)}),v.addEventListener("focusout",e=>{c(69,Ve=!1)})),B(),(Le=b)&&(Pe=Le.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&n.$$.dirty[0]&&o&&(Ke&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500),Ke=!1),1048576&n.$$.dirty[2]&&N&&fetch(N).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Tr(e,t[e])})}).catch(e=>{console.log(e)}),64&n.$$.dirty[0]|131072&n.$$.dirty[1]&&O&&w){let e=document.createElement("style");e.innerHTML=O,w.appendChild(e)}if(128&n.$$.dirty[0]|131072&n.$$.dirty[1]&&H&&w){let t=document.createElement("style");fetch(new URL(H)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{w.appendChild(t)},1)})}16384&n.$$.dirty[1]&&g&&(null!=g&&g.addEventListener("mousedown",ut,!1),null!=g&&g.addEventListener("touchstart",ut,!1),null!=g&&g.addEventListener("mouseup",ht,!1),null!=g&&g.addEventListener("touchend",ht,!1))},[d,i,D,o,s,l,O,H,j,W,U,Y,Z,K,ee,te,ne,re,ae,ie,oe,se,le,ce,de,ue,he,me,pe,ge,fe,ye,be,ve,we,xe,Ce,Se,$e,_e,ke,Me,Te,Ge,Fe,g,y,E,w,a,x,C,Re,m,p,Ae,$,De,He,Ne,je,k,M,T,We,f,Ue,b,v,Ve,Ze,t,h,A,rt,at,()=>{window.postMessage({type:"scroll"},window.location.href)},it,st,lt,(e,t)=>{R=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:W,receivedFavoriteResults:r},window.location.href)},ct,N,z,V,u,X,J,q,Q,Oe,G,F,function(e){mt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){E=this.value,c(47,E)},()=>it(),()=>lt(),()=>{st()},function(e){mt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){mt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){E=this.value,c(47,E)},()=>it(),()=>lt(),()=>{st()},function(e){mt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){mt[e?"unshift":"push"](()=>{g=e,c(45,g)})},function(e){mt[e?"unshift":"push"](()=>{w=e,c(48,w)})}]}class Ho extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Oo,Ao,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:82,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:83,lastplayed:84,containermaxwidth:12,lobbyid:85,haspanicbutton:13,mostplayedrounds:86,lastplayedperiod:87,filteredcategories:88,activecategory:89,livecasino:14,playrandomgame:15,filteredrandomgamecategories:16,gamepagemodalurl:17,positionwinnerswidget:18,tabsorder:19,enableautoscroll:20,istopavailable:21,isrecentavailable:22,integratedgameframedesktop:23,integratedgameframemobile:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:29,defaultcurrency:30,positionjackpotbanners:31,caticon0:32,caticon1:33,caticon2:34,caticon3:35,backgroundsrc:36,backgroundsrcmobile:37,titlelogopath:38,iconlabels:39,visualstructure:40,positioncollections:41,type:42,titletype:43,randombuttonicon:44},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[82]}set translationurl(e){this.$$set({translationurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[83]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[84]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[86]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[87]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[88]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[89]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[16]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[17]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[18]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[19]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[20]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[21]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[22]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[23]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[24]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[29]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[30]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[31]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[32]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[33]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[34]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[35]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[36]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[37]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[38]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[39]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[40]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[41]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[42]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[43]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[44]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",Ho),Ho});
|
|
30
|
+
`},J,f,b,v,w,C,ne,$,_,k,M,T,G,F,E,L,pe,ge,function(e){mt[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>be(r),()=>ye(r),()=>be(r),function(e){mt[e?"unshift":"push"](()=>{g=e,o(14,g)})},function(e){mt[e?"unshift":"push"](()=>{l=e,o(11,l)})}]}function ua(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function ha(e,t,n){const r=e.slice();return r[78]=t[n],r[81]=t,r[80]=n,r}function ma(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function pa(e){let n;function r(e){return e[15]?ba:e[25]?ya:void 0}let a=r(e),i=a&&a(e);return{c(){n=me("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&he(n),i&&i.d()}}}function ga(e){let n,r,a;function i(e){return e[19]?Aa:e[16].length?Ia:Ra}let o=i(e),s=o(e);function l(e){return e[16]?Ba:Da}let c=l(e),d=c(e);return{c(){n=me("div"),r=me("div"),s.c(),a=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,a),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(r,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&&he(n),s.d(),d.d()}}}function fa(e){let n;function r(e){return e[21]?ja:Na}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function ya(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f=n[29]("gamesCategorySection.favorites")+"",y=n[28].items.length+"";function b(e){return e[28]?wa:va}let v=b(n),w=v(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(f),s=ge(),l=me("span"),c=pe("("),d=pe(y),u=pe(")"),h=ge(),m=me("ul"),w.c(),fe(l,"class","CategoryFavName"),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(m,"class",p=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(m,"part",g=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(i,s),de(i,l),de(l,c),de(l,d),de(l,u),n[49](i),de(r,h),de(r,m),w.m(m,null),n[50](m)},p(e,t){536870912&t[0]&&f!==(f=e[29]("gamesCategorySection.favorites")+"")&&ye(o,f),268435456&t[0]&&y!==(y=e[28].items.length+"")&&ye(d,y),v===(v=b(e))&&w?w.p(e,t):(w.d(1),(w=v(e))&&(w.c(),w.m(m,null))),268435456&t[0]&&p!==(p=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(m,"class",p),268435456&t[0]&&g!==(g=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(m,"part",g)},d(e){e&&he(r),n[49](null),w.d(),n[50](null)}}}function ba(n){let r,a,i,o,s,l,c=n[15].name+"",d=n[17]&&Fa(n);function u(e){return 0!==e[16].length?La:Ea}let h=u(n),m=h(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(c),s=ge(),d&&d.c(),l=ge(),m.c(),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),n[45](i),de(a,s),d&&d.m(a,null),de(r,l),m.m(r,null)},p(e,t){32768&t[0]&&c!==(c=e[15].name+"")&&ye(o,c),e[17]?d?d.p(e,t):((d=Fa(e)).c(),d.m(a,null)):d&&(d.d(1),d=null),h===(h=u(e))&&m?m.p(e,t):(m.d(1),(m=h(e))&&(m.c(),m.m(r,null)))},d(e){e&&he(r),n[45](null),d&&d.d(),m.d()}}}function va(e){let n,r,a=e[29]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),r=pe(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.waiting")+"")&&ye(r,a)},d(e){e&&he(n)}}}function wa(t){let r,a=t[28].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=Ga(ua(t,a,e));let o=null;return a.length||(o=xa(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(2113933311&n[0]|1&n[1]){let e;for(a=t[28].items,e=0;e<a.length;e+=1){const o=ua(t,a,e);i[e]?i[e].p(o,n):(i[e]=Ga(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=xa(t)).c(),o.m(r.parentNode,r))}},d(e){k(i,e),e&&he(r),o&&o.d(e)}}}function xa(e){let n,r,a,i,o,s,l,c,t,d,u=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(p=e,gt(p[30])?Sa:Ca),m=h(e);var p;return{c(){n=me("p"),r=M("svg"),a=M("path"),i=ge(),o=me("span"),s=pe(u),l=ge(),m.c(),c=ge(),_(a,"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),_(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(gt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(gt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,o),de(o,s),de(n,l),m.m(n,null),de(n,c)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),m.p(e,t)},d(e){e&&he(n),m.d()}}}function Ca(e){let n,r,a=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Sa(e){let n,r,a=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&he(n)}}}function $a(e){let n,r=e[78].gameModel.isFavorite&&_a(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel.isFavorite?r?r.p(e,t):((r=_a(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function _a(e){let n,r=function(e){let n,r,a;function i(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!gt(e[30]):n)?Ma:(r=null==r?!!e[78].gameModel.platform.includes("PC"):r)?ka:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=l()},m(e,t){s&&s.m(e,t),ue(e,a,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(a.parentNode,a)))},d(e){s&&s.d(e),e&&he(a)}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ka(e){let n,r,a,i,o,s,l,c,d,u,h,m,p,g;return{c(){C(n=me("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),C(n,"part",a=""+(x+(e[78].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",i=e[78].gameModel.thumbnail),C(n,"gamename",o=e[78].gameModel.name),C(n,"gamevendor",s=e[78].gameModel.vendor.name),C(n,"gameisnew",l=e[78].gameModel.isNew),C(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),C(n,"gamecellsize",d=e[78].cellSize),C(n,"gameid",u=e[78].gameModel.id),C(n,"gamefunmode",h=e[78].gameModel.hasFunMode),C(n,"gamefavorite",m=e[78].gameModel.isFavorite),C(n,"showfavoredcategory",e[25]),C(n,"connectlive",p=1==e[26][e[78].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[27]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8]),C(n,"gamepagemodalurl",e[9]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&C(n,"class",r),268435456&t[0]&&a!==(a=""+(x+(e[78].cellSize||"1x1")))&&C(n,"part",a),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[78].gameModel.thumbnail)&&C(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&C(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&C(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&C(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&C(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&C(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&C(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&C(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[78].gameModel.isFavorite)&&C(n,"gamefavorite",m),33554432&t[0]&&C(n,"showfavoredcategory",e[25]),335544320&t[0]&&p!==(p=1==e[26][e[78].id]?"connect":"disconnect")&&C(n,"connectlive",p),134217728&t[0]&&C(n,"visibilityconnect",e[27]),128&t[0]&&C(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8]),512&t[0]&&C(n,"gamepagemodalurl",e[9]),1024&t[0]&&C(n,"integratedgameframedesktop",e[10]),2048&t[0]&&C(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ma(e){let n,r=e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"),a=r&&Ta(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=268435456&t[0]?e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=Ta(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function Ta(e){let n,r,a,i,o,s,l,c,d,u,h,m,p,g;return{c(){C(n=me("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),C(n,"part",a=""+(x+(e[78].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"favorites",e[4]),C(n,"gamethumbnail",i=e[78].gameModel.thumbnail),C(n,"gamename",o=e[78].gameModel.name),C(n,"gamevendor",s=e[78].gameModel.vendor.name),C(n,"gameisnew",l=e[78].gameModel.isNew),C(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),C(n,"gamecellsize",d=e[78].cellSize),C(n,"gameid",u=e[78].gameModel.id),C(n,"gamefunmode",h=e[78].gameModel.hasFunMode),C(n,"gamefavorite",m=e[78].gameModel.isFavorite),C(n,"showfavoredcategory",e[25]),C(n,"connectlive",p=1==e[26][e[78].id]?"connect":"disconnect"),C(n,"visibilityconnect",e[27]),C(n,"currency",e[7]),C(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8]),C(n,"gamepagemodalurl",e[9]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&C(n,"class",r),268435456&t[0]&&a!==(a=""+(x+(e[78].cellSize||"1x1")))&&C(n,"part",a),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),16&t[0]&&C(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[78].gameModel.thumbnail)&&C(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&C(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&C(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&C(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&C(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&C(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&C(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&C(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[78].gameModel.isFavorite)&&C(n,"gamefavorite",m),33554432&t[0]&&C(n,"showfavoredcategory",e[25]),335544320&t[0]&&p!==(p=1==e[26][e[78].id]?"connect":"disconnect")&&C(n,"connectlive",p),134217728&t[0]&&C(n,"visibilityconnect",e[27]),128&t[0]&&C(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&C(n,"livelobbyendpoint",g),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8]),512&t[0]&&C(n,"gamepagemodalurl",e[9]),1024&t[0]&&C(n,"integratedgameframedesktop",e[10]),2048&t[0]&&C(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ga(e){let n,r=e[78].gameModel&&$a(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel?r?r.p(e,t):((r=$a(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Fa(n){let r,a,i,o,s,l,c,d,u=n[29]("gamesCategorySection.viewAll")+"",h=n[15].games.total+"";return{c(){r=me("a"),a=me("span"),i=pe(u),o=pe(" ("),s=pe(h),l=pe(")"),fe(a,"class","CategoryLoadMore"),fe(a,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(a,l),c||(d=V(r,"click",n[46]),c=!0)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.viewAll")+"")&&ye(i,u),32768&t[0]&&h!==(h=e[15].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,d()}}}function Ea(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function La(n){let r,e,a,i=n[16],o=[];for(let e=0;e<i.length;e+=1)o[e]=Pa(ha(n,i,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",a=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[48](r)},p(t,n){if(201404415&n[0]|1&n[1]){let e;for(i=t[16],e=0;e<i.length;e+=1){const a=ha(t,i,e);o[e]?o[e].p(a,n):(o[e]=Pa(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}301989888&n[0]&&e!==(e=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),301989888&n[0]&&a!==(a=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",a)},d(e){e&&he(r),k(o,e),n[48](null)}}}function Pa(e){let n,r=function(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y=n[80];const b=()=>n[47](r,y),v=()=>n[47](null,y);return{c(){C(r=me("casino-game-thumbnail"),"session",n[2]),C(r,"userid",n[3]),C(r,"lang",n[1]),C(r,"class",a=""+(x+(n[78].cellSize||"1x1"))),C(r,"part",i=""+(x+(n[78].cellSize||"1x1"))),C(r,"favorites",n[4]),C(r,"gamethumbnail",o=n[78].thumbnail),C(r,"gamename",s=n[78].name),C(r,"gamevendor",l=n[78].vendor.name),C(r,"gameisnew",c=n[78].isNew),C(r,"gametag",d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags)),C(r,"gamecellsize",u=n[78].cellSize),C(r,"gameid",h=n[78].id),C(r,"gamefunmode",m=n[78].hasFunMode),C(r,"gamefavorite",p=n[78].isFavorite),C(r,"connectlive",g=1==n[26][n[78].id]?"connect":"disconnect"),C(r,"visibilityconnect",n[27]),C(r,"currency",n[7]),C(r,"livelobbyendpoint",f=n[78].details?n[78].href:""),C(r,"clientstyling",n[5]),C(r,"clientstylingurl",n[6]),C(r,"endpoint",n[0]),C(r,"livecasino",n[8]),C(r,"gamepagemodalurl",n[9]),C(r,"integratedgameframedesktop",n[10]),C(r,"integratedgameframemobile",n[11])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,4&t[0]&&C(r,"session",n[2]),8&t[0]&&C(r,"userid",n[3]),2&t[0]&&C(r,"lang",n[1]),65536&t[0]&&a!==(a=""+(x+(n[78].cellSize||"1x1")))&&C(r,"class",a),65536&t[0]&&i!==(i=""+(x+(n[78].cellSize||"1x1")))&&C(r,"part",i),16&t[0]&&C(r,"favorites",n[4]),65536&t[0]&&o!==(o=n[78].thumbnail)&&C(r,"gamethumbnail",o),65536&t[0]&&s!==(s=n[78].name)&&C(r,"gamename",s),65536&t[0]&&l!==(l=n[78].vendor.name)&&C(r,"gamevendor",l),65536&t[0]&&c!==(c=n[78].isNew)&&C(r,"gameisnew",c),65536&t[0]&&d!==(d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags))&&C(r,"gametag",d),65536&t[0]&&u!==(u=n[78].cellSize)&&C(r,"gamecellsize",u),65536&t[0]&&h!==(h=n[78].id)&&C(r,"gameid",h),65536&t[0]&&m!==(m=n[78].hasFunMode)&&C(r,"gamefunmode",m),65536&t[0]&&p!==(p=n[78].isFavorite)&&C(r,"gamefavorite",p),67174400&t[0]&&g!==(g=1==n[26][n[78].id]?"connect":"disconnect")&&C(r,"connectlive",g),134217728&t[0]&&C(r,"visibilityconnect",n[27]),128&t[0]&&C(r,"currency",n[7]),65536&t[0]&&f!==(f=n[78].details?n[78].href:"")&&C(r,"livelobbyendpoint",f),32&t[0]&&C(r,"clientstyling",n[5]),64&t[0]&&C(r,"clientstylingurl",n[6]),1&t[0]&&C(r,"endpoint",n[0]),256&t[0]&&C(r,"livecasino",n[8]),512&t[0]&&C(r,"gamepagemodalurl",n[9]),1024&t[0]&&C(r,"integratedgameframedesktop",n[10]),2048&t[0]&&C(r,"integratedgameframemobile",n[11]),y!==n[80]&&(v(),y=n[80],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ia(e){let n,r,a=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ra(e){let n,r,a=e[29]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noResults")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Aa(e){let n,r,a=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Da(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Ba(t){let r,a,i=!t[22]&&Oa(t),o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ha(ma(t,o,e));return{c(){i&&i.c(),r=ge(),a=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(a,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,r,t),ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null)},p(t,n){if(t[22]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Oa(t)).c(),i.m(r.parentNode,r)),1118207&n[0]|1&n[1]){let e;for(o=t[16],e=0;e<o.length;e+=1){const i=ma(t,o,e);s[e]?s[e].p(i,n):(s[e]=Ha(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&he(r),e&&he(a),k(s,e)}}}function Oa(e){let n,r,t,a,i=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),r=pe(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",a="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ha(e){let n,r,a,i,o,s,l,c,d,u,h,m,p;return{c(){C(n=me("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),C(n,"part",a=""+(x+(e[78].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"searchitem",e[20]),C(n,"favorites",e[4]),C(n,"gamethumbnail",i=e[78].thumbnail),C(n,"gamename",o=e[78].name),C(n,"gamevendor",s=e[78].vendor.name),C(n,"gameisnew",l=e[78].isNew),C(n,"gametag",c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags)),C(n,"gamecellsize",d=e[78].cellSize),C(n,"gameid",u=e[78].id),C(n,"gamefunmode",h=e[78].hasFunMode),C(n,"gamefavorite",m=e[78].isFavorite),C(n,"currency",e[7]),C(n,"livelobbyendpoint",p=e[78].details?e[78].href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8]),C(n,"gamepagemodalurl",e[9]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){65536&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&C(n,"class",r),65536&t[0]&&a!==(a=""+(x+(e[78].cellSize||"1x1")))&&C(n,"part",a),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),1048576&t[0]&&C(n,"searchitem",e[20]),16&t[0]&&C(n,"favorites",e[4]),65536&t[0]&&i!==(i=e[78].thumbnail)&&C(n,"gamethumbnail",i),65536&t[0]&&o!==(o=e[78].name)&&C(n,"gamename",o),65536&t[0]&&s!==(s=e[78].vendor.name)&&C(n,"gamevendor",s),65536&t[0]&&l!==(l=e[78].isNew)&&C(n,"gameisnew",l),65536&t[0]&&c!==(c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags))&&C(n,"gametag",c),65536&t[0]&&d!==(d=e[78].cellSize)&&C(n,"gamecellsize",d),65536&t[0]&&u!==(u=e[78].id)&&C(n,"gameid",u),65536&t[0]&&h!==(h=e[78].hasFunMode)&&C(n,"gamefunmode",h),65536&t[0]&&m!==(m=e[78].isFavorite)&&C(n,"gamefavorite",m),128&t[0]&&C(n,"currency",e[7]),65536&t[0]&&p!==(p=e[78].details?e[78].href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8]),512&t[0]&&C(n,"gamepagemodalurl",e[9]),1024&t[0]&&C(n,"integratedgameframedesktop",e[10]),2048&t[0]&&C(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Na(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ja(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Wa(n){let r;function a(e){return e[14]?fa:e[18]?ga:pa}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[51](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[51](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},da,ia,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const x="game-tile-";function Ua(e,t,s){let A;yt(e,Mr,e=>s(29,A=e));let i,o,l,n,D,r,c,a,d,u,{categoryindex:B=""}=t,{endpoint:h=""}=t,{datasource:m=""}=t,{lang:p=""}=t,{session:O=""}=t,{userid:H=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:N=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:W="false"}=t,{visiblegames:U=""}=t,{gamepagemodalurl:Y="false"}=t,{integratedgameframedesktop:z="false"}=t,{integratedgameframemobile:V="false"}=t,{once:Z=!0}=t,{top:K=0}=t,{bottom:X=0}=t,{left:J=0}=t,{right:q=0}=t,w=!1,x=!0,Q=window.navigator.userAgent,C=[],S=!0,$=40,_=!1,k=!1,ee=!1,M=!1,T=!1,G=!0,F=!1,E=!1,te=!1,L=new Array(1e4),P={},ne="",I={items:[],count:0,name:""},re=(Object.keys(Er).forEach(e=>{Fr(e,Er[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>$&&oe(v),s(26,P[t]=1,P)):s(26,P[t]=0,P)})}));const ae=(e,r,a,t=0)=>{let n,i="",o=(i=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${m}/${n}/subGroups`)):new URL(`${h}/casino/groups/${m}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",ft(Q)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===x&&!1===F){let t="";s(21,T=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(21,T=!1);fetch(i).then(e=>e.json()).then(e=>{1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),s(44,u=!0),s(14,w=!1),D=e.games.total,t(e)},e=>{s(14,w=!0),console.error(e),n(e)})})},ie=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(18,_=!1),x=!1,s(17,S=!1),E=!0,s(16,C=t.data.mostPlayedGames),s(15,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(18,_=!1),x=!1,s(17,S=!1),E=!1,s(16,C=t.data.lastPlayedGames),s(15,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(18,_=!0),E=!1,s(19,k=!0),0<t.data.searchData.length?(s(16,C=t.data.searchData),s(22,G=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(s(16,C=[]),s(22,G=!1));break;case"OutOfRecentSearches":s(18,_=!1),s(19,k=!1);break;case"SearchData":s(18,_=!0),E=!1,s(19,k=!1),s(16,C=t.data.searchData.items||[]),s(20,M=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+v:s(18,_=!1),x=!0,s(17,S=!0),s(20,M=!1),E=!1,te=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),ae(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(15,l=e),s(16,C=l.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":$=20;break;case"CategoryUpdate":s(18,_=!1),x=!1,s(20,M=!1),E=!1,te=!0,s(33,v=t.data.itemId),"MOSTPLAYED"!==v&&s(17,S=!1),ae(0,0,$).then(e=>{s(15,l=e),l.games.items.forEach(e=>{e.isFavorite=R(e.id)}),s(16,C=l.games.items),s(17,S=!1),C.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":E=!1,x=!0,s(16,C=l.games.items),C.forEach(e=>{e.isFavorite=R(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(c=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;F?x||E||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;x=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,I.items=(n=e,I.items,a=window.navigator.userAgent,gt(a)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),I),s(28,I.name="Favorites",I),s(25,F=!0));break;case"UserSessionID":if(i=t.data.session,o=t.data.userID,"true"==g&&o&&o.length&&i&&0<i.length){var r=`${h}/player/${o}/favorites/`;let e={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{c=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;s(16,C=void 0),s(16,C=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,a},oe=e=>{($+=1)<=D&&ae(0,0,$).then(e=>{s(15,l=e),l.games.items.length>C.length&&(s(16,C=l.games.items),C.forEach(e=>{e.isFavorite=R(e.id)}))})},R=t=>!!c&&-1!==c.findIndex(e=>e.id==t),se=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return bt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(27,ne="disconnect"):s(27,ne="connect")}),window.addEventListener("message",ie,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ie),window.removeEventListener("visibilitychange",ie)})),e.$$set=e=>{"categoryindex"in e&&s(34,B=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(35,m=e.datasource),"lang"in e&&s(1,p=e.lang),"session"in e&&s(2,O=e.session),"userid"in e&&s(3,H=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"translationurl"in e&&s(36,b=e.translationurl),"currency"in e&&s(7,N=e.currency),"categoryid"in e&&s(33,v=e.categoryid),"categorygames"in e&&s(37,j=e.categorygames),"livecasino"in e&&s(8,W=e.livecasino),"visiblegames"in e&&s(38,U=e.visiblegames),"gamepagemodalurl"in e&&s(9,Y=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"once"in e&&s(39,Z=e.once),"top"in e&&s(40,K=e.top),"bottom"in e&&s(41,X=e.bottom),"left"in e&&s(42,J=e.left),"right"in e&&s(43,q=e.right)},e.$$.update=()=>{if(8192&e.$$.dirty[0]|8192&e.$$.dirty[1]&&u&&L&&te&&L.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fr(e,t[e])})}).catch(e=>{console.log(e)}),4128&e.$$.dirty[0]&&f&&a){let e=document.createElement("style");e.innerHTML=f,a.appendChild(e)}if(4160&e.$$.dirty[0]&&y&&a){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[h,p,O,H,g,f,y,N,W,Y,z,V,a,L,w,l,C,S,_,k,M,T,G,n,r,F,P,ne,I,A,Q,r=>{if(0===(null==r?void 0:r.length))return"";let a,i,o=99999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ir(e).diff(s)<o&&(o=Ir(e).diff(s),i=t),Ir(s).isAfter(n)&&Ir(s).isBefore(e)&&(a=r[i].name)}),a},se,v,B,m,b,j,U,Z,K,X,J,q,u,function(e){mt[e?"unshift":"push"](()=>{r=e,s(24,r)})},e=>se(l.id),function(e,t){mt[e?"unshift":"push"](()=>{L[t]=e,s(13,L)})},function(e){mt[e?"unshift":"push"](()=>{n=e,s(23,n)})},function(e){mt[e?"unshift":"push"](()=>{r=e,s(24,r)})},function(e){mt[e?"unshift":"push"](()=>{n=e,s(23,n)})},function(e){mt[e?"unshift":"push"](()=>{a=e,s(12,a)})}]}function Ya(e,t){sr(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Ua,Wa,t,{categoryindex:34,endpoint:0,datasource:35,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:36,currency:7,categoryid:33,categorygames:37,livecasino:8,visiblegames:38,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:39,top:40,bottom:41,left:42,right:43},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[34]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[35]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[33]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[37]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[38]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get once(){return this.$$.ctx[39]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[40]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[41]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[42]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[43]}set right(e){this.$$set({right:e}),f()}});const za={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Va(e,t,n){const r=e.slice();return r[34]=t[n],r[36]=n,r}function Za(n){let r,a,i,o,s,l,c,d=!n[7]&&Ka(n),u=n[7]&&Ja(n);return{c(){r=me("div"),a=me("div"),(i=me("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),d&&d.c(),s=ge(),u&&u.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),d&&d.m(a,null),de(a,s),u&&u.m(a,null),l||(c=V(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ka(e)).c(),d.m(a,s)),e[7]?u?u.p(e,t):((u=Ja(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ka(t){let n,r,a,i,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Xa(Va(t,l,e));return{c(){n=me("div"),r=me("main"),a=me("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=me("p"),s=pe(e),fe(a,"class","items"),fe(a,"part","items"),_(a,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a);for(let e=0;e<c.length;e+=1)c[e].m(a,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 r=Va(t,l,e);c[e]?c[e].p(r,n):(c[e]=Xa(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&_(a,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),k(c,e)}}}function Xa(e){let n,r,a,i,o,s;return{c(){n=me("div"),r=me("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,a=e[34].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[34].name),fe(r,"title",o=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,a=e[34].thumbnail)&&fe(r,"src",a),16&t[0]&&i!==(i=e[34].name)&&fe(r,"alt",i),16&t[0]&&o!==(o=e[34].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Ja(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w,x,C,S=n[3].name+"",$=n[3].vendor.name+"",_=n[8]("randomGame.playNowRandomGame")+"";return{c(){r=me("div"),a=me("div"),i=me("img"),c=ge(),(d=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=me("div"),m=me("p"),p=pe(S),g=ge(),f=me("p"),y=pe($),b=ge(),v=me("button"),w=pe(_),fe(i,"class","RandomGameImage"),fe(i,"part","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(d,"part","RandomTryAgain"),fe(a,"class","item"),fe(a,"part","item"),fe(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,c),de(a,d),de(r,u),de(r,h),de(h,m),de(m,p),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||(C=[V(d,"click",n[20]),V(v,"click",n[21])],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]&&S!==(S=e[3].name+"")&&ye(p,S),8&t[0]&&$!==($=e[3].vendor.name+"")&&ye(y,$),256&t[0]&&_!==(_=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,_)},d(e){e&&he(r),x=!1,z(C)}}}function qa(e){let n,r,a=e[8]("randomGame.playRandomGame")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&a!==(a=e[8]("randomGame.playRandomGame")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Qa(e){let n,r;return{c(){n=me("span"),r=pe(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&he(n)}}}function ei(n){let r,a,i,o,s,l,c,d,u=n[5]&&Za(n);function h(e){return e[1]?Qa:e[1]?void 0:qa}let m=h(n),p=m&&m(n);return{c(){r=me("div"),u&&u.c(),a=ge(),i=me("div"),o=me("button"),p&&p.c(),s=ge(),l=me("span"),this.c=Y,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(i,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,a),de(r,i),de(i,o),p&&p.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](r),c||(d=V(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Za(e)).c(),u.m(r,a)):u&&(u.d(1),u=null),m===(m=h(e))&&p?p.p(e,t):(p&&p.d(1),(p=m&&m(e))&&(p.c(),p.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:Y,o:Y,d(e){e&&he(r),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function ti(t,e,n){let r;yt(t,Mr,e=>n(8,r=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:h=""}=e,{clientstyling:m=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,x=!1,C=window.navigator.userAgent;var S,$;({withLocale:S,translations:$}={withLocale:"en",translations:{}}),pt.subscribe(e=>{null==e&&(ir.set($),pt.set(S))}),Object.keys(za).forEach(e=>{Ya(e,za[e])});const _=()=>{n(4,a=M(a)),n(6,v=0),w=0,n(7,x=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},k=e=>{if(g)for(;_(),!g.includes(y.vendor.name););else _();let t=setInterval(()=>{n(6,v-=100),20==++w&&(n(7,x=!0),clearInterval(t))},100);e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},M=e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e},T=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,h=e.translationurl),"clientstyling"in e&&n(17,m=e.clientstyling),"clientstylingurl"in e&&n(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,pt.set(e)),65536&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ya(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",ft(C)),e.searchParams.append("datasource",s),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{f=e.items,n(4,a=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&m&&i){let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)}if(262148&t.$$.dirty[0]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e},[d,u,i,y,a,b,v,x,r,k,T,()=>{n(5,b=!1)},o,s,l,c,h,m,p,g,()=>k(!0),()=>T(),()=>k(),function(e){mt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function ni(e,t){sr(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},ti,ei,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const ri={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function ai(e,t,n){const r=e.slice();return r[60]=t[n],r}function ii(e,t,n){const r=e.slice();return r[63]=t[n],r}function oi(n){let i,r,o,a,s,l,c,d,e,u,h,m,p,g,f,y,b,v,w,x,C=n[14],S=[];for(let e=0;e<C.length;e+=1)S[e]=di(ii(n,C,e));let $=n[8],_=[];for(let e=0;e<$.length;e+=1)_[e]=ui(ai(n,$,e));return{c(){i=me("div"),r=me("div"),o=me("div");for(let e=0;e<S.length;e+=1)S[e].c();a=ge(),s=me("div"),l=me("button"),c=M("svg"),d=M("path"),u=ge(),h=me("button"),m=M("svg"),p=M("path"),y=ge(),b=me("div");for(let e=0;e<_.length;e+=1)_[e].c();fe(o,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(p,"style",g=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,o);for(let e=0;e<S.length;e+=1)S[e].m(o,null);de(r,a),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,h),de(h,m),de(m,p),de(i,y),de(i,b);for(let e=0;e<_.length;e+=1)_[e].m(b,null);n[40](b),w||(x=[V(l,"click",n[37]),V(h,"click",n[38])],w=!0)},p(t,n){if(114819&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=ii(t,C,e);S[e]?S[e].p(r,n):(S[e]=di(r),S[e].c(),S[e].m(o,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=C.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&g!==(g=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),436492&n[0]){let e;for($=t[8],e=0;e<$.length;e+=1){var a=ai(t,$,e);_[e]?_[e].p(a,n):(_[e]=ui(a),_[e].c(),_[e].m(b,null))}for(;e<_.length;e+=1)_[e].d(1);_.length=$.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),k(S,e),k(_,e),n[40](null),w=!1,z(x)}}}function si(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function li(n){let r,a,i,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=me("button"),a=pe(l),fe(r,"class",i="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=V(r,"click",n[35]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(a,l),129&t[0]&&i!==(i="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&he(r),o=!1,s()}}}function ci(n){let r,a,i,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=me("button"),a=pe(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=V(r,"click",n[36]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(a,c),130&t[0]&&o!==(o="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function di(e){let n,r,a="recent"==e[63]&&li(e),i="top"==e[63]&&ci(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[63]?a?a.p(e,t):((a=li(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[63]?i?i.p(e,t):((i=ci(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&he(n),i&&i.d(e),e&&he(r)}}}function ui(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w,x,C,S,$,_,k,M=n[60].gameName+"",T=n[17](n[60].username)+"",G=n[15]("Translations.won")+"",F=n[60].specifiedCurrencyAmount.toFixed(2)+"",E=(n[11]?n[3]:n[2])+"";function L(){return n[39](n[60])}return{c(){r=me("div"),a=me("div"),i=me("img"),l=ge(),c=me("p"),d=pe(M),u=ge(),h=me("p"),m=pe(T),p=ge(),g=me("p"),f=pe(G),y=ge(),b=me("p"),v=pe(F),w=ge(),x=me("span"),C=pe(E),S=ge(),ce(i.src,o=n[60]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[60]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",$="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,l),de(a,c),de(c,d),de(a,u),de(a,h),de(h,m),de(a,p),de(a,g),de(g,f),de(a,y),de(a,b),de(b,v),de(b,w),de(b,x),de(x,C),de(r,S),_||(k=V(i,"click",L),_=!0)},p(e,t){n=e,256&t[0]&&!ce(i.src,o=n[60]?.gameModel?.thumbnail)&&fe(i,"src",o),256&t[0]&&s!==(s=n[60]?.gameModel?.thumbnail)&&fe(i,"alt",s),256&t[0]&&M!==(M=n[60].gameName+"")&&ye(d,M),256&t[0]&&T!==(T=n[17](n[60].username)+"")&&ye(m,T),32768&t[0]&&G!==(G=n[15]("Translations.won")+"")&&ye(f,G),256&t[0]&&F!==(F=n[60].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,F),2060&t[0]&&E!==(E=(n[11]?n[3]:n[2])+"")&&ye(C,E),8192&t[0]&&$!==($="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",$)},d(e){e&&he(r),_=!1,k()}}}function hi(n){let r;function a(e){return e[12]?si:oi}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[41](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[41](null)}}}function mi(t,e,r){let n;yt(t,Mr,e=>r(15,n=e));let a,i,o,s,A,l,D,c,d,u,{endpoint:h=""}=e,{session:m=""}=e,{userid:p=""}=e,{periodrecent:g="Today"}=e,{periodtop:f="Last7Days"}=e,{numberusersrecent:y="20"}=e,{numberuserstop:b="20"}=e,{amountlimit:v="1"}=e,{lang:w="en"}=e,{isrecentavailable:x="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:S=""}=e,{usercurrency:$=""}=e,{clientstyling:_=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:T=""}=e,{translationurl:G=""}=e,F=[],E=0,L=0,B=window.navigator.userAgent,O=!0,P=!1;Object.keys(ri).forEach(e=>{ni(e,ri[e])});const H=()=>{const e=new URL(`${h}/casino/${i}-winners`);e.searchParams.append("limit","recent"==i?y:b),e.searchParams.append("specifiedCurrency",u),e.searchParams.append("period","recent"==i?g:f),e.searchParams.append("language",w),e.searchParams.append("amountLimit",v),fetch(e.href).then(e=>e.json()).then(e=>{r(8,F=[]),r(8,F=e.items.map(e=>e)),r(12,O=!1),setTimeout(()=>{r(9,L=Math.round(a.offsetWidth/225)),j(),"true"==M&&(E=0,L<D?c=setInterval(()=>{R()},3e3):clearInterval(c))})})},I=e=>{i!==e&&(r(7,i=e),r(8,F=[]),H())},N=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(A||"Not logged in")})},j=n=>{const e=[...a.children];D=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==i?setTimeout(()=>{r(13,P=!0)},10):r(13,P=!1)},W=()=>{j(E)},U=()=>{var e=F.length;L>=F.length||(0===E?E=e-L:E-L<0?E=0:E-=L,W())},R=()=>{var e=F.length;L>=F.length||("true"==M&&(E===e-L?E=0:E++),"false"==M&&(E===e-L?E=0:e-L<E+L?E=e-L:E+=L),W())},Y=()=>{r(34,u=s?$:S)};return bt(()=>(r(10,o=gt(B)),()=>{clearInterval(c)})),t.$$set=e=>{"endpoint"in e&&r(22,h=e.endpoint),"session"in e&&r(23,m=e.session),"userid"in e&&r(24,p=e.userid),"periodrecent"in e&&r(25,g=e.periodrecent),"periodtop"in e&&r(26,f=e.periodtop),"numberusersrecent"in e&&r(27,y=e.numberusersrecent),"numberuserstop"in e&&r(28,b=e.numberuserstop),"amountlimit"in e&&r(21,v=e.amountlimit),"lang"in e&&r(29,w=e.lang),"isrecentavailable"in e&&r(0,x=e.isrecentavailable),"istopavailable"in e&&r(1,C=e.istopavailable),"defaultcurrency"in e&&r(2,S=e.defaultcurrency),"usercurrency"in e&&r(3,$=e.usercurrency),"clientstyling"in e&&r(30,_=e.clientstyling),"clientstylingurl"in e&&r(31,k=e.clientstylingurl),"enableautoscroll"in e&&r(4,M=e.enableautoscroll),"tabsorder"in e&&r(32,T=e.tabsorder),"translationurl"in e&&r(33,G=e.translationurl)},t.$$.update=()=>{if(1042284547&t.$$.dirty[0]|2&t.$$.dirty[1]&&x&&C&&g&&f&&y&&b&&v&&w&&T&&(r(14,d=T.split(",")),r(7,i=d[0]),"false"==x&&r(21,v=""),Y()),12582912&t.$$.dirty[0]&&m&&h&&(r(11,s=!0),A=p,Y()),4194320&t.$$.dirty[0]|8&t.$$.dirty[1]&&h&&u&&M&&H(),536870912&t.$$.dirty[0]&&w&&(e=w,pt.set(e)),4&t.$$.dirty[1]&&G&&fetch(G).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ni(e,t[e])})}).catch(e=>{console.log(e)}),1073741856&t.$$.dirty[0]&&_&&l){let e=document.createElement("style");e.innerHTML=_,l.appendChild(e)}if(32&t.$$.dirty[0]|1&t.$$.dirty[1]&&k&&l){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[x,C,S,$,M,l,a,i,F,L,o,s,O,P,d,n,I,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),N,U,R,v,h,m,p,g,f,y,b,w,_,k,T,G,u,()=>I("recent"),()=>I("top"),()=>U(),()=>R(),e=>N(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){mt[e?"unshift":"push"](()=>{a=e,r(6,a)})},function(e){mt[e?"unshift":"push"](()=>{l=e,r(5,l)})}]}function pi(e,t){sr(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},mi,hi,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,lang:29,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:30,clientstylingurl:31,enableautoscroll:4,tabsorder:32,translationurl:33},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[29]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[32]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[33]}set translationurl(e){this.$$set({translationurl:e}),f()}});const gi={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function fi(e,t,n){const r=e.slice();return r[49]=t[n],r[51]=n,r}function yi(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v;function w(e){return e[5]?wi:xi}let x=w(n),C=x(n);return{c(){r=me("div"),a=me("div"),i=me("div"),o=me("div"),s=me("img"),c=ge(),d=me("div"),C.c(),u=ge(),h=me("div"),m=me("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(m.src,p=n[11])||fe(m,"src",p),fe(m,"alt",""),fe(h,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,c),de(i,d),C.m(d,null),de(i,u),de(i,h),de(h,m),b||(v=V(a,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(d,null))),2048&t[0]&&!ce(m.src,p=e[11])&&fe(m,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&_(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),C.d(),b=!1,v()}}}function bi(e){let n,r,a=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16384&t[0]&&a!==(a=e[14]("jackpotBanners.loadingText")+"")&&ye(r,a)},d(e){e&&he(n)}}}function vi(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function wi(e){let n,r,a,i,o,s,D,l,c,B,O,d,H,N,u,h,m,p,g,j,f,y,W,U,b,Y,z,v,w,x,C,S,$,V,_,k,Z,K,M,X,J,T,G,F,E,L,q,P,I,Q,ee,R,te,A=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=me("div"),r=me("div"),a=me("div"),i=me("img"),s=me("span"),D=pe(A),l=me("span"),c=me("span"),B=pe(ne),O=ge(),d=me("span"),H=pe(e[1]),N=ge(),u=me("div"),h=me("div"),m=me("img"),g=me("span"),j=pe(re),f=me("span"),y=me("span"),W=pe(ae),U=ge(),b=me("span"),Y=pe(e[1]),z=ge(),v=me("div"),w=me("div"),x=me("div"),C=me("img"),$=me("span"),V=pe(ie),_=me("span"),k=me("span"),Z=pe(oe),K=ge(),M=me("span"),X=pe(e[1]),J=ge(),T=me("div"),G=me("div"),F=me("img"),L=me("span"),q=pe(se),P=me("span"),I=me("span"),Q=pe(le),ee=ge(),R=me("span"),te=pe(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(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(m,"class","displayCardIcon"),ce(m.src,p=e[9][1])||fe(m,"src",p),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,S=e[9][2])||fe(C,"src",S),fe(C,"alt",""),fe($,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(_,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(F,"class","displayCardIcon"),ce(F.src,E=e[9][3])||fe(F,"src",E),fe(F,"alt",""),fe(L,"class","cardLabel"),fe(G,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(a,i),de(a,s),de(s,D),de(r,l),de(l,c),de(c,B),de(l,O),de(l,d),de(d,H),de(n,N),de(n,u),de(u,h),de(h,m),de(h,g),de(g,j),de(u,f),de(f,y),de(y,W),de(f,U),de(f,b),de(b,Y),ue(e,z,t),ue(e,v,t),de(v,w),de(w,x),de(x,C),de(x,$),de($,V),de(w,_),de(_,k),de(k,Z),de(_,K),de(_,M),de(M,X),de(v,J),de(v,T),de(T,G),de(G,F),de(G,L),de(L,q),de(T,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&A!==(A=e[8][0]+"")&&ye(D,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(B,ne),2&t[0]&&ye(H,e[1]),512&t[0]&&!ce(m.src,p=e[9][1])&&fe(m,"src",p),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(W,ae),2&t[0]&&ye(Y,e[1]),512&t[0]&&!ce(C.src,S=e[9][2])&&fe(C,"src",S),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(X,e[1]),512&t[0]&&!ce(F.src,E=e[9][3])&&fe(F,"src",E),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(z),e&&he(v)}}}function xi(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=Ci(fi(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=fi(t,i,e);o[e]?o[e].p(r,n):(o[e]=Ci(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function Ci(e){let n,r,a,i,o,s,l,c,d,u,h,m,p=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=me("div"),r=me("div"),a=me("img"),o=me("span"),s=pe(p),l=me("span"),c=me("span"),d=pe(g),u=ge(),h=me("span"),m=pe(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[51]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,m)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[51]])&&fe(a,"src",i),256&t[0]&&p!==(p=e[8][e[51]]+"")&&ye(s,p),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(m,e[1])},d(e){e&&he(n)}}}function Si(n){let r;function a(e){return e[13]?vi:e[3]?bi:yi}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[33](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[33](null)}}}function $i(n,e,r){let t;yt(n,Mr,e=>r(14,t=e));let a,i,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:m=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:C=""}=e,A=window.navigator.userAgent,S=!1,$=!1,_="",k=[],M=[],T=[],G=[],F=[],E="",L="",P=!1,I=!0,D=!1;Object.keys(gi).forEach(e=>{pi(e,gi[e])});const R=["typeSpread","typeLeft"],B=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:C},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+C})};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,d=e.caticon2),"caticon3"in e&&r(20,u=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,m=e.backgroundsrc),"currency"in e&&r(1,p=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"translationurl"in e&&r(28,w=e.translationurl),"endpoint"in e&&r(29,x=e.endpoint),"gameid"in e&&r(30,C=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&x&&(t=new URL(x+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&a&&b){let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)}if(134217732&n.$$.dirty[0]&&a&&v){r(12,P=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{r(12,P=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&x&&y&&p&&0<M.length&&(x&&y&&p)){let e=new URL(x+"/casino/jackpots");e.searchParams.append("filter","id="+C),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",p),fetch(e.href).then(e=>e.json().then(e=>{r(3,I=!1),i=e,M.includes(C)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>k.push(+e)),r(6,_=i.items[0].vendorLogo))}).catch(e=>{r(13,D=!0),r(3,I=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&p&&y&&!I&&(r(4,S=gt(A)&&1<window.innerHeight/window.innerWidth),r(5,$=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==k.length&&r(7,T=k.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,G=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`),r(0,o=R[0])),r(10,E=g&&S&&!$?g:m),r(11,L=f),r(9,F=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,pt.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{pi(e,t[e])})}).catch(e=>{console.log(e)})},[o,p,a,I,S,$,_,T,G,F,E,L,P,D,t,B,s,l,c,d,u,h,m,g,f,y,b,v,w,x,C,M,()=>B(),function(e){mt[e?"unshift":"push"](()=>{a=e,r(2,a)})}]}function _i(e,t){sr(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends W{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},$i,Si,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","translationurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const ki={en:{Translations:{collections:"Game Collections",providers:"Game Providers"}},zh:{Translations:{collections:"Game Collections",providers:"Game Providers"}},de:{Translations:{collections:"Game Collections",providers:"Game Providers"}},it:{Translations:{collections:"Game Collections",providers:"Game Providers"}},fr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},es:{Translations:{collections:"Game Collections",providers:"Game Providers"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers"}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers"}}};function Mi(e,t,n){const r=e.slice();return r[39]=t[n],r}function Ti(e,t,n){const r=e.slice();return r[42]=t[n],r}function Gi(n){let a,r,i,o,s,l,c,d,u,h,m,e,p,g,f=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",y=n[2],b=[];for(let e=0;e<y.length;e+=1)b[e]=Ii(Mi(n,y,e));return{c(){a=me("div"),r=me("div"),i=me("p"),o=pe(f),s=ge(),l=me("div"),(c=me("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',d=ge(),(u=me("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>',h=ge(),m=me("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(m,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(a,h),de(a,m);for(let e=0;e<b.length;e+=1)b[e].m(m,null);n[22](m),p||(g=[V(c,"click",n[18]),V(u,"click",n[19])],p=!0)},p(t,n){if(129&n[0]&&f!==(f=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(o,f),3078&n[0]){let e;for(y=t[2],e=0;e<y.length;e+=1){var r=Mi(t,y,e);b[e]?b[e].p(r,n):(b[e]=Ii(r),b[e].c(),b[e].m(m,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&he(a),k(b,e),n[22](null),p=!1,z(g)}}}function Fi(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Ei(e){let n,r,a=e[39].name+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){4&t[0]&&a!==(a=e[39].name+"")&&ye(r,a)},d(e){e&&he(n)}}}function Li(e){let n,r,a;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",a=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),4&t[0]&&a!==(a=e[39].name+" icon")&&fe(n,"alt",a)},d(e){e&&he(n)}}}function Pi(n){let r,a,i,o,s;function l(){return n[20](n[42])}return{c(){fe(r=me("img"),"class","CategorySlideGameImage"),ce(r.src,a=n[42].defaultThumbnail)||fe(r,"src",a),fe(r,"alt",i=n[42].name)},m(e,t){var n;ue(e,r,t),o||(s=V(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[42].defaultThumbnail)&&fe(r,"src",a),4&t[0]&&i!==(i=n[42].name)&&fe(r,"alt",i)},d(e){e&&he(r),o=!1,s()}}}function Ii(n){let r,a,i,o,s,l,c,d,u;function h(e){return"logo"==e[1]?Li:"title"==e[1]?Ei:void 0}let m=h(n),p=m&&m(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=Pi(Ti(n,g,e));function y(){return n[21](n[39])}return{c(){r=me("div"),a=me("div"),i=me("div"),p&&p.c(),o=ge(),s=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(a,"background-image","url("+n[39]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,a),de(a,i),p&&p.m(i,null),de(a,o),de(a,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(r,c),d||(u=V(a,"click",y),d=!0)},p(e,t){if(m===(m=h(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(i,null))),1028&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const a=Ti(n,g,e);f[e]?f[e].p(a,t):(f[e]=Pi(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),4&t[0]&&_(a,"background-image","url("+n[39]?.background+")")},d(e){e&&he(r),p&&p.d(),k(f,e),d=!1,u()}}}function Ri(n){let r;function a(e){return e[5]?Fi:Gi}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[23](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[23](null)}}}function Ai(n,e,r){let t;yt(n,Mr,e=>r(7,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:m=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,y=[],b=!0,v=0,w=0,x=0,C=window.navigator.userAgent;Object.keys(ki).forEach(e=>{_i(e,ki[e])});const S=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),x=Math.round(a.offsetWidth/i)},$=()=>{S(v)},_=()=>{x>=w||(0===v?v=w-x:v-x<-1?v=0:v--,$())},k=()=>{x>=w||(v===w-x?v=0:w-x<v+1?v=w-x:v++,$())},M=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},T=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return bt(()=>{r(6,l=gt(C))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,d=e.datasource),"lang"in e&&r(14,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,m=e.titletype),"clientstyling"in e&&r(15,p=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl),"translationurl"in e&&r(17,f=e.translationurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(5,b=!1);let t=e.items.filter(e=>e.flags==h);r(2,y=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),w=y.length})}if(12&n.$$.dirty[0]&&y&&a&&S(),16384&n.$$.dirty[0]&&u&&(e=u,pt.set(e)),32784&n.$$.dirty[0]&&p&&s){let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)}if(65552&n.$$.dirty[0]&&g&&s){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;131072&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{_i(e,t[e])})}).catch(e=>{console.log(e)})},[h,m,y,a,s,b,l,t,_,k,M,T,c,d,u,p,g,f,()=>_(),()=>k(),e=>M(e.gameId,e.launchUrl,e.name),e=>T(e.id),function(e){mt[e?"unshift":"push"](()=>{a=e,r(3,a)})},function(e){mt[e?"unshift":"push"](()=>{s=e,r(4,s)})}]}function Di(n){let r,a,i,o,s;return{c(){r=me("div"),a=me("casino-games-category-section"),this.c=Y,C(a,"session",n[0]),C(a,"userid",n[1]),C(a,"endpoint",n[2]),C(a,"datasource",n[3]),C(a,"lang",n[5]),C(a,"currency",n[4]),C(a,"favorites",n[13]),C(a,"categoryid","FAVORITES"),C(a,"class","CategoryContainer"),C(a,"clientstyling",n[6]),C(a,"clientstylingurl",n[7]),C(a,"livecasino",n[8]),C(a,"visiblegames",n[12]),C(a,"gamepagemodalurl",n[11]),C(a,"integratedgameframedesktop",n[10]),C(a,"integratedgameframemobile",n[9]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,a),n[17](r),o||(s=F(i=n[15].call(null,a,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,t){1&t[0]&&C(a,"session",e[0]),2&t[0]&&C(a,"userid",e[1]),4&t[0]&&C(a,"endpoint",e[2]),8&t[0]&&C(a,"datasource",e[3]),32&t[0]&&C(a,"lang",e[5]),16&t[0]&&C(a,"currency",e[4]),8192&t[0]&&C(a,"favorites",e[13]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7]),256&t[0]&&C(a,"livecasino",e[8]),4096&t[0]&&C(a,"visiblegames",e[12]),2048&t[0]&&C(a,"gamepagemodalurl",e[11]),1024&t[0]&&C(a,"integratedgameframedesktop",e[10]),512&t[0]&&C(a,"integratedgameframemobile",e[9]),i&&T(i.update)&&7&t[0]&&i.update.call(null,(e[2],e[1],e[0],e[1]))},i:Y,o:Y,d(e){e&&he(r),n[17](null),o=!1,s()}}}function Bi(e,t,l){let n,r,{endpoint:c=""}=t,{datasource:a=""}=t,{currency:i=""}=t,{lang:o=""}=t,{session:d=""}=t,{userid:u=""}=t,{clientstyling:s=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,w=[];var x,C;({withLocale:x,translations:C}={withLocale:"en",translations:{}}),pt.subscribe(e=>{null==e&&(ir.set(C),pt.set(x))});const S=n=>{if(n.data)switch(n.data.type){case"UserSessionID":l(0,d=n.data.session),l(1,u=n.data.userID),u&&u.length&&d&&0<d.length&&$(c,d,u);break;case"SetUnfavoredGame":t=`${c}/player/${u}/favorites`,o=d,u,s=n.data.id,n.data.triggerFactor,w.includes(s)&&(w=w.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),_(t,o)});break;case"SetFavoredGame":{var r=`${c}/player/${u}/favorites`;var a=d;u;var i=n.data.id;n.data.triggerFactor;w.includes(i)||w.push(i);let e={items:w},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),_(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":u&&u.length&&d&&0<d.length&&$(c,d,u)}var t,o,s};let $=(e,t,n)=>{"true"==b&&d&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(k(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),M(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let _=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,k(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const k=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},M=(e=[])=>(w=[],0<e.length&&e.forEach(e=>{w.push(e.id)}),w);return bt(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})),e.$$set=e=>{"endpoint"in e&&l(2,c=e.endpoint),"datasource"in e&&l(3,a=e.datasource),"currency"in e&&l(4,i=e.currency),"lang"in e&&l(5,o=e.lang),"session"in e&&l(0,d=e.session),"userid"in e&&l(1,u=e.userid),"clientstyling"in e&&l(6,s=e.clientstyling),"clientstylingurl"in e&&l(7,h=e.clientstylingurl),"livecasino"in e&&l(8,m=e.livecasino),"integratedgameframemobile"in e&&l(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&l(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&l(11,f=e.gamepagemodalurl),"visiblegames"in e&&l(12,y=e.visiblegames),"favorites"in e&&l(13,b=e.favorites),"categoryid"in e&&l(16,v=e.categoryid)},e.$$.update=()=>{if(8231&e.$$.dirty[0]&&c&&u&&d&&o&&b&&"true"==b&&$(c,d,u),16448&e.$$.dirty[0]&&s&&n){let e=document.createElement("style");e.innerHTML=s,n.appendChild(e)}if(16512&e.$$.dirty[0]&&h&&n){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[d,u,c,a,i,o,s,h,m,p,g,f,y,b,n,$,v,function(e){mt[e?"unshift":"push"](()=>{n=e,l(14,n)})}]}function Oi(e,t){sr(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Ai,Ri,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16,translationurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends W{constructor(e){super(),j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Bi,Di,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[16]}set categoryid(e){this.$$set({categoryid:e}),f()}});const Hi={en:{LastPlayedTranslations:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}},de:{LastPlayedTranslations:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."}}};function Ni(e){let n;return{c(){C(n=me("casino-games-category-section"),"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[13]),C(n,"categoryid","LASTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[8]),C(n,"visiblegames",e[12]),C(n,"gamepagemodalurl",e[11]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&C(n,"session",e[4]),32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),8192&t[0]&&C(n,"favorites",e[13]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),256&t[0]&&C(n,"livecasino",e[8]),4096&t[0]&&C(n,"visiblegames",e[12]),2048&t[0]&&C(n,"gamepagemodalurl",e[11]),1024&t[0]&&C(n,"integratedgameframedesktop",e[10]),512&t[0]&&C(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function ji(e){let n,r,a=e[16]("LastPlayedTranslations.noRecentGames")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){65536&t[0]&&a!==(a=e[16]("LastPlayedTranslations.noRecentGames")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Wi(n){let r,a;function i(e){return e[15]?ji:Ni}let o=i(n),s=o(n);return{c(){r=me("div"),a=me("div"),s.c(),this.c=Y,fe(a,"class","CasinoLastPlayedSection"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[19](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:Y,o:Y,d(e){e&&he(r),s.d(),n[19](null)}}}function Ui(t,e,n){let r;yt(t,Mr,e=>n(16,r=e));let i,o,{endpoint:s=""}=e,{datasource:l=""}=e,{currency:a=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:h=""}=e,{clientstylingurl:m=""}=e,{translationurl:p=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:v=""}=e,{favorites:w=""}=e,{lastplayedperiod:x=""}=e,C=window.navigator.userAgent,S=!1,$;Object.keys(Hi).forEach(e=>{Oi(e,Hi[e])});return t.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,l=e.datasource),"currency"in e&&n(2,a=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"translationurl"in e&&n(17,p=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"visiblegames"in e&&n(12,v=e.visiblegames),"favorites"in e&&n(13,w=e.favorites),"lastplayedperiod"in e&&n(18,x=e.lastplayedperiod)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&s&&u&&c&&(a={device:ft(C),period:x||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${s}/player/${u}/games/last-played`);a.limit&&n.searchParams.append("limit","10"),a.order&&n.searchParams.append("order",a.order);var r=a.device;r?"PC"===r?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),a.period&&n.searchParams.append("period","Last30Days"),i=g?n:n.href,fetch(i).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(s+"/casino/games/"+e.gameId);t.searchParams.append("datasource",l),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{$=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:$},window.location.href)})}else n(15,S=!0)})),131072&t.$$.dirty[0]&&p&&(e=translationUrl,fetch(e).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Oi(e,t[e])})}).catch(e=>{console.log(e)})),16448&t.$$.dirty[0]&&h&&o){let e=document.createElement("style");e.innerHTML=h,o.appendChild(e)}if(16512&t.$$.dirty[0]&&m&&o){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}var e,a;8&t.$$.dirty[0]&&c&&(e=c,pt.set(e))},[s,l,a,c,d,u,h,m,g,f,y,b,v,w,o,S,r,p,x,function(e){mt[e?"unshift":"push"](()=>{o=e,n(14,o)})}]}function Yi(e){let n;return{c(){C(n=me("casino-games-category-section"),"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[13]),C(n,"categoryid","MOSTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[8]),C(n,"visiblegames",e[12]),C(n,"gamepagemodalurl",e[11]),C(n,"integratedgameframedesktop",e[10]),C(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t&&C(n,"session",e[4]),32&t&&C(n,"userid",e[5]),1&t&&C(n,"endpoint",e[0]),2&t&&C(n,"datasource",e[1]),8&t&&C(n,"lang",e[3]),4&t&&C(n,"currency",e[2]),8192&t&&C(n,"favorites",e[13]),64&t&&C(n,"clientstyling",e[6]),128&t&&C(n,"clientstylingurl",e[7]),256&t&&C(n,"livecasino",e[8]),4096&t&&C(n,"visiblegames",e[12]),2048&t&&C(n,"gamepagemodalurl",e[11]),1024&t&&C(n,"integratedgameframedesktop",e[10]),512&t&&C(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function zi(e){let n;return{c(){(n=me("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Y,d(e){e&&he(n)}}}function Vi(n){let r,a;function i(e){return e[15]?zi:Yi}let o=i(n),s=o(n);return{c(){r=me("div"),a=me("div"),s.c(),this.c=Y,fe(a,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[17](r)},p(e,[t]){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:Y,o:Y,d(e){e&&he(r),s.d(),n[17](null)}}}function Zi(t,e,n){let r,a,{endpoint:i=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,w=window.navigator.userAgent,x,C=!1;return t.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(16,v=e.lastPlayedEmpty)},t.$$.update=()=>{if(41&t.$$.dirty&&i&&d&&l&&(e=>{let t=new URL(`${i}/player/${d}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),r=m?t:t.href,new Promise((e,t)=>{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)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:ft(w),rounds:10}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(i+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:x},window.location.href)})}else n(15,C=!0)}),16448&t.$$.dirty&&u&&a){let e=document.createElement("style");e.innerHTML=u,a.appendChild(e)}if(16512&t.$$.dirty&&h&&a){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,pt.set(e))},[i,o,s,l,c,d,u,h,m,p,g,f,y,b,a,C,v,function(e){mt[e?"unshift":"push"](()=>{a=e,n(14,a)})}]}function Ki(e,t,n){const r=e.slice();return r[162]=t[n],r[164]=n,r}function Xi(e,t,n){const r=e.slice();return r[162]=t[n],r[164]=n,r}function Ji(e){let n,r,a,i,o,s="PC"!==ft(e[72])&&"false"===e[10]&&e[69],l=s&&Qi();function c(e){return"false"===e[10]?to:eo}let d=c(e),u=d(e),h="true"==e[15]&&0==e[60]&&fo(e);function m(e){return e[50]?_o:e[61]?$o:e[56]?So:e[62]?Co:e[61]?xo:e[56]?wo:e[62]?vo:e[63]?bo:yo}let p=m(e),g=p(e),f=e[52]&&"true"==e[13]&&Do(e);return{c(){n=me("section"),l&&l.c(),r=ge(),u.c(),a=ge(),h&&h.c(),i=ge(),g.c(),o=ge(),f&&f.c(),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),_(n,"max-width",e[12]+"px")},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),u.m(n,null),de(n,a),h&&h.m(n,null),de(n,i),g.m(n,null),de(n,o),f&&f.m(n,null)},p(e,t){(s=1024&t[0]|128&t[2]?"PC"!==ft(e[72])&&"false"===e[10]&&e[69]:s)?l||((l=Qi()).c(),l.m(n,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(n,a))),"true"==e[15]&&0==e[60]?h?h.p(e,t):((h=fo(e)).c(),h.m(n,i)):h&&(h.d(1),h=null),p===(p=m(e))&&g?g.p(e,t):(g.d(1),(g=p(e))&&(g.c(),g.m(n,o))),e[52]&&"true"==e[13]?f?f.p(e,t):((f=Do(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),4096&t[0]&&_(n,"max-width",e[12]+"px")},d(e){e&&he(n),l&&l.d(),u.d(),h&&h.d(),g.d(),f&&f.d()}}}function qi(e){let n,r,a=e[71]("casinoPage.500")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&a!==(a=e[71]("casinoPage.500")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Qi(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function eo(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",x="PC"===ft(n[72])&&n[47].length||"PC"!==ft(n[72]),C=!n[69]&&no(),S=x&&ro(n),$=!n[56]&&!n[61]&&!n[69]&&!n[62]&&!n[63]&&!n[57]&&!n[60]&&!n[58]&&!n[59]&&ao(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),C&&C.c(),c=ge(),d=me("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Oo?"CategoriesHeaderSearchActive":"")+(n[64]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Oo?"CategoriesHeaderSearchActive":"")+(n[64]&&n[69]?"SearchStickTop":"")),_(r,"top",n[64]&&n[69]?Ho+"px":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(a,s),de(a,l),C&&C.m(l,null),de(l,c),de(l,d),n[99](d),E(d,n[47]),de(l,h),S&&S.m(l,null),de(r,g),$&&$.m(r,null),n[104](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[100]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=no()).c(),C.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),65536&t[1]&&E(d,e[47]),(x=65536&t[1]?"PC"===ft(e[72])&&e[47].length||"PC"!==ft(e[72]):x)?S?S.p(e,t):((S=ro(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),1375731712&t[1]|3&t[2]&&m!==(m="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"class",m),1375731712&t[1]|3&t[2]&&p!==(p="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"part",p),e[56]||e[61]||e[69]||e[62]||e[63]||e[57]||e[60]||e[58]||e[59]?$&&($.d(1),$=null):$?$.p(e,t):(($=ao(e)).c(),$.m(r,null)),134217728&t[1]|132&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Oo?"CategoriesHeaderSearchActive":"")+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),134217728&t[1]|132&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Oo?"CategoriesHeaderSearchActive":"")+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),132&t[2]&&_(r,"top",e[64]&&e[69]?Ho+"px":"")},d(e){e&&he(r),C&&C.d(),n[99](null),S&&S.d(),$&&$.d(),n[104](null),b=!1,z(v)}}}function to(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",x="PC"===ft(n[72])&&n[47].length||"PC"!==ft(n[72]),C=!n[69]&&co(),S=x&&uo(n),$=!n[56]&&!n[61]&&!n[69]&&!n[62]&&!n[63]&&!n[57]&&!n[58]&&!n[60]&&!n[59]&&ho(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),C&&C.c(),c=ge(),d=me("input"),h=ge(),S&&S.c(),g=ge(),$&&$.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Oo?"CategoriesHeaderSearchActive":"")+" "+(n[64]&&n[69]?"SearchStickTop":"")),_(r,"top",n[64]&&n[69]?Ho+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Oo?"CategoriesHeaderSearchActive":"")+" "+(n[64]&&n[69]?"SearchStickTop":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(a,s),de(a,l),C&&C.m(l,null),de(l,c),de(l,d),n[93](d),E(d,n[47]),de(l,h),S&&S.m(l,null),de(r,g),$&&$.m(r,null),n[98](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[94]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=co()).c(),C.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),65536&t[1]&&E(d,e[47]),(x=65536&t[1]?"PC"===ft(e[72])&&e[47].length||"PC"!==ft(e[72]):x)?S?S.p(e,t):((S=uo(e)).c(),S.m(l,null)):S&&(S.d(1),S=null),1375731712&t[1]|3&t[2]&&m!==(m="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"class",m),1375731712&t[1]|3&t[2]&&p!==(p="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(a,"part",p),e[56]||e[61]||e[69]||e[62]||e[63]||e[57]||e[58]||e[60]||e[59]?$&&($.d(1),$=null):$?$.p(e,t):(($=ho(e)).c(),$.m(r,null)),134217728&t[1]|132&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Oo?"CategoriesHeaderSearchActive":"")+" "+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),132&t[2]&&_(r,"top",e[64]&&e[69]?Ho+"px":""),134217728&t[1]|132&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Oo?"CategoriesHeaderSearchActive":"")+" "+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[93](null),S&&S.d(),$&&$.d(),n[98](null),b=!1,z(v)}}}function no(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ro(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,a),i||(o=V(r,"click",n[101]),i=!0)},p:Y,d(e){e&&he(r),i=!1,o()}}}function ao(e){let n,r,a=e[70]&&io(e),i=(!e[58]||!e[57])&&oo(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=io(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[58]&&e[57]?i&&(i.d(1),i=null):i?i.p(e,t):((i=oo(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function io(n){let r,a,i,o,s,l,c,d,u,h=n[71]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(h),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),d||(u=V(r,"click",n[102]),d=!0)},p(e,t){512&t[2]&&h!==(h=e[71]("casinoPage.clear")+"")&&ye(i,h),256&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"class",l),256&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),d=!1,u()}}}function oo(e){let n,r=!e[62]&&so(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]?r&&(r.d(1),r=null):r?r.p(e,t):((r=so(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function so(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f=n[71]("casinoPage.filters")+"",y=0<n[70]&&lo(n);return{c(){r=me("div"),a=me("div"),i=pe(f),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),d=M("style"),u=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),y&&y.c(),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,m),y&&y.m(s,null),p||(g=V(r,"click",n[103]),p=!0)},p(e,t){512&t[2]&&f!==(f=e[71]("casinoPage.filters")+"")&&ye(i,f),0<e[70]?y?y.p(e,t):((y=lo(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),p=!1,g()}}}function lo(e){let n,r,a;return{c(){n=me("div"),r=me("span"),a=pe(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){ue(e,n,t),de(n,r),de(r,a)},p(e,t){256&t[2]&&ye(a,e[70])},d(e){e&&he(n)}}}function co(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function uo(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,a),i||(o=V(r,"click",n[95]),i=!0)},p:Y,d(e){e&&he(r),i=!1,o()}}}function ho(e){let n,r,a=e[70]&&mo(e),i=(!e[58]||!e[57])&&po(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=mo(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[58]&&e[57]?i&&(i.d(1),i=null):i?i.p(e,t):((i=po(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function mo(n){let r,a,i,o,s,l,c,d=n[71]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(d),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),l||(c=V(r,"click",n[96]),l=!0)},p(e,t){512&t[2]&&d!==(d=e[71]("casinoPage.clear")+"")&&ye(i,d)},d(e){e&&he(r),l=!1,c()}}}function po(e){let n,r=(!e[62]||!e[63])&&go(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]&&e[63]?r&&(r.d(1),r=null):r?r.p(e,t):((r=go(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function go(n){let r,a,i,o,s,l,c,d,u,h,m,p,g,f,y,b,v=n[71]("casinoPage.filters")+"";return{c(){r=me("div"),a=me("div"),i=pe(v),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),d=M("style"),u=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),p=me("div"),g=me("span"),f=pe(n[70]),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(p,"class","NumberOfFiltersContainer"),fe(p,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,m),de(s,p),de(p,g),de(g,f),y||(b=V(r,"click",n[97]),y=!0)},p(e,t){512&t[2]&&v!==(v=e[71]("casinoPage.filters")+"")&&ye(i,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function fo(e){let n;return{c(){C(n=me("casino-random-game"),"datasource",e[1]),C(n,"filteredrandomgamecategories",e[16]),C(n,"endpoint",e[0]),C(n,"lang",e[3]),C(n,"gameevent",e[49]),C(n,"randombuttonicon",e[44]),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&C(n,"datasource",e[1]),65536&t[0]&&C(n,"filteredrandomgamecategories",e[16]),1&t[0]&&C(n,"endpoint",e[0]),8&t[0]&&C(n,"lang",e[3]),262144&t[1]&&C(n,"gameevent",e[49]),8192&t[1]&&C(n,"randombuttonicon",e[44]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function yo(e){let n;return{c(){C(n=me("casino-games-category-section"),"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"categoryid",e[46]),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9]),C(n,"gamepagemodalurl",e[17]),C(n,"integratedgameframedesktop",e[23]),C(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),32768&t[1]&&C(n,"categoryid",e[46]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9]),131072&t[0]&&C(n,"gamepagemodalurl",e[17]),8388608&t[0]&&C(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function bo(e){let n;return{c(){C(n=me("casino-last-played-section"),"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9]),C(n,"gamepagemodalurl",e[17]),C(n,"integratedgameframedesktop",e[23]),C(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9]),131072&t[0]&&C(n,"gamepagemodalurl",e[17]),8388608&t[0]&&C(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function vo(e){let n;return{c(){C(n=me("casino-most-played-section"),"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[11]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[14]),C(n,"visiblegames",e[9]),C(n,"gamepagemodalurl",e[17]),C(n,"integratedgameframedesktop",e[23]),C(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),2048&t[0]&&C(n,"favorites",e[11]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),16384&t[0]&&C(n,"livecasino",e[14]),512&t[0]&&C(n,"visiblegames",e[9]),131072&t[0]&&C(n,"gamepagemodalurl",e[17]),8388608&t[0]&&C(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function wo(n){let r,a,i,o;return{c(){C(r=me("casino-games-category-section"),"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"favorites",n[11]),C(r,"categoryid","FAVORITES"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9]),C(r,"gamepagemodalurl",n[17]),C(r,"integratedgameframedesktop",n[23]),C(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),i||(o=F(a=n[73].call(null,r,(n[0],n[53],n[54],n[53]))),i=!0)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),131072&t[0]&&C(r,"gamepagemodalurl",e[17]),8388608&t[0]&&C(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(r,"integratedgameframemobile",e[24]),a&&T(a.update)&&1&t[0]|12582912&t[1]&&a.update.call(null,(e[0],e[53],e[54],e[53]))},d(e){e&&he(r),i=!1,o()}}}function xo(t){let a,i=t[66],o=[];for(let e=0;e<i.length;e+=1)o[e]=Fo(Ki(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(2147109887&n[0]|7166&n[1]|16&n[2]){let e;for(i=t[66],e=0;e<i.length;e+=1){var r=Ki(t,i,e);o[e]?o[e].p(r,n):(o[e]=Fo(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function Co(n){let r,a,i,o;return{c(){C(r=me("casino-most-played-section"),"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"session",n[4]),C(r,"userid",n[5]),C(r,"categoryid","Search"),C(r,"favorites",n[11]),C(r,"categoryindex","0"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9]),C(r,"gamepagemodalurl",n[17]),C(r,"integratedgameframedesktop",n[23]),C(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),i||(o=F(a=n[81].call(null,r,n[65])),i=!0)},p(e,t){1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),131072&t[0]&&C(r,"gamepagemodalurl",e[17]),8388608&t[0]&&C(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(r,"integratedgameframemobile",e[24]),a&&T(a.update)&&8&t[2]&&a.update.call(null,e[65])},d(e){e&&he(r),i=!1,o()}}}function So(n){let r,a,i,o;return{c(){C(r=me("casino-favorites-section"),"session",n[4]),C(r,"userid",n[5]),C(r,"endpoint",n[0]),C(r,"datasource",n[1]),C(r,"lang",n[3]),C(r,"currency",n[2]),C(r,"favorites",n[11]),C(r,"categoryid","FAVORITES"),C(r,"class","CategoryContainer"),C(r,"clientstyling",n[6]),C(r,"clientstylingurl",n[7]),C(r,"livecasino",n[14]),C(r,"visiblegames",n[9]),C(r,"gamepagemodalurl",n[17]),C(r,"integratedgameframedesktop",n[23]),C(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),i||(o=F(a=n[73].call(null,r,(n[0],n[53],n[54],n[53]))),i=!0)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),1&t[0]&&C(r,"endpoint",e[0]),2&t[0]&&C(r,"datasource",e[1]),8&t[0]&&C(r,"lang",e[3]),4&t[0]&&C(r,"currency",e[2]),2048&t[0]&&C(r,"favorites",e[11]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),16384&t[0]&&C(r,"livecasino",e[14]),512&t[0]&&C(r,"visiblegames",e[9]),131072&t[0]&&C(r,"gamepagemodalurl",e[17]),8388608&t[0]&&C(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&C(r,"integratedgameframemobile",e[24]),a&&T(a.update)&&1&t[0]|12582912&t[1]&&a.update.call(null,(e[0],e[53],e[54],e[53]))},d(e){e&&he(r),i=!1,o()}}}function $o(t){let a,i=t[66],o=[];for(let e=0;e<i.length;e+=1)o[e]=Ao(Xi(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,a,n)},p(t,n){if(2147372031&n[0]|8191&n[1]|16&n[2]){let e;for(i=t[66],e=0;e<i.length;e+=1){var r=Xi(t,i,e);o[e]?o[e].p(r,n):(o[e]=Ao(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){k(o,e),e&&he(a)}}}function _o(e){let n,r,a=e[71]("casinoPage.loading")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&a!==(a=e[71]("casinoPage.loading")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ko(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Jackpot Cards"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","998"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc","/assets/background0.jpg"),C(a,"backgroundsrcmobile","/assets/background0.jpg"),C(a,"titlelogopath","/assets/jackpots_logo.svg"),C(a,"caticon0","/assets/icon0.svg"),C(a,"caticon1","/assets/icon1.svg"),C(a,"caticon2","/assets/icon2.svg"),C(a,"caticon3","/assets/icon3.svg"),C(a,"iconlabels",e[39]),C(a,"visualstructure","typeSpread"),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),256&t[1]&&C(a,"iconlabels",e[39]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function Mo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Egypt Quest"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","999"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc",e[36]),C(a,"backgroundsrcmobile",e[37]),C(a,"titlelogopath",e[38]),C(a,"caticon0",e[32]),C(a,"caticon1",e[33]),C(a,"caticon2",e[34]),C(a,"caticon3",e[35]),C(a,"iconlabels",e[39]),C(a,"visualstructure",e[40]),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),32&t[1]&&C(a,"backgroundsrc",e[36]),64&t[1]&&C(a,"backgroundsrcmobile",e[37]),128&t[1]&&C(a,"titlelogopath",e[38]),2&t[1]&&C(a,"caticon0",e[32]),4&t[1]&&C(a,"caticon1",e[33]),8&t[1]&&C(a,"caticon2",e[34]),16&t[1]&&C(a,"caticon3",e[35]),256&t[1]&&C(a,"iconlabels",e[39]),512&t[1]&&C(a,"visualstructure",e[40]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function To(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type","vendor"),C(n,"titletype","logo"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Go(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type",e[42]),C(n,"titletype",e[43]),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),2048&t[1]&&C(n,"type",e[42]),4096&t[1]&&C(n,"titletype",e[43]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Fo(n){let r,a,i,o,s,e,l,c,d,u="true"===enablecasinowinners&&1===n[164]&&function(e){let n,r;return{c(){n=me("div"),C(r=me("casino-winners"),"session",e[4]),C(r,"periodrecent",e[25]),C(r,"periodtop",e[26]),C(r,"numberusersrecent",e[27]),C(r,"numberuserstop",e[28]),C(r,"amountlimit",e[29]),C(r,"isrecentavailable",e[22]),C(r,"istopavailable",e[21]),C(r,"defaultcurrency",e[30]),C(r,"enableautoscroll",e[20]),C(r,"tabsorder",e[19]),C(r,"lang",e[3]),C(r,"clientstyling",e[6]),C(r,"clientstylingurl",e[7]),C(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&C(r,"session",e[4]),33554432&t[0]&&C(r,"periodrecent",e[25]),67108864&t[0]&&C(r,"periodtop",e[26]),134217728&t[0]&&C(r,"numberusersrecent",e[27]),268435456&t[0]&&C(r,"numberuserstop",e[28]),536870912&t[0]&&C(r,"amountlimit",e[29]),4194304&t[0]&&C(r,"isrecentavailable",e[22]),2097152&t[0]&&C(r,"istopavailable",e[21]),1073741824&t[0]&&C(r,"defaultcurrency",e[30]),1048576&t[0]&&C(r,"enableautoscroll",e[20]),524288&t[0]&&C(r,"tabsorder",e[19]),8&t[0]&&C(r,"lang",e[3]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),1&t[0]&&C(r,"endpoint",e[0])},d(e){e&&he(n)}}}(n),t=4===(m=n)[164]&&"true"==enablejackpotbanner?Mo:6===m[164]&&"true"==enablejackpotbanner?ko:void 0,h=t&&t(n);var m;function p(e){return 7==e[164]&&"true"==enablecollections?Go:e[164]==e[66].length-1&&"true"==enablecollections?To:void 0}let g=p(n),f=g&&g(n);return{c(){u&&u.c(),r=ge(),h&&h.c(),a=ge(),f&&f.c(),i=ge(),C(o=me("casino-games-category-section"),"session",n[4]),C(o,"userid",n[5]),C(o,"endpoint",n[0]),C(o,"datasource",n[1]),C(o,"lang",n[3]),C(o,"currency",n[2]),C(o,"categoryid",s=n[162]),C(o,"categoryindex",e=n[164]),C(o,"categorygames","9"),C(o,"favorites",n[11]),C(o,"class","CategoryContainer"),_(o,"background-color",n[164]%2!=0?n[8]:"transparent"),C(o,"clientstyling",n[6]),C(o,"clientstylingurl",n[7]),C(o,"livecasino",n[14]),C(o,"visiblegames",n[9]),C(o,"gamepagemodalurl",n[17]),C(o,"integratedgameframedesktop",n[23]),C(o,"integratedgameframemobile",n[24])},m(e,t){u&&u.m(e,t),ue(e,r,t),h&&h.m(e,t),ue(e,a,t),f&&f.m(e,t),ue(e,i,t),ue(e,o,t),c||(d=F(l=n[80].call(null,o,n[162])),c=!0)},p(e,t){n=e,"true"===enablecasinowinners&&1===n[164]&&u.p(n,t),h&&h.p(n,t),g===(g=p(n))&&f?f.p(n,t):(f&&f.d(1),(f=g&&g(n))&&(f.c(),f.m(i.parentNode,i))),16&t[0]&&C(o,"session",n[4]),32&t[0]&&C(o,"userid",n[5]),1&t[0]&&C(o,"endpoint",n[0]),2&t[0]&&C(o,"datasource",n[1]),8&t[0]&&C(o,"lang",n[3]),4&t[0]&&C(o,"currency",n[2]),16&t[2]&&s!==(s=n[162])&&C(o,"categoryid",s),2048&t[0]&&C(o,"favorites",n[11]),256&t[0]&&_(o,"background-color",n[164]%2!=0?n[8]:"transparent"),64&t[0]&&C(o,"clientstyling",n[6]),128&t[0]&&C(o,"clientstylingurl",n[7]),16384&t[0]&&C(o,"livecasino",n[14]),512&t[0]&&C(o,"visiblegames",n[9]),131072&t[0]&&C(o,"gamepagemodalurl",n[17]),8388608&t[0]&&C(o,"integratedgameframedesktop",n[23]),16777216&t[0]&&C(o,"integratedgameframemobile",n[24]),l&&T(l.update)&&16&t[2]&&l.update.call(null,n[162])},d(e){u&&u.d(e),e&&he(r),h&&h.d(e),e&&he(a),f&&f.d(e),e&&he(i),e&&he(o),c=!1,d()}}}function Eo(e){let n,r;return{c(){n=me("div"),C(r=me("casino-winners"),"session",e[4]),C(r,"userid",e[5]),C(r,"periodrecent",e[25]),C(r,"periodtop",e[26]),C(r,"numberusersrecent",e[27]),C(r,"numberuserstop",e[28]),C(r,"amountlimit",e[29]),C(r,"isrecentavailable",e[22]),C(r,"istopavailable",e[21]),C(r,"defaultcurrency",e[30]),C(r,"usercurrency",e[2]),C(r,"enableautoscroll",e[20]),C(r,"tabsorder",e[19]),C(r,"lang",e[3]),C(r,"clientstyling",e[6]),C(r,"clientstylingurl",e[7]),C(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&C(r,"session",e[4]),32&t[0]&&C(r,"userid",e[5]),33554432&t[0]&&C(r,"periodrecent",e[25]),67108864&t[0]&&C(r,"periodtop",e[26]),134217728&t[0]&&C(r,"numberusersrecent",e[27]),268435456&t[0]&&C(r,"numberuserstop",e[28]),536870912&t[0]&&C(r,"amountlimit",e[29]),4194304&t[0]&&C(r,"isrecentavailable",e[22]),2097152&t[0]&&C(r,"istopavailable",e[21]),1073741824&t[0]&&C(r,"defaultcurrency",e[30]),4&t[0]&&C(r,"usercurrency",e[2]),1048576&t[0]&&C(r,"enableautoscroll",e[20]),524288&t[0]&&C(r,"tabsorder",e[19]),8&t[0]&&C(r,"lang",e[3]),64&t[0]&&C(r,"clientstyling",e[6]),128&t[0]&&C(r,"clientstylingurl",e[7]),1&t[0]&&C(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Lo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Jackpot Cards"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","999"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc","/assets/background0.jpg"),C(a,"backgroundsrcmobile","/assets/background0.jpg"),C(a,"titlelogopath","/assets/jackpots_logo.svg"),C(a,"caticon0","/assets/icon0.svg"),C(a,"caticon1","/assets/icon1.svg"),C(a,"caticon2","/assets/icon2.svg"),C(a,"caticon3","/assets/icon3.svg"),C(a,"iconlabels",e[39]),C(a,"visualstructure","typeSpread"),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),256&t[1]&&C(a,"iconlabels",e[39]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function Po(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),C(a=me("jackpot-banner"),"title","Egypt Quest"),C(a,"currency",i=e[2]||"RON"),C(a,"gameid","998"),C(a,"endpoint",e[0]),C(a,"lang",e[3]),C(a,"backgroundsrc",e[36]),C(a,"backgroundsrcmobile",e[37]),C(a,"titlelogopath",e[38]),C(a,"caticon0",e[32]),C(a,"caticon1",e[33]),C(a,"caticon2",e[34]),C(a,"caticon3",e[35]),C(a,"iconlabels",e[39]),C(a,"visualstructure",e[40]),C(a,"clientstyling",e[6]),C(a,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&C(a,"currency",i),1&t[0]&&C(a,"endpoint",e[0]),8&t[0]&&C(a,"lang",e[3]),32&t[1]&&C(a,"backgroundsrc",e[36]),64&t[1]&&C(a,"backgroundsrcmobile",e[37]),128&t[1]&&C(a,"titlelogopath",e[38]),2&t[1]&&C(a,"caticon0",e[32]),4&t[1]&&C(a,"caticon1",e[33]),8&t[1]&&C(a,"caticon2",e[34]),16&t[1]&&C(a,"caticon3",e[35]),256&t[1]&&C(a,"iconlabels",e[39]),512&t[1]&&C(a,"visualstructure",e[40]),64&t[0]&&C(a,"clientstyling",e[6]),128&t[0]&&C(a,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function Io(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type","vendor"),C(n,"titletype","logo"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Ro(e){let n,r;return{c(){C(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"type",e[42]),C(n,"titletype",e[43]),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&C(n,"endpoint",r),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),2048&t[1]&&C(n,"type",e[42]),4096&t[1]&&C(n,"titletype",e[43]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Ao(n){let r,a,i,o,s,l,c,d,u,e,h,m,p,g=n[18]&&n[164]==+n[18]&&Eo(n);function f(e,t){return 1&t[1]|16&t[2]&&(a=null),1&t[1]|16&t[2]&&(i=null),(a=null==a?!(!e[31]||e[164]!=(""==e[31].split(",")[0]?e[66].length:+e[31].split(",")[0])):a)?Po:(i=null==i?!(!e[31]||e[164]!=(""==e[31].split(",")[1]?e[66].length:+e[31].split(",")[1])):i)?Lo:void 0}let y=f(n,[-1,-1,-1,-1,-1,-1]),b=y&&y(n);function v(e,t){return 1024&t[1]|16&t[2]&&(s=null),1024&t[1]|16&t[2]&&(l=null),(s=null==s?!(!e[41]||e[164]!=(""==e[41].split(",")[0]?e[66].length:+e[41].split(",")[0])):s)?Ro:(l=null==l?!(!e[41]||e[164]!=(""==e[41].split(",")[1]?e[66].length:+e[41].split(",")[1])):l)?Io:void 0}let w=v(n,[-1,-1,-1,-1,-1,-1]),x=w&&w(n);return{c(){g&&g.c(),r=ge(),b&&b.c(),o=ge(),x&&x.c(),c=ge(),C(d=me("casino-games-category-section"),"session",n[4]),C(d,"userid",n[5]),C(d,"endpoint",n[0]),C(d,"datasource",n[1]),C(d,"lang",n[3]),C(d,"currency",n[2]),C(d,"categoryid",u=n[162]),C(d,"categoryindex",e=n[164]),C(d,"categorygames","9"),C(d,"favorites",n[11]),C(d,"class","CategoryContainer"),_(d,"background-color",n[164]%2!=0?n[8]:"transparent"),C(d,"clientstyling",n[6]),C(d,"clientstylingurl",n[7]),C(d,"livecasino",n[14]),C(d,"visiblegames",n[9]),C(d,"gamepagemodalurl",n[17]),C(d,"integratedgameframedesktop",n[23]),C(d,"integratedgameframemobile",n[24])},m(e,t){g&&g.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,o,t),x&&x.m(e,t),ue(e,c,t),ue(e,d,t),m||(p=F(h=n[80].call(null,d,n[162])),m=!0)},p(e,t){(n=e)[18]&&n[164]==+n[18]?g?g.p(n,t):((g=Eo(n)).c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),y===(y=f(n,t))&&b?b.p(n,t):(b&&b.d(1),(b=y&&y(n))&&(b.c(),b.m(o.parentNode,o))),w===(w=v(n,t))&&x?x.p(n,t):(x&&x.d(1),(x=w&&w(n))&&(x.c(),x.m(c.parentNode,c))),16&t[0]&&C(d,"session",n[4]),32&t[0]&&C(d,"userid",n[5]),1&t[0]&&C(d,"endpoint",n[0]),2&t[0]&&C(d,"datasource",n[1]),8&t[0]&&C(d,"lang",n[3]),4&t[0]&&C(d,"currency",n[2]),16&t[2]&&u!==(u=n[162])&&C(d,"categoryid",u),2048&t[0]&&C(d,"favorites",n[11]),256&t[0]&&_(d,"background-color",n[164]%2!=0?n[8]:"transparent"),64&t[0]&&C(d,"clientstyling",n[6]),128&t[0]&&C(d,"clientstylingurl",n[7]),16384&t[0]&&C(d,"livecasino",n[14]),512&t[0]&&C(d,"visiblegames",n[9]),131072&t[0]&&C(d,"gamepagemodalurl",n[17]),8388608&t[0]&&C(d,"integratedgameframedesktop",n[23]),16777216&t[0]&&C(d,"integratedgameframemobile",n[24]),h&&T(h.update)&&16&t[2]&&h.update.call(null,n[162])},d(e){g&&g.d(e),e&&he(r),b&&b.d(e),e&&he(o),x&&x.d(e),e&&he(c),e&&he(d),m=!1,p()}}}function Do(n){let r,a,i,e,t,o,s,l=n[71]("casinoPage.breakButton")+"";return{c(){r=me("div"),a=me("button"),i=pe(l),fe(a,"class",e="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile ":"")),fe(a,"part",t="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile":"")),h(a,"PanicButtonAnimation",n[55]),fe(r,"class",o="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[105](a)},p(e,t){512&t[2]&&l!==(l=e[71]("casinoPage.breakButton")+"")&&ye(i,l),16777216&t[1]&&h(a,"PanicButtonAnimation",e[55])},d(e){e&&he(r),n[105](null)}}}function Bo(n){let r;function a(e){return e[51]?qi:Ji}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Y},m(e,t){ue(e,r,t),o.m(r,null),n[106](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Y,o:Y,d(e){e&&he(r),o.d(),n[106](null)}}}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Ui,Wi,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:17,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:18},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Zi,Vi,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[16]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}});let Oo=!1;const Ho=0;function No(n,e,c){let t;yt(n,Mr,e=>c(71,t=e));let a,{endpoint:d=""}=e,{datasource:i=""}=e,{currency:B=""}=e,{lang:o=""}=e,{session:s=""}=e,{userid:l=""}=e,{clientstyling:O=""}=e,{clientstylingurl:H=""}=e,{translationurl:N=""}=e,{categorybackground:j=""}=e,W=e["visiblegames"],{alternativesearch:U="false"}=e,{favorites:Y=""}=e,{mostplayed:z=""}=e,{lastplayed:V=""}=e,{containermaxwidth:Z="1300"}=e,{lobbyid:u="casinodefault"}=e,{haspanicbutton:K="false"}=e,{mostplayedrounds:X=""}=e,{lastplayedperiod:J=""}=e,{filteredcategories:q=""}=e,{activecategory:Q=""}=e,{livecasino:ee="false"}=e,{playrandomgame:te="false"}=e,{filteredrandomgamecategories:ne=""}=e,{gamepagemodalurl:re="false"}=e,{positionwinnerswidget:ae=""}=e,{tabsorder:ie=""}=e,{enableautoscroll:oe=""}=e,{istopavailable:se=""}=e,{isrecentavailable:le=""}=e,{integratedgameframedesktop:ce="false"}=e,{integratedgameframemobile:de="false"}=e,{periodrecent:ue=""}=e,{periodtop:he=""}=e,{numberusersrecent:me=""}=e,{numberuserstop:pe=""}=e,{amountlimit:ge=""}=e,{defaultcurrency:fe=""}=e,{positionjackpotbanners:ye=""}=e,{caticon0:be=""}=e,{caticon1:ve=""}=e,{caticon2:we=""}=e,{caticon3:xe=""}=e,{backgroundsrc:Ce=""}=e,{backgroundsrcmobile:Se=""}=e,{titlelogopath:$e=""}=e,{iconlabels:_e=""}=e,{visualstructure:ke=""}=e,{positioncollections:Me=""}=e,{type:Te=""}=e,{titletype:Ge=""}=e,{randombuttonicon:Fe=""}=e,h=window.navigator.userAgent;a=gt(h)?"OpenGameFrame":"ShowGameModal";let m,p,g,Ee,f,y,b,Le,Pe,Ie,r,v,w,x=!1,C=!1,Re=!1,S="",Ae=!1,De=0,$=!1,Be=!1,Oe=!0,He=!1,_=!1,Ne=!1,je=!1,k=!0,M=!1,T=!1,We=!1,G=!0,Ue=[],F=[],E="",Ye={},ze,L=!1,P=[],Ve=!1,I=[],Ze=0,R="",Ke=!1;var Xe,Je;({withLocale:Xe,translations:Je}={withLocale:"en",translations:{}}),pt.subscribe(e=>{null==e&&(ir.set(Je),pt.set(Xe))}),Object.keys(Gr).forEach(e=>{Tr(e,Gr[e])});const qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(54,p=n.data.session),c(53,m=n.data.userID),m&&m.length&&p&&0<p.length&&A(d,p,m);break;case"SetUnfavoredGame":o=`${d}/player/${m}/favorites`,s=p,m,l=n.data.id,n.data.triggerFactor,P.includes(l)&&(P=P.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),Qe(o,s)});break;case"SetFavoredGame":{var r=`${d}/player/${m}/favorites`;var a=p;m;var i=n.data.id;n.data.triggerFactor;P.includes(i)||P.push(i);let e={items:P},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),Qe(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":m&&m.length&&p&&0<p.length&&A(d,p,m);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(I=(I=nt(`searchedGamesWds_${u}`))?I.split(","):[]).indexOf(t)){let e;I.push(t),e=I.join(","),document.cookie=`searchedGamesWds_${u}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),D();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),D();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:R},window.location.href),D();break;case"CategoryVendors":R=n.data.categoryid,D();break;case"GameHoveredPc":case"GameHoveredMobile":_=!0;break;case"GameBlurPc":_=(L&&v.focus(),!1);break;case"GameBlurMobile":L?at():_=!1;break;case"ModalClosed":L&&(L=!1,_=!1);break;case"SubgroupsIds":F.some(e=>n.data.subGroupsIds.includes(e))||F.push(...n.data.subGroupsIds)}var e,o,s,l};let A=(e,t,n)=>{"true"==Y&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),et(r.items)),r)).then(e=>($&&tt(),e)).catch(e=>{console.error(e)})},Qe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,$&&tt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const et=(e=[])=>(P=[],0<e.length&&e.forEach(e=>{P.push(e.id)}),P);const tt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},nt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},rt=()=>{if(L=!0,d&&i&&o&&(c(60,je=!0),E.length<2)){let e=nt("searchedGamesWds_"+u),t=[],n=(e&&(t=e.split(",")),1!=k||Oe||(c(59,Ne=k),c(61,k=!1)),[]),r=0,a=t.length;if(0<a){for(r=0;r<a;r++){let e=new URL(d+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",i),e.searchParams.append("platform",ft(h)),n.push(((e,r)=>new Promise((t,n)=>{c(50,x=!0),r&&0<=Object.keys(Ye).indexOf(r)?(c(50,x=!1),t(Ye[r])):fetch(e).then(e=>e.json()).then(e=>{c(50,x=!1),Ye[e[0].id]=e[0],t(e[0])}).catch(e=>{c(51,C=!0),c(50,x=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(65,f=e),ot(0,f)})}else ot(0,{})}"function"==typeof gtag&>ag("event","SearchInitialized",{context:"CasinoPage"})},at=()=>{c(60,je=!1),E.length<2&&!_&&(c(58,He=!1),c(65,f=[]),c(57,Be=!1),c(61,k=Ne),c(59,Ne=!1),!1===k&&window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href),L=!1,window.postMessage({type:"OutOfRecentSearches"},window.location.href))},D=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&R&&(e[R]?c(70,Ze=e[R].length):c(70,Ze=0))},it=()=>{c(91,G=!0),c(47,E=""),c(65,f=[]),c(57,Be=!1),at()},ot=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},st=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},lt=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ct=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},dt=()=>{Le&&(Pe=Le.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>Pe||130<Pe?c(64,We=!0):c(64,We=!1)},ut=e=>{De=0,Ee=setInterval(()=>{De+=1,c(55,Ae=!0),3<=De&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ee))},1e3)},ht=e=>{De<3&&c(55,Ae=!1),clearInterval(Ee)};return bt(()=>(window.addEventListener("scroll",dt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",dt),window.removeEventListener("message",qe),c(55,Ae=!1),null!=g&&g.removeEventListener("mousedown",ut),null!=g&&g.removeEventListener("touchstart",ut),null!=g&&g.removeEventListener("mouseup",ht),null!=g&&g.removeEventListener("touchend",ht)})),n.$$set=e=>{"endpoint"in e&&c(0,d=e.endpoint),"datasource"in e&&c(1,i=e.datasource),"currency"in e&&c(2,B=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,l=e.userid),"clientstyling"in e&&c(6,O=e.clientstyling),"clientstylingurl"in e&&c(7,H=e.clientstylingurl),"translationurl"in e&&c(82,N=e.translationurl),"categorybackground"in e&&c(8,j=e.categorybackground),"visiblegames"in e&&c(9,W=e.visiblegames),"alternativesearch"in e&&c(10,U=e.alternativesearch),"favorites"in e&&c(11,Y=e.favorites),"mostplayed"in e&&c(83,z=e.mostplayed),"lastplayed"in e&&c(84,V=e.lastplayed),"containermaxwidth"in e&&c(12,Z=e.containermaxwidth),"lobbyid"in e&&c(85,u=e.lobbyid),"haspanicbutton"in e&&c(13,K=e.haspanicbutton),"mostplayedrounds"in e&&c(86,X=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,J=e.lastplayedperiod),"filteredcategories"in e&&c(88,q=e.filteredcategories),"activecategory"in e&&c(89,Q=e.activecategory),"livecasino"in e&&c(14,ee=e.livecasino),"playrandomgame"in e&&c(15,te=e.playrandomgame),"filteredrandomgamecategories"in e&&c(16,ne=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&c(17,re=e.gamepagemodalurl),"positionwinnerswidget"in e&&c(18,ae=e.positionwinnerswidget),"tabsorder"in e&&c(19,ie=e.tabsorder),"enableautoscroll"in e&&c(20,oe=e.enableautoscroll),"istopavailable"in e&&c(21,se=e.istopavailable),"isrecentavailable"in e&&c(22,le=e.isrecentavailable),"integratedgameframedesktop"in e&&c(23,ce=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(24,de=e.integratedgameframemobile),"periodrecent"in e&&c(25,ue=e.periodrecent),"periodtop"in e&&c(26,he=e.periodtop),"numberusersrecent"in e&&c(27,me=e.numberusersrecent),"numberuserstop"in e&&c(28,pe=e.numberuserstop),"amountlimit"in e&&c(29,ge=e.amountlimit),"defaultcurrency"in e&&c(30,fe=e.defaultcurrency),"positionjackpotbanners"in e&&c(31,ye=e.positionjackpotbanners),"caticon0"in e&&c(32,be=e.caticon0),"caticon1"in e&&c(33,ve=e.caticon1),"caticon2"in e&&c(34,we=e.caticon2),"caticon3"in e&&c(35,xe=e.caticon3),"backgroundsrc"in e&&c(36,Ce=e.backgroundsrc),"backgroundsrcmobile"in e&&c(37,Se=e.backgroundsrcmobile),"titlelogopath"in e&&c(38,$e=e.titlelogopath),"iconlabels"in e&&c(39,_e=e.iconlabels),"visualstructure"in e&&c(40,ke=e.visualstructure),"positioncollections"in e&&c(41,Me=e.positioncollections),"type"in e&&c(42,Te=e.type),"titletype"in e&&c(43,Ge=e.titletype),"randombuttonicon"in e&&c(44,Fe=e.randombuttonicon)},n.$$.update=()=>{if(65536&n.$$.dirty[1]&&E&&(2<=E.length?c(91,G=!0):c(91,G=!1)),11&n.$$.dirty[0]|65536&n.$$.dirty[1]|805306368&n.$$.dirty[2])if(2<=E.length){c(58,He=!0);let e=new URL(d+"/casino/games");e.searchParams.append("datasource",i),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ft(h)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+E),r=e,new Promise((t,n)=>{c(50,x=!0),fetch(r).then(e=>e.json()).then(e=>{c(50,x=!1),t(e)}).catch(e=>{c(51,C=!0),c(50,x=!1),console.error(e),n(e)})}).then(e=>{c(65,f=e),ct(0,e)})}else G||rt(),Oe&&c(90,Oe=!1);var r,a,t;if(8&n.$$.dirty[0]|134217728&n.$$.dirty[2]&&o&&Q){c(46,y=Q);var e={data:{itemId:y}};switch(c(58,He=!1),c(47,E=""),ze=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(61,k=!0),c(56,$=!1),c(46,y=""),c(62,M=!1),c(63,T=!1);break;case"FAVORITES":c(61,k=!1),c(56,$=!0),c(62,M=!1),c(63,T=!1),c(46,y="");break;case"MOSTPLAYED":"true"==z&&(c(46,y=""),c(61,k=!1),c(56,$=!1),c(62,M=!0));break;case"LASTPLAYED":"true"==V&&(c(46,y=""),c(61,k=!1),c(63,T=!0),c(56,$=!1),c(62,M=!1));break;default:c(61,k=!1),c(56,$=!1),c(62,M=!1),c(63,T=!1),c(46,y=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500)}}if((49&n.$$.dirty[0]&&s&&l&&d&&(c(52,Re=!0),c(54,p=s),c(53,m=l),m&&m.length&&p&&0<p.length&&A(d,p,m)),32768&n.$$.dirty[1]|1073741824&n.$$.dirty[2]&&y&&F&&F&&!F.includes(decodeURI(y))&&""!=y&&window.postMessage({type:"NonExistentCategory"},window.location.href),1035&n.$$.dirty[0]&&d&&i&&o&&U)&&(d||(S="Endpoint is missing! Please provide a valid endpointURL.",c(51,C=!0),c(50,x=!1),console.error(S)),i||(S="Datasource is missing! Please provide a valid datasource.",c(51,C=!0),c(50,x=!1),console.error(S)),(!o||o.length<2)&&(S="Language is missing! Please provide a valid language (alpha2code)",c(51,C=!0),c(50,x=!1),console.error(S)),!C)){c(50,x=!0),"true"==Y&&A(d,p,m),t=o,pt.set(t);let e=new URL(d+"/casino/groups/"+i);e.searchParams.append("language",o),e.searchParams.append("platform",ft(h)),a=e,new Promise((t,n)=>{c(50,x=!0),fetch(a).then(e=>e.json()).then(e=>{c(50,x=!1),t(e)}).catch(e=>{c(51,C=!0),c(50,x=!1),console.error(e),n(e)})}).then(e=>{let r=q.split(",");e&&(Ie=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,q))for(var n of r)e.flags==n&&(t=!1);return t}),c(66,Ue=Ie.map(e=>e.id)),c(92,F=e.items.map(e=>e.id.toString())),c(50,x=!1))}),"PC"!==ft(h)&&(v.addEventListener("focusin",e=>{c(69,Ve=!0)}),v.addEventListener("focusout",e=>{c(69,Ve=!1)})),D(),(Le=b)&&(Pe=Le.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&n.$$.dirty[0]&&o&&(Ke&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500),Ke=!1),1048576&n.$$.dirty[2]&&N&&fetch(N).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Tr(e,t[e])})}).catch(e=>{console.log(e)}),64&n.$$.dirty[0]|131072&n.$$.dirty[1]&&O&&w){let e=document.createElement("style");e.innerHTML=O,w.appendChild(e)}if(128&n.$$.dirty[0]|131072&n.$$.dirty[1]&&H&&w){let t=document.createElement("style");fetch(new URL(H)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{w.appendChild(t)},1)})}16384&n.$$.dirty[1]&&g&&(null!=g&&g.addEventListener("mousedown",ut,!1),null!=g&&g.addEventListener("touchstart",ut,!1),null!=g&&g.addEventListener("mouseup",ht,!1),null!=g&&g.addEventListener("touchend",ht,!1))},[d,i,B,o,s,l,O,H,j,W,U,Y,Z,K,ee,te,ne,re,ae,ie,oe,se,le,ce,de,ue,he,me,pe,ge,fe,ye,be,ve,we,xe,Ce,Se,$e,_e,ke,Me,Te,Ge,Fe,g,y,E,w,a,x,C,Re,m,p,Ae,$,Be,He,Ne,je,k,M,T,We,f,Ue,b,v,Ve,Ze,t,h,A,rt,at,()=>{window.postMessage({type:"scroll"},window.location.href)},it,st,lt,(e,t)=>{R=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:W,receivedFavoriteResults:r},window.location.href)},ct,N,z,V,u,X,J,q,Q,Oe,G,F,function(e){mt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){E=this.value,c(47,E)},()=>it(),()=>lt(),()=>{st()},function(e){mt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){mt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){E=this.value,c(47,E)},()=>it(),()=>lt(),()=>{st()},function(e){mt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){mt[e?"unshift":"push"](()=>{g=e,c(45,g)})},function(e){mt[e?"unshift":"push"](()=>{w=e,c(48,w)})}]}class jo extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},No,Bo,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:82,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:83,lastplayed:84,containermaxwidth:12,lobbyid:85,haspanicbutton:13,mostplayedrounds:86,lastplayedperiod:87,filteredcategories:88,activecategory:89,livecasino:14,playrandomgame:15,filteredrandomgamecategories:16,gamepagemodalurl:17,positionwinnerswidget:18,tabsorder:19,enableautoscroll:20,istopavailable:21,isrecentavailable:22,integratedgameframedesktop:23,integratedgameframemobile:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:29,defaultcurrency:30,positionjackpotbanners:31,caticon0:32,caticon1:33,caticon2:34,caticon3:35,backgroundsrc:36,backgroundsrcmobile:37,titlelogopath:38,iconlabels:39,visualstructure:40,positioncollections:41,type:42,titletype:43,randombuttonicon:44},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[82]}set translationurl(e){this.$$set({translationurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[83]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[84]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[86]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[87]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[88]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[89]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[16]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[17]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[18]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[19]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[20]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[21]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[22]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[23]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[24]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[29]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[30]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[31]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[32]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[33]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[34]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[35]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[36]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[37]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[38]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[39]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[40]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[41]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[42]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[43]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[44]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",jo),jo});
|
|
31
31
|
//# sourceMappingURL=casino-page.js.map
|