@everymatrix/casino-page 0.0.232 → 0.0.236
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 +1 -1
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +51 -8
- package/src/i18n.js +8 -2
- package/src/translations.js +1 -1
package/dist/casino-page.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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 U(){}function d(e){return e()}function h(){return Object.create(null)}function D(e){e.forEach(d)}function p(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function m(e,...t){if(null==e)return U;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Ae(e,t,r){e.$$.on_destroy.push(m(t,r))}function l(e){return e&&p(e.destroy)?e.destroy:U}function B(e,t){e.appendChild(t)}function j(e,t,r){e.insertBefore(t,r||null)}function H(e){e.parentNode.removeChild(e)}function c(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function z(e){return document.createElement(e)}function v(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function W(){return t(" ")}function u(){return t("")}function V(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function X(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function y(e,t,r){t in e?e[t]=r:X(e,t,r)}function Y(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function S(e,t){e.value=null==t?"":t}function C(e,t,r,n){e.style.setProperty(t,r,n?"important":"")}function n(e){const t={};for(const r of e)t[r.name]=r.value;return t}let g;function f(e){g=e}function Pe(e){!function(){if(!g)throw new Error("Function called outside component initialization");return g}().$$.on_mount.push(e)}const b=[],Me=[],o=[],e=[],w=Promise.resolve();let E=!1;function x(e){o.push(e)}let i=!1;const a=new Set;function T(){if(!i){i=!0;do{for(let e=0;e<b.length;e+=1){var t=b[e];f(t),function(e){{var t;null!==e.fragment&&(e.update(),D(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x))}}(t.$$)}for(f(null),b.length=0;Me.length;)Me.pop()();for(let e=0;e<o.length;e+=1){const r=o[e];a.has(r)||(a.add(r),r())}}while(o.length=0,b.length);for(;e.length;)e.pop()();E=!1,i=!1,a.clear()}}const _=new Set;function s(n,e,t,r,o,i,a=[-1]){var s,l=g;f(n);const c=n.$$={fragment:null,ctx:null,props:i,update:U,not_equal:o,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:h(),dirty:a,skip_bound:!1};let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=n).$$.dirty[0]&&(b.push(e),E||(E=!0,w.then(T)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,D(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){const U=(r=e.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(U),U.forEach(H)}else c.fragment&&c.fragment.c();e.intro&&(s=n.$$.fragment)&&s.i&&(_.delete(s),s.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:i,on_destroy:a,after_update:s}=t.$$;o&&o.m(e,r),n||x(()=>{var e=i.map(d).filter(p);a?a.push(...e):D(e),t.$$.on_mount=[]}),s.forEach(x)}(n,e.target,e.anchor,e.customElement),T()}f(l)}let F;"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(p);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){D(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(D(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=U}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var A,P,M="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==M&&M,I="URLSearchParams"in M,k="Symbol"in M&&"iterator"in Symbol,L="FileReader"in M&&"Blob"in M&&function(){try{return new Blob,!0}catch(e){return!1}}(),$="FormData"in M,N="ArrayBuffer"in M;function O(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 R(e){return e="string"!=typeof e?String(e):e}function G(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return k&&(e[Symbol.iterator]=function(){return e}),e}function q(t){this.map={},t instanceof q?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 Z(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function K(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function J(e){var t=new FileReader,r=K(t);return t.readAsArrayBuffer(e),r}function Q(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ee(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:L&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:$&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:I&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():N&&L&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Q(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):N&&(ArrayBuffer.prototype.isPrototypeOf(e)||P(e))?this._bodyArrayBuffer=Q(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):I&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},L&&(this.blob=function(){var e=Z(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?Z(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(J)}),this.text=function(){var e,t,r=Z(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=K(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},$&&(this.formData=function(){return this.text().then(ne)}),this.json=function(){return this.text().then(JSON.parse)},this}N&&(A=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],P=ArrayBuffer.isView||function(e){return e&&-1<A.indexOf(Object.prototype.toString.call(e))}),q.prototype.append=function(e,t){e=O(e),t=R(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},q.prototype.delete=function(e){delete this.map[O(e)]},q.prototype.get=function(e){return e=O(e),this.has(e)?this.map[e]:null},q.prototype.has=function(e){return this.map.hasOwnProperty(O(e))},q.prototype.set=function(e,t){this.map[O(e)]=R(t)},q.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},q.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),G(r)},q.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),G(t)},q.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),G(r)},k&&(q.prototype[Symbol.iterator]=q.prototype.entries);var te=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function re(e,t){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof re){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new q(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=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 q(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<te.indexOf(e)?e:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ne(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function oe(e,t){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new q(t.headers),this.url=t.url||"",this._initBody(e)}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})},ee.call(re.prototype),ee.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new q(this.headers),url:this.url})},oe.error=function(){var e=new oe(null,{status:0,statusText:""});return e.type="error",e};var ie=[301,302,303,307,308];oe.redirect=function(e,t){if(-1===ie.indexOf(t))throw new RangeError("Invalid status code");return new oe(null,{status:t,headers:{location:e}})};var ae=M.DOMException;try{new ae}catch(U){(ae=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ae.prototype.constructor=ae}function se(n,a){return new Promise(function(o,e){var t=new re(n,a);if(t.signal&&t.signal.aborted)return e(new ae("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new q,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;setTimeout(function(){o(new oe(n,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 ae("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&M.location.href?M.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&&(L?i.responseType="blob":N&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof q?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,R(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}se.polyfill=!0,M.fetch||(M.fetch=se,M.Headers=q,M.Request=re,M.Response=oe),self.fetch.bind(self);var le=function(e,t){return(le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ce(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}le(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ue(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function de(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function he(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function pe(e){return"function"==typeof e}function me(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ge=me(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function fe(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ye=(be.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=ue(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(pe(i))try{i()}catch(e){o=e instanceof ge?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=ue(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{Se(u)}catch(e){o=null!=o?o:[],e instanceof ge?o=he(he([],de(o)),de(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new ge(o)}},be.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Se(e);else{if(e instanceof be){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},be.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},be.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},be.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&fe(t,e)},be.prototype.remove=function(e){var t=this._teardowns;t&&fe(t,e),e instanceof be&&e._removeParent(this)},be.EMPTY=((Vt=new be).closed=!0,Vt),be),ve=ye.EMPTY;function be(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function we(e){return e instanceof ye||e&&"closed"in e&&pe(e.remove)&&pe(e.add)&&pe(e.unsubscribe)}function Se(e){pe(e)?e():e.unsubscribe()}var Ce=void 0,Ee=!1,xe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,he([],de(e)))};function Te(){}function _e(e){e()}var Fe,Ie,ke=(ce(Ne,Ie=ye),Ne.create=function(e,t,r){return new Le(e,t,r)},Ne.prototype.next=function(e){this.isStopped||this._next(e)},Ne.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ne.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ne.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ie.prototype.unsubscribe.call(this),this.destination=null)},Ne.prototype._next=function(e){this.destination.next(e)},Ne.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ne.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ne),Le=(ce($e,Fe=ke),$e);function $e(e,t,r){var n,o,i=Fe.call(this)||this;return pe(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,i&&Ee?(n=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),i.destination={next:o?Oe(o):Te,error:Oe(null!=t?t:Re),complete:r?Oe(r):Te},i}function Ne(e){var t=Ie.call(this)||this;return t.isStopped=!1,e?we(t.destination=e)&&e.add(t):t.destination=Ge,t}function Oe(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,he([],de(e)))}catch(e){t=e,xe(function(){throw t})}}}function Re(e){throw e}var Ge={closed:!0,next:Te,error:Re,complete:Te},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function De(e){return e}var Be=(je.prototype.lift=function(e){var t=new je;return t.source=this,t.operator=e,t},je.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof ke||n&&pe(n.next)&&pe(n.error)&&pe(n.complete)&&we(n)?e:new Le(e,t,r);return _e(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},je.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},je.prototype.forEach=function(n,e){var o=this;return new(e=He(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},je.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},je.prototype[Ue]=function(){return this},je.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?De:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},je.prototype.toPromise=function(e){var n=this;return new(e=He(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},je.create=function(e){return new je(e)},je);function je(e){e&&(this._subscribe=e)}function He(e){return null!==(e=null!=e?e:Ce)&&void 0!==e?e:Promise}var ze,We,Ve,Xe=me(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ye=(ce(et,Ve=Be),et.prototype.lift=function(e){var t=new qe(this,this);return t.operator=e,t},et.prototype._throwIfClosed=function(){if(this.closed)throw new Xe},et.prototype.next=function(i){var a=this;_e(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var r=a.observers.slice();try{for(var n=ue(r),o=n.next();!o.done;o=n.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},et.prototype.error=function(t){var r=this;_e(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},et.prototype.complete=function(){var t=this;_e(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},et.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(et.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),et.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ve.prototype._trySubscribe.call(this,e)},et.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},et.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?ve:(n.push(e),new ye(function(){return fe(n,e)}))},et.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},et.prototype.asObservable=function(){var e=new Be;return e.source=this,e},et.create=function(e,t){return new qe(e,t)},et),qe=(ce(Qe,We=Ye),Qe.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},Qe.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},Qe.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},Qe.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:ve},Qe),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Ke=(ce(Je,ze=Ye),Je.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(i.now()+t)),this._trimBuffer(),ze.prototype.next.call(this,e)},Je.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},Je.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var i=t.now(),a=0,s=1;s<r.length&&r[s]<=i;s+=2)a=s;a&&r.splice(0,a+1)}},Je);function Je(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Ze);var n=ze.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function Qe(e,t){var r=We.call(this)||this;return r.destination=e,r.source=t,r}function et(){var e=Ve.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let tt=[],rt={};const nt=[];function ot(n,o=U){let i;const a=[];function s(e){if(r(n,e)&&(n=e,i)){const e=!nt.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),nt.push(t,n)}if(e){for(let e=0;e<nt.length;e+=2)nt[e][0](nt[e+1]);nt.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=U){const r=[e,t];return a.push(r),1===a.length&&(i=o(s)||U),e(n),()=>{var e=a.indexOf(r);-1!==e&&a.splice(e,1),0===a.length&&(i(),i=null)}}}}function it(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:ot(t,t=>{let r=!1;const n=[];let o=0,i=U;const a=()=>{var e;o||(i(),e=s(l?n[0]:n,t),u?t(e):i=p(e)?e:U)},e=c.map((e,t)=>m(e,e=>{n[t]=e,o&=~(1<<t),r&&a()},()=>{o|=1<<t}));return r=!0,a(),function(){D(e),i()}}).subscribe}}var at=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===st));var t},st="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function lt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?pt(Array.isArray(e)?[]:{},e,t):e}function ct(e,t,r){return e.concat(t).map(function(e){return lt(e,r)})}function ut(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function dt(e,t){try{return t in e}catch(e){return!1}}function ht(n,o,i){var a={};return i.isMergeableObject(n)&&ut(n).forEach(function(e){a[e]=lt(n[e],i)}),ut(o).forEach(function(t){var e,r;(!dt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(dt(n,t)&&i.isMergeableObject(o[t])?a[t]=function(){if(!i.customMerge)return pt;var e=i.customMerge(t);return"function"==typeof e?e:pt}()(n[t],o[t],i):a[t]=lt(o[t],i))}),a}function pt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||ct,r.isMergeableObject=r.isMergeableObject||at,r.cloneUnlessOtherwiseSpecified=lt;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):ht(e,t,r):lt(t,r)}pt.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return pt(e,t,r)},{})};var mt=pt,gt=function(e,t){return(gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ft(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}gt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var yt,vt,bt,wt=function(){return(wt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function St(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function Ct(e){return e.type===vt.literal}function Et(e){return e.type===vt.number}function xt(e){return e.type===vt.date}function Tt(e){return e.type===vt.time}function _t(e){return e.type===vt.select}function Ft(e){return e.type===vt.plural}function At(e){return e.type===vt.tag}function Pt(e){return e&&"object"==typeof e&&e.type===bt.number}function Mt(e){return e&&"object"==typeof e&&e.type===bt.dateTime}(Xt=yt=yt||{})[Xt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Xt[Xt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Xt[Xt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Xt[Xt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Xt[Xt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Xt[Xt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Xt[Xt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Xt[Xt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Xt[Xt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Xt[Xt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Xt[Xt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Xt[Xt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Xt[Xt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Xt[Xt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Xt[Xt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Xt[Xt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Xt[Xt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Xt[Xt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Xt[Xt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Xt[Xt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Xt[Xt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Xt[Xt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Xt[Xt.INVALID_TAG=23]="INVALID_TAG",Xt[Xt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Xt[Xt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Xt[Xt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Yt=vt=vt||{})[Yt.literal=0]="literal",Yt[Yt.argument=1]="argument",Yt[Yt.number=2]="number",Yt[Yt.date=3]="date",Yt[Yt.time=4]="time",Yt[Yt.select=5]="select",Yt[Yt.plural=6]="plural",Yt[Yt.pound=7]="pound",Yt[Yt.tag=8]="tag",(qt=bt=bt||{})[qt.number=0]="number",qt[qt.dateTime=1]="dateTime";var It=/[ \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 Lt,$t=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Nt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ot=/^(@+)?(\+|#+)?$/g,Rt=/(\*)(0+)|(#+)(0+)|(0+)/g,Gt=/^(0+)$/;function Ut(e){var n={};return e.replace(Ot,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Dt(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 Bt(e){return Dt(e)||{}}function jt(e){for(var a={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=wt(wt(wt({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return wt(wt({},e),Bt(t))},{}));continue;case"engineering":a=wt(wt(wt({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return wt(wt({},e),Bt(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Rt,function(e,t,r,n,o,i){if(t)a.minimumIntegerDigits=r.length;else{if(n&&o)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(Gt.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Nt.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Nt,function(e,t,r,n,o,i){return"*"===r?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:o&&i?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+i.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),o.options.length&&(a=wt(wt({},a),Ut(o.options[0])))}else Ot.test(o.stem)?a=wt(wt({},a),Ut(o.stem)):((n=Dt(o.stem))&&(a=wt(wt({},a),n)),(n=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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Gt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=wt(wt({},a),n)))}return a}var Ht=new RegExp("^"+It.source+"*"),zt=new RegExp(It.source+"*$");function Wt(e,t){return{start:e,end:t}}var Vt=!!String.prototype.startsWith,Ue=!!String.fromCodePoint,Ye=!!Object.fromEntries,Xt=!!String.prototype.codePointAt,Yt=!!String.prototype.trimStart,qt=!!String.prototype.trimEnd,Zt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},It=!0;try{It="a"===(null===(Lt=ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Lt?void 0:Lt[0])}catch(U){It=!1}var Kt,Jt,Qt=Vt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},er=Ue?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},tr=Ye?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},rr=Xt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},nr=Yt?function(e){return e.trimStart()}:function(e){return e.replace(Ht,"")},or=qt?function(e){return e.trimEnd()}:function(e){return e.replace(zt,"")};function ir(e,t){return new RegExp(e,t)}Jt=It?(Kt=ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Kt.lastIndex=t,null!==(e=Kt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=rr(e,t);if(void 0===o||cr(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(o),t+=65536<=o?2:1}return er.apply(void 0,n)};var ar=(sr.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},sr.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(yt.UNMATCHED_CLOSING_TAG,Wt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&lr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{i=this.clonePosition();this.bump(),n.push({type:vt.pound,location:Wt(i,this.clonePosition())})}}}return{val:n,err:null}},sr.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:vt.literal,value:"<"+n+"/>",location:Wt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!lr(this.char()))return this.error(yt.INVALID_TAG,Wt(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(yt.UNMATCHED_CLOSING_TAG,Wt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:vt.tag,value:n,children:e,location:Wt(r,this.clonePosition())},err:null}:this.error(yt.INVALID_TAG,Wt(t,this.clonePosition())))}return this.error(yt.UNCLOSED_TAG,Wt(r,this.clonePosition()))}return this.error(yt.INVALID_TAG,Wt(r,this.clonePosition()))},sr.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())},sr.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=Wt(r,this.clonePosition());return{val:{type:vt.literal,value:n,location:r},err:null}},sr.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(lr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},sr.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 r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return er.apply(void 0,t)},sr.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),er(r))},sr.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(yt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(yt.EMPTY_ARGUMENT,Wt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(yt.MALFORMED_ARGUMENT,Wt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(yt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:vt.argument,value:n,location:Wt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(yt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(yt.MALFORMED_ARGUMENT,Wt(r,this.clonePosition()))}},sr.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Jt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:Wt(e,this.clonePosition())}},sr.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(yt.EXPECT_ARGUMENT_TYPE,Wt(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=or(h.val)).length)return this.error(yt.EXPECT_ARGUMENT_STYLE,Wt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Wt(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(n)).err)return p;var u=Wt(n,this.clonePosition());if(l&&Qt(null==l?void 0:l.style,"::",0)){c=nr(l.style.slice(2));if("number"===a)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:vt.number,value:r,location:u,style:h.val},err:null};if(0===c.length)return this.error(yt.EXPECT_DATE_TIME_SKELETON,u);var d={type:bt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(kt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.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":o.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":o.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":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.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":o.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""}),o):{}};return{val:{type:"date"===a?vt.date:vt.time,value:r,location:u,style:d},err:null}}return{val:{type:"number"===a?vt.number:"date"===a?vt.date:vt.time,value:r,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(yt.EXPECT_SELECT_ARGUMENT_OPTIONS,Wt(l,wt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(yt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Wt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(yt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,yt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,a,t,u);if(u.err)return u;if((p=this.tryParseArgumentClose(n)).err)return p;var p=Wt(n,this.clonePosition());return"select"===a?{val:{type:vt.select,value:r,options:tr(u.val),location:p},err:null}:{val:{type:vt.plural,value:r,options:tr(u.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null};default:return this.error(yt.INVALID_ARGUMENT_TYPE,Wt(i,s))}},sr.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(yt.EXPECT_ARGUMENT_CLOSING_BRACE,Wt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},sr.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(yt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Wt(r,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}},sr.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split($t).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(yt.INVALID_NUMBER_SKELETON,t)}return{val:{type:bt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?jt(r):{}},err:null}},sr.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(yt.EXPECT_PLURAL_ARGUMENT_SELECTOR,yt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Wt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?yt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:yt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?yt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:yt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Wt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;i.push([s,{value:u.val,location:Wt(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===i.length?this.error("select"===t?yt.EXPECT_SELECT_ARGUMENT_SELECTOR:yt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Wt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(yt.MISSING_OTHER_CLAUSE,Wt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},sr.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}n=Wt(n,this.clonePosition());return o?Zt(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},sr.prototype.offset=function(){return this.position.offset},sr.prototype.isEOF=function(){return this.offset()===this.message.length},sr.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},sr.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=rr(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},sr.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},sr.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))},sr.prototype.bumpIf=function(e){if(Qt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},sr.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},sr.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},sr.prototype.bumpSpace=function(){for(;!this.isEOF()&&cr(this.char());)this.bump()},sr.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},sr);function sr(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function lr(e){return 97<=e&&e<=122||65<=e&&e<=90}function cr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function ur(e,t){t=wt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new ar(e,t).parse();if(r.err){e=SyntaxError(yt[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,_t(e)||Ft(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Et(e)&&Pt(e.style)||(xt(e)||Tt(e))&&Mt(e.style)?delete e.style.location:At(e)&&r(e.children)})}(r.val),r.val}function dr(e,t){var r=t&&t.cache?t.cache:vr,n=t&&t.serializer?t.serializer:gr;return(t&&t.strategy?t.strategy:function(e,t){return mr(e,this,1===e.length?hr:pr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function hr(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function pr(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function mr(e,t,r,n,o){return r.bind(t,e,n,o)}var gr=function(){return JSON.stringify(arguments)};function fr(){this.cache=Object.create(null)}fr.prototype.has=function(e){return e in this.cache},fr.prototype.get=function(e){return this.cache[e]},fr.prototype.set=function(e,t){this.cache[e]=t};var yr,vr={create:function(){return new fr}},br={variadic:function(e,t){return mr(e,this,pr,t.cache.create(),t.serializer)},monadic:function(e,t){return mr(e,this,hr,t.cache.create(),t.serializer)}};(It=yr=yr||{}).MISSING_VALUE="MISSING_VALUE",It.INVALID_VALUE="INVALID_VALUE",It.MISSING_INTL_API="MISSING_INTL_API";var wr,Sr,Cr,Er,xr,Tr=(ft(kr,xr=Error),kr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},kr),_r=(ft(Ir,Er=Tr),Ir),Fr=(ft(Mr,Cr=Tr),Mr),Ar=(ft(Pr,Sr=Tr),Pr);function Pr(e,t){return Sr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',yr.MISSING_VALUE,t)||this}function Mr(e,t,r){return Cr.call(this,'Value for "'+e+'" must be of type '+t,yr.INVALID_VALUE,r)||this}function Ir(e,t,r,n){return Er.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',yr.INVALID_VALUE,n)||this}function kr(e,t,r){e=xr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Lr(e,t,r,n,o,i,a){if(1===e.length&&Ct(e[0]))return[{type:wr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ct(u))s.push({type:wr.literal,value:u.value});else if(u.type===vt.pound)"number"==typeof i&&s.push({type:wr.literal,value:r.getNumberFormat(t).format(i)});else{var d=u.value;if(!(o&&d in o))throw new Ar(d,a);var h=o[d];if(u.type===vt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?wr.literal:wr.object,value:h});else if(xt(u)){var p="string"==typeof u.style?n.date[u.style]:Mt(u.style)?u.style.parsedOptions:void 0;s.push({type:wr.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(Tt(u))p="string"==typeof u.style?n.time[u.style]:Mt(u.style)?u.style.parsedOptions:void 0,s.push({type:wr.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(Et(u))(p="string"==typeof u.style?n.number[u.style]:Pt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:wr.literal,value:r.getNumberFormat(t,p).format(h)});else{if(At(u)){var m=u.children,g=u.value,d=o[g];if("function"!=typeof d)throw new Fr(g,"function",a);m=d(Lr(m,t,r,n,o,i).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?wr.literal:wr.object,value:e}}))}if(_t(u)){if(!(f=u.options[h]||u.options.other))throw new _r(u.value,h,Object.keys(u.options),a);s.push.apply(s,Lr(f.value,t,r,n,o))}else if(Ft(u)){if(!(f=u.options["="+h])){if(!Intl.PluralRules)throw new Tr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',yr.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),f=u.options[m]||u.options.other}if(!f)throw new _r(u.value,h,Object.keys(u.options),a);s.push.apply(s,Lr(f.value,t,r,n,o,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===wr.literal&&t.type===wr.literal?r.value+=t.value:e.push(t),e},[])}function $r(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(It=wr=wr||{})[It.literal=0]="literal",It[It.object=1]="object";var Nr=(Object.defineProperty(Or,"defaultLocale",{get:function(){return Or.memoizedDefaultLocale||(Or.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Or.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Or.memoizedDefaultLocale=null,Or.__parse=ur,Or.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"}}},Or);function Or(e,t,r,n){var o,i,a=this;if(void 0===t&&(t=Or.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===wr.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 Lr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!Or.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Or.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=Or.formats,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?wt(wt(wt({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=wt(wt({},r[t]),n[t]||{}),e},{})):r),e},wt({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:dr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,St([void 0],t)))},{cache:$r((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:br.variadic}),getDateTimeFormat:dr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,St([void 0],t)))},{cache:$r(n.dateTime),strategy:br.variadic}),getPluralRules:dr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,St([void 0],t)))},{cache:$r(n.pluralRules),strategy:br.variadic})}}const Rr={},Gr=(t,r)=>{if(null!=r){if(r in Rr&&t in Rr[r])return Rr[r][t];var n,o,i=en(r);for(let e=0;e<i.length;e++){var a=(n=i[e],o=t,Br(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Ur[e]||null}(n),o):null);if(a)return n=t,o=r,(a=a)&&(o in Rr||(Rr[o]={}),n in Rr[o]||(Rr[o][n]=a),a)}}};let Ur;const Dr=ot({});function Br(e){return e in Ur}function jr(t,...r){delete Rr[t],Dr.update(e=>(e[t]=mt.all([e[t]||{},...r]),e))}it([Dr],([e])=>Object.keys(e)),Dr.subscribe(e=>Ur=e);const Hr={};function zr(e){return Hr[e]}function Wr(e){return en(e).some(e=>{return null===(e=zr(e))||void 0===e?void 0:e.size})}const Vr={};function Xr(e){if(!Wr(e))return e in Vr?Vr[e]:void 0;const t=en(e).map(e=>{var t=zr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Vr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Hr[e].delete(t),0===Hr[e].size&&delete Hr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>jr(t,...e))}(e))).then(()=>Wr(e)?Xr(e):void delete Vr[e]),Vr[e]}function Yr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const qr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const Zr=ot(!1);let Kr;const Jr=ot(null);function Qr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function en(e,t=qr.fallbackLocale){e=Qr(e);return t?[...new Set([...e,...Qr(t)])]:e}Jr.subscribe(e=>{Kr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const tn=Jr.set;Jr.set=t=>{if(function(e){if(null!=e){var t=en(e);for(let e=0;e<t.length;e++){var r=t[e];if(Br(r))return r}}}(t)&&Wr(t)){var{loadingDelay:r}=qr;let e;return"undefined"!=typeof window&&null!=Kr&&r?e=window.setTimeout(()=>Zr.set(!0),r):Zr.set(!0),Xr(t).then(()=>{tn(t)}).finally(()=>{clearTimeout(e),Zr.set(!1)})}return tn(t)},Jr.update=e=>tn(e(Kr));const rn=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},nn=(e,t)=>{var{formats:r}=qr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},on=rn(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=nn("number",r)),new Intl.NumberFormat(t,e)}),an=rn(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=nn("date",r):0===Object.keys(e).length&&(e=nn("date","short")),new Intl.DateTimeFormat(t,e)}),sn=rn(e=>{var{locale:t,format:r}=e,e=Yr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=nn("time",r):0===Object.keys(e).length&&(e=nn("time","short")),new Intl.DateTimeFormat(t,e)}),ln=rn((e,t=Kr)=>new Nr(e,t,qr.formats,{ignoreTag:qr.ignoreTag})),cn=it([Jr,Dr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=Kr,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Gr(e,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else qr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${en(n).join('", "')}".${Wr(Kr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!r)return i;let a=i;try{a=ln(i,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});it([Jr],()=>(e,t)=>((e={})=>{var{locale:t=Kr}=e,e=Yr(e,["locale"]);return sn(Object.assign({locale:t},e))})(t).format(e)),it([Jr],()=>(e,t)=>((e={})=>{var{locale:t=Kr}=e,e=Yr(e,["locale"]);return an(Object.assign({locale:t},e))})(t).format(e)),it([Jr],()=>(e,t)=>((e={})=>{var{locale:t=Kr}=e,e=Yr(e,["locale"]);return on(Object.assign({locale:t},e))})(t).format(e)),it([Jr,Dr],()=>(e,t=Kr)=>Gr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==tt.indexOf(e)&&(t=new Ke(t),rt[e]=t,tt.push(e)),rt[e]}};const un=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)),dn=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",hn={en:{casinoPage:{search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{casinoPage:{search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{casinoPage:{search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{casinoPage:{search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{casinoPage:{search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{casinoPage:{search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{casinoPage:{search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{casinoPage:{search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{casinoPage:{search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{casinoPage:{search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{casinoPage:{search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{casinoPage:{search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{casinoPage:{search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{casinoPage:{search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}},pn={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},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",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"}},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:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},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."}}},mn={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće"}}};function gn(e){let r,n=!un(e[15])&&!e[0]&&e[9],o=n&&fn(e);return{c(){o&&o.c(),r=u()},m(e,t){o&&o.m(e,t),j(e,r,t)},p(e,t){513&t[0]&&(n=!un(e[15])&&!e[0]&&e[9]),n?o?o.p(e,t):(o=fn(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&H(r)}}}function fn(r){let n,o,i;return{c(){n=z("div"),n.innerHTML='<svg version="1.1" class="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>',X(n,"class","FavIconContainer")},m(e,t){j(e,n,t),o||(i=V(n,"click",r[32]),o=!0)},p:U,d(e){e&&H(n),o=!1,i()}}}function yn(e){let r;return{c(){r=z("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',X(r,"class","FavIconContainer")},m(e,t){j(e,r,t)},p:U,d(e){e&&H(r)}}}function vn(r){let n,o,i;return{c(){n=z("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',X(n,"class","FavIconContainer")},m(e,t){j(e,n,t),o||(i=V(n,"click",r[34]),o=!0)},p:U,d(e){e&&H(n),o=!1,i()}}}function bn(e){let r,n,o=e[14]("gameThumbnail.new")+"";return{c(){r=z("span"),n=t(o),X(r,"class","GameExtraInfoLabel NewGameTag")},m(e,t){j(e,r,t),B(r,n)},p(e,t){16384&t[0]&&o!==(o=e[14]("gameThumbnail.new")+"")&&Y(n,o)},d(e){e&&H(r)}}}function wn(e){let r,n,o=e[14]("gameThumbnail.hot")+"";return{c(){r=z("span"),n=t(o),X(r,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){j(e,r,t),B(r,n)},p(e,t){16384&t[0]&&o!==(o=e[14]("gameThumbnail.hot")+"")&&Y(n,o)},d(e){e&&H(r)}}}function Sn(e){let r,n;return{c(){r=z("p"),n=t(e[3]),X(r,"class","GameNameBelow"),X(r,"title",e[3])},m(e,t){j(e,r,t),B(r,n)},p(e,t){8&t[0]&&Y(n,e[3]),8&t[0]&&X(r,"title",e[3])},d(e){e&&H(r)}}}function Cn(r){let n,o,i,a,s,l,c,u,d,h,p,m,g,f,y,v,b,w,S,C,E,x,T,_,F,A,P=r[14]("gameThumbnail.playNow")+"",M=(r[4]||"-")+"",I=0<parseInt(r[7]),k=r[10]&&gn(r);function L(e,t){return(null==S||515&t[0])&&(S=!(un(e[15])||!e[0]||!e[9]||!e[1])),S?vn:((null==C||515&t[0])&&(C=!!(un(e[15])&&e[0]&&e[9]&&e[1])),C?yn:void 0)}let $=L(r,[-1]),N=$&&$(r),O=r[6]&&bn(r),R=I&&wn(r),G=r[8]&&Sn(r);return{c(){n=z("div"),o=z("div"),i=z("img"),l=W(),c=z("div"),u=z("div"),k&&k.c(),d=W(),h=z("p"),p=t(r[3]),m=W(),g=z("button"),f=t(P),y=W(),v=z("span"),b=t(M),w=W(),N&&N.c(),E=W(),x=z("div"),O&&O.c(),T=W(),R&&R.c(),_=W(),G&&G.c(),this.c=U,i.src!==(a=r[2])&&X(i,"src",a),X(i,"class",s="GameBg "+(r[11]?"Loaded":"")),X(i,"alt",""),X(i,"loading","lazy"),X(h,"class","GameInfoName"),X(h,"title",r[3]),X(g,"class","GameInfoBtn"),X(u,"class","GameInfo"),X(v,"class","GameInfoVendor"),X(c,"class","GameInfoWrapper"),X(x,"class","GameExtraInfo"),X(o,"class","GameInnerContainer"),X(n,"class","GameContainer")},m(e,t){j(e,n,t),B(n,o),B(o,i),r[31](i),B(o,l),B(o,c),B(c,u),k&&k.m(u,null),B(u,d),B(u,h),B(h,p),B(u,m),B(u,g),B(g,f),B(c,y),B(c,v),B(v,b),B(o,w),N&&N.m(o,null),B(o,E),B(o,x),O&&O.m(x,null),B(x,T),R&&R.m(x,null),B(n,_),G&&G.m(n,null),r[35](n),F||(A=[V(g,"click",r[33]),V(o,"mouseenter",r[20]),V(o,"mouseleave",r[21]),V(o,"touchstart",r[18],{passive:!0}),V(o,"touchleave",r[19])],F=!0)},p(e,t){4&t[0]&&i.src!==(a=e[2])&&X(i,"src",a),2048&t[0]&&s!==(s="GameBg "+(e[11]?"Loaded":""))&&X(i,"class",s),e[10]?k?k.p(e,t):(k=gn(e),k.c(),k.m(u,d)):k&&(k.d(1),k=null),8&t[0]&&Y(p,e[3]),8&t[0]&&X(h,"title",e[3]),16384&t[0]&&P!==(P=e[14]("gameThumbnail.playNow")+"")&&Y(f,P),16&t[0]&&M!==(M=(e[4]||"-")+"")&&Y(b,M),$===($=L(e,t))&&N?N.p(e,t):(N&&N.d(1),N=$&&$(e),N&&(N.c(),N.m(o,E))),e[6]?O?O.p(e,t):(O=bn(e),O.c(),O.m(x,T)):O&&(O.d(1),O=null),128&t[0]&&(I=0<parseInt(e[7])),I?R?R.p(e,t):(R=wn(e),R.c(),R.m(x,null)):R&&(R.d(1),R=null),e[8]?G?G.p(e,t):(G=Sn(e),G.c(),G.m(n,null)):G&&(G.d(1),G=null)},i:U,o:U,d(e){e&&H(n),r[31](null),k&&k.d(),N&&N.d(),O&&O.d(),R&&R.d(),G&&G.d(),r[35](null),F=!1,D(A)}}}function En(e,t,r){let n;Ae(e,cn,e=>r(14,n=e));let o,i,{session:a=""}=t,{userid:s=""}=t,{lang:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{favorites:d=""}=t,{gamethumbnail:h=""}=t,{gamename:p=""}=t,{gamevendor:m=""}=t,{gameid:g=""}=t,{gameisnew:f=""}=t,{gamepopularity:y=""}=t,{gamefunmode:v=!1}=t,{searchitem:b=!1}=t,{gamefavorite:w=!1}=t,{showfavoredcategory:S=!1}=t,{showgamename:C=!1}=t,{endpoint:E=""}=t,x=!1,T=!1,_=!1,F=window.navigator.userAgent;Object.keys(mn).forEach(e=>{jr(e,mn[e])});const A=e=>{e.data.type!==`AddFavoriteThumbnail_${g}`||S||r(0,w=!0),e.data.type!==`RemoveFavoriteThumbnail_${g}`||S||r(0,w=!1),"UserSessionID"===e.data.type&&(r(9,x=!0),e.data.session,e.data.userID)},P=e=>{un(F)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:v},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),b&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},M=e=>{var t="thumbnail";w?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)};return Pe(()=>(window.addEventListener("message",A,!1),()=>{window.removeEventListener("message",A)})),e.$$set=e=>{"session"in e&&r(22,a=e.session),"userid"in e&&r(23,s=e.userid),"lang"in e&&r(24,l=e.lang),"clientstyling"in e&&r(25,c=e.clientstyling),"clientstylingurl"in e&&r(26,u=e.clientstylingurl),"favorites"in e&&r(1,d=e.favorites),"gamethumbnail"in e&&r(2,h=e.gamethumbnail),"gamename"in e&&r(3,p=e.gamename),"gamevendor"in e&&r(4,m=e.gamevendor),"gameid"in e&&r(5,g=e.gameid),"gameisnew"in e&&r(6,f=e.gameisnew),"gamepopularity"in e&&r(7,y=e.gamepopularity),"gamefunmode"in e&&r(27,v=e.gamefunmode),"searchitem"in e&&r(28,b=e.searchitem),"gamefavorite"in e&&r(0,w=e.gamefavorite),"showfavoredcategory"in e&&r(29,S=e.showfavoredcategory),"showgamename"in e&&r(8,C=e.showgamename),"endpoint"in e&&r(30,E=e.endpoint)},e.$$.update=()=>{e.$$.dirty[0],1086324736&e.$$.dirty[0]&&a&&s&&E&&r(9,x=!0),4&e.$$.dirty[0]&&h&&o&&r(12,o.onload=()=>{r(11,_=!0)},o),33554432&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,setTimeout(()=>{i.appendChild(e)})})(),2&e.$$.dirty[0]&&d&&"true"==d&&r(10,T=!0),67108864&e.$$.dirty[0]&&u&&(()=>{let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)})})})()},[w,d,h,p,m,g,f,y,C,x,T,_,o,i,n,F,P,M,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},a,s,l,c,u,v,b,S,E,function(e){Me[e?"unshift":"push"](()=>{o=e,r(12,o)})},()=>M(g),()=>P(g),()=>M(g),function(e){Me[e?"unshift":"push"](()=>{i=e,r(13,i)})}]}function xn(e,t,r){const n=e.slice();return n[68]=t[r],n[70]=r,n}function Tn(e,t,r){const n=e.slice();return n[68]=t[r],n[71]=t,n[70]=r,n}function _n(e,t,r){const n=e.slice();return n[68]=t[r],n[70]=r,n}function Fn(e){let r;function n(e){return e[9]?In:e[19]?Mn:void 0}let o=n(e),i=o&&o(e);return{c(){r=z("div"),i&&i.c()},m(e,t){j(e,r,t),i&&i.m(r,null)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i&&i.d(1),i=o&&o(e),i&&(i.c(),i.m(r,null)))},d(e){e&&H(r),i&&i.d()}}}function An(e){let r,n,o;function i(e){return e[13]?qn:e[10].length?Xn:Yn}let a=i(e),s=a(e);function l(e){return e[10]?Kn:Zn}let c=l(e),u=c(e);return{c(){r=z("div"),n=z("div"),s.c(),o=W(),u.c(),X(n,"class","CasinoGamesHeader Searched "+(un(e[23])?"CasinoGamesHeaderMobile":"")),X(r,"class","CasinoGamesContainer")},m(e,t){j(e,r,t),B(r,n),s.m(n,null),B(r,o),u.m(r,null)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(e),s&&(s.c(),s.m(n,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(r,null)))},d(e){e&&H(r),s.d(),u.d()}}}function Pn(e){let r;function n(e){return e[15]?to:eo}let o=n(e),i=o(e);return{c(){i.c(),r=u()},m(e,t){i.m(e,t),j(e,r,t)},p(e,t){o!==(o=n(e))&&(i.d(1),i=o(e),i&&(i.c(),i.m(r.parentNode,r)))},d(e){i.d(e),e&&H(r)}}}function Mn(r){let n,o,i,a,s,l,c,u=r[21].name+"";function d(e){return e[21]?Ln:kn}let h=d(r),p=h(r);return{c(){n=z("div"),o=z("div"),i=z("h3"),a=t(u),s=W(),l=z("ul"),p.c(),X(i,"class","CategoryName"),X(o,"class","CasinoGamesHeader"),X(l,"class",c=(0!=r[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),X(n,"class","CasinoGamesContainer")},m(e,t){j(e,n,t),B(n,o),B(o,i),B(i,a),r[38](i),B(n,s),B(n,l),p.m(l,null),r[39](l)},p(e,t){2097152&t[0]&&u!==(u=e[21].name+"")&&Y(a,u),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(l,null))),2097152&t[0]&&c!==(c=(0!=e[21].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&X(l,"class",c)},d(e){e&&H(n),r[38](null),p.d(),r[39](null)}}}function In(r){let n,o,i,a,s,l,c=r[9].name+"",u=r[11]&&Hn(r);function d(e){return 0!==e[10].length?Wn:zn}let h=d(r),p=h(r);return{c(){n=z("div"),o=z("div"),i=z("h3"),a=t(c),s=W(),u&&u.c(),l=W(),p.c(),X(i,"class","CategoryName"),X(o,"class","CasinoGamesHeader"),X(n,"class","CasinoGamesContainer")},m(e,t){j(e,n,t),B(n,o),B(o,i),B(i,a),r[34](i),B(o,s),u&&u.m(o,null),B(n,l),p.m(n,null)},p(e,t){512&t[0]&&c!==(c=e[9].name+"")&&Y(a,c),e[11]?u?u.p(e,t):(u=Hn(e),u.c(),u.m(o,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(n,null)))},d(e){e&&H(n),r[34](null),u&&u.d(),p.d()}}}function kn(e){let r;return{c(){r=z("p"),r.textContent="Waiting"},m(e,t){j(e,r,t)},p:U,d(e){e&&H(r)}}}function Ln(t){let n,o=t[21].items,i=[];for(let e=0;e<o.length;e+=1)i[e]=jn(xn(t,o,e));let a=null;return o.length||(a=$n(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();n=u(),a&&a.c()},m(t,r){for(let e=0;e<i.length;e+=1)i[e].m(t,r);j(t,n,r),a&&a.m(t,r)},p(t,r){if(11010175&r[0]){let e;for(o=t[21].items,e=0;e<o.length;e+=1){const a=xn(t,o,e);i[e]?i[e].p(a,r):(i[e]=jn(a),i[e].c(),i[e].m(n.parentNode,n))}for(;e<i.length;e+=1)i[e].d(1);i.length=o.length,!o.length&&a?a.p(t,r):o.length?a&&(a.d(1),a=null):(a=$n(t),a.c(),a.m(n.parentNode,n))}},d(e){c(i,e),e&&H(n),a&&a.d(e)}}}function $n(e){let r,n,o,i,a,s,l,c=(t=e,(un(t[23])?On:Nn)(e));var t;return{c(){r=z("p"),n=v("svg"),o=v("path"),i=W(),a=z("span"),a.textContent="You do not have any favored games yet.",s=W(),c.c(),l=W(),C(o,"fill","white"),X(o,"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"),X(n,"version","1.1"),X(n,"class","UnfavoredIcon"),X(n,"xmlns","http://www.w3.org/2000/svg"),X(n,"xmlns:xlink","http://www.w3.org/1999/xlink"),X(n,"x","50px"),X(n,"y","50px"),X(n,"viewBox","0 0 512.001 512.001"),C(n,"enable-background","new 0 0 512.001 512.001"),X(n,"xml:space","preserve"),X(a,"class","NoFavoriteText NoFavoriteTextHighlight"),X(r,"class","NoFavoriteGames "+(un(e[23])?"NoFavoriteGamesMobile":""))},m(e,t){j(e,r,t),B(r,n),B(n,o),B(r,i),B(r,a),B(r,s),c.m(r,null),B(r,l)},p:U,d(e){e&&H(r),c.d()}}}function Nn(e){let r;return{c(){r=z("span"),r.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",X(r,"class","NoFavoriteText")},m(e,t){j(e,r,t)},d(e){e&&H(r)}}}function On(e){let r;return{c(){r=z("span"),r.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",X(r,"class","NoFavoriteText")},m(e,t){j(e,r,t)},d(e){e&&H(r)}}}function Rn(e){let r,n=e[68].gameModel.isFavorite&&Gn(e);return{c(){n&&n.c(),r=u()},m(e,t){n&&n.m(e,t),j(e,r,t)},p(e,t){e[68].gameModel.isFavorite?n?n.p(e,t):(n=Gn(e),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&H(r)}}}function Gn(e){let r,n=function(e){let r,n,o;function i(e,t){return null==r&&(r=!!un(e[23])),r?Dn:((null==n||2097152&t[0])&&(n=!!e[68].gameModel.platform.includes("PC")),n?Un:void 0)}let a=i(e,[-1]),s=a&&a(e);return{c(){s&&s.c(),o=u()},m(e,t){s&&s.m(e,t),j(e,o,t)},p(e,t){a===(a=i(e,t))&&s?s.p(e,t):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(o.parentNode,o)))},d(e){s&&s.d(e),e&&H(o)}}}(e);return{c(){n&&n.c(),r=u()},m(e,t){n&&n.m(e,t),j(e,r,t)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&H(r)}}}function Un(e){let r,n,o,i,a,s,l,c,u,d,h;return{c(){r=z("casino-game-thumbnail"),y(r,"class",n=""+(no+(e[68].cellSize||"1x1"))),y(r,"session",e[2]),y(r,"userid",e[3]),y(r,"lang",e[1]),y(r,"favorites",e[4]),y(r,"gamethumbnail",o=e[68].gameModel.thumbnail),y(r,"gamename",i=e[68].gameModel.name),y(r,"gamevendor",a=e[68].gameModel.vendor.name),y(r,"gameisnew",s=e[68].gameModel.isNew),y(r,"gamepopularity",l=e[68].gameModel.popularity),y(r,"gamecellsize",c=e[68].gameModel.cellSize),y(r,"gameid",u=e[68].gameModel.id),y(r,"gamefunmode",d=e[68].gameModel.hasFunMode),y(r,"gamefavorite",h=e[68].gameModel.isFavorite),y(r,"showfavoredcategory",e[19]),y(r,"clientstyling",e[5]),y(r,"clientstylingurl",e[6]),y(r,"endpoint",e[0])},m(e,t){j(e,r,t)},p(e,t){2097152&t[0]&&n!==(n=""+(no+(e[68].cellSize||"1x1")))&&y(r,"class",n),4&t[0]&&y(r,"session",e[2]),8&t[0]&&y(r,"userid",e[3]),2&t[0]&&y(r,"lang",e[1]),16&t[0]&&y(r,"favorites",e[4]),2097152&t[0]&&o!==(o=e[68].gameModel.thumbnail)&&y(r,"gamethumbnail",o),2097152&t[0]&&i!==(i=e[68].gameModel.name)&&y(r,"gamename",i),2097152&t[0]&&a!==(a=e[68].gameModel.vendor.name)&&y(r,"gamevendor",a),2097152&t[0]&&s!==(s=e[68].gameModel.isNew)&&y(r,"gameisnew",s),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&y(r,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&y(r,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&y(r,"gameid",u),2097152&t[0]&&d!==(d=e[68].gameModel.hasFunMode)&&y(r,"gamefunmode",d),2097152&t[0]&&h!==(h=e[68].gameModel.isFavorite)&&y(r,"gamefavorite",h),524288&t[0]&&y(r,"showfavoredcategory",e[19]),32&t[0]&&y(r,"clientstyling",e[5]),64&t[0]&&y(r,"clientstylingurl",e[6]),1&t[0]&&y(r,"endpoint",e[0])},d(e){e&&H(r)}}}function Dn(e){let r,n=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android"),o=n&&Bn(e);return{c(){o&&o.c(),r=u()},m(e,t){o&&o.m(e,t),j(e,r,t)},p(e,t){2097152&t[0]&&(n=e[68].gameModel.platform.includes("iPad")||e[68].gameModel.platform.includes("iPhone")||e[68].gameModel.platform.includes("Android")),n?o?o.p(e,t):(o=Bn(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){o&&o.d(e),e&&H(r)}}}function Bn(e){let r,n,o,i,a,s,l,c,u,d,h;return{c(){r=z("casino-game-thumbnail"),y(r,"class",n=""+(no+(e[68].cellSize||"1x1"))),y(r,"session",e[2]),y(r,"userid",e[3]),y(r,"lang",e[1]),y(r,"favorites",e[4]),y(r,"gamethumbnail",o=e[68].gameModel.thumbnail),y(r,"gamename",i=e[68].gameModel.name),y(r,"gamevendor",a=e[68].gameModel.vendor.name),y(r,"gameisnew",s=e[68].gameModel.isNew),y(r,"gamepopularity",l=e[68].gameModel.popularity),y(r,"gamecellsize",c=e[68].gameModel.cellSize),y(r,"gameid",u=e[68].gameModel.id),y(r,"gamefunmode",d=e[68].gameModel.hasFunMode),y(r,"gamefavorite",h=e[68].gameModel.isFavorite),y(r,"showfavoredcategory",e[19]),y(r,"clientstyling",e[5]),y(r,"clientstylingurl",e[6]),y(r,"endpoint",e[0])},m(e,t){j(e,r,t)},p(e,t){2097152&t[0]&&n!==(n=""+(no+(e[68].cellSize||"1x1")))&&y(r,"class",n),4&t[0]&&y(r,"session",e[2]),8&t[0]&&y(r,"userid",e[3]),2&t[0]&&y(r,"lang",e[1]),16&t[0]&&y(r,"favorites",e[4]),2097152&t[0]&&o!==(o=e[68].gameModel.thumbnail)&&y(r,"gamethumbnail",o),2097152&t[0]&&i!==(i=e[68].gameModel.name)&&y(r,"gamename",i),2097152&t[0]&&a!==(a=e[68].gameModel.vendor.name)&&y(r,"gamevendor",a),2097152&t[0]&&s!==(s=e[68].gameModel.isNew)&&y(r,"gameisnew",s),2097152&t[0]&&l!==(l=e[68].gameModel.popularity)&&y(r,"gamepopularity",l),2097152&t[0]&&c!==(c=e[68].gameModel.cellSize)&&y(r,"gamecellsize",c),2097152&t[0]&&u!==(u=e[68].gameModel.id)&&y(r,"gameid",u),2097152&t[0]&&d!==(d=e[68].gameModel.hasFunMode)&&y(r,"gamefunmode",d),2097152&t[0]&&h!==(h=e[68].gameModel.isFavorite)&&y(r,"gamefavorite",h),524288&t[0]&&y(r,"showfavoredcategory",e[19]),32&t[0]&&y(r,"clientstyling",e[5]),64&t[0]&&y(r,"clientstylingurl",e[6]),1&t[0]&&y(r,"endpoint",e[0])},d(e){e&&H(r)}}}function jn(e){let r,n=e[68].gameModel&&Rn(e);return{c(){n&&n.c(),r=u()},m(e,t){n&&n.m(e,t),j(e,r,t)},p(e,t){e[68].gameModel?n?n.p(e,t):(n=Rn(e),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&H(r)}}}function Hn(r){let n,o,i,a,s,l,c,u,d=r[22]("gamesCategorySection.viewAll")+"",h=r[9].games.total+"";return{c(){n=z("a"),o=z("span"),i=t(d),a=t(" ("),s=t(h),l=t(")"),X(o,"class","CategoryLoadMore"),X(n,"class","CategoryNameLink")},m(e,t){j(e,n,t),B(n,o),B(o,i),B(o,a),B(o,s),B(o,l),c||(u=V(n,"click",r[35]),c=!0)},p(e,t){4194304&t[0]&&d!==(d=e[22]("gamesCategorySection.viewAll")+"")&&Y(i,d),512&t[0]&&h!==(h=e[9].games.total+"")&&Y(s,h)},d(e){e&&H(n),c=!1,u()}}}function zn(e){let r;return{c(){r=z("p"),r.textContent="You don't have any games in this category.",X(r,"class","NoSearchResults")},m(e,t){j(e,r,t)},p:U,d(e){e&&H(r)}}}function Wn(r){let o,e,i=r[10],a=[];for(let e=0;e<i.length;e+=1)a[e]=Vn(Tn(r,i,e));return{c(){o=z("ul");for(let e=0;e<a.length;e+=1)a[e].c();X(o,"class",e=(0===r[21].items.length&&r[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){j(e,o,t);for(let e=0;e<a.length;e+=1)a[e].m(o,null);r[37](o)},p(t,r){if(1279&r[0]){let e;for(i=t[10],e=0;e<i.length;e+=1){var n=Tn(t,i,e);a[e]?a[e].p(n,r):(a[e]=Vn(n),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}2621440&r[0]&&e!==(e=(0===t[21].items.length&&t[19]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&X(o,"class",e)},d(e){e&&H(o),c(a,e),r[37](null)}}}function Vn(e){let r,n=function(r){let n,o,i,a,s,l,c,u,d,h,p,m=r[70];const g=()=>r[36](n,m),f=()=>r[36](null,m);return{c(){n=z("casino-game-thumbnail"),y(n,"session",r[2]),y(n,"userid",r[3]),y(n,"lang",r[1]),y(n,"class",o=""+(no+(r[68].cellSize||"1x1"))),y(n,"favorites",r[4]),y(n,"gamethumbnail",i=r[68].thumbnail),y(n,"gamename",a=r[68].name),y(n,"gamevendor",s=r[68].vendor.name),y(n,"gameisnew",l=r[68].isNew),y(n,"gamepopularity",c=r[68].popularity),y(n,"gamecellsize",u=r[68].cellSize),y(n,"gameid",d=r[68].id),y(n,"gamefunmode",h=r[68].hasFunMode),y(n,"gamefavorite",p=r[68].isFavorite),y(n,"clientstyling",r[5]),y(n,"clientstylingurl",r[6]),y(n,"endpoint",r[0])},m(e,t){j(e,n,t),g()},p(e,t){r=e,4&t[0]&&y(n,"session",r[2]),8&t[0]&&y(n,"userid",r[3]),2&t[0]&&y(n,"lang",r[1]),1024&t[0]&&o!==(o=""+(no+(r[68].cellSize||"1x1")))&&y(n,"class",o),16&t[0]&&y(n,"favorites",r[4]),1024&t[0]&&i!==(i=r[68].thumbnail)&&y(n,"gamethumbnail",i),1024&t[0]&&a!==(a=r[68].name)&&y(n,"gamename",a),1024&t[0]&&s!==(s=r[68].vendor.name)&&y(n,"gamevendor",s),1024&t[0]&&l!==(l=r[68].isNew)&&y(n,"gameisnew",l),1024&t[0]&&c!==(c=r[68].popularity)&&y(n,"gamepopularity",c),1024&t[0]&&u!==(u=r[68].cellSize)&&y(n,"gamecellsize",u),1024&t[0]&&d!==(d=r[68].id)&&y(n,"gameid",d),1024&t[0]&&h!==(h=r[68].hasFunMode)&&y(n,"gamefunmode",h),1024&t[0]&&p!==(p=r[68].isFavorite)&&y(n,"gamefavorite",p),32&t[0]&&y(n,"clientstyling",r[5]),64&t[0]&&y(n,"clientstylingurl",r[6]),1&t[0]&&y(n,"endpoint",r[0]),m!==r[70]&&(f(),m=r[70],g())},d(e){e&&H(n),f()}}}(e);return{c(){n&&n.c(),r=u()},m(e,t){n&&n.m(e,t),j(e,r,t)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&H(r)}}}function Xn(e){let r,n,o=e[22]("gamesCategorySection.searchedItems")+"";return{c(){r=z("h3"),n=t(o),X(r,"class","StatusText")},m(e,t){j(e,r,t),B(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.searchedItems")+"")&&Y(n,o)},d(e){e&&H(r)}}}function Yn(e){let r,n,o=e[22]("gamesCategorySection.noResults")+"";return{c(){r=z("h3"),n=t(o),X(r,"class","StatusText")},m(e,t){j(e,r,t),B(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.noResults")+"")&&Y(n,o)},d(e){e&&H(r)}}}function qn(e){let r,n,o=e[22]("gamesCategorySection.recentSearchedItems")+"";return{c(){r=z("h3"),n=t(o),X(r,"class","StatusText")},m(e,t){j(e,r,t),B(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.recentSearchedItems")+"")&&Y(n,o)},d(e){e&&H(r)}}}function Zn(e){let r;return{c(){r=z("p"),r.textContent="Waiting",X(r,"class","SearchWaiting")},m(e,t){j(e,r,t)},p:U,d(e){e&&H(r)}}}function Kn(t){let n,o,i=!t[16]&&Jn(t),a=t[10],s=[];for(let e=0;e<a.length;e+=1)s[e]=Qn(_n(t,a,e));return{c(){i&&i.c(),n=W(),o=z("ul");for(let e=0;e<s.length;e+=1)s[e].c();X(o,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),j(e,n,t),j(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,r){if(t[16]?i&&(i.d(1),i=null):i?i.p(t,r):(i=Jn(t),i.c(),i.m(n.parentNode,n)),17535&r[0]){let e;for(a=t[10],e=0;e<a.length;e+=1){const i=_n(t,a,e);s[e]?s[e].p(i,r):(s[e]=Qn(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=a.length}},d(e){i&&i.d(e),e&&H(n),e&&H(o),c(s,e)}}}function Jn(e){let r,n,o=e[22]("gamesCategorySection.noRecentSearch")+"";return{c(){r=z("p"),n=t(o),X(r,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(un(e[23])?"NoRecentSearchesMobile":""))},m(e,t){j(e,r,t),B(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamesCategorySection.noRecentSearch")+"")&&Y(n,o)},d(e){e&&H(r)}}}function Qn(e){let r,n,o,i,a,s,l,c,u,d,h;return{c(){r=z("casino-game-thumbnail"),y(r,"class",n=""+(no+(e[68].cellSize||"1x1"))),y(r,"session",e[2]),y(r,"userid",e[3]),y(r,"lang",e[1]),y(r,"searchitem",e[14]),y(r,"favorites",e[4]),y(r,"gamethumbnail",o=e[68].thumbnail),y(r,"gamename",i=e[68].name),y(r,"gamevendor",a=e[68].vendor.name),y(r,"gameisnew",s=e[68].isNew),y(r,"gamepopularity",l=e[68].popularity),y(r,"gamecellsize",c=e[68].cellSize),y(r,"gameid",u=e[68].id),y(r,"gamefunmode",d=e[68].hasFunMode),y(r,"gamefavorite",h=e[68].isFavorite),y(r,"clientstyling",e[5]),y(r,"clientstylingurl",e[6]),y(r,"endpoint",e[0])},m(e,t){j(e,r,t)},p(e,t){1024&t[0]&&n!==(n=""+(no+(e[68].cellSize||"1x1")))&&y(r,"class",n),4&t[0]&&y(r,"session",e[2]),8&t[0]&&y(r,"userid",e[3]),2&t[0]&&y(r,"lang",e[1]),16384&t[0]&&y(r,"searchitem",e[14]),16&t[0]&&y(r,"favorites",e[4]),1024&t[0]&&o!==(o=e[68].thumbnail)&&y(r,"gamethumbnail",o),1024&t[0]&&i!==(i=e[68].name)&&y(r,"gamename",i),1024&t[0]&&a!==(a=e[68].vendor.name)&&y(r,"gamevendor",a),1024&t[0]&&s!==(s=e[68].isNew)&&y(r,"gameisnew",s),1024&t[0]&&l!==(l=e[68].popularity)&&y(r,"gamepopularity",l),1024&t[0]&&c!==(c=e[68].cellSize)&&y(r,"gamecellsize",c),1024&t[0]&&u!==(u=e[68].id)&&y(r,"gameid",u),1024&t[0]&&d!==(d=e[68].hasFunMode)&&y(r,"gamefunmode",d),1024&t[0]&&h!==(h=e[68].isFavorite)&&y(r,"gamefavorite",h),32&t[0]&&y(r,"clientstyling",e[5]),64&t[0]&&y(r,"clientstylingurl",e[6]),1&t[0]&&y(r,"endpoint",e[0])},d(e){e&&H(r)}}}function eo(e){let r;return{c(){r=z("p"),r.textContent="500 Error - Internal Server Error.",X(r,"class","SearchLoading")},m(e,t){j(e,r,t)},d(e){e&&H(r)}}}function to(e){let r;return{c(){r=z("p"),r.textContent="404 Error - No result found.",X(r,"class","SearchLoading")},m(e,t){j(e,r,t)},d(e){e&&H(r)}}}function ro(r){let n;function o(e){return e[8]?Pn:e[12]?An:Fn}let i=o(r),a=i(r);return{c(){n=z("div"),a.c(),this.c=U,X(n,"class","CasinoGamesCategorySectionContainer")},m(e,t){j(e,n,t),a.m(n,null),r[40](n)},p(e,t){i===(i=o(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:U,o:U,d(e){e&&H(n),a.d(),r[40](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends F{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%}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.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)}.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:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;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:4.8px;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:14.4px;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;top:8px;left:8px}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.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}</style>",s(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},En,Cn,r,{session:22,userid:23,lang:24,clientstyling:25,clientstylingurl:26,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:27,searchitem:28,gamefavorite:0,showfavoredcategory:29,showgamename:8,endpoint:30},[-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint"]}get session(){return this.$$.ctx[22]}set session(e){this.$set({session:e}),T()}get userid(){return this.$$.ctx[23]}set userid(e){this.$set({userid:e}),T()}get lang(){return this.$$.ctx[24]}set lang(e){this.$set({lang:e}),T()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$set({clientstyling:e}),T()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$set({clientstylingurl:e}),T()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),T()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),T()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),T()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),T()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),T()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),T()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),T()}get gamefunmode(){return this.$$.ctx[27]}set gamefunmode(e){this.$set({gamefunmode:e}),T()}get searchitem(){return this.$$.ctx[28]}set searchitem(e){this.$set({searchitem:e}),T()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),T()}get showfavoredcategory(){return this.$$.ctx[29]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),T()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),T()}get endpoint(){return this.$$.ctx[30]}set endpoint(e){this.$set({endpoint:e}),T()}});const no="game-tile-";function oo(e,t,s){let r;Ae(e,cn,e=>s(22,r=e));var n=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(r,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((l=l.apply(e,a||[])).next())})};let o,i,a,l,c,u,d,h,{endpoint:p=""}=t,{datasource:m=""}=t,{lang:g=""}=t,{session:f=""}=t,{userid:y=""}=t,{favorites:v=""}=t,{clientstyling:b=""}=t,{clientstylingurl:w=""}=t,{categoryid:S=""}=t,{categoryindex:C=0}=t,{categorygames:E=0}=t,{once:x=!0}=t,{top:T=0}=t,{bottom:_=0}=t,{left:F=0}=t,{right:A=0}=t,P=!1,M=!0,I=window.navigator.userAgent,k=[],L=!0,$=40,N=!1,O=!1,R=!1,G=!1,U=!0,D=!1,B=!1,j=!1,H=new Array(1e3),z={items:[],count:0,name:""};Object.keys(pn).forEach(e=>{jr(e,pn[e])});let W=new IntersectionObserver((e,t)=>{e.forEach(t=>n(void 0,void 0,void 0,function*(){var e=t.target.elems_index;t.isIntersecting&&1.2*e>$&&Y(S)}))});const V=(e,n,o,t=0)=>{let i=new URL(`${p}/casino/groups/${m}/${S}`),a=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,r)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",dn(I)),i.searchParams.append("pagination",`games(offset=${n},limit=${o})`),i.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:S},window.location.href),a&&a[S])if(a[S].length&&!1===M&&!1===D){let t="";s(15,G=!0),a[S].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(15,G=!1);fetch(i).then(e=>e.json()).then(e=>{s(8,P=!1),c=e.games.total,t(e)},e=>{s(8,P=!0),console.error(e),r(e)})})},X=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(12,N=!1),M=!1,s(11,L=!1),B=!0,s(10,k=t.data.mostPlayedGames),s(9,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(12,N=!0),B=!1,s(13,O=!0),0<t.data.searchData.length?(s(10,k=t.data.searchData),s(16,U=!0),k&&k.forEach(e=>{e.isFavorite=q(e.id)})):(s(10,k=[]),s(16,U=!1));break;case"OutOfRecentSearches":s(12,N=!1),s(13,O=!1);break;case"SearchData":s(12,N=!0),B=!1,s(13,O=!1),s(10,k=t.data.searchData.items||[]),s(14,R=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),k&&k.forEach(e=>{e.isFavorite=q(e.id)});break;case`CategoryData_${S}`:s(12,N=!1),M=!0,s(11,L=!0),s(14,R=!1),B=!1,j=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),V(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(9,a=e),s(10,k=a.games.items),k&&k.forEach(e=>{e.isFavorite=q(e.id)})});break;case"CategoryChange":$=20;break;case"CategoryUpdate":s(12,N=!1),M=!1,s(14,R=!1),B=!1,s(11,L=!1),j=!0,s(25,S=t.data.itemId),V(0,0,$).then(e=>{s(9,a=e),a.games.items.forEach(e=>{e.isFavorite=q(e.id)}),s(10,k=a.games.items),s(11,L=!1)});break;case"FavoriteUpdate":s(12,N=!1),B=!1,M=!0,s(10,k=a.games.items),k.forEach(e=>{e.isFavorite=q(e.id)}),s(11,L=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!D?window.postMessage({type:"FavoriteUpdate"},window.location.href):M||B||window.postMessage({type:"CategoryUpdate",itemId:S},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(21,z.items=(r=e,z.items,n=window.navigator.userAgent,un(n)?r.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):r.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),z),s(21,z.name="Favorites",z),s(19,D=!0));break;case"UserSessionID":o=t.data.session,i=t.data.userID,"true"==v&&i&&i.length&&o&&0<o.length&&(e=>{let n={method:"GET",headers:{"X-SessionID":o}};new Promise((t,r)=>{fetch(e,n).then(e=>e.json()).then(e=>{d=e?e.items:[],k.forEach(e=>{e.isFavorite=q(e.id)});e=k;s(10,k=void 0),s(10,k=e),t(d)}).catch(e=>{console.error(e),r(e)})})})(`${p}/player/${i}/favorites/`)}var r,n},Y=e=>{$+=10,$<=c&&V(0,0,$).then(e=>{s(9,a=e),s(10,k=a.games.items),k.forEach(e=>{e.isFavorite=q(e.id)})})},q=t=>!!d&&-1!==d.findIndex(e=>e.id==t),Z=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Pe(()=>(window.addEventListener("message",X,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",X)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(26,m=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,f=e.session),"userid"in e&&s(3,y=e.userid),"favorites"in e&&s(4,v=e.favorites),"clientstyling"in e&&s(5,b=e.clientstyling),"clientstylingurl"in e&&s(6,w=e.clientstylingurl),"categoryid"in e&&s(25,S=e.categoryid),"categoryindex"in e&&s(27,C=e.categoryindex),"categorygames"in e&&s(28,E=e.categorygames),"once"in e&&s(29,x=e.once),"top"in e&&s(30,T=e.top),"bottom"in e&&s(31,_=e.bottom),"left"in e&&s(32,F=e.left),"right"in e&&s(33,A=e.right)},e.$$.update=()=>{128&e.$$.dirty[0]&&H&&j&&H.forEach((e,t)=>{e&&(e.elems_index=t,W.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&w&&(()=>{let t=document.createElement("style");fetch(new URL(w)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[p,g,f,y,v,b,w,H,P,a,k,L,N,O,R,G,U,l,u,D,h,z,r,I,Z,S,m,C,E,x,T,_,F,A,function(e){Me[e?"unshift":"push"](()=>{u=e,s(18,u)})},e=>Z(a.id,a),function(e,t){Me[e?"unshift":"push"](()=>{H[t]=e,s(7,H)})},function(e){Me[e?"unshift":"push"](()=>{l=e,s(17,l)})},function(e){Me[e?"unshift":"push"](()=>{u=e,s(18,u)})},function(e){Me[e?"unshift":"push"](()=>{l=e,s(17,l)})},function(e){Me[e?"unshift":"push"](()=>{h=e,s(20,h)})}]}function io(e,t,r){const n=e.slice();return n[112]=t[r],n[114]=r,n}function ao(r){let n,o,i,a,s="PC"!==dn(r[36])&&"false"===r[8]&&r[32],l=s&&lo();function c(e){return"false"===e[8]?uo:co}let u=c(r),d=u(r);function h(e){return e[13]?Mo:e[20]?Po:e[23]?Ao:e[18]?Fo:e[24]?_o:e[19]?void 0:To}let p=h(r),m=p&&p(r),g=r[15]&&"true"===r[11]&&$o(r);return{c(){n=z("section"),l&&l.c(),o=W(),d.c(),i=W(),m&&m.c(),a=W(),g&&g.c(),X(n,"class","CategoriesLobby"),C(n,"max-width",r[10]+"px")},m(e,t){j(e,n,t),l&&l.m(n,null),B(n,o),d.m(n,null),B(n,i),m&&m.m(n,null),B(n,a),g&&g.m(n,null),r[67](n)},p(e,t){256&t[0]|2&t[1]&&(s="PC"!==dn(e[36])&&"false"===e[8]&&e[32]),s?l||(l=lo(),l.c(),l.m(n,o)):l&&(l.d(1),l=null),u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(n,i))),p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),m=p&&p(e),m&&(m.c(),m.m(n,a))),e[15]&&"true"===e[11]?g?g.p(e,t):(g=$o(e),g.c(),g.m(n,null)):g&&(g.d(1),g=null),1024&t[0]&&C(n,"max-width",e[10]+"px")},d(e){e&&H(n),l&&l.d(),d.d(),m&&m.d(),g&&g.d(),r[67](null)}}}function so(e){let r;return{c(){r=z("p"),r.textContent="500 Error - Internal Server Error",X(r,"class","SearchLoading")},m(e,t){j(e,r,t)},p:U,d(e){e&&H(r)}}}function lo(){let r;return{c(){r=z("div"),X(r,"class","SearchBarPlaceholder")},m(e,t){j(e,r,t)},d(e){e&&H(r)}}}function co(r){let n,o,i,a,s,l,c,u,d,h,p,m,g,f,y="PC"===dn(r[36])&&r[12].length||"PC"!==dn(r[36]),v=!r[32]&&ho(),b=y&&po(r),w=!r[18]&&!r[23]&&!r[32]&&!r[24]&&!r[19]&&!r[22]&&!r[20]&&!r[21]&&mo(r);return{c(){n=z("div"),o=z("div"),i=z("label"),i.textContent="Search casino games",a=W(),s=z("div"),v&&v.c(),l=W(),c=z("input"),d=W(),b&&b.c(),p=W(),w&&w.c(),X(i,"for","search"),X(i,"class","SrOnly"),X(c,"id","SearchField"),X(c,"class","SearchInput"),X(c,"placeholder",u="PC"===dn(r[36])?r[35]("casinoPage.search"):r[35]("casinoPage.searchMobile")),X(c,"type","search"),X(s,"class","SearchWrapper"),X(o,"class",h="SearchContainer "+(r[23]||r[18]||r[24]||r[21]?"":"SearchTruncated")),X(n,"class",m="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==dn(r[36])?"CategoriesHeaderMobileSection":"")+" "+(r[32]?"SearchMobileActive":"")+" "+(r[32]||r[20]&&"PC"!==dn(r[36])&&!Oo?"CategoriesHeaderSearchActive":"")+(r[26]&&r[32]?"SearchStickTop":"")),C(n,"top",r[26]&&r[32]?Ro+"px":"")},m(e,t){j(e,n,t),B(n,o),B(o,i),B(o,a),B(o,s),v&&v.m(s,null),B(s,l),B(s,c),r[60](c),S(c,r[12]),B(s,d),b&&b.m(s,null),B(n,p),w&&w.m(n,null),r[65](n),g||(f=[V(c,"focus",r[38]),V(c,"blur",r[39]),V(c,"input",r[61]),V(c,"focus",r[40])],g=!0)},p(e,t){e[32]?v&&(v.d(1),v=null):v||(v=ho(),v.c(),v.m(s,l)),16&t[1]&&u!==(u="PC"===dn(e[36])?e[35]("casinoPage.search"):e[35]("casinoPage.searchMobile"))&&X(c,"placeholder",u),4096&t[0]&&S(c,e[12]),4096&t[0]&&(y="PC"===dn(e[36])&&e[12].length||"PC"!==dn(e[36])),y?b?b.p(e,t):(b=po(e),b.c(),b.m(s,null)):b&&(b.d(1),b=null),27525120&t[0]&&h!==(h="SearchContainer "+(e[23]||e[18]||e[24]||e[21]?"":"SearchTruncated"))&&X(o,"class",h),e[18]||e[23]||e[32]||e[24]||e[19]||e[22]||e[20]||e[21]?w&&(w.d(1),w=null):w?w.p(e,t):(w=mo(e),w.c(),w.m(n,null)),68157440&t[0]|2&t[1]&&m!==(m="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==dn(e[36])?"CategoriesHeaderMobileSection":"")+" "+(e[32]?"SearchMobileActive":"")+" "+(e[32]||e[20]&&"PC"!==dn(e[36])&&!Oo?"CategoriesHeaderSearchActive":"")+(e[26]&&e[32]?"SearchStickTop":""))&&X(n,"class",m),67108864&t[0]|2&t[1]&&C(n,"top",e[26]&&e[32]?Ro+"px":"")},d(e){e&&H(n),v&&v.d(),r[60](null),b&&b.d(),w&&w.d(),r[65](null),g=!1,D(f)}}}function uo(r){let n,o,i,a,s,l,c,u,d,h,p,m,g,f,y="PC"===dn(r[36])&&r[12].length||"PC"!==dn(r[36]),v=!r[32]&&bo(),b=y&&wo(r),w=!r[18]&&!r[23]&&!r[32]&&!r[24]&&!r[19]&&!r[20]&&!r[22]&&!r[21]&&So(r);return{c(){n=z("div"),o=z("div"),i=z("label"),i.textContent="Search casino games",a=W(),s=z("div"),v&&v.c(),l=W(),c=z("input"),d=W(),b&&b.c(),p=W(),w&&w.c(),X(i,"for","search"),X(i,"class","SrOnly"),X(c,"id","SearchField"),X(c,"class","SearchInput"),X(c,"placeholder",u="PC"===dn(r[36])?r[35]("casinoPage.search"):r[35]("casinoPage.searchMobile")),X(c,"type","search"),X(s,"class","SearchWrapper"),X(o,"class",h="SearchContainer "+(r[23]||r[18]||r[24]||r[21]?"":"SearchTruncated")),X(n,"class",m="CategoriesHeaderSection "+("PC"!==dn(r[36])?"CategoriesHeaderMobileSection":"")+" "+(r[32]?"SearchMobileActive":"")+" "+(r[32]||r[20]&&"PC"!==dn(r[36])&&!Oo?"CategoriesHeaderSearchActive":"")+" "+(r[26]&&r[32]?"SearchStickTop":"")),C(n,"top",r[26]&&r[32]?Ro+"px":"")},m(e,t){j(e,n,t),B(n,o),B(o,i),B(o,a),B(o,s),v&&v.m(s,null),B(s,l),B(s,c),r[54](c),S(c,r[12]),B(s,d),b&&b.m(s,null),B(n,p),w&&w.m(n,null),r[59](n),g||(f=[V(c,"focus",r[38]),V(c,"blur",r[39]),V(c,"input",r[55]),V(c,"focus",r[40])],g=!0)},p(e,t){e[32]?v&&(v.d(1),v=null):v||(v=bo(),v.c(),v.m(s,l)),16&t[1]&&u!==(u="PC"===dn(e[36])?e[35]("casinoPage.search"):e[35]("casinoPage.searchMobile"))&&X(c,"placeholder",u),4096&t[0]&&S(c,e[12]),4096&t[0]&&(y="PC"===dn(e[36])&&e[12].length||"PC"!==dn(e[36])),y?b?b.p(e,t):(b=wo(e),b.c(),b.m(s,null)):b&&(b.d(1),b=null),27525120&t[0]&&h!==(h="SearchContainer "+(e[23]||e[18]||e[24]||e[21]?"":"SearchTruncated"))&&X(o,"class",h),e[18]||e[23]||e[32]||e[24]||e[19]||e[20]||e[22]||e[21]?w&&(w.d(1),w=null):w?w.p(e,t):(w=So(e),w.c(),w.m(n,null)),68157440&t[0]|2&t[1]&&m!==(m="CategoriesHeaderSection "+("PC"!==dn(e[36])?"CategoriesHeaderMobileSection":"")+" "+(e[32]?"SearchMobileActive":"")+" "+(e[32]||e[20]&&"PC"!==dn(e[36])&&!Oo?"CategoriesHeaderSearchActive":"")+" "+(e[26]&&e[32]?"SearchStickTop":""))&&X(n,"class",m),67108864&t[0]|2&t[1]&&C(n,"top",e[26]&&e[32]?Ro+"px":"")},d(e){e&&H(n),v&&v.d(),r[54](null),b&&b.d(),w&&w.d(),r[59](null),g=!1,D(f)}}}function ho(){let r;return{c(){r=z("div"),r.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>',X(r,"class","SearchIcon")},m(e,t){j(e,r,t)},d(e){e&&H(r)}}}function po(r){let n,o,i,a;return{c(){n=z("span"),o=z("div"),o.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',X(o,"class","CloseIconContainer"),X(n,"class",("PC"===dn(r[36])?"ClearSearchButton":"ClearSearchButtonMobile")+" ")},m(e,t){j(e,n,t),B(n,o),i||(a=V(n,"click",r[62]),i=!0)},p:U,d(e){e&&H(n),i=!1,a()}}}function mo(e){let r,n,o=e[33]&&go(e),i=(!e[20]||!e[19])&&fo(e);return{c(){r=z("div"),o&&o.c(),n=W(),i&&i.c(),X(r,"class","FiltersButtonsContainer ")},m(e,t){j(e,r,t),o&&o.m(r,null),B(r,n),i&&i.m(r,null)},p(e,t){e[33]?o?o.p(e,t):(o=go(e),o.c(),o.m(r,n)):o&&(o.d(1),o=null),e[20]&&e[19]?i&&(i.d(1),i=null):i?i.p(e,t):(i=fo(e),i.c(),i.m(r,null))},d(e){e&&H(r),o&&o.d(),i&&i.d()}}}function go(r){let n,o,i,a,s;return{c(){n=z("div"),o=z("div"),o.innerHTML='Clear\n <span class="ClearIcon"><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></span>',X(o,"class","ClearButton"),X(n,"class",i="ClearFilterButtonWrapper "+(r[33]?"FiltersActive":"")+" ")},m(e,t){j(e,n,t),B(n,o),a||(s=V(n,"click",r[63]),a=!0)},p(e,t){4&t[1]&&i!==(i="ClearFilterButtonWrapper "+(e[33]?"FiltersActive":"")+" ")&&X(n,"class",i)},d(e){e&&H(n),a=!1,s()}}}function fo(e){let r,n=!e[24]&&yo(e);return{c(){n&&n.c(),r=u()},m(e,t){n&&n.m(e,t),j(e,r,t)},p(e,t){e[24]?n&&(n.d(1),n=null):n?n.p(e,t):(n=yo(e),n.c(),n.m(r.parentNode,r))},d(e){n&&n.d(e),e&&H(r)}}}function yo(r){let n,o,i,a,s,l,c,u,d,h,p,m,g=0<r[33]&&vo(r);return{c(){n=z("div"),o=z("div"),o.textContent="Filters",i=W(),a=z("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=W(),g&&g.c(),X(o,"class","FilterButton"),X(d,"class","a"),X(d,"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"),X(d,"transform","translate(-5 -6.2)"),X(s,"xmlns","http://www.w3.org/2000/svg"),X(s,"width","20"),X(s,"height","20"),X(s,"viewBox","0 0 26 26"),X(a,"class","FilterIconContainer"),X(n,"class","FilterButtonWrapper")},m(e,t){j(e,n,t),B(n,o),B(n,i),B(n,a),B(a,s),B(s,l),B(l,c),B(c,u),B(s,d),B(a,h),g&&g.m(a,null),p||(m=V(n,"click",r[64]),p=!0)},p(e,t){0<e[33]?g?g.p(e,t):(g=vo(e),g.c(),g.m(a,null)):g&&(g.d(1),g=null)},d(e){e&&H(n),g&&g.d(),p=!1,m()}}}function vo(e){let r,n,o;return{c(){r=z("div"),n=z("span"),o=t(e[33]),X(n,"class","NumberOfFilters"),X(r,"class","NumberOfFiltersContainer")},m(e,t){j(e,r,t),B(r,n),B(n,o)},p(e,t){4&t[1]&&Y(o,e[33])},d(e){e&&H(r)}}}function bo(){let r;return{c(){r=z("div"),r.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>',X(r,"class","SearchIcon")},m(e,t){j(e,r,t)},d(e){e&&H(r)}}}function wo(r){let n,o,i,a;return{c(){n=z("span"),o=z("div"),o.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',X(o,"class","CloseIconContainer"),X(n,"class",("PC"===dn(r[36])?"ClearSearchButton":"ClearSearchButtonMobile")+" ")},m(e,t){j(e,n,t),B(n,o),i||(a=V(n,"click",r[56]),i=!0)},p:U,d(e){e&&H(n),i=!1,a()}}}function So(e){let r,n,o=e[33]&&Co(e),i=(!e[20]||!e[19])&&Eo(e);return{c(){r=z("div"),o&&o.c(),n=W(),i&&i.c(),X(r,"class","FiltersButtonsContainer")},m(e,t){j(e,r,t),o&&o.m(r,null),B(r,n),i&&i.m(r,null)},p(e,t){e[33]?o?o.p(e,t):(o=Co(e),o.c(),o.m(r,n)):o&&(o.d(1),o=null),e[20]&&e[19]?i&&(i.d(1),i=null):i?i.p(e,t):(i=Eo(e),i.c(),i.m(r,null))},d(e){e&&H(r),o&&o.d(),i&&i.d()}}}function Co(r){let n,o,i;return{c(){n=z("div"),n.innerHTML='<div class="ClearButton">Clear\n <span class="ClearIcon"><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></span></div>',X(n,"class","ClearFilterButtonWrapper")},m(e,t){j(e,n,t),o||(i=V(n,"click",r[57]),o=!0)},p:U,d(e){e&&H(n),o=!1,i()}}}function Eo(e){let r,n=!e[24]&&xo(e);return{c(){n&&n.c(),r=u()},m(e,t){n&&n.m(e,t),j(e,r,t)},p(e,t){e[24]?n&&(n.d(1),n=null):n?n.p(e,t):(n=xo(e),n.c(),n.m(r.parentNode,r))},d(e){n&&n.d(e),e&&H(r)}}}function xo(r){let n,o,i,a,s,l,c,u,d,h,p,m,g,f,y;return{c(){n=z("div"),o=z("div"),o.textContent="Filters",i=W(),a=z("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=W(),p=z("div"),m=z("span"),g=t(r[33]),X(o,"class","FilterButton"),X(d,"class","a"),X(d,"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"),X(d,"transform","translate(-5 -6.2)"),X(s,"xmlns","http://www.w3.org/2000/svg"),X(s,"width","20"),X(s,"height","20"),X(s,"viewBox","0 0 26 26"),X(m,"class","NumberOfFilters"),X(p,"class","NumberOfFiltersContainer"),X(a,"class","FilterIconContainer"),X(n,"class","FilterButtonWrapper")},m(e,t){j(e,n,t),B(n,o),B(n,i),B(n,a),B(a,s),B(s,l),B(l,c),B(c,u),B(s,d),B(a,h),B(a,p),B(p,m),B(m,g),f||(y=V(n,"click",r[58]),f=!0)},p(e,t){4&t[1]&&Y(g,e[33])},d(e){e&&H(n),f=!1,y()}}}function To(e){let r;return{c(){r=z("casino-games-category-section"),y(r,"userid",e[4]),y(r,"endpoint",e[0]),y(r,"datasource",e[1]),y(r,"favorites",e[9]),y(r,"lang",e[2]),y(r,"session",e[3]),y(r,"categoryid",e[29]),y(r,"categorygames","9"),y(r,"class","CategoryContainer"),y(r,"clientstyling",e[5]),y(r,"clientstylingurl",e[6])},m(e,t){j(e,r,t)},p(e,t){16&t[0]&&y(r,"userid",e[4]),1&t[0]&&y(r,"endpoint",e[0]),2&t[0]&&y(r,"datasource",e[1]),512&t[0]&&y(r,"favorites",e[9]),4&t[0]&&y(r,"lang",e[2]),8&t[0]&&y(r,"session",e[3]),536870912&t[0]&&y(r,"categoryid",e[29]),32&t[0]&&y(r,"clientstyling",e[5]),64&t[0]&&y(r,"clientstylingurl",e[6])},d(e){e&&H(r)}}}function _o(e){let r;function n(e){return e[25]?ko:Io}let o=n(e),i=o(e);return{c(){i.c(),r=u()},m(e,t){i.m(e,t),j(e,r,t)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(r.parentNode,r)))},d(e){i.d(e),e&&H(r)}}}function Fo(r){let n,o,i,a;return{c(){n=z("casino-games-category-section"),y(n,"session",r[3]),y(n,"userid",r[4]),y(n,"endpoint",r[0]),y(n,"datasource",r[1]),y(n,"lang",r[2]),y(n,"favorites",r[9]),y(n,"categoryid","FAVORITES"),y(n,"class","CategoryContainer"),y(n,"clientstyling",r[5]),y(n,"clientstylingurl",r[6])},m(e,t){j(e,n,t),i||(a=l(o=r[37].call(null,n,(r[0],r[16],r[17],r[16]))),i=!0)},p(e,t){8&t[0]&&y(n,"session",e[3]),16&t[0]&&y(n,"userid",e[4]),1&t[0]&&y(n,"endpoint",e[0]),2&t[0]&&y(n,"datasource",e[1]),4&t[0]&&y(n,"lang",e[2]),512&t[0]&&y(n,"favorites",e[9]),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),o&&p(o.update)&&196609&t[0]&&o.update.call(null,(e[0],e[16],e[17],e[16]))},d(e){e&&H(n),i=!1,a()}}}function Ao(t){let o,i=t[28],a=[];for(let e=0;e<i.length;e+=1)a[e]=Lo(io(t,i,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();o=u()},m(t,r){for(let e=0;e<a.length;e+=1)a[e].m(t,r);j(t,o,r)},p(t,r){if(268436223&r[0]){let e;for(i=t[28],e=0;e<i.length;e+=1){var n=io(t,i,e);a[e]?a[e].p(n,r):(a[e]=Lo(n),a[e].c(),a[e].m(o.parentNode,o))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length}},d(e){c(a,e),e&&H(o)}}}function Po(r){let n,o,i,a;return{c(){n=z("casino-games-category-section"),y(n,"endpoint",r[0]),y(n,"datasource",r[1]),y(n,"lang",r[2]),y(n,"session",r[3]),y(n,"userid",r[4]),y(n,"categoryid","Search"),y(n,"favorites",r[9]),y(n,"categoryindex","0"),y(n,"class","CategoryContainer"),y(n,"clientstyling",r[5]),y(n,"clientstylingurl",r[6])},m(e,t){j(e,n,t),i||(a=l(o=r[45].call(null,n,r[27])),i=!0)},p(e,t){1&t[0]&&y(n,"endpoint",e[0]),2&t[0]&&y(n,"datasource",e[1]),4&t[0]&&y(n,"lang",e[2]),8&t[0]&&y(n,"session",e[3]),16&t[0]&&y(n,"userid",e[4]),512&t[0]&&y(n,"favorites",e[9]),32&t[0]&&y(n,"clientstyling",e[5]),64&t[0]&&y(n,"clientstylingurl",e[6]),o&&p(o.update)&&134217728&t[0]&&o.update.call(null,e[27])},d(e){e&&H(n),i=!1,a()}}}function Mo(e){let r,n,o=e[35]("casinoPage.loading")+"";return{c(){r=z("p"),n=t(o),X(r,"class","SearchLoading")},m(e,t){j(e,r,t),B(r,n)},p(e,t){16&t[1]&&o!==(o=e[35]("casinoPage.loading")+"")&&Y(n,o)},d(e){e&&H(r)}}}function Io(e){let r;return{c(){r=z("casino-games-category-section"),y(r,"session",e[3]),y(r,"userid",e[4]),y(r,"endpoint",e[0]),y(r,"datasource",e[1]),y(r,"lang",e[2]),y(r,"favorites",e[9]),y(r,"categoryid","MOSTPLAYED"),y(r,"categoryindex","1"),y(r,"categorygames","9"),y(r,"class","CategoryContainer"),y(r,"clientstyling",e[5]),y(r,"clientstylingurl",e[6])},m(e,t){j(e,r,t)},p(e,t){8&t[0]&&y(r,"session",e[3]),16&t[0]&&y(r,"userid",e[4]),1&t[0]&&y(r,"endpoint",e[0]),2&t[0]&&y(r,"datasource",e[1]),4&t[0]&&y(r,"lang",e[2]),512&t[0]&&y(r,"favorites",e[9]),32&t[0]&&y(r,"clientstyling",e[5]),64&t[0]&&y(r,"clientstylingurl",e[6])},d(e){e&&H(r)}}}function ko(e){let r;return{c(){r=z("p"),r.textContent="You have no games played!",X(r,"class","SearchLoading")},m(e,t){j(e,r,t)},p:U,d(e){e&&H(r)}}}function Lo(r){let n,o,i,a,s;return{c(){n=z("casino-games-category-section"),y(n,"session",r[3]),y(n,"userid",r[4]),y(n,"endpoint",r[0]),y(n,"datasource",r[1]),y(n,"lang",r[2]),y(n,"categoryid",o=r[112]),y(n,"categoryindex",r[114]),y(n,"categorygames","9"),y(n,"favorites",r[9]),y(n,"class","CategoryContainer"),C(n,"background-color",r[114]%2!=0?r[7]:"transparent"),y(n,"clientstyling",r[5]),y(n,"clientstylingurl",r[6])},m(e,t){j(e,n,t),a||(s=l(i=r[44].call(null,n,r[112])),a=!0)},p(e,t){r=e,8&t[0]&&y(n,"session",r[3]),16&t[0]&&y(n,"userid",r[4]),1&t[0]&&y(n,"endpoint",r[0]),2&t[0]&&y(n,"datasource",r[1]),4&t[0]&&y(n,"lang",r[2]),268435456&t[0]&&o!==(o=r[112])&&y(n,"categoryid",o),512&t[0]&&y(n,"favorites",r[9]),128&t[0]&&C(n,"background-color",r[114]%2!=0?r[7]:"transparent"),32&t[0]&&y(n,"clientstyling",r[5]),64&t[0]&&y(n,"clientstylingurl",r[6]),i&&p(i.update)&&268435456&t[0]&&i.update.call(null,r[112])},d(e){e&&H(n),a=!1,s()}}}function $o(r){let n,o,i,a,s,l,c,u,d,h,p,m,g=r[35]("casinoPage.break")+"",f=r[35]("casinoPage.breakButton")+"";return{c(){n=z("div"),o=z("div"),i=v("svg"),a=v("path"),s=W(),l=z("p"),c=t(g),u=W(),d=z("button"),h=t(f),X(a,"stroke-linecap","round"),X(a,"stroke-linejoin","round"),X(a,"stroke-width","2"),X(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),X(i,"class","w-1 h-1"),X(i,"fill","none"),X(i,"stroke","white"),X(i,"width","34px"),X(i,"height","34px"),X(i,"viewBox","0 0 24 24"),X(i,"xmlns","http://www.w3.org/2000/svg"),X(o,"class","PanicText"),X(d,"class","PanicButton"),X(n,"class","PanicSection "+("PC"!==dn(r[36])?"PanicSectionMobile":""))},m(e,t){j(e,n,t),B(n,o),B(o,i),B(i,a),B(o,s),B(o,l),B(l,c),B(n,u),B(n,d),B(d,h),p||(m=V(d,"click",r[66]),p=!0)},p(e,t){16&t[1]&&g!==(g=e[35]("casinoPage.break")+"")&&Y(c,g),16&t[1]&&f!==(f=e[35]("casinoPage.breakButton")+"")&&Y(h,f)},d(e){e&&H(n),p=!1,m()}}}function No(e){let r;function n(e){return e[14]?so:ao}let o=n(e),i=o(e);return{c(){i.c(),r=u(),this.c=U},m(e,t){i.m(e,t),j(e,r,t)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(r.parentNode,r)))},i:U,o:U,d(e){i.d(e),e&&H(r)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends F{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:12.8px;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}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",s(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},oo,ro,r,{endpoint:0,datasource:26,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,categoryid:25,categoryindex:27,categorygames:28,once:29,top:30,bottom:31,left:32,right:33},[-1,-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","categoryid","categoryindex","categorygames","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),T()}get datasource(){return this.$$.ctx[26]}set datasource(e){this.$set({datasource:e}),T()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),T()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),T()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),T()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),T()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),T()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),T()}get categoryid(){return this.$$.ctx[25]}set categoryid(e){this.$set({categoryid:e}),T()}get categoryindex(){return this.$$.ctx[27]}set categoryindex(e){this.$set({categoryindex:e}),T()}get categorygames(){return this.$$.ctx[28]}set categorygames(e){this.$set({categorygames:e}),T()}get once(){return this.$$.ctx[29]}set once(e){this.$set({once:e}),T()}get top(){return this.$$.ctx[30]}set top(e){this.$set({top:e}),T()}get bottom(){return this.$$.ctx[31]}set bottom(e){this.$set({bottom:e}),T()}get left(){return this.$$.ctx[32]}set left(e){this.$set({left:e}),T()}get right(){return this.$$.ctx[33]}set right(e){this.$set({right:e}),T()}});let Oo=!1;const Ro=0;function Go(e,t,i){let r;Ae(e,cn,e=>i(35,r=e));let o,a,s,l,c,u,d,h,n,p,m,{endpoint:g=""}=t,{datasource:f=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:b=""}=t,{clientstyling:w=""}=t,{clientstylingurl:S=""}=t,{categorybackground:C=""}=t,{visiblegames:E="6"}=t,{alternativesearch:x="false"}=t,{favorites:T=""}=t,{mostplayed:_=""}=t,{lobbyid:F="casinodefault"}=t,{containermaxwidth:A=""}=t,{haspanicbutton:P="false"}=t,{mostplayedrounds:M=""}=t,{activecategory:I=""}=t,k=!1,L=!1,$=!1,N="",O=!1,R=!1,G=!0,U=!1,D=!1,B=!1,j=!1,H=!0,z=!1,W=!1,V=!1,X=!0,Y=[],q="",Z=window.navigator.userAgent,K,J=[],Q=!1,ee=[],te=0,re="";var ne,oe;[{withLocale:ne,translations:oe}]=[{withLocale:"en",translations:{}}],Jr.subscribe(e=>{null==e&&(Dr.set(oe),Jr.set(ne))}),Object.keys(hn).forEach(e=>{jr(e,hn[e])});const ie=e=>{switch(i(20,U=!1),i(12,q=""),e.data.itemId){case"LOBBY":i(23,H=!0),i(18,O=!1),i(29,l=""),i(24,z=!1);break;case"FAVORITES":i(23,H=!1),i(18,O=!0),i(24,z=!1),i(29,l="");break;case"MOSTPLAYED":"true"==_&&(i(13,k=!0),se({limit:100,device:dn(Z),rounds:10}).then(e=>{if(i(13,k=!1),0<e.count){let r=[];e.items.forEach(e=>{let t=new URL(`${g}/casino/games/${e.gameId}`);t.searchParams.append("datasource",f),r.push(fetch(t.href).then(e=>e.json()))}),Promise.all(r).then(e=>{K=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:K},window.location.href)})}else i(25,W=!0)}),i(29,l=""),i(23,H=!1),i(18,O=!1),i(24,z=!0));break;default:i(23,H=!1),i(18,O=!1),i(24,z=!1),i(29,l=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:l},window.location.href)},100)}},ae=e=>{if(e.data)switch(e.data.type){case"CategoryChange":ie(e);break;case"UserSessionID":i(17,a=e.data.session),i(16,o=e.data.userID),o&&o.length&&a&&0<a.length&&le(g,a,o);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":he(`${g}/player/${o}/favorites`,a,o,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":de(`${g}/player/${o}/favorites`,a,o,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":o&&o.length&&a&&0<a.length&&le(g,a,o);break;case"SearchedItemClicked":ye(e.data.gameId);break;case"UpdateFilters":Se(e.data.vendorsArray),ve();break;case"ClearFilters":we(e.data.vendorsArray),ve();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:re},window.location.href),ve();break;case"CategoryVendors":re=e.data.categoryid,ve();break;case"GameHovered":D=!0;break;case"GameBlur":D=!1}},se=e=>{let n=new URL(`${g}/player/${o}/games/most-played`);e.limit&&n.searchParams.append("limit",e.limit),e.order&&n.searchParams.append("order",e.order);var t=e.device;return t?"PC"===t?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),e.rounds&&n.searchParams.append("rounds",e.rounds),new Promise((t,r)=>{fetch(n.href).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),r(e)})})};let le=(e,t,r)=>{"true"==T&&v&&r&&(fetch(`${e}/player/${r}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(n=e,n&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:n},window.location.href),ue(n.items)),n)).catch(e=>{console.error(e)}),O&&pe())},ce=(e,t,r)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(n=e,O&&pe(),n&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:n},window.location.href),n)).catch(e=>{console.error(e)})};const ue=(e=[])=>(J=[],0<e.length&&e.forEach(e=>{J.push(e.id)}),J);let de=(t,r,e,n,o)=>{J.includes(n)||J.push(n);var i={items:J},i={method:"POST",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(i)};fetch(t,i).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href),ce(t,r)}).catch(e=>{console.error("Err",e)})};const he=(t,r,e,n,o)=>{J.includes(n)&&(J=J.filter(e=>e!=n)),fetch(`${t}/${n}`,{method:"DELETE",headers:{"X-SessionID":r}}).then(e=>e.json()).then(e=>{window.postMessage({type:`RemoveFavoriteThumbnail_${n}`},window.location.href),ce(t,r)})},pe=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:n},window.location.href)},me=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},ge=()=>{if(g&&f&&y&&(i(22,j=!0),q.length<2)){let e=me(`searchedGamesWds_${F}`),t=[];e&&(t=e.split(",")),1!=H||G||(i(21,B=H),i(23,H=!1));let r=[],n=0,o=t.length;if(0<o){for(n=0;n<o;n++){let e=new URL(`${g}/casino/games/${t[n]}`);e.searchParams.append("language",y),e.searchParams.append("datasource",f),e.searchParams.append("platform",dn(Z)),r.push((e=>new Promise((t,r)=>{i(13,k=!0),fetch(e).then(e=>e.json()).then(e=>{i(13,k=!1),t(e[0])}).catch(e=>{i(14,L=!0),i(13,k=!1),console.error(e),r(e)})}))(e))}Promise.all(r).then(e=>{i(27,s=e),Ce({},s)})}else Ce({},{})}},fe=()=>{i(22,j=!1),q.length<2&&!D&&(i(20,U=!1),i(27,s=[]),i(19,R=!1),i(23,H=B),i(21,B=!1),!1===H&&window.postMessage({type:"CategoryUpdate",itemId:l},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},ye=e=>{ee=me(`searchedGamesWds_${F}`),ee=ee?ee.split(","):[],-1===ee.indexOf(e)&&(ee.push(e),e=ee.join(","),document.cookie=`searchedGamesWds_${F}=`+e)},ve=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&re&&(e[re]?i(33,te=e[re].length):i(33,te=0))},be=()=>{i(53,X=!0),i(12,q=""),i(27,s=[]),i(19,R=!1),fe()},we=e=>{window.postMessage({type:"AvailableVendors",venArray:e},window.location.href)},Se=e=>{window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href)},Ce=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Ee=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},xe=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Te=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:n},window.location.href)},_e=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},Fe=()=>{u&&(d=u.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>d||130<d?i(26,V=!0):i(26,V=!1)};return Pe(()=>(window.addEventListener("scroll",Fe,!1),window.addEventListener("message",ae,!1),()=>{window.removeEventListener("scroll",Fe),window.removeEventListener("message",ae)})),e.$$set=e=>{"endpoint"in e&&i(0,g=e.endpoint),"datasource"in e&&i(1,f=e.datasource),"lang"in e&&i(2,y=e.lang),"session"in e&&i(3,v=e.session),"userid"in e&&i(4,b=e.userid),"clientstyling"in e&&i(5,w=e.clientstyling),"clientstylingurl"in e&&i(6,S=e.clientstylingurl),"categorybackground"in e&&i(7,C=e.categorybackground),"visiblegames"in e&&i(47,E=e.visiblegames),"alternativesearch"in e&&i(8,x=e.alternativesearch),"favorites"in e&&i(9,T=e.favorites),"mostplayed"in e&&i(48,_=e.mostplayed),"lobbyid"in e&&i(49,F=e.lobbyid),"containermaxwidth"in e&&i(10,A=e.containermaxwidth),"haspanicbutton"in e&&i(11,P=e.haspanicbutton),"mostplayedrounds"in e&&i(50,M=e.mostplayedrounds),"activecategory"in e&&i(51,I=e.activecategory)},e.$$.update=()=>{if(4096&e.$$.dirty[0]&&q&&(2<=q.length?i(53,X=!0):i(53,X=!1)),4103&e.$$.dirty[0]|6291456&e.$$.dirty[1])if(2<=q.length){i(20,U=!0);let e=new URL(`${g}/casino/games`);e.searchParams.append("datasource",f),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",dn(Z)),e.searchParams.append("language",y),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${q}`),n=e,new Promise((t,r)=>{i(13,k=!0),fetch(n).then(e=>e.json()).then(e=>{i(13,k=!1),t(e)}).catch(e=>{i(14,L=!0),i(13,k=!1),console.error(e),r(e)})}).then(e=>{i(27,s=e),Te(0,e)})}else X||ge(),G&&i(52,G=!1);var n;1048576&e.$$.dirty[1]&&I&&(i(29,l=I),ie({data:{itemId:l}})),25&e.$$.dirty[0]&&v&&b&&g&&(i(15,$=!0),i(17,a=v),i(16,o=b)),263&e.$$.dirty[0]&&g&&f&&y&&x&&(()=>{if(g||(N="Endpoint is missing! Please provide a valid endpointURL.",i(14,L=!0),i(13,k=!1),console.error(N)),f||(N="Datasource is missing! Please provide a valid datasource.",i(14,L=!0),i(13,k=!1),console.error(N)),y&&2==y.length||(N="Language is missing! Please provide a valid language (alpha2code)",i(14,L=!0),i(13,k=!1),console.error(N)),!L){i(13,k=!0),"true"==T&&le(g,a,o);let e=new URL(`${g}/casino/groups/${f}`);e.searchParams.append("language",y),e.searchParams.append("platform",dn(Z)),n=e,new Promise((t,r)=>{i(13,k=!0),fetch(n).then(e=>e.json()).then(e=>{i(13,k=!1),t(e)}).catch(e=>{i(14,L=!0),i(13,k=!1),console.error(e),r(e)})}).then(e=>{e&&(h=e.items.filter(e=>0<e.games.total),i(28,Y=h.map(e=>e.id)),i(13,k=!1))}),"PC"!==dn(Z)&&(p.addEventListener("focusin",e=>{i(32,Q=!0)}),p.addEventListener("focusout",e=>{i(32,Q=!1)})),ve(),u=c,u&&(d=u.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var n})(),32&e.$$.dirty[0]&&w&&(()=>{let e=document.createElement("style");e.innerHTML=w,m.appendChild(e)})(),64&e.$$.dirty[0]&&S&&(()=>{let t=document.createElement("style");fetch(new URL(S)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})})()},[g,f,y,v,b,w,S,C,x,T,A,P,q,k,L,$,o,a,O,R,U,B,j,H,z,W,V,s,Y,l,c,p,Q,te,m,r,Z,pe,ge,fe,()=>{window.postMessage({type:"scroll"},window.location.href)},be,Ee,xe,(e,t)=>{re=t,window.postMessage({type:`CategoryData_${t}`,categoryId:t,visiblegames:E,receivedFavoriteResults:n},window.location.href)},Te,_e,E,_,F,M,I,G,X,function(e){Me[e?"unshift":"push"](()=>{p=e,i(31,p)})},function(){q=this.value,i(12,q)},()=>be(),()=>xe(),()=>{Ee()},function(e){Me[e?"unshift":"push"](()=>{c=e,i(30,c)})},function(e){Me[e?"unshift":"push"](()=>{p=e,i(31,p)})},function(){q=this.value,i(12,q)},()=>be(),()=>xe(),()=>{Ee()},function(e){Me[e?"unshift":"push"](()=>{c=e,i(30,c)})},()=>_e(),function(e){Me[e?"unshift":"push"](()=>{m=e,i(34,m)})}]}class Uo extends F{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[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:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 0 auto 25%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display: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:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;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:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;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:22px}.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{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:75px;right:0;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,.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>",s(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Go,No,r,{endpoint:0,datasource:1,lang:2,session:3,userid:4,clientstyling:5,clientstylingurl:6,categorybackground:7,visiblegames:47,alternativesearch:8,favorites:9,mostplayed:48,lobbyid:49,containermaxwidth:10,haspanicbutton:11,mostplayedrounds:50,activecategory:51},[-1,-1,-1,-1]),e&&(e.target&&j(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lobbyid","containermaxwidth","haspanicbutton","mostplayedrounds","activecategory"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),T()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$set({datasource:e}),T()}get lang(){return this.$$.ctx[2]}set lang(e){this.$set({lang:e}),T()}get session(){return this.$$.ctx[3]}set session(e){this.$set({session:e}),T()}get userid(){return this.$$.ctx[4]}set userid(e){this.$set({userid:e}),T()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),T()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),T()}get categorybackground(){return this.$$.ctx[7]}set categorybackground(e){this.$set({categorybackground:e}),T()}get visiblegames(){return this.$$.ctx[47]}set visiblegames(e){this.$set({visiblegames:e}),T()}get alternativesearch(){return this.$$.ctx[8]}set alternativesearch(e){this.$set({alternativesearch:e}),T()}get favorites(){return this.$$.ctx[9]}set favorites(e){this.$set({favorites:e}),T()}get mostplayed(){return this.$$.ctx[48]}set mostplayed(e){this.$set({mostplayed:e}),T()}get lobbyid(){return this.$$.ctx[49]}set lobbyid(e){this.$set({lobbyid:e}),T()}get containermaxwidth(){return this.$$.ctx[10]}set containermaxwidth(e){this.$set({containermaxwidth:e}),T()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$set({haspanicbutton:e}),T()}get mostplayedrounds(){return this.$$.ctx[50]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),T()}get activecategory(){return this.$$.ctx[51]}set activecategory(e){this.$set({activecategory:e}),T()}}return customElements.get("casino-page")||customElements.define("casino-page",Uo),Uo});
|
|
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 H(){}function d(e){return e()}function h(){return Object.create(null)}function j(e){e.forEach(d)}function m(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function p(e,...t){if(null==e)return H;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ge(e,t,n){e.$$.on_destroy.push(p(t,n))}function l(e){return e&&m(e.destroy)?e.destroy:H}function W(e,t){e.appendChild(t)}function z(e,t,n){e.insertBefore(t,n||null)}function V(e){e.parentNode.removeChild(e)}function f(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Z(e){return document.createElement(e)}function v(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function t(e){return document.createTextNode(e)}function X(){return t(" ")}function c(){return t("")}function K(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function q(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]=n:q(e,t,n)}function J(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function _(e,t){e.value=null==t?"":t}function S(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}class g{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=Z(t.nodeName),this.t=t,this.h(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)z(this.t,this.n[e],t)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(V)}}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let y;function b(e){y=e}function Ie(e){!function(){if(!y)throw new Error("Function called outside component initialization");return y}().$$.on_mount.push(e)}const x=[],De=[],i=[],e=[],a=Promise.resolve();let o=!1;function C(){o||(o=!0,a.then(k))}function ve(){return C(),a}function M(e){i.push(e)}let s=!1;const u=new Set;function k(){if(!s){s=!0;do{for(let e=0;e<x.length;e+=1){var t=x[e];b(t),function(e){{var t;null!==e.fragment&&(e.update(),j(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(M))}}(t.$$)}for(b(null),x.length=0;De.length;)De.pop()();for(let e=0;e<i.length;e+=1){const n=i[e];u.has(n)||(u.add(n),n())}}while(i.length=0,x.length);for(;e.length;)e.pop()();o=!1,s=!1,u.clear()}}const F=new Set;function E(r,e,t,n,i,a,o=[-1]){var s,l=y;b(r);const c=r.$$={fragment:null,ctx:null,props:a,update:H,not_equal:i,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:h(),dirty:o,skip_bound:!1};let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(x.push(e),C(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,j(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const H=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(H),H.forEach(V)}else c.fragment&&c.fragment.c();e.intro&&(s=r.$$.fragment)&&s.i&&(F.delete(s),s.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:a,on_destroy:o,after_update:s}=t.$$;i&&i.m(e,n),r||M(()=>{var e=a.map(d).filter(m);o?o.push(...e):j(e),t.$$.on_mount=[]}),s.forEach(M)}(r,e.target,e.anchor,e.customElement),k()}b(l)}let T;"function"==typeof HTMLElement&&(T=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){j(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(j(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=H}$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 L,P,G="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==G&&G,I="URLSearchParams"in G,D="Symbol"in G&&"iterator"in Symbol,O="FileReader"in G&&"Blob"in G&&function(){try{return new Blob,!0}catch(e){return!1}}(),A="FormData"in G,R="ArrayBuffer"in G;function N(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 $(e){return e="string"!=typeof e?String(e):e}function U(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return D&&(e[Symbol.iterator]=function(){return e}),e}function Y(t){this.map={},t instanceof Y?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 B(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Q(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ee(e){var t=new FileReader,n=Q(t);return t.readAsArrayBuffer(e),n}function te(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ne(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:O&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:A&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:I&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():R&&O&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):R&&(ArrayBuffer.prototype.isPrototypeOf(e)||P(e))?this._bodyArrayBuffer=te(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):I&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},O&&(this.blob=function(){var e=B(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?B(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(ee)}),this.text=function(){var e,t,n=B(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=Q(t=new FileReader),t.readAsText(e),n;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)},A&&(this.formData=function(){return this.text().then(ae)}),this.json=function(){return this.text().then(JSON.parse)},this}R&&(L=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],P=ArrayBuffer.isView||function(e){return e&&-1<L.indexOf(Object.prototype.toString.call(e))}),Y.prototype.append=function(e,t){e=N(e),t=$(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Y.prototype.delete=function(e){delete this.map[N(e)]},Y.prototype.get=function(e){return e=N(e),this.has(e)?this.map[e]:null},Y.prototype.has=function(e){return this.map.hasOwnProperty(N(e))},Y.prototype.set=function(e,t){this.map[N(e)]=$(t)},Y.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Y.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),U(n)},Y.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),U(t)},Y.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),U(n)},D&&(Y.prototype[Symbol.iterator]=Y.prototype.entries);var re=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ie(e,t){if(!(this instanceof ie))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 ie){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Y(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 Y(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<re.indexOf(e)?e:n),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||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ae(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function oe(e,t){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Y(t.headers),this.url=t.url||"",this._initBody(e)}ie.prototype.clone=function(){return new ie(this,{body:this._bodyInit})},ne.call(ie.prototype),ne.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Y(this.headers),url:this.url})},oe.error=function(){var e=new oe(null,{status:0,statusText:""});return e.type="error",e};var se=[301,302,303,307,308];oe.redirect=function(e,t){if(-1===se.indexOf(t))throw new RangeError("Invalid status code");return new oe(null,{status:t,headers:{location:e}})};var le=G.DOMException;try{new le}catch(H){(le=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),le.prototype.constructor=le}function ce(r,o){return new Promise(function(i,e){var t=new ie(r,o);if(t.signal&&t.signal.aborted)return e(new le("Aborted","AbortError"));var a=new XMLHttpRequest;function n(){a.abort()}a.onload=function(){var e,n,t={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new Y,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new oe(r,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new le("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&G.location.href?G.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(O?a.responseType="blob":R&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof Y?t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(o.headers).forEach(function(e){a.setRequestHeader(e,$(o.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",n)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Pn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ce.polyfill=!0,G.fetch||(G.fetch=ce,G.Headers=Y,G.Request=ie,G.Response=oe),self.fetch.bind(self);var ue=function(e,t){return(ue=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 de(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}ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function he(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 me(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function pe(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function fe(e){return"function"==typeof e}function ge(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 ye=ge(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 we(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var be=(Se.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=he(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(fe(a))try{a()}catch(e){i=e instanceof ye?e.errors:[e]}a=this._teardowns;if(a){this._teardowns=null;try{for(var l=he(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ce(u)}catch(e){i=null!=i?i:[],e instanceof ye?i=pe(pe([],me(i)),me(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new ye(i)}},Se.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ce(e);else{if(e instanceof Se){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Se.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Se.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Se.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&we(t,e)},Se.prototype.remove=function(e){var t=this._teardowns;t&&we(t,e),e instanceof Se&&e._removeParent(this)},Se.EMPTY=((Xt=new Se).closed=!0,Xt),Se),_e=be.EMPTY;function Se(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function xe(e){return e instanceof be||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Ce(e){fe(e)?e():e.unsubscribe()}var Me=void 0,ke=!1,Fe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,pe([],me(e)))};function Ee(){}function Te(e){e()}var Le,Pe,Oe=(de(Ne,Pe=be),Ne.create=function(e,t,n){return new Ae(e,t,n)},Ne.prototype.next=function(e){this.isStopped||this._next(e)},Ne.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ne.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ne.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Pe.prototype.unsubscribe.call(this),this.destination=null)},Ne.prototype._next=function(e){this.destination.next(e)},Ne.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ne.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ne),Ae=(de(Re,Le=Oe),Re);function Re(e,t,n){var r,i,a=Le.call(this)||this;return fe(e)?i=e:e&&(i=e.next,t=e.error,n=e.complete,a&&ke?(r=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:r=e,i=null==i?void 0:i.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),a.destination={next:i?$e(i):Ee,error:$e(null!=t?t:Ue),complete:n?$e(n):Ee},a}function Ne(e){var t=Pe.call(this)||this;return t.isStopped=!1,e?xe(t.destination=e)&&e.add(t):t.destination=Ye,t}function $e(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,pe([],me(e)))}catch(e){t=e,Fe(function(){throw t})}}}function Ue(e){throw e}var Ye={closed:!0,next:Ee,error:Ue,complete:Ee},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function He(e){return e}var je=(We.prototype.lift=function(e){var t=new We;return t.source=this,t.operator=e,t},We.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Oe||r&&fe(r.next)&&fe(r.error)&&fe(r.complete)&&xe(r)?e:new Ae(e,t,n);return Te(function(){var e=i.operator,t=i.source;a.add(e?e.call(a,t):t?i._subscribe(a):i._trySubscribe(a))}),a},We.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},We.prototype.forEach=function(r,e){var i=this;return new(e=ze(e))(function(e,t){var n=i.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},We.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},We.prototype[Be]=function(){return this},We.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?He:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},We.prototype.toPromise=function(e){var r=this;return new(e=ze(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},We.create=function(e){return new We(e)},We);function We(e){e&&(this._subscribe=e)}function ze(e){return null!==(e=null!=e?e:Me)&&void 0!==e?e:Promise}var Ve,Ze,Xe,Ke=ge(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),qe=(de(rt,Xe=je),rt.prototype.lift=function(e){var t=new Je(this,this);return t.operator=e,t},rt.prototype._throwIfClosed=function(){if(this.closed)throw new Ke},rt.prototype.next=function(a){var o=this;Te(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){var n=o.observers.slice();try{for(var r=he(n),i=r.next();!i.done;i=r.next())i.value.next(a)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},rt.prototype.error=function(t){var n=this;Te(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)}})},rt.prototype.complete=function(){var t=this;Te(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},rt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(rt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),rt.prototype._trySubscribe=function(e){return this._throwIfClosed(),Xe.prototype._trySubscribe.call(this,e)},rt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},rt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?_e:(r.push(e),new be(function(){return we(r,e)}))},rt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},rt.prototype.asObservable=function(){var e=new je;return e.source=this,e},rt.create=function(e,t){return new Je(e,t)},rt),Je=(de(nt,Ze=qe),nt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},nt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},nt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},nt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:_e},nt),Qe={now:function(){return(Qe.delegate||Date).now()},delegate:void 0},et=(de(tt,Ve=qe),tt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(a.now()+t)),this._trimBuffer(),Ve.prototype.next.call(this,e)},tt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},tt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var a=t.now(),o=0,s=1;s<n.length&&n[s]<=a;s+=2)o=s;o&&n.splice(0,o+1)}},tt);function tt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Qe);var r=Ve.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 nt(e,t){var n=Ze.call(this)||this;return n.destination=e,n.source=t,n}function rt(){var e=Xe.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let it=[],at={};const ot=[];function st(r,i=H){let a;const o=[];function s(e){if(n(r,e)&&(r=e,a)){const e=!ot.length;for(let e=0;e<o.length;e+=1){const t=o[e];t[1](),ot.push(t,r)}if(e){for(let e=0;e<ot.length;e+=2)ot[e][0](ot[e+1]);ot.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=H){const n=[e,t];return o.push(n),1===o.length&&(a=i(s)||H),e(r),()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1),0===o.length&&(a(),a=null)}}}}function lt(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:st(t,t=>{let n=!1;const r=[];let i=0,a=H;const o=()=>{var e;i||(a(),e=s(l?r[0]:r,t),u?t(e):a=m(e)?e:H)},e=c.map((e,t)=>p(e,e=>{r[t]=e,i&=~(1<<t),n&&o()},()=>{i|=1<<t}));return n=!0,o(),function(){j(e),a()}}).subscribe}}var ct=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===ut));var t},ut="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function dt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?gt(Array.isArray(e)?[]:{},e,t):e}function ht(e,t,n){return e.concat(t).map(function(e){return dt(e,n)})}function mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function pt(e,t){try{return t in e}catch(e){return!1}}function ft(r,i,a){var o={};return a.isMergeableObject(r)&&mt(r).forEach(function(e){o[e]=dt(r[e],a)}),mt(i).forEach(function(t){var e,n;(!pt(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(pt(r,t)&&a.isMergeableObject(i[t])?o[t]=function(){if(!a.customMerge)return gt;var e=a.customMerge(t);return"function"==typeof e?e:gt}()(r[t],i[t],a):o[t]=dt(i[t],a))}),o}function gt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ht,n.isMergeableObject=n.isMergeableObject||ct,n.cloneUnlessOtherwiseSpecified=dt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ft(e,t,n):dt(t,n)}gt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return gt(e,t,n)},{})};var yt=gt,vt=function(e,t){return(vt=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 wt(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}vt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var bt,_t,St,xt=function(){return(xt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Ct(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Mt(e){return e.type===_t.literal}function kt(e){return e.type===_t.number}function Ft(e){return e.type===_t.date}function Et(e){return e.type===_t.time}function Tt(e){return e.type===_t.select}function Lt(e){return e.type===_t.plural}function Pt(e){return e.type===_t.tag}function Gt(e){return e&&"object"==typeof e&&e.type===St.number}function It(e){return e&&"object"==typeof e&&e.type===St.dateTime}(Kt=bt=bt||{})[Kt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Kt[Kt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Kt[Kt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Kt[Kt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Kt[Kt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Kt[Kt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Kt[Kt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Kt[Kt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Kt[Kt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Kt[Kt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Kt[Kt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Kt[Kt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Kt[Kt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Kt[Kt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Kt[Kt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Kt[Kt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Kt[Kt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Kt[Kt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Kt[Kt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Kt[Kt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Kt[Kt.INVALID_TAG=23]="INVALID_TAG",Kt[Kt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Kt[Kt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Kt[Kt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(qt=_t=_t||{})[qt.literal=0]="literal",qt[qt.argument=1]="argument",qt[qt.number=2]="number",qt[qt.date=3]="date",qt[qt.time=4]="time",qt[qt.select=5]="select",qt[qt.plural=6]="plural",qt[qt.pound=7]="pound",qt[qt.tag=8]="tag",(Jt=St=St||{})[Jt.number=0]="number",Jt[Jt.dateTime=1]="dateTime";var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ot=/(?:[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 At,Rt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Nt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?$/g,Ut=/(\*)(0+)|(#+)(0+)|(0+)/g,Yt=/^(0+)$/;function Bt(e){var r={};return e.replace($t,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 Ht(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 jt(e){return Ht(e)||{}}function Wt(e){for(var o={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=i.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=xt(xt(xt({},o),{notation:"scientific"}),i.options.reduce(function(e,t){return xt(xt({},e),jt(t))},{}));continue;case"engineering":o=xt(xt(xt({},o),{notation:"engineering"}),i.options.reduce(function(e,t){return xt(xt({},e),jt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ut,function(e,t,n,r,i,a){if(t)o.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Yt.test(i.stem))o.minimumIntegerDigits=i.stem.length;else if(Nt.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Nt,function(e,t,n,r,i,a){return"*"===n?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:i&&a?(o.minimumFractionDigits=i.length,o.maximumFractionDigits=i.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""}),i.options.length&&(o=xt(xt({},o),Bt(i.options[0])))}else $t.test(i.stem)?o=xt(xt({},o),Bt(i.stem)):((r=Ht(i.stem))&&(o=xt(xt({},o),r)),(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)),!Yt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(o=xt(xt({},o),r)))}return o}var zt=new RegExp("^"+Dt.source+"*"),Vt=new RegExp(Dt.source+"*$");function Zt(e,t){return{start:e,end:t}}var Xt=!!String.prototype.startsWith,Be=!!String.fromCodePoint,qe=!!Object.fromEntries,Kt=!!String.prototype.codePointAt,qt=!!String.prototype.trimStart,Jt=!!String.prototype.trimEnd,Qt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Dt="a"===(null===(At=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===At?void 0:At[0])}catch(H){Dt=!1}var en,tn,nn=Xt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},rn=Be?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;a<i;){if(1114111<(n=e[a++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},an=qe?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],i=i[1];t[a]=i}return t},on=Kt?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},sn=qt?function(e){return e.trimStart()}:function(e){return e.replace(zt,"")},ln=Jt?function(e){return e.trimEnd()}:function(e){return e.replace(Vt,"")};function cn(e,t){return new RegExp(e,t)}tn=Dt?(en=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return en.lastIndex=t,null!==(e=en.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=on(e,t);if(void 0===i||mn(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return rn.apply(void 0,r)};var un=(dn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},dn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(bt.UNMATCHED_CLOSING_TAG,Zt(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&hn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{a=this.clonePosition();this.bump(),r.push({type:_t.pound,location:Zt(a,this.clonePosition())})}}}return{val:r,err:null}},dn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:_t.literal,value:"<"+r+"/>",location:Zt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hn(this.char()))return this.error(bt.INVALID_TAG,Zt(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(bt.UNMATCHED_CLOSING_TAG,Zt(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_t.tag,value:r,children:e,location:Zt(n,this.clonePosition())},err:null}:this.error(bt.INVALID_TAG,Zt(t,this.clonePosition())))}return this.error(bt.UNCLOSED_TAG,Zt(n,this.clonePosition()))}return this.error(bt.INVALID_TAG,Zt(n,this.clonePosition()))},dn.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())},dn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Zt(n,this.clonePosition());return{val:{type:_t.literal,value:r,location:n},err:null}},dn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(hn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},dn.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 rn.apply(void 0,t)},dn.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(),rn(n))},dn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(bt.EMPTY_ARGUMENT,Zt(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(bt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_t.argument,value:r,location:Zt(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(bt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()))}},dn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=tn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Zt(e,this.clonePosition())}},dn.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(bt.EXPECT_ARGUMENT_TYPE,Zt(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=ln(h.val)).length)return this.error(bt.EXPECT_ARGUMENT_STYLE,Zt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Zt(c,this.clonePosition())}}if((m=this.tryParseArgumentClose(r)).err)return m;var u=Zt(r,this.clonePosition());if(l&&nn(null==l?void 0:l.style,"::",0)){c=sn(l.style.slice(2));if("number"===o)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:_t.number,value:n,location:u,style:h.val},err:null};if(0===c.length)return this.error(bt.EXPECT_DATE_TIME_SKELETON,u);var d={type:St.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(Ot,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}};return{val:{type:"date"===o?_t.date:_t.time,value:n,location:u,style:d},err:null}}return{val:{type:"number"===o?_t.number:"date"===o?_t.date:_t.time,value:n,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(bt.EXPECT_SELECT_ARGUMENT_OPTIONS,Zt(l,xt({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==o&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(bt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Zt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(bt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,bt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(e,o,t,u);if(u.err)return u;if((m=this.tryParseArgumentClose(r)).err)return m;var m=Zt(r,this.clonePosition());return"select"===o?{val:{type:_t.select,value:n,options:an(u.val),location:m},err:null}:{val:{type:_t.plural,value:n,options:an(u.val),offset:l,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null};default:return this.error(bt.INVALID_ARGUMENT_TYPE,Zt(a,s))}},dn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(bt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},dn.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(bt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Zt(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}},dn.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(Rt).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],i=i.slice(1),o=0,s=i;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(bt.INVALID_NUMBER_SKELETON,t)}return{val:{type:St.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Wt(n):{}},err:null}},dn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(bt.EXPECT_PLURAL_ARGUMENT_SELECTOR,bt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Zt(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?bt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:bt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?bt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:bt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Zt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,n);if(u.err)return u;c=this.tryParseArgumentClose(d);if(c.err)return c;a.push([s,{value:u.val,location:Zt(d,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?bt.EXPECT_SELECT_ARGUMENT_SELECTOR:bt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Zt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(bt.MISSING_OTHER_CLAUSE,Zt(this.clonePosition(),this.clonePosition())):{val:a,err:null}},dn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;i=!0,a=10*a+(o-48),this.bump()}r=Zt(r,this.clonePosition());return i?Qt(a*=n)?{val:a,err:null}:this.error(t,r):this.error(e,r)},dn.prototype.offset=function(){return this.position.offset},dn.prototype.isEOF=function(){return this.offset()===this.message.length},dn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},dn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=on(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},dn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},dn.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))},dn.prototype.bumpIf=function(e){if(nn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},dn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},dn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},dn.prototype.bumpSpace=function(){for(;!this.isEOF()&&mn(this.char());)this.bump()},dn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},dn);function dn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function hn(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 pn(e,t){t=xt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new un(e,t).parse();if(n.err){e=SyntaxError(bt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Tt(e)||Lt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else kt(e)&&Gt(e.style)||(Ft(e)||Et(e))&&It(e.style)?delete e.style.location:Pt(e)&&n(e.children)})}(n.val),n.val}function fn(e,t){var n=t&&t.cache?t.cache:Sn,r=t&&t.serializer?t.serializer:wn;return(t&&t.strategy?t.strategy:function(e,t){return vn(e,this,1===e.length?gn:yn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function gn(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function yn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function vn(e,t,n,r,i){return n.bind(t,e,r,i)}var wn=function(){return JSON.stringify(arguments)};function bn(){this.cache=Object.create(null)}bn.prototype.has=function(e){return e in this.cache},bn.prototype.get=function(e){return this.cache[e]},bn.prototype.set=function(e,t){this.cache[e]=t};var _n,Sn={create:function(){return new bn}},xn={variadic:function(e,t){return vn(e,this,yn,t.cache.create(),t.serializer)},monadic:function(e,t){return vn(e,this,gn,t.cache.create(),t.serializer)}};(Dt=_n=_n||{}).MISSING_VALUE="MISSING_VALUE",Dt.INVALID_VALUE="INVALID_VALUE",Dt.MISSING_INTL_API="MISSING_INTL_API";var Cn,Mn,kn,Fn,En,Tn=(wt(Rn,En=Error),Rn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Rn),Ln=(wt(An,Fn=Tn),An),Gn=(wt(On,kn=Tn),On),In=(wt(Dn,Mn=Tn),Dn);function Dn(e,t){return Mn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',_n.MISSING_VALUE,t)||this}function On(e,t,n){return kn.call(this,'Value for "'+e+'" must be of type '+t,_n.INVALID_VALUE,n)||this}function An(e,t,n,r){return Fn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',_n.INVALID_VALUE,r)||this}function Rn(e,t,n){e=En.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Nn(e,t,n,r,i,a,o){if(1===e.length&&Mt(e[0]))return[{type:Cn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Mt(u))s.push({type:Cn.literal,value:u.value});else if(u.type===_t.pound)"number"==typeof a&&s.push({type:Cn.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;if(!(i&&d in i))throw new In(d,o);var h=i[d];if(u.type===_t.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Cn.literal:Cn.object,value:h});else if(Ft(u)){var m="string"==typeof u.style?r.date[u.style]:It(u.style)?u.style.parsedOptions:void 0;s.push({type:Cn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(Et(u))m="string"==typeof u.style?r.time[u.style]:It(u.style)?u.style.parsedOptions:void 0,s.push({type:Cn.literal,value:n.getDateTimeFormat(t,m).format(h)});else if(kt(u))(m="string"==typeof u.style?r.number[u.style]:Gt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Cn.literal,value:n.getNumberFormat(t,m).format(h)});else{if(Pt(u)){var p=u.children,f=u.value,d=i[f];if("function"!=typeof d)throw new Gn(f,"function",o);p=d(Nn(p,t,n,r,i,a).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?Cn.literal:Cn.object,value:e}}))}if(Tt(u)){if(!(g=u.options[h]||u.options.other))throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Nn(g.value,t,n,r,i))}else if(Lt(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new Tn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',_n.MISSING_INTL_API,o);var p=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new Ln(u.value,h,Object.keys(u.options),o);s.push.apply(s,Nn(g.value,t,n,r,i,h-(u.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Cn.literal&&t.type===Cn.literal?n.value+=t.value:e.push(t),e},[])}function $n(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(Dt=Cn=Cn||{})[Dt.literal=0]="literal",Dt[Dt.object=1]="object";var Un=(Object.defineProperty(Yn,"defaultLocale",{get:function(){return Yn.memoizedDefaultLocale||(Yn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Yn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Yn.memoizedDefaultLocale=null,Yn.__parse=pn,Yn.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"}}},Yn);function Yn(e,t,n,r){var i,a,o=this;if(void 0===t&&(t=Yn.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===Cn.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 Nn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!Yn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Yn.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=Yn.formats,(a=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=a[t])?xt(xt(xt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=xt(xt({},n[t]),r[t]||{}),e},{})):n),e},xt({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ct([void 0],t)))},{cache:$n((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:xn.variadic}),getDateTimeFormat:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ct([void 0],t)))},{cache:$n(r.dateTime),strategy:xn.variadic}),getPluralRules:fn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ct([void 0],t)))},{cache:$n(r.pluralRules),strategy:xn.variadic})}}const Bn={},Hn=(t,n)=>{if(null!=n){if(n in Bn&&t in Bn[n])return Bn[n][t];var r,i,a=ar(n);for(let e=0;e<a.length;e++){var o=(r=a[e],i=t,zn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return jn[e]||null}(r),i):null);if(o)return r=t,i=n,(o=o)&&(i in Bn||(Bn[i]={}),r in Bn[i]||(Bn[i][r]=o),o)}}};let jn;const Wn=st({});function zn(e){return e in jn}function Vn(t,...n){delete Bn[t],Wn.update(e=>(e[t]=yt.all([e[t]||{},...n]),e))}lt([Wn],([e])=>Object.keys(e)),Wn.subscribe(e=>jn=e);const Zn={};function Xn(e){return Zn[e]}function Kn(e){return ar(e).some(e=>{return null===(e=Xn(e))||void 0===e?void 0:e.size})}const qn={};function Jn(e){if(!Kn(e))return e in qn?qn[e]:void 0;const t=ar(e).map(e=>{var t=Xn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return qn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Zn[e].delete(t),0===Zn[e].size&&delete Zn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Vn(t,...e))}(e))).then(()=>Kn(e)?Jn(e):void delete qn[e]),qn[e]}function Qn(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const er={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const tr=st(!1);let nr;const rr=st(null);function ir(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function ar(e,t=er.fallbackLocale){e=ir(e);return t?[...new Set([...e,...ir(t)])]:e}rr.subscribe(e=>{nr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const or=rr.set;rr.set=t=>{if(function(e){if(null!=e){var t=ar(e);for(let e=0;e<t.length;e++){var n=t[e];if(zn(n))return n}}}(t)&&Kn(t)){var{loadingDelay:n}=er;let e;return"undefined"!=typeof window&&null!=nr&&n?e=window.setTimeout(()=>tr.set(!0),n):tr.set(!0),Jn(t).then(()=>{or(t)}).finally(()=>{clearTimeout(e),tr.set(!1)})}return or(t)},rr.update=e=>or(e(nr));const sr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},lr=(e,t)=>{var{formats:n}=er;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},cr=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=lr("number",n)),new Intl.NumberFormat(t,e)}),ur=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=lr("date",n):0===Object.keys(e).length&&(e=lr("date","short")),new Intl.DateTimeFormat(t,e)}),dr=sr(e=>{var{locale:t,format:n}=e,e=Qn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=lr("time",n):0===Object.keys(e).length&&(e=lr("time","short")),new Intl.DateTimeFormat(t,e)}),hr=sr((e,t=nr)=>new Un(e,t,er.formats,{ignoreTag:er.ignoreTag})),mr=lt([rr,Wn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=nr,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let a=Hn(e,r);if(a){if("string"!=typeof a)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),a}else er.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${ar(r).join('", "')}".${Kn(nr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),a=i||e;if(!n)return a;let o=a;try{o=hr(a,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return o});lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return dr(Object.assign({locale:t},e))})(t).format(e)),lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return ur(Object.assign({locale:t},e))})(t).format(e)),lt([rr],()=>(e,t)=>((e={})=>{var{locale:t=nr}=e,e=Qn(e,["locale"]);return cr(Object.assign({locale:t},e))})(t).format(e)),lt([rr,Wn],()=>(e,t=nr)=>Hn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==it.indexOf(e)&&(t=new et(t),at[e]=t,it.push(e)),at[e]}};const pr=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)),fr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",gr={en:{casinoPage:{search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{casinoPage:{search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{casinoPage:{search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{casinoPage:{search:"Rechercher des jeux ...",loading:"Chargement ...",searchMobile:"Rechercher",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{casinoPage:{search:"Buscar juegos ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{casinoPage:{search:"Oyun ara ...",loading:"Yükleniyor ...",searchMobile:"Arama",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{casinoPage:{search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{casinoPage:{search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{casinoPage:{search:"Pretraži",loading:"Učitavanje",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{casinoPage:{search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{casinoPage:{search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{casinoPage:{search:"Procurar",loading:"A carregar",searchMobile:"Procurar",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{casinoPage:{search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{casinoPage:{search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}},yr={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again."}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Suchergebnis",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Montre plus",viewAll:"Voir tout",searchedItems:"Articles recherchés",recentSearchedItems:"Articles recherchés récemment",noRecentSearch:"Aucune recherche n'a encore commencé. Recherchez simplement un jeu.",noResults:"Désolé, aucun résultat trouvé. Veuillez réessayer"}},es:{gamesCategorySection:{showMore:"Mostrar más",viewAll:"Ver todo",searchedItems:"Artículos buscados",recentSearchedItems:"Elementos buscados recientemente",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo"}},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",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"}},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:"Mostrar tudo",searchedItems:"Procurar resultado",recentSearchedItems:"Pesquisado recentemente",noRecentSearch:"Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.",noResults:"Desculpe, sem qualquer correspondência. Por favor, tente novamente."}},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."}}};var vr,wr,br=(wr=vr={path:void 0,exports:{},require:function(e,t){return Pn(null==t&&vr.path)}},vr.exports,wr.exports=function(){var e;function p(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){for(var n=[],r=0;r<e.length;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return Tt(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(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 g(e){var t=d(NaN);return null!=e?u(f(t),e):f(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},v=p.momentProperties=[],t=!1;function w(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=f(t)),a(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}function b(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function _(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function S(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,a){var o=!0;return u(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,i),o){for(var e,t,n=[],r=0;r<arguments.length;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}S(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var x={};function C(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),x[e]||(S(t),x[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e,t){var n,r=u({},e);for(n in t)m(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&s(e[n])&&(r[n]=u({},r[n]));return r}function F(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var E=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function T(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 L=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,G={},I={};function D(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(I[e]=i),t&&(I[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function O(e,t){return e.isValid()?(t=A(t,e.localeData()),G[t]=G[t]||function(r){for(var e,i=r.match(L),t=0,a=i.length;t<a;t++)I[i[t]]?i[t]=I[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<a;n++)t+=M(i[n])?i[n].call(e,r):i[n];return t}}(t),G[t](e)):e.localeData().invalidDate()}function A(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;0<=n&&P.test(e);)e=e.replace(P,r),P.lastIndex=0,--n;return e}var R={};function N(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function $(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)m(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var Y={};function B(e,t){Y[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function j(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function W(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?j(t):e}function z(t,n){return function(e){return null!=e?(Z(this,t,e),p.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=W(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,K=/\d\d/,q=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,re=/\d{1,3}/,ie=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[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 de(e,n,r){pe[e]=M(n)?n:function(e,t){return e&&r?r:n}}function he(e,t){return m(pe,e)?pe[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={},fe={};function ge(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),c(n)&&(r=function(e,t){t[n]=W(e)}),t=0;t<e.length;t++)fe[e[t]]=r}function ye(e,i){ge(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var ve,we=0,be=1,_e=2,Se=3,xe=4,Ce=5,Me=6,ke=7,Fe=8;function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},D("M",["MM",2],"Mo",function(){return this.month()+1}),D("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),D("MMMM",0,0,function(e){return this.localeData().months(this,e)}),N("month","M"),B("month",8),de("M",ee),de("MM",ee,K),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[be]=W(e)-1}),ge(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[be]=r:f(n).invalidMonth=e});var Te="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ge=ue,Ie=ue;function De(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=W(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Oe(e){return null!=e?(De(this,e),p.updateOffset(this,!0),this):V(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],a=0;a<12;a++)t=d([2e3,a]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),a=0;a<12;a++)n[a]=me(n[a]),r[a]=me(r[a]);for(a=0;a<24;a++)i[a]=me(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return H(e)?366:365}D("Y",0,0,function(){var e=this.year();return e<=9999?T(e,4):"+"+e}),D(0,["YY",2],0,function(){return this.year()%100}),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),N("year","y"),B("year",1),de("Y",se),de("YY",ee,K),de("YYYY",ie,J),de("YYYYY",ae,Q),de("YYYYYY",ae,Q),ge(["YYYYY","YYYYYY"],we),ge("YYYY",function(e,t){t[we]=2===e.length?p.parseTwoDigitYear(e):W(e)}),ge("YY",function(e,t){t[we]=p.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[we]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return W(e)+(68<W(e)?1900:2e3)};var Ne=z("FullYear",!0);function $e(e,t,n,r,i,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ue(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 Ye(e,t,n){n=7+t-n;return-(7+Ue(e,0,n).getUTCDay()-t)%7+n-1}function Be(e,t,n,r,i){var a,i=1+7*(t-1)+(7+n-r)%7+Ye(e,r,i),i=i<=0?Re(a=e-1)+i:i>Re(e)?(a=e+1,i-Re(e)):(a=e,i);return{year:a,dayOfYear:i}}function He(e,t,n){var r,i,a=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+je(i=e.year()-1,t,n):a>je(e.year(),t,n)?(r=a-je(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function je(e,t,n){var r=Ye(e,t,n),n=Ye(e+1,t,n);return(Re(e)-r+n)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),B("week",5),B("isoWeek",5),de("w",ee),de("ww",ee,K),de("W",ee),de("WW",ee,K),ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=W(e)});function We(e,t){return e.slice(t,7).concat(e.slice(0,t))}D("d",0,"do","day"),D("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),D("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),D("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["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}),ye(["d","e","E"],function(e,t,n,r){t[r]=W(e)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ue,Ke=ue,qe=ue;function Je(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],l=0;l<7;l++)r=d([2e3,1]).day(l),t=me(this.weekdaysMin(r,"")),n=me(this.weekdaysShort(r,"")),r=me(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){D(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,Qe),D("k",["kk",2],0,function(){return this.hours()||24}),D("hmm",0,0,function(){return""+Qe.apply(this)+T(this.minutes(),2)}),D("hmmss",0,0,function(){return""+Qe.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),et("a",!0),et("A",!1),N("hour","h"),B("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,K),de("hh",ee,K),de("kk",ee,K),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),ge(["H","HH"],Se),ge(["k","kk"],function(e,t,n){e=W(e);t[Se]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[Se]=W(e),f(n).bigHour=!0}),ge("hmm",function(e,t,n){var r=e.length-2;t[Se]=W(e.substr(0,r)),t[xe]=W(e.substr(r)),f(n).bigHour=!0}),ge("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=W(e.substr(0,r)),t[xe]=W(e.substr(r,2)),t[Ce]=W(e.substr(i)),f(n).bigHour=!0}),ge("Hmm",function(e,t,n){var r=e.length-2;t[Se]=W(e.substr(0,r)),t[xe]=W(e.substr(r))}),ge("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=W(e.substr(0,r)),t[xe]=W(e.substr(r,2)),t[Ce]=W(e.substr(i))});var nt=z("Hours",!0);var rt,it={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:Te,monthsShort:Le,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Ze,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},at={},ot={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=st(e[a]).split("-")).length,n=(n=st(e[a+1]))?n.split("-"):null;0<t;){if(r=ct(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}a++}return rt}function ct(t){var e;if(void 0===at[t]&&wr&&wr.exports)try{e=rt._abbr,Pn(),ut(e)}catch(e){at[t]=null}return at[t]}function ut(e,t){return e&&((t=a(t)?ht(e):dt(e,t))?rt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null===t)return delete at[e],null;var n,r=it;if(t.abbr=e,null!=at[e])C("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=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return ot[t.parentLocale]||(ot[t.parentLocale]=[]),ot[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new F(k(r,t)),ot[e]&&ot[e].forEach(function(e){dt(e.name,e.config)}),ut(e),at[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!o(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function mt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[be]<0||11<t[be]?be:t[_e]<1||t[_e]>Ee(t[we],t[be])?_e:t[Se]<0||24<t[Se]||24===t[Se]&&(0!==t[xe]||0!==t[Ce]||0!==t[Me])?Se:t[xe]<0||59<t[xe]?xe:t[Ce]<0||59<t[Ce]?Ce:t[Me]<0||999<t[Me]?Me:-1,f(e)._overflowDayOfYear&&(t<we||_e<t)&&(t=_e),f(e)._overflowWeeks&&-1===t&&(t=ke),f(e)._overflowWeekday&&-1===t&&(t=Fe),f(e).overflow=t),e}var pt=/^\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)?)?$/,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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],vt=[["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/]],wt=/^\/?Date\((-?\d+)/i,bt=/^(?:(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}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,i,a,o,s=e._i,l=pt.exec(s)||ft.exec(s);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],r=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(l[3])){a=(l[2]||" ")+vt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=i+(a||"")+(o||""),Ft(e)}else e._isValid=!1}function xt(e,t,n,r,i,a){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Le.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&i.push(parseInt(a,10)),i}function Ct(e){var t,n,r,i,a=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=xt(a[4],a[3],a[2],a[5],a[6],a[7]),n=a[1],r=t,i=e,n&&Ve.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=a[8],t=a[9],a=a[10],i?_t[i]:t?0:((t=parseInt(a,10))-(a=t%100))/100*60+a),e._d=Ue.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 kt(e){var t,n,r,i,a,o,s,l,c,u,d,h,m=[];if(!e._d){for(d=e,h=new Date(p.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[_e]&&null==e._a[be]&&(null!=(d=(i=e)._w).GG||null!=d.W||null!=d.E?(l=1,c=4,a=Mt(d.GG,i._a[we],He(Lt(),1,4).year),o=Mt(d.W,1),((s=Mt(d.E,1))<1||7<s)&&(u=!0)):(l=i._locale._week.dow,c=i._locale._week.doy,h=He(Lt(),l,c),a=Mt(d.gg,i._a[we],h.year),o=Mt(d.w,h.week),null!=d.d?((s=d.d)<0||6<s)&&(u=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(u=!0)):s=l),o<1||o>je(a,l,c)?f(i)._overflowWeeks=!0:null!=u?f(i)._overflowWeekday=!0:(c=Be(a,o,s,l,c),i._a[we]=c.year,i._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(r=Mt(e._a[we],n[we]),(e._dayOfYear>Re(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),r=Ue(r,0,e._dayOfYear),e._a[be]=r.getUTCMonth(),e._a[_e]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=n[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Se]&&0===e._a[xe]&&0===e._a[Ce]&&0===e._a[Me]&&(e._nextDay=!0,e._a[Se]=0),e._d=(e._useUTC?Ue:$e).apply(null,m),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Se]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Ft(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,r=""+e._i,i=r.length,a=0,o=A(e._f,e._locale).match(L)||[],s=0;s<o.length;s++)n=o[s],(t=(r.match(he(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&f(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),I[n]?(t?f(e).empty=!1:f(e).unusedTokens.push(n),u=n,h=e,null!=(d=t)&&m(fe,u)&&fe[u](d,h._a,h,u)):e._strict&&!t&&f(e).unusedTokens.push(n);f(e).charsLeftOver=i-a,0<r.length&&f(e).unusedInput.push(r),e._a[Se]<=12&&!0===f(e).bigHour&&0<e._a[Se]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Se]=(l=e._locale,c=e._a[Se],null==(i=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,i):null!=l.isPM?((i=l.isPM(i))&&c<12&&(c+=12),c=i||12!==c?c:0):c),null!==(c=f(e).era)&&(e._a[we]=e._locale.erasConvertYear(c,e._a[we])),kt(e),mt(e)}else Ct(e);else St(e);var l,c,u,d,h}function Et(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new b(mt(t)):(i(t)?e._d=t:o(n)?function(e){var t,n,r,i,a,o,s=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,o=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ft(t),h(t)&&(o=!0),a+=f(t).charsLeftOver,a+=10*f(t).unusedTokens.length,f(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));u(e,n||t)}(e):n?Ft(e):a(n=(t=e)._i)?t._d=new Date(p.now()):i(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=wt.exec(e._i);null===t?(St(e),!1===e._isValid&&(delete e._isValid,Ct(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:p.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=r(n.slice(0),function(e){return parseInt(e,10)}),kt(t)):s(n)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=r([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),kt(e))}(t):c(n)?t._d=new Date(n):p.createFromInputFallback(t),h(e)||(e._d=null),e))}function Tt(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,(a=new b(mt(Et(a=a))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Lt(e,t,n,r){return Tt(e,t,n,r,!1)}p.createFromInputFallback=n("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(){};var Pt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),Gt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function It(e,t){var n,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Lt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ot(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(m(e,t)&&(-1===ve.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Dt.length;++n)if(e[Dt[n]]){if(r)return!1;parseFloat(e[Dt[n]])!==W(e[Dt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ht(),this._bubble()}function At(e){return e instanceof Ot}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,n){D(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+T(~~(e/60),2)+n+T(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),de("Z",ce),de("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(ce,e)});var $t=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+W(e[2]))?0:"+"===e[0]?t:-t}function Yt(e,t){var n;return t._isUTC?(n=t.clone(),t=(_(e)||i(e)?e:Lt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),p.updateOffset(n,!1),n):Lt(e).local()}function Bt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zt(e,t){var n,r,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=jt.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:W(a[_e])*n,h:W(a[Se])*n,m:W(a[xe])*n,s:W(a[Ce])*n,ms:W(Rt(1e3*a[Me]))*n}):(a=Wt.exec(e))?(n="-"===a[1]?-1:1,i={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Lt(i.from),n=Lt(i.to),r=a.isValid()&&n.isValid()?(n=Yt(n,a),a.isBefore(n)?r=Zt(a,n):((r=Zt(n,a)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),i=new Ot(i),At(e)&&m(e,"_locale")&&(i._locale=e._locale),At(e)&&m(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(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 Xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(C(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Kt(this,zt(e,t),r),this}}function Kt(e,t,n,r){var i=t._milliseconds,a=Rt(t._days),t=Rt(t._months);e.isValid()&&(r=null==r||r,t&&De(e,V(e,"Month")+t*n),a&&Z(e,"Date",V(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,a||t))}zt.fn=Ot.prototype,zt.invalid=function(){return zt(NaN)};var qt=Xt(1,"add"),ue=Xt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return _(e)||i(e)||Jt(e)||c(e)||(n=o(t=e),r=!1,n&&(r=0===t.filter(function(e){return!c(e)&&Jt(t)}).length),n&&r)||function(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<a.length;t+=1)n=a[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function en(e,t){if(e.date()<t.date())return-en(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 tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("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 nn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),a=0,o=i.length;a<o;++a)t.push(me(i[a].name)),e.push(me(i[a].abbr)),n.push(me(i[a].narrow)),r.push(me(i[a].name)),r.push(me(i[a].abbr)),r.push(me(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function un(e,t){D(0,[e,e.length],0,t)}function dn(e,t,n,r,i){var a;return null==e?He(this,r,i).year:(t>(a=je(e,r,i))&&(t=a),function(e,t,n,r,i){i=Be(e,t,n,r,i),i=Ue(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,i))}D("N",0,0,"eraAbbr"),D("NN",0,0,"eraAbbr"),D("NNN",0,0,"eraAbbr"),D("NNNN",0,0,"eraName"),D("NNNNN",0,0,"eraNarrow"),D("y",["y",1],"yo","eraYear"),D("y",["yy",2],0,"eraYear"),D("y",["yyy",3],0,"eraYear"),D("y",["yyyy",4],0,"eraYear"),de("N",ln),de("NN",ln),de("NNN",ln),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["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}),de("y",oe),de("yy",oe),de("yyy",oe),de("yyyy",oe),de("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],we),ge(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,i):t[we]=parseInt(e,10)}),D(0,["gg",2],0,function(){return this.weekYear()%100}),D(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,K),de("gg",ee,K),de("GGGG",ie,J),de("gggg",ie,J),de("GGGGG",ae,Q),de("ggggg",ae,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=W(e)}),ye(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),D("Q",0,"Qo","quarter"),N("quarter","Q"),B("quarter",7),de("Q",X),ge("Q",function(e,t){t[be]=3*(W(e)-1)}),D("D",["DD",2],"Do","date"),N("date","D"),B("date",9),de("D",ee),de("DD",ee,K),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],_e),ge("Do",function(e,t){t[_e]=W(e.match(ee)[0])});ne=z("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),B("dayOfYear",4),de("DDD",re),de("DDDD",q),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=W(e)}),D("m",["mm",2],0,"minute"),N("minute","m"),B("minute",14),de("m",ee),de("mm",ee,K),ge(["m","mm"],xe);Te=z("Minutes",!1);D("s",["ss",2],0,"second"),N("second","s"),B("second",15),de("s",ee),de("ss",ee,K),ge(["s","ss"],Ce);var hn,ze=z("Seconds",!1);for(D("S",0,0,function(){return~~(this.millisecond()/100)}),D(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),D(0,["SSS",3],0,"millisecond"),D(0,["SSSS",4],0,function(){return 10*this.millisecond()}),D(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),D(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),D(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),D(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),D(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),B("millisecond",16),de("S",re,X),de("SS",re,K),de("SSS",re,q),hn="SSSS";hn.length<=9;hn+="S")de(hn,oe);function mn(e,t){t[Me]=W(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,mn);Ze=z("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");ie=b.prototype;function pn(e){return e}ie.add=qt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Lt(),e=Yt(n,this).startOf("day"),e=p.calendarFormat(this,e)||"sameElse",t=t&&(M(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Lt(n)))},ie.clone=function(){return new b(this)},ie.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":a=en(this,r)/12;break;case"month":a=en(this,r);break;case"quarter":a=en(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:j(a)},ie.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,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-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=O(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Lt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Lt(),e)},ie.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Lt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Lt(),e)},ie.get=function(e){return M(this[e=$(e)])?this[e]():this},ie.invalidAt=function(){return f(this).overflow},ie.isAfter=function(e,t){return e=_(e)?e:Lt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=_(e)?e:Lt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,r){return e=_(e)?e:Lt(e),t=_(t)?t:Lt(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))},ie.isSame=function(e,t){var e=_(e)?e:Lt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return h(this)},ie.lang=te,ie.locale=tn,ie.localeData=nn,ie.max=Gt,ie.min=Pt,ie.parsingFlags=function(){return u({},f(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=U(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(M(this[e=$(e)]))return this[e](t);return this},ie.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:on,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-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},ie.subtract=ue,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.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()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?O(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",O(e,"Z")):O(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.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"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.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""},ie.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""},ie.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""},ie.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},ie.year=Ne,ie.isLeapYear=function(){return H(this.year())},ie.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Oe,ie.daysInMonth=function(){return Ee(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return je(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return je(this.isoWeekYear(),1,4)},ie.date=ne,ie.day=ie.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},ie.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")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.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")},ie.hour=ie.hours=nt,ie.minute=ie.minutes=Te,ie.second=ie.seconds=ze,ie.millisecond=ie.milliseconds=Ze,ie.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Bt(this);if("string"==typeof e){if(null===(e=Ut(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Bt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Kt(this,zt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Bt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Ht,ie.isUTC=Ht,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=n("dates accessor is deprecated. Use date instead.",ne),ie.months=n("months accessor is deprecated. Use month instead",Oe),ie.years=n("years accessor is deprecated. Use year instead",Ne),ie.zone=n("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()}),ie.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Et(t))._a?(e=(t._isUTC?d:Lt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&W(e[o])!==W(t[o]))&&a++;return a+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=F.prototype;function fn(e,t,n,r){var i=ht(),t=d().set(r,t);return i[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=fn(e,i,n,"month");return r}function yn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var i,a=ht(),o=e?a._week.dow:0,s=[];if(null!=n)return fn(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fn(t,(i+o)%7,r,"day");return s}J.calendar=function(e,t,n){return M(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(L).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=pn,J.postformat=pn,J.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)},J.pastFuture=function(e,t){return M(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,n;for(n in e)m(e,n)&&(M(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)},J.eras=function(e,t){for(var n,r=this._eras||ht("en")._eras,i=0,a=r.length;i<a;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},J.erasParse=function(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},J.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},J.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return m(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Pe.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,e))||-1!==(i=ve.call(this._longMonthsParse,e))?i:null:-1!==(i=ve.call(this._longMonthsParse,e))||-1!==(i=ve.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},J.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Ie),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Ge),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return He(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.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?We(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?We(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?We(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._minWeekdaysParse,e))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,e))||-1!==(i=ve.call(this._weekdaysParse,e))||-1!==(i=ve.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ut("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===W(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ut),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function wn(e,t,n,r){n=zt(t,n);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function xn(e){return function(){return this.as(e)}}ae=xn("ms"),Q=xn("s"),X=xn("m"),K=xn("h"),re=xn("d"),q=xn("w"),qt=xn("M"),Gt=xn("Q"),Pt=xn("y");function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}ue=Cn("milliseconds"),nt=Cn("seconds"),Te=Cn("minutes"),ze=Cn("hours"),Ze=Cn("days"),ne=Cn("months"),Ne=Cn("years");var Mn=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Fn(e,t,n,r){var i=zt(e).abs(),a=Mn(i.as("s")),o=Mn(i.as("m")),s=Mn(i.as("h")),l=Mn(i.as("d")),c=Mn(i.as("M")),u=Mn(i.as("w")),i=Mn(i.as("y")),l=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||u<=1&&["w"]||u<n.w&&["ww",u]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}var En=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Ln(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),u=this.asSeconds();return u?(e=j(s/60),t=j(e/60),s%=60,e%=60,n=j(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=Tn(this._months)!==Tn(u)?"-":"",a=Tn(this._days)!==Tn(u)?"-":"",o=Tn(this._milliseconds)!==Tn(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"}J=Ot.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},J.add=function(e,t){return wn(this,e,t,1)},J.subtract=function(e,t){return wn(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(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)}},J.asMilliseconds=ae,J.asSeconds=Q,J.asMinutes=X,J.asHours=K,J.asDays=re,J.asWeeks=q,J.asMonths=qt,J.asQuarters=Gt,J.asYears=Pt,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*W(this._months/12):NaN},J._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*bn(Sn(n)+t),n=t=0),r.milliseconds=e%1e3,e=j(e/1e3),r.seconds=e%60,e=j(e/60),r.minutes=e%60,e=j(e/60),r.hours=e%24,t+=j(e/24),n+=e=j(_n(t)),t-=bn(Sn(e)),e=j(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},J.clone=function(){return zt(this)},J.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ue,J.seconds=nt,J.minutes=Te,J.hours=ze,J.days=Ze,J.weeks=function(){return j(this.days()/7)},J.months=ne,J.years=Ne,J.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)),r=Fn(this,!n,r,t=this.localeData()),n&&(r=t.pastFuture(+this,r)),t.postformat(r)},J.toISOString=Ln,J.toString=Ln,J.toJSON=Ln,J.locale=tn,J.localeData=nn,J.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),J.lang=te,D("X",0,0,"unix"),D("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(W(e))}),p.version="2.29.1",e=Lt,p.fn=ie,p.min=function(){return It("isBefore",[].slice.call(arguments,0))},p.max=function(){return It("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(e){return Lt(1e3*e)},p.months=function(e,t){return gn(e,t,"months")},p.isDate=i,p.locale=ut,p.invalid=g,p.duration=zt,p.isMoment=_,p.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},p.parseZone=function(){return Lt.apply(null,arguments).parseZone()},p.localeData=ht,p.isDuration=At,p.monthsShort=function(e,t){return gn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},p.defineLocale=dt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=it,null!=at[e]&&null!=at[e].parentLocale?at[e].set(k(at[e]._config,t)):(t=k(r=null!=(n=ct(e))?n._config:r,t),null==n&&(t.abbr=e),(t=new F(t)).parentLocale=at[e],at[e]=t),ut(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===ut()&&ut(e)):null!=at[e]&&delete at[e]),at[e]},p.locales=function(){return E(at)},p.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},p.normalizeUnits=$,p.relativeTimeRounding=function(e){return void 0===e?Mn:"function"==typeof e&&(Mn=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(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=ie,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}(),vr.exports);const _r={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},de:{gameThumbnail:{playNow:"Jetzt starten!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Joue Maintenant",new:"NOUVEAU",hot:"CHAUD",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},es:{gameThumbnail:{playNow:"Juega ahora",new:"NUEVO",hot:"CALIENTE",opens:"Opens ",full:"table full - bet behind",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:"Opens ",full:"table full - bet behind",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"}}},Sr={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 xr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function Cr(e,t,n){const r=e.slice();return r[101]=t[n],r}function Mr(e){let n,r=!pr(e[34])&&!e[0]&&e[12],i=r&&kr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),z(e,n,t)},p(e,t){4097&t[0]&&(r=!pr(e[34])&&!e[0]&&e[12]),r?i?i.p(e,t):(i=kr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&V(n)}}}function kr(n){let r,i,a;return{c(){r=Z("div"),r.innerHTML='<svg version="1.1" class="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>',q(r,"class","FavIconContainer")},m(e,t){z(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:H,d(e){e&&V(r),i=!1,a()}}}function Fr(e){let n;return{c(){n=Z("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',q(n,"class","FavIconContainer")},m(e,t){z(e,n,t)},p:H,d(e){e&&V(n)}}}function Er(n){let r,i,a;return{c(){r=Z("div"),r.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: 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>',q(r,"class","FavIconContainer")},m(e,t){z(e,r,t),i||(a=K(r,"click",n[63]),i=!0)},p:H,d(e){e&&V(r),i=!1,a()}}}function Tr(e){let n,r,i=e[33]("gameThumbnail.new")+"";return{c(){n=Z("span"),r=t(i),q(n,"class","GameExtraInfoLabel NewGameTag")},m(e,t){z(e,n,t),W(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.new")+"")&&J(r,i)},d(e){e&&V(n)}}}function Lr(e){let n,r,i=e[33]("gameThumbnail.hot")+"";return{c(){n=Z("span"),r=t(i),q(n,"class","GameExtraInfoLabel PopularGameTag")},m(e,t){z(e,n,t),W(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.hot")+"")&&J(r,i)},d(e){e&&V(n)}}}function Pr(e){let n,r,i=!e[21]&&e[19]&&e[20]&&Gr(e);function a(e){return e[21]&&e[18]&&e[18]===jr?Dr:e[21]&&e[18]&&e[18]===Wr?Ir:void 0}let o=a(e),s=o&&o(e);return{c(){i&&i.c(),n=X(),s&&s.c(),r=c()},m(e,t){i&&i.m(e,t),z(e,n,t),s&&s.m(e,t),z(e,r,t)},p(e,t){!e[21]&&e[19]&&e[20]?i?i.p(e,t):(i=Gr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){i&&i.d(e),e&&V(n),s&&s.d(e),e&&V(r)}}}function Gr(e){let n,r,i,a,o,s,l,c,u,d,h=e[33]("gameThumbnail.opens")+"",m=br.utc(e[19]).local().format(e[20])+"",p=e[43](e[32])+"",f=e[42](e[24],e[25],e[23])+"";return{c(){n=Z("div"),r=Z("div"),i=t(h),a=X(),o=Z("span"),s=t(m),l=X(),u=X(),q(r,"class","ClosedGame"),c=new g(u),d=new g(null),q(n,"class","GameProp LiveProps")},m(e,t){z(e,n,t),W(n,r),W(r,i),W(r,a),W(r,o),W(o,s),W(n,l),c.m(p,n),W(n,u),d.m(f,n)},p(e,t){4&t[1]&&h!==(h=e[33]("gameThumbnail.opens")+"")&&J(i,h),1572864&t[0]&&m!==(m=br.utc(e[19]).local().format(e[20])+"")&&J(s,m),2&t[1]&&p!==(p=e[43](e[32])+"")&&c.p(p),58720256&t[0]&&f!==(f=e[42](e[24],e[25],e[23])+"")&&d.p(f)},d(e){e&&V(n)}}}function Ir(n){let r,i,a,o,s,l,c=n[43](n[32])+"",u=n[42](n[24],n[25],n[23])+"",d=new Array(Vr),h=[];for(let e=0;e<d.length;e+=1)h[e]=Nr(xr(n,d,e));return{c(){r=Z("div"),i=Z("div");for(let e=0;e<h.length;e+=1)h[e].c();a=X(),s=X(),q(i,"class","LiveIcons"),o=new g(s),l=new g(null),q(r,"class",n[28])},m(e,t){z(e,r,t),W(r,i);for(let e=0;e<h.length;e+=1)h[e].m(i,null);n[64](i),W(r,a),o.m(c,r),W(r,s),l.m(u,r)},p(t,n){if(671089664&n[0]|8192&n[1]){let e;for(d=new Array(Vr),e=0;e<d.length;e+=1){const o=xr(t,d,e);h[e]?h[e].p(o,n):(h[e]=Nr(o),h[e].c(),h[e].m(i,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=d.length}2&n[1]&&c!==(c=t[43](t[32])+"")&&o.p(c),58720256&n[0]&&u!==(u=t[42](t[24],t[25],t[23])+"")&&l.p(u),268435456&n[0]&&q(r,"class",t[28])},d(e){e&&V(r),f(h,e),n[64](null)}}}function Dr(e){let n,r,i,a,o,s,l=e[43](e[32])+"",c=e[42](e[24],e[25],e[23])+"";function u(e){return e[30]?Ur:$r}let d=u(e),h=d(e);return{c(){n=Z("div"),r=Z("div"),h.c(),i=X(),o=X(),q(r,"class","LiveIcons"),a=new g(o),s=new g(null),q(n,"class","GameProp LiveProps BlackjackDisplay")},m(e,t){z(e,n,t),W(n,r),h.m(r,null),W(n,i),a.m(l,n),W(n,o),s.m(c,n)},p(e,t){d===(d=u(e))&&h?h.p(e,t):(h.d(1),h=d(e),h&&(h.c(),h.m(r,null))),2&t[1]&&l!==(l=e[43](e[32])+"")&&a.p(l),58720256&t[0]&&c!==(c=e[42](e[24],e[25],e[23])+"")&&s.p(c)},d(e){e&&V(n),h.d()}}}function Or(e){let n;function r(e){return e[27]?Rr:Ar}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),z(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&V(n)}}}function Ar(e){let n,r,i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"";return{c(){r=c(),n=new g(r)},m(e,t){n.m(i,e,t),z(e,r,t)},p(e,t){536871936&t[0]&&i!==(i=e[44]("LatestResult "+(0===e[106]?"First":""),e[106],e[10][e[106]],e[29][e[10][e[106]]])+"")&&n.p(i)},d(e){e&&V(r),e&&n.d()}}}function Rr(e){let n,r,i,a,o,s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"",l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"";return{c(){n=Z("div"),i=X(),o=X(),r=new g(i),a=new g(o),q(n,"class","Double")},m(e,t){z(e,n,t),r.m(s,n),W(n,i),a.m(l,n),W(n,o)},p(e,t){536871936&t[0]&&s!==(s=e[44]("LatestResult "+(0===e[106]?"First":""),`first${e[106]}${e[10][e[106]][0]}`,e[10][e[106]][0],e[29][e[10][e[106]][0]])+"")&&r.p(s),536871936&t[0]&&l!==(l=e[44]("LatestResult "+(0===e[106]?"First":""),`second${e[106]}${e[10][e[106]][1]}`,e[10][e[106]][1],e[29][e[10][e[106]][1]])+"")&&a.p(l)},d(e){e&&V(n)}}}function Nr(e){let n,r=e[10]&&e[10][e[106]]&&Or(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[10]&&e[10][e[106]]?r?r.p(e,t):(r=Or(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&V(n)}}}function $r(t){let i,a=t[22],o=[];for(let e=0;e<a.length;e+=1)o[e]=Yr(Cr(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);z(t,i,n)},p(t,n){if(71303168&n[0]|1024&n[1]){let e;for(a=t[22],e=0;e<a.length;e+=1){var r=Cr(t,a,e);o[e]?o[e].p(r,n):(o[e]=Yr(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){f(o,e),e&&V(i)}}}function Ur(e){let n,r,i=e[33]("gameThumbnail.full")+"";return{c(){n=Z("span"),r=t(i),q(n,"class","FullTable")},m(e,t){z(e,n,t),W(n,r)},p(e,t){4&t[1]&&i!==(i=e[33]("gameThumbnail.full")+"")&&J(r,i)},d(e){e&&V(n)}}}function Yr(e){let n,r,i,a,o,s;return{c(){n=Z("span"),r=v("svg"),i=v("path"),a=v("path"),o=X(),q(i,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),q(a,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),q(r,"xmlns","http://www.w3.org/2000/svg"),q(r,"width","13"),q(r,"height","14"),q(r,"viewBox","0 0 13 14"),q(n,"class",s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,t){z(e,n,t),W(n,r),W(r,i),W(r,a),W(n,o)},p(e,t){71303168&t[0]&&s!==(s=e[41](e[26],e[101].toString())?"ClosedSeat":"OpenSeat")&&q(n,"class",s)},d(e){e&&V(n)}}}function Br(e){let n,r;return{c(){n=Z("p"),r=t(e[3]),q(n,"class","GameNameBelow"),q(n,"title",e[3])},m(e,t){z(e,n,t),W(n,r)},p(e,t){8&t[0]&&J(r,e[3]),8&t[0]&&q(n,"title",e[3])},d(e){e&&V(n)}}}function Hr(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y,v,w,b,_,S,x,C,M,k,F,E,T,L,P,G=n[33]("gameThumbnail.playNow")+"",I=(n[4]||"-")+"",D=0<parseInt(n[7]),O=n[13]&&Mr(n);function A(e,t){return(null==S||4099&t[0])&&(S=!(pr(e[34])||!e[0]||!e[12]||!e[1])),S?Er:((null==x||4099&t[0])&&(x=!!(pr(e[34])&&e[0]&&e[12]&&e[1])),x?Fr:void 0)}let R=A(n,[-1]),N=R&&R(n),$=n[6]&&Tr(n),U=D&&Lr(n),Y=n[9]&&Pr(n),B=n[8]&&Br(n);return{c(){r=Z("div"),i=Z("div"),a=Z("img"),l=X(),c=Z("div"),u=Z("div"),O&&O.c(),d=X(),h=Z("p"),m=t(n[3]),p=X(),f=Z("button"),g=t(G),v=X(),w=Z("span"),b=t(I),_=X(),N&&N.c(),C=X(),M=Z("div"),$&&$.c(),k=X(),U&&U.c(),F=X(),Y&&Y.c(),E=X(),B&&B.c(),this.c=H,a.src!==(o=n[2])&&q(a,"src",o),q(a,"class",s="GameBg "+(n[14]?"GameContainerHovered":"")+" "+(n[15]?"Loaded":"")),q(a,"alt",""),q(a,"loading","lazy"),q(h,"class","GameInfoName"),q(h,"title",n[3]),q(f,"class","GameInfoBtn"),q(u,"class",y="GameInfo "+(n[14]?"GameHovered":"")),q(w,"class","GameInfoVendor"),q(c,"class","GameInfoWrapper"),q(M,"class","GameExtraInfo"),q(i,"class","GameInnerContainer"),q(r,"class",T=`GameContainer ${n[31]}`)},m(e,t){z(e,r,t),W(r,i),W(i,a),n[60](a),W(i,l),W(i,c),W(c,u),O&&O.m(u,null),W(u,d),W(u,h),W(h,m),W(u,p),W(u,f),W(f,g),W(c,v),W(c,w),W(w,b),W(i,_),N&&N.m(i,null),W(i,C),W(i,M),$&&$.m(M,null),W(M,k),U&&U.m(M,null),W(M,F),Y&&Y.m(M,null),W(r,E),B&&B.m(r,null),n[65](r),L||(P=[K(f,"click",n[62]),K(i,"mouseenter",n[39]),K(i,"mouseleave",n[40]),K(i,"touchstart",n[37],{passive:!0}),K(i,"touchleave",n[38])],L=!0)},p(e,t){4&t[0]&&a.src!==(o=e[2])&&q(a,"src",o),49152&t[0]&&s!==(s="GameBg "+(e[14]?"GameContainerHovered":"")+" "+(e[15]?"Loaded":""))&&q(a,"class",s),e[13]?O?O.p(e,t):(O=Mr(e),O.c(),O.m(u,d)):O&&(O.d(1),O=null),8&t[0]&&J(m,e[3]),8&t[0]&&q(h,"title",e[3]),4&t[1]&&G!==(G=e[33]("gameThumbnail.playNow")+"")&&J(g,G),16384&t[0]&&y!==(y="GameInfo "+(e[14]?"GameHovered":""))&&q(u,"class",y),16&t[0]&&I!==(I=(e[4]||"-")+"")&&J(b,I),R===(R=A(e,t))&&N?N.p(e,t):(N&&N.d(1),N=R&&R(e),N&&(N.c(),N.m(i,C))),e[6]?$?$.p(e,t):($=Tr(e),$.c(),$.m(M,k)):$&&($.d(1),$=null),128&t[0]&&(D=0<parseInt(e[7])),D?U?U.p(e,t):(U=Lr(e),U.c(),U.m(M,F)):U&&(U.d(1),U=null),e[9]?Y?Y.p(e,t):(Y=Pr(e),Y.c(),Y.m(M,null)):Y&&(Y.d(1),Y=null),e[8]?B?B.p(e,t):(B=Br(e),B.c(),B.m(r,null)):B&&(B.d(1),B=null),1&t[1]&&T!==(T=`GameContainer ${e[31]}`)&&q(r,"class",T)},i:H,o:H,d(e){e&&V(r),n[60](null),O&&O.d(),N&&N.d(),$&&$.d(),U&&U.d(),Y&&Y.d(),B&&B.d(),n[65](null),L=!1,j(P)}}}const jr="blackjack",Wr="roulette",zr="doubleballroulette",Vr=5;function Zr(n,e,o){let t;Ge(n,mr,e=>o(33,t=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,s,l,c,u,d,h,m,p,f,g,y,v,w,b,_,S,x,C,M,k,F,E,{session:T=""}=e,{userid:L=""}=e,{lang:P=""}=e,{clientstyling:G=""}=e,{clientstylingurl:I=""}=e,{favorites:D=""}=e,{gamethumbnail:O=""}=e,{gamename:A=""}=e,{gamevendor:R=""}=e,{gameid:N=""}=e,{gameisnew:$=""}=e,{gamepopularity:U=""}=e,{gamefunmode:Y=!1}=e,{searchitem:B=!1}=e,{gamefavorite:H=!1}=e,{showfavoredcategory:j=!1}=e,{showgamename:W=!1}=e,{endpoint:z=""}=e,{livelobbyendpoint:V=""}=e,{currency:Z="EUR"}=e,{connectlive:X=""}=e,{visibilityconnect:K=""}=e,q=!1,J=!1,Q=!1,ee=window.navigator.userAgent,te="HH:mm",ne,re=[],ie="TRY",ae="";const oe=[jr],se=[Wr,zr],le={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ce={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"};Object.keys(_r).forEach(e=>{Vn(e,_r[e])});const ue=e=>{e.data.type!==`AddFavoriteThumbnail_${N}`||j||o(0,H=!0),e.data.type!==`RemoveFavoriteThumbnail_${N}`||j||o(0,H=!1),"UserSessionID"===e.data.type&&(o(12,q=!0),e.data.session,e.data.userID)},de=e=>{pr(ee)?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:Y},window.location.href):window.postMessage({type:"ShowGameModal",gameId:e},window.location.href),B&&window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href)},he=e=>{var t="thumbnail";H?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},me=()=>{V&&EventSource&&!l&&R&&N&&(l=new EventSource(`${z}/encoder/lobby/updates/${R}/${N}`),l.addEventListener("message",fe))},pe=()=>{l&&(l.close(),l=void 0)},fe=a=>r(void 0,void 0,void 0,function*(){const{type:e,data:t}=a;let n;if("message"===e){if(t)try{n=JSON.parse(t)}catch(e){console.error("MESSAGE PARSING ERROR: ",e)}if(n){const{InternalTableId:a,MessageType:e,Results:t,Seats:r,Open:i}=n;if(a)switch(e){case"SeatsUpdated":r&&Array.isArray(r)&&(o(26,g=r),o(9,s.currentOccupiedSeats=r,s),yield ve());break;case"RouletteResultsUpdated":t&&Array.isArray(t)&&(y=t,o(9,s.currentRouletteNumbers=t,s),yield ve());break;case"DoubleBallRouletteResultsUpdated":t&&Array.isArray(t)&&(v=t,o(9,s.currentDoubleBallRouletteNumbers=t,s),yield ve());break;case"TableOpened":case"TableClosed":o(21,d=i),o(9,s.isOpen=i,s),yield ve()}}}}),ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ye=(e,t)=>e.some(e=>e===t);return Ie(()=>(window.addEventListener("message",ue,!1),()=>{window.removeEventListener("message",ue),l&&l.removeEventListener("message",fe)})),n.$$set=e=>{"session"in e&&o(45,T=e.session),"userid"in e&&o(46,L=e.userid),"lang"in e&&o(47,P=e.lang),"clientstyling"in e&&o(48,G=e.clientstyling),"clientstylingurl"in e&&o(49,I=e.clientstylingurl),"favorites"in e&&o(1,D=e.favorites),"gamethumbnail"in e&&o(2,O=e.gamethumbnail),"gamename"in e&&o(3,A=e.gamename),"gamevendor"in e&&o(4,R=e.gamevendor),"gameid"in e&&o(5,N=e.gameid),"gameisnew"in e&&o(6,$=e.gameisnew),"gamepopularity"in e&&o(7,U=e.gamepopularity),"gamefunmode"in e&&o(50,Y=e.gamefunmode),"searchitem"in e&&o(51,B=e.searchitem),"gamefavorite"in e&&o(0,H=e.gamefavorite),"showfavoredcategory"in e&&o(52,j=e.showfavoredcategory),"showgamename"in e&&o(8,W=e.showgamename),"endpoint"in e&&o(53,z=e.endpoint),"livelobbyendpoint"in e&&o(54,V=e.livelobbyendpoint),"currency"in e&&o(55,Z=e.currency),"connectlive"in e&&o(56,X=e.connectlive),"visibilityconnect"in e&&o(57,K=e.visibilityconnect)},n.$$.update=()=>{var e,t;33554432&n.$$.dirty[1]&&X&&("disconnect"===X?pe():"connect"===X&&me()),67108864&n.$$.dirty[1]&&K&&("disconnect"===K?pe():"connect"===K&&"connect"===X&&me()),n.$$.dirty[1],4243456&n.$$.dirty[1]&&T&&L&&z&&o(12,q=!0),4&n.$$.dirty[0]&&O&&i&&o(16,i.onload=()=>{o(15,Q=!0)},i),131072&n.$$.dirty[1]&&G&&(()=>{let e=document.createElement("style");e.innerHTML=G,setTimeout(()=>{a.appendChild(e)})})(),2&n.$$.dirty[0]&&D&&"true"==D&&o(13,J=!0),262144&n.$$.dirty[1]&&I&&(()=>{let e=new URL(I),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)})})})(),12582912&n.$$.dirty[1]&&z&&V&&(()=>{let e=new URL(`${V.split("?")[0]}`);e.searchParams.append("platform",fr(ee)),e.searchParams.append("language",P),fetch(e).then(e=>e.json()).then(e=>{var{details:e}=e[0];o(9,s=e)})})(),512&n.$$.dirty[0]&&s&&s&&(o(21,d=s.isOpen),ne=s.betLimit||{},h=s.openHours,o(22,re=(e=>{f=e.totalSeats||7,o(26,g=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=f;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value&&({value:{startTime:e,originalTimeFormat:t}}=h,o(19,u=e),o(20,te=t||te)),d&&o(18,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ye(oe,e)?t=jr:ye(se,e)&&(t=Wr)}}return t})(s)),o(23,ie=Sr[Z]),o(24,m=(ne.min||{})[Z]),o(25,p=(ne.max||{})[Z]),y=s.currentRouletteNumbers,v=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,o(27,b=w.toLowerCase()===zr),o(10,_=(b?v:y)||[]),o(28,S="GameProp LiveProps RoulleteProps"),o(28,S+=b?" Double":""),o(29,x=ye(se,w.toLowerCase())?ce:le),M=C,o(30,C=Array.isArray(g)&&g.length===f),s.dealer&&o(32,F=s.dealer.DealerName),E=s.numberOfPlayers,o(31,ae="ListGame"),d&&C&&m&&p&&s.currentOccupiedSeats?o(31,ae+=" GameContainerDimmed"):!1===d&&u&&o(31,ae+=" GameContainerFullyDimmed"),a&&(!M&&C?(o(31,ae+=" PulsatingRedShadow"),o(31,ae=ae.replace(" PulsatingGreenShadow",""))):M&&!C&&(o(31,ae+=" PulsatingGreenShadow"),o(31,ae=ae.replace(" PulsatingRedShadow",""))))),3072&n.$$.dirty[0]&&k&&_&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout(()=>{t.classList.remove(e)},2e3))})()},[H,D,O,A,R,N,$,U,W,s,_,k,q,J,!1,Q,i,a,c,u,te,d,re,ie,m,p,g,b,S,x,C,ae,F,t,ee,de,he,()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},()=>{window.postMessage({type:"GameHovered"},window.location.href)},()=>{window.postMessage({type:"GameBlur"},window.location.href)},ye,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ge(e)}-${ge(t)}`),E&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${E}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${t("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{e=`${e} ${r}`,r=t.toString().match(/first0|second0|0/g);return 0===t||r&&0!==r.length?`\n <span\n id=${t}\n class="${e}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${e}">\n ${n}\n </span>\n `},T,L,P,G,I,Y,B,j,z,V,Z,X,K,le,ce,function(e){De[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>he(N),()=>de(N),()=>he(N),function(e){De[e?"unshift":"push"](()=>{k=e,o(11,k)})},function(e){De[e?"unshift":"push"](()=>{a=e,o(17,a)})}]}function Xr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Kr(e,t,n){const r=e.slice();return r[76]=t[n],r[79]=t,r[78]=n,r}function qr(e,t,n){const r=e.slice();return r[76]=t[n],r[78]=n,r}function Jr(e){let n;function r(e){return e[11]?ni:e[21]?ti:void 0}let i=r(e),a=i&&i(e);return{c(){n=Z("div"),a&&a.c()},m(e,t){z(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},d(e){e&&V(n),a&&a.d()}}}function Qr(e){let n,r,i;function a(e){return e[15]?bi:e[12].length?vi:wi}let o=a(e),s=o(e);function l(e){return e[12]?Si:_i}let c=l(e),u=c(e);return{c(){n=Z("div"),r=Z("div"),s.c(),i=X(),u.c(),q(r,"class","CasinoGamesHeader Searched "+(pr(e[26])?"CasinoGamesHeaderMobile":"")),q(n,"class","CasinoGamesContainer")},m(e,t){z(e,n,t),W(n,r),s.m(r,null),W(n,i),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&V(n),s.d(),u.d()}}}function ei(e){let n;function r(e){return e[17]?ki:Mi}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),z(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&V(n)}}}function ti(n){let r,i,a,o,s,l,c,u=n[24].name+"";function d(e){return e[24]?ii:ri}let h=d(n),m=h(n);return{c(){r=Z("div"),i=Z("div"),a=Z("h3"),o=t(u),s=X(),l=Z("ul"),m.c(),q(a,"class","CategoryName"),q(i,"class","CasinoGamesHeader"),q(l,"class",c=(0!=n[24].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),q(r,"class","CasinoGamesContainer")},m(e,t){z(e,r,t),W(r,i),W(i,a),W(a,o),n[43](a),W(r,s),W(r,l),m.m(l,null),n[44](l)},p(e,t){16777216&t[0]&&u!==(u=e[24].name+"")&&J(o,u),h===(h=d(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(l,null))),16777216&t[0]&&c!==(c=(0!=e[24].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&q(l,"class",c)},d(e){e&&V(r),n[43](null),m.d(),n[44](null)}}}function ni(n){let r,i,a,o,s,l,c=n[11].name+"",u=n[13]&&pi(n);function d(e){return 0!==e[12].length?gi:fi}let h=d(n),m=h(n);return{c(){r=Z("div"),i=Z("div"),a=Z("h3"),o=t(c),s=X(),u&&u.c(),l=X(),m.c(),q(a,"class","CategoryName"),q(i,"class","CasinoGamesHeader"),q(r,"class","CasinoGamesContainer")},m(e,t){z(e,r,t),W(r,i),W(i,a),W(a,o),n[39](a),W(i,s),u&&u.m(i,null),W(r,l),m.m(r,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&J(o,c),e[13]?u?u.p(e,t):(u=pi(e),u.c(),u.m(i,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(r,null)))},d(e){e&&V(r),n[39](null),u&&u.d(),m.d()}}}function ri(e){let n;return{c(){n=Z("p"),n.textContent="Waiting"},m(e,t){z(e,n,t)},p:H,d(e){e&&V(n)}}}function ii(t){let r,i=t[24].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=mi(Xr(t,i,e));let o=null;return i.length||(o=ai(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);z(t,r,n),o&&o.m(t,n)},p(t,n){if(85983743&n[0]){let e;for(i=t[24].items,e=0;e<i.length;e+=1){const o=Xr(t,i,e);a[e]?a[e].p(o,n):(a[e]=mi(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):(o=ai(t),o.c(),o.m(r.parentNode,r))}},d(e){f(a,e),e&&V(r),o&&o.d(e)}}}function ai(e){let n,r,i,a,o,s,l,c=(t=e,(pr(t[26])?si:oi)(e));var t;return{c(){n=Z("p"),r=v("svg"),i=v("path"),a=X(),o=Z("span"),o.textContent="You do not have any favored games yet.",s=X(),c.c(),l=X(),S(i,"fill","white"),q(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),q(r,"version","1.1"),q(r,"class","UnfavoredIcon"),q(r,"xmlns","http://www.w3.org/2000/svg"),q(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),q(r,"x","50px"),q(r,"y","50px"),q(r,"viewBox","0 0 512.001 512.001"),S(r,"enable-background","new 0 0 512.001 512.001"),q(r,"xml:space","preserve"),q(o,"class","NoFavoriteText NoFavoriteTextHighlight"),q(n,"class","NoFavoriteGames "+(pr(e[26])?"NoFavoriteGamesMobile":""))},m(e,t){z(e,n,t),W(n,r),W(r,i),W(n,a),W(n,o),W(n,s),c.m(n,null),W(n,l)},p:H,d(e){e&&V(n),c.d()}}}function oi(e){let n;return{c(){n=Z("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",q(n,"class","NoFavoriteText")},m(e,t){z(e,n,t)},d(e){e&&V(n)}}}function si(e){let n;return{c(){n=Z("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",q(n,"class","NoFavoriteText")},m(e,t){z(e,n,t)},d(e){e&&V(n)}}}function li(e){let n,r=e[76].gameModel.isFavorite&&ci(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):(r=ci(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&V(n)}}}function ci(e){let n,r=function(e){let n,r,i;function a(e,t){return null==n&&(n=!!pr(e[26])),n?di:((null==r||16777216&t[0])&&(r=!!e[76].gameModel.platform.includes("PC")),r?ui:void 0)}let o=a(e,[-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),z(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&V(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&V(n)}}}function ui(e){let n,r,i,a,o,s,l,c,u,d,h,m;return{c(){n=Z("casino-game-thumbnail"),w(n,"class",r=""+(Ei+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"currency",e[7]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[76].gameModel.thumbnail),w(n,"gamename",a=e[76].gameModel.name),w(n,"gamevendor",o=e[76].gameModel.vendor.name),w(n,"gameisnew",s=e[76].gameModel.isNew),w(n,"gamepopularity",l=e[76].gameModel.popularity),w(n,"gamecellsize",c=e[76].gameModel.cellSize),w(n,"gameid",u=e[76].gameModel.id),w(n,"gamefunmode",d=e[76].gameModel.hasFunMode),w(n,"gamefavorite",h=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"livelobbyendpoint",m=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){z(e,n,t)},p(e,t){16777216&t[0]&&r!==(r=""+(Ei+(e[76].cellSize||"1x1")))&&w(n,"class",r),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),128&t[0]&&w(n,"currency",e[7]),16&t[0]&&w(n,"favorites",e[4]),16777216&t[0]&&i!==(i=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",i),16777216&t[0]&&a!==(a=e[76].gameModel.name)&&w(n,"gamename",a),16777216&t[0]&&o!==(o=e[76].gameModel.vendor.name)&&w(n,"gamevendor",o),16777216&t[0]&&s!==(s=e[76].gameModel.isNew)&&w(n,"gameisnew",s),16777216&t[0]&&l!==(l=e[76].gameModel.popularity)&&w(n,"gamepopularity",l),16777216&t[0]&&c!==(c=e[76].gameModel.cellSize)&&w(n,"gamecellsize",c),16777216&t[0]&&u!==(u=e[76].gameModel.id)&&w(n,"gameid",u),16777216&t[0]&&d!==(d=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",d),16777216&t[0]&&h!==(h=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",h),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),16777216&t[0]&&m!==(m=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&V(n)}}}function di(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),i=r&&hi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),z(e,n,t)},p(e,t){16777216&t[0]&&(r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android")),r?i?i.p(e,t):(i=hi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&V(n)}}}function hi(e){let n,r,i,a,o,s,l,c,u,d,h,m;return{c(){n=Z("casino-game-thumbnail"),w(n,"class",r=""+(Ei+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"currency",e[7]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[76].gameModel.thumbnail),w(n,"gamename",a=e[76].gameModel.name),w(n,"gamevendor",o=e[76].gameModel.vendor.name),w(n,"gameisnew",s=e[76].gameModel.isNew),w(n,"gamepopularity",l=e[76].gameModel.popularity),w(n,"gamecellsize",c=e[76].gameModel.cellSize),w(n,"gameid",u=e[76].gameModel.id),w(n,"gamefunmode",d=e[76].gameModel.hasFunMode),w(n,"gamefavorite",h=e[76].gameModel.isFavorite),w(n,"showfavoredcategory",e[21]),w(n,"livelobbyendpoint",m=e[76].gameModel.details?e[76].gameModel.href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){z(e,n,t)},p(e,t){16777216&t[0]&&r!==(r=""+(Ei+(e[76].cellSize||"1x1")))&&w(n,"class",r),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),128&t[0]&&w(n,"currency",e[7]),16&t[0]&&w(n,"favorites",e[4]),16777216&t[0]&&i!==(i=e[76].gameModel.thumbnail)&&w(n,"gamethumbnail",i),16777216&t[0]&&a!==(a=e[76].gameModel.name)&&w(n,"gamename",a),16777216&t[0]&&o!==(o=e[76].gameModel.vendor.name)&&w(n,"gamevendor",o),16777216&t[0]&&s!==(s=e[76].gameModel.isNew)&&w(n,"gameisnew",s),16777216&t[0]&&l!==(l=e[76].gameModel.popularity)&&w(n,"gamepopularity",l),16777216&t[0]&&c!==(c=e[76].gameModel.cellSize)&&w(n,"gamecellsize",c),16777216&t[0]&&u!==(u=e[76].gameModel.id)&&w(n,"gameid",u),16777216&t[0]&&d!==(d=e[76].gameModel.hasFunMode)&&w(n,"gamefunmode",d),16777216&t[0]&&h!==(h=e[76].gameModel.isFavorite)&&w(n,"gamefavorite",h),2097152&t[0]&&w(n,"showfavoredcategory",e[21]),16777216&t[0]&&m!==(m=e[76].gameModel.details?e[76].gameModel.href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&V(n)}}}function mi(e){let n,r=e[76].gameModel&&li(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):(r=li(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&V(n)}}}function pi(n){let r,i,a,o,s,l,c,u,d=n[25]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){r=Z("a"),i=Z("span"),a=t(d),o=t(" ("),s=t(h),l=t(")"),q(i,"class","CategoryLoadMore"),q(r,"class","CategoryNameLink")},m(e,t){z(e,r,t),W(r,i),W(i,a),W(i,o),W(i,s),W(i,l),c||(u=K(r,"click",n[40]),c=!0)},p(e,t){33554432&t[0]&&d!==(d=e[25]("gamesCategorySection.viewAll")+"")&&J(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&J(s,h)},d(e){e&&V(r),c=!1,u()}}}function fi(e){let n;return{c(){n=Z("p"),n.textContent="You don't have any games in this category.",q(n,"class","NoSearchResults")},m(e,t){z(e,n,t)},p:H,d(e){e&&V(n)}}}function gi(n){let i,e,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=yi(Kr(n,a,e));return{c(){i=Z("ul");for(let e=0;e<o.length;e+=1)o[e].c();q(i,"class",e=(0===n[24].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){z(e,i,t);for(let e=0;e<o.length;e+=1)o[e].m(i,null);n[42](i)},p(t,n){if(142611455&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){var r=Kr(t,a,e);o[e]?o[e].p(r,n):(o[e]=yi(r),o[e].c(),o[e].m(i,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}18874368&n[0]&&e!==(e=(0===t[24].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&q(i,"class",e)},d(e){e&&V(i),f(o,e),n[42](null)}}}function yi(e){let n,r=function(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g=n[78];const y=()=>n[41](r,g),v=()=>n[41](null,g);return{c(){r=Z("casino-game-thumbnail"),w(r,"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"currency",n[7]),w(r,"class",i=""+(Ei+(n[76].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",a=n[76].thumbnail),w(r,"gamename",o=n[76].name),w(r,"gamevendor",s=n[76].vendor.name),w(r,"gameisnew",l=n[76].isNew),w(r,"gamepopularity",c=n[76].popularity),w(r,"gamecellsize",u=n[76].cellSize),w(r,"gameid",d=n[76].id),w(r,"gamefunmode",h=n[76].hasFunMode),w(r,"gamefavorite",m=n[76].isFavorite),w(r,"connectlive",p=1==n[27][n[76].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[23]),w(r,"livelobbyendpoint",f=n[76].details?n[76].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8])},m(e,t){z(e,r,t),y()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),128&t[0]&&w(r,"currency",n[7]),4096&t[0]&&i!==(i=""+(Ei+(n[76].cellSize||"1x1")))&&w(r,"class",i),16&t[0]&&w(r,"favorites",n[4]),4096&t[0]&&a!==(a=n[76].thumbnail)&&w(r,"gamethumbnail",a),4096&t[0]&&o!==(o=n[76].name)&&w(r,"gamename",o),4096&t[0]&&s!==(s=n[76].vendor.name)&&w(r,"gamevendor",s),4096&t[0]&&l!==(l=n[76].isNew)&&w(r,"gameisnew",l),4096&t[0]&&c!==(c=n[76].popularity)&&w(r,"gamepopularity",c),4096&t[0]&&u!==(u=n[76].cellSize)&&w(r,"gamecellsize",u),4096&t[0]&&d!==(d=n[76].id)&&w(r,"gameid",d),4096&t[0]&&h!==(h=n[76].hasFunMode)&&w(r,"gamefunmode",h),4096&t[0]&&m!==(m=n[76].isFavorite)&&w(r,"gamefavorite",m),4096&t[0]&&p!==(p=1==n[27][n[76].id]?"connect":"disconnect")&&w(r,"connectlive",p),8388608&t[0]&&w(r,"visibilityconnect",n[23]),4096&t[0]&&f!==(f=n[76].details?n[76].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),g!==n[78]&&(v(),g=n[78],y())},d(e){e&&V(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&V(n)}}}function vi(e){let n,r,i=e[25]("gamesCategorySection.searchedItems")+"";return{c(){n=Z("h3"),r=t(i),q(n,"class","StatusText")},m(e,t){z(e,n,t),W(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamesCategorySection.searchedItems")+"")&&J(r,i)},d(e){e&&V(n)}}}function wi(e){let n,r,i=e[25]("gamesCategorySection.noResults")+"";return{c(){n=Z("h3"),r=t(i),q(n,"class","StatusText")},m(e,t){z(e,n,t),W(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamesCategorySection.noResults")+"")&&J(r,i)},d(e){e&&V(n)}}}function bi(e){let n,r,i=e[25]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=Z("h3"),r=t(i),q(n,"class","StatusText")},m(e,t){z(e,n,t),W(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamesCategorySection.recentSearchedItems")+"")&&J(r,i)},d(e){e&&V(n)}}}function _i(e){let n;return{c(){n=Z("p"),n.textContent="Waiting",q(n,"class","SearchWaiting")},m(e,t){z(e,n,t)},p:H,d(e){e&&V(n)}}}function Si(t){let r,i,a=!t[18]&&xi(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ci(qr(t,o,e));return{c(){a&&a.c(),r=X(),i=Z("ul");for(let e=0;e<s.length;e+=1)s[e].c();q(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),z(e,r,t),z(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=xi(t),a.c(),a.m(r.parentNode,r)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=qr(t,o,e);s[e]?s[e].p(a,n):(s[e]=Ci(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&V(r),e&&V(i),f(s,e)}}}function xi(e){let n,r,i=e[25]("gamesCategorySection.noRecentSearch")+"";return{c(){n=Z("p"),r=t(i),q(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(pr(e[26])?"NoRecentSearchesMobile":""))},m(e,t){z(e,n,t),W(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamesCategorySection.noRecentSearch")+"")&&J(r,i)},d(e){e&&V(n)}}}function Ci(e){let n,r,i,a,o,s,l,c,u,d,h,m;return{c(){n=Z("casino-game-thumbnail"),w(n,"class",r=""+(Ei+(e[76].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"currency",e[7]),w(n,"searchitem",e[16]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[76].thumbnail),w(n,"gamename",a=e[76].name),w(n,"gamevendor",o=e[76].vendor.name),w(n,"gameisnew",s=e[76].isNew),w(n,"gamepopularity",l=e[76].popularity),w(n,"gamecellsize",c=e[76].cellSize),w(n,"gameid",u=e[76].id),w(n,"gamefunmode",d=e[76].hasFunMode),w(n,"gamefavorite",h=e[76].isFavorite),w(n,"livelobbyendpoint",m=e[76].details?e[76].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8])},m(e,t){z(e,n,t)},p(e,t){4096&t[0]&&r!==(r=""+(Ei+(e[76].cellSize||"1x1")))&&w(n,"class",r),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),128&t[0]&&w(n,"currency",e[7]),65536&t[0]&&w(n,"searchitem",e[16]),16&t[0]&&w(n,"favorites",e[4]),4096&t[0]&&i!==(i=e[76].thumbnail)&&w(n,"gamethumbnail",i),4096&t[0]&&a!==(a=e[76].name)&&w(n,"gamename",a),4096&t[0]&&o!==(o=e[76].vendor.name)&&w(n,"gamevendor",o),4096&t[0]&&s!==(s=e[76].isNew)&&w(n,"gameisnew",s),4096&t[0]&&l!==(l=e[76].popularity)&&w(n,"gamepopularity",l),4096&t[0]&&c!==(c=e[76].cellSize)&&w(n,"gamecellsize",c),4096&t[0]&&u!==(u=e[76].id)&&w(n,"gameid",u),4096&t[0]&&d!==(d=e[76].hasFunMode)&&w(n,"gamefunmode",d),4096&t[0]&&h!==(h=e[76].isFavorite)&&w(n,"gamefavorite",h),4096&t[0]&&m!==(m=e[76].details?e[76].href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8])},d(e){e&&V(n)}}}function Mi(e){let n;return{c(){n=Z("p"),n.textContent="500 Error - Internal Server Error.",q(n,"class","SearchLoading")},m(e,t){z(e,n,t)},d(e){e&&V(n)}}}function ki(e){let n;return{c(){n=Z("p"),n.textContent="404 Error - No result found.",q(n,"class","SearchLoading")},m(e,t){z(e,n,t)},d(e){e&&V(n)}}}function Fi(n){let r;function i(e){return e[10]?ei:e[14]?Qr:Jr}let a=i(n),o=a(n);return{c(){r=Z("div"),o.c(),this.c=H,q(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){z(e,r,t),o.m(r,null),n[45](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:H,o:H,d(e){e&&V(r),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends T{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:cover;transition:all 150ms ease-in-out}.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:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;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:4.8px;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:14.4px;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:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.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}@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 .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;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.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:1.6px;margin:0 1px;margin-right:6.4px;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:4.8px;padding:1.6px}}.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:10px;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 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",E(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zr,Hr,n,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,endpoint:53,livelobbyendpoint:54,currency:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},[-1,-1,-1,-1]),e&&(e.target&&z(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint","livelobbyendpoint","currency","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$set({session:e}),k()}get userid(){return this.$$.ctx[46]}set userid(e){this.$set({userid:e}),k()}get lang(){return this.$$.ctx[47]}set lang(e){this.$set({lang:e}),k()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$set({clientstylingurl:e}),k()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$set({favorites:e}),k()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$set({gamethumbnail:e}),k()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$set({gamename:e}),k()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$set({gamevendor:e}),k()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$set({gameid:e}),k()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$set({gameisnew:e}),k()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$set({gamepopularity:e}),k()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$set({gamefunmode:e}),k()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$set({searchitem:e}),k()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$set({gamefavorite:e}),k()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$set({showfavoredcategory:e}),k()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$set({showgamename:e}),k()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$set({endpoint:e}),k()}get livelobbyendpoint(){return this.$$.ctx[54]}set livelobbyendpoint(e){this.$set({livelobbyendpoint:e}),k()}get currency(){return this.$$.ctx[55]}set currency(e){this.$set({currency:e}),k()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$set({connectlive:e}),k()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$set({visibilityconnect:e}),k()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const Ei="game-tile-";function Ti(e,t,s){let n;Ge(e,mr,e=>s(25,n=e));var r=this&&this.__awaiter||function(e,o,s,l){return new(s=s||Promise)(function(n,t){function r(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(r,i)}a((l=l.apply(e,o||[])).next())})};let i,a,o,l,c,u,d,h,m,{endpoint:p=""}=t,{datasource:f=""}=t,{lang:g=""}=t,{session:y=""}=t,{userid:v=""}=t,{favorites:w=""}=t,{clientstyling:b=""}=t,{clientstylingurl:_=""}=t,{currency:S="EUR"}=t,{categoryid:x=""}=t,{categoryindex:C=0}=t,{categorygames:M=0}=t,{livecasino:k="false"}=t,{once:F=!0}=t,{top:E=0}=t,{bottom:T=0}=t,{left:L=0}=t,{right:P=0}=t,G=!1,I=!0,D=window.navigator.userAgent,O=[],A=!0,R=40,N=!1,$=!1,U=!1,Y=!1,B=!0,H=!1,j=!1,W=!1,z=new Array(1e4),V={items:[],count:0,name:""};Object.keys(yr).forEach(e=>{Vn(e,yr[e])});let Z=new IntersectionObserver((e,t)=>{e.forEach(t=>r(void 0,void 0,void 0,function*(){var e=t.target.elems_index;t.isIntersecting&&1.2*e>R&&q(x)}))});const X=(e,r,i,t=0)=>{let a=new URL(`${p}/casino/groups/${f}/${x}`),o=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",fr(D)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",g),window.postMessage({type:"CategoryVendors",categoryid:x},window.location.href),o&&o[x])if(o[x].length&&!1===I&&!1===H){let t="";s(17,Y=!0),o[x].forEach(e=>{t+=t?`, id=${e}`:`id=${e}`}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,Y=!1);fetch(a).then(e=>e.json()).then(e=>{s(38,m=!0),s(10,G=!1),c=e.games.total,t(e)},e=>{s(10,G=!0),console.error(e),n(e)})})},K=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,N=!1),I=!1,s(13,A=!1),j=!0,s(12,O=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,N=!0),j=!1,s(15,$=!0),0<t.data.searchData.length?(s(12,O=t.data.searchData),s(18,B=!0),O&&O.forEach(e=>{e.isFavorite=J(e.id)})):(s(12,O=[]),s(18,B=!1));break;case"OutOfRecentSearches":s(14,N=!1),s(15,$=!1);break;case"SearchData":s(14,N=!0),j=!1,s(15,$=!1),s(12,O=t.data.searchData.items||[]),s(16,U=!0),t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),O&&O.forEach(e=>{e.isFavorite=J(e.id)});break;case`CategoryData_${x}`:s(14,N=!1),I=!0,s(13,A=!0),s(16,U=!1),j=!1,W=!1,t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items),X(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,O=o.games.items),O&&O.forEach(e=>{e.isFavorite=J(e.id)})});break;case"CategoryChange":R=20;break;case"CategoryUpdate":s(14,N=!1),I=!1,s(16,U=!1),j=!1,s(13,A=!1),W=!0,s(29,x=t.data.itemId),X(0,0,R).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=J(e.id)}),s(12,O=o.games.items),s(13,A=!1)});break;case"FavoriteUpdate":s(14,N=!1),j=!1,I=!0,s(12,O=o.games.items),O.forEach(e=>{e.isFavorite=J(e.id)}),s(13,A=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(d=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!H?window.postMessage({type:"FavoriteUpdate"},window.location.href):I||j||window.postMessage({type:"CategoryUpdate",itemId:x},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(24,V.items=(n=e,V.items,r=window.navigator.userAgent,pr(r)?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})),V),s(24,V.name="Favorites",V),s(21,H=!0));break;case"UserSessionID":i=t.data.session,a=t.data.userID,"true"==w&&a&&a.length&&i&&0<i.length&&(e=>{let r={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(e,r).then(e=>e.json()).then(e=>{d=e?e.items:[],O.forEach(e=>{e.isFavorite=J(e.id)});e=O;s(12,O=void 0),s(12,O=e),t(d)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${a}/favorites/`)}var n,r},q=e=>{R+=10,R<=c&&X(0,0,R).then(e=>{s(11,o=e),s(12,O=o.games.items),O.forEach(e=>{e.isFavorite=J(e.id)})})},J=t=>!!d&&-1!==d.findIndex(e=>e.id==t),Q=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Ie(()=>(window.addEventListener("message",K,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",K)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(30,f=e.datasource),"lang"in e&&s(1,g=e.lang),"session"in e&&s(2,y=e.session),"userid"in e&&s(3,v=e.userid),"favorites"in e&&s(4,w=e.favorites),"clientstyling"in e&&s(5,b=e.clientstyling),"clientstylingurl"in e&&s(6,_=e.clientstylingurl),"currency"in e&&s(7,S=e.currency),"categoryid"in e&&s(29,x=e.categoryid),"categoryindex"in e&&s(31,C=e.categoryindex),"categorygames"in e&&s(32,M=e.categorygames),"livecasino"in e&&s(8,k=e.livecasino),"once"in e&&s(33,F=e.once),"top"in e&&s(34,E=e.top),"bottom"in e&&s(35,T=e.bottom),"left"in e&&s(36,L=e.left),"right"in e&&s(37,P=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|128&e.$$.dirty[1]&&m&&z&&W&&z.forEach((e,t)=>{e&&(e.elems_index=t,Z.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,setTimeout(()=>{h.appendChild(e)})})(),64&e.$$.dirty[0]&&_&&(()=>{let t=document.createElement("style");fetch(new URL(_)).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)})})()},[p,g,y,v,w,b,_,S,k,z,G,o,O,A,N,$,U,Y,B,l,u,H,h,"",V,n,D,{},Q,x,f,C,M,F,E,T,L,P,m,function(e){De[e?"unshift":"push"](()=>{u=e,s(20,u)})},e=>Q(o.id,o),function(e,t){De[e?"unshift":"push"](()=>{z[t]=e,s(9,z)})},function(e){De[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){De[e?"unshift":"push"](()=>{u=e,s(20,u)})},function(e){De[e?"unshift":"push"](()=>{l=e,s(19,l)})},function(e){De[e?"unshift":"push"](()=>{h=e,s(22,h)})}]}function Li(e,t,n){const r=e.slice();return r[116]=t[n],r[118]=n,r}function Pi(n){let r,i,a,o,s,l="PC"!==fr(n[38])&&"false"===n[9]&&n[34],c=l&&Ii(),u=n[13]&&Di(n);function d(e){return"false"===e[9]?Ri:Ai}let h=d(n),m=h(n);function p(e){return e[15]?na:e[22]?ta:e[25]?ea:e[20]?Qi:e[26]?Ji:e[21]?void 0:qi}let f=p(n),g=f&&f(n),y=n[17]&&"true"===n[12]&&oa(n);return{c(){r=Z("section"),c&&c.c(),i=X(),u&&u.c(),a=X(),m.c(),o=X(),g&&g.c(),s=X(),y&&y.c(),q(r,"class","CategoriesLobby"),S(r,"max-width",n[11]+"px")},m(e,t){z(e,r,t),c&&c.m(r,null),W(r,i),u&&u.m(r,null),W(r,a),m.m(r,null),W(r,o),g&&g.m(r,null),W(r,s),y&&y.m(r,null),n[70](r)},p(e,t){512&t[0]|8&t[1]&&(l="PC"!==fr(e[38])&&"false"===e[9]&&e[34]),l?c||(c=Ii(),c.c(),c.m(r,i)):c&&(c.d(1),c=null),e[13]?u?u.p(e,t):(u=Di(e),u.c(),u.m(r,a)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(r,o))),f===(f=p(e))&&g?g.p(e,t):(g&&g.d(1),g=f&&f(e),g&&(g.c(),g.m(r,s))),e[17]&&"true"===e[12]?y?y.p(e,t):(y=oa(e),y.c(),y.m(r,null)):y&&(y.d(1),y=null),2048&t[0]&&S(r,"max-width",e[11]+"px")},d(e){e&&V(r),c&&c.d(),u&&u.d(),m.d(),g&&g.d(),y&&y.d(),n[70](null)}}}function Gi(e){let n;return{c(){n=Z("p"),n.textContent="500 Error - Internal Server Error",q(n,"class","SearchLoading")},m(e,t){z(e,n,t)},p:H,d(e){e&&V(n)}}}function Ii(){let n;return{c(){n=Z("div"),q(n,"class","SearchBarPlaceholder")},m(e,t){z(e,n,t)},d(e){e&&V(n)}}}function Di(e){let n,r=!e[20]&&!e[25]&&!e[34]&&e[35]&&"PC"!==fr(e[38]),i=r&&Oi(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),z(e,n,t)},p(e,t){34603008&t[0]|24&t[1]&&(r=!e[20]&&!e[25]&&!e[34]&&e[35]&&"PC"!==fr(e[38])),r?i?i.p(e,t):(i=Oi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&V(n)}}}function Oi(n){let r,i,a;return{c(){r=Z("div"),r.innerHTML='<div class="ClearButton">Clear\n <span class="ClearIcon"><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></span></div>',q(r,"class","ClearFilterMobileButtonWrapper")},m(e,t){z(e,r,t),i||(a=K(r,"click",n[56]),i=!0)},p:H,d(e){e&&V(r),i=!1,a()}}}function Ai(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y="PC"===fr(n[38])&&n[14].length||"PC"!==fr(n[38]),v=!n[34]&&Ni(),w=y&&$i(n),b=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[24]&&!n[22]&&!n[23]&&Ui(n);return{c(){r=Z("div"),i=Z("div"),a=Z("label"),a.textContent="Search casino games",o=X(),s=Z("div"),v&&v.c(),l=X(),c=Z("input"),d=X(),w&&w.c(),m=X(),b&&b.c(),q(a,"for","search"),q(a,"class","SrOnly"),q(c,"id","SearchField"),q(c,"class","SearchInput"),q(c,"placeholder",u="PC"===fr(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),q(c,"type","search"),q(s,"class","SearchWrapper"),q(i,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),q(r,"class",p="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==fr(n[38])&&!la?"CategoriesHeaderSearchActive":"")+(n[28]&&n[34]?"SearchStickTop":"")),S(r,"top",n[28]&&n[34]?ca+"px":"")},m(e,t){z(e,r,t),W(r,i),W(i,a),W(i,o),W(i,s),v&&v.m(s,null),W(s,l),W(s,c),n[63](c),_(c,n[14]),W(s,d),w&&w.m(s,null),W(r,m),b&&b.m(r,null),n[68](r),f||(g=[K(c,"focus",n[40]),K(c,"blur",n[41]),K(c,"input",n[64]),K(c,"focus",n[42])],f=!0)},p(e,t){e[34]?v&&(v.d(1),v=null):v||(v=Ni(),v.c(),v.m(s,l)),64&t[1]&&u!==(u="PC"===fr(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&q(c,"placeholder",u),16384&t[0]&&_(c,e[14]),16384&t[0]&&(y="PC"===fr(e[38])&&e[14].length||"PC"!==fr(e[38])),y?w?w.p(e,t):(w=$i(e),w.c(),w.m(s,null)):w&&(w.d(1),w=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&q(i,"class",h),e[20]||e[25]||e[34]||e[26]||e[21]||e[24]||e[22]||e[23]?b&&(b.d(1),b=null):b?b.p(e,t):(b=Ui(e),b.c(),b.m(r,null)),272629760&t[0]|8&t[1]&&p!==(p="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==fr(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==fr(e[38])&&!la?"CategoriesHeaderSearchActive":"")+(e[28]&&e[34]?"SearchStickTop":""))&&q(r,"class",p),268435456&t[0]|8&t[1]&&S(r,"top",e[28]&&e[34]?ca+"px":"")},d(e){e&&V(r),v&&v.d(),n[63](null),w&&w.d(),b&&b.d(),n[68](null),f=!1,j(g)}}}function Ri(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y="PC"===fr(n[38])&&n[14].length||"PC"!==fr(n[38]),v=!n[34]&&Wi(),w=y&&zi(n),b=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[22]&&!n[24]&&!n[23]&&Vi(n);return{c(){r=Z("div"),i=Z("div"),a=Z("label"),a.textContent="Search casino games",o=X(),s=Z("div"),v&&v.c(),l=X(),c=Z("input"),d=X(),w&&w.c(),m=X(),b&&b.c(),q(a,"for","search"),q(a,"class","SrOnly"),q(c,"id","SearchField"),q(c,"class","SearchInput"),q(c,"placeholder",u="PC"===fr(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),q(c,"type","search"),q(s,"class","SearchWrapper"),q(i,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),q(r,"class",p="CategoriesHeaderSection "+("PC"!==fr(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==fr(n[38])&&!la?"CategoriesHeaderSearchActive":"")+" "+(n[28]&&n[34]?"SearchStickTop":"")),S(r,"top",n[28]&&n[34]?ca+"px":"")},m(e,t){z(e,r,t),W(r,i),W(i,a),W(i,o),W(i,s),v&&v.m(s,null),W(s,l),W(s,c),n[57](c),_(c,n[14]),W(s,d),w&&w.m(s,null),W(r,m),b&&b.m(r,null),n[62](r),f||(g=[K(c,"focus",n[40]),K(c,"blur",n[41]),K(c,"input",n[58]),K(c,"focus",n[42])],f=!0)},p(e,t){e[34]?v&&(v.d(1),v=null):v||(v=Wi(),v.c(),v.m(s,l)),64&t[1]&&u!==(u="PC"===fr(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&q(c,"placeholder",u),16384&t[0]&&_(c,e[14]),16384&t[0]&&(y="PC"===fr(e[38])&&e[14].length||"PC"!==fr(e[38])),y?w?w.p(e,t):(w=zi(e),w.c(),w.m(s,null)):w&&(w.d(1),w=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&q(i,"class",h),e[20]||e[25]||e[34]||e[26]||e[21]||e[22]||e[24]||e[23]?b&&(b.d(1),b=null):b?b.p(e,t):(b=Vi(e),b.c(),b.m(r,null)),272629760&t[0]|8&t[1]&&p!==(p="CategoriesHeaderSection "+("PC"!==fr(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==fr(e[38])&&!la?"CategoriesHeaderSearchActive":"")+" "+(e[28]&&e[34]?"SearchStickTop":""))&&q(r,"class",p),268435456&t[0]|8&t[1]&&S(r,"top",e[28]&&e[34]?ca+"px":"")},d(e){e&&V(r),v&&v.d(),n[57](null),w&&w.d(),b&&b.d(),n[62](null),f=!1,j(g)}}}function Ni(){let n;return{c(){n=Z("div"),n.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>',q(n,"class","SearchIcon")},m(e,t){z(e,n,t)},d(e){e&&V(n)}}}function $i(n){let r,i,a,o;return{c(){r=Z("span"),i=Z("div"),i.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',q(i,"class","CloseIconContainer"),q(r,"class",("PC"===fr(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")+" ")},m(e,t){z(e,r,t),W(r,i),a||(o=K(r,"click",n[65]),a=!0)},p:H,d(e){e&&V(r),a=!1,o()}}}function Ui(e){let n,r,i=e[35]&&Yi(e),a=(!e[22]||!e[21])&&Bi(e);return{c(){n=Z("div"),i&&i.c(),r=X(),a&&a.c(),q(n,"class","FiltersButtonsContainer ")},m(e,t){z(e,n,t),i&&i.m(n,null),W(n,r),a&&a.m(n,null)},p(e,t){e[35]?i?i.p(e,t):(i=Yi(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Bi(e),a.c(),a.m(n,null))},d(e){e&&V(n),i&&i.d(),a&&a.d()}}}function Yi(n){let r,i,a,o,s;return{c(){r=Z("div"),i=Z("div"),i.innerHTML='Clear\n <span class="ClearIcon"><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></span>',q(i,"class","ClearButton"),q(r,"class",a="ClearFilterButtonWrapper "+(n[35]?"FiltersActive":"")+" ")},m(e,t){z(e,r,t),W(r,i),o||(s=K(r,"click",n[66]),o=!0)},p(e,t){16&t[1]&&a!==(a="ClearFilterButtonWrapper "+(e[35]?"FiltersActive":"")+" ")&&q(r,"class",a)},d(e){e&&V(r),o=!1,s()}}}function Bi(e){let n,r=!e[26]&&Hi(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[26]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Hi(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&V(n)}}}function Hi(n){let r,i,a,o,s,l,c,u,d,h,m,p,f=0<n[35]&&ji(n);return{c(){r=Z("div"),i=Z("div"),i.textContent="Filters",a=X(),o=Z("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=X(),f&&f.c(),q(i,"class","FilterButton"),q(d,"class","a"),q(d,"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"),q(d,"transform","translate(-5 -6.2)"),q(s,"xmlns","http://www.w3.org/2000/svg"),q(s,"width","20"),q(s,"height","20"),q(s,"viewBox","0 0 26 26"),q(o,"class","FilterIconContainer"),q(r,"class","FilterButtonWrapper")},m(e,t){z(e,r,t),W(r,i),W(r,a),W(r,o),W(o,s),W(s,l),W(l,c),W(c,u),W(s,d),W(o,h),f&&f.m(o,null),m||(p=K(r,"click",n[67]),m=!0)},p(e,t){0<e[35]?f?f.p(e,t):(f=ji(e),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},d(e){e&&V(r),f&&f.d(),m=!1,p()}}}function ji(e){let n,r,i;return{c(){n=Z("div"),r=Z("span"),i=t(e[35]),q(r,"class","NumberOfFilters"),q(n,"class","NumberOfFiltersContainer")},m(e,t){z(e,n,t),W(n,r),W(r,i)},p(e,t){16&t[1]&&J(i,e[35])},d(e){e&&V(n)}}}function Wi(){let n;return{c(){n=Z("div"),n.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>',q(n,"class","SearchIcon")},m(e,t){z(e,n,t)},d(e){e&&V(n)}}}function zi(n){let r,i,a,o;return{c(){r=Z("span"),i=Z("div"),i.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',q(i,"class","CloseIconContainer"),q(r,"class",("PC"===fr(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")+" ")},m(e,t){z(e,r,t),W(r,i),a||(o=K(r,"click",n[59]),a=!0)},p:H,d(e){e&&V(r),a=!1,o()}}}function Vi(e){let n,r,i=e[35]&&Zi(e),a=(!e[22]||!e[21])&&Xi(e);return{c(){n=Z("div"),i&&i.c(),r=X(),a&&a.c(),q(n,"class","FiltersButtonsContainer")},m(e,t){z(e,n,t),i&&i.m(n,null),W(n,r),a&&a.m(n,null)},p(e,t){e[35]?i?i.p(e,t):(i=Zi(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Xi(e),a.c(),a.m(n,null))},d(e){e&&V(n),i&&i.d(),a&&a.d()}}}function Zi(n){let r,i,a;return{c(){r=Z("div"),r.innerHTML='<div class="ClearButton">Clear\n <span class="ClearIcon"><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></span></div>',q(r,"class","ClearFilterButtonWrapper")},m(e,t){z(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:H,d(e){e&&V(r),i=!1,a()}}}function Xi(e){let n,r=!e[26]&&Ki(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),z(e,n,t)},p(e,t){e[26]?r&&(r.d(1),r=null):r?r.p(e,t):(r=Ki(e),r.c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&V(n)}}}function Ki(n){let r,i,a,o,s,l,c,u,d,h,m,p,f,g,y;return{c(){r=Z("div"),i=Z("div"),i.textContent="Filters",a=X(),o=Z("div"),s=v("svg"),l=v("defs"),c=v("style"),u=t(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=v("path"),h=X(),m=Z("div"),p=Z("span"),f=t(n[35]),q(i,"class","FilterButton"),q(d,"class","a"),q(d,"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"),q(d,"transform","translate(-5 -6.2)"),q(s,"xmlns","http://www.w3.org/2000/svg"),q(s,"width","20"),q(s,"height","20"),q(s,"viewBox","0 0 26 26"),q(p,"class","NumberOfFilters"),q(m,"class","NumberOfFiltersContainer"),q(o,"class","FilterIconContainer"),q(r,"class","FilterButtonWrapper")},m(e,t){z(e,r,t),W(r,i),W(r,a),W(r,o),W(o,s),W(s,l),W(l,c),W(c,u),W(s,d),W(o,h),W(o,m),W(m,p),W(p,f),g||(y=K(r,"click",n[61]),g=!0)},p(e,t){16&t[1]&&J(f,e[35])},d(e){e&&V(r),g=!1,y()}}}function qi(e){let n;return{c(){n=Z("casino-games-category-section"),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[10]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[31]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[13])},m(e,t){z(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),1024&t[0]&&w(n,"favorites",e[10]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),1&t[1]&&w(n,"categoryid",e[31]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),8192&t[0]&&w(n,"livecasino",e[13])},d(e){e&&V(n)}}}function Ji(e){let n;function r(e){return e[27]?ia:ra}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),z(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&V(n)}}}function Qi(n){let r,i,a,o;return{c(){r=Z("casino-games-category-section"),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[10]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[13])},m(e,t){z(e,r,t),a||(o=l(i=n[39].call(null,r,(n[0],n[18],n[19],n[18]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),1024&t[0]&&w(r,"favorites",e[10]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),8192&t[0]&&w(r,"livecasino",e[13]),i&&m(i.update)&&786433&t[0]&&i.update.call(null,(e[0],e[18],e[19],e[18]))},d(e){e&&V(r),a=!1,o()}}}function ea(t){let i,a=t[30],o=[];for(let e=0;e<a.length;e+=1)o[e]=aa(Li(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);z(t,i,n)},p(t,n){if(1073751551&n[0]){let e;for(a=t[30],e=0;e<a.length;e+=1){var r=Li(t,a,e);o[e]?o[e].p(r,n):(o[e]=aa(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){f(o,e),e&&V(i)}}}function ta(n){let r,i,a,o;return{c(){r=Z("casino-games-category-section"),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[10]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[13])},m(e,t){z(e,r,t),a||(o=l(i=n[47].call(null,r,n[29])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1024&t[0]&&w(r,"favorites",e[10]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),8192&t[0]&&w(r,"livecasino",e[13]),i&&m(i.update)&&536870912&t[0]&&i.update.call(null,e[29])},d(e){e&&V(r),a=!1,o()}}}function na(e){let n,r,i=e[37]("casinoPage.loading")+"";return{c(){n=Z("p"),r=t(i),q(n,"class","SearchLoading")},m(e,t){z(e,n,t),W(n,r)},p(e,t){64&t[1]&&i!==(i=e[37]("casinoPage.loading")+"")&&J(r,i)},d(e){e&&V(n)}}}function ra(e){let n;return{c(){n=Z("casino-games-category-section"),w(n,"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[10]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[13])},m(e,t){z(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),1024&t[0]&&w(n,"favorites",e[10]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),8192&t[0]&&w(n,"livecasino",e[13])},d(e){e&&V(n)}}}function ia(e){let n;return{c(){n=Z("p"),n.textContent="You have no games played!",q(n,"class","SearchLoading")},m(e,t){z(e,n,t)},p:H,d(e){e&&V(n)}}}function aa(n){let r,i,a,o,s;return{c(){r=Z("casino-games-category-section"),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"categoryid",i=n[116]),w(r,"categoryindex",n[118]),w(r,"categorygames","9"),w(r,"favorites",n[10]),w(r,"class","CategoryContainer"),S(r,"background-color",n[118]%2!=0?n[8]:"transparent"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[13])},m(e,t){z(e,r,t),o||(s=l(a=n[46].call(null,r,n[116])),o=!0)},p(e,t){n=e,16&t[0]&&w(r,"session",n[4]),32&t[0]&&w(r,"userid",n[5]),1&t[0]&&w(r,"endpoint",n[0]),2&t[0]&&w(r,"datasource",n[1]),8&t[0]&&w(r,"lang",n[3]),4&t[0]&&w(r,"currency",n[2]),1073741824&t[0]&&i!==(i=n[116])&&w(r,"categoryid",i),1024&t[0]&&w(r,"favorites",n[10]),256&t[0]&&S(r,"background-color",n[118]%2!=0?n[8]:"transparent"),64&t[0]&&w(r,"clientstyling",n[6]),128&t[0]&&w(r,"clientstylingurl",n[7]),8192&t[0]&&w(r,"livecasino",n[13]),a&&m(a.update)&&1073741824&t[0]&&a.update.call(null,n[116])},d(e){e&&V(r),o=!1,s()}}}function oa(n){let r,i,a,o,s,l,c,u,d,h,m,p,f=n[37]("casinoPage.break")+"",g=n[37]("casinoPage.breakButton")+"";return{c(){r=Z("div"),i=Z("div"),a=v("svg"),o=v("path"),s=X(),l=Z("p"),c=t(f),u=X(),d=Z("button"),h=t(g),q(o,"stroke-linecap","round"),q(o,"stroke-linejoin","round"),q(o,"stroke-width","2"),q(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),q(a,"class","w-1 h-1"),q(a,"fill","none"),q(a,"stroke","white"),q(a,"width","34px"),q(a,"height","34px"),q(a,"viewBox","0 0 24 24"),q(a,"xmlns","http://www.w3.org/2000/svg"),q(i,"class","PanicText"),q(d,"class","PanicButton"),q(r,"class","PanicSection "+("PC"!==fr(n[38])?"PanicSectionMobile":""))},m(e,t){z(e,r,t),W(r,i),W(i,a),W(a,o),W(i,s),W(i,l),W(l,c),W(r,u),W(r,d),W(d,h),m||(p=K(d,"click",n[69]),m=!0)},p(e,t){64&t[1]&&f!==(f=e[37]("casinoPage.break")+"")&&J(c,f),64&t[1]&&g!==(g=e[37]("casinoPage.breakButton")+"")&&J(h,g)},d(e){e&&V(r),m=!1,p()}}}function sa(e){let n;function r(e){return e[16]?Gi:Pi}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=H},m(e,t){a.m(e,t),z(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n.parentNode,n)))},i:H,o:H,d(e){a.d(e),e&&V(n)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends T{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:12.8px;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}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",E(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ti,Fi,n,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,once:33,top:34,bottom:35,left:36,right:37},[-1,-1,-1]),e&&(e.target&&z(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),k()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$set({datasource:e}),k()}get lang(){return this.$$.ctx[1]}set lang(e){this.$set({lang:e}),k()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),k()}get userid(){return this.$$.ctx[3]}set userid(e){this.$set({userid:e}),k()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$set({favorites:e}),k()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$set({clientstylingurl:e}),k()}get currency(){return this.$$.ctx[7]}set currency(e){this.$set({currency:e}),k()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$set({categoryid:e}),k()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$set({categoryindex:e}),k()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$set({categorygames:e}),k()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$set({livecasino:e}),k()}get once(){return this.$$.ctx[33]}set once(e){this.$set({once:e}),k()}get top(){return this.$$.ctx[34]}set top(e){this.$set({top:e}),k()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$set({bottom:e}),k()}get left(){return this.$$.ctx[36]}set left(e){this.$set({left:e}),k()}get right(){return this.$$.ctx[37]}set right(e){this.$set({right:e}),k()}});let la=!1;const ca=0;function ua(e,t,a){let n;Ge(e,mr,e=>a(37,n=e));let i,o,s,l,c,u,d,h,r,m,p,f,{endpoint:g=""}=t,{datasource:y=""}=t,{currency:v=""}=t,{lang:w=""}=t,{session:b=""}=t,{userid:_=""}=t,{clientstyling:S=""}=t,{clientstylingurl:x=""}=t,{categorybackground:C=""}=t,{visiblegames:M="6"}=t,{alternativesearch:k="false"}=t,{favorites:F=""}=t,{mostplayed:E=""}=t,{containermaxwidth:T="1300"}=t,{lobbyid:L="casinodefault"}=t,{haspanicbutton:P="false"}=t,{mostplayedrounds:G=""}=t,{activecategory:I=""}=t,{livecasino:D="false"}=t,O=!1,A=!1,R=!1,N="",$=!1,U=!1,Y=!0,B=!1,H=!1,j=!1,W=!1,z=!0,V=!1,Z=!1,X=!1,K=!0,q=[],J="",Q=window.navigator.userAgent,ee,te,ne=[],re=!1,ie=[],ae=0,oe="";var se,le;[{withLocale:se,translations:le}]=[{withLocale:"en",translations:{}}],rr.subscribe(e=>{null==e&&(Wn.set(le),rr.set(se))}),Object.keys(gr).forEach(e=>{Vn(e,gr[e])});const ce=e=>{switch(a(22,B=!1),a(14,J=""),e.data.itemId){case"LOBBY":a(25,z=!0),a(20,$=!1),a(31,l=""),a(26,V=!1),ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)},1);break;case"FAVORITES":a(25,z=!1),a(20,$=!0),a(26,V=!1),a(31,l="");break;case"MOSTPLAYED":"true"==E&&(a(15,O=!0),de({limit:100,device:fr(Q),rounds:10}).then(e=>{if(a(15,O=!1),0<e.count){let n=[];D&&(e.items=[{gameId:"15786"},{gameId:"15788"}]),e.items.forEach(e=>{let t=new URL(`${g}/casino/games/${e.gameId}`);t.searchParams.append("datasource",y),D?n.push(fetch(t).then(e=>e.json())):n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{te=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:te},window.location.href)})}else a(27,Z=!0)}),a(31,l=""),a(25,z=!1),a(20,$=!1),a(26,V=!0));break;default:a(25,z=!1),a(20,$=!1),a(26,V=!1),a(31,l=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:l,index:e.data.index},window.location.href)},100)}},ue=e=>{if(e.data)switch(e.data.type){case"CategoryChange":ce(e);break;case"UserSessionID":a(19,o=e.data.session),a(18,i=e.data.userID),i&&i.length&&o&&0<o.length&&he(g,o,i);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":ge(`${g}/player/${i}/favorites`,o,i,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":fe(`${g}/player/${i}/favorites`,o,i,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":i&&i.length&&o&&0<o.length&&he(g,o,i);break;case"SearchedItemClicked":_e(e.data.gameId);break;case"UpdateFilters":Me(e.data.vendorsArray),Se();break;case"ClearFilters":Ce(e.data.vendorsArray),Se();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:oe},window.location.href),Se();break;case"CategoryVendors":oe=e.data.categoryid,Se();break;case"GameHovered":H=!0;break;case"GameBlur":H=!1}},de=e=>{let t=new URL(`${g}/player/${i}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),f=D?t:t.href,new Promise((t,n)=>{fetch(f).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})};let he=(e,t,n)=>{"true"==F&&b&&n&&(fetch(`${e}/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,r&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),pe(r.items)),r)).catch(e=>{console.error(e)}),$&&ye())},me=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,$&&ye(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const pe=(e=[])=>(ne=[],0<e.length&&e.forEach(e=>{ne.push(e.id)}),ne);let fe=(t,n,e,r,i)=>{ne.includes(r)||ne.push(r);var a={items:ne},a={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(t,a).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),me(t,n)}).catch(e=>{console.error("Err",e)})};const ge=(t,n,e,r,i)=>{ne.includes(r)&&(ne=ne.filter(e=>e!=r)),fetch(`${t}/${r}`,{method:"DELETE",headers:{"X-SessionID":n}}).then(e=>e.json()).then(e=>{window.postMessage({type:`RemoveFavoriteThumbnail_${r}`},window.location.href),me(t,n)})},ye=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},ve=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},we=()=>{if(g&&y&&w&&(a(24,W=!0),J.length<2)){let e=ve(`searchedGamesWds_${L}`),t=[];e&&(t=e.split(",")),1!=z||Y||(a(23,j=z),a(25,z=!1));let n=[],r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(`${g}/casino/games/${t[r]}`);e.searchParams.append("language",w),e.searchParams.append("datasource",y),e.searchParams.append("platform",fr(Q)),n.push((e=>new Promise((t,n)=>{a(15,O=!0),fetch(e).then(e=>e.json()).then(e=>{a(15,O=!1),t(e[0])}).catch(e=>{a(16,A=!0),a(15,O=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(29,s=e),ke({},s)})}else ke({},{})}},be=()=>{a(24,W=!1),J.length<2&&!H&&(a(22,B=!1),a(29,s=[]),a(21,U=!1),a(25,z=j),a(23,j=!1),!1===z&&window.postMessage({type:"CategoryUpdate",itemId:l},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},_e=e=>{ie=ve(`searchedGamesWds_${L}`),ie=ie?ie.split(","):[],-1===ie.indexOf(e)&&(ie.push(e),e=ie.join(","),document.cookie=`searchedGamesWds_${L}=`+e)},Se=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&oe&&(e[oe]?a(35,ae=e[oe].length):a(35,ae=0))},xe=()=>{a(55,K=!0),a(14,J=""),a(29,s=[]),a(21,U=!1),be()},Ce=e=>{window.postMessage({type:"AvailableVendors",venArray:e},window.location.href)},Me=e=>{window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href)},ke=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Fe=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},Ee=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Te=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},Le=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},Pe=()=>{u&&(d=u.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>d||130<d?a(28,X=!0):a(28,X=!1)};return Ie(()=>(window.addEventListener("scroll",Pe,!1),window.addEventListener("message",ue,!1),()=>{window.removeEventListener("scroll",Pe),window.removeEventListener("message",ue)})),e.$$set=e=>{"endpoint"in e&&a(0,g=e.endpoint),"datasource"in e&&a(1,y=e.datasource),"currency"in e&&a(2,v=e.currency),"lang"in e&&a(3,w=e.lang),"session"in e&&a(4,b=e.session),"userid"in e&&a(5,_=e.userid),"clientstyling"in e&&a(6,S=e.clientstyling),"clientstylingurl"in e&&a(7,x=e.clientstylingurl),"categorybackground"in e&&a(8,C=e.categorybackground),"visiblegames"in e&&a(49,M=e.visiblegames),"alternativesearch"in e&&a(9,k=e.alternativesearch),"favorites"in e&&a(10,F=e.favorites),"mostplayed"in e&&a(50,E=e.mostplayed),"containermaxwidth"in e&&a(11,T=e.containermaxwidth),"lobbyid"in e&&a(51,L=e.lobbyid),"haspanicbutton"in e&&a(12,P=e.haspanicbutton),"mostplayedrounds"in e&&a(52,G=e.mostplayedrounds),"activecategory"in e&&a(53,I=e.activecategory),"livecasino"in e&&a(13,D=e.livecasino)},e.$$.update=()=>{if(16384&e.$$.dirty[0]&&J&&(2<=J.length?a(55,K=!0):a(55,K=!1)),16395&e.$$.dirty[0]|25165824&e.$$.dirty[1])if(2<=J.length){a(22,B=!0);let e=new URL(`${g}/casino/games`);e.searchParams.append("datasource",y),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",fr(Q)),e.searchParams.append("language",w),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${J}`),r=e,new Promise((t,n)=>{a(15,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(15,O=!1),t(e)}).catch(e=>{a(16,A=!0),a(15,O=!1),console.error(e),n(e)})}).then(e=>{a(29,s=e),Te(0,e)})}else K||we(),Y&&a(54,Y=!1);var r;4194304&e.$$.dirty[1]&&I&&(a(31,l=I),ce({data:{itemId:l}})),49&e.$$.dirty[0]&&b&&_&&g&&(a(17,R=!0),a(19,o=b),a(18,i=_)),523&e.$$.dirty[0]&&g&&y&&w&&k&&(()=>{if(g||(N="Endpoint is missing! Please provide a valid endpointURL.",a(16,A=!0),a(15,O=!1),console.error(N)),y||(N="Datasource is missing! Please provide a valid datasource.",a(16,A=!0),a(15,O=!1),console.error(N)),w&&2==w.length||(N="Language is missing! Please provide a valid language (alpha2code)",a(16,A=!0),a(15,O=!1),console.error(N)),!A){a(15,O=!0),"true"==F&&he(g,o,i),t=w,rr.set(t);let e=new URL(`${g}/casino/groups/${y}`);e.searchParams.append("language",w),e.searchParams.append("platform",fr(Q)),r=e,new Promise((t,n)=>{a(15,O=!0),fetch(r).then(e=>e.json()).then(e=>{a(15,O=!1),t(e)}).catch(e=>{a(16,A=!0),a(15,O=!1),console.error(e),n(e)})}).then(e=>{e&&(h=e.items.filter(e=>0<e.games.total),a(30,q=h.map(e=>e.id)),a(15,O=!1))}),"PC"!==fr(Q)&&(m.addEventListener("focusin",e=>{a(34,re=!0)}),m.addEventListener("focusout",e=>{a(34,re=!1)})),Se(),u=c,u&&(d=u.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var r,t})(),64&e.$$.dirty[0]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,p.appendChild(e)})(),128&e.$$.dirty[0]&&x&&(()=>{let t=document.createElement("style");fetch(new URL(x)).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)})})()},[g,y,v,w,b,_,S,x,C,k,F,T,P,D,J,O,A,R,i,o,$,U,B,j,W,z,V,Z,X,s,q,l,c,m,re,ae,p,n,Q,ye,we,be,()=>{window.postMessage({type:"scroll"},window.location.href)},xe,Fe,Ee,(e,t)=>{oe=t,window.postMessage({type:`CategoryData_${t}`,categoryId:t,visiblegames:M,receivedFavoriteResults:r},window.location.href)},Te,Le,M,E,L,G,I,Y,K,()=>Ee(),function(e){De[e?"unshift":"push"](()=>{m=e,a(33,m)})},function(){J=this.value,a(14,J)},()=>xe(),()=>Ee(),()=>{Fe()},function(e){De[e?"unshift":"push"](()=>{c=e,a(32,c)})},function(e){De[e?"unshift":"push"](()=>{m=e,a(33,m)})},function(){J=this.value,a(14,J)},()=>xe(),()=>Ee(),()=>{Fe()},function(e){De[e?"unshift":"push"](()=>{c=e,a(32,c)})},()=>Le(),function(e){De[e?"unshift":"push"](()=>{p=e,a(36,p)})}]}class da extends T{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[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:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 0 auto 25%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display: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:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;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:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;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:22px}.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{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:75px;right:0;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,.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper{position:absolute;right:5px;padding:8px 18px;display:inline-flex;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;border:1px solid var(--emfe-w-color-secondary, #FD2839);text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;color:var(--emfe-w-color-secondary, #FD2839);font-size:14px}.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>",E(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ua,sa,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:49,alternativesearch:9,favorites:10,mostplayed:50,containermaxwidth:11,lobbyid:51,haspanicbutton:12,mostplayedrounds:52,activecategory:53,livecasino:13},[-1,-1,-1,-1]),e&&(e.target&&z(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$set({endpoint:e}),k()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$set({datasource:e}),k()}get currency(){return this.$$.ctx[2]}set currency(e){this.$set({currency:e}),k()}get lang(){return this.$$.ctx[3]}set lang(e){this.$set({lang:e}),k()}get session(){return this.$$.ctx[4]}set session(e){this.$set({session:e}),k()}get userid(){return this.$$.ctx[5]}set userid(e){this.$set({userid:e}),k()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$set({clientstylingurl:e}),k()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$set({categorybackground:e}),k()}get visiblegames(){return this.$$.ctx[49]}set visiblegames(e){this.$set({visiblegames:e}),k()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$set({alternativesearch:e}),k()}get favorites(){return this.$$.ctx[10]}set favorites(e){this.$set({favorites:e}),k()}get mostplayed(){return this.$$.ctx[50]}set mostplayed(e){this.$set({mostplayed:e}),k()}get containermaxwidth(){return this.$$.ctx[11]}set containermaxwidth(e){this.$set({containermaxwidth:e}),k()}get lobbyid(){return this.$$.ctx[51]}set lobbyid(e){this.$set({lobbyid:e}),k()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(e){this.$set({haspanicbutton:e}),k()}get mostplayedrounds(){return this.$$.ctx[52]}set mostplayedrounds(e){this.$set({mostplayedrounds:e}),k()}get activecategory(){return this.$$.ctx[53]}set activecategory(e){this.$set({activecategory:e}),k()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$set({livecasino:e}),k()}}return customElements.get("casino-page")||customElements.define("casino-page",da),da});
|
|
2
2
|
//# sourceMappingURL=casino-page.js.map
|