@everymatrix/casino-my-games 1.36.1 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !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 e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,o;function l(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function d(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function f(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function x(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:x(e,t,n)}function $(e,t){t=""+t,e.data!==t&&(e.data=t)}function S(e,t,n){e.classList[n?"add":"remove"](t)}class F{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=f(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)h(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function C(e){const t={};for(const n of e)t[n.name]=n.value;return t}function k(e){o=e}
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 e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function a(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let o,s;function l(e,t){return o||(o=document.createElement("a")),o.href=t,e===o.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function d(e,t){e.appendChild(t)}function m(e,t,n){e.insertBefore(t,n||null)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function f(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function x(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:x(e,t,n)}function $(e,t){t=""+t,e.data!==t&&(e.data=t)}function S(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function C(e,t,n){e.classList[n?"add":"remove"](t)}class G{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=f(t.nodeName):this.e=g(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)m(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(h)}}function F(e){const t={};for(const n of e)t[n.name]=n.value;return t}function k(e){s=e}
2
2
  /**
3
3
  * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
4
4
  * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * https://svelte.dev/docs#run-time-svelte-onmount
10
10
  */
11
- function E(e){(function(){if(!o)throw new Error("Function called outside component initialization");return o})().$$.on_mount.push(e)}const G=[],M=[];let L=[];const T=[],P=Promise.resolve();let I=!1;function A(){I||(I=!0,P.then(H))}function O(){return A(),P}function D(e){L.push(e)}
11
+ function E(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const M=[],T=[];let L=[];const P=[],I=Promise.resolve();let A=!1;function O(){A||(A=!0,I.then(H))}function D(){return O(),I}function N(e){L.push(e)}
12
12
  // flush() calls callbacks in this order:
13
13
  // 1. All beforeUpdate callbacks, in order: parents before children
14
14
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -27,61 +27,61 @@ function E(e){(function(){if(!o)throw new Error("Function called outside compone
27
27
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
28
28
  // callback called a second time; the seen_callbacks set, outside the flush()
29
29
  // function, guarantees this behavior.
30
- const N=new Set;let R=0;// Do *not* move this inside the flush() function
30
+ const R=new Set;let B=0;// Do *not* move this inside the flush() function
31
31
  function H(){
32
32
  // Do not reenter flush while dirty components are updated, as this can
33
33
  // result in an infinite loop. Instead, let the inner flush handle it.
34
34
  // Reentrancy is ok afterwards for bindings etc.
35
- if(0!==R)return;const e=o;do{
35
+ if(0!==B)return;const e=s;do{
36
36
  // first, call beforeUpdate functions
37
37
  // and update components
38
- try{for(;R<G.length;){const e=G[R];R++,k(e),B(e.$$)}}catch(e){
38
+ try{for(;B<M.length;){const e=M[B];B++,k(e),z(e.$$)}}catch(e){
39
39
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw G.length=0,R=0,e}for(k(null),G.length=0,R=0;M.length;)M.pop()();
40
+ throw M.length=0,B=0,e}for(k(null),M.length=0,B=0;T.length;)T.pop()();
41
41
  // then, once components are updated, call
42
42
  // afterUpdate functions. This may cause
43
43
  // subsequent updates...
44
- for(let e=0;e<L.length;e+=1){const t=L[e];N.has(t)||(
44
+ for(let e=0;e<L.length;e+=1){const t=L[e];R.has(t)||(
45
45
  // ...so guard against infinite loops
46
- N.add(t),t())}L.length=0}while(G.length);for(;T.length;)T.pop()();I=!1,N.clear(),k(e)}function B(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(D)}}
46
+ R.add(t),t())}L.length=0}while(M.length);for(;P.length;)P.pop()();A=!1,R.clear(),k(e)}function z(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
49
  */const U=new Set;function Y(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];L.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),L=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
50
50
  // TODO null out other refs, including component.$$ (but need to
51
51
  // preserve final state?)
52
- n.on_destroy=n.fragment=null,n.ctx=[])}function j(a,s,l,c,u,d,h,p=[-1]){const f=o;k(a);const g=a.$$={fragment:null,ctx:[],
52
+ n.on_destroy=n.fragment=null,n.ctx=[])}function j(i,o,l,c,u,d,m,p=[-1]){const g=s;k(i);const f=i.$$={fragment:null,ctx:[],
53
53
  // state
54
54
  props:d,update:e,not_equal:u,bound:n(),
55
55
  // lifecycle
56
- on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(f?f.$$.context:[])),
56
+ on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(o.context||(g?g.$$.context:[])),
57
57
  // everything else
58
- callbacks:n(),dirty:p,skip_bound:!1,root:s.target||f.$$.root};h&&h(g.root);let y=!1;if(g.ctx=l?l(a,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&u(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),y&&function(e,t){-1===e.$$.dirty[0]&&(G.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(a,e)),t})):[],g.update(),y=!0,r(g.before_update),
58
+ callbacks:n(),dirty:p,skip_bound:!1,root:o.target||g.$$.root};m&&m(f.root);let y=!1;if(f.ctx=l?l(i,o.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return f.ctx&&u(f.ctx[e],f.ctx[e]=r)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](r),y&&function(e,t){-1===e.$$.dirty[0]&&(M.push(e),O(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(i,e)),t})):[],f.update(),y=!0,r(f.before_update),
59
59
  // `false` as a special case of no DOM component
60
- g.fragment=!!c&&c(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
60
+ f.fragment=!!c&&c(f.ctx),o.target){if(o.hydrate){const e=function(e){return Array.from(e.childNodes)}(o.target);
61
61
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
62
- g.fragment&&g.fragment.l(e),e.forEach(m)}else
62
+ f.fragment&&f.fragment.l(e),e.forEach(h)}else
63
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- g.fragment&&g.fragment.c();s.intro&&((v=a.$$.fragment)&&v.i&&(U.delete(v),v.i(b))),function(e,n,a,s){const{fragment:o,after_update:l}=e.$$;o&&o.m(n,a),s||
64
+ f.fragment&&f.fragment.c();o.intro&&((v=i.$$.fragment)&&v.i&&(U.delete(v),v.i(b))),function(e,n,i,o){const{fragment:s,after_update:l}=e.$$;s&&s.m(n,i),o||
65
65
  // onMount happens before the initial afterUpdate
66
- D((()=>{const n=e.$$.on_mount.map(t).filter(i);
66
+ N((()=>{const n=e.$$.on_mount.map(t).filter(a);
67
67
  // if the component was destroyed immediately
68
68
  // it will update the `$$.on_destroy` reference to `null`.
69
69
  // the destructured on_destroy may still reference to the old array
70
70
  e.$$.on_destroy?e.$$.on_destroy.push(...n):
71
71
  // Edge case - component was destroyed immediately,
72
72
  // most likely as a result of a binding initialising
73
- r(n),e.$$.on_mount=[]})),l.forEach(D)}(a,s.target,s.anchor,s.customElement),H()}var v,b;k(f)}let z;"function"==typeof HTMLElement&&(z=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
73
+ r(n),e.$$.on_mount=[]})),l.forEach(N)}(i,o.target,o.anchor,o.customElement),H()}var v,b;k(g)}let W;"function"==typeof HTMLElement&&(W=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(a);
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const e in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
77
  this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){Y(this,1),this.$destroy=e}$on(t,n){
78
78
  // TODO should this delegate to addEventListener?
79
- if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}})
80
- /* eslint-disable no-prototype-builtins */;var W="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
79
+ if(!a(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}})
80
+ /* eslint-disable no-prototype-builtins */;var V="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
81
81
  // eslint-disable-next-line no-undef
82
- "undefined"!=typeof global&&global||{},V="URLSearchParams"in W,Z="Symbol"in W&&"iterator"in Symbol,K="FileReader"in W&&"Blob"in W&&function(){try{return new Blob,!0}catch(e){return!1}}(),q="FormData"in W,X="ArrayBuffer"in W;if(X)var J=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Q=ArrayBuffer.isView||function(e){return e&&J.indexOf(Object.prototype.toString.call(e))>-1};function ee(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function te(e){return"string"!=typeof e&&(e=String(e)),e}
82
+ "undefined"!=typeof global&&global||{},Z="URLSearchParams"in V,K="Symbol"in V&&"iterator"in Symbol,q="FileReader"in V&&"Blob"in V&&function(){try{return new Blob,!0}catch(e){return!1}}(),X="FormData"in V,J="ArrayBuffer"in V;if(J)var Q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ee=ArrayBuffer.isView||function(e){return e&&Q.indexOf(Object.prototype.toString.call(e))>-1};function te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ne(e){return"string"!=typeof e&&(e=String(e)),e}
83
83
  // Build a destructive iterator for the value list
84
- function ne(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Z&&(t[Symbol.iterator]=function(){return t}),t}function re(e){this.map={},e instanceof re?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ie(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ae(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function se(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function oe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function le(){return this.bodyUsed=!1,this._initBody=function(e){var t;
84
+ function re(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return K&&(t[Symbol.iterator]=function(){return t}),t}function ae(e){this.map={},e instanceof ae?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ie(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function oe(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function se(e){var t=new FileReader,n=oe(t);return t.readAsArrayBuffer(e),n}function le(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;
85
85
  /*
86
86
  fetch-mock wraps the Response object in an ES6 Proxy to
87
87
  provide useful test harness features such as flush. However, on
@@ -93,24 +93,24 @@ function ne(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
93
93
  _initBody is called.
94
94
  */
95
95
  // eslint-disable-next-line no-self-assign
96
- this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:K&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:V&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():X&&K&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=oe(e.buffer),
96
+ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:q&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:X&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():J&&q&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=le(e.buffer),
97
97
  // IE 10-11 can't handle a DataView body.
98
- this._bodyInit=new Blob([this._bodyArrayBuffer])):X&&(ArrayBuffer.prototype.isPrototypeOf(e)||Q(e))?this._bodyArrayBuffer=oe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):V&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K&&(this.blob=function(){var e=ie(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ie(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(K)return this.blob().then(se);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=ie(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ae(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),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)},q&&(this.formData=function(){return this.text().then(de)}),this.json=function(){return this.text().then(JSON.parse)},this}
98
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):J&&(ArrayBuffer.prototype.isPrototypeOf(e)||ee(e))?this._bodyArrayBuffer=le(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},q&&(this.blob=function(){var e=ie(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ie(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(q)return this.blob().then(se);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,a,i=ie(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=oe(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),a=r?r[1]:"utf-8",t.readAsText(e,a),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)},X&&(this.formData=function(){return this.text().then(me)}),this.json=function(){return this.text().then(JSON.parse)},this}
99
99
  // HTTP methods whose capitalization should be normalized
100
- re.prototype.append=function(e,t){e=ee(e),t=te(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},re.prototype.delete=function(e){delete this.map[ee(e)]},re.prototype.get=function(e){return e=ee(e),this.has(e)?this.map[e]:null},re.prototype.has=function(e){return this.map.hasOwnProperty(ee(e))},re.prototype.set=function(e,t){this.map[ee(e)]=te(t)},re.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},re.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),ne(e)},re.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),ne(e)},re.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),ne(e)},Z&&(re.prototype[Symbol.iterator]=re.prototype.entries);var ce=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ue(e,t){if(!(this instanceof ue))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof ue){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new re(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=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 re(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),ce.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in W)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
100
+ ae.prototype.append=function(e,t){e=te(e),t=ne(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ae.prototype.delete=function(e){delete this.map[te(e)]},ae.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},ae.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},ae.prototype.set=function(e,t){this.map[te(e)]=ne(t)},ae.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ae.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),re(e)},ae.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),re(e)},ae.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),re(e)},K&&(ae.prototype[Symbol.iterator]=ae.prototype.entries);var ue=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function de(e,t){if(!(this instanceof de))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,a=(t=t||{}).body;if(e instanceof de){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ae(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ae(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),ue.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in V)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
101
101
  // Search for a '_' parameter in the query string
102
- var a=/([?&])_=[^&]*/;if(a.test(this.url))
102
+ var i=/([?&])_=[^&]*/;if(i.test(this.url))
103
103
  // If it already exists then set the value with the current time
104
- this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function de(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function he(e,t){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new re(t.headers),this.url=t.url||"",this._initBody(e)}ue.prototype.clone=function(){return new ue(this,{body:this._bodyInit})},le.call(ue.prototype),le.call(he.prototype),he.prototype.clone=function(){return new he(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new re(this.headers),url:this.url})},he.error=function(){var e=new he(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var me=[301,302,303,307,308];he.redirect=function(e,t){if(-1===me.indexOf(t))throw new RangeError("Invalid status code");return new he(null,{status:t,headers:{location:e}})};var pe=W.DOMException;try{new pe}catch(e){(pe=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),pe.prototype.constructor=pe}function fe(e,t){return new Promise((function(n,r){var i=new ue(e,t);if(i.signal&&i.signal.aborted)return r(new pe("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}if(a.onload=function(){var e,t,r={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new re,
104
+ this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function me(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}})),t}function he(e,t){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ae(t.headers),this.url=t.url||"",this._initBody(e)}de.prototype.clone=function(){return new de(this,{body:this._bodyInit})},ce.call(de.prototype),ce.call(he.prototype),he.prototype.clone=function(){return new he(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ae(this.headers),url:this.url})},he.error=function(){var e=new he(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var pe=[301,302,303,307,308];he.redirect=function(e,t){if(-1===pe.indexOf(t))throw new RangeError("Invalid status code");return new he(null,{status:t,headers:{location:e}})};var ge=V.DOMException;try{new ge}catch(e){(ge=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),ge.prototype.constructor=ge}function fe(e,t){return new Promise((function(n,r){var a=new de(e,t);if(a.signal&&a.signal.aborted)return r(new ge("Aborted","AbortError"));var i=new XMLHttpRequest;function o(){i.abort()}if(i.onload=function(){var e,t,r={statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new ae,
105
105
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
106
106
  // https://github.com/github/fetch/issues/748
107
107
  // https://github.com/zloirock/core-js/issues/751
108
- 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 n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();try{t.append(r,i)}catch(e){console.warn("Response "+e.message)}}})),t)};
108
+ 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 n=e.split(":"),r=n.shift().trim();if(r){var a=n.join(":").trim();try{t.append(r,a)}catch(e){console.warn("Response "+e.message)}}})),t)};
109
109
  // This check if specifically for when a user fetches a file locally from the file system
110
110
  // Only if the status is out of a normal range
111
- i.url.startsWith("file://")&&(a.status<200||a.status>599)?r.status=200:r.status=a.status,r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var s="response"in a?a.response:a.responseText;setTimeout((function(){n(new he(s,r))}),0)},a.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},a.onabort=function(){setTimeout((function(){r(new pe("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&W.location.href?W.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(K?a.responseType="blob":X&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof re||W.Headers&&t.headers instanceof W.Headers)){var o=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){o.push(ee(e)),a.setRequestHeader(e,te(t.headers[e]))})),i.headers.forEach((function(e,t){-1===o.indexOf(t)&&a.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){a.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){
111
+ a.url.startsWith("file://")&&(i.status<200||i.status>599)?r.status=200:r.status=i.status,r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){n(new he(o,r))}),0)},i.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},i.onabort=function(){setTimeout((function(){r(new ge("Aborted","AbortError"))}),0)},i.open(a.method,function(e){try{return""===e&&V.location.href?V.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?i.withCredentials=!0:"omit"===a.credentials&&(i.withCredentials=!1),"responseType"in i&&(q?i.responseType="blob":J&&(i.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof ae||V.Headers&&t.headers instanceof V.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(te(e)),i.setRequestHeader(e,ne(t.headers[e]))})),a.headers.forEach((function(e,t){-1===s.indexOf(t)&&i.setRequestHeader(t,e)}))}else a.headers.forEach((function(e,t){i.setRequestHeader(t,e)}));a.signal&&(a.signal.addEventListener("abort",o),i.onreadystatechange=function(){
112
112
  // DONE (success or failure)
113
- 4===a.readyState&&i.signal.removeEventListener("abort",s)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}fe.polyfill=!0,W.fetch||(W.fetch=fe,W.Headers=re,W.Request=ue,W.Response=he);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ge(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
113
+ 4===i.readyState&&a.signal.removeEventListener("abort",o)}),i.send(void 0===a._bodyInit?null:a._bodyInit)}))}fe.polyfill=!0,V.fetch||(V.fetch=fe,V.Headers=ae,V.Request=de,V.Response=he);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ye(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
114
114
  // the whatwg-fetch polyfill installs the fetch() function
115
115
  // on the global object (window or self)
116
116
 
@@ -131,7 +131,7 @@ self.fetch.bind(self);
131
131
  PERFORMANCE OF THIS SOFTWARE.
132
132
  ***************************************************************************** */
133
133
  /* global Reflect, Promise, SuppressedError, Symbol */
134
- var ye=function(e,t){return ye=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])},ye(e,t)};function ve(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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(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 e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function we(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)s.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 s}function xe(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function $e(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=$e((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Fe(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ce=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.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 s=be(a),o=s.next();!o.done;o=s.next()){o.value.remove(this)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=be(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Ge(h)}catch(e){i=null!=i?i:[],e instanceof Se?i=xe(xe([],we(i)),we(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Ge(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Fe(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Fe(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ke=Ce.EMPTY;function Ee(e){return e instanceof Ce||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function Ge(e){_e(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Le={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Le.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,xe([e,t],we(n))):setTimeout.apply(void 0,xe([e,t],we(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Te(){}var Pe=null;function Ie(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){var n=Pe,r=n.errorThrown,i=n.error;if(Pe=null,r)throw i}}else e()}var Ae=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ee(t)&&t.add(n)):n.destination=Be,n}return ve(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ce),Oe=Function.prototype.bind;function De(e,t){return Oe.call(e,t)}var Ne=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){He(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){He(e)}else He(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){He(e)}},e}(),Re=function(e){function t(t,n,r){var i,a,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Me.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&De(t.next,a),error:t.error&&De(t.error,a),complete:t.complete&&De(t.complete,a)}):i=t;return s.destination=new Ne(i),s}return ve(t,e),t}(Ae);function He(e){var t;t=e,Le.setTimeout((function(){throw t}))}var Be={closed:!0,next:Te,error:function(e){throw e},complete:Te},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var je=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Ae||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Ee(r)?e:new Re(e,t,n);return Ie((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ue]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var We=$e((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ve(t,e),t.prototype.lift=function(e){var t=new Ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Ie((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=be(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ie((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Ie((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?ke:(this.currentObservers=null,a.push(e),new Ce((function(){t.currentObservers=null,Fe(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,t){return new Ze(e,t)},t}(je),Ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ve(t,e),t.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)},t.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)},t.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)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ke},t}(Ve),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},qe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ke);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ve(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,o=n._windowTime;r||(i.push(t),!a&&i.push(s.now()+o)),this._trimBuffer(),e.prototype.next.call(this,t)},t.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},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var s=n.now(),o=0,l=1;l<r.length&&r[l]<=s;l+=2)o=l;o&&r.splice(0,o+1)}},t}(Ve);let Xe=[],Je={};
134
+ var ve=function(e,t){return ve=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])},ve(e,t)};function be(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}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function we(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 e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function xe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function _e(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function $e(e){return"function"==typeof e}function Se(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Ce=Se((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ge(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Fe=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var o=we(i),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else i.remove(this);var l=this.initialTeardown;if($e(l))try{l()}catch(e){a=e instanceof Ce?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=we(c),d=u.next();!d.done;d=u.next()){var m=d.value;try{Me(m)}catch(e){a=null!=a?a:[],e instanceof Ce?a=_e(_e([],xe(a)),xe(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(a)throw new Ce(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Me(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ge(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ge(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ke=Fe.EMPTY;function Ee(e){return e instanceof Fe||e&&"closed"in e&&$e(e.remove)&&$e(e.add)&&$e(e.unsubscribe)}function Me(e){$e(e)?e():e.unsubscribe()}var Te={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Le={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=Le.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,_e([e,t],xe(n))):setTimeout.apply(void 0,_e([e,t],xe(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pe(){}var Ie=null;function Ae(e){if(Te.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,a=n.error;if(Ie=null,r)throw a}}else e()}var Oe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ee(t)&&t.add(n)):n.destination=ze,n}return be(t,e),t.create=function(e,t,n){return new Be(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Fe),De=Function.prototype.bind;function Ne(e,t){return De.call(e,t)}var Re=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){He(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){He(e)}else He(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){He(e)}},e}(),Be=function(e){function t(t,n,r){var a,i,o=e.call(this)||this;$e(t)||!t?a={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Te.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},a={next:t.next&&Ne(t.next,i),error:t.error&&Ne(t.error,i),complete:t.complete&&Ne(t.complete,i)}):a=t;return o.destination=new Re(a),o}return be(t,e),t}(Oe);function He(e){var t;t=e,Le.setTimeout((function(){throw t}))}var ze={closed:!0,next:Pe,error:function(e){throw e},complete:Pe},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var je=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,a=this,i=(r=e)&&r instanceof Oe||function(e){return e&&$e(e.next)&&$e(e.error)&&$e(e.complete)}(r)&&Ee(r)?e:new Be(e,t,n);return Ae((function(){var e=a,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?a._subscribe(i):a._trySubscribe(i))})),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=We(t))((function(t,r){var a=new Be({next:function(t){try{e(t)}catch(e){r(e),a.unsubscribe()}},error:r,complete:t});n.subscribe(a)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ue]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function We(e){var t;return null!==(t=null!=e?e:Te.Promise)&&void 0!==t?t:Promise}var Ve=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ze=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return be(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ve},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var a=we(t.currentObservers),i=a.next();!i.done;i=a.next()){i.value.next(e)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ae((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Ae((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,a=n.isStopped,i=n.observers;return r||a?ke:(this.currentObservers=null,i.push(e),new Fe((function(){t.currentObservers=null,Ge(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,a=t.isStopped;n?e.error(r):a&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,t){return new Ke(e,t)},t}(je),Ke=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return be(t,e),t.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)},t.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)},t.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)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ke},t}(Ze),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=qe);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=n,a._timestampProvider=r,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,n),a}return be(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,a=n._buffer,i=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(a.push(t),!i&&a.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,a=e._infiniteTimeWindow,i=(a?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!a){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ze);let Je=[],Qe={};
135
135
  /**
136
136
  * @name topic
137
137
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -139,36 +139,36 @@ var ye=function(e,t){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof A
139
139
  * @param step [String] How many values to be buffed for new subscribers - default 0
140
140
  * @returns ReplaySubject
141
141
  */
142
- const Qe=[];
142
+ const et=[];
143
143
  /**
144
144
  * Create a `Writable` store that allows both updating and reading by subscription.
145
145
  * @param {*=}value initial value
146
146
  * @param {StartStopNotifier=} start
147
147
  */
148
- function et(t,n=e){let r;const i=new Set;function s(e){if(a(t,e)&&(t=e,r)){// store is ready
149
- const e=!Qe.length;for(const e of i)e[1](),Qe.push(e,t);if(e){for(let e=0;e<Qe.length;e+=2)Qe[e][0](Qe[e+1]);Qe.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(a,o=e){const l=[a,o];return i.add(l),1===i.size&&(r=n(s)||e),a(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function tt(t,n,a){const s=!Array.isArray(t),o=s?[t]:t,l=n.length<2;return u=t=>{let a=!1;const u=[];let d=0,h=e;const m=()=>{if(d)return;h();const r=n(s?u[0]:u,t);l?t(r):h=i(r)?r:e},p=o.map(((e,t)=>c(e,(e=>{u[t]=e,d&=~(1<<t),a&&m()}),(()=>{d|=1<<t}))));return a=!0,m(),function(){r(p),h(),
148
+ function tt(t,n=e){let r;const a=new Set;function o(e){if(i(t,e)&&(t=e,r)){// store is ready
149
+ const e=!et.length;for(const e of a)e[1](),et.push(e,t);if(e){for(let e=0;e<et.length;e+=2)et[e][0](et[e+1]);et.length=0}}}return{set:o,update:function(e){o(e(t))},subscribe:function(i,s=e){const l=[i,s];return a.add(l),1===a.size&&(r=n(o)||e),i(t),()=>{a.delete(l),0===a.size&&r&&(r(),r=null)}}}}function nt(t,n,i){const o=!Array.isArray(t),s=o?[t]:t,l=n.length<2;return u=t=>{let i=!1;const u=[];let d=0,m=e;const h=()=>{if(d)return;m();const r=n(o?u[0]:u,t);l?t(r):m=a(r)?r:e},p=s.map(((e,t)=>c(e,(e=>{u[t]=e,d&=~(1<<t),i&&h()}),(()=>{d|=1<<t}))));return i=!0,h(),function(){r(p),m(),
150
150
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
151
151
  // Callbacks might already be placed in the queue which doesn't know it should no longer
152
152
  // invoke this derived store.
153
- a=!1}},{subscribe:et(a,u).subscribe};
153
+ i=!1}},{subscribe:tt(i,u).subscribe};
154
154
  /**
155
155
  * Creates a `Readable` store that allows reading by subscription.
156
156
  * @param value initial value
157
157
  * @param {StartStopNotifier} [start]
158
158
  */
159
- var u}var nt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===rt}(e)}
159
+ var u}var rt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===at}(e)}
160
160
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
161
- (e)};var rt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function it(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function at(e,t,n){return e.concat(t).map((function(e){return it(e,n)}))}function st(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function ot(e,t){try{return t in e}catch(e){return!1}}
161
+ (e)};var at="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function it(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ut((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function ot(e,t,n){return e.concat(t).map((function(e){return it(e,n)}))}function st(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function lt(e,t){try{return t in e}catch(e){return!1}}
162
162
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
163
- function lt(e,t,n){var r={};return n.isMergeableObject(e)&&st(e).forEach((function(t){r[t]=it(e[t],n)})),st(t).forEach((function(i){(function(e,t){return ot(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
164
- })(e,i)||(ot(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return ct;var n=t.customMerge(e);return"function"==typeof n?n:ct}(i,n)(e[i],t[i],n):r[i]=it(t[i],n))})),r}function ct(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||at,n.isMergeableObject=n.isMergeableObject||nt,
163
+ function ct(e,t,n){var r={};return n.isMergeableObject(e)&&st(e).forEach((function(t){r[t]=it(e[t],n)})),st(t).forEach((function(a){(function(e,t){return lt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
164
+ })(e,a)||(lt(e,a)&&n.isMergeableObject(t[a])?r[a]=function(e,t){if(!t.customMerge)return ut;var n=t.customMerge(e);return"function"==typeof n?n:ut}(a,n)(e[a],t[a],n):r[a]=it(t[a],n))})),r}function ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ot,n.isMergeableObject=n.isMergeableObject||rt,
165
165
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
166
166
  // implementations can use it. The caller may not replace it.
167
- n.cloneUnlessOtherwiseSpecified=it;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):lt(e,t,n):it(t,n)}ct.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return ct(e,n,t)}),{})};var ut=ct,dt=function(e,t){return dt=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])},dt(e,t)};function ht(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}dt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var mt,pt,ft,gt=function(){return gt=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},gt.apply(this,arguments)};function yt(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
167
+ n.cloneUnlessOtherwiseSpecified=it;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ct(e,t,n):it(t,n)}ut.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return ut(e,n,t)}),{})};var dt=ut,mt=function(e,t){return mt=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])},mt(e,t)};function ht(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}mt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pt,gt,ft,yt=function(){return yt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},yt.apply(this,arguments)};function vt(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}
168
168
  /**
169
169
  * Type Guards
170
170
  */
171
- function vt(e){return e.type===pt.literal}function bt(e){return e.type===pt.argument}function wt(e){return e.type===pt.number}function xt(e){return e.type===pt.date}function _t(e){return e.type===pt.time}function $t(e){return e.type===pt.select}function St(e){return e.type===pt.plural}function Ft(e){return e.type===pt.pound}function Ct(e){return e.type===pt.tag}function kt(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function Et(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}
171
+ function bt(e){return e.type===gt.literal}function wt(e){return e.type===gt.argument}function xt(e){return e.type===gt.number}function _t(e){return e.type===gt.date}function $t(e){return e.type===gt.time}function St(e){return e.type===gt.select}function Ct(e){return e.type===gt.plural}function Gt(e){return e.type===gt.pound}function Ft(e){return e.type===gt.tag}function kt(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function Et(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}
172
172
  // @generated from regex-gen.ts
173
173
  "function"==typeof SuppressedError&&SuppressedError,function(e){
174
174
  /** Argument is unclosed (e.g. `{0`) */
@@ -230,7 +230,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
230
230
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
231
231
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
232
232
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
233
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(mt||(mt={})),function(e){
233
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(pt||(pt={})),function(e){
234
234
  /**
235
235
  * Raw text
236
236
  */
@@ -267,7 +267,7 @@ e[e.pound=7]="pound",
267
267
  /**
268
268
  * XML-like tag
269
269
  */
270
- e[e.tag=8]="tag"}(pt||(pt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ft||(ft={}));var Gt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mt=/(?:[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;
270
+ e[e.tag=8]="tag"}(gt||(gt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ft||(ft={}));var Mt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Tt=/(?:[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;
271
271
  /**
272
272
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
273
273
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -279,7 +279,7 @@ e[e.tag=8]="tag"}(pt||(pt={})),function(e){e[e.number=0]="number",e[e.dateTime=1
279
279
  * @public
280
280
  * @param skeleton skeleton string
281
281
  */
282
- function Lt(e){var t={};return e.replace(Mt,(function(e){var n=e.length;switch(e[0]){
282
+ function Lt(e){var t={};return e.replace(Tt,(function(e){var n=e.length;switch(e[0]){
283
283
  // Era
284
284
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
285
285
  // Year
@@ -313,30 +313,30 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
313
313
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
314
314
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
315
315
  // @generated from regex-gen.ts
316
- var Tt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,It=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Dt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(It,(function(e,n,r){
316
+ var Pt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,Ot=/(\*)(0+)|(#+)(0+)|(0+)/g,Dt=/^(0+)$/;function Nt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(At,(function(e,n,r){
317
317
  // @@@ case
318
- return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Nt(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 Rt(e){
318
+ return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Rt(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){
319
319
  // Engineering
320
- 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)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ht(e){var t=Nt(e);return t||{}}
320
+ 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)),!Dt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ht(e){var t=Rt(e);return t||{}}
321
321
  /**
322
322
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
323
- */function Bt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=gt(gt(gt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return gt(gt({},e),Ht(t))}),{}));continue;case"engineering":t=gt(gt(gt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return gt(gt({},e),Ht(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
323
+ */function zt(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=yt(yt(yt({},t),{notation:"scientific"}),a.options.reduce((function(e,t){return yt(yt({},e),Ht(t))}),{}));continue;case"engineering":t=yt(yt(yt({},t),{notation:"engineering"}),a.options.reduce((function(e,t){return yt(yt({},e),Ht(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
324
324
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
325
- case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
325
+ case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;
326
326
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
327
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,(function(e,n,r,i,a,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
327
+ case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(Ot,(function(e,n,r,a,i,o){if(n)t.minimumIntegerDigits=r.length;else{if(a&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}
328
328
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
329
- if(Ot.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Pt.test(i.stem)){
329
+ if(Dt.test(a.stem))t.minimumIntegerDigits=a.stem.length;else if(It.test(a.stem)){
330
330
  // Precision
331
331
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
332
332
  // precision-integer case
333
- if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pt,(function(e,n,r,i,a,s){
333
+ if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(It,(function(e,n,r,a,i,o){
334
334
  // .000* case (before ICU67 it was .000+)
335
- return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&s?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var a=i.options[0];
335
+ return"*"===r?t.minimumFractionDigits=n.length:a&&"#"===a[0]?t.maximumFractionDigits=a.length:i&&o?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=a.options[0];
336
336
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
337
- "w"===a?t=gt(gt({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=gt(gt({},t),Dt(a)))}
337
+ "w"===i?t=yt(yt({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=yt(yt({},t),Nt(i)))}
338
338
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
339
- else if(It.test(i.stem))t=gt(gt({},t),Dt(i.stem));else{var s=Nt(i.stem);s&&(t=gt(gt({},t),s));var o=Rt(i.stem);o&&(t=gt(gt({},t),o))}}return t}
339
+ else if(At.test(a.stem))t=yt(yt({},t),Nt(a.stem));else{var o=Rt(a.stem);o&&(t=yt(yt({},t),o));var s=Bt(a.stem);s&&(t=yt(yt({},t),s))}}return t}
340
340
  // @generated from time-data-gen.ts
341
341
  // prettier-ignore
342
342
  var Ut,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
@@ -360,37 +360,37 @@ e.hourCycles.length&&(
360
360
  // @ts-ignore
361
361
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
362
362
  // TODO: Once hourCycle is fully supported remove the following with data generation
363
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Yt[n||""]||Yt[r||""]||Yt["".concat(r,"-001")]||Yt["001"])[0]}var zt=new RegExp("^".concat(Gt.source,"*")),Wt=new RegExp("".concat(Gt.source,"*$"));function Vt(e,t){return{start:e,end:t}}
363
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Yt[n||""]||Yt[r||""]||Yt["".concat(r,"-001")]||Yt["001"])[0]}var Wt=new RegExp("^".concat(Mt.source,"*")),Vt=new RegExp("".concat(Mt.source,"*$"));function Zt(e,t){return{start:e,end:t}}
364
364
  // #region Ponyfills
365
365
  // Consolidate these variables up top for easier toggling during debugging
366
- var Zt=!!String.prototype.startsWith,Kt=!!String.fromCodePoint,qt=!!Object.fromEntries,Xt=!!String.prototype.codePointAt,Jt=!!String.prototype.trimStart,Qt=!!String.prototype.trimEnd,en=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},tn=!0;try{
366
+ var Kt=!!String.prototype.startsWith,qt=!!String.fromCodePoint,Xt=!!Object.fromEntries,Jt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,en=!!String.prototype.trimEnd,tn=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},nn=!0;try{
367
367
  /**
368
368
  * legacy Edge or Xbox One browser
369
369
  * Unicode flag support: supported
370
370
  * Pattern_Syntax support: not supported
371
371
  * See https://github.com/formatjs/formatjs/issues/2822
372
372
  */
373
- tn="a"===(null===(Ut=un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ut?void 0:Ut[0])}catch(e){tn=!1}var nn,rn=Zt?// Native
373
+ nn="a"===(null===(Ut=dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ut?void 0:Ut[0])}catch(e){nn=!1}var rn,an=Kt?// Native
374
374
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
375
- function(e,t,n){return e.slice(n,n+t.length)===t},an=Kt?String.fromCodePoint:// IE11
376
- function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,a=0;i>a;){if((n=e[a++])>1114111)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},sn=
375
+ function(e,t,n){return e.slice(n,n+t.length)===t},on=qt?String.fromCodePoint:// IE11
376
+ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;a>i;){if((n=e[i++])>1114111)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},sn=
377
377
  // native
378
- qt?Object.fromEntries:// Ponyfill
379
- function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],s=i[1];t[a]=s}return t},on=Xt?// Native
378
+ Xt?Object.fromEntries:// Ponyfill
379
+ function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],o=a[1];t[i]=o}return t},ln=Jt?// Native
380
380
  function(e,t){return e.codePointAt(t)}:// IE 11
381
- function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},ln=Jt?// Native
381
+ function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,a=e.charCodeAt(t);return a<55296||a>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?a:r-56320+(a-55296<<10)+65536}},cn=Qt?// Native
382
382
  function(e){return e.trimStart()}:// Ponyfill
383
- function(e){return e.replace(zt,"")},cn=Qt?// Native
383
+ function(e){return e.replace(Wt,"")},un=en?// Native
384
384
  function(e){return e.trimEnd()}:// Ponyfill
385
- function(e){return e.replace(Wt,"")};
385
+ function(e){return e.replace(Vt,"")};
386
386
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
387
- function un(e,t){return new RegExp(e,t)}
387
+ function dn(e,t){return new RegExp(e,t)}
388
388
  // #endregion
389
- if(tn){
389
+ if(nn){
390
390
  // Native
391
- var dn=un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nn=function(e,t){var n;return dn.lastIndex=t,null!==(n=dn.exec(e)[1])&&void 0!==n?n:""}}else
391
+ var mn=dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");rn=function(e,t){var n;return mn.lastIndex=t,null!==(n=mn.exec(e)[1])&&void 0!==n?n:""}}else
392
392
  // IE11
393
- nn=function(e,t){for(var n=[];;){var r=on(e,t);if(void 0===r||pn(r)||fn(r))break;n.push(r),t+=r>=65536?2:1}return an.apply(void 0,n)};var hn=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(mt.UNMATCHED_CLOSING_TAG,Vt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&mn(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:pt.pound,location:Vt(s,this.clonePosition())})}}}return{val:r,err:null}},
393
+ rn=function(e,t){for(var n=[];;){var r=ln(e,t);if(void 0===r||gn(r)||fn(r))break;n.push(r),t+=r>=65536?2:1}return on.apply(void 0,n)};var hn=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a=this.char();if(123/* `{` */===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125/* `}` */===a&&e>0)break;if(35/* `#` */!==a||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(pt.UNMATCHED_CLOSING_TAG,Zt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===a&&!this.ignoreTag&&pn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var o=this.clonePosition();this.bump(),r.push({type:gt.pound,location:Zt(o,this.clonePosition())})}}}return{val:r,err:null}},
394
394
  /**
395
395
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
396
396
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -412,14 +412,14 @@ nn=function(e,t){for(var n=[];;){var r=on(e,t);if(void 0===r||pn(r)||fn(r))break
412
412
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
413
413
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
414
414
  // Self closing tag
415
- return{val:{type:pt.literal,value:"<".concat(r,"/>"),location:Vt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,s=this.clonePosition();
415
+ return{val:{type:gt.literal,value:"<".concat(r,"/>"),location:Zt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var i=a.val,o=this.clonePosition();
416
416
  // Expecting a close tag
417
- if(this.bumpIf("</")){if(this.isEOF()||!mn(this.char()))return this.error(mt.INVALID_TAG,Vt(s,this.clonePosition()));var o=this.clonePosition();return r!==this.parseTagName()?this.error(mt.UNMATCHED_CLOSING_TAG,Vt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:pt.tag,value:r,children:a,location:Vt(n,this.clonePosition())},err:null}:this.error(mt.INVALID_TAG,Vt(s,this.clonePosition())))}return this.error(mt.UNCLOSED_TAG,Vt(n,this.clonePosition()))}return this.error(mt.INVALID_TAG,Vt(n,this.clonePosition()))},
417
+ if(this.bumpIf("</")){if(this.isEOF()||!pn(this.char()))return this.error(pt.INVALID_TAG,Zt(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(pt.UNMATCHED_CLOSING_TAG,Zt(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:gt.tag,value:r,children:i,location:Zt(n,this.clonePosition())},err:null}:this.error(pt.INVALID_TAG,Zt(o,this.clonePosition())))}return this.error(pt.UNCLOSED_TAG,Zt(n,this.clonePosition()))}return this.error(pt.INVALID_TAG,Zt(n,this.clonePosition()))},
418
418
  /**
419
419
  * This method assumes that the caller has peeked ahead for the first tag character.
420
420
  */
421
421
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
422
- for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var o=Vt(n,this.clonePosition());return{val:{type:pt.literal,value:r,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(mn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
422
+ for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var s=Zt(n,this.clonePosition());return{val:{type:gt.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(pn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
423
423
  /** See `parseTag` function docs. */},
424
424
  /**
425
425
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -441,67 +441,67 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
441
441
  // Optional closing apostrophe.
442
442
  this.bump();break}t.push(39),
443
443
  // Bump one more time because we need to skip 2 characters.
444
- this.bump()}else t.push(n);this.bump()}return an.apply(void 0,t)},e.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&&e>0?null:(this.bump(),an(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
445
- this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(mt.EMPTY_ARGUMENT,Vt(n,this.clonePosition()));
444
+ this.bump()}else t.push(n);this.bump()}return on.apply(void 0,t)},e.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&&e>0?null:(this.bump(),on(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
445
+ this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(pt.EMPTY_ARGUMENT,Zt(n,this.clonePosition()));
446
446
  // argument name
447
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(mt.MALFORMED_ARGUMENT,Vt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition()));switch(this.char()){
447
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(pt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition()));switch(this.char()){
448
448
  // Simple argument: `{name}`
449
449
  case 125/* `}` */:// `}`
450
- return this.bump(),{val:{type:pt.argument,
450
+ return this.bump(),{val:{type:gt.argument,
451
451
  // value does not include the opening and closing braces.
452
- value:r,location:Vt(n,this.clonePosition())},err:null};
452
+ value:r,location:Zt(n,this.clonePosition())},err:null};
453
453
  // Argument with options: `{name, format, ...}`
454
454
  case 44/* `,` */:return this.bump(),// `,`
455
- this.bumpSpace(),this.isEOF()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(mt.MALFORMED_ARGUMENT,Vt(n,this.clonePosition()))}},
455
+ this.bumpSpace(),this.isEOF()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(pt.MALFORMED_ARGUMENT,Zt(n,this.clonePosition()))}},
456
456
  /**
457
457
  * Advance the parser until the end of the identifier, if it is currently on
458
458
  * an identifier character. Return an empty string otherwise.
459
459
  */
460
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=nn(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Vt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();
460
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=rn(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Zt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();
461
461
  // Parse this range:
462
462
  // {name, type, style}
463
463
  // ^---^
464
- switch(s){case"":
464
+ switch(o){case"":
465
465
  // Expecting a style string number, date, time, plural, selectordinal, or select.
466
- return this.error(mt.EXPECT_ARGUMENT_TYPE,Vt(a,o));case"number":case"date":case"time":
466
+ return this.error(pt.EXPECT_ARGUMENT_TYPE,Zt(i,s));case"number":case"date":case"time":
467
467
  // Parse this range:
468
468
  // {name, number, style}
469
469
  // ^-------^
470
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=cn(y.val)).length)return this.error(mt.EXPECT_ARGUMENT_STYLE,Vt(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Vt(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var u=Vt(r,this.clonePosition());
470
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(h=un(y.val)).length)return this.error(pt.EXPECT_ARGUMENT_STYLE,Zt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Zt(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var u=Zt(r,this.clonePosition());
471
471
  // Extract style or skeleton
472
- if(l&&rn(null==l?void 0:l.style,"::",0)){
472
+ if(l&&an(null==l?void 0:l.style,"::",0)){
473
473
  // Skeleton starts with `::`.
474
- var d=ln(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?y:{val:{type:pt.number,value:n,location:u,style:y.val},err:null};if(0===d.length)return this.error(mt.EXPECT_DATE_TIME_SKELETON,u);var h=d;
474
+ var d=cn(l.style.slice(2));if("number"===o)return(y=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?y:{val:{type:gt.number,value:n,location:u,style:y.val},err:null};if(0===d.length)return this.error(pt.EXPECT_DATE_TIME_SKELETON,u);var m=d;
475
475
  // Get "best match" pattern only if locale is passed, if not, let it
476
476
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
477
477
  // for unsupported patterns.
478
- this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var s=1+(1&a),o=a<2?1:3+(a>>1),l=jt(t);for("H"!=l&&"k"!=l||(o=0);o-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var m={type:ft.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Lt(h):{}};return{val:{type:"date"===s?pt.date:pt.time,value:n,location:u,style:m},err:null}}
478
+ this.locale&&(m=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),s=i<2?1:3+(i>>1),l=jt(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===a?"H":a}return n}(d,this.locale));var h={type:ft.dateTime,pattern:m,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Lt(m):{}};return{val:{type:"date"===o?gt.date:gt.time,value:n,location:u,style:h},err:null}}
479
479
  // Regular style or no style.
480
- return{val:{type:"number"===s?pt.number:"date"===s?pt.date:pt.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
480
+ return{val:{type:"number"===o?gt.number:"date"===o?gt.date:gt.time,value:n,location:u,style:null!==(a=null==l?void 0:l.style)&&void 0!==a?a:null},err:null};case"plural":case"selectordinal":case"select":
481
481
  // Parse this range:
482
482
  // {name, plural, options}
483
483
  // ^---------^
484
- var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(mt.EXPECT_SELECT_ARGUMENT_OPTIONS,Vt(p,gt({},p)));this.bumpSpace();
484
+ var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(pt.EXPECT_SELECT_ARGUMENT_OPTIONS,Zt(p,yt({},p)));this.bumpSpace();
485
485
  // Parse offset:
486
486
  // {name, plural, offset:1, options}
487
487
  // ^-----^
488
488
  // or the first option:
489
489
  // {name, plural, one {...} other {...}}
490
490
  // ^--^
491
- var f=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Vt(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,mt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
491
+ var g=this.parseIdentifierIfPossible(),f=0;if("select"!==o&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Zt(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
492
492
  // Parse another identifier for option parsing
493
- this.bumpSpace(),f=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,s,t,f);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var w=Vt(r,this.clonePosition());return"select"===s?{val:{type:pt.select,value:n,options:sn(b.val),location:w},err:null}:{val:{type:pt.plural,value:n,options:sn(b.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:w},err:null};default:return this.error(mt.INVALID_ARGUMENT_TYPE,Vt(a,o))}},e.prototype.tryParseArgumentClose=function(e){
493
+ this.bumpSpace(),g=this.parseIdentifierIfPossible(),f=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,o,t,g);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var w=Zt(r,this.clonePosition());return"select"===o?{val:{type:gt.select,value:n,options:sn(b.val),location:w},err:null}:{val:{type:gt.plural,value:n,options:sn(b.val),offset:f,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(pt.INVALID_ARGUMENT_TYPE,Zt(i,s))}},e.prototype.tryParseArgumentClose=function(e){
494
494
  // Parse: {value, number, ::currency/GBP }
495
- return this.isEOF()||125/* `}` */!==this.char()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
495
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(pt.EXPECT_ARGUMENT_CLOSING_BRACE,Zt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
496
496
  /**
497
497
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
498
498
  */
499
499
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
500
500
  // Treat apostrophe as quoting but include it in the style part.
501
501
  // Find the end of the quoted literal text.
502
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(mt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Vt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
502
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(pt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Zt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
503
503
  // Parse the skeleton
504
- for(var t=[],n=0,r=e.split(Tt).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),o=0,l=s;o<l.length;o++)if(0===l[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:s})}return t}(e)}catch(e){return this.error(mt.INVALID_NUMBER_SKELETON,t)}return{val:{type:ft.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Bt(n):{}},err:null}},
504
+ for(var t=[],n=0,r=e.split(Pt).filter((function(e){return e.length>0}));n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],o=a.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(pt.INVALID_NUMBER_SKELETON,t)}return{val:{type:ft.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?zt(n):{}},err:null}},
505
505
  /**
506
506
  * @param nesting_level The current nesting level of messages.
507
507
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -516,26 +516,26 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
516
516
  // Parse:
517
517
  // one {one apple}
518
518
  // ^--^
519
- for(var i,a=!1,s=[],o=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
519
+ for(var a,i=!1,o=[],s=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
520
520
  // Try parse `={number}` selector
521
- var d=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,mt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Vt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
521
+ var d=this.tryParseDecimalInteger(pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,pt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Zt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
522
522
  // Duplicate selector clauses
523
- if(o.has(l))return this.error("select"===t?mt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:mt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(a=!0),
523
+ if(s.has(l))return this.error("select"===t?pt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:pt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(i=!0),
524
524
  // Parse:
525
525
  // one {one apple}
526
526
  // ^----------^
527
- this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?mt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Vt(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var p=this.tryParseArgumentClose(h);if(p.err)return p;s.push([l,{value:m.val,location:Vt(h,this.clonePosition())}]),
527
+ this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Zt(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var p=this.tryParseArgumentClose(m);if(p.err)return p;o.push([l,{value:h.val,location:Zt(m,this.clonePosition())}]),
528
528
  // Keep track of the existing selectors
529
- o.add(l),
529
+ s.add(l),
530
530
  // Prep next selector clause.
531
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?mt.EXPECT_SELECT_ARGUMENT_SELECTOR:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Vt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(mt.MISSING_OTHER_CLAUSE,Vt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.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 s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,a=10*a+(s-48),this.bump()}var o=Vt(r,this.clonePosition());return i?en(a*=n)?{val:a,err:null}:this.error(t,o):this.error(e,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
531
+ this.bumpSpace(),l=(a=this.parseIdentifierIfPossible()).value,c=a.location}return 0===o.length?this.error("select"===t?pt.EXPECT_SELECT_ARGUMENT_SELECTOR:pt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Zt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(pt.MISSING_OTHER_CLAUSE,Zt(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(o>=48/* `0` */&&o<=57/* `9` */))break;a=!0,i=10*i+(o-48),this.bump()}var s=Zt(r,this.clonePosition());return a?tn(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
532
532
  // This is much faster than `Object.assign` or spread.
533
533
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
534
534
  /**
535
535
  * Return the code point at the current position of the parser.
536
536
  * Throws if the index is out of bound.
537
537
  */
538
- e.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 ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
538
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ln(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
539
539
  /** Bump the parser to the next UTF-16 code unit. */
540
540
  e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10/* '\n' */===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,
541
541
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -546,7 +546,7 @@ this.position.offset+=e<65536?1:2)}},
546
546
  * following the prefix and return true. Otherwise, don't bump the parser
547
547
  * and return false.
548
548
  */
549
- e.prototype.bumpIf=function(e){if(rn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
549
+ e.prototype.bumpIf=function(e){if(an(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
550
550
  /**
551
551
  * Bump the parser until the pattern character is found and return `true`.
552
552
  * Otherwise bump to the end of the file and return `false`.
@@ -558,7 +558,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t
558
558
  */
559
559
  e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},
560
560
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
561
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&pn(this.char());)this.bump()},
561
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&gn(this.char());)this.bump()},
562
562
  /**
563
563
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
564
564
  * If the input has been exhausted, then this returns null.
@@ -568,161 +568,161 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
568
568
  * This check if codepoint is alphabet (lower & uppercase)
569
569
  * @param codepoint
570
570
  * @returns
571
- */function mn(e){return e>=97&&e<=122||e>=65&&e<=90}
571
+ */function pn(e){return e>=97&&e<=122||e>=65&&e<=90}
572
572
  /**
573
573
  * Code point equivalent of regex `\p{White_Space}`.
574
574
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
575
575
  */
576
- function pn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
576
+ function gn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
577
577
  /**
578
578
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
579
579
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
580
- */function fn(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function gn(e){e.forEach((function(e){if(delete e.location,$t(e)||St(e))for(var t in e.options)delete e.options[t].location,gn(e.options[t].value);else wt(e)&&kt(e.style)||(xt(e)||_t(e))&&Et(e.style)?delete e.style.location:Ct(e)&&gn(e.children)}))}function yn(e,t){void 0===t&&(t={}),t=gt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new hn(e,t).parse();if(n.err){var r=SyntaxError(mt[n.err.kind]);
580
+ */function fn(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function yn(e){e.forEach((function(e){if(delete e.location,St(e)||Ct(e))for(var t in e.options)delete e.options[t].location,yn(e.options[t].value);else xt(e)&&kt(e.style)||(_t(e)||$t(e))&&Et(e.style)?delete e.style.location:Ft(e)&&yn(e.children)}))}function vn(e,t){void 0===t&&(t={}),t=yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new hn(e,t).parse();if(n.err){var r=SyntaxError(pt[n.err.kind]);
581
581
  // @ts-expect-error Assign to error object
582
582
  throw r.location=n.err.location,
583
583
  // @ts-expect-error Assign to error object
584
- r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||gn(n.val),n.val}
584
+ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||yn(n.val),n.val}
585
585
 
586
586
  // Main
587
587
 
588
- function vn(e,t){var n=t&&t.cache?t.cache:Cn,r=t&&t.serializer?t.serializer:$n;return(t&&t.strategy?t.strategy:_n)(e,{cache:n,serializer:r})}
588
+ function bn(e,t){var n=t&&t.cache?t.cache:Fn,r=t&&t.serializer?t.serializer:Sn;return(t&&t.strategy?t.strategy:$n)(e,{cache:n,serializer:r})}
589
589
 
590
590
  // Strategy
591
591
 
592
- function bn(e,t,n,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),s=t.get(a);return void 0===s&&(s=e.call(this,r),t.set(a,s)),s}function wn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return void 0===a&&(a=e.apply(this,r),t.set(i,a)),a}function xn(e,t,n,r,i){return n.bind(t,e,r,i)}function _n(e,t){return xn(e,this,1===e.length?bn:wn,t.cache.create(),t.serializer)}
592
+ function wn(e,t,n,r){var a,i=null==(a=r)||"number"==typeof a||"boolean"==typeof a?r:n(r),o=t.get(i);return void 0===o&&(o=e.call(this,r),t.set(i,o)),o}function xn(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),i=t.get(a);return void 0===i&&(i=e.apply(this,r),t.set(a,i)),i}function _n(e,t,n,r,a){return n.bind(t,e,r,a)}function $n(e,t){return _n(e,this,1===e.length?wn:xn,t.cache.create(),t.serializer)}
593
593
  // Serializer
594
- var $n=function(){return JSON.stringify(arguments)};
594
+ var Sn=function(){return JSON.stringify(arguments)};
595
595
 
596
596
  // Cache
597
597
 
598
- function Sn(){this.cache=Object.create(null)}Sn.prototype.get=function(e){return this.cache[e]},Sn.prototype.set=function(e,t){this.cache[e]=t};var Fn,Cn={create:function(){
598
+ function Cn(){this.cache=Object.create(null)}Cn.prototype.get=function(e){return this.cache[e]},Cn.prototype.set=function(e,t){this.cache[e]=t};var Gn,Fn={create:function(){
599
599
  // @ts-ignore
600
- return new Sn}},kn={variadic:function(e,t){return xn(e,this,wn,t.cache.create(),t.serializer)},monadic:function(e,t){return xn(e,this,bn,t.cache.create(),t.serializer)}};!function(e){
600
+ return new Cn}},kn={variadic:function(e,t){return _n(e,this,xn,t.cache.create(),t.serializer)},monadic:function(e,t){return _n(e,this,wn,t.cache.create(),t.serializer)}};!function(e){
601
601
  // When we have a placeholder but no value to format
602
602
  e.MISSING_VALUE="MISSING_VALUE",
603
603
  // When value supplied is invalid
604
604
  e.INVALID_VALUE="INVALID_VALUE",
605
605
  // When we need specific Intl API but it's not available
606
- e.MISSING_INTL_API="MISSING_INTL_API"}(Fn||(Fn={}));var En,Gn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mn=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Fn.INVALID_VALUE,i)||this}return ht(t,e),t}(Gn),Ln=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Fn.INVALID_VALUE,r)||this}return ht(t,e),t}(Gn),Tn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Fn.MISSING_VALUE,n)||this}return ht(t,e),t}(Gn);function Pn(e){return"function"==typeof e}
606
+ e.MISSING_INTL_API="MISSING_INTL_API"}(Gn||(Gn={}));var En,Mn=/** @class */function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.code=n,a.originalMessage=r,a}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Tn=/** @class */function(e){function t(t,n,r,a){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Gn.INVALID_VALUE,a)||this}return ht(t,e),t}(Mn),Ln=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Gn.INVALID_VALUE,r)||this}return ht(t,e),t}(Mn),Pn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Gn.MISSING_VALUE,n)||this}return ht(t,e),t}(Mn);function In(e){return"function"==typeof e}
607
607
  // TODO(skeleton): add skeleton support
608
- function In(e,t,n,r,i,a,
608
+ function An(e,t,n,r,a,i,
609
609
  // For debugging
610
- s){
610
+ o){
611
611
  // Hot path for straight simple msg translations
612
- if(1===e.length&&vt(e[0]))return[{type:En.literal,value:e[0].value}];for(var o=[],l=0,c=e;l<c.length;l++){var u=c[l];
612
+ if(1===e.length&&bt(e[0]))return[{type:En.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];
613
613
  // Exit early for string parts.
614
- if(vt(u))o.push({type:En.literal,value:u.value});else
614
+ if(bt(u))s.push({type:En.literal,value:u.value});else
615
615
  // TODO: should this part be literal type?
616
616
  // Replace `#` in plural rules with the actual numeric value.
617
- if(Ft(u))"number"==typeof a&&o.push({type:En.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;
617
+ if(Gt(u))"number"==typeof i&&s.push({type:En.literal,value:n.getNumberFormat(t).format(i)});else{var d=u.value;
618
618
  // Enforce that all required values are provided by the caller.
619
- if(!i||!(d in i))throw new Tn(d,s);var h=i[d];if(bt(u))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),o.push({type:"string"==typeof h?En.literal:En.object,value:h});else
619
+ if(!a||!(d in a))throw new Pn(d,o);var m=a[d];if(wt(u))m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),s.push({type:"string"==typeof m?En.literal:En.object,value:m});else
620
620
  // Recursively format plural and select parts' option — which can be a
621
621
  // nested pattern structure. The choosing of the option to use is
622
622
  // abstracted-by and delegated-to the part helper object.
623
- if(xt(u)){var m="string"==typeof u.style?r.date[u.style]:Et(u.style)?u.style.parsedOptions:void 0;o.push({type:En.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){m="string"==typeof u.style?r.time[u.style]:Et(u.style)?u.style.parsedOptions:r.time.medium;o.push({type:En.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(wt(u)){(m="string"==typeof u.style?r.number[u.style]:kt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),o.push({type:En.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Ct(u)){var p=u.children,f=u.value,g=i[f];if(!Pn(g))throw new Ln(f,"function",s);var y=g(In(p,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),o.push.apply(o,y.map((function(e){return{type:"string"==typeof e?En.literal:En.object,value:e}})))}if($t(u)){if(!(v=u.options[h]||u.options.other))throw new Mn(u.value,h,Object.keys(u.options),s);o.push.apply(o,In(v.value,t,n,r,i))}else if(St(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Gn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Fn.MISSING_INTL_API,s);var b=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new Mn(u.value,h,Object.keys(u.options),s);o.push.apply(o,In(v.value,t,n,r,i,h-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===En.literal&&t.type===En.literal?n.value+=t.value:e.push(t),e}),[])}(o)}
623
+ if(_t(u)){var h="string"==typeof u.style?r.date[u.style]:Et(u.style)?u.style.parsedOptions:void 0;s.push({type:En.literal,value:n.getDateTimeFormat(t,h).format(m)})}else if($t(u)){h="string"==typeof u.style?r.time[u.style]:Et(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:En.literal,value:n.getDateTimeFormat(t,h).format(m)})}else if(xt(u)){(h="string"==typeof u.style?r.number[u.style]:kt(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(m*=h.scale||1),s.push({type:En.literal,value:n.getNumberFormat(t,h).format(m)})}else{if(Ft(u)){var p=u.children,g=u.value,f=a[g];if(!In(f))throw new Ln(g,"function",o);var y=f(An(p,t,n,r,a,i).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?En.literal:En.object,value:e}})))}if(St(u)){if(!(v=u.options[m]||u.options.other))throw new Tn(u.value,m,Object.keys(u.options),o);s.push.apply(s,An(v.value,t,n,r,a))}else if(Ct(u)){var v;if(!(v=u.options["=".concat(m)])){if(!Intl.PluralRules)throw new Mn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Gn.MISSING_INTL_API,o);var b=n.getPluralRules(t,{type:u.pluralType}).select(m-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new Tn(u.value,m,Object.keys(u.options),o);s.push.apply(s,An(v.value,t,n,r,a,m-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===En.literal&&t.type===En.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
624
624
  /*
625
625
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
626
626
  Copyrights licensed under the New BSD License.
627
627
  See the accompanying LICENSE file for terms.
628
628
  */
629
629
  // -- MessageFormat --------------------------------------------------------
630
- function An(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?gt(gt(gt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=gt(gt({},i[t]),a[t]||{}),e}),{})):i),n}),gt({},e)):e}function On(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(En||(En={}));var Dn=/** @class */function(){function e(t,n,r,i){var a,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
630
+ function On(e,t){return t?Object.keys(e).reduce((function(n,r){var a,i;return n[r]=(a=e[r],(i=t[r])?yt(yt(yt({},a||{}),i||{}),Object.keys(a).reduce((function(e,t){return e[t]=yt(yt({},a[t]),i[t]||{}),e}),{})):a),n}),yt({},e)):e}function Dn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(En||(En={}));var Nn=/** @class */function(){function e(t,n,r,a){var i,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
631
631
  // Hot path for straight simple msg translations
632
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===En.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return In(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
632
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===En.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return An(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},
633
633
  // Defined first because it's used to build the format pattern.
634
634
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
635
635
  // Parse string messages into an AST.
636
- this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
636
+ this.ast=e.__parse(t,{ignoreTag:null==a?void 0:a.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
637
637
  // Creates a new object with the specified `formats` merged with the default
638
638
  // formats.
639
- this.formats=An(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.number),strategy:kn.variadic}),getDateTimeFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.dateTime),strategy:kn.variadic}),getPluralRules:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,yt([void 0],t,!1)))}),{cache:On(a.pluralRules),strategy:kn.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=yn,
639
+ this.formats=On(e.formats,r),this.formatters=a&&a.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Dn(i.number),strategy:kn.variadic}),getDateTimeFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Dn(i.dateTime),strategy:kn.variadic}),getPluralRules:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,vt([void 0],t,!1)))}),{cache:Dn(i.pluralRules),strategy:kn.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=vn,
640
640
  // Default format options used as the prototype of the `formats` provided to the
641
641
  // constructor. These are used when constructing the internal Intl.NumberFormat
642
642
  // and Intl.DateTimeFormat instances.
643
- e.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"}}},e}();const Nn={},Rn=(e,t,n)=>n?(t in Nn||(Nn[t]={}),e in Nn[t]||(Nn[t][e]=n),n):n,Hn=(e,t)=>{if(null==t)return;if(t in Nn&&e in Nn[t])return Nn[t][e];const n=dr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Rn(e,t,i)}};let Bn;const Un=et({});function Yn(e){return e in Bn}function jn(e,t){if(!Yn(e))return null;const n=function(e){return Bn[e]||null}(e);return function(e,t){if(null==t)return;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(e>0){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}(n,t)}function zn(e,...t){delete Nn[e],Un.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}tt([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>Bn=e));const Wn={};function Vn(e){return Wn[e]}function Zn(e){return null!=e&&dr(e).some((e=>{var t;return null==(t=Vn(e))?void 0:t.size}))}function Kn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>zn(e,...t)))}const qn={};function Xn(e){if(!Zn(e))return e in qn?qn[e]:Promise.resolve();const t=function(e){return dr(e).map((e=>{const t=Vn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return qn[e]=Promise.all(t.map((([e,t])=>Kn(e,t)))).then((()=>{if(Zn(e))return Xn(e);delete qn[e]})),qn[e]}const Jn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Qn(){return Jn}const er=et(!1);var tr=Object.defineProperty,nr=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,or=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let lr;const cr=et(null);function ur(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function dr(e,t=Qn().fallbackLocale){const n=ur(e);return t?[...new Set([...n,...ur(t)])]:n}function hr(){return null!=lr?lr:void 0}cr.subscribe((e=>{lr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const mr=(pr=((e,t)=>{for(var n in t||(t={}))ar.call(t,n)&&or(e,n,t[n]);if(ir)for(var n of ir(t))sr.call(t,n)&&or(e,n,t[n]);return e})({},cr),nr(pr,rr({set:e=>{if(e&&function(e){if(null==e)return;const t=dr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Yn(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Qn();let n;return"undefined"!=typeof window&&null!=hr()&&t?n=window.setTimeout((()=>er.set(!0)),t):er.set(!0),Xn(e).then((()=>{cr.set(e)})).finally((()=>{clearTimeout(n),er.set(!1)}))}return cr.set(e)}})));var pr;const fr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var gr=Object.defineProperty,yr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,wr=(e,t,n)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xr=(e,t)=>{for(var n in t||(t={}))vr.call(t,n)&&wr(e,n,t[n]);if(yr)for(var n of yr(t))br.call(t,n)&&wr(e,n,t[n]);return e},_r=(e,t)=>{var n={};for(var r in e)vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yr)for(var r of yr(e))t.indexOf(r)<0&&br.call(e,r)&&(n[r]=e[r]);return n};const $r=(e,t)=>{const{formats:n}=Qn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Sr=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=$r("number",r)),new Intl.NumberFormat(n,i)})),Fr=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=$r("date",r):0===Object.keys(i).length&&(i=$r("date","short")),new Intl.DateTimeFormat(n,i)})),Cr=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=$r("time",r):0===Object.keys(i).length&&(i=$r("time","short")),new Intl.DateTimeFormat(n,i)})),kr=fr((
643
+ e.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"}}},e}();const Rn={},Bn=(e,t,n)=>n?(t in Rn||(Rn[t]={}),e in Rn[t]||(Rn[t][e]=n),n):n,Hn=(e,t)=>{if(null==t)return;if(t in Rn&&e in Rn[t])return Rn[t][e];const n=mr(t);for(let r=0;r<n.length;r++){const a=jn(n[r],e);if(a)return Bn(e,t,a)}};let zn;const Un=tt({});function Yn(e){return e in zn}function jn(e,t){if(!Yn(e))return null;const n=function(e){return zn[e]||null}(e);return function(e,t){if(null==t)return;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(e>0){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}(n,t)}function Wn(e,...t){delete Rn[e],Un.update((n=>(n[e]=dt.all([n[e]||{},...t]),n)))}nt([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>zn=e));const Vn={};function Zn(e){return Vn[e]}function Kn(e){return null!=e&&mr(e).some((e=>{var t;return null==(t=Zn(e))?void 0:t.size}))}function qn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Vn[e].delete(t),0===Vn[e].size&&delete Vn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Wn(e,...t)))}const Xn={};function Jn(e){if(!Kn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return mr(e).map((e=>{const t=Zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>qn(e,t)))).then((()=>{if(Kn(e))return Jn(e);delete Xn[e]})),Xn[e]}const Qn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function er(){return Qn}const tr=tt(!1);var nr=Object.defineProperty,rr=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,lr=(e,t,n)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cr;const ur=tt(null);function dr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function mr(e,t=er().fallbackLocale){const n=dr(e);return t?[...new Set([...n,...dr(t)])]:n}function hr(){return null!=cr?cr:void 0}ur.subscribe((e=>{cr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const pr=(gr=((e,t)=>{for(var n in t||(t={}))or.call(t,n)&&lr(e,n,t[n]);if(ir)for(var n of ir(t))sr.call(t,n)&&lr(e,n,t[n]);return e})({},ur),rr(gr,ar({set:e=>{if(e&&function(e){if(null==e)return;const t=mr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Yn(n))return n}}(e)&&Kn(e)){const{loadingDelay:t}=er();let n;return"undefined"!=typeof window&&null!=hr()&&t?n=window.setTimeout((()=>tr.set(!0)),t):tr.set(!0),Jn(e).then((()=>{ur.set(e)})).finally((()=>{clearTimeout(n),tr.set(!1)}))}return ur.set(e)}})));var gr;const fr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var yr=Object.defineProperty,vr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,xr=(e,t,n)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_r=(e,t)=>{for(var n in t||(t={}))br.call(t,n)&&xr(e,n,t[n]);if(vr)for(var n of vr(t))wr.call(t,n)&&xr(e,n,t[n]);return e},$r=(e,t)=>{var n={};for(var r in e)br.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&vr)for(var r of vr(e))t.indexOf(r)<0&&wr.call(e,r)&&(n[r]=e[r]);return n};const Sr=(e,t)=>{const{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=fr((e=>{var t=e,{locale:n,format:r}=t,a=$r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(a=Sr("number",r)),new Intl.NumberFormat(n,a)})),Gr=fr((e=>{var t=e,{locale:n,format:r}=t,a=$r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?a=Sr("date",r):0===Object.keys(a).length&&(a=Sr("date","short")),new Intl.DateTimeFormat(n,a)})),Fr=fr((e=>{var t=e,{locale:n,format:r}=t,a=$r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?a=Sr("time",r):0===Object.keys(a).length&&(a=Sr("time","short")),new Intl.DateTimeFormat(n,a)})),kr=fr((
644
644
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
645
- (e,t=hr())=>new Dn(e,t,Qn().formats,{ignoreTag:Qn().ignoreTag}))),Er=(e,t={})=>{var n,r,i,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=hr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Hn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(i=null==(r=(n=Qn()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!o)return u;let d=u;try{d=kr(u,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Gr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Cr(xr({locale:n},r))})(t).format(e),Mr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Fr(xr({locale:n},r))})(t).format(e),Lr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Sr(xr({locale:n},r))})(t).format(e),Tr=(e,t=hr())=>Hn(e,t),Pr=tt([mr,Un],(()=>Er));tt([mr],(()=>Gr)),tt([mr],(()=>Mr)),tt([mr],(()=>Lr)),tt([mr,Un],(()=>Tr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Xe.indexOf(e)){let n=new qe(t);Je[e]=n,Xe.push(e)}return Je[e]}};
645
+ (e,t=hr())=>new Nn(e,t,er().formats,{ignoreTag:er().ignoreTag}))),Er=(e,t={})=>{var n,r,a,i;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=hr(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Hn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(i=null!=(a=null==(r=(n=er()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?a:c)?i:e;if(!s)return u;let d=u;try{d=kr(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Mr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=$r(t,["locale"]);return Fr(_r({locale:n},r))})(t).format(e),Tr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=$r(t,["locale"]);return Gr(_r({locale:n},r))})(t).format(e),Lr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=$r(t,["locale"]);return Cr(_r({locale:n},r))})(t).format(e),Pr=(e,t=hr())=>Hn(e,t),Ir=nt([pr,Un],(()=>Er));nt([pr],(()=>Mr)),nt([pr],(()=>Tr)),nt([pr],(()=>Lr)),nt([pr,Un],(()=>Pr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Je.indexOf(e)){let n=new Xe(t);Qe[e]=n,Je.push(e)}return Qe[e]}};
646
646
  /**
647
647
  * @name isMobile
648
648
  * @description A method that returns if the browser used to access the app is from a mobile device or not
649
649
  * @param {String} userAgent window.navigator.userAgent
650
650
  * @returns {Boolean} true or false
651
651
  */
652
- const Ir=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)),Ar=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
652
+ const Ar=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)),Or=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
653
653
  /**
654
654
  * @name getDevice
655
655
  * @description A method that returns the type of the device
656
656
  * @param {String} userAgent window.navigator.userAgent
657
657
  * @returns {String} Android/iPhone/iPad/PC
658
- */function Or(e,t){zn(e,t)}const Dr={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Nr(e,t){zn(e,t)}const Rr={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};var Hr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ge(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
658
+ */function Dr(e,t){Wn(e,t)}const Nr={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Rr(e,t){Wn(e,t)}const Br={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"},hr:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};var Hr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ye(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
659
659
  // This is done to register the method called with moment()
660
660
  // without creating circular dependencies.
661
- function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
661
+ function a(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){
662
662
  // IE8 will treat undefined and null as object if it wasn't for
663
663
  // input != null
664
- return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function m(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Kn(e,t,n,r,!0).utc()}function f(){
664
+ return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,r=[],a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function h(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Kn(e,t,n,r,!0).utc()}function g(){
665
665
  // We need to deep clone this object.
666
- return{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}}function g(e){return null==e._pf&&(e._pf=f()),e._pf}function y(e){if(null==e._isValid){var t=g(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!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&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function v(e){var t=p(NaN);return null!=e?m(g(t),e):g(t).userInvalidated=!0,t}
666
+ return{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}}function f(e){return null==e._pf&&(e._pf=g()),e._pf}function y(e){if(null==e._isValid){var t=f(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),a=!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&&r);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function v(e){var t=p(NaN);return null!=e?h(f(t),e):f(t).userInvalidated=!0,t}
667
667
  // Plugins that add properties should also add the key here (null value),
668
668
  // so we can properly clone ourselves.
669
- n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],w=!1;function x(e,t){var n,r,i,a=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)c(i=t[r=b[n]])||(e[r]=i);return e}
669
+ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],w=!1;function x(e,t){var n,r,a,i=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=f(t)),c(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)c(a=t[r=b[n]])||(e[r]=a);return e}
670
670
  // Moment prototype object
671
671
  function _(e){x(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
672
672
  // Prevent infinite loop in case updateOffset creates new moment
673
673
  // objects.
674
- !1===w&&(w=!0,r.updateOffset(this),w=!1)}function $(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function F(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,s,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(s in i+="\n["+a+"] ",arguments[0])o(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,k={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),k[e]||(S(t),k[e]=!0)}function G(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)o(e,n)&&(G(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
674
+ !1===w&&(w=!0,r.updateOffset(this),w=!1)}function $(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var n=!0;return h((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var a,i,o,l=[],c=arguments.length;for(i=0;i<c;i++){if(a="","object"==typeof arguments[i]){for(o in a+="\n["+i+"] ",arguments[0])s(arguments[0],o)&&(a+=o+": "+arguments[0][o]+", ");a=a.slice(0,-2)}else a=arguments[i];l.push(a)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var G,F={};function k(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),F[e]||(S(t),F[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)s(e,n)&&(E(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
675
675
  // Lenient ordinal parsing accepts just a number in addition to
676
676
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
677
677
  // TODO: Remove "ordinalParse" fallback in next major release.
678
- this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function L(e,t){var n,r=m({},e);for(n in t)o(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},m(r[n],e[n]),m(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)o(e,n)&&!o(t,n)&&s(e[n])&&(
678
+ this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,r=h({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(
679
679
  // make sure changes to properties don't modify parent config
680
- r[n]=m({},r[n]));return r}function T(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return G(r)?r.call(t,n):r}function A(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var O=/(\[[^\[]*\])|(\\)?([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,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},R={};
680
+ r[n]=h({},r[n]));return r}function L(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,G=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return E(r)?r.call(t,n):r}function A(e,t,n){var r=""+Math.abs(e),a=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var O=/(\[[^\[]*\])|(\\)?([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,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},R={};
681
681
  // token: 'M'
682
682
  // padded: ['MM', 2]
683
683
  // ordinal: 'Mo'
684
684
  // callback: function () { this.month() + 1 }
685
- function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(R[e]=i),t&&(R[t[0]]=function(){return A(i.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(O);for(t=0,n=r.length;t<n;t++)R[r[t]]?r[t]=R[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=G(r[i])?r[i].call(t,e):r[i];return a}}
685
+ function B(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(R[e]=a),t&&(R[t[0]]=function(){return A(a.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function H(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function z(e){var t,n,r=e.match(O);for(t=0,n=r.length;t<n;t++)R[r[t]]?r[t]=R[r[t]]:r[t]=H(r[t]);return function(t){var a,i="";for(a=0;a<n;a++)i+=E(r[a])?r[a].call(t,e):r[a];return i}}
686
686
  // format date using native date object
687
- function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||U(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;n>=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var z={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"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function Z(){return this._invalidDate}var K="%d",q=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var J={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"};function Q(e,t,n,r){var i=this._relativeTime[n];return G(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return G(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)o(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ae={};function se(e,t){ae[e]=t}function oe(e){var t,n=[];for(t in e)o(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(me(this,e,n),r.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
687
+ function U(e,t){return e.isValid()?(t=Y(t,e.localeData()),N[t]=N[t]||z(t),N[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;n>=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var j={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"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function Z(){return this._invalidDate}var K="%d",q=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var J={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"};function Q(e,t,n,r){var a=this._relativeTime[n];return E(a)?a(e,t,n,r):a.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ae(e){var t,n,r={};for(n in e)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={};function oe(e,t){ie[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(he(this,e,n),r.updateOffset(this,t),this):me(this,e)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
688
688
  // MOMENTS
689
- function pe(e){return G(this[e=re(e)])?this[e]():this}function fe(e,t){if("object"==typeof e){var n,r=oe(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(G(this[e=re(e)]))return this[e](t);return this}var ye,ve=/\d/,// 0 - 9
689
+ function pe(e){return E(this[e=re(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var n,r=se(e=ae(e)),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(E(this[e=re(e)]))return this[e](t);return this}var fe,ve=/\d/,// 0 - 9
690
690
  be=/\d\d/,// 00 - 99
691
691
  we=/\d{3}/,// 000 - 999
692
692
  xe=/\d{4}/,// 0000 - 9999
693
693
  _e=/[+-]?\d{6}/,// -999999 - 999999
694
694
  $e=/\d\d?/,// 0 - 99
695
695
  Se=/\d\d\d\d?/,// 999 - 9999
696
- Fe=/\d\d\d\d\d\d?/,// 99999 - 999999
697
- Ce=/\d{1,3}/,// 0 - 999
698
- ke=/\d{1,4}/,// 0 - 9999
699
- Ee=/[+-]?\d{1,6}/,// -999999 - 999999
700
- Ge=/\d+/,// 0 - inf
696
+ Ce=/\d\d\d\d\d\d?/,// 99999 - 999999
697
+ Ge=/\d{1,3}/,// 0 - 999
698
+ Fe=/\d{1,4}/,// 0 - 9999
699
+ ke=/[+-]?\d{1,6}/,// -999999 - 999999
700
+ Ee=/\d+/,// 0 - inf
701
701
  Me=/[+-]?\d+/,// -inf - inf
702
- Le=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
703
- Te=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
702
+ Te=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
703
+ Le=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
704
704
  Pe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
705
705
  // any word (or two) characters or numbers including two/three word month in arabic.
706
706
  // includes scottish gaelic two word and hyphenated months
707
- Ie=/[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 Ae(e,t,n){ye[e]=G(t)?t:function(e,r){return e&&n?n:t}}function Oe(e,t){return o(ye,e)?ye[e](t._strict,t._locale):new RegExp(De(e))}
707
+ Ie=/[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 Ae(e,t,n){fe[e]=E(t)?t:function(e,r){return e&&n?n:t}}function Oe(e,t){return s(fe,e)?fe[e](t._strict,t._locale):new RegExp(De(e))}
708
708
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
709
- function De(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Re={};function He(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Re[e[n]]=i}function Be(e,t){He(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&o(Re,e)&&Re[e](t,n._a,n,e)}var Ye,je=0,ze=1,We=2,Ve=3,Ze=4,Ke=5,qe=6,Xe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
709
+ function De(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}fe={};var Re={};function Be(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Re[e[n]]=a}function He(e,t){Be(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function ze(e,t,n){null!=t&&s(Re,e)&&Re[e](t,n._a,n,e)}var Ue,Ye=0,je=1,We=2,Ve=3,Ze=4,Ke=5,qe=6,Xe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
710
710
  // FORMATTING
711
- Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
711
+ Ue=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
712
712
  // I know
713
- var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
713
+ var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
714
714
  // ALIASES
715
715
  ne("month","M"),
716
716
  // PRIORITY
717
- se("month",8),
717
+ oe("month",8),
718
718
  // PARSING
719
- Ae("M",$e),Ae("MM",$e,be),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("MMMM",(function(e,t){return t.monthsRegex(e)})),He(["M","MM"],(function(e,t){t[ze]=ue(e)-1})),He(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
719
+ Ae("M",$e),Ae("MM",$e,be),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("MMMM",(function(e,t){return t.monthsRegex(e)})),Be(["M","MM"],(function(e,t){t[je]=ue(e)-1})),Be(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);
720
720
  // if we didn't find a month name, mark the date as invalid.
721
- null!=i?t[ze]=i:g(n).invalidMonth=e}));
721
+ null!=a?t[je]=a:f(n).invalidMonth=e}));
722
722
  // LOCALES
723
- var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=Ie,at=Ie;function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function ot(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(
723
+ var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=Ie,it=Ie;function ot(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function st(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._monthsParse)for(
724
724
  // this is not used
725
- this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,s))?i:null:-1!==(i=Ye.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=Ye.call(this._shortMonthsParse,s))||-1!==(i=Ye.call(this._longMonthsParse,s))?i:null:-1!==(i=Ye.call(this._longMonthsParse,s))||-1!==(i=Ye.call(this._shortMonthsParse,s))?i:null}function ct(e,t,n){var r,i,a;if(this._monthsParseExact)return lt.call(this,e,t,n);
725
+ this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=Ue.call(this._shortMonthsParse,o))?a:null:-1!==(a=Ue.call(this._longMonthsParse,o))?a:null:"MMM"===t?-1!==(a=Ue.call(this._shortMonthsParse,o))||-1!==(a=Ue.call(this._longMonthsParse,o))?a:null:-1!==(a=Ue.call(this._longMonthsParse,o))||-1!==(a=Ue.call(this._shortMonthsParse,o))?a:null}function ct(e,t,n){var r,a,i;if(this._monthsParseExact)return lt.call(this,e,t,n);
726
726
  // TODO: add sorting
727
727
  // Sorting makes sure if one month (or abbr) is a prefix of another
728
728
  // see sorting in computeMonthsParse
@@ -730,38 +730,38 @@ for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shor
730
730
  // test the regex
731
731
  if(
732
732
  // make the regex if we don't have it already
733
- i=p([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]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}
733
+ a=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),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}}
734
734
  // MOMENTS
735
735
  function ut(e,t){var n;if(!e.isValid())
736
736
  // No op
737
737
  return e;if("string"==typeof t)if(/^\d+$/.test(t))t=ue(t);else
738
738
  // TODO: Another silent failure?
739
- if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function dt(e){return null!=e?(ut(this,e),r.updateOffset(this,!0),this):he(this,"Month")}function ht(){return et(this.year(),this.month())}function mt(e){return this._monthsParseExact?(o(this,"_monthsRegex")||ft.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=it),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(o(this,"_monthsRegex")||ft.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=at),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ft(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)
739
+ if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function dt(e){return null!=e?(ut(this,e),r.updateOffset(this,!0),this):me(this,"Month")}function mt(){return et(this.year(),this.month())}function ht(e){return this._monthsParseExact?(s(this,"_monthsRegex")||gt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||gt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function gt(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],i=[];for(t=0;t<12;t++)
740
740
  // make the regex if we don't have it already
741
- n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));
741
+ n=p([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));
742
742
  // Sorting makes sure if one month (or abbr) is a prefix of another it
743
743
  // will match the longer piece.
744
- for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=Ne(r[t]),i[t]=Ne(i[t]);for(t=0;t<24;t++)a[t]=Ne(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}
744
+ for(r.sort(e),a.sort(e),i.sort(e),t=0;t<12;t++)r[t]=Ne(r[t]),a[t]=Ne(a[t]);for(t=0;t<24;t++)i[t]=Ne(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}
745
745
  // FORMATTING
746
746
  // HELPERS
747
- function gt(e){return le(e)?366:365}
747
+ function ft(e){return le(e)?366:365}
748
748
  // HOOKS
749
- H("Y",0,0,(function(){var e=this.year();return e<=9999?A(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),
749
+ B("Y",0,0,(function(){var e=this.year();return e<=9999?A(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),
750
750
  // ALIASES
751
751
  ne("year","y"),
752
752
  // PRIORITIES
753
- se("year",1),
753
+ oe("year",1),
754
754
  // PARSING
755
- Ae("Y",Me),Ae("YY",$e,be),Ae("YYYY",ke,xe),Ae("YYYYY",Ee,_e),Ae("YYYYYY",Ee,_e),He(["YYYYY","YYYYYY"],je),He("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),He("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),He("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
755
+ Ae("Y",Me),Ae("YY",$e,be),Ae("YYYY",Fe,xe),Ae("YYYYY",ke,_e),Ae("YYYYYY",ke,_e),Be(["YYYYY","YYYYYY"],Ye),Be("YYYY",(function(e,t){t[Ye]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),Be("YY",(function(e,t){t[Ye]=r.parseTwoDigitYear(e)})),Be("Y",(function(e,t){t[Ye]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
756
756
  // MOMENTS
757
- var yt=de("FullYear",!0);function vt(){return le(this.year())}function bt(e,t,n,r,i,a,s){
757
+ var yt=de("FullYear",!0);function vt(){return le(this.year())}function bt(e,t,n,r,a,i,o){
758
758
  // can't just apply() to create a date:
759
759
  // https://stackoverflow.com/q/181348
760
- var o;
760
+ var s;
761
761
  // the date constructor remaps years 0-99 to 1900-1999
762
762
  return e<100&&e>=0?(
763
763
  // preserve leap years using a full 400 year cycle, then reset
764
- o=new Date(e+400,t,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,i,a,s),o}function wt(e){var t,n;
764
+ s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function wt(e){var t,n;
765
765
  // the Date.UTC function remaps years 0-99 to 1900-1999
766
766
  return e<100&&e>=0?(
767
767
  // preserve leap years using a full 400 year cycle, then reset
@@ -770,78 +770,78 @@ return e<100&&e>=0?(
770
770
  function xt(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
771
771
  r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}
772
772
  // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
773
- function _t(e,t,n,r,i){var a,s,o=1+7*(t-1)+(7+n-r)%7+xt(e,r,i);return o<=0?s=gt(a=e-1)+o:o>gt(e)?(a=e+1,s=o-gt(e)):(a=e,s=o),{year:a,dayOfYear:s}}function $t(e,t,n){var r,i,a=xt(e.year(),t,n),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?r=s+St(i=e.year()-1,t,n):s>St(e.year(),t,n)?(r=s-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function St(e,t,n){var r=xt(e,t,n),i=xt(e+1,t,n);return(gt(e)-r+i)/7}
773
+ function _t(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+xt(e,r,a);return s<=0?o=ft(i=e-1)+s:s>ft(e)?(i=e+1,o=s-ft(e)):(i=e,o=s),{year:i,dayOfYear:o}}function $t(e,t,n){var r,a,i=xt(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+St(a=e.year()-1,t,n):o>St(e.year(),t,n)?(r=o-St(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function St(e,t,n){var r=xt(e,t,n),a=xt(e+1,t,n);return(ft(e)-r+a)/7}
774
774
  // FORMATTING
775
775
  // HELPERS
776
776
  // LOCALES
777
- function Ft(e){return $t(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),
777
+ function Ct(e){return $t(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),
778
778
  // ALIASES
779
779
  ne("week","w"),ne("isoWeek","W"),
780
780
  // PRIORITIES
781
- se("week",5),se("isoWeek",5),
781
+ oe("week",5),oe("isoWeek",5),
782
782
  // PARSING
783
- Ae("w",$e),Ae("ww",$e,be),Ae("W",$e),Ae("WW",$e,be),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var Ct={dow:0,// Sunday is the first day of the week.
784
- doy:6};function kt(){return this._week.dow}function Et(){return this._week.doy}
783
+ Ae("w",$e),Ae("ww",$e,be),Ae("W",$e),Ae("WW",$e,be),He(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var Gt={dow:0,// Sunday is the first day of the week.
784
+ doy:6};function Ft(){return this._week.dow}function kt(){return this._week.doy}
785
785
  // MOMENTS
786
- function Gt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Mt(e){var t=$t(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
786
+ function Et(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Mt(e){var t=$t(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
787
787
  // FORMATTING
788
788
  // HELPERS
789
- function Lt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Tt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
789
+ function Tt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Lt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
790
790
  // LOCALES
791
- function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),
791
+ function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),
792
792
  // ALIASES
793
793
  ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
794
794
  // PRIORITY
795
- se("day",11),se("weekday",11),se("isoWeekday",11),
795
+ oe("day",11),oe("weekday",11),oe("isoWeekday",11),
796
796
  // PARSING
797
- Ae("d",$e),Ae("e",$e),Ae("E",$e),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
797
+ Ae("d",$e),Ae("e",$e),Ae("E",$e),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),He(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);
798
798
  // if we didn't get a weekday name, mark the date as invalid
799
- null!=i?t.d=i:g(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ot="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Dt=Ie,Nt=Ie,Rt=Ie;function Ht(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=p([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=Ye.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,s))||-1!==(i=Ye.call(this._shortWeekdaysParse,s))||-1!==(i=Ye.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,s))||-1!==(i=Ye.call(this._weekdaysParse,s))||-1!==(i=Ye.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,s))||-1!==(i=Ye.call(this._weekdaysParse,s))||-1!==(i=Ye.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
799
+ null!=a?t.d=a:f(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ot="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Dt=Ie,Nt=Ie,Rt=Ie;function Bt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function zt(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=Ue.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=Ue.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=Ue.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=Ue.call(this._weekdaysParse,o))||-1!==(a=Ue.call(this._shortWeekdaysParse,o))||-1!==(a=Ue.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=Ue.call(this._shortWeekdaysParse,o))||-1!==(a=Ue.call(this._weekdaysParse,o))||-1!==(a=Ue.call(this._minWeekdaysParse,o))?a:null:-1!==(a=Ue.call(this._minWeekdaysParse,o))||-1!==(a=Ue.call(this._weekdaysParse,o))||-1!==(a=Ue.call(this._shortWeekdaysParse,o))?a:null}function Yt(e,t,n){var r,a,i;if(this._weekdaysParseExact)return Ut.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
800
800
  // test the regex
801
801
  if(
802
802
  // make the regex if we don't have it already
803
- i=p([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]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}
803
+ a=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),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}}
804
804
  // MOMENTS
805
- function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Lt(e,this.localeData()),this.add(e-t,"d")):t}function Wt(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")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;
805
+ function jt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Tt(e,this.localeData()),this.add(e-t,"d")):t}function Wt(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")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;
806
806
  // behaves the same as moment#day except
807
807
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
808
808
  // as a setter, sunday should belong to the previous week.
809
- if(null!=e){var t=Tt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Dt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,s=[],o=[],l=[],c=[];for(t=0;t<7;t++)
809
+ if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Dt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)
810
810
  // make the regex if we don't have it already
811
- n=p([2e3,1]).day(t),r=Ne(this.weekdaysMin(n,"")),i=Ne(this.weekdaysShort(n,"")),a=Ne(this.weekdays(n,"")),s.push(r),o.push(i),l.push(a),c.push(r),c.push(i),c.push(a);
811
+ n=p([2e3,1]).day(t),r=Ne(this.weekdaysMin(n,"")),a=Ne(this.weekdaysShort(n,"")),i=Ne(this.weekdays(n,"")),o.push(r),s.push(a),l.push(i),c.push(r),c.push(a),c.push(i);
812
812
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
813
813
  // will match the longer piece.
814
- s.sort(e),o.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
814
+ o.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}
815
815
  // FORMATTING
816
- function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function en(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
816
+ function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function en(e,t){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
817
817
  // PARSING
818
818
  function tn(e,t){return t._meridiemParse}
819
819
  // LOCALES
820
820
  function nn(e){
821
821
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
822
822
  // Using charAt should be more compatible.
823
- return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Jt),H("k",["kk",2],0,Qt),H("hmm",0,0,(function(){return""+Jt.apply(this)+A(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Jt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),en("a",!0),en("A",!1),
823
+ return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Jt),B("k",["kk",2],0,Qt),B("hmm",0,0,(function(){return""+Jt.apply(this)+A(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Jt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),en("a",!0),en("A",!1),
824
824
  // ALIASES
825
825
  ne("hour","h"),
826
826
  // PRIORITY
827
- se("hour",13),Ae("a",tn),Ae("A",tn),Ae("H",$e),Ae("h",$e),Ae("k",$e),Ae("HH",$e,be),Ae("hh",$e,be),Ae("kk",$e,be),Ae("hmm",Se),Ae("hmmss",Fe),Ae("Hmm",Se),Ae("Hmmss",Fe),He(["H","HH"],Ve),He(["k","kk"],(function(e,t,n){var r=ue(e);t[Ve]=24===r?0:r})),He(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),He(["h","hh"],(function(e,t,n){t[Ve]=ue(e),g(n).bigHour=!0})),He("hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r)),g(n).bigHour=!0})),He("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i)),g(n).bigHour=!0})),He("Hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r))})),He("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
827
+ oe("hour",13),Ae("a",tn),Ae("A",tn),Ae("H",$e),Ae("h",$e),Ae("k",$e),Ae("HH",$e,be),Ae("hh",$e,be),Ae("kk",$e,be),Ae("hmm",Se),Ae("hmmss",Ce),Ae("Hmm",Se),Ae("Hmmss",Ce),Be(["H","HH"],Ve),Be(["k","kk"],(function(e,t,n){var r=ue(e);t[Ve]=24===r?0:r})),Be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Be(["h","hh"],(function(e,t,n){t[Ve]=ue(e),f(n).bigHour=!0})),Be("hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r)),f(n).bigHour=!0})),Be("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(a)),f(n).bigHour=!0})),Be("Hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r))})),Be("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[Ve]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(a))}));var rn=/[ap]\.?m?\.?/i,
828
828
  // Setting the hour should keep the time, because the user explicitly
829
829
  // specified which hour they want. So trying to maintain the same hour (in
830
830
  // a new timezone) makes sense. Adding/subtracting hours does not follow
831
831
  // this rule.
832
- an=de("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,ln={calendar:P,longDateFormat:z,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:q,relativeTime:J,months:tt,monthsShort:nt,week:Ct,weekdays:It,weekdaysMin:Ot,weekdaysShort:At,meridiemParse:rn},cn={},un={};
832
+ an=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:j,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:q,relativeTime:J,months:tt,monthsShort:nt,week:Gt,weekdays:It,weekdaysMin:Ot,weekdaysShort:At,meridiemParse:rn},cn={},un={};
833
833
  // internal storage for locale config files
834
- function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function hn(e){return e?e.toLowerCase().replace("_","-"):e}
834
+ function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function mn(e){return e?e.toLowerCase().replace("_","-"):e}
835
835
  // pick the locale from the array
836
836
  // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
837
837
  // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
838
- function mn(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=hn(e[a]).split("-")).length,n=(n=hn(e[a+1]))?n.split("-"):null;t>0;){if(r=fn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&dn(i,n)>=t-1)
838
+ function hn(e){for(var t,n,r,a,i=0;i<e.length;){for(t=(a=mn(e[i]).split("-")).length,n=(n=mn(e[i+1]))?n.split("-"):null;t>0;){if(r=gn(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&dn(a,n)>=t-1)
839
839
  //the next array item is better than a shallower substring of this one
840
- break;t--}a++}return on}function pn(e){
840
+ break;t--}i++}return sn}function pn(e){
841
841
  // Prevent names that look like filesystem paths, i.e contain '/' or '\'
842
- return null!=e.match("^[^/\\\\]*$")}function fn(t){var n=null;
842
+ return null!=e.match("^[^/\\\\]*$")}function gn(t){var n=null;
843
843
  // TODO: Find a better way to register and load all the locales in Node
844
- if(void 0===cn[t]&&e&&e.exports&&pn(t))try{n=on._abbr,ge(),gn(n)}catch(e){
844
+ if(void 0===cn[t]&&e&&e.exports&&pn(t))try{n=sn._abbr,ye(),fn(n)}catch(e){
845
845
  // mark as not found to avoid repeating expensive file require call causing high CPU
846
846
  // when trying to find en-US, en_US, en-us for every format call
847
847
  cn[t]=null;// null means not found
@@ -849,52 +849,52 @@ cn[t]=null;// null means not found
849
849
  // This function will load locale and then set the global locale. If
850
850
  // no arguments are passed in, it will simply return the current global
851
851
  // locale key.
852
- function gn(e,t){var n;return e&&((n=c(t)?bn(e):yn(e,t))?
852
+ function fn(e,t){var n;return e&&((n=c(t)?bn(e):yn(e,t))?
853
853
  // moment.duration._locale = moment._locale = data;
854
- on=n:"undefined"!=typeof console&&console.warn&&
854
+ sn=n:"undefined"!=typeof console&&console.warn&&
855
855
  //warn user if arguments are passed but the locale could not be set
856
- console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])E("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=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=fn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new T(L(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
856
+ console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])k("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=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=gn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new L(T(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
857
857
  // backwards compat for now: also set the locale
858
858
  // make sure we set the locale AFTER all child locales have been
859
859
  // created, so we won't end up with the child locale set.
860
- gn(e),cn[e]}
860
+ fn(e),cn[e]}
861
861
  // useful for testing
862
- return delete cn[e],null}function vn(e,t){if(null!=t){var n,r,i=ln;null!=cn[e]&&null!=cn[e].parentLocale?
862
+ return delete cn[e],null}function vn(e,t){if(null!=t){var n,r,a=ln;null!=cn[e]&&null!=cn[e].parentLocale?
863
863
  // Update existing child locale in-place to avoid memory-leaks
864
- cn[e].set(L(cn[e]._config,t)):(
864
+ cn[e].set(T(cn[e]._config,t)):(
865
865
  // MERGE
866
- null!=(r=fn(e))&&(i=r._config),t=L(i,t),null==r&&(
866
+ null!=(r=gn(e))&&(a=r._config),t=T(a,t),null==r&&(
867
867
  // updateLocale is called for creating a new locale
868
868
  // Set abbr so it will have a name (getters return
869
869
  // undefined otherwise).
870
- t.abbr=e),(n=new T(t)).parentLocale=cn[e],cn[e]=n),
870
+ t.abbr=e),(n=new L(t)).parentLocale=cn[e],cn[e]=n),
871
871
  // backwards compat for now: also set the locale
872
- gn(e)}else
872
+ fn(e)}else
873
873
  // pass null for config to unupdate, useful for tests
874
- null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===gn()&&gn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}
874
+ null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===fn()&&fn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}
875
875
  // returns locale data
876
- function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!a(e)){if(
876
+ function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!i(e)){if(
877
877
  //short-circuit everything else
878
- t=fn(e))return t;e=[e]}return mn(e)}function wn(){return C(cn)}function xn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[ze]<0||n[ze]>11?ze:n[We]<1||n[We]>et(n[je],n[ze])?We:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[Ze]||0!==n[Ke]||0!==n[qe])?Ve:n[Ze]<0||n[Ze]>59?Ze:n[Ke]<0||n[Ke]>59?Ke:n[qe]<0||n[qe]>999?qe:-1,g(e)._overflowDayOfYear&&(t<je||t>We)&&(t=We),g(e)._overflowWeeks&&-1===t&&(t=Xe),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}
878
+ t=gn(e))return t;e=[e]}return hn(e)}function wn(){return G(cn)}function xn(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[je]<0||n[je]>11?je:n[We]<1||n[We]>et(n[Ye],n[je])?We:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[Ze]||0!==n[Ke]||0!==n[qe])?Ve:n[Ze]<0||n[Ze]>59?Ze:n[Ke]<0||n[Ke]>59?Ke:n[qe]<0||n[qe]>999?qe:-1,f(e)._overflowDayOfYear&&(t<Ye||t>We)&&(t=We),f(e)._overflowWeeks&&-1===t&&(t=Xe),f(e)._overflowWeekday&&-1===t&&(t=Je),f(e).overflow=t),e}
879
879
  // iso 8601 regex
880
880
  // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
881
- var _n=/^\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)?)?$/,$n=/^\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)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Fn=[["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]],
881
+ var _n=/^\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)?)?$/,$n=/^\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)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["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]],
882
882
  // iso time formats and regexes
883
- Cn=[["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/]],kn=/^\/?Date\((-?\d+)/i,
883
+ Gn=[["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/]],Fn=/^\/?Date\((-?\d+)/i,
884
884
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
885
- En=/^(?:(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}))$/,Gn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
885
+ kn=/^(?:(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}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
886
886
  // date from iso format
887
- function Mn(e){var t,n,r,i,a,s,o=e._i,l=_n.exec(o)||$n.exec(o),c=Fn.length,u=Cn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Fn[t][1].exec(l[1])){i=Fn[t][0],r=!1!==Fn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Cn[t][1].exec(l[3])){
887
+ function Mn(e){var t,n,r,a,i,o,s=e._i,l=_n.exec(s)||$n.exec(s),c=Cn.length,u=Gn.length;if(l){for(f(e).iso=!0,t=0,n=c;t<n;t++)if(Cn[t][1].exec(l[1])){a=Cn[t][0],r=!1!==Cn[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Gn[t][1].exec(l[3])){
888
888
  // match[2] should be 'T' or space
889
- a=(l[2]||" ")+Cn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(a||"")+(s||""),Un(e)}else e._isValid=!1}function Ln(e,t,n,r,i,a){var s=[Tn(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}function Tn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pn(e){
889
+ i=(l[2]||" ")+Gn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=a+(i||"")+(o||""),zn(e)}else e._isValid=!1}function Tn(e,t,n,r,a,i){var o=[Ln(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&o.push(parseInt(i,10)),o}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pn(e){
890
890
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
891
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function In(e,t,n){return!e||At.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function An(e,t,n){if(e)return Gn[e];if(t)
891
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function In(e,t,n){return!e||At.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}function An(e,t,n){if(e)return En[e];if(t)
892
892
  // the only allowed military tz is Z
893
- return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
893
+ return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}
894
894
  // date and time from ref 2822 format
895
- function On(e){var t,n=En.exec(Pn(e._i));if(n){if(t=Ln(n[4],n[3],n[2],n[5],n[6],n[7]),!In(n[1],t,e))return;e._a=t,e._tzm=An(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
895
+ function On(e){var t,n=kn.exec(Pn(e._i));if(n){if(t=Tn(n[4],n[3],n[2],n[5],n[6],n[7]),!In(n[1],t,e))return;e._a=t,e._tzm=An(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}
896
896
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
897
- function Dn(e){var t=kn.exec(e._i);null===t?(Mn(e),!1===e._isValid&&(delete e._isValid,On(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
897
+ function Dn(e){var t=Fn.exec(e._i);null===t?(Mn(e),!1===e._isValid&&(delete e._isValid,On(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
898
898
  // Final attempt, use Input Fallback
899
899
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
900
900
  // Pick the first defined of two or three arguments.
@@ -905,7 +905,7 @@ var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.g
905
905
  // the array should mirror the parameters below
906
906
  // note: all values past the year are optional and will default to the lowest possible value.
907
907
  // [year, month, day , hour, minute, second, millisecond]
908
- function Hn(e){var t,n,r,i,a,s=[];if(!e._d){
908
+ function Bn(e){var t,n,r,a,i,o=[];if(!e._d){
909
909
  // Default to current date.
910
910
  // * if no year, month, day of month are given, default to today
911
911
  // * if day of month is given, default month and year
@@ -913,100 +913,100 @@ function Hn(e){var t,n,r,i,a,s=[];if(!e._d){
913
913
  // * if year is given, don't default anything
914
914
  for(r=Rn(e),
915
915
  //compute day of the year from weeks and weekdays
916
- e._w&&null==e._a[We]&&null==e._a[ze]&&Bn(e),
916
+ e._w&&null==e._a[We]&&null==e._a[je]&&Hn(e),
917
917
  //if the day of the year is set, figure out what it is
918
- null!=e._dayOfYear&&(a=Nn(e._a[je],r[je]),(e._dayOfYear>gt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(a,0,e._dayOfYear),e._a[ze]=n.getUTCMonth(),e._a[We]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];
918
+ null!=e._dayOfYear&&(i=Nn(e._a[Ye],r[Ye]),(e._dayOfYear>ft(i)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=wt(i,0,e._dayOfYear),e._a[je]=n.getUTCMonth(),e._a[We]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];
919
919
  // Zero out whatever was not defaulted, including time
920
- for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
920
+ for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];
921
921
  // Check for 24:00:00.000
922
- 24===e._a[Ve]&&0===e._a[Ze]&&0===e._a[Ke]&&0===e._a[qe]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?wt:bt).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
922
+ 24===e._a[Ve]&&0===e._a[Ze]&&0===e._a[Ke]&&0===e._a[qe]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?wt:bt).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),
923
923
  // Apply timezone offset from input. The actual utcOffset can be changed
924
924
  // with parseZone.
925
925
  null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),
926
926
  // check for mismatching day of week
927
- e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,i,a,s,o,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,s=4,
927
+ e._w&&void 0!==e._w.d&&e._w.d!==a&&(f(e).weekdayMismatch=!0)}}function Hn(e){var t,n,r,a,i,o,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,o=4,
928
928
  // TODO: We need to take the current isoWeekYear, but that depends on
929
929
  // how we interpret now (local, utc, fixed offset). So create
930
930
  // a now version of current config (take local/utc/offset flags, and
931
931
  // create now).
932
- n=Nn(t.GG,e._a[je],$t(qn(),1,4).year),r=Nn(t.W,1),((i=Nn(t.E,1))<1||i>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,c=$t(qn(),a,s),n=Nn(t.gg,e._a[je],c.year),
932
+ n=Nn(t.GG,e._a[Ye],$t(qn(),1,4).year),r=Nn(t.W,1),((a=Nn(t.E,1))<1||a>7)&&(l=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,c=$t(qn(),i,o),n=Nn(t.gg,e._a[Ye],c.year),
933
933
  // Default to current week.
934
934
  r=Nn(t.w,c.week),null!=t.d?((
935
935
  // weekday -- low day numbers are considered next week
936
- i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
936
+ a=t.d)<0||a>6)&&(l=!0):null!=t.e?(
937
937
  // local weekday -- counting starts from beginning of week
938
- i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):
938
+ a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):
939
939
  // default to beginning of week
940
- i=a),r<1||r>St(n,a,s)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(o=_t(n,r,i,a,s),e._a[je]=o.year,e._dayOfYear=o.dayOfYear)}
940
+ a=i),r<1||r>St(n,i,o)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=_t(n,r,a,i,o),e._a[Ye]=s.year,e._dayOfYear=s.dayOfYear)}
941
941
  // constant that refers to the ISO standard
942
942
  // date from string and format string
943
- function Un(e){
943
+ function zn(e){
944
944
  // TODO: Move this to another part of the creation flow to prevent circular deps
945
- if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
945
+ if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],f(e).empty=!0;
946
946
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
947
- var t,n,i,a,s,o,l,c=""+e._i,u=c.length,d=0;for(l=(i=j(e._f,e._locale).match(O)||[]).length,t=0;t<l;t++)a=i[t],(n=(c.match(Oe(a,e))||[])[0])&&((s=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(s),c=c.slice(c.indexOf(n)+n.length),d+=n.length),
947
+ var t,n,a,i,o,s,l,c=""+e._i,u=c.length,d=0;for(l=(a=Y(e._f,e._locale).match(O)||[]).length,t=0;t<l;t++)i=a[t],(n=(c.match(Oe(i,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&f(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),d+=n.length),
948
948
  // don't parse if it's not a known token
949
- R[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),Ue(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);
949
+ R[i]?(n?f(e).empty=!1:f(e).unusedTokens.push(i),ze(i,n,e)):e._strict&&!n&&f(e).unusedTokens.push(i);
950
950
  // add remaining unparsed input length to the string
951
- g(e).charsLeftOver=u-d,c.length>0&&g(e).unusedInput.push(c),
951
+ f(e).charsLeftOver=u-d,c.length>0&&f(e).unusedInput.push(c),
952
952
  // clear _12h flag if hour is <= 12
953
- e._a[Ve]<=12&&!0===g(e).bigHour&&e._a[Ve]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,
953
+ e._a[Ve]<=12&&!0===f(e).bigHour&&e._a[Ve]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,
954
954
  // handle meridiem
955
- e._a[Ve]=Yn(e._locale,e._a[Ve],e._meridiem),null!==(
955
+ e._a[Ve]=Un(e._locale,e._a[Ve],e._meridiem),null!==(
956
956
  // handle era
957
- o=g(e).era)&&(e._a[je]=e._locale.erasConvertYear(o,e._a[je])),Hn(e),xn(e)}else On(e);else Mn(e)}function Yn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
957
+ s=f(e).era)&&(e._a[Ye]=e._locale.erasConvertYear(s,e._a[Ye])),Bn(e),xn(e)}else On(e);else Mn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
958
958
  // Fallback
959
959
  (r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
960
960
  // date from string and array of format strings
961
- function jn(e){var t,n,r,i,a,s,o=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)a=0,s=!1,t=x({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Un(t),y(t)&&(s=!0),
961
+ function Yn(e){var t,n,r,a,i,o,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)i=0,o=!1,t=x({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],zn(t),y(t)&&(o=!0),
962
962
  // if there is any input that was not parsed add a penalty for that format
963
- a+=g(t).charsLeftOver,
963
+ i+=f(t).charsLeftOver,
964
964
  //or tokens
965
- a+=10*g(t).unusedTokens.length,g(t).score=a,o?a<r&&(r=a,n=t):(null==r||a<r||s)&&(r=a,n=t,s&&(o=!0));m(e,n||t)}function zn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Hn(e)}}function Wn(e){var t=new _(xn(Vn(e)));return t._nextDay&&(
965
+ i+=10*f(t).unusedTokens.length,f(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||o)&&(r=i,n=t,o&&(s=!0));h(e,n||t)}function jn(e){if(!e._d){var t=ae(e._i),n=void 0===t.day?t.date:t.day;e._a=m([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Bn(e)}}function Wn(e){var t=new _(xn(Vn(e)));return t._nextDay&&(
966
966
  // Adding is smart enough around DST
967
- t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),$(t)?new _(xn(t)):(d(t)?e._d=t:a(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Dn(e):a(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Hn(e)):s(t)?zn(e):u(t)?
967
+ t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),$(t)?new _(xn(t)):(d(t)?e._d=t:i(n)?Yn(e):n?zn(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Dn(e):i(t)?(e._a=m(t.slice(0),(function(e){return parseInt(e,10)})),Bn(e)):o(t)?jn(e):u(t)?
968
968
  // from milliseconds
969
- e._d=new Date(t):r.createFromInputFallback(e)}function Kn(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),
969
+ e._d=new Date(t):r.createFromInputFallback(e)}function Kn(e,t,n,r,a){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),
970
970
  // object construction must be done this way.
971
971
  // https://github.com/moment/moment/issues/1423
972
- o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Wn(o)}function qn(e,t,n,r){return Kn(e,t,n,r,!1)}r.createFromInputFallback=F("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":""))})),r.ISO_8601=function(){},
972
+ s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=n,s._i=e,s._f=t,s._strict=r,Wn(s)}function qn(e,t,n,r){return Kn(e,t,n,r,!1)}r.createFromInputFallback=C("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":""))})),r.ISO_8601=function(){},
973
973
  // constant that refers to the RFC 2822 form
974
- r.RFC_2822=function(){};var Xn=F("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Jn=F("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));
974
+ r.RFC_2822=function(){};var Xn=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Jn=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));
975
975
  // Pick a moment m from moments so that m[fn](other) is true for all
976
976
  // other. This relies on the function fn to be transitive.
977
977
 
978
978
  // moments should either be an array of moment objects or an array, whose
979
979
  // first element is an array of moment objects.
980
- function Qn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return qn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
980
+ function Qn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return qn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
981
981
  // TODO: Use [].sort instead?
982
- function er(){return Qn("isBefore",[].slice.call(arguments,0))}function tr(){return Qn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ir(e){var t,n,r=!1,i=rr.length;for(t in e)if(o(e,t)&&(-1===Ye.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[rr[n]]){if(r)return!1;// only allow non-integers for smallest unit
983
- parseFloat(e[rr[n]])!==ue(e[rr[n]])&&(r=!0)}return!0}function ar(){return this._isValid}function sr(){return Gr(NaN)}function or(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ir(t),
982
+ function er(){return Qn("isBefore",[].slice.call(arguments,0))}function tr(){return Qn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ar(e){var t,n,r=!1,a=rr.length;for(t in e)if(s(e,t)&&(-1===Ue.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[rr[n]]){if(r)return!1;// only allow non-integers for smallest unit
983
+ parseFloat(e[rr[n]])!==ue(e[rr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function or(){return Er(NaN)}function sr(e){var t=ae(e),n=t.year||0,r=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ar(t),
984
984
  // representation for dateAddRemove
985
985
  this._milliseconds=+u+1e3*c+// 1000
986
986
  6e4*l+// 1000 * 60
987
- 1e3*o*60*60,//using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
987
+ 1e3*s*60*60,//using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
988
988
  // Because of dateAddRemove treats 24 hours as different from a
989
989
  // day when working around DST, we need to store them separately
990
- this._days=+s+7*a,
990
+ this._days=+o+7*i,
991
991
  // It is impossible to translate months into days without knowing
992
992
  // which months you are are talking about, so we have to store
993
993
  // it separately.
994
- this._months=+i+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function lr(e){return e instanceof or}function cr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
994
+ this._months=+a+3*r+12*n,this._data={},this._locale=bn(),this._bubble()}function lr(e){return e instanceof sr}function cr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
995
995
  // compare two arrays, return the number of differences
996
- function ur(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&ue(e[r])!==ue(t[r]))&&s++;return s+a}
996
+ function ur(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&ue(e[r])!==ue(t[r]))&&o++;return o+i}
997
997
  // FORMATTING
998
- function dr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+A(~~(e/60),2)+t+A(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),
998
+ function dr(e,t){B(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+A(~~(e/60),2)+t+A(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),
999
999
  // PARSING
1000
- Ae("Z",Te),Ae("ZZ",Te),He(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr(Te,e)}));
1000
+ Ae("Z",Le),Ae("ZZ",Le),Be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=hr(Le,e)}));
1001
1001
  // HELPERS
1002
1002
  // timezone chunker
1003
1003
  // '+10:00' > ['10', '00']
1004
1004
  // '-1530' > ['-15', '30']
1005
- var hr=/([\+\-]|\d\d)/gi;function mr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(hr)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?r:-r}
1005
+ var mr=/([\+\-]|\d\d)/gi;function hr(e,t){var n,r,a=(t||"").match(e);return null===a?null:0===(r=60*(n=((a[a.length-1]||[])+"").match(mr)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?r:-r}
1006
1006
  // Return a moment from input, that is local/utc/zone equivalent to model.
1007
- function pr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=($(e)||d(e)?e.valueOf():qn(e).valueOf())-n.valueOf(),
1007
+ function pr(e,t){var n,a;return t._isUTC?(n=t.clone(),a=($(e)||d(e)?e.valueOf():qn(e).valueOf())-n.valueOf(),
1008
1008
  // Use low-level api, because this fn is low-level api.
1009
- n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):qn(e).local()}function fr(e){
1009
+ n._d.setTime(n._d.valueOf()+a),r.updateOffset(n,!1),n):qn(e).local()}function gr(e){
1010
1010
  // On Firefox.24 Date#getTimezoneOffset returns a floating point.
1011
1011
  // https://github.com/moment/moment/pull/1871
1012
1012
  return-Math.round(e._d.getTimezoneOffset())}
@@ -1023,39 +1023,39 @@ return-Math.round(e._d.getTimezoneOffset())}
1023
1023
  // a second time. In case it wants us to change the offset again
1024
1024
  // _changeInProgress == true case, then we have to adjust, because
1025
1025
  // there is no such time in the given timezone.
1026
- function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mr(Te,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=fr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ir(this,Gr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:fr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(fr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function _r(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $r(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return x(t,this),(t=Vn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sr(){return!!this.isValid()&&!this._isUTC}function Fr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1026
+ function fr(e,t,n){var a,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=hr(Le,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=gr(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?Ir(this,Er(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:gr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(gr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=hr(Te,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function _r(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $r(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return x(t,this),(t=Vn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sr(){return!!this.isValid()&&!this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC}function Gr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1027
1027
  // ASP.NET json date format regex
1028
- r.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1028
+ r.updateOffset=function(){};var Fr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1029
1029
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
1030
1030
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
1031
1031
  // and further modified to allow for strings containing both week and day
1032
- Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gr(e,t){var n,r,i,a=e,
1032
+ kr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Er(e,t){var n,r,a,i=e,
1033
1033
  // matching against regexp is expensive, do it on demand
1034
- s=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=kr.exec(e))?(n="-"===s[1]?-1:1,a={y:0,d:ue(s[We])*n,h:ue(s[Ve])*n,m:ue(s[Ze])*n,s:ue(s[Ke])*n,ms:ue(cr(1e3*s[qe]))*n}):(s=Er.exec(e))?(n="-"===s[1]?-1:1,a={y:Mr(s[2],n),M:Mr(s[3],n),w:Mr(s[4],n),d:Mr(s[5],n),h:Mr(s[6],n),m:Mr(s[7],n),s:Mr(s[8],n)}):null==a?
1034
+ o=null;return lr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=Fr.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:ue(o[We])*n,h:ue(o[Ve])*n,m:ue(o[Ze])*n,s:ue(o[Ke])*n,ms:ue(cr(1e3*o[qe]))*n}):(o=kr.exec(e))?(n="-"===o[1]?-1:1,i={y:Mr(o[2],n),M:Mr(o[3],n),w:Mr(o[4],n),d:Mr(o[5],n),h:Mr(o[6],n),m:Mr(o[7],n),s:Mr(o[8],n)}):null==i?
1035
1035
  // checks for null or undefined
1036
- a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Tr(qn(a.from),qn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new or(a),lr(e)&&o(e,"_locale")&&(r._locale=e._locale),lr(e)&&o(e,"_isValid")&&(r._isValid=e._isValid),r}function Mr(e,t){
1036
+ i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=Lr(qn(i.from),qn(i.to)),(i={}).ms=a.milliseconds,i.M=a.months),r=new sr(i),lr(e)&&s(e,"_locale")&&(r._locale=e._locale),lr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Mr(e,t){
1037
1037
  // We'd normally use ~~inp for this, but unfortunately it also
1038
1038
  // converts floats to ints.
1039
1039
  // inp may be undefined, so careful calling replace on it.
1040
1040
  var n=e&&parseFloat(e.replace(",","."));
1041
1041
  // apply sign while we're at it
1042
- return(isNaN(n)?0:n)*t}function Lr(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 Tr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Lr(e,t):((n=Lr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
1042
+ return(isNaN(n)?0:n)*t}function Tr(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 Lr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Tr(e,t):((n=Tr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
1043
1043
  // TODO: remove 'name' arg after deprecation is removed
1044
- function Pr(e,t){return function(n,r){var i;
1044
+ function Pr(e,t){return function(n,r){var a;
1045
1045
  //invert the arguments, but complain about it
1046
- return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ir(this,Gr(n,r),e),this}}function Ir(e,t,n,i){var a=t._milliseconds,s=cr(t._days),o=cr(t._months);e.isValid()&&(i=null==i||i,o&&ut(e,he(e,"Month")+o*n),s&&me(e,"Date",he(e,"Date")+s*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,s||o))}Gr.fn=or.prototype,Gr.invalid=sr;var Ar=Pr(1,"add"),Or=Pr(-1,"subtract");function Dr(e){return"string"==typeof e||e instanceof String}
1046
+ return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),Ir(this,Er(n,r),e),this}}function Ir(e,t,n,a){var i=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(a=null==a||a,s&&ut(e,me(e,"Month")+s*n),o&&he(e,"Date",me(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),a&&r.updateOffset(e,o||s))}Er.fn=sr.prototype,Er.invalid=or;var Ar=Pr(1,"add"),Or=Pr(-1,"subtract");function Dr(e){return"string"==typeof e||e instanceof String}
1047
1047
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1048
- function Nr(e){return $(e)||d(e)||Dr(e)||u(e)||Hr(e)||Rr(e)||null==e}function Rr(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"],c=a.length;for(t=0;t<c;t+=1)n=a[t],i=i||o(e,n);return r&&i}function Hr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Dr(e)})).length),t&&n}function Br(e){var t,n,r=s(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||o(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(e,t){
1048
+ function Nr(e){return $(e)||d(e)||Dr(e)||u(e)||Br(e)||Rr(e)||null==e}function Rr(e){var t,n,r=o(e)&&!l(e),a=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=i.length;for(t=0;t<c;t+=1)n=i[t],a=a||s(e,n);return r&&a}function Br(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Dr(e)})).length),t&&n}function Hr(e){var t,n,r=o(e)&&!l(e),a=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],a=a||s(e,n);return r&&a}function zr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ur(e,t){
1049
1049
  // Support for single parameter, formats only overload to the calendar function
1050
- 1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1050
+ 1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):Hr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1051
1051
  // We want to compare the start of today, vs this.
1052
1052
  // Getting start-of-today depends on whether we're local/utc/offset or not.
1053
- var n=e||qn(),i=pr(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",s=t&&(G(t[a])?t[a].call(this,n):t[a]);return this.format(s||this.localeData().calendar(a,this,qn(n)))}function jr(){return new _(this)}function zr(e,t){var n=$(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=$(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Vr(e,t,n,r){var i=$(e)?e:qn(e),a=$(t)?t:qn(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n))}function Zr(e,t){var n,r=$(e)?e:qn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Xr(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":a=Jr(this,r)/12;break;case"month":a=Jr(this,r);break;case"quarter":a=Jr(this,r)/3;break;case"second":a=(this-r)/1e3;break;// 1000
1054
- case"minute":a=(this-r)/6e4;break;// 1000 * 60
1055
- case"hour":a=(this-r)/36e5;break;// 1000 * 60 * 60
1056
- case"day":a=(this-r-i)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
1057
- case"week":a=(this-r-i)/6048e5;break;// 1000 * 60 * 60 * 24 * 7, negate dst
1058
- default:a=this-r}return n?a:ce(a)}function Jr(e,t){if(e.date()<t.date())
1053
+ var n=e||qn(),a=pr(n,this).startOf("day"),i=r.calendarFormat(this,a)||"sameElse",o=t&&(E(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,qn(n)))}function Yr(){return new _(this)}function jr(e,t){var n=$(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=$(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Vr(e,t,n,r){var a=$(e)?e:qn(e),i=$(t)?t:qn(t);return!!(this.isValid()&&a.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Zr(e,t){var n,r=$(e)?e:qn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Xr(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":i=Jr(this,r)/12;break;case"month":i=Jr(this,r);break;case"quarter":i=Jr(this,r)/3;break;case"second":i=(this-r)/1e3;break;// 1000
1054
+ case"minute":i=(this-r)/6e4;break;// 1000 * 60
1055
+ case"hour":i=(this-r)/36e5;break;// 1000 * 60 * 60
1056
+ case"day":i=(this-r-a)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
1057
+ case"week":i=(this-r-a)/6048e5;break;// 1000 * 60 * 60 * 24 * 7, negate dst
1058
+ default:i=this-r}return n?i:ce(i)}function Jr(e,t){if(e.date()<t.date())
1059
1059
  // end-of-month calculations work correct when the start month has more
1060
1060
  // days than the end month.
1061
1061
  return-Jr(t,e);
@@ -1064,112 +1064,112 @@ var n=12*(t.year()-e.year())+(t.month()-e.month()),
1064
1064
  // b is in (anchor - 1 month, anchor + 1 month)
1065
1065
  r=e.clone().add(n,"months");
1066
1066
  //check for negative zero, return zero if negative zero
1067
- return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ei(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Y(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):G(Date.prototype.toISOString)?
1067
+ return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ea(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?
1068
1068
  // native implementation is ~50x faster, use it when we can
1069
- t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(n,"Z")):Y(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
1069
+ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
1070
1070
  /**
1071
1071
  * Return a human readable representation of a moment that can
1072
1072
  * also be evaluated to get a new moment which is the same
1073
1073
  *
1074
1074
  * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
1075
- */function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=a+'[")]',this.format(e+t+n+r)}function ni(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=Y(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&($(e)&&e.isValid()||qn(e).isValid())?Gr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(qn(),e)}function ai(e,t){return this.isValid()&&($(e)&&e.isValid()||qn(e).isValid())?Gr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to(qn(),e)}
1075
+ */function ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,a="moment",i="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function na(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function ra(e,t){return this.isValid()&&($(e)&&e.isValid()||qn(e).isValid())?Er({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function aa(e){return this.from(qn(),e)}function ia(e,t){return this.isValid()&&($(e)&&e.isValid()||qn(e).isValid())?Er({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oa(e){return this.to(qn(),e)}
1076
1076
  // If passed a locale key, it will set the locale for this
1077
1077
  // instance. Otherwise, it will return the locale configuration
1078
1078
  // variables for this instance.
1079
- function oi(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=F("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 ci(){return this._locale}var ui=1e3,di=60*ui,hi=60*di,mi=3506328*hi;
1079
+ function sa(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var la=C("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 ca(){return this._locale}var ua=1e3,da=60*ua,ma=60*da,ha=3506328*ma;
1080
1080
  // actual modulo - handles negative numbers (for dates before 1970):
1081
- function pi(e,t){return(e%t+t)%t}function fi(e,t,n){
1081
+ function pa(e,t){return(e%t+t)%t}function ga(e,t,n){
1082
1082
  // the date constructor remaps years 0-99 to 1900-1999
1083
- return e<100&&e>=0?new Date(e+400,t,n)-mi:new Date(e,t,n).valueOf()}function gi(e,t,n){
1083
+ return e<100&&e>=0?new Date(e+400,t,n)-ha:new Date(e,t,n).valueOf()}function fa(e,t,n){
1084
1084
  // Date.UTC remaps years 0-99 to 1900-1999
1085
- return e<100&&e>=0?Date.UTC(e+400,t,n)-mi:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:fi,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-=pi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=pi(t,di);break;case"second":t=this._d.valueOf(),t-=pi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:fi,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+=hi-pi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-pi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ui-pi(t,ui)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function _i(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function $i(){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()}}function Si(){
1085
+ return e<100&&e>=0?Date.UTC(e+400,t,n)-ha:Date.UTC(e,t,n)}function ya(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fa:ga,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-=pa(t+(this._isUTC?0:this.utcOffset()*da),ma);break;case"minute":t=this._d.valueOf(),t-=pa(t,da);break;case"second":t=this._d.valueOf(),t-=pa(t,ua)}return this._d.setTime(t),r.updateOffset(this,!0),this}function va(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fa:ga,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+=ma-pa(t+(this._isUTC?0:this.utcOffset()*da),ma)-1;break;case"minute":t=this._d.valueOf(),t+=da-pa(t,da)-1;break;case"second":t=this._d.valueOf(),t+=ua-pa(t,ua)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function ba(){return this._d.valueOf()-6e4*(this._offset||0)}function wa(){return Math.floor(this.valueOf()/1e3)}function xa(){return new Date(this.valueOf())}function _a(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function $a(){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()}}function Sa(){
1086
1086
  // new Date(NaN).toJSON() === null
1087
- return this.isValid()?this.toISOString():null}function Fi(){return y(this)}function Ci(){return m({},g(this))}function ki(){return g(this).overflow}function Ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Gi(e,t){var n,i,a,s=this._eras||bn("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1087
+ return this.isValid()?this.toISOString():null}function Ca(){return y(this)}function Ga(){return h({},f(this))}function Fa(){return f(this).overflow}function ka(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ea(e,t){var n,a,i,o=this._eras||bn("en")._eras;for(n=0,a=o.length;n<a;++n)switch("string"==typeof o[n].since&&(
1088
1088
  // truncate time
1089
- a=r(s[n].since).startOf("day"),s[n].since=a.valueOf()),typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":
1089
+ i=r(o[n].since).startOf("day"),o[n].since=i.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":
1090
1090
  // truncate time
1091
- a=r(s[n].until).startOf("day").valueOf(),s[n].until=a.valueOf()}return s}function Mi(e,t,n){var r,i,a,s,o,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),o=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(o===e)return l[r]}else if([a,s,o].indexOf(e)>=0)return l[r]}function Li(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Ti(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1091
+ i=r(o[n].until).startOf("day").valueOf(),o[n].until=i.valueOf()}return o}function Ma(e,t,n){var r,a,i,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(i=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,o,s].indexOf(e)>=0)return l[r]}function Ta(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function La(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1092
1092
  // truncate time
1093
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Pi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1093
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Pa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1094
1094
  // truncate time
1095
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ii(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1095
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ia(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1096
1096
  // truncate time
1097
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ai(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,
1097
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Aa(){var e,t,n,a,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,
1098
1098
  // truncate time
1099
- i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()}function Oi(e){return o(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Di(e){return o(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ni(e){return o(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ri(e,t){return t.erasAbbrRegex(e)}function Hi(e,t){return t.erasNameRegex(e)}function Bi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Ge}function Yi(){var e,t,n=[],r=[],i=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Ne(s[e].name)),n.push(Ne(s[e].abbr)),i.push(Ne(s[e].narrow)),a.push(Ne(s[e].name)),a.push(Ne(s[e].abbr)),a.push(Ne(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
1099
+ a=this.clone().startOf("day").valueOf(),i[e].since<=a&&a<=i[e].until||i[e].until<=a&&a<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Oa(e){return s(this,"_erasNameRegex")||Ua.call(this),e?this._erasNameRegex:this._erasRegex}function Da(e){return s(this,"_erasAbbrRegex")||Ua.call(this),e?this._erasAbbrRegex:this._erasRegex}function Na(e){return s(this,"_erasNarrowRegex")||Ua.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ra(e,t){return t.erasAbbrRegex(e)}function Ba(e,t){return t.erasNameRegex(e)}function Ha(e,t){return t.erasNarrowRegex(e)}function za(e,t){return t._eraYearOrdinalRegex||Ee}function Ua(){var e,t,n=[],r=[],a=[],i=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(Ne(o[e].name)),n.push(Ne(o[e].abbr)),a.push(Ne(o[e].narrow)),i.push(Ne(o[e].name)),i.push(Ne(o[e].abbr)),i.push(Ne(o[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}
1100
1100
  // FORMATTING
1101
- function ji(e,t){H(0,[e,e.length],0,t)}
1101
+ function Ya(e,t){B(0,[e,e.length],0,t)}
1102
1102
  // MOMENTS
1103
- function zi(e){return Xi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wi(e){return Xi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vi(){return St(this.year(),1,4)}function Zi(){return St(this.isoWeekYear(),1,4)}function Ki(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function qi(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Xi(e,t,n,r,i){var a;return null==e?$t(this,r,i).year:(t>(a=St(e,r,i))&&(t=a),Ji.call(this,e,t,n,r,i))}function Ji(e,t,n,r,i){var a=_t(e,t,n,r,i),s=wt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
1103
+ function ja(e){return Xa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wa(e){return Xa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Va(){return St(this.year(),1,4)}function Za(){return St(this.isoWeekYear(),1,4)}function Ka(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function qa(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Xa(e,t,n,r,a){var i;return null==e?$t(this,r,a).year:(t>(i=St(e,r,a))&&(t=i),Ja.call(this,e,t,n,r,a))}function Ja(e,t,n,r,a){var i=_t(e,t,n,r,a),o=wt(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}
1104
1104
  // FORMATTING
1105
1105
  // MOMENTS
1106
- function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1106
+ function Qa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1107
1107
  // FORMATTING
1108
- H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Ae("N",Ri),Ae("NN",Ri),Ae("NNN",Ri),Ae("NNNN",Hi),Ae("NNNNN",Bi),He(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),Ae("y",Ge),Ae("yy",Ge),Ae("yyy",Ge),Ae("yyyy",Ge),Ae("yo",Ui),He(["y","yy","yyy","yyyy"],je),He(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[je]=n._locale.eraYearOrdinalParse(e,i):t[je]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1108
+ B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),Ae("N",Ra),Ae("NN",Ra),Ae("NNN",Ra),Ae("NNNN",Ba),Ae("NNNNN",Ha),Be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?f(n).era=a:f(n).invalidEra=e})),Ae("y",Ee),Ae("yy",Ee),Ae("yyy",Ee),Ae("yyyy",Ee),Ae("yo",za),Be(["y","yy","yyy","yyyy"],Ye),Be(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ye]=n._locale.eraYearOrdinalParse(e,a):t[Ye]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ya("gggg","weekYear"),Ya("ggggg","weekYear"),Ya("GGGG","isoWeekYear"),Ya("GGGGG","isoWeekYear"),
1109
1109
  // ALIASES
1110
1110
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1111
1111
  // PRIORITY
1112
- se("weekYear",1),se("isoWeekYear",1),
1112
+ oe("weekYear",1),oe("isoWeekYear",1),
1113
1113
  // PARSING
1114
- Ae("G",Me),Ae("g",Me),Ae("GG",$e,be),Ae("gg",$e,be),Ae("GGGG",ke,xe),Ae("gggg",ke,xe),Ae("GGGGG",Ee,_e),Ae("ggggg",Ee,_e),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Be(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1114
+ Ae("G",Me),Ae("g",Me),Ae("GG",$e,be),Ae("gg",$e,be),Ae("GGGG",Fe,xe),Ae("gggg",Fe,xe),Ae("GGGGG",ke,_e),Ae("ggggg",ke,_e),He(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),He(["gg","GG"],(function(e,t,n,a){t[a]=r.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),
1115
1115
  // ALIASES
1116
1116
  ne("quarter","Q"),
1117
1117
  // PRIORITY
1118
- se("quarter",7),
1118
+ oe("quarter",7),
1119
1119
  // PARSING
1120
- Ae("Q",ve),He("Q",(function(e,t){t[ze]=3*(ue(e)-1)})),H("D",["DD",2],"Do","date"),
1120
+ Ae("Q",ve),Be("Q",(function(e,t){t[je]=3*(ue(e)-1)})),B("D",["DD",2],"Do","date"),
1121
1121
  // ALIASES
1122
1122
  ne("date","D"),
1123
1123
  // PRIORITY
1124
- se("date",9),
1124
+ oe("date",9),
1125
1125
  // PARSING
1126
1126
  Ae("D",$e),Ae("DD",$e,be),Ae("Do",(function(e,t){
1127
1127
  // TODO: Remove "ordinalParse" fallback in next major release.
1128
- return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),He(["D","DD"],We),He("Do",(function(e,t){t[We]=ue(e.match($e)[0])}));
1128
+ return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Be(["D","DD"],We),Be("Do",(function(e,t){t[We]=ue(e.match($e)[0])}));
1129
1129
  // MOMENTS
1130
- var ea=de("Date",!0);
1130
+ var ei=de("Date",!0);
1131
1131
  // FORMATTING
1132
1132
  // HELPERS
1133
1133
  // MOMENTS
1134
- function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}
1134
+ function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}
1135
1135
  // FORMATTING
1136
- H("DDD",["DDDD",3],"DDDo","dayOfYear"),
1136
+ B("DDD",["DDDD",3],"DDDo","dayOfYear"),
1137
1137
  // ALIASES
1138
1138
  ne("dayOfYear","DDD"),
1139
1139
  // PRIORITY
1140
- se("dayOfYear",4),
1140
+ oe("dayOfYear",4),
1141
1141
  // PARSING
1142
- Ae("DDD",Ce),Ae("DDDD",we),He(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),H("m",["mm",2],0,"minute"),
1142
+ Ae("DDD",Ge),Ae("DDDD",we),Be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),B("m",["mm",2],0,"minute"),
1143
1143
  // ALIASES
1144
1144
  ne("minute","m"),
1145
1145
  // PRIORITY
1146
- se("minute",14),
1146
+ oe("minute",14),
1147
1147
  // PARSING
1148
- Ae("m",$e),Ae("mm",$e,be),He(["m","mm"],Ze);
1148
+ Ae("m",$e),Ae("mm",$e,be),Be(["m","mm"],Ze);
1149
1149
  // MOMENTS
1150
- var na=de("Minutes",!1);
1150
+ var ni=de("Minutes",!1);
1151
1151
  // FORMATTING
1152
- H("s",["ss",2],0,"second"),
1152
+ B("s",["ss",2],0,"second"),
1153
1153
  // ALIASES
1154
1154
  ne("second","s"),
1155
1155
  // PRIORITY
1156
- se("second",15),
1156
+ oe("second",15),
1157
1157
  // PARSING
1158
- Ae("s",$e),Ae("ss",$e,be),He(["s","ss"],Ke);
1158
+ Ae("s",$e),Ae("ss",$e,be),Be(["s","ss"],Ke);
1159
1159
  // MOMENTS
1160
- var ra,ia,aa=de("Seconds",!1);
1160
+ var ri,ai,ii=de("Seconds",!1);
1161
1161
  // FORMATTING
1162
- for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
1162
+ for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
1163
1163
  // ALIASES
1164
1164
  ne("millisecond","ms"),
1165
1165
  // PRIORITY
1166
- se("millisecond",16),
1166
+ oe("millisecond",16),
1167
1167
  // PARSING
1168
- Ae("S",Ce,ve),Ae("SS",Ce,be),Ae("SSS",Ce,we),ra="SSSS";ra.length<=9;ra+="S")Ae(ra,Ge);function sa(e,t){t[qe]=ue(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")He(ra,sa);
1168
+ Ae("S",Ge,ve),Ae("SS",Ge,be),Ae("SSS",Ge,we),ri="SSSS";ri.length<=9;ri+="S")Ae(ri,Ee);function oi(e,t){t[qe]=ue(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Be(ri,oi);
1169
1169
  // MOMENTS
1170
- function oa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=de("Milliseconds",!1),
1170
+ function si(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}ai=de("Milliseconds",!1),
1171
1171
  // FORMATTING
1172
- H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=_.prototype;function ua(e){return qn(1e3*e)}function da(){return qn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Ar,ca.calendar=Yr,ca.clone=jr,ca.diff=Xr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=si,ca.get=pe,ca.invalidAt=ki,ca.isAfter=zr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=qr,ca.isValid=Fi,ca.lang=li,ca.locale=oi,ca.localeData=ci,ca.max=Jn,ca.min=Xn,ca.parsingFlags=Ci,ca.set=fe,ca.startOf=yi,ca.subtract=Or,ca.toArray=_i,ca.toObject=$i,ca.toDate=xi,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Si,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Ei,ca.eraName=Ti,ca.eraNarrow=Pi,ca.eraAbbr=Ii,ca.eraYear=Ai,ca.year=yt,ca.isLeapYear=vt,ca.weekYear=zi,ca.isoWeekYear=Wi,ca.quarter=ca.quarters=Qi,ca.month=dt,ca.daysInMonth=ht,ca.week=ca.weeks=Gt,ca.isoWeek=ca.isoWeeks=Mt,ca.weeksInYear=Ki,ca.weeksInWeekYear=qi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=zt,ca.weekday=Wt,ca.isoWeekday=Vt,ca.dayOfYear=ta,ca.hour=ca.hours=an,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=xr,ca.isDST=_r,ca.isLocal=Sr,ca.isUtcOffset=Fr,ca.isUtc=Cr,ca.isUTC=Cr,ca.zoneAbbr=oa,ca.zoneName=la,ca.dates=F("dates accessor is deprecated. Use date instead.",ea),ca.months=F("months accessor is deprecated. Use month instead",dt),ca.years=F("years accessor is deprecated. Use year instead",yt),ca.zone=F("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=F("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$r);var ma=T.prototype;function pa(e,t,n,r){var i=bn(),a=p().set(r,t);return i[n](a,e)}function fa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pa(e,r,n,"month");return i}
1172
+ B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ci=_.prototype;function ui(e){return qn(1e3*e)}function di(){return qn.apply(null,arguments).parseZone()}function mi(e){return e}ci.add=Ar,ci.calendar=Ur,ci.clone=Yr,ci.diff=Xr,ci.endOf=va,ci.format=na,ci.from=ra,ci.fromNow=aa,ci.to=ia,ci.toNow=oa,ci.get=pe,ci.invalidAt=Fa,ci.isAfter=jr,ci.isBefore=Wr,ci.isBetween=Vr,ci.isSame=Zr,ci.isSameOrAfter=Kr,ci.isSameOrBefore=qr,ci.isValid=Ca,ci.lang=la,ci.locale=sa,ci.localeData=ca,ci.max=Jn,ci.min=Xn,ci.parsingFlags=Ga,ci.set=ge,ci.startOf=ya,ci.subtract=Or,ci.toArray=_a,ci.toObject=$a,ci.toDate=xa,ci.toISOString=ea,ci.inspect=ta,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=Sa,ci.toString=Qr,ci.unix=wa,ci.valueOf=ba,ci.creationData=ka,ci.eraName=La,ci.eraNarrow=Pa,ci.eraAbbr=Ia,ci.eraYear=Aa,ci.year=yt,ci.isLeapYear=vt,ci.weekYear=ja,ci.isoWeekYear=Wa,ci.quarter=ci.quarters=Qa,ci.month=dt,ci.daysInMonth=mt,ci.week=ci.weeks=Et,ci.isoWeek=ci.isoWeeks=Mt,ci.weeksInYear=Ka,ci.weeksInWeekYear=qa,ci.isoWeeksInYear=Va,ci.isoWeeksInISOWeekYear=Za,ci.date=ei,ci.day=ci.days=jt,ci.weekday=Wt,ci.isoWeekday=Vt,ci.dayOfYear=ti,ci.hour=ci.hours=an,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=ai,ci.utcOffset=fr,ci.utc=vr,ci.local=br,ci.parseZone=wr,ci.hasAlignedHourOffset=xr,ci.isDST=_r,ci.isLocal=Sr,ci.isUtcOffset=Cr,ci.isUtc=Gr,ci.isUTC=Gr,ci.zoneAbbr=si,ci.zoneName=li,ci.dates=C("dates accessor is deprecated. Use date instead.",ei),ci.months=C("months accessor is deprecated. Use month instead",dt),ci.years=C("years accessor is deprecated. Use year instead",yt),ci.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ci.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$r);var hi=L.prototype;function pi(e,t,n,r){var a=bn(),i=p().set(r,t);return a[n](i,e)}function gi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pi(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=pi(e,r,n,"month");return a}
1173
1173
  // ()
1174
1174
  // (5)
1175
1175
  // (fmt, 5)
@@ -1178,34 +1178,34 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=_.prototype;function ua(e){r
1178
1178
  // (true, 5)
1179
1179
  // (true, fmt, 5)
1180
1180
  // (true, fmt)
1181
- function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),s=e?a._week.dow:0,o=[];if(null!=n)return pa(t,(n+s)%7,r,"day");for(i=0;i<7;i++)o[i]=pa(t,(i+s)%7,r,"day");return o}function ya(e,t){return fa(e,t,"months")}function va(e,t){return fa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function xa(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=I,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=X,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=Gi,ma.erasParse=Mi,ma.erasConvertYear=Li,ma.erasAbbrRegex=Di,ma.erasNameRegex=Oi,ma.erasNarrowRegex=Ni,ma.months=st,ma.monthsShort=ot,ma.monthsParse=ct,ma.monthsRegex=pt,ma.monthsShortRegex=mt,ma.week=Ft,ma.firstDayOfYear=Et,ma.firstDayOfWeek=kt,ma.weekdays=Ht,ma.weekdaysMin=Ut,ma.weekdaysShort=Bt,ma.weekdaysParse=jt,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Kt,ma.weekdaysMinRegex=qt,ma.isPM=nn,ma.meridiem=sn,gn("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===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1181
+ function fi(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,i=bn(),o=e?i._week.dow:0,s=[];if(null!=n)return pi(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=pi(t,(a+o)%7,r,"day");return s}function yi(e,t){return gi(e,t,"months")}function vi(e,t){return gi(e,t,"monthsShort")}function bi(e,t,n){return fi(e,t,n,"weekdays")}function wi(e,t,n){return fi(e,t,n,"weekdaysShort")}function xi(e,t,n){return fi(e,t,n,"weekdaysMin")}hi.calendar=I,hi.longDateFormat=W,hi.invalidDate=Z,hi.ordinal=X,hi.preparse=mi,hi.postformat=mi,hi.relativeTime=Q,hi.pastFuture=ee,hi.set=M,hi.eras=Ea,hi.erasParse=Ma,hi.erasConvertYear=Ta,hi.erasAbbrRegex=Da,hi.erasNameRegex=Oa,hi.erasNarrowRegex=Na,hi.months=ot,hi.monthsShort=st,hi.monthsParse=ct,hi.monthsRegex=pt,hi.monthsShortRegex=ht,hi.week=Ct,hi.firstDayOfYear=kt,hi.firstDayOfWeek=Ft,hi.weekdays=Bt,hi.weekdaysMin=zt,hi.weekdaysShort=Ht,hi.weekdaysParse=Yt,hi.weekdaysRegex=Zt,hi.weekdaysShortRegex=Kt,hi.weekdaysMinRegex=qt,hi.isPM=nn,hi.meridiem=on,fn("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===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1182
1182
  // Side effect imports
1183
- r.lang=F("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=F("moment.langData is deprecated. Use moment.localeData instead.",bn);var _a=Math.abs;function $a(){var e=this._data;return this._milliseconds=_a(this._milliseconds),this._days=_a(this._days),this._months=_a(this._months),e.milliseconds=_a(e.milliseconds),e.seconds=_a(e.seconds),e.minutes=_a(e.minutes),e.hours=_a(e.hours),e.months=_a(e.months),e.years=_a(e.years),this}function Sa(e,t,n,r){var i=Gr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1183
+ r.lang=C("moment.lang is deprecated. Use moment.locale instead.",fn),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",bn);var _i=Math.abs;function $i(){var e=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),e.milliseconds=_i(e.milliseconds),e.seconds=_i(e.seconds),e.minutes=_i(e.minutes),e.hours=_i(e.hours),e.months=_i(e.months),e.years=_i(e.years),this}function Si(e,t,n,r){var a=Er(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}
1184
1184
  // supports only 2.0-style add(1, 's') or add(duration)
1185
- function Fa(e,t){return Sa(this,e,t,1)}
1185
+ function Ci(e,t){return Si(this,e,t,1)}
1186
1186
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
1187
- function Ca(e,t){return Sa(this,e,t,-1)}function ka(e){return e<0?Math.floor(e):Math.ceil(e)}function Ea(){var e,t,n,r,i,a=this._milliseconds,s=this._days,o=this._months,l=this._data;
1187
+ function Gi(e,t){return Si(this,e,t,-1)}function Fi(e){return e<0?Math.floor(e):Math.ceil(e)}function ki(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,l=this._data;
1188
1188
  // if we have a mix of positive and negative values, bubble down first
1189
1189
  // check: https://github.com/moment/moment/issues/2166
1190
- return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*ka(Ma(o)+s),s=0,o=0),
1190
+ return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*Fi(Mi(s)+o),o=0,s=0),
1191
1191
  // The following code bubbles up values, see the tests for
1192
1192
  // examples of what that means.
1193
- l.milliseconds=a%1e3,e=ce(a/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,s+=ce(n/24),o+=
1193
+ l.milliseconds=i%1e3,e=ce(i/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,o+=ce(n/24),s+=
1194
1194
  // convert days to months
1195
- i=ce(Ga(s)),s-=ka(Ma(i)),
1195
+ a=ce(Ei(o)),o-=Fi(Mi(a)),
1196
1196
  // 12 months -> 1 year
1197
- r=ce(o/12),o%=12,l.days=s,l.months=o,l.years=r,this}function Ga(e){
1197
+ r=ce(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function Ei(e){
1198
1198
  // 400 years have 146097 days (taking into account leap year rules)
1199
1199
  // 400 years have 12 months === 4800
1200
- return 4800*e/146097}function Ma(e){
1200
+ return 4800*e/146097}function Mi(e){
1201
1201
  // the reverse of daysToMonths
1202
- return 146097*e/4800}function La(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ga(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
1202
+ return 146097*e/4800}function Ti(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ei(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
1203
1203
  // handle milliseconds separately because of floating point math errors (issue #1867)
1204
- t=this._days+Math.round(Ma(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;
1204
+ t=this._days+Math.round(Mi(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;
1205
1205
  // Math.floor prevents floating point math errors here
1206
1206
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1207
1207
  // TODO: Use this.as('ms')?
1208
- function Ta(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Pa(e){return function(){return this.as(e)}}var Ia=Pa("ms"),Aa=Pa("s"),Oa=Pa("m"),Da=Pa("h"),Na=Pa("d"),Ra=Pa("w"),Ha=Pa("M"),Ba=Pa("Q"),Ua=Pa("y");function Ya(){return Gr(this)}function ja(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function za(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wa=za("milliseconds"),Va=za("seconds"),Za=za("minutes"),Ka=za("hours"),qa=za("days"),Xa=za("months"),Ja=za("years");function Qa(){return ce(this.days()/7)}var es=Math.round,ts={ss:44,// a few seconds to seconds
1208
+ function Li(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Pi(e){return function(){return this.as(e)}}var Ii=Pi("ms"),Ai=Pi("s"),Oi=Pi("m"),Di=Pi("h"),Ni=Pi("d"),Ri=Pi("w"),Bi=Pi("M"),Hi=Pi("Q"),zi=Pi("y");function Ui(){return Er(this)}function Yi(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function ji(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wi=ji("milliseconds"),Vi=ji("seconds"),Zi=ji("minutes"),Ki=ji("hours"),qi=ji("days"),Xi=ji("months"),Ji=ji("years");function Qi(){return ce(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1209
1209
  s:45,// seconds to minute
1210
1210
  m:45,// minutes to hour
1211
1211
  h:22,// hours to day
@@ -1213,11 +1213,11 @@ d:26,// days to month/week
1213
1213
  w:null,// weeks to month
1214
1214
  M:11};
1215
1215
  // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
1216
- function ns(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function rs(e,t,n,r){var i=Gr(e).abs(),a=es(i.as("s")),s=es(i.as("m")),o=es(i.as("h")),l=es(i.as("d")),c=es(i.as("M")),u=es(i.as("w")),d=es(i.as("y")),h=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||s<=1&&["m"]||s<n.m&&["mm",s]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=r,ns.apply(null,h)}
1216
+ function no(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function ro(e,t,n,r){var a=Er(e).abs(),i=eo(a.as("s")),o=eo(a.as("m")),s=eo(a.as("h")),l=eo(a.as("d")),c=eo(a.as("M")),u=eo(a.as("w")),d=eo(a.as("y")),m=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(m=m||u<=1&&["w"]||u<n.w&&["ww",u]),(m=m||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,m[3]=+e>0,m[4]=r,no.apply(null,m)}
1217
1217
  // This function allows you to set the rounding function for relative time strings
1218
- function is(e){return void 0===e?es:"function"==typeof e&&(es=e,!0)}
1218
+ function ao(e){return void 0===e?eo:"function"==typeof e&&(eo=e,!0)}
1219
1219
  // This function allows you to set a threshold for relative time strings
1220
- function as(e,t){return void 0!==ts[e]&&(void 0===t?ts[e]:(ts[e]=t,"s"===e&&(ts.ss=t-1),!0))}function ss(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,a=ts;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(a=Object.assign({},ts,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),r=rs(this,!i,a,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var os=Math.abs;function ls(e){return(e>0)-(e<0)||+e}function cs(){
1220
+ function io(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=to;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},to,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ro(this,!a,i,n=this.localeData()),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var so=Math.abs;function lo(e){return(e>0)-(e<0)||+e}function co(){
1221
1221
  // for ISO strings we do not use the normal bubbling rules:
1222
1222
  // * milliseconds bubble up until they become hours
1223
1223
  // * days do not bubble at all
@@ -1225,19 +1225,19 @@ function as(e,t){return void 0!==ts[e]&&(void 0===t?ts[e]:(ts[e]=t,"s"===e&&(ts.
1225
1225
  // This is because there is no context-free conversion between hours and days
1226
1226
  // (think of clock changes)
1227
1227
  // and also not between days and months (28-31 days per month)
1228
- if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,s,o,l=os(this._milliseconds)/1e3,c=os(this._days),u=os(this._months),d=this.asSeconds();return d?(
1228
+ if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s,l=so(this._milliseconds)/1e3,c=so(this._days),u=so(this._months),d=this.asSeconds();return d?(
1229
1229
  // 3600 seconds -> 60 minutes -> 1 hour
1230
1230
  e=ce(l/60),t=ce(e/60),l%=60,e%=60,
1231
1231
  // 12 months -> 1 year
1232
1232
  n=ce(u/12),u%=12,
1233
1233
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1234
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=ls(this._months)!==ls(d)?"-":"",s=ls(this._days)!==ls(d)?"-":"",o=ls(this._milliseconds)!==ls(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+r+"S":"")):"P0D"}var us=or.prototype;return us.isValid=ar,us.abs=$a,us.add=Fa,us.subtract=Ca,us.as=La,us.asMilliseconds=Ia,us.asSeconds=Aa,us.asMinutes=Oa,us.asHours=Da,us.asDays=Na,us.asWeeks=Ra,us.asMonths=Ha,us.asQuarters=Ba,us.asYears=Ua,us.valueOf=Ta,us._bubble=Ea,us.clone=Ya,us.get=ja,us.milliseconds=Wa,us.seconds=Va,us.minutes=Za,us.hours=Ka,us.days=qa,us.weeks=Qa,us.months=Xa,us.years=Ja,us.humanize=ss,us.toISOString=cs,us.toString=cs,us.toJSON=cs,us.locale=oi,us.localeData=ci,us.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),us.lang=li,
1234
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",i=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",a+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ir,uo.abs=$i,uo.add=Ci,uo.subtract=Gi,uo.as=Ti,uo.asMilliseconds=Ii,uo.asSeconds=Ai,uo.asMinutes=Oi,uo.asHours=Di,uo.asDays=Ni,uo.asWeeks=Ri,uo.asMonths=Bi,uo.asQuarters=Hi,uo.asYears=zi,uo.valueOf=Li,uo._bubble=ki,uo.clone=Ui,uo.get=Yi,uo.milliseconds=Wi,uo.seconds=Vi,uo.minutes=Zi,uo.hours=Ki,uo.days=qi,uo.weeks=Qi,uo.months=Xi,uo.years=Ji,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=sa,uo.localeData=ca,uo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=la,
1235
1235
  // FORMATTING
1236
- H("X",0,0,"unix"),H("x",0,0,"valueOf"),
1236
+ B("X",0,0,"unix"),B("x",0,0,"valueOf"),
1237
1237
  // PARSING
1238
- Ae("x",Me),Ae("X",Pe),He("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),He("x",(function(e,t,n){n._d=new Date(ue(e))})),
1238
+ Ae("x",Me),Ae("X",Pe),Be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Be("x",(function(e,t,n){n._d=new Date(ue(e))})),
1239
1239
  //! moment.js
1240
- r.version="2.29.4",i(qn),r.fn=ca,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=ua,r.months=ya,r.isDate=d,r.locale=gn,r.invalid=v,r.duration=Gr,r.isMoment=$,r.weekdays=ba,r.parseZone=da,r.localeData=bn,r.isDuration=lr,r.monthsShort=va,r.weekdaysMin=xa,r.defineLocale=yn,r.updateLocale=vn,r.locales=wn,r.weekdaysShort=wa,r.normalizeUnits=re,r.relativeTimeRounding=is,r.relativeTimeThreshold=as,r.calendarFormat=Ur,r.prototype=ca,
1240
+ r.version="2.29.4",a(qn),r.fn=ci,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=ui,r.months=yi,r.isDate=d,r.locale=fn,r.invalid=v,r.duration=Er,r.isMoment=$,r.weekdays=bi,r.parseZone=di,r.localeData=bn,r.isDuration=lr,r.monthsShort=vi,r.weekdaysMin=xi,r.defineLocale=yn,r.updateLocale=vn,r.locales=wn,r.weekdaysShort=wi,r.normalizeUnits=re,r.relativeTimeRounding=ao,r.relativeTimeThreshold=io,r.calendarFormat=zr,r.prototype=ci,
1241
1241
  // currently HTML5 input type only supports 24-hour formats
1242
1242
  r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
1243
1243
  DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
@@ -1247,292 +1247,296 @@ TIME:"HH:mm",// <input type="time" />
1247
1247
  TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1248
1248
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1249
1249
  WEEK:"GGGG-[W]WW",// <input type="week" />
1250
- MONTH:"YYYY-MM"},r}()}));function Br(e,t){zn(e,t)}const Ur={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započni sada!",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Yr={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$"};
1250
+ MONTH:"YYYY-MM"},r}()}));function zr(e,t){Wn(e,t)}const Ur={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započni sada!",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"}},Yr={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$"};
1251
1251
  /* eslint-disable quote-props */
1252
1252
  /* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.59.2 */
1253
- function jr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function zr(e,t,n){const r=e.slice();return r[101]=t[n],r}
1254
- // (541:8) {#if lang}
1255
- function Wr(e){let t,n,r,i,a=/*$_*/e[35]("playNow")+"";return{c(){t=f("button"),n=y(a),x(t,"class","GameInfoBtn")},m(a,s){h(a,t,s),d(t,n),r||(i=w(t,"click",/*click_handler*/e[63]),r=!0)},p(e,t){/*$_*/16&t[1]&&a!==(a=/*$_*/e[35]("playNow")+"")&&$(n,a)},d(e){e&&m(t),r=!1,i()}}}
1256
- // (551:8) {#if gameisnew}
1257
- function Vr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=f("span"),n=y(r),x(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&$(n,r)},d(e){e&&m(t)}}}
1258
- // (554:8) {#if gametag}
1259
- function Zr(e){let t,n;return{c(){t=f("span"),n=y(/*gametag*/e[8]),x(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*gametag*/256&t[0]&&$(n,/*gametag*/e[8])},d(e){e&&m(t)}}}
1260
- // (557:8) {#if livegamedata}
1261
- function Kr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&qr(e);function i(e,t){/*isopen*/
1262
- return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===di?Jr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===hi?Xr:void 0}let a=i(e),s=a&&a(e);return{c(){r&&r.c(),t=v(),s&&s.c(),n=b()},m(e,i){r&&r.m(e,i),h(e,t,i),s&&s.m(e,i),h(e,n,i)},p(e,o){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,o):(r=qr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&s?s.p(e,o):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&m(t),s&&s.d(e),e&&m(n)}}}
1263
- // (558:10) {#if !isopen && starttime && timeformat}
1264
- function qr(e){let t,n,r,i,a,s,o,l,c,u,p=/*$_*/e[35]("opens")+"",g=Hr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=f("div"),n=f("div"),r=y(p),i=v(),a=f("span"),s=y(g),o=v(),l=new F(!1),c=v(),u=new F(!1),x(n,"class","ClosedGame"),l.a=c,u.a=null,x(t,"class","GameProp LiveProps")},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(a,s),d(t,o),l.m(b,t),d(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&p!==(p=/*$_*/e[35]("opens")+"")&&$(r,p),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Hr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&$(s,g),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(b),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&m(t)}}}
1265
- // (591:70)
1266
- function Xr(e){let t,n,r,i,a,s,o=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(pi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ni(jr(e,c,t));return{c(){t=f("div"),n=f("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new F(!1),a=v(),s=new F(!1),x(n,"class","LiveIcons"),i.a=a,s.a=null,x(t,"class",/*roulettecontainerclassname*/e[30])},m(c,m){h(c,t,m),d(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
1267
- /*div0_binding*/e[64](n),d(t,r),i.m(o,t),d(t,a),s.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(pi),t=0;t<c.length;t+=1){const i=jr(e,c,t);u[t]?u[t].p(i,r):(u[t]=ni(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&o!==(o=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(o),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&s.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&x(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&m(t),p(u,n),
1253
+ function jr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function Wr(e,t,n){const r=e.slice();return r[101]=t[n],r}
1254
+ // (539:8) {#if lang}
1255
+ function Vr(e){let t,n,r,a,i,o,s=!Ar(/*userAgent*/e[36]),l=/*$_*/e[35]("playNow")+"",c=s&&
1256
+ // (541:12) {#if !isMobile(userAgent)}
1257
+ function(e){let t,n,r,a,i,o;return{c(){t=f("svg"),n=f("g"),r=f("g"),a=f("path"),i=f("path"),o=f("path"),x(a,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),x(a,"stroke","none"),x(i,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),x(i,"stroke","none"),x(i,"fill","#fff"),x(r,"id","Ellipse_664_copy"),x(r,"data-name","Ellipse 664 copy"),x(r,"transform","translate(26 13)"),x(r,"fill","rgba(249,165,2,0)"),x(o,"id","Rounded_Rectangle_683"),x(o,"data-name","Rounded Rectangle 683"),x(o,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),x(o,"transform","translate(-1102 -885)"),x(o,"fill","#fff"),x(n,"id","Group_5260"),x(n,"data-name","Group 5260"),x(n,"transform","translate(-26 -13)"),x(t,"xmlns","http://www.w3.org/2000/svg"),x(t,"width","28"),x(t,"height","28"),x(t,"viewBox","0 0 28 28")},m(e,s){m(e,t,s),d(t,n),d(n,r),d(r,a),d(r,i),d(n,o)},d(e){e&&h(t)}}}
1258
+ // (559:8) {#if gameisnew}
1259
+ ();return{c(){t=g("button"),c&&c.c(),n=v(),r=g("span"),a=y(l),x(t,"class","GameInfoBtn")},m(s,l){m(s,t,l),c&&c.m(t,null),d(t,n),d(t,r),d(r,a),i||(o=w(t,"click",/*click_handler*/e[63]),i=!0)},p(e,t){/*$_*/16&t[1]&&l!==(l=/*$_*/e[35]("playNow")+"")&&$(a,l)},d(e){e&&h(t),c&&c.d(),i=!1,o()}}}function Zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=g("span"),n=y(r),x(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&$(n,r)},d(e){e&&h(t)}}}
1260
+ // (562:8) {#if gametag}
1261
+ function Kr(e){let t,n;return{c(){t=g("span"),n=y(/*gametag*/e[8]),x(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*gametag*/256&t[0]&&$(n,/*gametag*/e[8])},d(e){e&&h(t)}}}
1262
+ // (565:8) {#if livegamedata}
1263
+ function qr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Xr(e);function a(e,t){/*isopen*/
1264
+ return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===ha?Qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===pa?Jr:void 0}let i=a(e),o=i&&i(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,a){r&&r.m(e,a),m(e,t,a),o&&o.m(e,a),m(e,n,a)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Xr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i===(i=a(e))&&o?o.p(e,s):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&h(t),o&&o.d(e),e&&h(n)}}}
1265
+ // (566:10) {#if !isopen && starttime && timeformat}
1266
+ function Xr(e){let t,n,r,a,i,o,s,l,c,u,p=/*$_*/e[35]("opens")+"",f=Hr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=g("div"),n=g("div"),r=y(p),a=v(),i=g("span"),o=y(f),s=v(),l=new G(!1),c=v(),u=new G(!1),x(n,"class","ClosedGame"),l.a=c,u.a=null,x(t,"class","GameProp LiveProps")},m(e,h){m(e,t,h),d(t,n),d(n,r),d(n,a),d(n,i),d(i,o),d(t,s),l.m(b,t),d(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&p!==(p=/*$_*/e[35]("opens")+"")&&$(r,p),/*starttime, timeformat*/3145728&t[0]&&f!==(f=Hr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&$(o,f),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(b),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&h(t)}}}
1267
+ // (599:70)
1268
+ function Jr(e){let t,n,r,a,i,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(fa),u=[];for(let t=0;t<c.length;t+=1)u[t]=ra(jr(e,c,t));return{c(){t=g("div"),n=g("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),a=new G(!1),i=v(),o=new G(!1),x(n,"class","LiveIcons"),a.a=i,o.a=null,x(t,"class",/*roulettecontainerclassname*/e[30])},m(c,h){m(c,t,h),d(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
1269
+ /*div0_binding*/e[64](n),d(t,r),a.m(s,t),d(t,i),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(fa),t=0;t<c.length;t+=1){const a=jr(e,c,t);u[t]?u[t].p(a,r):(u[t]=ra(a),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&a.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&x(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&h(t),p(u,n),
1268
1270
  /*div0_binding*/e[64](null)}}}
1269
- // (570:10) {#if isopen && displaytype && displaytype === BLACKJACK}
1270
- function Jr(e){let t,n,r,i,a,s,o=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
1271
- return e[32]?ii:ri}let u=c(e),p=u(e);return{c(){t=f("div"),n=f("div"),p.c(),r=v(),i=new F(!1),a=v(),s=new F(!1),x(n,"class","LiveIcons"),i.a=a,s.a=null,x(t,"class","GameProp LiveProps BlackjackDisplay"),x(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){h(e,t,c),d(t,n),p.m(n,null),d(t,r),i.m(o,t),d(t,a),s.m(l,t)},p(e,t){u===(u=c(e))&&p?p.p(e,t):(p.d(1),p=u(e),p&&(p.c(),p.m(n,null))),/*dealername*/8&t[1]&&o!==(o=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(o),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&s.p(l)},d(e){e&&m(t),p.d()}}}
1272
- // (595:18) {#if roulleteresults && roulleteresults[i]}
1273
- function Qr(e){let t;function n(e,t){/*isdouble*/
1274
- return e[29]?ti:ei}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
1275
- // (601:20) {:else}
1276
- function ei(e){let t,n,r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"";return{c(){t=new F(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),h(e,n,i)},p(e,n){/*roulleteresults*/16384&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"")&&t.p(r)},d(e){e&&m(n),e&&t.d()}}}
1277
- // (596:20) {#if isdouble}
1278
- function ti(e){let t,n,r,i,a,s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"",o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"";return{c(){t=f("div"),n=new F(!1),r=v(),i=new F(!1),a=v(),n.a=r,i.a=a,x(t,"class","Double")},m(e,l){h(e,t,l),n.m(s,t),d(t,r),i.m(o,t),d(t,a)},p(e,t){/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"")&&n.p(s),/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"")&&i.p(o)},d(e){e&&m(t)}}}
1279
- // (594:16) {#each new Array(numberofdisplayedresults) as garbage, i}
1280
- function ni(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]&&Qr(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]?n?n.p(e,r):(n=Qr(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1281
- // (577:16) {:else}
1282
- function ri(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=ai(zr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n)},p(e,i){if(/*currentoccupiedseats, seats*/285212672&i[0]|/*contains*/256&i[1]){let a;for(n=/*seats*/e[24],a=0;a<n.length;a+=1){const s=zr(e,n,a);r[a]?r[a].p(s,i):(r[a]=ai(s),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){p(r,e),e&&m(t)}}}
1283
- // (573:16) {#if istablefull}
1284
- function ii(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=f("span"),n=y(r),x(t,"class","FullTable")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&$(n,r)},d(e){e&&m(t)}}}
1285
- // (578:18) {#each seats as seatData}
1286
- function ai(e){let t,n,r,i,a,s;return{c(){t=f("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),x(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),x(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(n,"width","13"),x(n,"height","14"),x(n,"viewBox","0 0 13 14"),x(t,"class",s=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,s){h(e,t,s),d(t,n),d(n,r),d(n,i),d(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&s!==(s=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")&&x(t,"class",s)},d(e){e&&m(t)}}}
1287
- // (632:79)
1288
- function si(t){let n;return{c(){n=f("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: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',x(n,"class","FavIconContainer")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1289
- // (619:68)
1290
- function oi(t){let n,r,i;return{c(){n=f("div"),n.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" 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,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[66]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
1291
- // (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
1292
- function li(t){let n,r,i;return{c(){n=f("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: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',x(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_1*/t[65]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
1293
- // (641:2) {#if showgamename === 'true'}
1294
- function ci(e){let t,n;return{c(){t=f("p"),n=y(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(t,"title",/*gamename*/e[4])},m(e,r){h(e,t,r),d(t,n)},p(e,r){/*gamename*/16&r[0]&&$(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&x(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function ui(t){let n,r,i,a,s,o,c,u,p,g,b,w,_,F,C,k,E,G,M,L,T,P,I,A,O,D,N=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",R=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&Vr(t),B=/*gametag*/t[8]&&Zr(t),U=/*livegamedata*/t[13]&&Kr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
1295
- return 65541&t[0]&&(T=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(P=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==T&&(T=!(Ir(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),T?li:(null==P&&(P=!(Ir(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),P?oi:(null==I&&(I=!!(Ir(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?si:void 0))}let j=Y(t,[-1,-1,-1,-1]),z=j&&j(t),W=/*showgamename*/"true"===t[10]&&ci(t);return{c(){n=f("div"),r=f("div"),i=f("img"),o=v(),c=f("div"),u=f("div"),p=f("p"),g=y(/*gamename*/t[4]),b=v(),R&&R.c(),w=v(),_=f("span"),F=y(N),C=v(),k=f("div"),E=f("div"),H&&H.c(),G=v(),B&&B.c(),M=v(),U&&U.c(),L=v(),z&&z.c(),O=v(),W&&W.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||x(i,"src",a),x(i,"class",s=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),x(i,"alt",""),x(i,"loading","lazy"),x(p,"class","GameInfoName"),x(p,"title",/*gamename*/t[4]),x(u,"class","GameInfo"),x(_,"class","GameInfoVendor"),x(c,"class","GameInfoWrapper"),x(E,"class","GameExtraInfo"),x(k,"class","GameExtraInfoContainer"),x(r,"class",A="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),x(n,"class",D=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),S(n,"WithGameName",/*showgamename*/t[10])},m(e,a){h(e,n,a),d(n,r),d(r,i),
1296
- /*img_binding*/t[62](i),d(r,o),d(r,c),d(c,u),d(u,p),d(p,g),d(u,b),R&&R.m(u,null),d(c,w),d(c,_),d(_,F),d(r,C),d(r,k),d(k,E),H&&H.m(E,null),d(E,G),B&&B.m(E,null),d(E,M),U&&U.m(E,null),d(k,L),z&&z.m(k,null),d(n,O),W&&W.m(n,null)
1297
- /*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&x(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&x(i,"class",s),/*gamename*/16&t[0]&&$(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&x(p,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Wr(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&N!==(N=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&$(F,N),/*gameisnew*/e[7]?H?H.p(e,t):(H=Vr(e),H.c(),H.m(E,G)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Zr(e),B.c(),B.m(E,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Kr(e),U.c(),U.m(E,null)):U&&(U.d(1),U=null),j===(j=Y(e,t))&&z?z.p(e,t):(z&&z.d(1),z=j&&j(e),z&&(z.c(),z.m(k,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&A!==(A="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&x(r,"class",A),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=ci(e),W.c(),W.m(n,null)):W&&(W.d(1),W=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&D!==(D=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&x(n,"class",D),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&S(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&m(n)
1298
- /*img_binding*/,t[62](null),R&&R.d(),H&&H.d(),B&&B.d(),U&&U.d(),z&&z.d(),W&&W.d()
1299
- /*div5_binding*/,t[67](null)}}}const di="blackjack",hi="roulette",mi="doubleballroulette",pi=5;function fi(e,t,n){let r;u(e,Pr,(e=>n(35,r=e)));let i,a,s,o,l,c,d,h,m,p,f,g,y,v,b,w,x,_,$,S,F,C,k,G,L,{session:T=""}=t,{userid:P=""}=t,{lang:I="en"}=t,{clientstyling:A=""}=t,{clientstylingurl:D=""}=t,{translationurl:N=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:z=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:q=!1}=t,{showgamename:X=""}=t,{currency:J=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:se="false"}=t,{casinogamesgridslider:oe="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],pe="EUR",fe="";const ge=[di],ye=[hi,mi],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={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(Ur).forEach((e=>{Br(e,Ur[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${j}`||q||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||q||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,o=null)},xe=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1271
+ // (578:10) {#if isopen && displaytype && displaytype === BLACKJACK}
1272
+ function Qr(e){let t,n,r,a,i,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
1273
+ return e[32]?ia:aa}let u=c(e),p=u(e);return{c(){t=g("div"),n=g("div"),p.c(),r=v(),a=new G(!1),i=v(),o=new G(!1),x(n,"class","LiveIcons"),a.a=i,o.a=null,x(t,"class","GameProp LiveProps BlackjackDisplay"),x(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){m(e,t,c),d(t,n),p.m(n,null),d(t,r),a.m(s,t),d(t,i),o.m(l,t)},p(e,t){u===(u=c(e))&&p?p.p(e,t):(p.d(1),p=u(e),p&&(p.c(),p.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&a.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&h(t),p.d()}}}
1274
+ // (603:18) {#if roulleteresults && roulleteresults[i]}
1275
+ function ea(e){let t;function n(e,t){/*isdouble*/
1276
+ return e[29]?na:ta}let r=n(e),a=r(e);return{c(){a.c(),t=b()},m(e,n){a.m(e,n),m(e,t,n)},p(e,i){r===(r=n(e))&&a?a.p(e,i):(a.d(1),a=r(e),a&&(a.c(),a.m(t.parentNode,t)))},d(e){a.d(e),e&&h(t)}}}
1277
+ // (609:20) {:else}
1278
+ function ta(e){let t,n,r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"";return{c(){t=new G(!1),n=b(),t.a=n},m(e,a){t.m(r,e,a),m(e,n,a)},p(e,n){/*roulleteresults*/16384&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[106]?"First":""),e[106],/*roulleteresults*/e[14][/*i*/e[106]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]]])+"")&&t.p(r)},d(e){e&&h(n),e&&t.d()}}}
1279
+ // (604:20) {#if isdouble}
1280
+ function na(e){let t,n,r,a,i,o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"",s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"";return{c(){t=g("div"),n=new G(!1),r=v(),a=new G(!1),i=v(),n.a=r,a.a=i,x(t,"class","Double")},m(e,l){m(e,t,l),n.m(o,t),d(t,r),a.m(s,t),d(t,i)},p(e,t){/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`first${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][0]}`/*roulleteresults*/,e[14][/*i*/e[106]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][0]])+"")&&n.p(o),/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[106]?"First":""),`second${/*i*/e[106]}${/*roulleteresults*/e[14][/*i*/e[106]][1]}`/*roulleteresults*/,e[14][/*i*/e[106]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[106]][1]])+"")&&a.p(s)},d(e){e&&h(t)}}}
1281
+ // (602:16) {#each new Array(numberofdisplayedresults) as garbage, i}
1282
+ function ra(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]&&ea(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]?n?n.p(e,r):(n=ea(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&h(t)}}}
1283
+ // (585:16) {:else}
1284
+ function aa(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=oa(Wr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n)},p(e,a){if(/*currentoccupiedseats, seats*/285212672&a[0]|/*contains*/256&a[1]){let i;for(n=/*seats*/e[24],i=0;i<n.length;i+=1){const o=Wr(e,n,i);r[i]?r[i].p(o,a):(r[i]=oa(o),r[i].c(),r[i].m(t.parentNode,t))}for(;i<r.length;i+=1)r[i].d(1);r.length=n.length}},d(e){p(r,e),e&&h(t)}}}
1285
+ // (581:16) {#if istablefull}
1286
+ function ia(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=g("span"),n=y(r),x(t,"class","FullTable")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&$(n,r)},d(e){e&&h(t)}}}
1287
+ // (586:18) {#each seats as seatData}
1288
+ function oa(e){let t,n,r,a,i,o;return{c(){t=g("span"),n=f("svg"),r=f("path"),a=f("path"),i=v(),x(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),x(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"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(n,"width","13"),x(n,"height","14"),x(n,"viewBox","0 0 13 14"),x(t,"class",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,o){m(e,t,o),d(t,n),d(n,r),d(n,a),d(t,i)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")&&x(t,"class",o)},d(e){e&&h(t)}}}
1289
+ // (638:56)
1290
+ function sa(t){let n;return{c(){n=g("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: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',x(n,"class","FavIconContainer")},m(e,t){m(e,n,t)},p:e,d(e){e&&h(n)}}}
1291
+ // (621:6) {#if !isMobile(userAgent)}
1292
+ function la(e){let t,n,r;function a(e,t){/*gamefavorite*/
1293
+ return e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?ua:!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]?ca:void 0}let i=a(e),o=i&&i(e);return{c(){t=g("div"),n=g("span"),r=v(),o&&o.c(),x(n,"class","GameInfoVendor"),S(n,"background-image","url("+/*gamevendor*/e[5]+")"),x(t,"class","GameTopContainer")},m(e,a){m(e,t,a),d(t,n),d(t,r),o&&o.m(t,null)},p(e,r){/*gamevendor*/32&r[0]&&S(n,"background-image","url("+/*gamevendor*/e[5]+")"),i===(i=a(e))&&o?o.p(e,r):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(t,null)))},d(e){e&&h(t),o&&o.d()}}}
1294
+ // (630:48)
1295
+ function ca(t){let n,r,a;return{c(){n=g("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',x(n,"class","FavIconContainer")},m(e,i){m(e,n,i),r||(a=w(n,"click",/*click_handler_2*/t[66]),r=!0)},p:e,d(e){e&&h(n),r=!1,a()}}}
1296
+ // (624:10) {#if gamefavorite && isLoggedIn && favorites}
1297
+ function ua(t){let n,r,a;return{c(){n=g("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',x(n,"class","FavIconContainer")},m(e,i){m(e,n,i),r||(a=w(n,"click",/*click_handler_1*/t[65]),r=!0)},p:e,d(e){e&&h(n),r=!1,a()}}}
1298
+ // (647:2) {#if showgamename === 'true'}
1299
+ function da(e){let t,n;return{c(){t=g("p"),n=y(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),d(t,n)},p(e,r){/*gamename*/16&r[0]&&$(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&x(t,"title",/*gamename*/e[4])},d(e){e&&h(t)}}}function ma(t){let n,r,a,i,o,s,c,u,p,f,y,b,w,_,$,S,G,F,k=/*lang*/t[1]&&Vr(t),E=/*gameisnew*/t[7]&&Zr(t),M=/*gametag*/t[8]&&Kr(t),T=/*livegamedata*/t[13]&&qr(t);function L(e,t){return null==$&&($=!Ar(/*userAgent*/e[36])),$?la:/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?sa:void 0}let P=L(t),I=P&&P(t),A=/*showgamename*/"true"===t[10]&&da(t);return{c(){n=g("div"),r=g("div"),a=g("img"),s=v(),c=g("div"),u=g("div"),k&&k.c(),p=v(),f=g("div"),y=g("div"),E&&E.c(),b=v(),M&&M.c(),w=v(),T&&T.c(),_=v(),I&&I.c(),G=v(),A&&A.c(),this.c=e,l(a.src,i=/*gamethumbnail*/t[3])||x(a,"src",i),x(a,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),x(a,"alt","Game thumbnail"),x(a,"loading","lazy"),x(u,"class","GameInfo"),x(c,"class","GameInfoWrapper"),x(y,"class","GameExtraInfo"),x(f,"class","GameExtraInfoContainer"),x(r,"class",S="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),x(n,"class",F=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),C(n,"WithGameName",/*showgamename*/t[10])},m(e,i){m(e,n,i),d(n,r),d(r,a),
1300
+ /*img_binding*/t[62](a),d(r,s),d(r,c),d(c,u),k&&k.m(u,null),d(r,p),d(r,f),d(f,y),E&&E.m(y,null),d(y,b),M&&M.m(y,null),d(y,w),T&&T.m(y,null),d(f,_),I&&I.m(f,null),d(n,G),A&&A.m(n,null)
1301
+ /*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(a.src,i=/*gamethumbnail*/e[3])&&x(a,"src",i),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&x(a,"class",o),/*lang*/e[1]?k?k.p(e,t):(k=Vr(e),k.c(),k.m(u,null)):k&&(k.d(1),k=null),/*gameisnew*/e[7]?E?E.p(e,t):(E=Zr(e),E.c(),E.m(y,b)):E&&(E.d(1),E=null),/*gametag*/e[8]?M?M.p(e,t):(M=Kr(e),M.c(),M.m(y,w)):M&&(M.d(1),M=null),/*livegamedata*/e[13]?T?T.p(e,t):(T=qr(e),T.c(),T.m(y,null)):T&&(T.d(1),T=null),P===(P=L(e))&&I?I.p(e,t):(I&&I.d(1),I=P&&P(e),I&&(I.c(),I.m(f,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&S!==(S="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&x(r,"class",S),/*showgamename*/"true"===e[10]?A?A.p(e,t):(A=da(e),A.c(),A.m(n,null)):A&&(A.d(1),A=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&F!==(F=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&x(n,"class",F),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&C(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&h(n)
1302
+ /*img_binding*/,t[62](null),k&&k.d(),E&&E.d(),M&&M.d(),T&&T.d(),I&&I.d(),A&&A.d()
1303
+ /*div5_binding*/,t[67](null)}}}const ha="blackjack",pa="roulette",ga="doubleballroulette",fa=5;function ya(e,t,n){let r;u(e,Ir,(e=>n(35,r=e)));let a,i,o,s,l,c,d,m,h,p,g,f,y,v,b,w,x,_,$,S,C,G,F,k,M,{session:L=""}=t,{userid:P=""}=t,{lang:I="en"}=t,{clientstyling:A=""}=t,{clientstylingurl:O=""}=t,{translationurl:N=""}=t,{favorites:R=""}=t,{gamethumbnail:B=""}=t,{gamename:H=""}=t,{gamevendor:z=""}=t,{gamelaunchurl:U=""}=t,{gameid:Y=""}=t,{gameisnew:j=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:q=!1}=t,{showgamename:X=""}=t,{currency:J=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ae=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",me={},he=[],pe="EUR",ge="";const fe=[ha],ye=[pa,ga],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={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(Ur).forEach((e=>{zr(e,Ur[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||q||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||q||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,a=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},xe=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1300
1304
  //Analytics event -- if game was searched
1301
- "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1305
+ "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${a||"Not logged in"}`}),
1302
1306
  // Case mobile
1303
- Ir(ue)&&"true"==se?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ir(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Ir(ue)&&"false"==se&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ir(ue)},window.location.href),
1307
+ Ar(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ar(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:z,launchUrl:U},window.location.href):Ar(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ar(ue)},window.location.href),
1304
1308
  // Case desktop
1305
- Ir(ue)||"true"!=ae?Ir(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ir(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ir(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},_e=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},$e=()=>{var e;e=I,mr.set(e)},Se=()=>{ne&&EventSource&&!l&&U&&j&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${j}`),l.addEventListener("message",Ce))},Fe=()=>{l&&(l.close(),l=void 0)},Ce=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1309
+ Ar(ue)||"true"!=ie?Ar(ue)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ar(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ar(ue),identifier:"Lobby",subVendor:z,launchUrl:U},window.location.href)},_e=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},$e=()=>{var e;e=I,pr.set(e)},Se=()=>{ne&&EventSource&&!l&&z&&Y&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${z}/${Y}`),l.addEventListener("message",Ge))},Ce=()=>{l&&(l.close(),l=void 0)},Ge=async e=>{const{type:t,data:r}=e;let a;if("message"===t){if(r)try{a=JSON.parse(r)}catch(e){
1306
1310
  // eslint-disable-next-line no-console
1307
- console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1311
+ console.error("MESSAGE PARSING ERROR: ",e)}if(a){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1308
1312
  r,Seats:// Roads, // for baccarat
1309
- a,Open:s}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(13,o.currentOccupiedSeats=a,o),await O());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,o.currentRouletteNumbers=r,o),await O());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,o.currentDoubleBallRouletteNumbers=r,o),await O());break;case"TableOpened":case"TableClosed":n(22,h=s),n(13,o.isOpen=s,o),await O()}// default case
1313
+ i,Open:o}=a;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(n(28,y=i),n(13,s.currentOccupiedSeats=i,s),await D());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,s.currentRouletteNumbers=r,s),await D());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,s.currentDoubleBallRouletteNumbers=r,s),await D());break;case"TableOpened":case"TableClosed":n(22,m=o),n(13,s.isOpen=o,s),await D()}// default case
1310
1314
  }}// default case
1311
- },ke=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Ee=(e,t)=>e.some((e=>e===t)),Ge=()=>{if(o){if(n(22,h=o.isOpen),he=o.betLimit||{},n(23,m=o.openHours),n(24,me=(e=>{g=e.totalSeats||7,n(28,y=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(o).seats),m&&m.value){const{value:{startTime:e,originalTimeFormat:t}}=m;/* , timeFormat: timeFormatRaw */n(20,d=e),n(21,de=t||de)}h&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Ee(ge,e)?t=di:Ee(ye,e)&&(t=hi)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1315
+ },Fe=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ke=(e,t)=>e.some((e=>e===t)),Ee=()=>{if(s){if(n(22,m=s.isOpen),me=s.betLimit||{},n(23,h=s.openHours),n(24,he=(e=>{f=e.totalSeats||7,n(28,y=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=f;e++)t.push(e);return{seats:t}})(s).seats),h&&h.value){const{value:{startTime:e,originalTimeFormat:t}}=h;/* , timeFormat: timeFormatRaw */n(20,d=e),n(21,de=t||de)}m&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ke(fe,e)?t=ha:ke(ye,e)&&(t=pa)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1312
1316
  // GameComponent = 'baccarat';
1313
1317
  }// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
1314
1318
  // GameComponent = 'poker';
1315
1319
  // }
1316
- return t})(o)),n(25,pe=Yr[J]),n(26,p=(he.min||{})[J]),n(27,f=(he.max||{})[J]),v=o.currentRouletteNumbers,b=o.currentDoubleBallRouletteNumbers,w=o.vendorCategory,n(29,x=w.toLowerCase()===mi),n(14,_=(x?b:v)||[]),n(30,$="GameProp LiveProps RoulleteProps"),n(30,$+=x?" Double":""),n(31,S=Ee(ye,w.toLowerCase())?be:ve),C=F,n(32,F=Array.isArray(y)&&y.length===g),o.dealer&&n(34,G=o.dealer.DealerName),L=o.numberOfPlayers,n(33,fe="ListGame"),o.isOpen&&o.currentRouletteNumbers&&n(33,fe+=" GameBackdrop"),h&&F&&p&&f&&o.currentOccupiedSeats?n(33,fe+=" GameContainerDimmed"):!1===h&&d&&n(33,fe+=" GameContainerFullyDimmed"),s&&(!C&&F?(n(33,fe+=" PulsatingRedShadow"),n(33,fe=fe.replace(" PulsatingGreenShadow",""))):C&&!F&&(n(33,fe+=" PulsatingGreenShadow"),n(33,fe=fe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(D),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1)}))};E((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(43,T=e.session),"userid"in e&&n(44,P=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,A=e.clientstyling),"clientstylingurl"in e&&n(46,D=e.clientstylingurl),"translationurl"in e&&n(47,N=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gamelaunchurl"in e&&n(48,Y=e.gamelaunchurl),"gameid"in e&&n(6,j=e.gameid),"gameisnew"in e&&n(7,z=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,q=e.showfavoredcategory),"showgamename"in e&&n(10,X=e.showgamename),"currency"in e&&n(51,J=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ie=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,se=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,oe=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Fe():"connect"===re&&Se()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Fe():"connect"===ie&&"connect"===re&&Se()),/*lang*/2&e.$$.dirty[0]&&I&&$e(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&T&&P&&ee&&(n(16,le=!0),i=P),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,ce=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&A&&s&&(()=>{let e=document.createElement("style");e.innerHTML=A,s.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&D&&s&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&N&&fetch(N).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Br(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&D&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Ar(ue)),e.searchParams.append("language",I),
1320
+ return t})(s)),n(25,pe=Yr[J]),n(26,p=(me.min||{})[J]),n(27,g=(me.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,x=w.toLowerCase()===ga),n(14,_=(x?b:v)||[]),n(30,$="GameProp LiveProps RoulleteProps"),n(30,$+=x?" Double":""),n(31,S=ke(ye,w.toLowerCase())?be:ve),G=C,n(32,C=Array.isArray(y)&&y.length===f),s.dealer&&n(34,k=s.dealer.DealerName),M=s.numberOfPlayers,n(33,ge="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,ge+=" GameBackdrop"),m&&C&&p&&g&&s.currentOccupiedSeats?n(33,ge+=" GameContainerDimmed"):!1===m&&d&&n(33,ge+=" GameContainerFullyDimmed"),o&&(!G&&C?(n(33,ge+=" PulsatingRedShadow"),n(33,ge=ge.replace(" PulsatingGreenShadow",""))):G&&!C&&(n(33,ge+=" PulsatingGreenShadow"),n(33,ge=ge.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};E((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Ge)})));return e.$$set=e=>{"session"in e&&n(43,L=e.session),"userid"in e&&n(44,P=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,A=e.clientstyling),"clientstylingurl"in e&&n(46,O=e.clientstylingurl),"translationurl"in e&&n(47,N=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,B=e.gamethumbnail),"gamename"in e&&n(4,H=e.gamename),"gamevendor"in e&&n(5,z=e.gamevendor),"gamelaunchurl"in e&&n(48,U=e.gamelaunchurl),"gameid"in e&&n(6,Y=e.gameid),"gameisnew"in e&&n(7,j=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,q=e.showfavoredcategory),"showgamename"in e&&n(10,X=e.showgamename),"currency"in e&&n(51,J=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ae=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Ce():"connect"===re&&Se()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ae&&("disconnect"===ae?Ce():"connect"===ae&&"connect"===re&&Se()),/*lang*/2&e.$$.dirty[0]&&I&&$e(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&L&&P&&ee&&(n(16,le=!0),a=P),/*gamethumbnail*/8&e.$$.dirty[0]&&B&&i&&n(18,i.onload=()=>{n(17,ce=!0)},i),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&A&&o&&(()=>{let e=document.createElement("style");e.innerHTML=A,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&O&&o&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&N&&fetch(N).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{zr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&O&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Or(ue)),e.searchParams.append("language",I),
1317
1321
  // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
1318
- fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,o=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&o&&Ge(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&k&&_&&(()=>{const e="FirstElementAnimated",t=k.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,I,R,H,B,U,j,z,W,K,X,oe,s,o,_,k,le,ce,a,c,d,de,h,m,me,pe,p,f,y,x,$,S,F,fe,G,r,ue,xe,_e,Ee,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${ke(e)}-${ke(t)}`),L&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" 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">${L}</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">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},T,P,A,D,N,Y,V,q,J,Q,ee,te,ne,re,ie,ae,se,ve,be,function(e){M[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>xe(j),function(e){M[e?"unshift":"push"]((()=>{k=e,n(15,k)}))},()=>_e(j),()=>_e(j),function(e){M[e?"unshift":"push"]((()=>{s=e,n(12,s)}))}]}function gi(e,t){zn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.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}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},fi,ui,a,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),H()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),H()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const yi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
1319
- /* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function vi(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
1322
+ fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Ee(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&F&&_&&(()=>{const e="FirstElementAnimated",t=F.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,I,R,B,H,z,Y,j,W,K,X,se,o,s,_,F,le,ce,i,c,d,de,m,h,he,pe,p,g,y,x,$,S,C,ge,k,r,ue,xe,_e,ke,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`\n <span>\n ${n}\n </span>\n ${Fe(e)}-${Fe(t)}`),M&&(r=`\n <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" 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">${M}</span>`),r||a?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${a||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const a=`${e} ${r}`,i=t.toString().match(/first0|second0|0/g);return 0===t||i&&0!==i.length?`\n <span\n id=${t}\n class="${a}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${a}">\n ${n}\n </span>\n `},L,P,A,O,N,U,V,q,J,Q,ee,te,ne,re,ae,ie,oe,ve,be,function(e){T[e?"unshift":"push"]((()=>{i=e,n(18,i)}))},()=>xe(Y),function(e){T[e?"unshift":"push"]((()=>{F=e,n(15,F)}))},()=>_e(Y),()=>_e(Y),function(e){T[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function va(e,t){Wn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #F1BED9)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d)}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 12px);white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ya,ma,i,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),H()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),H()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const ba={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
1323
+ /* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function wa(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
1320
1324
  // (178:4) {#if !isLoading}
1321
- function bi(e){let t,n,i,a,s,o,l,c,u,b,_,S,F,C,k,E,G,M,L,T,P,I,A,O,D,N,R,H,B,U,Y,j=/*$_*/e[11]("filterby")+"",z=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
1322
- return e[7]?_i:xi}let Z=V(e),K=Z(e),q=/*vendorArray*/e[5],X=[];for(let t=0;t<q.length;t+=1)X[t]=Fi(vi(e,q,t));return{c(){t=f("div"),n=f("div"),i=f("div"),a=g("svg"),s=g("path"),o=v(),l=f("div"),c=f("span"),u=y(j),b=v(),_=f("div"),S=f("span"),F=y(z),C=v(),K.c(),k=v(),E=f("span"),G=g("svg"),M=g("path"),P=v(),I=f("div"),A=f("ul");for(let e=0;e<X.length;e+=1)X[e].c();O=v(),D=f("button"),N=y(W),x(s,"id","noun_filter_736223"),x(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),x(s,"transform","translate(-5 -6.2)"),x(s,"fill","#fff"),x(a,"xmlns","http://www.w3.org/2000/svg"),x(a,"width","16"),x(a,"height","16"),x(a,"viewBox","0 0 16 16"),x(c,"class","FilterName"),x(_,"class","FilterValueContainer"),x(l,"class","FilterTextContainer"),x(i,"class","FilterMainArea"),x(M,"id","arrow"),x(M,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x(M,"transform","translate(-274.511 -441.088)"),x(M,"fill","#d1d1d1"),x(G,"xmlns","http://www.w3.org/2000/svg"),x(G,"width","14"),x(G,"height","6.835"),x(G,"viewBox","0 0 14 6.835"),x(E,"class",L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),x(n,"class",T="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),x(A,"class","FilterDropdown"),x(D,"class","ClearFilters"),D.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,x(I,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),x(t,"class",B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(r,m){h(r,t,m),d(t,n),d(n,i),d(i,a),d(a,s),d(i,o),d(i,l),d(l,c),d(c,u),d(l,b),d(l,_),d(_,S),d(S,F),d(_,C),K.m(_,null),d(n,k),d(n,E),d(E,G),d(G,M),d(t,P),d(t,I),d(I,A);for(let e=0;e<X.length;e+=1)X[e]&&X[e].m(A,null);d(I,O),d(I,D),d(D,N),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(D,"click",/*click_handler_2*/e[25])],U=!0)},p(e,r){if(/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("filterby")+"")&&$(u,j),/*$_*/2048&r[0]&&z!==(z=/*$_*/e[11]("providers")+"")&&$(F,z),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(_,null))),/*isFilterActive*/16&r[0]&&L!==(L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&x(E,"class",L),/*isFilterActive*/16&r[0]&&T!==(T="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&x(n,"class",T),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(q=/*vendorArray*/e[5],t=0;t<q.length;t+=1){const n=vi(e,q,t);X[t]?X[t].p(n,r):(X[t]=Fi(n),X[t].c(),X[t].m(A,null))}for(;t<X.length;t+=1)X[t].d(1);X.length=q.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&$(N,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(D.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&x(I,"class",H),/*addfilterselector, addsortingselector*/3&r[0]&&B!==(B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&x(t,"class",B)},d(e){e&&m(t),K.d(),p(X,e),U=!1,r(Y)}}}
1325
+ function xa(e){let t,n,a,i,o,s,l,c,u,b,_,S,C,G,F,k,E,M,T,L,P,I,A,O,D,N,R,B,H,z,U,Y=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
1326
+ return e[7]?Sa:$a}let Z=V(e),K=Z(e),q=/*vendorArray*/e[5],X=[];for(let t=0;t<q.length;t+=1)X[t]=Fa(wa(e,q,t));return{c(){t=g("div"),n=g("div"),a=g("div"),i=f("svg"),o=f("path"),s=v(),l=g("div"),c=g("span"),u=y(Y),b=v(),_=g("div"),S=g("span"),C=y(j),G=v(),K.c(),F=v(),k=g("span"),E=f("svg"),M=f("path"),P=v(),I=g("div"),A=g("ul");for(let e=0;e<X.length;e+=1)X[e].c();O=v(),D=g("button"),N=y(W),x(o,"id","noun_filter_736223"),x(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),x(o,"transform","translate(-5 -6.2)"),x(o,"fill","#fff"),x(i,"xmlns","http://www.w3.org/2000/svg"),x(i,"width","16"),x(i,"height","16"),x(i,"viewBox","0 0 16 16"),x(c,"class","FilterName"),x(_,"class","FilterValueContainer"),x(l,"class","FilterTextContainer"),x(a,"class","FilterMainArea"),x(M,"id","arrow"),x(M,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x(M,"transform","translate(-274.511 -441.088)"),x(M,"fill","#d1d1d1"),x(E,"xmlns","http://www.w3.org/2000/svg"),x(E,"width","14"),x(E,"height","6.835"),x(E,"viewBox","0 0 14 6.835"),x(k,"class",T="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),x(n,"class",L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),x(A,"class","FilterDropdown"),x(D,"class","ClearFilters"),D.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,x(I,"class",B="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),x(t,"class",H="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(r,h){m(r,t,h),d(t,n),d(n,a),d(a,i),d(i,o),d(a,s),d(a,l),d(l,c),d(c,u),d(l,b),d(l,_),d(_,S),d(S,C),d(_,G),K.m(_,null),d(n,F),d(n,k),d(k,E),d(E,M),d(t,P),d(t,I),d(I,A);for(let e=0;e<X.length;e+=1)X[e]&&X[e].m(A,null);d(I,O),d(I,D),d(D,N),z||(U=[w(n,"click",/*click_handler*/e[22]),w(D,"click",/*click_handler_2*/e[25])],z=!0)},p(e,r){if(/*$_*/2048&r[0]&&Y!==(Y=/*$_*/e[11]("filterby")+"")&&$(u,Y),/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("providers")+"")&&$(C,j),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(_,null))),/*isFilterActive*/16&r[0]&&T!==(T="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&x(k,"class",T),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&x(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(q=/*vendorArray*/e[5],t=0;t<q.length;t+=1){const n=wa(e,q,t);X[t]?X[t].p(n,r):(X[t]=Fa(n),X[t].c(),X[t].m(A,null))}for(;t<X.length;t+=1)X[t].d(1);X.length=q.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&$(N,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(D.disabled=R),/*isFilterActive*/16&r[0]&&B!==(B="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&x(I,"class",B),/*addfilterselector, addsortingselector*/3&r[0]&&H!==(H="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&x(t,"class",H)},d(e){e&&h(t),K.d(),p(X,e),z=!1,r(U)}}}
1323
1327
  // (175:2) {#if hasErrors}
1324
- function wi(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&$(n,r)},d(e){e&&m(t)}}}
1328
+ function _a(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=g("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&$(n,r)},d(e){e&&h(t)}}}
1325
1329
  // (191:14) {:else}
1326
- function xi(e){let t,n;return{c(){t=f("span"),n=y(/*selectionNumber*/e[8]),x(t,"class","FilterCounter")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&$(n,/*selectionNumber*/e[8])},d(e){e&&m(t)}}}
1330
+ function $a(e){let t,n;return{c(){t=g("span"),n=y(/*selectionNumber*/e[8]),x(t,"class","FilterCounter")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&$(n,/*selectionNumber*/e[8])},d(e){e&&h(t)}}}
1327
1331
  // (189:14) {#if fullSelection}
1328
- function _i(e){let t,n,r=/*$_*/e[11]("all")+"";return{c(){t=f("span"),n=y(r),x(t,"class","FilterCounter")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("all")+"")&&$(n,r)},d(e){e&&m(t)}}}
1332
+ function Sa(e){let t,n,r=/*$_*/e[11]("all")+"";return{c(){t=g("span"),n=y(r),x(t,"class","FilterCounter")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("all")+"")&&$(n,r)},d(e){e&&h(t)}}}
1329
1333
  // (213:50)
1330
- function $i(e){let t,n;return{c(){t=f("img"),l(t.src,n=/*vendor*/e[36].logo)||x(t,"src",n),x(t,"alt","vendor logo")},m(e,n){h(e,t,n)},p(e,r){/*vendorArray*/32&r[0]&&!l(t.src,n=/*vendor*/e[36].logo)&&x(t,"src",n)},d(e){e&&m(t)}}}
1334
+ function Ca(e){let t,n;return{c(){t=g("img"),l(t.src,n=/*vendor*/e[36].logo)||x(t,"src",n),x(t,"alt","vendor logo")},m(e,n){m(e,t,n)},p(e,r){/*vendorArray*/32&r[0]&&!l(t.src,n=/*vendor*/e[36].logo)&&x(t,"src",n)},d(e){e&&h(t)}}}
1331
1335
  // (211:16) {#if filterbylogo === "false"}
1332
- function Si(e){let t,n,r,i,a,s,o,l,c=/*vendor*/e[36].name+"",u=/*vendor*/e[36].games.count+"";return{c(){t=f("div"),n=f("span"),r=y(c),i=v(),a=f("span"),s=y("("),o=y(u),l=y(")"),x(t,"class","FilterItemLabel")},m(e,c){h(e,t,c),d(t,n),d(n,r),d(t,i),d(t,a),d(a,s),d(a,o),d(a,l)},p(e,t){/*vendorArray*/32&t[0]&&c!==(c=/*vendor*/e[36].name+"")&&$(r,c),/*vendorArray*/32&t[0]&&u!==(u=/*vendor*/e[36].games.count+"")&&$(o,u)},d(e){e&&m(t)}}}
1336
+ function Ga(e){let t,n,r,a,i,o,s,l,c=/*vendor*/e[36].name+"",u=/*vendor*/e[36].games.count+"";return{c(){t=g("div"),n=g("span"),r=y(c),a=v(),i=g("span"),o=y("("),s=y(u),l=y(")"),x(t,"class","FilterItemLabel")},m(e,c){m(e,t,c),d(t,n),d(n,r),d(t,a),d(t,i),d(i,o),d(i,s),d(i,l)},p(e,t){/*vendorArray*/32&t[0]&&c!==(c=/*vendor*/e[36].name+"")&&$(r,c),/*vendorArray*/32&t[0]&&u!==(u=/*vendor*/e[36].games.count+"")&&$(s,u)},d(e){e&&h(t)}}}
1333
1337
  // (206:10) {#each vendorArray as vendor}
1334
- function Fi(e){let t,n,i,a,s,o,l,c,u,p,g,y;function b(){
1335
- /*input_change_handler*/e[23].call(i,/*each_value*/e[37],/*vendor_index*/e[38])}function _(){/*click_handler_1*/
1338
+ function Fa(e){let t,n,a,i,o,s,l,c,u,p,f,y;function b(){
1339
+ /*input_change_handler*/e[23].call(a,/*each_value*/e[37],/*vendor_index*/e[38])}function _(){/*click_handler_1*/
1336
1340
  return e[24](/*vendor*/e[36])}function $(e,t){/*filterbylogo*/
1337
- return"false"===e[2]?Si:/*filterbylogo*/"true"===e[2]?$i:void 0}let S=$(e),F=S&&S(e);return{c(){t=f("li"),n=f("label"),i=f("input"),s=v(),o=f("span"),l=v(),F&&F.c(),c=v(),x(i,"type","checkbox"),x(i,"name","checkbox"),i.__value=a=/*vendor*/e[36].name,i.value=i.__value,x(o,"class","FiltersCheckmark"),x(n,"class","FilterLabel"),x(t,"class",u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":"")),t.value=p=/*vendor*/e[36].name},m(r,a){h(r,t,a),d(t,n),d(n,i),i.checked=/*vendor*/e[36].isFilterSelected,d(n,s),d(n,o),d(n,l),F&&F.m(n,null),d(t,c),g||(y=[w(i,"change",b),w(i,"click",_)],g=!0)},p(r,s){e=r,/*vendorArray*/32&s[0]&&a!==(a=/*vendor*/e[36].name)&&(i.__value=a,i.value=i.__value),/*vendorArray*/32&s[0]&&(i.checked=/*vendor*/e[36].isFilterSelected),S===(S=$(e))&&F?F.p(e,s):(F&&F.d(1),F=S&&S(e),F&&(F.c(),F.m(n,null))),/*filterbylogo*/4&s[0]&&u!==(u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":""))&&x(t,"class",u),/*vendorArray*/32&s[0]&&p!==(p=/*vendor*/e[36].name)&&(t.value=p)},d(e){e&&m(t),F&&F.d(),g=!1,r(y)}}}function Ci(t){let n;function r(e,t){/*hasErrors*/
1338
- return e[10]?wi:/*isLoading*/e[9]?void 0:bi}let i=r(t),a=i&&i(t);return{c(){n=f("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
1339
- /*div_binding*/,t[26](n)},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)))},i:e,o:e,d(e){e&&m(n),a&&a.d()
1340
- /*div_binding*/,t[26](null)}}}function ki(e,t,n){let r;u(e,Pr,(e=>n(11,r=e)));let i,{endpoint:a=""}=t,{datasource:s=""}=t,{lang:o=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{categoryid:h=""}=t,{addfilterselector:m="false"}=t,{addsortingselector:p="false"}=t,{filterbylogo:f="false"}=t,g=!1,y=window.navigator.userAgent,v=[],b=[],w={},x=!1,_=0,$=!0,S=!1;
1341
+ return"false"===e[2]?Ga:/*filterbylogo*/"true"===e[2]?Ca:void 0}let S=$(e),C=S&&S(e);return{c(){t=g("li"),n=g("label"),a=g("input"),o=v(),s=g("span"),l=v(),C&&C.c(),c=v(),x(a,"type","checkbox"),x(a,"name","checkbox"),a.__value=i=/*vendor*/e[36].name,a.value=a.__value,x(s,"class","FiltersCheckmark"),x(n,"class","FilterLabel"),x(t,"class",u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":"")),t.value=p=/*vendor*/e[36].name},m(r,i){m(r,t,i),d(t,n),d(n,a),a.checked=/*vendor*/e[36].isFilterSelected,d(n,o),d(n,s),d(n,l),C&&C.m(n,null),d(t,c),f||(y=[w(a,"change",b),w(a,"click",_)],f=!0)},p(r,o){e=r,/*vendorArray*/32&o[0]&&i!==(i=/*vendor*/e[36].name)&&(a.__value=i,a.value=a.__value),/*vendorArray*/32&o[0]&&(a.checked=/*vendor*/e[36].isFilterSelected),S===(S=$(e))&&C?C.p(e,o):(C&&C.d(1),C=S&&S(e),C&&(C.c(),C.m(n,null))),/*filterbylogo*/4&o[0]&&u!==(u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":""))&&x(t,"class",u),/*vendorArray*/32&o[0]&&p!==(p=/*vendor*/e[36].name)&&(t.value=p)},d(e){e&&h(t),C&&C.d(),f=!1,r(y)}}}function ka(t){let n;function r(e,t){/*hasErrors*/
1342
+ return e[10]?_a:/*isLoading*/e[9]?void 0:xa}let a=r(t),i=a&&a(t);return{c(){n=g("div"),i&&i.c(),this.c=e},m(e,r){m(e,n,r),i&&i.m(n,null)
1343
+ /*div_binding*/,t[26](n)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),i=a&&a(e),i&&(i.c(),i.m(n,null)))},i:e,o:e,d(e){e&&h(n),i&&i.d()
1344
+ /*div_binding*/,t[26](null)}}}function Ea(e,t,n){let r;u(e,Ir,(e=>n(11,r=e)));let a,{endpoint:i=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{categoryid:m=""}=t,{addfilterselector:h="false"}=t,{addsortingselector:p="false"}=t,{filterbylogo:g="false"}=t,f=!1,y=window.navigator.userAgent,v=[],b=[],w={},x=!1,_=0,$=!0,S=!1;
1341
1345
  // start translations area
1342
- !function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1346
+ !function({withLocale:e,translations:t}){pr.subscribe((n=>{null==n&&(Un.set(t),pr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1343
1347
  /*dictionary.set(translations);
1344
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(yi).forEach((e=>{gi(e,yi[e])}));
1348
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(ba).forEach((e=>{va(e,ba[e])}));
1345
1349
  // end custom styling area
1346
- w[h]&&(w={[h]:[]});const F=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},C=e=>{let t=localStorage.getItem("vendorFiltersByCategory");e.isFilterSelected=!e.isFilterSelected,b.length&&0!=b.filter((t=>t.name===e.name)).length?n(6,b=b.filter((t=>t.name!==e.name))):b.push(e),null==t?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})):(t=JSON.parse(t),t[h]=b.map((e=>e.id)),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(t))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),k()},k=()=>{
1350
+ w[m]&&(w={[m]:[]});const C=()=>{n(4,f=!f),window.postMessage({type:"FilterOpened"},window.location.href)},G=e=>{let t=localStorage.getItem("vendorFiltersByCategory");e.isFilterSelected=!e.isFilterSelected,b.length&&0!=b.filter((t=>t.name===e.name)).length?n(6,b=b.filter((t=>t.name!==e.name))):b.push(e),null==t?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[m]:b.map((e=>e.id))})):(t=JSON.parse(t),t[m]=b.map((e=>e.id)),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(t))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),F()},F=()=>{
1347
1351
  // update filters value
1348
- n(7,x=b.length===v.length||0==b.length),n(8,_=b.length)},G=()=>{const e=new URL(`${a}/v1/casino/vendors`);n(4,g=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",o),e.searchParams.append("datasource",s),e.searchParams.append("platform",Ar(y)),(h.match(/\$/g)||[]).length>1?(e.searchParams.append("filter",`games(subGroups=${h})`),e.searchParams.append("subVendors",`games(subGroups=${h})`)):e.searchParams.append("filter",`games(groups=${h})`),(e=>{n(9,$=!0),new Promise(((t,r)=>{fetch(e).then((e=>e.json())).then((e=>{e=e.items,t(e.items),n(6,b=[]);let r=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach((e=>{var t;r||(r={currentCategoryId:[]}),(null===(t=r[h])||void 0===t?void 0:t.indexOf(e.id))>=0?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1})),n(5,v=e),
1352
+ n(7,x=b.length===v.length||0==b.length),n(8,_=b.length)},k=()=>{const e=new URL(`${i}/v1/casino/vendors`);n(4,f=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",s),e.searchParams.append("datasource",o),e.searchParams.append("platform",Or(y)),(m.match(/\$/g)||[]).length>1?(e.searchParams.append("filter",`games(subGroups=${m})`),e.searchParams.append("subVendors",`games(subGroups=${m})`)):e.searchParams.append("filter",`games(groups=${m})`),(e=>{n(9,$=!0),new Promise(((t,r)=>{fetch(e).then((e=>e.json())).then((e=>{e=e.items,t(e.items),n(6,b=[]);let r=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach((e=>{var t;r||(r={currentCategoryId:[]}),(null===(t=r[m])||void 0===t?void 0:t.indexOf(e.id))>=0?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1})),n(5,v=e),
1349
1353
  // needed to force the update of the filters value
1350
- k()})).catch((e=>{console.error(e),n(10,S=!0),r(e)})).finally((()=>{n(9,$=!1)}))}))})(e)},L=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
1354
+ F()})).catch((e=>{console.error(e),n(10,S=!0),r(e)})).finally((()=>{n(9,$=!1)}))}))})(e)},M=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[m]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
1351
1355
  // this reassignation of the pointer value is required in order to have Svelte trigger a re-render
1352
- n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,x=!0),n(4,g=!1)},T=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};E((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,s=e.datasource),"lang"in e&&n(17,o=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,d=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,p=e.addsortingselector),"filterbylogo"in e&&n(2,f=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&s&&h&&f&&G(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&i&&(()=>{let e=document.createElement("style");e.innerHTML=c,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{gi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,p,f,i,g,v,b,x,_,$,S,r,F,C,L,a,s,o,l,c,d,h,()=>F(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>C(e),()=>L(),function(e){M[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function Ei(e,t){zn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ki,Ci,a,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),H()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}});const Gi={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
1353
- /* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function Mi(e,t,n){const r=e.slice();return r[23]=t[n],r}
1356
+ n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,x=!0),n(4,f=!1)},L=e=>{"SortingOpened"==e.data.type&&n(4,f=!1)};E((()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})));return e.$$set=e=>{"endpoint"in e&&n(15,i=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,d=e.clientstylingurl),"categoryid"in e&&n(21,m=e.categoryid),"addfilterselector"in e&&n(0,h=e.addfilterselector),"addsortingselector"in e&&n(1,p=e.addsortingselector),"filterbylogo"in e&&n(2,g=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&i&&o&&m&&g&&k(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&a&&(()=>{let e=document.createElement("style");e.innerHTML=c,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&d&&a&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{va(t,e[t])}))})).catch((e=>{console.log(e)}))},[h,p,g,a,f,v,b,x,_,$,S,r,C,G,M,i,o,s,l,c,d,m,()=>C(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>G(e),()=>M(),function(e){T[e?"unshift":"push"]((()=>{a=e,n(3,a)}))}]}function Ma(e,t){Wn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ea,ka,i,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),H()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}});const Ta={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
1357
+ /* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function La(e,t,n){const r=e.slice();return r[23]=t[n],r}
1354
1358
  // (114:4) {#if !isLoading}
1355
- function Li(e){let t,n,r,i,a,s,o,l,c,u,b,_,S,F,C,k,E,G,M,L,T,P,I,A,O,D,N,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",U=Object.values(/*vendorMap*/e[5]),Y=[];for(let t=0;t<U.length;t+=1)Y[t]=Ti(Mi(e,U,t));return{c(){t=f("div"),n=f("div"),r=f("div"),i=g("svg"),a=g("g"),s=g("path"),o=g("path"),l=g("path"),c=v(),u=f("div"),b=f("span"),_=y(H),S=v(),F=f("div"),C=f("span"),k=y(B),E=v(),G=f("span"),M=g("svg"),L=g("path"),I=v(),A=f("div"),O=f("ul");for(let e=0;e<Y.length;e+=1)Y[e].c();x(s,"id","Path_5267"),x(s,"data-name","Path 5267"),x(s,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),x(s,"transform","translate(-206.448 0)"),x(s,"fill","#fff"),x(o,"id","Path_5268"),x(o,"data-name","Path 5268"),x(o,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),x(o,"transform","translate(0 0)"),x(o,"fill","#fff"),x(l,"id","Path_5269"),x(l,"data-name","Path 5269"),x(l,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),x(l,"transform","translate(-412.896 0)"),x(l,"fill","#fff"),x(a,"id","sortby"),x(a,"transform","translate(-306 -342)"),x(i,"xmlns","http://www.w3.org/2000/svg"),x(i,"width","20"),x(i,"height","20"),x(i,"viewBox","0 0 26.003 22.819"),x(b,"class","SorterName"),x(F,"class","SorterValueContainer"),x(u,"class","SorterTextContainer"),x(r,"class","SorterMainArea"),x(L,"id","arrow"),x(L,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x(L,"transform","translate(-274.511 -441.088)"),x(L,"fill","#d1d1d1"),x(M,"xmlns","http://www.w3.org/2000/svg"),x(M,"width","14"),x(M,"height","6.835"),x(M,"viewBox","0 0 14 6.835"),x(G,"class",T="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),x(n,"class",P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),x(O,"class","SorterDropdown"),x(A,"class",D="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),x(t,"class","SorterContainer")},m(m,p){h(m,t,p),d(t,n),d(n,r),d(r,i),d(i,a),d(a,s),d(a,o),d(a,l),d(r,c),d(r,u),d(u,b),d(b,_),d(u,S),d(u,F),d(F,C),d(C,k),d(n,E),d(n,G),d(G,M),d(M,L),d(t,I),d(t,A),d(A,O);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(O,null);N||(R=w(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&$(_,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&$(k,B),/*isSorterActive*/2&t&&T!==(T="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&x(G,"class",T),/*isSorterActive*/2&t&&P!==(P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&x(n,"class",P),/*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/120&t){let n;for(U=Object.values(/*vendorMap*/e[5]),n=0;n<U.length;n+=1){const r=Mi(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=Ti(r),Y[n].c(),Y[n].m(O,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&D!==(D="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&x(A,"class",D)},d(e){e&&m(t),p(Y,e),N=!1,R()}}}
1359
+ function Pa(e){let t,n,r,a,i,o,s,l,c,u,b,_,S,C,G,F,k,E,M,T,L,P,I,A,O,D,N,R,B=/*$_*/e[4]("sortby")+"",H=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",z=Object.values(/*vendorMap*/e[5]),U=[];for(let t=0;t<z.length;t+=1)U[t]=Ia(La(e,z,t));return{c(){t=g("div"),n=g("div"),r=g("div"),a=f("svg"),i=f("g"),o=f("path"),s=f("path"),l=f("path"),c=v(),u=g("div"),b=g("span"),_=y(B),S=v(),C=g("div"),G=g("span"),F=y(H),k=v(),E=g("span"),M=f("svg"),T=f("path"),I=v(),A=g("div"),O=g("ul");for(let e=0;e<U.length;e+=1)U[e].c();x(o,"id","Path_5267"),x(o,"data-name","Path 5267"),x(o,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),x(o,"transform","translate(-206.448 0)"),x(o,"fill","#fff"),x(s,"id","Path_5268"),x(s,"data-name","Path 5268"),x(s,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),x(s,"transform","translate(0 0)"),x(s,"fill","#fff"),x(l,"id","Path_5269"),x(l,"data-name","Path 5269"),x(l,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),x(l,"transform","translate(-412.896 0)"),x(l,"fill","#fff"),x(i,"id","sortby"),x(i,"transform","translate(-306 -342)"),x(a,"xmlns","http://www.w3.org/2000/svg"),x(a,"width","20"),x(a,"height","20"),x(a,"viewBox","0 0 26.003 22.819"),x(b,"class","SorterName"),x(C,"class","SorterValueContainer"),x(u,"class","SorterTextContainer"),x(r,"class","SorterMainArea"),x(T,"id","arrow"),x(T,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),x(T,"transform","translate(-274.511 -441.088)"),x(T,"fill","#d1d1d1"),x(M,"xmlns","http://www.w3.org/2000/svg"),x(M,"width","14"),x(M,"height","6.835"),x(M,"viewBox","0 0 14 6.835"),x(E,"class",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),x(n,"class",P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),x(O,"class","SorterDropdown"),x(A,"class",D="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),x(t,"class","SorterContainer")},m(h,p){m(h,t,p),d(t,n),d(n,r),d(r,a),d(a,i),d(i,o),d(i,s),d(i,l),d(r,c),d(r,u),d(u,b),d(b,_),d(u,S),d(u,C),d(C,G),d(G,F),d(n,k),d(n,E),d(E,M),d(M,T),d(t,I),d(t,A),d(A,O);for(let e=0;e<U.length;e+=1)U[e]&&U[e].m(O,null);N||(R=w(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&B!==(B=/*$_*/e[4]("sortby")+"")&&$(_,B),/*vendorSortingBy, $_*/24&t&&H!==(H=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&$(F,H),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&x(E,"class",L),/*isSorterActive*/2&t&&P!==(P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&x(n,"class",P),/*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/120&t){let n;for(z=Object.values(/*vendorMap*/e[5]),n=0;n<z.length;n+=1){const r=La(e,z,n);U[n]?U[n].p(r,t):(U[n]=Ia(r),U[n].c(),U[n].m(O,null))}for(;n<U.length;n+=1)U[n].d(1);U.length=z.length}/*isSorterActive*/2&t&&D!==(D="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&x(A,"class",D)},d(e){e&&h(t),p(U,e),N=!1,R()}}}
1356
1360
  // (140:10) {#each Object.values(vendorMap) as sort}
1357
- function Ti(e){let t,n,r,i,a,s,o,l,c,u,p,g,b=/*sort*/e[23]+"";function _(){/*click_handler_1*/
1358
- return e[14](/*sort*/e[23])}return{c(){t=f("li"),n=f("label"),r=f("input"),a=v(),s=f("span"),o=v(),l=f("span"),c=y(b),u=v(),x(r,"type","radio"),x(r,"name","radio"),r.value=/*sort*/e[23],r.checked=i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),x(s,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){h(e,t,i),d(t,n),d(n,r),d(n,a),d(n,s),d(n,o),d(n,l),d(l,c),d(t,u),p||(g=w(r,"click",_),p=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&i!==(i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=i)},d(e){e&&m(t),p=!1,g()}}}function Pi(t){let n;function r(e,t){if(!/*isLoading*/e[2])return Li}let i=r(t),a=i&&i(t);return{c(){n=f("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
1359
- /*div_binding*/,t[15](n)},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)))},i:e,o:e,d(e){e&&m(n),a&&a.d()
1360
- /*div_binding*/,t[15](null)}}}function Ii(e,t,n){let r;u(e,Pr,(e=>n(4,r=e)));let i,{lang:a=""}=t,{translationurl:s=""}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{categoryid:c=""}=t,d=!1,h=!0,m="",p="All";!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1361
+ function Ia(e){let t,n,r,a,i,o,s,l,c,u,p,f,b=/*sort*/e[23]+"";function _(){/*click_handler_1*/
1362
+ return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),i=v(),o=g("span"),s=v(),l=g("span"),c=y(b),u=v(),x(r,"type","radio"),x(r,"name","radio"),r.value=/*sort*/e[23],r.checked=a=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),x(o,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,a){m(e,t,a),d(t,n),d(n,r),d(n,i),d(n,o),d(n,s),d(n,l),d(l,c),d(t,u),p||(f=w(r,"click",_),p=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&a!==(a=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=a)},d(e){e&&h(t),p=!1,f()}}}function Aa(t){let n;function r(e,t){if(!/*isLoading*/e[2])return Pa}let a=r(t),i=a&&a(t);return{c(){n=g("div"),i&&i.c(),this.c=e},m(e,r){m(e,n,r),i&&i.m(n,null)
1363
+ /*div_binding*/,t[15](n)},p(e,[t]){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),i=a&&a(e),i&&(i.c(),i.m(n,null)))},i:e,o:e,d(e){e&&h(n),i&&i.d()
1364
+ /*div_binding*/,t[15](null)}}}function Oa(e,t,n){let r;u(e,Ir,(e=>n(4,r=e)));let a,{lang:i=""}=t,{translationurl:o=""}=t,{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,{categoryid:c=""}=t,d=!1,m=!0,h="",p="All";!function({withLocale:e,translations:t}){pr.subscribe((n=>{null==n&&(Un.set(t),pr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1361
1365
  /*dictionary.set(translations);
1362
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Gi).forEach((e=>{Ei(e,Gi[e])}));const f={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},g=e=>{n(3,p=e);let t=localStorage.getItem("vendorSortingBy");m=e;for(let t in f)if(f[t]===e){m=t;break}null==t?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):(t=JSON.parse(t),t[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(t))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),n(1,d=!d)},y=()=>{n(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,d=!1)};E((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,a=e.lang),"translationurl"in e&&n(9,s=e.translationurl),"clientstyling"in e&&n(10,o=e.clientstyling),"clientstylingurl"in e&&n(11,l=e.clientstylingurl),"categoryid"in e&&n(12,c=e.categoryid)},e.$$.update=()=>{/*categoryid*/4096&e.$$.dirty&&c&&(()=>{var e;n(3,p="All"),n(2,h=!1),n(1,d=!1);let t=null===(e=JSON.parse(localStorage.getItem("vendorSortingBy")))||void 0===e?void 0:e[c];n(3,p=t||"All"),n(3,p=f[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&o&&i&&(()=>{let e=document.createElement("style");e.innerHTML=o,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&s&&fetch(s).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ei(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,d,h,p,r,f,g,y,a,s,o,l,c,()=>y(),e=>g(e),function(e){M[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
1366
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Ta).forEach((e=>{Ma(e,Ta[e])}));const g={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},f=e=>{n(3,p=e);let t=localStorage.getItem("vendorSortingBy");h=e;for(let t in g)if(g[t]===e){h=t;break}null==t?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:h})):(t=JSON.parse(t),t[c]=h,localStorage.setItem("vendorSortingBy",JSON.stringify(t))),window.postMessage({type:"ApplySorter",sortBy:h,itemId:c},window.location.href),n(1,d=!d)},y=()=>{n(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,d=!1)};E((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,i=e.lang),"translationurl"in e&&n(9,o=e.translationurl),"clientstyling"in e&&n(10,s=e.clientstyling),"clientstylingurl"in e&&n(11,l=e.clientstylingurl),"categoryid"in e&&n(12,c=e.categoryid)},e.$$.update=()=>{/*categoryid*/4096&e.$$.dirty&&c&&(()=>{var e;n(3,p="All"),n(2,m=!1),n(1,d=!1);let t=null===(e=JSON.parse(localStorage.getItem("vendorSortingBy")))||void 0===e?void 0:e[c];n(3,p=t||"All"),n(3,p=g[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&s&&a&&(()=>{let e=document.createElement("style");e.innerHTML=s,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&a&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&o&&fetch(o).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ma(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,d,m,p,r,g,f,y,i,o,s,l,c,()=>y(),e=>f(e),function(e){T[e?"unshift":"push"]((()=>{a=e,n(0,a)}))}]}
1363
1367
  /* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
1364
- function Ai(e,t,n){const r=e.slice();return r[89]=t[n],r[91]=n,r}function Oi(e,t,n){const r=e.slice();return r[89]=t[n],r[92]=t,r[91]=n,r}function Di(e,t,n){const r=e.slice();return r[89]=t[n],r[91]=n,r}
1365
- // (739:4) {:else}
1366
- function Ni(e){let t;function n(e,t){/*categoryData*/
1367
- return e[26]?Ui:/*showFavGamesCategory*/e[37]?Bi:void 0}let r=n(e),i=r&&r(e);return{c(){t=f("div"),i&&i.c()},m(e,n){h(e,t,n),i&&i.m(t,null)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&m(t),i&&i.d()}}}
1368
+ function Da(e,t,n){const r=e.slice();return r[89]=t[n],r[91]=n,r}function Na(e,t,n){const r=e.slice();return r[89]=t[n],r[92]=t,r[91]=n,r}function Ra(e,t,n){const r=e.slice();return r[89]=t[n],r[91]=n,r}
1369
+ // (738:4) {:else}
1370
+ function Ba(e){let t;function n(e,t){/*categoryData*/
1371
+ return e[26]?Ya:/*showFavGamesCategory*/e[37]?Ua:void 0}let r=n(e),a=r&&r(e);return{c(){t=g("div"),a&&a.c()},m(e,n){m(e,t,n),a&&a.m(t,null)},p(e,i){r===(r=n(e))&&a?a.p(e,i):(a&&a.d(1),a=r&&r(e),a&&(a.c(),a.m(t,null)))},d(e){e&&h(t),a&&a.d()}}}
1368
1372
  // (676:4) {#if searched}
1369
- function Ri(e){let t,n,r;function i(e,t){/*recentSearched*/
1370
- return e[30]?ma:/*shownCategoryData*/e[27].length?da:ha}let a=i(e),s=a(e);function o(e,t){/*shownCategoryData*/
1371
- return e[27]?fa:pa}let l=o(e),c=l(e);return{c(){t=f("div"),n=f("div"),s.c(),r=v(),c.c(),x(n,"class","CasinoGamesHeader Searched "+(Ir(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),d(t,n),s.m(n,null),d(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&s?s.p(e,r):(s.d(1),s=a(e),s&&(s.c(),s.m(n,null))),l===(l=o(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),s.d(),c.d()}}}
1373
+ function Ha(e){let t,n,r;function a(e,t){/*recentSearched*/
1374
+ return e[30]?gi:/*shownCategoryData*/e[27].length?hi:pi}let i=a(e),o=i(e);function s(e,t){/*shownCategoryData*/
1375
+ return e[27]?yi:fi}let l=s(e),c=l(e);return{c(){t=g("div"),n=g("div"),o.c(),r=v(),c.c(),x(n,"class","CasinoGamesHeader Searched "+(Ar(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),x(t,"class","CasinoGamesContainer")},m(e,a){m(e,t,a),d(t,n),o.m(n,null),d(t,r),c.m(t,null)},p(e,r){i===(i=a(e))&&o?o.p(e,r):(o.d(1),o=i(e),o&&(o.c(),o.m(n,null))),l===(l=s(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&h(t),o.d(),c.d()}}}
1372
1376
  // (668:2) {#if hasErrors}
1373
- function Hi(e){let t;function n(e,t){/*presentFilters*/
1374
- return e[32]?ba:va}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r!==(r=n(e))&&(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
1375
- // (832:39)
1376
- function Bi(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[18]&&Yi(e);function s(e,t){/*isLoading*/
1377
- return e[23]&&!/*isLazyLoading*/e[34]?Wi:/*favoriteGamesData*/e[40]?zi:ji}let o=s(e),l=o(e);return{c(){t=f("div"),a&&a.c(),n=v(),r=f("ul"),l.c(),x(r,"class",i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),x(t,"class","CasinoGamesContainer")},m(i,s){h(i,t,s),a&&a.m(t,null),d(t,n),d(t,r),l.m(r,null),
1378
- /*ul_binding_1*/e[56](r)},p(e,c){/*casinomygames*/"true"!==e[18]?a?a.p(e,c):(a=Yi(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),o===(o=s(e))&&l?l.p(e,c):(l.d(1),l=o(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/512&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&x(r,"class",i)},d(n){n&&m(t),a&&a.d(),l.d(),
1377
+ function za(e){let t;function n(e,t){/*presentFilters*/
1378
+ return e[32]?xi:wi}let r=n(e),a=r(e);return{c(){a.c(),t=b()},m(e,n){a.m(e,n),m(e,t,n)},p(e,i){r!==(r=n(e))&&(a.d(1),a=r(e),a&&(a.c(),a.m(t.parentNode,t)))},d(e){a.d(e),e&&h(t)}}}
1379
+ // (843:39)
1380
+ function Ua(e){let t,n,r,a,i=/*casinomygames*/"true"!==e[18]&&ja(e);function o(e,t){/*isLoading*/
1381
+ return e[23]&&!/*isLazyLoading*/e[34]?Za:/*favoriteGamesData*/e[40]?Va:Wa}let s=o(e),l=s(e);return{c(){t=g("div"),i&&i.c(),n=v(),r=g("ul"),l.c(),x(r,"class",a=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),x(t,"class","CasinoGamesContainer")},m(a,o){m(a,t,o),i&&i.m(t,null),d(t,n),d(t,r),l.m(r,null),
1382
+ /*ul_binding_1*/e[56](r)},p(e,c){/*casinomygames*/"true"!==e[18]?i?i.p(e,c):(i=ja(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),s===(s=o(e))&&l?l.p(e,c):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/512&c[1]&&a!==(a=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&x(r,"class",a)},d(n){n&&h(t),i&&i.d(),l.d(),
1379
1383
  /*ul_binding_1*/e[56](null)}}}
1380
- // (741:8) {#if categoryData}
1381
- function Ui(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&na(e);function i(e,t){/*isLoading*/
1382
- return e[23]&&!/*isLazyLoading*/e[34]?ca:/*shownCategoryData*/0!==e[27].length?la:oa}let a=i(e),s=a(e);return{c(){t=f("div"),r&&r.c(),n=v(),s.c(),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),s.m(t,null)},p(e,o){/*casinomygames*/"true"!==e[18]?r?r.p(e,o):(r=na(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&s?s.p(e,o):(s.d(1),s=a(e),s&&(s.c(),s.m(t,null)))},d(e){e&&m(t),r&&r.d(),s.d()}}}
1383
- // (834:14) {#if casinomygames !== 'true'}
1384
- function Yi(e){let t,n,r,i,a,s,o,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].items.length+"";return{c(){t=f("div"),n=f("h3"),r=y(c),i=v(),a=f("span"),s=y("("),o=y(u),l=y(")"),x(a,"class","CategoryFavName"),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(a,s),d(a,o),d(a,l),
1385
- /*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&$(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&$(o,u)},d(n){n&&m(t)
1384
+ // (740:8) {#if categoryData}
1385
+ function Ya(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&ai(e);function a(e,t){/*isLoading*/
1386
+ return e[23]&&!/*isLazyLoading*/e[34]?di:/*shownCategoryData*/0!==e[27].length?ui:ci}let i=a(e),o=i(e);return{c(){t=g("div"),r&&r.c(),n=v(),o.c(),x(t,"class","CasinoGamesContainer")},m(e,a){m(e,t,a),r&&r.m(t,null),d(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[18]?r?r.p(e,s):(r=ai(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),i===(i=a(e))&&o?o.p(e,s):(o.d(1),o=i(e),o&&(o.c(),o.m(t,null)))},d(e){e&&h(t),r&&r.d(),o.d()}}}
1387
+ // (845:14) {#if casinomygames !== 'true'}
1388
+ function ja(e){let t,n,r,a,i,o,s,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].items.length+"";return{c(){t=g("div"),n=g("h3"),r=y(c),a=v(),i=g("span"),o=y("("),s=y(u),l=y(")"),x(i,"class","CategoryFavName"),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(c,u){m(c,t,u),d(t,n),d(n,r),d(n,a),d(n,i),d(i,o),d(i,s),d(i,l),
1389
+ /*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&$(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&$(s,u)},d(n){n&&h(t)
1386
1390
  /*h3_binding_1*/,e[55](null)}}}
1387
- // (945:18) {:else}
1388
- function ji(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=f("p"),n=y(r)},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&$(n,r)},d(e){e&&m(t)}}}
1389
- // (847:18) {#if favoriteGamesData}
1390
- function zi(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ta(Ai(e,n,t));let i=null;return n.length||(i=Vi(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&a[1]){let s;for(n=/*favoriteGamesData*/e[40].items,s=0;s<n.length;s+=1){const i=Ai(e,n,s);r[s]?r[s].p(i,a):(r[s]=ta(i),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Vi(e),i.c(),i.m(t.parentNode,t))}},d(e){p(r,e),e&&m(t),i&&i.d(e)}}}
1391
- // (844:16) {#if isLoading && !isLazyLoading}
1392
- function Wi(t){let n;return{c(){n=f("div"),x(n,"class","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1393
- // (926:20) {:else}
1394
- function Vi(e){let t,n,r,i,a,s,o,l,c,u,p,b,w,_,S=/*$_*/e[41]("noFavoritesTitle")+"";let F=function(e,t){return Ir(/*userAgent*/e[42])?Ki:Zi}(e),C=F(e);return{c(){t=f("p"),n=g("svg"),r=g("rect"),i=g("rect"),a=g("circle"),s=g("path"),o=g("path"),l=g("path"),c=g("path"),u=v(),p=f("span"),b=y(S),w=v(),C.c(),_=v(),x(r,"x","1"),x(r,"y","18.053"),x(r,"width","90.263"),x(r,"height","90.263"),x(r,"rx","12"),x(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(r,"stroke-width","1.5"),x(i,"x","106.737"),x(i,"y","56.737"),x(i,"width","90.263"),x(i,"height","90.263"),x(i,"rx","12"),x(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(i,"stroke-width","1.5"),x(a,"cx","70.5"),x(a,"cy","32.237"),x(a,"r","31.487"),x(a,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(a,"stroke-width","1.5"),x(a,"stroke-dasharray","5 0"),x(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),x(s,"fill","var(--emfe-w-color-gray-150, #828282)"),x(o,"d","M78 43h11v13H78V43z"),x(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),x(l,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke-linecap","round"),x(l,"stroke-linejoin","round"),x(c,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),x(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(c,"stroke-width","1.5"),x(c,"stroke-linecap","round"),x(c,"stroke-linejoin","round"),x(n,"width","198"),x(n,"height","148"),x(n,"viewBox","0 0 198 148"),x(n,"fill","none"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(p,"class","NoFavoriteText NoFavoriteTextHighlight"),x(t,"class","NoFavoriteGames "+(Ir(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(n,s),d(n,o),d(n,l),d(n,c),d(t,u),d(t,p),d(p,b),d(t,w),C.m(t,null),d(t,_)},p(e,t){/*$_*/1024&t[1]&&S!==(S=/*$_*/e[41]("noFavoritesTitle")+"")&&$(b,S),C.p(e,t)},d(e){e&&m(t),C.d()}}}
1395
- // (940:24) {:else}
1396
- function Zi(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=f("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&$(n,r)},d(e){e&&m(t)}}}
1397
- // (938:24) {#if isMobile(userAgent)}
1398
- function Ki(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=f("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&$(n,r)},d(e){e&&m(t)}}}
1399
- // (849:22) {#if gameprops.gameModel}
1400
- function qi(e){let t,n=/*gameprops*/e[89].gameModel.isFavorite&&Xi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[89].gameModel.isFavorite?n?n.p(e,r):(n=Xi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1401
- // (850:24) {#if gameprops.gameModel.isFavorite}
1402
- function Xi(e){let t,n=
1403
- // (851:26) {#if intersecting || nativeLoading}
1404
- function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
1405
- return 512&r[1]&&(n=null),null==t&&(t=!!Ir(/*userAgent*/e[42])),t?Qi:(null==n&&(n=!!/*gameprops*/e[89].gameModel.platform.includes("PC")),n?Ji:void 0)}let a=i(e,[-1,-1,-1,-1]),s=a&&a(e);return{c(){s&&s.c(),r=b()},m(e,t){s&&s.m(e,t),h(e,r,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(r.parentNode,r)))},d(e){s&&s.d(e),e&&m(r)}}}
1406
- // (888:82)
1407
- (e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function Ji(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y,v;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[89].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[89].gameModel.name),_(t,"gamevendor",s=/*gameprops*/e[89].gameModel.vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].gameModel.id),_(t,"gamefunmode",p=/*gameprops*/e[89].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"gamefavorite",g=/*gameprops*/e[89].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*translationurl*/2048&h[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[89].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[89].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[89].gameModel.vendor.name)&&_(t,"gamevendor",s),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",o),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[89].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[89].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&p!==(p=/*gameprops*/e[89].gameModel.hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/8192&h[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[89].gameModel.isFavorite)&&_(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&h[0]&&_(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1408
- // (852:28) {#if isMobile(userAgent)}
1409
- function Qi(e){let t,n=/*gameprops*/e[89].gameModel.platform.includes("iPad")||/*gameprops*/e[89].gameModel.platform.includes("iPhone")||/*gameprops*/e[89].gameModel.platform.includes("Android"),r=n&&ea(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),h(e,t,n)},p(e,i){/*favoriteGamesData*/512&i[1]&&(n=/*gameprops*/e[89].gameModel.platform.includes("iPad")||/*gameprops*/e[89].gameModel.platform.includes("iPhone")||/*gameprops*/e[89].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=ea(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
1410
- // (853:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
1411
- function ea(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y,v;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[89].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[89].gameModel.name),_(t,"gamevendor",s=/*gameprops*/e[89].gameModel.vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].gameModel.id),_(t,"gamefunmode",p=/*gameprops*/e[89].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"gamefavorite",g=/*gameprops*/e[89].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/512&h[1]&&n!==(n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/512&h[1]&&r!==(r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&h[1]&&i!==(i=/*gameprops*/e[89].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/512&h[1]&&a!==(a=/*gameprops*/e[89].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/512&h[1]&&s!==(s=/*gameprops*/e[89].gameModel.vendor.name)&&_(t,"gamevendor",s),/*favoriteGamesData*/512&h[1]&&o!==(o=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",o),/*favoriteGamesData*/512&h[1]&&l!==(l=/*gameprops*/e[89].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/512&h[1]&&c!==(c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/512&h[1]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/512&h[1]&&d!==(d=/*gameprops*/e[89].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/512&h[1]&&p!==(p=/*gameprops*/e[89].gameModel.hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/8192&h[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&h[1]&&g!==(g=/*gameprops*/e[89].gameModel.isFavorite)&&_(t,"gamefavorite",g),/*showFavGamesCategory*/64&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&h[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&h[0]&&_(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&h[1]&&v!==(v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1412
- // (848:20) {#each favoriteGamesData.items as gameprops, index}
1413
- function ta(e){let t,n=/*gameprops*/e[89].gameModel&&qi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[89].gameModel?n?n.p(e,r):(n=qi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
1414
- // (743:12) {#if casinomygames !== 'true'}
1415
- function na(e){let t,n,r,i,a=/*categoryData*/e[26].name+"";function s(e,t){/*showLoadCategory*/
1416
- return e[28]?ia:ra}let o=s(e),l=o(e);return{c(){t=f("div"),n=f("h3"),r=y(a),i=v(),l.c(),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(a,s){h(a,t,s),d(t,n),d(n,r),
1417
- /*h3_binding*/e[51](n),d(t,i),l.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&a!==(a=/*categoryData*/e[26].name+"")&&$(r,a),o===(o=s(e))&&l?l.p(e,n):(l.d(1),l=o(e),l&&(l.c(),l.m(t,null)))},d(n){n&&m(t)
1418
- /*h3_binding*/,e[51](null),l.d()}}}
1419
- // (755:16) {:else}
1420
- function ra(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&aa(e),a=/*addsortingselector*/"true"==e[2]&&sa(e);return{c(){t=f("div"),i&&i.c(),n=v(),a&&a.c(),x(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){h(e,t,r),i&&i.m(t,null),d(t,n),a&&a.m(t,null)},p(e,s){/*addfilterselector*/"true"==e[1]?i?i.p(e,s):(i=aa(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,s):(a=sa(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&s[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&x(t,"class",r)},d(e){e&&m(t),i&&i.d(),a&&a.d()}}}
1421
- // (748:16) {#if showLoadCategory}
1422
- function ia(e){let t,n,r,i,a,s,o,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=f("a"),n=f("span"),r=y(c),i=y(" ("),a=y(u),s=y(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(n,s),o||(l=w(t,"click",/*click_handler*/e[52]),o=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&$(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&$(a,u)},d(e){e&&m(t),o=!1,l()}}}
1423
- // (757:22) {#if addfilterselector == "true"}
1424
- function aa(e){let t;return{c(){t=f("casino-filter"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"datasource",/*datasource*/e[4]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addfilterselector",/*addfilterselector*/e[1]),_(t,"addsortingselector",/*addsortingselector*/e[2]),_(t,"filterbylogo",/*filterbylogo*/e[19])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&_(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&_(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/524288&n[0]&&_(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&m(t)}}}
1425
- // (770:22) {#if addsortingselector == "true"}
1426
- function sa(e){let t;return{c(){t=f("casino-sort"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&m(t)}}}
1427
- // (827:14) {:else}
1428
- function oa(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=f("p"),n=y(r),x(t,"class","NoSearchResults")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&$(n,r)},d(e){e&&m(t)}}}
1429
- // (786:14) {#if shownCategoryData.length !== 0 }
1430
- function la(e){let t,n,r=/*shownCategoryData*/e[27],i=[];for(let t=0;t<r.length;t+=1)i[t]=ua(Oi(e,r,t));return{c(){t=f("ul");for(let e=0;e<i.length;e+=1)i[e].c();x(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){h(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
1431
- /*ul_binding*/e[54](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&a[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const s=Oi(e,r,n);i[n]?i[n].p(s,a):(i[n]=ua(s),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&a[0]|/*favoriteGamesData, showFavGamesCategory*/576&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&x(t,"class",n)},d(n){n&&m(t),p(i,n),
1391
+ // (956:18) {:else}
1392
+ function Wa(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=g("p"),n=y(r)},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&$(n,r)},d(e){e&&h(t)}}}
1393
+ // (858:18) {#if favoriteGamesData}
1394
+ function Va(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ri(Da(e,n,t));let a=null;return n.length||(a=Ka(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),a&&a.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n),a&&a.m(e,n)},p(e,i){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&i[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&i[1]){let o;for(n=/*favoriteGamesData*/e[40].items,o=0;o<n.length;o+=1){const a=Da(e,n,o);r[o]?r[o].p(a,i):(r[o]=ri(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&a?a.p(e,i):n.length?a&&(a.d(1),a=null):(a=Ka(e),a.c(),a.m(t.parentNode,t))}},d(e){p(r,e),e&&h(t),a&&a.d(e)}}}
1395
+ // (855:16) {#if isLoading && !isLazyLoading}
1396
+ function Za(t){let n;return{c(){n=g("div"),x(n,"class","lds-dual-ring")},m(e,t){m(e,n,t)},p:e,d(e){e&&h(n)}}}
1397
+ // (937:20) {:else}
1398
+ function Ka(e){let t,n,r,a,i,o,s,l,c,u,p,b,w,_,S=/*$_*/e[41]("noFavoritesTitle")+"";let C=function(e,t){return Ar(/*userAgent*/e[42])?Xa:qa}(e),G=C(e);return{c(){t=g("p"),n=f("svg"),r=f("rect"),a=f("rect"),i=f("circle"),o=f("path"),s=f("path"),l=f("path"),c=f("path"),u=v(),p=g("span"),b=y(S),w=v(),G.c(),_=v(),x(r,"x","1"),x(r,"y","18.053"),x(r,"width","90.263"),x(r,"height","90.263"),x(r,"rx","12"),x(r,"stroke","var(--emw--color-gray-150, #828282)"),x(r,"stroke-width","1.5"),x(a,"x","106.737"),x(a,"y","56.737"),x(a,"width","90.263"),x(a,"height","90.263"),x(a,"rx","12"),x(a,"stroke","var(--emw--color-gray-150, #828282)"),x(a,"stroke-width","1.5"),x(i,"cx","70.5"),x(i,"cy","32.237"),x(i,"r","31.487"),x(i,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(i,"stroke-width","1.5"),x(i,"stroke-dasharray","5 0"),x(o,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),x(o,"fill","var(--emw-color-gray-150, #828282)"),x(s,"d","M78 43h11v13H78V43z"),x(s,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(l,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),x(l,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(l,"stroke-linecap","round"),x(l,"stroke-linejoin","round"),x(c,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),x(c,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"),x(c,"stroke-width","1.5"),x(c,"stroke-linecap","round"),x(c,"stroke-linejoin","round"),x(n,"width","198"),x(n,"height","148"),x(n,"viewBox","0 0 198 148"),x(n,"fill","none"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(p,"class","NoFavoriteText NoFavoriteTextHighlight"),x(t,"class","NoFavoriteGames "+(Ar(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,h){m(e,t,h),d(t,n),d(n,r),d(n,a),d(n,i),d(n,o),d(n,s),d(n,l),d(n,c),d(t,u),d(t,p),d(p,b),d(t,w),G.m(t,null),d(t,_)},p(e,t){/*$_*/1024&t[1]&&S!==(S=/*$_*/e[41]("noFavoritesTitle")+"")&&$(b,S),G.p(e,t)},d(e){e&&h(t),G.d()}}}
1399
+ // (951:24) {:else}
1400
+ function qa(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=g("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&$(n,r)},d(e){e&&h(t)}}}
1401
+ // (949:24) {#if isMobile(userAgent)}
1402
+ function Xa(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=g("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&$(n,r)},d(e){e&&h(t)}}}
1403
+ // (860:22) {#if gameprops.gameModel}
1404
+ function Ja(e){let t,n=/*gameprops*/e[89].gameModel.isFavorite&&Qa(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[89].gameModel.isFavorite?n?n.p(e,r):(n=Qa(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&h(t)}}}
1405
+ // (861:24) {#if gameprops.gameModel.isFavorite}
1406
+ function Qa(e){let t,n=
1407
+ // (862:26) {#if intersecting || nativeLoading}
1408
+ function(e){let t,n,r;function a(e,r){/*favoriteGamesData*/
1409
+ return 512&r[1]&&(n=null),null==t&&(t=!!Ar(/*userAgent*/e[42])),t?ti:(null==n&&(n=!!/*gameprops*/e[89].gameModel.platform.includes("PC")),n?ei:void 0)}let i=a(e,[-1,-1,-1,-1]),o=i&&i(e);return{c(){o&&o.c(),r=b()},m(e,t){o&&o.m(e,t),m(e,r,t)},p(e,t){i===(i=a(e,t))&&o?o.p(e,t):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&h(r)}}}
1410
+ // (899:82)
1411
+ (e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&h(t)}}}function ei(e){let t,n,r,a,i,o,s,l,c,u,d,p,f,y,v;return{c(){t=g("casino-game-thumbnail"),_(t,"class",n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",a=/*gameprops*/e[89].gameModel.thumbnail),_(t,"gamename",i=/*gameprops*/e[89].gameModel.name),_(t,"gamevendor",o=/*gameprops*/e[89].gameModel.vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].gameModel.id),_(t,"gamefunmode",p=/*gameprops*/e[89].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"gamefavorite",f=/*gameprops*/e[89].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&m[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&_(t,"lang",/*lang*/e[5]),/*translationurl*/2048&m[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&m[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[89].gameModel.thumbnail)&&_(t,"gamethumbnail",a),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[89].gameModel.name)&&_(t,"gamename",i),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[89].gameModel.vendor.logo)&&_(t,"gamevendor",o),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",s),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[89].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[89].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&p!==(p=/*gameprops*/e[89].gameModel.hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/8192&m[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&f!==(f=/*gameprops*/e[89].gameModel.isFavorite)&&_(t,"gamefavorite",f),/*showFavGamesCategory*/64&m[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&_(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&h(t)}}}
1412
+ // (863:28) {#if isMobile(userAgent)}
1413
+ function ti(e){let t,n=/*gameprops*/e[89].gameModel.platform.includes("iPad")||/*gameprops*/e[89].gameModel.platform.includes("iPhone")||/*gameprops*/e[89].gameModel.platform.includes("Android"),r=n&&ni(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),m(e,t,n)},p(e,a){/*favoriteGamesData*/512&a[1]&&(n=/*gameprops*/e[89].gameModel.platform.includes("iPad")||/*gameprops*/e[89].gameModel.platform.includes("iPhone")||/*gameprops*/e[89].gameModel.platform.includes("Android")),n?r?r.p(e,a):(r=ni(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&h(t)}}}
1414
+ // (864:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
1415
+ function ni(e){let t,n,r,a,i,o,s,l,c,u,d,p,f,y,v;return{c(){t=g("casino-game-thumbnail"),_(t,"class",n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",a=/*gameprops*/e[89].gameModel.thumbnail),_(t,"gamename",i=/*gameprops*/e[89].gameModel.name),_(t,"gamevendor",o=/*gameprops*/e[89].gameModel.vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].gameModel.id),_(t,"gamefunmode",p=/*gameprops*/e[89].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"gamefavorite",f=/*gameprops*/e[89].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&m[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&_(t,"lang",/*lang*/e[5]),/*favorites*/256&m[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[89].gameModel.thumbnail)&&_(t,"gamethumbnail",a),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[89].gameModel.name)&&_(t,"gamename",i),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[89].gameModel.vendor.logo)&&_(t,"gamevendor",o),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",s),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[89].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[89].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[89].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&p!==(p=/*gameprops*/e[89].gameModel.hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/8192&m[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&f!==(f=/*gameprops*/e[89].gameModel.isFavorite)&&_(t,"gamefavorite",f),/*showFavGamesCategory*/64&m[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&m[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&m[0]&&_(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[89].gameModel.details?/*gameprops*/e[89].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&h(t)}}}
1416
+ // (859:20) {#each favoriteGamesData.items as gameprops, index}
1417
+ function ri(e){let t,n=/*gameprops*/e[89].gameModel&&Ja(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[89].gameModel?n?n.p(e,r):(n=Ja(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&h(t)}}}
1418
+ // (742:12) {#if casinomygames !== 'true'}
1419
+ function ai(e){let t,n,r,a,i,o,s=/*categoryData*/e[26].name+"";function l(e,t){/*showLoadCategory*/
1420
+ return e[28]?oi:ii}let c=l(e),u=c(e);return{c(){t=g("div"),n=g("span"),n.innerHTML='<div class="CategoryIconAnimation"></div> \n <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',r=v(),a=g("h3"),i=y(s),o=v(),u.c(),x(n,"class","CategoryIcon"),x(a,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(s,l){m(s,t,l),d(t,n),d(t,r),d(t,a),d(a,i),
1421
+ /*h3_binding*/e[51](a),d(t,o),u.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&s!==(s=/*categoryData*/e[26].name+"")&&$(i,s),c===(c=l(e))&&u?u.p(e,n):(u.d(1),u=c(e),u&&(u.c(),u.m(t,null)))},d(n){n&&h(t)
1422
+ /*h3_binding*/,e[51](null),u.d()}}}
1423
+ // (766:16) {:else}
1424
+ function ii(e){let t,n,r,a=/*addfilterselector*/"true"==e[1]&&si(e),i=/*addsortingselector*/"true"==e[2]&&li(e);return{c(){t=g("div"),a&&a.c(),n=v(),i&&i.c(),x(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){m(e,t,r),a&&a.m(t,null),d(t,n),i&&i.m(t,null)},p(e,o){/*addfilterselector*/"true"==e[1]?a?a.p(e,o):(a=si(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),/*addsortingselector*/"true"==e[2]?i?i.p(e,o):(i=li(e),i.c(),i.m(t,null)):i&&(i.d(1),i=null),/*addfilterselector, addsortingselector*/6&o[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&x(t,"class",r)},d(e){e&&h(t),a&&a.d(),i&&i.d()}}}
1425
+ // (759:16) {#if showLoadCategory}
1426
+ function oi(e){let t,n,r,a,i,o,s,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=g("a"),n=g("span"),r=y(c),a=y(" ("),i=y(u),o=y(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){m(c,t,u),d(t,n),d(n,r),d(n,a),d(n,i),d(n,o),s||(l=w(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&$(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&$(i,u)},d(e){e&&h(t),s=!1,l()}}}
1427
+ // (768:22) {#if addfilterselector == "true"}
1428
+ function si(e){let t;return{c(){t=g("casino-filter"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"datasource",/*datasource*/e[4]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addfilterselector",/*addfilterselector*/e[1]),_(t,"addsortingselector",/*addsortingselector*/e[2]),_(t,"filterbylogo",/*filterbylogo*/e[19])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&_(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&_(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/524288&n[0]&&_(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&h(t)}}}
1429
+ // (781:22) {#if addsortingselector == "true"}
1430
+ function li(e){let t;return{c(){t=g("casino-sort"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&h(t)}}}
1431
+ // (838:14) {:else}
1432
+ function ci(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("p"),n=y(r),x(t,"class","NoSearchResults")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&$(n,r)},d(e){e&&h(t)}}}
1433
+ // (797:14) {#if shownCategoryData.length !== 0 }
1434
+ function ui(e){let t,n,r=/*shownCategoryData*/e[27],a=[];for(let t=0;t<r.length;t+=1)a[t]=mi(Na(e,r,t));return{c(){t=g("ul");for(let e=0;e<a.length;e+=1)a[e].c();x(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){m(n,t,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,null);
1435
+ /*ul_binding*/e[54](t)},p(e,i){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&i[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&i[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const o=Na(e,r,n);a[n]?a[n].p(o,i):(a[n]=mi(o),a[n].c(),a[n].m(t,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&i[0]|/*favoriteGamesData, showFavGamesCategory*/576&i[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&x(t,"class",n)},d(n){n&&h(t),p(a,n),
1432
1436
  /*ul_binding*/e[54](null)}}}
1433
- // (783:12) {#if isLoading && !isLazyLoading}
1434
- function ca(t){let n;return{c(){n=f("div"),x(n,"class","lds-dual-ring"),x(n,"part","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1435
- // (789:18) {#if intersecting || nativeLoading}
1436
- // (788:18) {#each shownCategoryData as gameprops, index}
1437
- function ua(e){let t,n=function(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y,v,b=/*index*/e[91];const w=()=>/*casino_game_thumbnail_binding*/e[53](t,b),x=()=>/*casino_game_thumbnail_binding*/e[53](null,b);return{c(){t=f("casino-game-thumbnail"),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"class",n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[89].thumbnail),_(t,"gamename",a=/*gameprops*/e[89].name),_(t,"gamevendor",s=/*gameprops*/e[89].vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].isNew),_(t,"gametag",c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].id),_(t,"gamefunmode",p=/*gameprops*/e[89].hasFunMode),_(t,"gamefavorite",g=/*gameprops*/e[89].isFavorite),_(t,"translationurl",/*translationurl*/e[11]),_(t,"showgamename",/*showgamename*/e[13]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[89].details?/*gameprops*/e[89].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){h(e,t,n),w()},p(h,m){e=h,/*session*/64&m[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&_(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*favorites*/256&m[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[89].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[89].name)&&_(t,"gamename",a),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[89].vendor.name)&&_(t,"gamevendor",s),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",o),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[89].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[89].id)&&_(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&p!==(p=/*gameprops*/e[89].hasFunMode)&&_(t,"gamefunmode",p),/*shownCategoryData*/134217728&m[0]&&g!==(g=/*gameprops*/e[89].isFavorite)&&_(t,"gamefavorite",g),/*translationurl*/2048&m[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&m[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&m[0]|/*intersectingIndexes*/128&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&_(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&v!==(v=/*gameprops*/e[89].details?/*gameprops*/e[89].href:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&m[0]&&_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[91]&&(x(),b=/*index*/e[91],w())},d(e){e&&m(t),x()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
1437
+ // (794:12) {#if isLoading && !isLazyLoading}
1438
+ function di(t){let n;return{c(){n=g("div"),x(n,"class","DualRing")},m(e,t){m(e,n,t)},p:e,d(e){e&&h(n)}}}
1439
+ // (800:20) {#if intersecting || nativeLoading}
1440
+ // (799:18) {#each shownCategoryData as gameprops, index}
1441
+ function mi(e){let t,n=function(e){let t,n,r,a,i,o,s,l,c,u,d,p,f,y,v,b=/*index*/e[91];const w=()=>/*casino_game_thumbnail_binding*/e[53](t,b),x=()=>/*casino_game_thumbnail_binding*/e[53](null,b);return{c(){t=g("casino-game-thumbnail"),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"class",n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",a=/*gameprops*/e[89].thumbnail),_(t,"gamename",i=/*gameprops*/e[89].name),_(t,"gamevendor",o=/*gameprops*/e[89].vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].isNew),_(t,"gametag",c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].id),_(t,"gamefunmode",p=/*gameprops*/e[89].hasFunMode),_(t,"gamefavorite",f=/*gameprops*/e[89].isFavorite),_(t,"translationurl",/*translationurl*/e[11]),_(t,"showgamename",/*showgamename*/e[13]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[39]),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",v=/*gameprops*/e[89].details?/*gameprops*/e[89].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){m(e,t,n),w()},p(m,h){e=m,/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&h[0]&&n!==(n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/134217728&h[0]&&r!==(r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&h[0]&&a!==(a=/*gameprops*/e[89].thumbnail)&&_(t,"gamethumbnail",a),/*shownCategoryData*/134217728&h[0]&&i!==(i=/*gameprops*/e[89].name)&&_(t,"gamename",i),/*shownCategoryData*/134217728&h[0]&&o!==(o=/*gameprops*/e[89].vendor.logo)&&_(t,"gamevendor",o),/*shownCategoryData*/134217728&h[0]&&s!==(s=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&h[0]&&l!==(l=/*gameprops*/e[89].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/134217728&h[0]&&c!==(c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/134217728&h[0]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/134217728&h[0]&&d!==(d=/*gameprops*/e[89].id)&&_(t,"gameid",d),/*shownCategoryData*/134217728&h[0]&&p!==(p=/*gameprops*/e[89].hasFunMode)&&_(t,"gamefunmode",p),/*shownCategoryData*/134217728&h[0]&&f!==(f=/*gameprops*/e[89].isFavorite)&&_(t,"gamefavorite",f),/*translationurl*/2048&h[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&h[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&h[0]|/*intersectingIndexes*/128&h[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[89].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/256&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&h[0]&&_(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&h[0]&&v!==(v=/*gameprops*/e[89].details?/*gameprops*/e[89].href:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&h[0]&&_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[91]&&(x(),b=/*index*/e[91],w())},d(e){e&&h(t),x()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&h(t)}}}
1438
1442
  // (688:12) {:else}
1439
- function da(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=f("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&$(n,r)},d(e){e&&m(t)}}}
1443
+ function hi(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=g("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&$(n,r)},d(e){e&&h(t)}}}
1440
1444
  // (684:12) {#if !shownCategoryData.length}
1441
- function ha(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=f("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&$(n,r)},d(e){e&&m(t)}}}
1445
+ function pi(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&$(n,r)},d(e){e&&h(t)}}}
1442
1446
  // (679:10) {#if recentSearched}
1443
- function ma(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=f("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&$(n,r)},d(e){e&&m(t)}}}
1444
- // (735:8) {:else}
1445
- function pa(t){let n;return{c(){n=f("p"),n.textContent="Waiting",x(n,"class","SearchWaiting")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
1447
+ function gi(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=g("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&$(n,r)},d(e){e&&h(t)}}}
1448
+ // (734:8) {:else}
1449
+ function fi(t){let n;return{c(){n=g("p"),n.textContent="Waiting",x(n,"class","SearchWaiting")},m(e,t){m(e,n,t)},p:e,d(e){e&&h(n)}}}
1446
1450
  // (695:8) {#if shownCategoryData}
1447
- function fa(e){let t,n,r=!/*showItems*/e[33]&&ga(e),i=/*shownCategoryData*/e[27],a=[];for(let t=0;t<i.length;t+=1)a[t]=ya(Di(e,i,t));return{c(){r&&r.c(),t=v(),n=f("ul");for(let e=0;e<a.length;e+=1)a[e].c();x(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),h(e,t,i),h(e,n,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(e,s){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,s):(r=ga(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&s[0]|/*searchItem, addGameTag*/4097&s[1]){let t;for(i=/*shownCategoryData*/e[27],t=0;t<i.length;t+=1){const r=Di(e,i,t);a[t]?a[t].p(r,s):(a[t]=ya(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&m(t),e&&m(n),p(a,e)}}}
1448
- // (697:10) {#if !showItems}
1449
- function ga(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=f("p"),n=y(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ir(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&$(n,r)},d(e){e&&m(t)}}}
1450
- // (701:12) {#each shownCategoryData as gameprops, index}
1451
- function ya(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"searchitem",/*searchItem*/e[31]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",i=/*gameprops*/e[89].thumbnail),_(t,"gamename",a=/*gameprops*/e[89].name),_(t,"gamevendor",s=/*gameprops*/e[89].vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].isNew),_(t,"gametag",c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].id),_(t,"gamefunmode",p=/*gameprops*/e[89].hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"gamefavorite",g=/*gameprops*/e[89].isFavorite),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",y=/*gameprops*/e[89].details?/*gameprops*/e[89].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){h(e,t,n)},p(e,h){/*shownCategoryData*/134217728&h[0]&&n!==(n=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/134217728&h[0]&&r!==(r=""+(xa+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*searchItem*/1&h[1]&&_(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&h[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&h[0]&&i!==(i=/*gameprops*/e[89].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/134217728&h[0]&&a!==(a=/*gameprops*/e[89].name)&&_(t,"gamename",a),/*shownCategoryData*/134217728&h[0]&&s!==(s=/*gameprops*/e[89].vendor.name)&&_(t,"gamevendor",s),/*shownCategoryData*/134217728&h[0]&&o!==(o=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",o),/*shownCategoryData*/134217728&h[0]&&l!==(l=/*gameprops*/e[89].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/134217728&h[0]&&c!==(c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/134217728&h[0]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/134217728&h[0]&&d!==(d=/*gameprops*/e[89].id)&&_(t,"gameid",d),/*shownCategoryData*/134217728&h[0]&&p!==(p=/*gameprops*/e[89].hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/8192&h[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&h[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&h[0]&&g!==(g=/*gameprops*/e[89].isFavorite)&&_(t,"gamefavorite",g),/*currency*/4096&h[0]&&_(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&h[0]&&y!==(y=/*gameprops*/e[89].details?/*gameprops*/e[89].href:"")&&_(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&h[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&m(t)}}}
1451
+ function yi(e){let t,n,r=!/*showItems*/e[33]&&vi(e),a=/*shownCategoryData*/e[27],i=[];for(let t=0;t<a.length;t+=1)i[t]=bi(Ra(e,a,t));return{c(){r&&r.c(),t=v(),n=g("ul");for(let e=0;e<i.length;e+=1)i[e].c();x(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,a){r&&r.m(e,a),m(e,t,a),m(e,n,a);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(n,null)},p(e,o){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,o):(r=vi(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&o[0]|/*searchItem, addGameTag*/4097&o[1]){let t;for(a=/*shownCategoryData*/e[27],t=0;t<a.length;t+=1){const r=Ra(e,a,t);i[t]?i[t].p(r,o):(i[t]=bi(r),i[t].c(),i[t].m(n,null))}for(;t<i.length;t+=1)i[t].d(1);i.length=a.length}},d(e){r&&r.d(e),e&&h(t),e&&h(n),p(i,e)}}}
1452
+ // (696:10) {#if !showItems}
1453
+ function vi(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=g("p"),n=y(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ar(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&$(n,r)},d(e){e&&h(t)}}}
1454
+ // (700:12) {#each shownCategoryData as gameprops, index}
1455
+ function bi(e){let t,n,r,a,i,o,s,l,c,u,d,p,f,y;return{c(){t=g("casino-game-thumbnail"),_(t,"class",n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"part",r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"searchitem",/*searchItem*/e[31]),_(t,"favorites",/*favorites*/e[8]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"gamethumbnail",a=/*gameprops*/e[89].thumbnail),_(t,"gamename",i=/*gameprops*/e[89].name),_(t,"gamevendor",o=/*gameprops*/e[89].vendor.logo),_(t,"gamelaunchurl",s=/*gameprops*/e[89].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[89].isNew),_(t,"gametag",c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[89].cellSize),_(t,"gameid",d=/*gameprops*/e[89].id),_(t,"gamefunmode",p=/*gameprops*/e[89].hasFunMode),_(t,"showgamename",/*showgamename*/e[13]),_(t,"translationurl",/*translationurl*/e[11]),_(t,"gamefavorite",f=/*gameprops*/e[89].isFavorite),_(t,"currency",/*currency*/e[12]),_(t,"livelobbyendpoint",y=/*gameprops*/e[89].details?/*gameprops*/e[89].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[14]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*shownCategoryData*/134217728&m[0]&&n!==(n=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+($i+(/*gameprops*/e[89].cellSize?/*gameprops*/e[89].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&m[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&_(t,"lang",/*lang*/e[5]),/*searchItem*/1&m[1]&&_(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&m[0]&&_(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[89].thumbnail)&&_(t,"gamethumbnail",a),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[89].name)&&_(t,"gamename",i),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[89].vendor.logo)&&_(t,"gamevendor",o),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[89].launchUrl)&&_(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[89].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[89].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[89].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[89].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[89].id)&&_(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&p!==(p=/*gameprops*/e[89].hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/8192&m[0]&&_(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&m[0]&&_(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&m[0]&&f!==(f=/*gameprops*/e[89].isFavorite)&&_(t,"gamefavorite",f),/*currency*/4096&m[0]&&_(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&y!==(y=/*gameprops*/e[89].details?/*gameprops*/e[89].href:"")&&_(t,"livelobbyendpoint",y),/*clientstyling*/512&m[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&_(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&h(t)}}}
1452
1456
  // (672:4) {:else}
1453
- function va(e){let t;return{c(){t=f("p"),t.textContent="500 Error - Internal Server Error.",x(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}
1457
+ function wi(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Server Error.",x(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&h(t)}}}
1454
1458
  // (670:4) {#if presentFilters}
1455
- function ba(e){let t;return{c(){t=f("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}function wa(t){let n;function r(e,t){/*hasErrors*/
1456
- return e[24]?Hi:/*searched*/e[29]?Ri:Ni}let i=r(t),a=i(t);return{c(){n=f("div"),a.c(),this.c=e,x(n,"class","CasinoGamesCategorySectionContainer")},m(e,r){h(e,n,r),a.m(n,null),
1457
- /*div_binding*/t[57](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a.d(),
1458
- /*div_binding*/t[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ii,Pi,a,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),H()}});const xa="game-tile-";function _a(e,t,n){let r;u(e,Pr,(e=>n(41,r=e)));let i,a,s,o,l,c,d,h,m,p,{endpoint:f=""}=t,{datasource:g=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:b=""}=t,{favorites:w=""}=t,{clientstyling:x=""}=t,{clientstylingurl:_=""}=t,{translationurl:$=""}=t,{currency:S=""}=t,{categoryid:F=""}=t,{showgamename:C=""}=t,{livecasino:k="false"}=t,{gamepagemodalurl:G="true"}=t,{integratedgameframedesktop:L="false"}=t,{integratedgameframemobile:T="false"}=t,{casinomygames:P="false"}=t,{addfilterselector:I="false"}=t,{addsortingselector:A="false"}=t,{filterbylogo:O=""}=t,{casinogamesgridslider:D="false"}=t,{fetchviaevent:N="false"}=t,{showallpage:R="casino"}=t,{actionevent:H="CategoryChange"}=t,{displayedgamecount:B="10"}=t,{showallbuttongamescount:U="10"}=t,Y=!0,j=!1,z=!0,W=window.navigator.userAgent,V=[],Z=!0,K=40,q=!1,X=!1,J=!1,Q=!1,ee=!1,te=!0,ne=!1,re=!1,ie=!1,ae=new Array(1e4),se={},oe="",le="",ce=[],ue={items:[],count:0,name:""};Object.keys(Rr).forEach((e=>{Nr(e,Rr[e])})),void 0!==document.hidden?
1459
+ function xi(e){let t;return{c(){t=g("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&h(t)}}}function _i(t){let n;function r(e,t){/*hasErrors*/
1460
+ return e[24]?za:/*searched*/e[29]?Ha:Ba}let a=r(t),i=a(t);return{c(){n=g("div"),i.c(),this.c=e,x(n,"class","CasinoGamesCategorySectionContainer")},m(e,r){m(e,n,r),i.m(n,null),
1461
+ /*div_binding*/t[57](n)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n,null)))},i:e,o:e,d(e){e&&h(n),i.d(),
1462
+ /*div_binding*/t[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Oa,Aa,i,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),H()}});const $i="game-tile-";function Si(e,t,n){let r;u(e,Ir,(e=>n(41,r=e)));let a,i,o,s,l,c,d,m,h,p,{endpoint:g=""}=t,{datasource:f=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:b=""}=t,{favorites:w=""}=t,{clientstyling:x=""}=t,{clientstylingurl:_=""}=t,{translationurl:$=""}=t,{currency:S=""}=t,{categoryid:C=""}=t,{showgamename:G=""}=t,{livecasino:F="false"}=t,{gamepagemodalurl:k="true"}=t,{integratedgameframedesktop:M="false"}=t,{integratedgameframemobile:L="false"}=t,{casinomygames:P="false"}=t,{addfilterselector:I="false"}=t,{addsortingselector:A="false"}=t,{filterbylogo:O=""}=t,{casinogamesgridslider:D="false"}=t,{fetchviaevent:N="false"}=t,{showallpage:R="casino"}=t,{actionevent:B="CategoryChange"}=t,{displayedgamecount:H="10"}=t,{showallbuttongamescount:z="10"}=t,U=!0,Y=!1,j=!0,W=window.navigator.userAgent,V=[],Z=!0,K=40,q=!1,X=!1,J=!1,Q=!1,ee=!1,te=!0,ne=!1,re=!1,ae=!1,ie=new Array(1e4),oe={},se="",le="",ce=[],ue={items:[],count:0,name:""};Object.keys(Br).forEach((e=>{Rr(e,Br[e])})),void 0!==document.hidden?
1459
1463
  // Opera 12.10 and Firefox 18 and later support
1460
- h="hidden":void 0!==document.msHidden?h="msHidden":void 0!==document.webkitHidden&&(h="webkitHidden");
1464
+ m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
1461
1465
  // IntersectionObserver used for loading more games
1462
1466
  let de=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,r=e.target.elems_index;// eslint-disable-line
1463
1467
  // eslint-disable-line
1464
- e.isIntersecting?(1.2*r>K&&we(F),n(38,se[t]=1,se)):n(38,se[t]=0,se)}))}));
1468
+ e.isIntersecting?(1.2*r>K&&we(C),n(38,oe[t]=1,oe)):n(38,oe[t]=0,oe)}))}));
1465
1469
  // Start favored games section
1466
- const he=(e,t)=>{let r=`${f}/v1/player/${t}/favorites/`;n(23,Y=!0);let i={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(r,i).then((e=>e.json())).then((t=>{n(23,Y=!1),p=[],t?(t.items.forEach((e=>{e.gameModel&&(p.push(e),ce.includes(e.id)||ce.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:p})):p=[],"FAVORITES"===F&&be(p),V.forEach((e=>{e.isFavorite=fe(e.id)}));let r=V;n(27,V=void 0),n(27,V=r),e(p)})).catch((e=>{console.error(e),t(e)}))}))},me=(e,t,r)=>{n(23,Y=!0);let i="",a="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),o=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(i=e.split("$").slice(0,2).join("$"),a=new URL(`${f}/v1/casino/groups/${g}/${i}/subGroups`)):a=new URL(`${f}/v1/casino/groups/${g}/${e}`),new Promise(((i,c)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",Ar(W)),a.searchParams.append("pagination",`games(offset=${t},limit=${r})`),a.searchParams.append("language",y),
1470
+ const me=(e,t)=>{let r=`${g}/v1/player/${t}/favorites/`;n(23,U=!0);let a={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(r,a).then((e=>e.json())).then((t=>{n(23,U=!1),p=[],t?(t.items.forEach((e=>{e.gameModel&&(p.push(e),ce.includes(e.id)||ce.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:p})):p=[],"FAVORITES"===C&&be(p),V.forEach((e=>{e.isFavorite=ge(e.id)}));let r=V;n(27,V=void 0),n(27,V=r),e(p)})).catch((e=>{console.error(e),t(e)}))}))},he=(e,t,r)=>{n(23,U=!0);let a="",i="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(a=e.split("$").slice(0,2).join("$"),i=new URL(`${g}/v1/casino/groups/${f}/${a}/subGroups`)):i=new URL(`${g}/v1/casino/groups/${f}/${e}`),new Promise(((a,c)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",Or(W)),i.searchParams.append("pagination",`games(offset=${t},limit=${r})`),i.searchParams.append("language",y),
1467
1471
  // if vendor filters are active, get filtered games
1468
- window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),s&&s[e])if(s[e].length&&!1===z&&!1===re){let t="";n(32,ee=!0),s[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),a.searchParams.append("filter",`${t}`)}else n(32,ee=!1);o&&(o[e]?o[e]&&"All"!=o[e]&&("isNew"==o[e]||"advancedTags(name(hot))"==o[e]?(a.searchParams.append("sortedField",`games(${o[e]})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${o[e]})`)):le&&"All"!=le&&("advancedTags(name(hot))"==le||"isNew"==le?(a.searchParams.append("sortedField",`games(${le})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${le})`))),fetch(a).then((e=>e.json())).then((t=>{n(23,Y=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),n(50,m=!0),n(24,j=!1),l=t.games.total,i(t)}),(e=>{n(24,j=!0),console.error(e),c(e)}))}))},pe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==F&&(n(29,q=!1),n(25,z=!1),n(28,Z=!1),n(27,V=e.data.mostPlayedGames),n(26,s={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(23,Y=!1);break;case"LastPlayedData":"LASTPLAYED"==F&&(n(29,q=!1),n(25,z=!1),n(28,Z=!1),n(27,V=e.data.lastPlayedGames),n(26,s={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(23,Y=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(29,q=!0),n(30,X=!0),e.data.searchData.length>0?(n(27,V=e.data.searchData),n(33,te=!0),V&&V.forEach((e=>{e.isFavorite=fe(e.id)}))):(n(27,V=[]),n(33,te=!1));break;case"OutOfRecentSearches":n(29,q=!1),n(30,X=!1);break;case"SearchData":n(29,q=!0),n(30,X=!1),n(27,V=e.data.searchData.items||[]),n(31,Q=!0),e.data.receivedFavoriteResults&&(p=e.data.receivedFavoriteResults.items),V&&V.forEach((e=>{e.isFavorite=fe(e.id)}));break;case`CategoryData_${F}`:n(29,q=!1),n(25,z=!0),n(1,I="false"),n(2,A="false"),n(28,Z=!0),n(31,Q=!1),ie=!1,e.data.receivedFavoriteResults&&(p=e.data.receivedFavoriteResults.items),me(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(26,s=e),n(27,V=s.games.items),V&&V.forEach((e=>{e.isFavorite=fe(e.id)}))}));break;case"CategoryChange":K=20;break;case"ApplySorter":n(0,F=e.data.itemId),le=e.data.sortBy,me(F,0,K).then((e=>{n(26,s=e),n(27,V=s.games.items),n(28,Z=!1)}));break;case"CategoryUpdate":n(29,q=!1),n(25,z=!1),n(31,Q=!1),ie=!0,n(0,F=e.data.itemId),"MOSTPLAYED"!==F&&n(28,Z=!1),"true"!==P&&me(F,0,K).then((t=>{n(26,s=t),s.games.items.forEach((e=>{e.isFavorite=fe(e.id)})),n(27,V=s.games.items),n(28,Z=!1),
1472
+ window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),o&&o[e])if(o[e].length&&!1===j&&!1===re){let t="";n(32,ee=!0),o[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),i.searchParams.append("filter",`${t}`)}else n(32,ee=!1);s&&(s[e]?s[e]&&"All"!=s[e]&&("isNew"==s[e]||"advancedTags(name(hot))"==s[e]?(i.searchParams.append("sortedField",`games(${s[e]})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${s[e]})`)):le&&"All"!=le&&("advancedTags(name(hot))"==le||"isNew"==le?(i.searchParams.append("sortedField",`games(${le})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${le})`))),fetch(i).then((e=>e.json())).then((t=>{n(23,U=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),n(50,h=!0),n(24,Y=!1),l=t.games.total,a(t)}),(e=>{n(24,Y=!0),console.error(e),c(e)}))}))},pe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==C&&(n(29,q=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.mostPlayedGames),n(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(23,U=!1);break;case"LastPlayedData":"LASTPLAYED"==C&&(n(29,q=!1),n(25,j=!1),n(28,Z=!1),n(27,V=e.data.lastPlayedGames),n(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(23,U=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(29,q=!0),n(30,X=!0),e.data.searchData.length>0?(n(27,V=e.data.searchData),n(33,te=!0),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))):(n(27,V=[]),n(33,te=!1));break;case"OutOfRecentSearches":n(29,q=!1),n(30,X=!1);break;case"SearchData":n(29,q=!0),n(30,X=!1),n(27,V=e.data.searchData.items||[]),n(31,Q=!0),e.data.receivedFavoriteResults&&(p=e.data.receivedFavoriteResults.items),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}));break;case`CategoryData_${C}`:n(29,q=!1),n(25,j=!0),n(1,I="false"),n(2,A="false"),n(28,Z=!0),n(31,Q=!1),ae=!1,e.data.receivedFavoriteResults&&(p=e.data.receivedFavoriteResults.items),he(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(26,o=e),n(27,V=o.games.items),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))}));break;case"CategoryChange":K=20;break;case"ApplySorter":n(0,C=e.data.itemId),le=e.data.sortBy,he(C,0,K).then((e=>{n(26,o=e),n(27,V=o.games.items),n(28,Z=!1)}));break;case"CategoryUpdate":n(29,q=!1),n(25,j=!1),n(31,Q=!1),ae=!0,n(0,C=e.data.itemId),"MOSTPLAYED"!==C&&n(28,Z=!1),"true"!==P&&he(C,0,K).then((t=>{n(26,o=t),o.games.items.forEach((e=>{e.isFavorite=ge(e.id)})),n(27,V=o.games.items),n(28,Z=!1),
1469
1473
  // @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
1470
- V.length<10&&0==e.data.origin&&(J=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:J},window.location.href)}),500))}));break;case`SetUnfavoredGame${F}`:ye(`${f}/v1/player/${b}/favorites`,v,e.data.id);break;case`SetFavoredGame${F}`:ge(`${f}/v1/player/${b}/favorites`,v,e.data.id);break;case"UserSessionID":i=e.data.session,a=e.data.userID,"true"==w&&a&&a.length&&i&&i.length>0&&he(i,a);break;case"UpdateFavoredList":"FAVORITES"===F&&ve(e.data.url,e.data.sessionID)}},fe=e=>{var t;return null!==(t=null==p?void 0:p.some((t=>t.id===e)))&&void 0!==t&&t};
1474
+ V.length<10&&0==e.data.origin&&(J=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:J},window.location.href)}),500))}));break;case`SetUnfavoredGame${C}`:ye(`${g}/v1/player/${b}/favorites`,v,e.data.id);break;case`SetFavoredGame${C}`:fe(`${g}/v1/player/${b}/favorites`,v,e.data.id);break;case"UserSessionID":a=e.data.session,i=e.data.userID,"true"==w&&i&&i.length&&a&&a.length>0&&me(a,i);break;case"UpdateFavoredList":"FAVORITES"===C&&ve(e.data.url,e.data.sessionID)}},ge=e=>{var t;return null!==(t=null==p?void 0:p.some((t=>t.id===e)))&&void 0!==t&&t};
1471
1475
  // @TODO categoryId type
1472
- let ge=async(e,t,n)=>{
1476
+ let fe=async(e,t,n)=>{
1473
1477
  // Wait for the updateFavoredList to complete
1474
- await ve(e,t),ce.includes(n)||ce.push(n);let r={items:ce},i={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e,i).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)})).catch((e=>{console.error("Err",e)}))};const ye=(e,t,n)=>{fetch(`${e}/${n}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${n}`},window.location.href),ve(e,t)})),ce.includes(n)&&(ce=ce.filter((e=>e!=n)))},ve=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>{p=e.items,N?(p.forEach((e=>{ce.includes(e.id)||ce.push(e.id)})),s&&(n(27,V=s.games.items),V.forEach((e=>{e.isFavorite=fe(e.id)})))):p.forEach((e=>{e.isFavorite=fe(e.id)})),"FAVORITES"===F&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:p}),be(p))})).catch((e=>{console.error(e)})),be=e=>{if(!e)return;let t;t=(null==e?void 0:e.items)||e||[],t.length>0&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!0)})),n(40,ue.items=
1478
+ await ve(e,t),ce.includes(n)||ce.push(n);let r={items:ce},a={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e,a).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${n}`},window.location.href)})).catch((e=>{console.error("Err",e)}))};const ye=(e,t,n)=>{fetch(`${e}/${n}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${n}`},window.location.href),ve(e,t)})),ce.includes(n)&&(ce=ce.filter((e=>e!=n)))},ve=async(e,t)=>fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>{p=e.items,N?(p.forEach((e=>{ce.includes(e.id)||ce.push(e.id)})),o&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=ge(e.id)})))):p.forEach((e=>{e.isFavorite=ge(e.id)})),"FAVORITES"===C&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGames:p}),be(p))})).catch((e=>{console.error(e)})),be=e=>{if(!e)return;let t;t=(null==e?void 0:e.items)||e||[],t.length>0&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!0)})),n(40,ue.items=
1475
1479
  // separate favorites array into mobile and desktop favorites
1476
1480
  function(e,t){let n=window.navigator.userAgent;
1477
1481
  // make sure to display favored games specific to the platform used
1478
- return Ir(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,ue.items),ue),n(40,ue.name="Favorites",ue),n(23,Y=!1)},we=e=>{K+=1,n(34,ne=!0),K<=l&&me(e,0,K).then((e=>{n(26,s=e),
1482
+ return Ar(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,ue.items),ue),n(40,ue.name="Favorites",ue),n(23,U=!1)},we=e=>{K+=1,n(34,ne=!0),K<=l&&he(e,0,K).then((e=>{n(26,o=e),
1479
1483
  // @TODO categoryData type fix
1480
1484
  /**
1481
1485
  * This check is needed to prevent requests with less items
1482
1486
  * that started before but ended after the last request to add items to list
1483
1487
  * This could also use abort controller instead but refactoring is needed
1484
1488
  */
1485
- s.games.items.length>V.length&&(n(27,V=s.games.items),V.forEach((e=>{e.isFavorite=fe(e.id)}))),n(34,ne=!1)}))},xe=e=>{window.postMessage({type:`${H}`,itemId:e,showallpage:R},window.location.href)},_e=()=>{var e;e=y,mr.set(e)};
1486
- //Fetch fav list and pass to be updated
1487
- E((()=>(window.addEventListener("visibilitychange",(e=>{document[h]?n(39,oe="disconnect"):n(39,oe="connect")})),window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe),window.removeEventListener("visibilitychange",pe)})));return e.$$set=e=>{"endpoint"in e&&n(3,f=e.endpoint),"datasource"in e&&n(4,g=e.datasource),"lang"in e&&n(5,y=e.lang),"session"in e&&n(6,v=e.session),"userid"in e&&n(7,b=e.userid),"favorites"in e&&n(8,w=e.favorites),"clientstyling"in e&&n(9,x=e.clientstyling),"clientstylingurl"in e&&n(10,_=e.clientstylingurl),"translationurl"in e&&n(11,$=e.translationurl),"currency"in e&&n(12,S=e.currency),"categoryid"in e&&n(0,F=e.categoryid),"showgamename"in e&&n(13,C=e.showgamename),"livecasino"in e&&n(14,k=e.livecasino),"gamepagemodalurl"in e&&n(15,G=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(16,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(17,T=e.integratedgameframemobile),"casinomygames"in e&&n(18,P=e.casinomygames),"addfilterselector"in e&&n(1,I=e.addfilterselector),"addsortingselector"in e&&n(2,A=e.addsortingselector),"filterbylogo"in e&&n(19,O=e.filterbylogo),"casinogamesgridslider"in e&&n(20,D=e.casinogamesgridslider),"fetchviaevent"in e&&n(45,N=e.fetchviaevent),"showallpage"in e&&n(46,R=e.showallpage),"actionevent"in e&&n(47,H=e.actionevent),"displayedgamecount"in e&&n(48,B=e.displayedgamecount),"showallbuttongamescount"in e&&n(49,U=e.showallbuttongamescount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty[0]&&y&&_e(),/*endpoint, lang, categoryid, datasource*/57&e.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&e.$$.dirty[1]&&(
1488
- //Widget is working as standalone when fetchviaevent isn't set
1489
- "false"===N||""===N)&&f&&y&&F&&g&&B&&U&&((e,t,r)=>{""!==e&&(n(29,q=!1),n(25,z=!0),n(1,I="false"),n(2,A="false"),n(31,Q=!1),ie=!1,n(28,Z=+t>+r),me(e,0,+t).then((e=>{n(26,s=e),n(27,V=s.games.items),V&&V.forEach((e=>{e.isFavorite=fe(e.id)}))})))})(F,B,U),/*favorites, endpoint, session, userid*/456&e.$$.dirty[0]&&
1490
- //Call the fav. list fetch when widget is standalone
1491
- "true"===w&&f&&v&&b&&he(v,b),/*thumbnailContainer*/4194304&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&m&&ae&&ie&&ae.forEach(((e,t)=>{e&&(
1489
+ o.games.items.length>V.length&&(n(27,V=o.games.items),V.forEach((e=>{e.isFavorite=ge(e.id)}))),n(34,ne=!1)}))},xe=e=>{window.postMessage({type:`${B}`,itemId:e,showallpage:R},window.location.href)},_e=()=>{var e;e=y,pr.set(e)};
1490
+ // Fetch fav list and pass to be updated
1491
+ E((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(39,se="disconnect"):n(39,se="connect")})),window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe),window.removeEventListener("visibilitychange",pe)})));return e.$$set=e=>{"endpoint"in e&&n(3,g=e.endpoint),"datasource"in e&&n(4,f=e.datasource),"lang"in e&&n(5,y=e.lang),"session"in e&&n(6,v=e.session),"userid"in e&&n(7,b=e.userid),"favorites"in e&&n(8,w=e.favorites),"clientstyling"in e&&n(9,x=e.clientstyling),"clientstylingurl"in e&&n(10,_=e.clientstylingurl),"translationurl"in e&&n(11,$=e.translationurl),"currency"in e&&n(12,S=e.currency),"categoryid"in e&&n(0,C=e.categoryid),"showgamename"in e&&n(13,G=e.showgamename),"livecasino"in e&&n(14,F=e.livecasino),"gamepagemodalurl"in e&&n(15,k=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(16,M=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(17,L=e.integratedgameframemobile),"casinomygames"in e&&n(18,P=e.casinomygames),"addfilterselector"in e&&n(1,I=e.addfilterselector),"addsortingselector"in e&&n(2,A=e.addsortingselector),"filterbylogo"in e&&n(19,O=e.filterbylogo),"casinogamesgridslider"in e&&n(20,D=e.casinogamesgridslider),"fetchviaevent"in e&&n(45,N=e.fetchviaevent),"showallpage"in e&&n(46,R=e.showallpage),"actionevent"in e&&n(47,B=e.actionevent),"displayedgamecount"in e&&n(48,H=e.displayedgamecount),"showallbuttongamescount"in e&&n(49,z=e.showallbuttongamescount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty[0]&&y&&_e(),/*endpoint, lang, categoryid, datasource*/57&e.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&e.$$.dirty[1]&&(
1492
+ // Widget is working as standalone when fetchviaevent isn't set
1493
+ "false"===N||""===N)&&g&&y&&C&&f&&H&&z&&((e,t,r)=>{""!==e&&(n(29,q=!1),n(25,j=!0),n(1,I="false"),n(2,A="false"),n(31,Q=!1),ae=!1,n(28,Z=+t>+r),he(e,0,+t).then((e=>{n(26,o=e),n(27,V=o.games.items),V&&V.forEach((e=>{e.isFavorite=ge(e.id)}))})))})(C,H,z),/*favorites, endpoint, session, userid*/456&e.$$.dirty[0]&&
1494
+ // Call the fav. list fetch when widget is standalone
1495
+ "true"===w&&g&&v&&b&&me(v,b),/*thumbnailContainer*/4194304&e.$$.dirty[0]|/*dataloaded*/524288&e.$$.dirty[1]&&h&&ie&&ae&&ie.forEach(((e,t)=>{e&&(
1492
1496
  // Hack to make sure that I can identify the thumbnail index
1493
- e.elems_index=t,de.observe(e))})),/*lang, categoryid, userid, session*/225&e.$$.dirty[0]&&y&&F&&b&&v&&(()=>{
1497
+ e.elems_index=t,de.observe(e))})),/*lang, categoryid, userid, session*/225&e.$$.dirty[0]&&y&&C&&b&&v&&(()=>{
1494
1498
  // showFavGamesCategory vs categoryData
1495
1499
  // favoriteGamesData vs shownCategoryData
1496
- switch(F){case"FAVORITES":n(37,re=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===P&&n(37,re=!1)}})(),/*translationurl*/2048&e.$$.dirty[0]&&$&&fetch($).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&e.$$.dirty[0]&&x&&d&&(()=>{let e=document.createElement("style");e.innerHTML=x,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&e.$$.dirty[0]&&_&&d&&(()=>{let e=new URL(_),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})()},[F,I,A,f,g,y,v,b,w,x,_,$,S,C,k,G,L,T,P,O,D,d,ae,Y,j,z,s,V,Z,q,X,Q,ee,te,ne,o,c,re,se,oe,ue,r,W,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,s)=>{const o=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Hr(l).diff(i)<r&&(r=Hr(l).diff(i),t=s),Hr(i).isAfter(o)&&Hr(i).isBefore(l)&&(n=e[t].name)})),n},xe,N,R,H,B,U,m,function(e){M[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},e=>xe(s.id),function(e,t){M[e?"unshift":"push"]((()=>{ae[t]=e,n(22,ae)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(35,o)}))},function(e){M[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(35,o)}))},function(e){M[e?"unshift":"push"]((()=>{d=e,n(21,d)}))}]}
1500
+ switch(C){case"FAVORITES":n(37,re=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===P&&n(37,re=!1)}})(),/*translationurl*/2048&e.$$.dirty[0]&&$&&fetch($).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&e.$$.dirty[0]&&x&&d&&(()=>{let e=document.createElement("style");e.innerHTML=x,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&e.$$.dirty[0]&&_&&d&&(()=>{let e=new URL(_),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})()},[C,I,A,g,f,y,v,b,w,x,_,$,S,G,F,k,M,L,P,O,D,d,ie,U,Y,j,o,V,Z,q,X,Q,ee,te,ne,s,c,re,oe,se,ue,r,W,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const a=new Date(Date.now());return e.forEach(((i,o)=>{const s=new Date(i.schedules[0].startTime),l=new Date(i.schedules[0].endTime);Hr(l).diff(a)<r&&(r=Hr(l).diff(a),t=o),Hr(a).isAfter(s)&&Hr(a).isBefore(l)&&(n=e[t].name)})),n},xe,N,R,B,H,z,h,function(e){T[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},e=>xe(o.id),function(e,t){T[e?"unshift":"push"]((()=>{ie[t]=e,n(22,ie)}))},function(e){T[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){T[e?"unshift":"push"]((()=>{c=e,n(36,c)}))},function(e){T[e?"unshift":"push"]((()=>{s=e,n(35,s)}))},function(e){T[e?"unshift":"push"]((()=>{d=e,n(21,d)}))}]}
1497
1501
  /* ../casino-favorites-section/src/CasinoFavoritesSection.svelte generated by Svelte v3.59.2 */
1498
- function $a(t){let n,r;return{c(){n=f("div"),r=f("casino-games-category-section"),this.c=e,_(r,"session",/*session*/t[4]),_(r,"userid",/*userid*/t[5]),_(r,"endpoint",/*endpoint*/t[0]),_(r,"datasource",/*datasource*/t[1]),_(r,"lang",/*lang*/t[3]),_(r,"currency",/*currency*/t[2]),_(r,"favorites",/*favorites*/t[14]),_(r,"fetchviaevent",/*fetchviaevent*/t[16]),_(r,"categoryid","FAVORITES"),_(r,"class","CategoryContainer"),_(r,"showgamename",/*showgamename*/t[11]),_(r,"clientstyling",/*clientstyling*/t[6]),_(r,"clientstylingurl",/*clientstylingurl*/t[7]),_(r,"livecasino",/*livecasino*/t[8]),_(r,"visiblegames",/*visiblegames*/t[13]),_(r,"gamepagemodalurl",/*gamepagemodalurl*/t[12]),_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/t[10]),_(r,"integratedgameframemobile",/*integratedgameframemobile*/t[9]),_(r,"casinomygames",/*casinomygames*/t[15]),x(n,"class","CasinoFavoritesSectionContainer")},m(e,i){h(e,n,i),d(n,r),
1499
- /*div_binding*/t[18](n)},p(e,[t]){/*session*/16&t&&_(r,"session",/*session*/e[4]),/*userid*/32&t&&_(r,"userid",/*userid*/e[5]),/*endpoint*/1&t&&_(r,"endpoint",/*endpoint*/e[0]),/*datasource*/2&t&&_(r,"datasource",/*datasource*/e[1]),/*lang*/8&t&&_(r,"lang",/*lang*/e[3]),/*currency*/4&t&&_(r,"currency",/*currency*/e[2]),/*favorites*/16384&t&&_(r,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&t&&_(r,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/2048&t&&_(r,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&t&&_(r,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&t&&_(r,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&t&&_(r,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&t&&_(r,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/4096&t&&_(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),/*integratedgameframedesktop*/1024&t&&_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&t&&_(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&t&&_(r,"casinomygames",/*casinomygames*/e[15])},i:e,o:e,d(e){e&&m(n)
1500
- /*div_binding*/,t[18](null)}}}function Sa(e,t,n){let r,{endpoint:i=""}=t,{datasource:a=""}=t,{currency:s=""}=t,{lang:o=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{livecasino:h="false"}=t,{integratedgameframemobile:m="false"}=t,{integratedgameframedesktop:p="false"}=t,{showgamename:f=""}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y=""}=t,{favorites:v=""}=t,{casinomygames:b="false"}=t,{fetchviaevent:w="true"}=t;!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1502
+ function Ci(t){let n,r;return{c(){n=g("div"),r=g("casino-games-category-section"),this.c=e,_(r,"session",/*session*/t[4]),_(r,"userid",/*userid*/t[5]),_(r,"endpoint",/*endpoint*/t[0]),_(r,"datasource",/*datasource*/t[1]),_(r,"lang",/*lang*/t[3]),_(r,"currency",/*currency*/t[2]),_(r,"favorites",/*favorites*/t[14]),_(r,"fetchviaevent",/*fetchviaevent*/t[16]),_(r,"categoryid","FAVORITES"),_(r,"class","CategoryContainer"),_(r,"showgamename",/*showgamename*/t[11]),_(r,"clientstyling",/*clientstyling*/t[6]),_(r,"clientstylingurl",/*clientstylingurl*/t[7]),_(r,"livecasino",/*livecasino*/t[8]),_(r,"visiblegames",/*visiblegames*/t[13]),_(r,"gamepagemodalurl",/*gamepagemodalurl*/t[12]),_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/t[10]),_(r,"integratedgameframemobile",/*integratedgameframemobile*/t[9]),_(r,"casinomygames",/*casinomygames*/t[15]),x(n,"class","CasinoFavoritesSectionContainer")},m(e,a){m(e,n,a),d(n,r),
1503
+ /*div_binding*/t[18](n)},p(e,[t]){/*session*/16&t&&_(r,"session",/*session*/e[4]),/*userid*/32&t&&_(r,"userid",/*userid*/e[5]),/*endpoint*/1&t&&_(r,"endpoint",/*endpoint*/e[0]),/*datasource*/2&t&&_(r,"datasource",/*datasource*/e[1]),/*lang*/8&t&&_(r,"lang",/*lang*/e[3]),/*currency*/4&t&&_(r,"currency",/*currency*/e[2]),/*favorites*/16384&t&&_(r,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&t&&_(r,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/2048&t&&_(r,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&t&&_(r,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&t&&_(r,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&t&&_(r,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&t&&_(r,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/4096&t&&_(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),/*integratedgameframedesktop*/1024&t&&_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&t&&_(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&t&&_(r,"casinomygames",/*casinomygames*/e[15])},i:e,o:e,d(e){e&&h(n)
1504
+ /*div_binding*/,t[18](null)}}}function Gi(e,t,n){let r,{endpoint:a=""}=t,{datasource:i=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:h="false"}=t,{integratedgameframedesktop:p="false"}=t,{showgamename:g=""}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:v=""}=t,{casinomygames:b="false"}=t,{fetchviaevent:w="true"}=t;!function({withLocale:e,translations:t}){pr.subscribe((n=>{null==n&&(Un.set(t),pr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1501
1505
  /*dictionary.set(translations);
1502
- locale.set(_locale);*/}({withLocale:"en",translations:{}});return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,o=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"showgamename"in e&&n(11,f=e.showgamename),"gamepagemodalurl"in e&&n(12,g=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/131136&e.$$.dirty&&u&&r&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty&&d&&r&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[i,a,s,o,l,c,u,d,h,m,p,f,g,y,v,b,w,r,function(e){M[e?"unshift":"push"]((()=>{r=e,n(17,r)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, 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-casino-typography, 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 .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-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 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}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},_a,wa,a,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),H()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),H()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),H()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),H()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),H()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),H()}});function Fa(e,t){zn(e,t)}!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Sa,$a,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});const Ca={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."}};
1503
- /* ../casino-last-played-section/src/CasinoLastPlayedSection.svelte generated by Svelte v3.59.2 */function ka(e){let t;return{c(){t=f("casino-games-category-section"),_(t,"session",/*session*/e[4]),_(t,"userid",/*userid*/e[5]),_(t,"endpoint",/*endpoint*/e[0]),_(t,"datasource",/*datasource*/e[1]),_(t,"lang",/*lang*/e[3]),_(t,"currency",/*currency*/e[2]),_(t,"favorites",/*favorites*/e[14]),_(t,"fetchviaevent",/*fetchviaevent*/e[16]),_(t,"categoryid","LASTPLAYED"),_(t,"categoryindex","1"),_(t,"categorygames","9"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[12]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),_(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){h(e,t,n)},p(e,n){/*session*/16&n[0]&&_(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&_(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&_(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&_(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&_(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&_(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&_(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&_(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&_(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&m(t)}}}
1506
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});return e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,i=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"showgamename"in e&&n(11,g=e.showgamename),"gamepagemodalurl"in e&&n(12,f=e.gamepagemodalurl),"visiblegames"in e&&n(13,y=e.visiblegames),"favorites"in e&&n(14,v=e.favorites),"casinomygames"in e&&n(15,b=e.casinomygames),"fetchviaevent"in e&&n(16,w=e.fetchviaevent)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/131136&e.$$.dirty&&u&&r&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty&&d&&r&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[a,i,o,s,l,c,u,d,m,h,p,g,f,y,v,b,w,r,function(e){T[e?"unshift":"push"]((()=>{r=e,n(17,r)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-semibold, 500)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw-casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw-casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw-casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;padding:8px 0 0;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 180px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 180px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-scroll, 180px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-scroll, 180px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-scroll, 180px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw-casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw-casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw-casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw-casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw-casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw-casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw-casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 20px)}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw-casino-color-primary, #D0046C);border-color:var(--emw-casino-color-primary, #D0046C) transparent var(--emw-casino-color-primary, #D0046C);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:40px;height:40px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #262626), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:3px;background:linear-gradient(var(--emw-casino-categories-animation-fill-main-color, #161616), var(--emfe-casino-categories-animation-fill-secondary-color, #262626));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw-casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Si,_i,i,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),H()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),H()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),H()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),H()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),H()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),H()}});function Fi(e,t){Wn(e,t)}!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Gi,Ci,i,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});const ki={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."}};
1507
+ /* ../casino-last-played-section/src/CasinoLastPlayedSection.svelte generated by Svelte v3.59.2 */function Ei(e){let t;return{c(){t=g("casino-games-category-section"),_(t,"session",/*session*/e[4]),_(t,"userid",/*userid*/e[5]),_(t,"endpoint",/*endpoint*/e[0]),_(t,"datasource",/*datasource*/e[1]),_(t,"lang",/*lang*/e[3]),_(t,"currency",/*currency*/e[2]),_(t,"favorites",/*favorites*/e[14]),_(t,"fetchviaevent",/*fetchviaevent*/e[16]),_(t,"categoryid","LASTPLAYED"),_(t,"categoryindex","1"),_(t,"categorygames","9"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[12]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),_(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){m(e,t,n)},p(e,n){/*session*/16&n[0]&&_(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&_(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&_(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&_(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&_(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&_(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&_(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&_(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&_(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&h(t)}}}
1504
1508
  // (140:4) {#if lastPlayedEmpty}
1505
- function Ea(e){let t,n,r=/*$_*/e[19]("noRecentGames")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noRecentGames")+"")&&$(n,r)},d(e){e&&m(t)}}}function Ga(t){let n,r;function i(e,t){/*lastPlayedEmpty*/
1506
- return e[18]?Ea:ka}let a=i(t),s=a(t);return{c(){n=f("div"),r=f("div"),s.c(),this.c=e,x(r,"class","CasinoLastPlayedSection"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),s.m(r,null),
1507
- /*div1_binding*/t[25](n)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(e),s&&(s.c(),s.m(r,null)))},i:e,o:e,d(e){e&&m(n),s.d(),
1508
- /*div1_binding*/t[25](null)}}}function Ma(e,t,n){let r;u(e,Pr,(e=>n(19,r=e)));let i,a,{endpoint:s=""}=t,{datasource:o=""}=t,{currency:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:h=""}=t,{clientstyling:m=""}=t,{clientstylingurl:p=""}=t,{translationurl:f=""}=t,{livecasino:g="false"}=t,{integratedgameframemobile:y="false"}=t,{integratedgameframedesktop:v="false"}=t,{gamepagemodalurl:b="false"}=t,{showgamename:w=""}=t,{visiblegames:x=""}=t,{favorites:_=""}=t,{lastplayedperiod:$="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:F=""}=t,{casinomygames:C="false"}=t,{lastplayedunique:k="true"}=t,{fetchviaevent:E="true"}=t,G=window.navigator.userAgent,L=!1,T=[];Object.keys(Ca).forEach((e=>{Fa(e,Ca[e])}));const P=()=>{new Promise(((e,t)=>{let n=new URL(`${s}/v1/player/${h}/games/last-played`);n.searchParams.append("unique",k),n.searchParams.append("limit",F),n.searchParams.append("order",S),n.searchParams.append("period",$),"PC"===Ar(G)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),i=g?n:n.href,fetch(i).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:t},window.location.href)})).catch((e=>{console.error(e),t(e)}))})).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${s}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",o),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{T=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===C&&(T=T.slice(0,JSON.parse(x))),window.postMessage({type:"LastPlayedData",lastPlayedGames:T},window.location.href)}))}else n(18,L=!0)}))},I=()=>{var e;e=c,mr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,h=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,p=e.clientstylingurl),"translationurl"in e&&n(20,f=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,y=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,v=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"showgamename"in e&&n(12,w=e.showgamename),"visiblegames"in e&&n(13,x=e.visiblegames),"favorites"in e&&n(14,_=e.favorites),"lastplayedperiod"in e&&n(21,$=e.lastplayedperiod),"lastplayedorder"in e&&n(22,S=e.lastplayedorder),"lastplayedlimit"in e&&n(23,F=e.lastplayedlimit),"casinomygames"in e&&n(15,C=e.casinomygames),"lastplayedunique"in e&&n(24,k=e.lastplayedunique),"fetchviaevent"in e&&n(16,E=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&s&&h&&c&&P(),/*translationurl*/1048576&e.$$.dirty[0]&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Fa(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&m&&a&&(()=>{let e=document.createElement("style");e.innerHTML=m,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&p&&a&&(()=>{let e=document.createElement("style");fetch(new URL(p)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty[0]&&c&&I()},[s,o,l,c,d,h,m,p,g,y,v,b,w,x,_,C,E,a,L,r,f,$,S,F,k,function(e){M[e?"unshift":"push"]((()=>{a=e,n(17,a)}))}]}function La(e,t){zn(e,t)}!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ma,Ga,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),H()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),H()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});const Ta={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};
1509
- /* ../casino-most-played-section/src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */function Pa(e){let t;return{c(){t=f("casino-games-category-section"),_(t,"session",/*session*/e[4]),_(t,"userid",/*userid*/e[5]),_(t,"endpoint",/*endpoint*/e[0]),_(t,"datasource",/*datasource*/e[1]),_(t,"lang",/*lang*/e[3]),_(t,"currency",/*currency*/e[2]),_(t,"favorites",/*favorites*/e[14]),_(t,"fetchviaevent",/*fetchviaevent*/e[16]),_(t,"categoryid","MOSTPLAYED"),_(t,"categoryindex","1"),_(t,"categorygames","9"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[12]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),_(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){h(e,t,n)},p(e,n){/*session*/16&n[0]&&_(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&_(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&_(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&_(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&_(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&_(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&_(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&_(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&_(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&m(t)}}}
1509
+ function Mi(e){let t,n,r=/*$_*/e[19]("noRecentGames")+"";return{c(){t=g("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noRecentGames")+"")&&$(n,r)},d(e){e&&h(t)}}}function Ti(t){let n,r;function a(e,t){/*lastPlayedEmpty*/
1510
+ return e[18]?Mi:Ei}let i=a(t),o=i(t);return{c(){n=g("div"),r=g("div"),o.c(),this.c=e,x(r,"class","CasinoLastPlayedSection"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,a){m(e,n,a),d(n,r),o.m(r,null),
1511
+ /*div1_binding*/t[25](n)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(r,null)))},i:e,o:e,d(e){e&&h(n),o.d(),
1512
+ /*div1_binding*/t[25](null)}}}function Li(e,t,n){let r;u(e,Ir,(e=>n(19,r=e)));let a,i,{endpoint:o=""}=t,{datasource:s=""}=t,{currency:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:m=""}=t,{clientstyling:h=""}=t,{clientstylingurl:p=""}=t,{translationurl:g=""}=t,{livecasino:f="false"}=t,{integratedgameframemobile:y="false"}=t,{integratedgameframedesktop:v="false"}=t,{gamepagemodalurl:b="false"}=t,{showgamename:w=""}=t,{visiblegames:x=""}=t,{favorites:_=""}=t,{lastplayedperiod:$="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:C=""}=t,{casinomygames:G="false"}=t,{lastplayedunique:F="true"}=t,{fetchviaevent:k="true"}=t,E=window.navigator.userAgent,M=!1,L=[];Object.keys(ki).forEach((e=>{Fi(e,ki[e])}));const P=()=>{new Promise(((e,t)=>{let n=new URL(`${o}/v1/player/${m}/games/last-played`);n.searchParams.append("unique",F),n.searchParams.append("limit",C),n.searchParams.append("order",S),n.searchParams.append("period",$),"PC"===Or(E)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),a=f?n:n.href,fetch(a).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:t},window.location.href)})).catch((e=>{console.error(e),t(e)}))})).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${o}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",s),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{L=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===G&&(L=L.slice(0,JSON.parse(x))),window.postMessage({type:"LastPlayedData",lastPlayedGames:L},window.location.href)}))}else n(18,M=!0)}))},I=()=>{var e;e=c,pr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,m=e.userid),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,p=e.clientstylingurl),"translationurl"in e&&n(20,g=e.translationurl),"livecasino"in e&&n(8,f=e.livecasino),"integratedgameframemobile"in e&&n(9,y=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,v=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"showgamename"in e&&n(12,w=e.showgamename),"visiblegames"in e&&n(13,x=e.visiblegames),"favorites"in e&&n(14,_=e.favorites),"lastplayedperiod"in e&&n(21,$=e.lastplayedperiod),"lastplayedorder"in e&&n(22,S=e.lastplayedorder),"lastplayedlimit"in e&&n(23,C=e.lastplayedlimit),"casinomygames"in e&&n(15,G=e.casinomygames),"lastplayedunique"in e&&n(24,F=e.lastplayedunique),"fetchviaevent"in e&&n(16,k=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&o&&m&&c&&P(),/*translationurl*/1048576&e.$$.dirty[0]&&g&&fetch(g).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Fi(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&p&&i&&(()=>{let e=document.createElement("style");fetch(new URL(p)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty[0]&&c&&I()},[o,s,l,c,d,m,h,p,f,y,v,b,w,x,_,G,k,i,M,r,g,$,S,C,F,function(e){T[e?"unshift":"push"]((()=>{i=e,n(17,i)}))}]}function Pi(e,t){Wn(e,t)}!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Li,Ti,i,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),H()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),H()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});const Ii={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};
1513
+ /* ../casino-most-played-section/src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */function Ai(e){let t;return{c(){t=g("casino-games-category-section"),_(t,"session",/*session*/e[4]),_(t,"userid",/*userid*/e[5]),_(t,"endpoint",/*endpoint*/e[0]),_(t,"datasource",/*datasource*/e[1]),_(t,"lang",/*lang*/e[3]),_(t,"currency",/*currency*/e[2]),_(t,"favorites",/*favorites*/e[14]),_(t,"fetchviaevent",/*fetchviaevent*/e[16]),_(t,"categoryid","MOSTPLAYED"),_(t,"categoryindex","1"),_(t,"categorygames","9"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[12]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),_(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){m(e,t,n)},p(e,n){/*session*/16&n[0]&&_(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&_(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&_(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&_(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&_(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&_(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&_(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&_(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&_(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&h(t)}}}
1510
1514
  // (153:4) {#if mostPlayedEmpty}
1511
- function Ia(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&$(n,r)},d(e){e&&m(t)}}}function Aa(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
1512
- return e[18]?Ia:Pa}let a=i(t),s=a(t);return{c(){n=f("div"),r=f("div"),s.c(),this.c=e,x(r,"class","casino-most-played-section"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),s.m(r,null),
1513
- /*div1_binding*/t[23](n)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(e),s&&(s.c(),s.m(r,null)))},i:e,o:e,d(e){e&&m(n),s.d(),
1514
- /*div1_binding*/t[23](null)}}}function Oa(e,t,n){let r;u(e,Pr,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:s=""}=t,{lang:o=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:f="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:x="false"}=t,{mostplayedperiod:_="Last30Days"}=t,{mostplayedrounds:$="10"}=t,{fetchviaevent:S="true"}=t,F=window.navigator.userAgent;Object.keys(Ta).forEach((e=>{La(e,Ta[e])}));let C,k,E=[],G=!1;const L=()=>{(e=>{let t=new URL(`${i}/v1/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",_);let 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),C=m?t:t.href,new Promise(((e,t)=>{fetch(C).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:Ar(F),rounds:$}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{E=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===x&&(E=E.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:E},window.location.href)}))}else n(18,G=!0)}))},T=()=>{var e;e=o,mr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,o=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,f=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,x=e.casinomygames),"mostplayedperiod"in e&&n(21,_=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,$=e.mostplayedrounds),"fetchviaevent"in e&&n(16,S=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&o&&L(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&d&&k&&(()=>{let e=document.createElement("style");e.innerHTML=d,k.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&k&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{k.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{La(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&o&&T()},[i,a,s,o,l,c,d,h,m,p,f,g,y,v,b,x,S,k,G,r,w,_,$,function(e){M[e?"unshift":"push"]((()=>{k=e,n(17,k)}))}]}
1515
+ function Oi(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=g("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),d(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&$(n,r)},d(e){e&&h(t)}}}function Di(t){let n,r;function a(e,t){/*mostPlayedEmpty*/
1516
+ return e[18]?Oi:Ai}let i=a(t),o=i(t);return{c(){n=g("div"),r=g("div"),o.c(),this.c=e,x(r,"class","casino-most-played-section"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,a){m(e,n,a),d(n,r),o.m(r,null),
1517
+ /*div1_binding*/t[23](n)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(r,null)))},i:e,o:e,d(e){e&&h(n),o.d(),
1518
+ /*div1_binding*/t[23](null)}}}function Ni(e,t,n){let r;u(e,Ir,(e=>n(19,r=e)));let{endpoint:a=""}=t,{datasource:i=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:m=""}=t,{livecasino:h="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:x="false"}=t,{mostplayedperiod:_="Last30Days"}=t,{mostplayedrounds:$="10"}=t,{fetchviaevent:S="true"}=t,C=window.navigator.userAgent;Object.keys(Ii).forEach((e=>{Pi(e,Ii[e])}));let G,F,k=[],E=!1;const M=()=>{(e=>{let t=new URL(`${a}/v1/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",_);let 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),G=h?t:t.href,new Promise(((e,t)=>{fetch(G).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:Or(C),rounds:$}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${a}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",i),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{k=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===x&&(k=k.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)}))}else n(18,E=!0)}))},L=()=>{var e;e=s,pr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,i=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,d=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,x=e.casinomygames),"mostplayedperiod"in e&&n(21,_=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,$=e.mostplayedrounds),"fetchviaevent"in e&&n(16,S=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&a&&c&&s&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&d&&F&&(()=>{let e=document.createElement("style");e.innerHTML=d,F.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&m&&F&&(()=>{let e=document.createElement("style");fetch(new URL(m)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{F.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[a,i,o,s,l,c,d,m,h,p,g,f,y,v,b,x,S,F,E,r,w,_,$,function(e){T[e?"unshift":"push"]((()=>{F=e,n(17,F)}))}]}
1515
1519
  /* src/CasinoMyGames.svelte generated by Svelte v3.59.2 */
1516
- function Da(e,t,n){const r=e.slice();return r[43]=t[n],r}
1520
+ function Ri(e,t,n){const r=e.slice();return r[43]=t[n],r}
1517
1521
  // (120:4) {#if casinomygames}
1518
- function Na(e){let t,n,r,i,a,s,o=/*tabsArray*/e[27],l=[];for(let t=0;t<o.length;t+=1)l[t]=Ua(Da(e,o,t));function c(e,t){/*gamesType*/
1519
- return"Favorites"==e[25]?za:/*gamesType*/"MostPlayed"==e[25]?ja:/*gamesType*/"LastPlayed"==e[25]?Ya:void 0}let u=c(e),g=u&&u(e);return{c(){t=f("div"),n=f("div"),r=f("div");for(let e=0;e<l.length;e+=1)l[e].c();i=v(),a=f("div"),g&&g.c(),x(r,"class","MyGamesButtonsContainer"),x(n,"class","MyGamesHeader"),x(t,"class",s="CasinoMyGames "+(/*mobile*/e[26]?"Mobile":""))},m(e,s){h(e,t,s),d(t,n),d(n,r);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(r,null);d(t,i),d(t,a),g&&g.m(a,null)},p(e,n){if(/*gamesType, lastplayed, toggleTab, $_, tabsArray, mostplayed, favorites, favoritesCount*/2046935040&n[0]){let t;for(o=/*tabsArray*/e[27],t=0;t<o.length;t+=1){const i=Da(e,o,t);l[t]?l[t].p(i,n):(l[t]=Ua(i),l[t].c(),l[t].m(r,null))}for(;t<l.length;t+=1)l[t].d(1);l.length=o.length}u===(u=c(e))&&g?g.p(e,n):(g&&g.d(1),g=u&&u(e),g&&(g.c(),g.m(a,null))),/*mobile*/67108864&n[0]&&s!==(s="CasinoMyGames "+(/*mobile*/e[26]?"Mobile":""))&&x(t,"class",s)},d(e){e&&m(t),p(l,e),g&&g.d()}}}
1522
+ function Bi(e){let t,n,r,a,i,o,s=/*tabsArray*/e[27],l=[];for(let t=0;t<s.length;t+=1)l[t]=Yi(Ri(e,s,t));function c(e,t){/*gamesType*/
1523
+ return"Favorites"==e[25]?Vi:/*gamesType*/"MostPlayed"==e[25]?Wi:/*gamesType*/"LastPlayed"==e[25]?ji:void 0}let u=c(e),f=u&&u(e);return{c(){t=g("div"),n=g("div"),r=g("div");for(let e=0;e<l.length;e+=1)l[e].c();a=v(),i=g("div"),f&&f.c(),x(r,"class","MyGamesButtonsContainer"),x(n,"class","MyGamesHeader"),x(t,"class",o="CasinoMyGames "+(/*mobile*/e[26]?"Mobile":""))},m(e,o){m(e,t,o),d(t,n),d(n,r);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(r,null);d(t,a),d(t,i),f&&f.m(i,null)},p(e,n){if(/*gamesType, lastplayed, toggleTab, $_, tabsArray, mostplayed, favorites, favoritesCount*/2046935040&n[0]){let t;for(s=/*tabsArray*/e[27],t=0;t<s.length;t+=1){const a=Ri(e,s,t);l[t]?l[t].p(a,n):(l[t]=Yi(a),l[t].c(),l[t].m(r,null))}for(;t<l.length;t+=1)l[t].d(1);l.length=s.length}u===(u=c(e))&&f?f.p(e,n):(f&&f.d(1),f=u&&u(e),f&&(f.c(),f.m(i,null))),/*mobile*/67108864&n[0]&&o!==(o="CasinoMyGames "+(/*mobile*/e[26]?"Mobile":""))&&x(t,"class",o)},d(e){e&&h(t),p(l,e),f&&f.d()}}}
1520
1524
  // (125:14) {#if tab == 'Favorites'}
1521
- function Ra(e){let t,n,r,i,a,s,o,l,c,u,p=/*$_*/e[29]("favorites")+"";return{c(){t=f("button"),n=y(p),r=v(),i=f("span"),a=y("("),s=y(/*favoritesCount*/e[28]),o=y(")"),x(t,"class",l="MyGamesButton "+(/*gamesType*/"Favorites"==e[25]?"Active":"")+" "+(/*favorites*/"false"==e[14]?"Off":""))},m(l,m){h(l,t,m),d(t,n),d(t,r),d(t,i),d(i,a),d(i,s),d(i,o),c||(u=w(t,"click",/*click_handler*/e[32]),c=!0)},p(e,r){/*$_*/536870912&r[0]&&p!==(p=/*$_*/e[29]("favorites")+"")&&$(n,p),/*favoritesCount*/268435456&r[0]&&$(s,/*favoritesCount*/e[28]),/*gamesType, favorites*/33570816&r[0]&&l!==(l="MyGamesButton "+(/*gamesType*/"Favorites"==e[25]?"Active":"")+" "+(/*favorites*/"false"==e[14]?"Off":""))&&x(t,"class",l)},d(e){e&&m(t),c=!1,u()}}}
1525
+ function Hi(e){let t,n,r,a,i,o,s,l,c,u,p=/*$_*/e[29]("favorites")+"";return{c(){t=g("button"),n=y(p),r=v(),a=g("span"),i=y("("),o=y(/*favoritesCount*/e[28]),s=y(")"),x(t,"class",l="MyGamesButton "+(/*gamesType*/"Favorites"==e[25]?"Active":"")+" "+(/*favorites*/"false"==e[14]?"Off":""))},m(l,h){m(l,t,h),d(t,n),d(t,r),d(t,a),d(a,i),d(a,o),d(a,s),c||(u=w(t,"click",/*click_handler*/e[32]),c=!0)},p(e,r){/*$_*/536870912&r[0]&&p!==(p=/*$_*/e[29]("favorites")+"")&&$(n,p),/*favoritesCount*/268435456&r[0]&&$(o,/*favoritesCount*/e[28]),/*gamesType, favorites*/33570816&r[0]&&l!==(l="MyGamesButton "+(/*gamesType*/"Favorites"==e[25]?"Active":"")+" "+(/*favorites*/"false"==e[14]?"Off":""))&&x(t,"class",l)},d(e){e&&h(t),c=!1,u()}}}
1522
1526
  // (130:14) {#if tab == 'MostPlayed'}
1523
- function Ha(e){let t,n,r,i,a,s=/*$_*/e[29]("mostPlayed")+"";return{c(){t=f("button"),n=y(s),x(t,"class",r="MyGamesButton "+(/*gamesType*/"MostPlayed"==e[25]?"Active":"")+" "+(/*mostplayed*/"false"==e[15]?"Off":""))},m(r,s){h(r,t,s),d(t,n),i||(a=w(t,"click",/*click_handler_1*/e[33]),i=!0)},p(e,i){/*$_*/536870912&i[0]&&s!==(s=/*$_*/e[29]("mostPlayed")+"")&&$(n,s),/*gamesType, mostplayed*/33587200&i[0]&&r!==(r="MyGamesButton "+(/*gamesType*/"MostPlayed"==e[25]?"Active":"")+" "+(/*mostplayed*/"false"==e[15]?"Off":""))&&x(t,"class",r)},d(e){e&&m(t),i=!1,a()}}}
1527
+ function zi(e){let t,n,r,a,i,o=/*$_*/e[29]("mostPlayed")+"";return{c(){t=g("button"),n=y(o),x(t,"class",r="MyGamesButton "+(/*gamesType*/"MostPlayed"==e[25]?"Active":"")+" "+(/*mostplayed*/"false"==e[15]?"Off":""))},m(r,o){m(r,t,o),d(t,n),a||(i=w(t,"click",/*click_handler_1*/e[33]),a=!0)},p(e,a){/*$_*/536870912&a[0]&&o!==(o=/*$_*/e[29]("mostPlayed")+"")&&$(n,o),/*gamesType, mostplayed*/33587200&a[0]&&r!==(r="MyGamesButton "+(/*gamesType*/"MostPlayed"==e[25]?"Active":"")+" "+(/*mostplayed*/"false"==e[15]?"Off":""))&&x(t,"class",r)},d(e){e&&h(t),a=!1,i()}}}
1524
1528
  // (135:14) {#if tab == 'LastPlayed'}
1525
- function Ba(e){let t,n,r,i,a,s,o=/*$_*/e[29]("recentlyPlayed")+"";return{c(){t=f("button"),n=y(o),r=v(),x(t,"class",i="MyGamesButton "+(/*gamesType*/"LastPlayed"==e[25]?"Active":"")+" "+(/*lastplayed*/"false"==e[16]?"Off":""))},m(i,o){h(i,t,o),d(t,n),d(t,r),a||(s=w(t,"click",/*click_handler_2*/e[34]),a=!0)},p(e,r){/*$_*/536870912&r[0]&&o!==(o=/*$_*/e[29]("recentlyPlayed")+"")&&$(n,o),/*gamesType, lastplayed*/33619968&r[0]&&i!==(i="MyGamesButton "+(/*gamesType*/"LastPlayed"==e[25]?"Active":"")+" "+(/*lastplayed*/"false"==e[16]?"Off":""))&&x(t,"class",i)},d(e){e&&m(t),a=!1,s()}}}
1529
+ function Ui(e){let t,n,r,a,i,o,s=/*$_*/e[29]("recentlyPlayed")+"";return{c(){t=g("button"),n=y(s),r=v(),x(t,"class",a="MyGamesButton "+(/*gamesType*/"LastPlayed"==e[25]?"Active":"")+" "+(/*lastplayed*/"false"==e[16]?"Off":""))},m(a,s){m(a,t,s),d(t,n),d(t,r),i||(o=w(t,"click",/*click_handler_2*/e[34]),i=!0)},p(e,r){/*$_*/536870912&r[0]&&s!==(s=/*$_*/e[29]("recentlyPlayed")+"")&&$(n,s),/*gamesType, lastplayed*/33619968&r[0]&&a!==(a="MyGamesButton "+(/*gamesType*/"LastPlayed"==e[25]?"Active":"")+" "+(/*lastplayed*/"false"==e[16]?"Off":""))&&x(t,"class",a)},d(e){e&&h(t),i=!1,o()}}}
1526
1530
  // (124:12) {#each tabsArray as tab}
1527
- function Ua(e){let t,n,r,i=/*tab*/"Favorites"==e[43]&&Ra(e),a=/*tab*/"MostPlayed"==e[43]&&Ha(e),s=/*tab*/"LastPlayed"==e[43]&&Ba(e);return{c(){i&&i.c(),t=v(),a&&a.c(),n=v(),s&&s.c(),r=b()},m(e,o){i&&i.m(e,o),h(e,t,o),a&&a.m(e,o),h(e,n,o),s&&s.m(e,o),h(e,r,o)},p(e,o){/*tab*/"Favorites"==e[43]?i?i.p(e,o):(i=Ra(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*tab*/"MostPlayed"==e[43]?a?a.p(e,o):(a=Ha(e),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),/*tab*/"LastPlayed"==e[43]?s?s.p(e,o):(s=Ba(e),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&m(t),a&&a.d(e),e&&m(n),s&&s.d(e),e&&m(r)}}}
1531
+ function Yi(e){let t,n,r,a=/*tab*/"Favorites"==e[43]&&Hi(e),i=/*tab*/"MostPlayed"==e[43]&&zi(e),o=/*tab*/"LastPlayed"==e[43]&&Ui(e);return{c(){a&&a.c(),t=v(),i&&i.c(),n=v(),o&&o.c(),r=b()},m(e,s){a&&a.m(e,s),m(e,t,s),i&&i.m(e,s),m(e,n,s),o&&o.m(e,s),m(e,r,s)},p(e,s){/*tab*/"Favorites"==e[43]?a?a.p(e,s):(a=Hi(e),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null),/*tab*/"MostPlayed"==e[43]?i?i.p(e,s):(i=zi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),/*tab*/"LastPlayed"==e[43]?o?o.p(e,s):(o=Ui(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){a&&a.d(e),e&&h(t),i&&i.d(e),e&&h(n),o&&o.d(e),e&&h(r)}}}
1528
1532
  // (186:47)
1529
- function Ya(e){let t;return{c(){t=f("casino-last-played-section"),_(t,"userid",/*userid*/e[0]),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"favorites",/*favorites*/e[14]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"session",/*session*/e[1]),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[11]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[9]),_(t,"lastplayedperiod",/*lastplayedperiod*/e[18]),_(t,"lastplayedorder",/*lastplayedorder*/e[20]),_(t,"lastplayedlimit",/*lastplayedlimit*/e[21]),_(t,"lastplayedunique",/*lastplayedunique*/e[22]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){h(e,t,n)},p(e,n){/*userid*/1&n[0]&&_(t,"userid",/*userid*/e[0]),/*endpoint*/4&n[0]&&_(t,"endpoint",/*endpoint*/e[2]),/*datasource*/8&n[0]&&_(t,"datasource",/*datasource*/e[3]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*lang*/16&n[0]&&_(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&_(t,"currency",/*currency*/e[5]),/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*showgamename*/2048&n[0]&&_(t,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/512&n[0]&&_(t,"visiblegames",/*visiblegames*/e[9]),/*lastplayedperiod*/262144&n[0]&&_(t,"lastplayedperiod",/*lastplayedperiod*/e[18]),/*lastplayedorder*/1048576&n[0]&&_(t,"lastplayedorder",/*lastplayedorder*/e[20]),/*lastplayedlimit*/2097152&n[0]&&_(t,"lastplayedlimit",/*lastplayedlimit*/e[21]),/*lastplayedunique*/4194304&n[0]&&_(t,"lastplayedunique",/*lastplayedunique*/e[22]),/*gamepagemodalurl*/1024&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),/*integratedgameframedesktop*/4096&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*casinomygames*/131072&n[0]&&_(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&m(t)}}}
1533
+ function ji(e){let t;return{c(){t=g("casino-last-played-section"),_(t,"userid",/*userid*/e[0]),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"favorites",/*favorites*/e[14]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"session",/*session*/e[1]),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[11]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[9]),_(t,"lastplayedperiod",/*lastplayedperiod*/e[18]),_(t,"lastplayedorder",/*lastplayedorder*/e[20]),_(t,"lastplayedlimit",/*lastplayedlimit*/e[21]),_(t,"lastplayedunique",/*lastplayedunique*/e[22]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){m(e,t,n)},p(e,n){/*userid*/1&n[0]&&_(t,"userid",/*userid*/e[0]),/*endpoint*/4&n[0]&&_(t,"endpoint",/*endpoint*/e[2]),/*datasource*/8&n[0]&&_(t,"datasource",/*datasource*/e[3]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*lang*/16&n[0]&&_(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&_(t,"currency",/*currency*/e[5]),/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*showgamename*/2048&n[0]&&_(t,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/512&n[0]&&_(t,"visiblegames",/*visiblegames*/e[9]),/*lastplayedperiod*/262144&n[0]&&_(t,"lastplayedperiod",/*lastplayedperiod*/e[18]),/*lastplayedorder*/1048576&n[0]&&_(t,"lastplayedorder",/*lastplayedorder*/e[20]),/*lastplayedlimit*/2097152&n[0]&&_(t,"lastplayedlimit",/*lastplayedlimit*/e[21]),/*lastplayedunique*/4194304&n[0]&&_(t,"lastplayedunique",/*lastplayedunique*/e[22]),/*gamepagemodalurl*/1024&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),/*integratedgameframedesktop*/4096&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*casinomygames*/131072&n[0]&&_(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&h(t)}}}
1530
1534
  // (164:46)
1531
- function ja(e){let t;return{c(){t=f("casino-most-played-section"),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"session",/*session*/e[1]),_(t,"userid",/*userid*/e[0]),_(t,"favorites",/*favorites*/e[14]),_(t,"categoryindex","0"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[11]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[9]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),_(t,"mostplayedrounds",/*mostplayedrounds*/e[23]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"mostplayedperiod",/*mostplayedperiod*/e[19]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){h(e,t,n)},p(e,n){/*endpoint*/4&n[0]&&_(t,"endpoint",/*endpoint*/e[2]),/*datasource*/8&n[0]&&_(t,"datasource",/*datasource*/e[3]),/*lang*/16&n[0]&&_(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&_(t,"currency",/*currency*/e[5]),/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*userid*/1&n[0]&&_(t,"userid",/*userid*/e[0]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*showgamename*/2048&n[0]&&_(t,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/512&n[0]&&_(t,"visiblegames",/*visiblegames*/e[9]),/*gamepagemodalurl*/1024&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),/*mostplayedrounds*/8388608&n[0]&&_(t,"mostplayedrounds",/*mostplayedrounds*/e[23]),/*integratedgameframedesktop*/4096&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*mostplayedperiod*/524288&n[0]&&_(t,"mostplayedperiod",/*mostplayedperiod*/e[19]),/*casinomygames*/131072&n[0]&&_(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&m(t)}}}
1535
+ function Wi(e){let t;return{c(){t=g("casino-most-played-section"),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"session",/*session*/e[1]),_(t,"userid",/*userid*/e[0]),_(t,"favorites",/*favorites*/e[14]),_(t,"categoryindex","0"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[11]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[9]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),_(t,"mostplayedrounds",/*mostplayedrounds*/e[23]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"mostplayedperiod",/*mostplayedperiod*/e[19]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){m(e,t,n)},p(e,n){/*endpoint*/4&n[0]&&_(t,"endpoint",/*endpoint*/e[2]),/*datasource*/8&n[0]&&_(t,"datasource",/*datasource*/e[3]),/*lang*/16&n[0]&&_(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&_(t,"currency",/*currency*/e[5]),/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*userid*/1&n[0]&&_(t,"userid",/*userid*/e[0]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*showgamename*/2048&n[0]&&_(t,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/512&n[0]&&_(t,"visiblegames",/*visiblegames*/e[9]),/*gamepagemodalurl*/1024&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),/*mostplayedrounds*/8388608&n[0]&&_(t,"mostplayedrounds",/*mostplayedrounds*/e[23]),/*integratedgameframedesktop*/4096&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*mostplayedperiod*/524288&n[0]&&_(t,"mostplayedperiod",/*mostplayedperiod*/e[19]),/*casinomygames*/131072&n[0]&&_(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&h(t)}}}
1532
1536
  // (144:10) {#if gamesType == 'Favorites'}
1533
- function za(e){let t;return{c(){t=f("casino-favorites-section"),_(t,"session",/*session*/e[1]),_(t,"userid",/*userid*/e[0]),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"favorites",/*favorites*/e[14]),_(t,"categoryid","FAVORITES"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[11]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[9]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){h(e,t,n)},p(e,n){/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*userid*/1&n[0]&&_(t,"userid",/*userid*/e[0]),/*endpoint*/4&n[0]&&_(t,"endpoint",/*endpoint*/e[2]),/*datasource*/8&n[0]&&_(t,"datasource",/*datasource*/e[3]),/*lang*/16&n[0]&&_(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&_(t,"currency",/*currency*/e[5]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*showgamename*/2048&n[0]&&_(t,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/512&n[0]&&_(t,"visiblegames",/*visiblegames*/e[9]),/*gamepagemodalurl*/1024&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),/*integratedgameframedesktop*/4096&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*casinomygames*/131072&n[0]&&_(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&m(t)}}}function Wa(t){let n;function r(e,t){if(/*casinomygames*/e[17])return Na}let i=r(t),a=i&&i(t);return{c(){n=f("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
1534
- /*div_binding*/,t[35](n)},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)))},i:e,o:e,d(e){e&&m(n),a&&a.d()
1535
- /*div_binding*/,t[35](null)}}}function Va(e,t,n){let r;u(e,Pr,(e=>n(29,r=e)));let i,{userid:a=""}=t,{session:s=""}=t,{endpoint:o=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:h=""}=t,{clientstylingurl:m=""}=t,{livecasino:p=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:g=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:v=""}=t,{integratedgameframemobile:b=""}=t,{translationurl:w=""}=t,{favorites:x="false"}=t,{mostplayed:_="false"}=t,{lastplayed:$="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:F="Last30Days"}=t,{mostplayedperiod:C="Last30Days"}=t,{lastplayedorder:k=""}=t,{lastplayedlimit:G=""}=t,{lastplayedunique:L="true"}=t,{mostplayedrounds:T=""}=t,P=window.navigator.userAgent,I="",A=!1,O=["","",""],D="0";!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1537
+ function Vi(e){let t;return{c(){t=g("casino-favorites-section"),_(t,"session",/*session*/e[1]),_(t,"userid",/*userid*/e[0]),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"favorites",/*favorites*/e[14]),_(t,"categoryid","FAVORITES"),_(t,"class","CategoryContainer"),_(t,"showgamename",/*showgamename*/e[11]),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[9]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){m(e,t,n)},p(e,n){/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*userid*/1&n[0]&&_(t,"userid",/*userid*/e[0]),/*endpoint*/4&n[0]&&_(t,"endpoint",/*endpoint*/e[2]),/*datasource*/8&n[0]&&_(t,"datasource",/*datasource*/e[3]),/*lang*/16&n[0]&&_(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&_(t,"currency",/*currency*/e[5]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*showgamename*/2048&n[0]&&_(t,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/512&n[0]&&_(t,"visiblegames",/*visiblegames*/e[9]),/*gamepagemodalurl*/1024&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),/*integratedgameframedesktop*/4096&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*casinomygames*/131072&n[0]&&_(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&h(t)}}}function Zi(t){let n;function r(e,t){if(/*casinomygames*/e[17])return Bi}let a=r(t),i=a&&a(t);return{c(){n=g("div"),i&&i.c(),this.c=e},m(e,r){m(e,n,r),i&&i.m(n,null)
1538
+ /*div_binding*/,t[35](n)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),i=a&&a(e),i&&(i.c(),i.m(n,null)))},i:e,o:e,d(e){e&&h(n),i&&i.d()
1539
+ /*div_binding*/,t[35](null)}}}function Ki(e,t,n){let r;u(e,Ir,(e=>n(29,r=e)));let a,{userid:i=""}=t,{session:o=""}=t,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=t,{clientstyling:m=""}=t,{clientstylingurl:h=""}=t,{livecasino:p=""}=t,{visiblegames:g=""}=t,{gamepagemodalurl:f=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:v=""}=t,{integratedgameframemobile:b=""}=t,{translationurl:w=""}=t,{favorites:x="false"}=t,{mostplayed:_="false"}=t,{lastplayed:$="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:C="Last30Days"}=t,{mostplayedperiod:G="Last30Days"}=t,{lastplayedorder:F=""}=t,{lastplayedlimit:k=""}=t,{lastplayedunique:M="true"}=t,{mostplayedrounds:L=""}=t,P=window.navigator.userAgent,I="",A=!1,O=["","",""],D="0";!function({withLocale:e,translations:t}){pr.subscribe((n=>{null==n&&(Un.set(t),pr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1536
1540
  /*dictionary.set(translations);
1537
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Dr).forEach((e=>{Or(e,Dr[e])}));const N=e=>{I!==e&&n(25,I=e)},R=()=>{var e;n(25,I="true"===x?"Favorites":"true"===_?"MostPlayed":"true"===$?"LastPlayed":""),n(27,O[0]="true"===x?"Favorites":"",O),n(27,O[1]="true"===_?"MostPlayed":"",O),n(27,O[2]="true"===$?"LastPlayed":"",O),e=c,mr.set(e)},H=e=>{var t,r;if(e.data&&"UpdateFavoritesCount"===e.data.type)e.data.favoriteGames?n(28,D=null===(t=e.data.favoriteGames)||void 0===t?void 0:t.length):n(28,D=null===(r=e.data.listOfFavoritesGames)||void 0===r?void 0:r.length)};E((()=>(window.addEventListener("message",H,!1),n(26,A=Ir(P)),()=>{window.removeEventListener("message",H)})));return e.$$set=e=>{"userid"in e&&n(0,a=e.userid),"session"in e&&n(1,s=e.session),"endpoint"in e&&n(2,o=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"visiblegames"in e&&n(9,f=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"showgamename"in e&&n(11,y=e.showgamename),"integratedgameframedesktop"in e&&n(12,v=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,b=e.integratedgameframemobile),"translationurl"in e&&n(31,w=e.translationurl),"favorites"in e&&n(14,x=e.favorites),"mostplayed"in e&&n(15,_=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,S=e.casinomygames),"lastplayedperiod"in e&&n(18,F=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,C=e.mostplayedperiod),"lastplayedorder"in e&&n(20,k=e.lastplayedorder),"lastplayedlimit"in e&&n(21,G=e.lastplayedlimit),"lastplayedunique"in e&&n(22,L=e.lastplayedunique),"mostplayedrounds"in e&&n(23,T=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, datasource, lang*/28&e.$$.dirty[0]&&o&&l&&c&&R(),/*favorites, mostplayed, lastplayed*/114688&e.$$.dirty[0]&&x&&_&&$&&R(),/*translationurl*/1&e.$$.dirty[1]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/16777280&e.$$.dirty[0]&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16777344&e.$$.dirty[0]&&m&&i&&(()=>{let e=document.createElement("style");fetch(new URL(m)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})()},[a,s,o,l,c,d,h,m,p,f,g,y,v,b,x,_,$,S,F,C,k,G,L,T,i,I,A,O,D,r,N,w,()=>N("Favorites"),()=>N("MostPlayed"),()=>N("LastPlayed"),function(e){M[e?"unshift":"push"]((()=>{i=e,n(24,i)}))}]}!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Oa,Aa,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});class Za extends z{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Va,Wa,a,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),H()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),H()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),H()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),H()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),H()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),H()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),H()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),H()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),H()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}}return!customElements.get("casino-my-games")&&customElements.define("casino-my-games",Za),Za}));
1541
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Nr).forEach((e=>{Dr(e,Nr[e])}));const N=e=>{I!==e&&n(25,I=e)},R=()=>{var e;n(25,I="true"===x?"Favorites":"true"===_?"MostPlayed":"true"===$?"LastPlayed":""),n(27,O[0]="true"===x?"Favorites":"",O),n(27,O[1]="true"===_?"MostPlayed":"",O),n(27,O[2]="true"===$?"LastPlayed":"",O),e=c,pr.set(e)},B=e=>{var t,r;if(e.data&&"UpdateFavoritesCount"===e.data.type)e.data.favoriteGames?n(28,D=null===(t=e.data.favoriteGames)||void 0===t?void 0:t.length):n(28,D=null===(r=e.data.listOfFavoritesGames)||void 0===r?void 0:r.length)};E((()=>(window.addEventListener("message",B,!1),n(26,A=Ar(P)),()=>{window.removeEventListener("message",B)})));return e.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"visiblegames"in e&&n(9,g=e.visiblegames),"gamepagemodalurl"in e&&n(10,f=e.gamepagemodalurl),"showgamename"in e&&n(11,y=e.showgamename),"integratedgameframedesktop"in e&&n(12,v=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,b=e.integratedgameframemobile),"translationurl"in e&&n(31,w=e.translationurl),"favorites"in e&&n(14,x=e.favorites),"mostplayed"in e&&n(15,_=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,S=e.casinomygames),"lastplayedperiod"in e&&n(18,C=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,G=e.mostplayedperiod),"lastplayedorder"in e&&n(20,F=e.lastplayedorder),"lastplayedlimit"in e&&n(21,k=e.lastplayedlimit),"lastplayedunique"in e&&n(22,M=e.lastplayedunique),"mostplayedrounds"in e&&n(23,L=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, datasource, lang*/28&e.$$.dirty[0]&&s&&l&&c&&R(),/*favorites, mostplayed, lastplayed*/114688&e.$$.dirty[0]&&x&&_&&$&&R(),/*translationurl*/1&e.$$.dirty[1]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Dr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/16777280&e.$$.dirty[0]&&m&&a&&(()=>{let e=document.createElement("style");e.innerHTML=m,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16777344&e.$$.dirty[0]&&h&&a&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})()},[i,o,s,l,c,d,m,h,p,g,f,y,v,b,x,_,$,S,C,G,F,k,M,L,a,I,A,O,D,r,N,w,()=>N("Favorites"),()=>N("MostPlayed"),()=>N("LastPlayed"),function(e){T[e?"unshift":"push"]((()=>{a=e,n(24,a)}))}]}!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ni,Di,i,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});class qi extends W{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ki,Zi,i,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),H()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),H()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),H()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),H()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),H()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),H()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),H()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),H()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),H()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}}return!customElements.get("casino-my-games")&&customElements.define("casino-my-games",qi),qi}));
1538
1542
  //# sourceMappingURL=casino-my-games.js.map