@everymatrix/casino-navigation-search 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 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 h(e,t){e.appendChild(t)}function d(e,t,n){e.insertBefore(t,n||null)}function f(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 m(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 _(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:_(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}function C(e,t){e.value=null==t?"":t}function E(e,t,n){e.classList[n?"add":"remove"](t)}class T{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=m(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)d(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(f)}}function L(e){const t={};for(const n of e)t[n.name]=n.value;return t}function k(e){s=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 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 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 h(e,t){e.appendChild(t)}function d(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function p(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 _(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:_(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}function C(e,t){e.value=null==t?"":t}function E(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function T(e,t,n){e.classList[n?"add":"remove"](t)}class L{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=p(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)d(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function $(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){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const G=[],P=[];let O=[];const M=[],I=Promise.resolve();let D=!1;function R(){D||(D=!0,I.then(B))}function F(){return R(),I}function A(e){O.push(e)}
11
+ function G(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const P=[],O=[];let M=[];const I=[],F=Promise.resolve();let R=!1;function D(){R||(R=!0,F.then(U))}function A(){return D(),F}function N(e){M.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,56 +27,56 @@ function $(e){(function(){if(!s)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 H=0;// Do *not* move this inside the flush() function
31
- function B(){
30
+ const H=new Set;let B=0;// Do *not* move this inside the flush() function
31
+ function U(){
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!==H)return;const e=s;do{
35
+ if(0!==B)return;const e=s;do{
36
36
  // first, call beforeUpdate functions
37
37
  // and update components
38
- try{for(;H<G.length;){const e=G[H];H++,k(e),U(e.$$)}}catch(e){
38
+ try{for(;B<P.length;){const e=P[B];B++,k(e),Y(e.$$)}}catch(e){
39
39
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw G.length=0,H=0,e}for(k(null),G.length=0,H=0;P.length;)P.pop()();
40
+ throw P.length=0,B=0,e}for(k(null),P.length=0,B=0;O.length;)O.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<O.length;e+=1){const t=O[e];N.has(t)||(
44
+ for(let e=0;e<M.length;e+=1){const t=M[e];H.has(t)||(
45
45
  // ...so guard against infinite loops
46
- N.add(t),t())}O.length=0}while(G.length);for(;M.length;)M.pop()();D=!1,N.clear(),k(e)}function U(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(A)}}
46
+ H.add(t),t())}M.length=0}while(P.length);for(;I.length;)I.pop()();R=!1,H.clear(),k(e)}function Y(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
- */const Y=new Set;function j(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];O.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),O=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
49
+ */const j=new Set;function W(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];M.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),M=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 W(a,o,l,c,u,h,d,p=[-1]){const m=s;k(a);const g=a.$$={fragment:null,ctx:[],
52
+ n.on_destroy=n.fragment=null,n.ctx=[])}function z(a,o,l,c,u,h,d,f=[-1]){const p=s;k(a);const g=a.$$={fragment:null,ctx:[],
53
53
  // state
54
54
  props:h,update:e,not_equal:u,bound:n(),
55
55
  // lifecycle
56
- on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(o.context||(m?m.$$.context:[])),
56
+ on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(o.context||(p?p.$$.context:[])),
57
57
  // everything else
58
- callbacks:n(),dirty:p,skip_bound:!1,root:o.target||m.$$.root};d&&d(g.root);let y=!1;if(g.ctx=l?l(a,o.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),R(),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:f,skip_bound:!1,root:o.target||p.$$.root};d&&d(g.root);let y=!1;if(g.ctx=l?l(a,o.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]&&(P.push(e),D(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(a,e)),t})):[],g.update(),y=!0,r(g.before_update),
59
59
  // `false` as a special case of no DOM component
60
60
  g.fragment=!!c&&c(g.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(f)}else
62
+ g.fragment&&g.fragment.l(e),e.forEach(m)}else
63
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- g.fragment&&g.fragment.c();o.intro&&((v=a.$$.fragment)&&v.i&&(Y.delete(v),v.i(b))),function(e,n,a,o){const{fragment:s,after_update:l}=e.$$;s&&s.m(n,a),o||
64
+ g.fragment&&g.fragment.c();o.intro&&((v=a.$$.fragment)&&v.i&&(j.delete(v),v.i(b))),function(e,n,a,o){const{fragment:s,after_update:l}=e.$$;s&&s.m(n,a),o||
65
65
  // onMount happens before the initial afterUpdate
66
- A((()=>{const n=e.$$.on_mount.map(t).filter(i);
66
+ N((()=>{const n=e.$$.on_mount.map(t).filter(i);
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(A)}(a,o.target,o.anchor,o.customElement),B()}var v,b;k(m)}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)}(a,o.target,o.anchor,o.customElement),U()}var v,b;k(p)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const e in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
- this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){j(this,1),this.$destroy=e}$on(t,n){
77
+ this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){W(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)}});const V=[];
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)}});const Z=[];
80
80
  /**
81
81
  * Creates a `Readable` store that allows reading by subscription.
82
82
  * @param value initial value
@@ -88,23 +88,23 @@ if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return
88
88
  * @param {StartStopNotifier=} start
89
89
  */
90
90
  function K(t,n=e){let r;const i=new Set;function o(e){if(a(t,e)&&(t=e,r)){// store is ready
91
- const e=!V.length;for(const e of i)e[1](),V.push(e,t);if(e){for(let e=0;e<V.length;e+=2)V[e][0](V[e+1]);V.length=0}}}return{set:o,update:function(e){o(e(t))},subscribe:function(a,s=e){const l=[a,s];return i.add(l),1===i.size&&(r=n(o)||e),a(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function Z(t,n,a){const o=!Array.isArray(t),s=o?[t]:t,l=n.length<2;return u=t=>{let a=!1;const u=[];let h=0,d=e;const f=()=>{if(h)return;d();const r=n(o?u[0]:u,t);l?t(r):d=i(r)?r:e},p=s.map(((e,t)=>c(e,(e=>{u[t]=e,h&=~(1<<t),a&&f()}),(()=>{h|=1<<t}))));return a=!0,f(),function(){r(p),d(),
91
+ const e=!Z.length;for(const e of i)e[1](),Z.push(e,t);if(e){for(let e=0;e<Z.length;e+=2)Z[e][0](Z[e+1]);Z.length=0}}}return{set:o,update:function(e){o(e(t))},subscribe:function(a,s=e){const l=[a,s];return i.add(l),1===i.size&&(r=n(o)||e),a(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function X(t,n,a){const o=!Array.isArray(t),s=o?[t]:t,l=n.length<2;return u=t=>{let a=!1;const u=[];let h=0,d=e;const m=()=>{if(h)return;d();const r=n(o?u[0]:u,t);l?t(r):d=i(r)?r:e},f=s.map(((e,t)=>c(e,(e=>{u[t]=e,h&=~(1<<t),a&&m()}),(()=>{h|=1<<t}))));return a=!0,m(),function(){r(f),d(),
92
92
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
93
93
  // Callbacks might already be placed in the queue which doesn't know it should no longer
94
94
  // invoke this derived store.
95
- a=!1}},{subscribe:K(a,u).subscribe};var u}var X=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===q}(e)}
95
+ a=!1}},{subscribe:K(a,u).subscribe};var u}var q=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===J}(e)}
96
96
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
97
- (e)};var q="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function J(e,t){return!1!==t.clone&&t.isMergeableObject(e)?re((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Q(e,t,n){return e.concat(t).map((function(e){return J(e,n)}))}function ee(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 te(e,t){try{return t in e}catch(e){return!1}}
97
+ (e)};var J="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Q(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ie((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function ee(e,t,n){return e.concat(t).map((function(e){return Q(e,n)}))}function te(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 ne(e,t){try{return t in e}catch(e){return!1}}
98
98
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
99
- function ne(e,t,n){var r={};return n.isMergeableObject(e)&&ee(e).forEach((function(t){r[t]=J(e[t],n)})),ee(t).forEach((function(i){(function(e,t){return te(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
100
- })(e,i)||(te(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return re;var n=t.customMerge(e);return"function"==typeof n?n:re}(i,n)(e[i],t[i],n):r[i]=J(t[i],n))})),r}function re(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Q,n.isMergeableObject=n.isMergeableObject||X,
99
+ function re(e,t,n){var r={};return n.isMergeableObject(e)&&te(e).forEach((function(t){r[t]=Q(e[t],n)})),te(t).forEach((function(i){(function(e,t){return ne(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
100
+ })(e,i)||(ne(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return ie;var n=t.customMerge(e);return"function"==typeof n?n:ie}(i,n)(e[i],t[i],n):r[i]=Q(t[i],n))})),r}function ie(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ee,n.isMergeableObject=n.isMergeableObject||q,
101
101
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
102
102
  // implementations can use it. The caller may not replace it.
103
- n.cloneUnlessOtherwiseSpecified=J;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ne(e,t,n):J(t,n)}re.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return re(e,n,t)}),{})};var ie=re,ae=function(e,t){return ae=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])},ae(e,t)};function oe(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}ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var se,le,ce,ue=function(){return ue=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},ue.apply(this,arguments)};function he(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))}
103
+ n.cloneUnlessOtherwiseSpecified=Q;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):re(e,t,n):Q(t,n)}ie.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return ie(e,n,t)}),{})};var ae=ie,oe=function(e,t){return oe=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])},oe(e,t)};function se(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}oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var le,ce,ue,he=function(){return he=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},he.apply(this,arguments)};function de(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))}
104
104
  /**
105
105
  * Type Guards
106
106
  */
107
- function de(e){return e.type===le.literal}function fe(e){return e.type===le.argument}function pe(e){return e.type===le.number}function me(e){return e.type===le.date}function ge(e){return e.type===le.time}function ye(e){return e.type===le.select}function ve(e){return e.type===le.plural}function be(e){return e.type===le.pound}function we(e){return e.type===le.tag}function _e(e){return!(!e||"object"!=typeof e||e.type!==ce.number)}function xe(e){return!(!e||"object"!=typeof e||e.type!==ce.dateTime)}
107
+ function me(e){return e.type===ce.literal}function fe(e){return e.type===ce.argument}function pe(e){return e.type===ce.number}function ge(e){return e.type===ce.date}function ye(e){return e.type===ce.time}function ve(e){return e.type===ce.select}function be(e){return e.type===ce.plural}function we(e){return e.type===ce.pound}function _e(e){return e.type===ce.tag}function xe(e){return!(!e||"object"!=typeof e||e.type!==ue.number)}function Se(e){return!(!e||"object"!=typeof e||e.type!==ue.dateTime)}
108
108
  // @generated from regex-gen.ts
109
109
  "function"==typeof SuppressedError&&SuppressedError,function(e){
110
110
  /** Argument is unclosed (e.g. `{0`) */
@@ -166,7 +166,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
166
166
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
167
167
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
168
168
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
169
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(se||(se={})),function(e){
169
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(le||(le={})),function(e){
170
170
  /**
171
171
  * Raw text
172
172
  */
@@ -203,7 +203,7 @@ e[e.pound=7]="pound",
203
203
  /**
204
204
  * XML-like tag
205
205
  */
206
- e[e.tag=8]="tag"}(le||(le={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ce||(ce={}));var Se=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ce=/(?:[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;
206
+ e[e.tag=8]="tag"}(ce||(ce={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ue||(ue={}));var Ce=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ee=/(?:[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;
207
207
  /**
208
208
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
209
209
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -215,7 +215,7 @@ e[e.tag=8]="tag"}(le||(le={})),function(e){e[e.number=0]="number",e[e.dateTime=1
215
215
  * @public
216
216
  * @param skeleton skeleton string
217
217
  */
218
- function Ee(e){var t={};return e.replace(Ce,(function(e){var n=e.length;switch(e[0]){
218
+ function Te(e){var t={};return e.replace(Ee,(function(e){var n=e.length;switch(e[0]){
219
219
  // Era
220
220
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
221
221
  // Year
@@ -249,33 +249,33 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
249
249
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
250
250
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
251
251
  // @generated from regex-gen.ts
252
- var Te=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ke=/^(@+)?(\+|#+)?[rs]?$/g,$e=/(\*)(0+)|(#+)(0+)|(0+)/g,Ge=/^(0+)$/;function Pe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ke,(function(e,n,r){
252
+ var Le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var $e=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ke=/^(@+)?(\+|#+)?[rs]?$/g,Ge=/(\*)(0+)|(#+)(0+)|(0+)/g,Pe=/^(0+)$/;function Oe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ke,(function(e,n,r){
253
253
  // @@@ case
254
- 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 Oe(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 Me(e){
254
+ 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 Me(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 Ie(e){
255
255
  // Engineering
256
- 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)),!Ge.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ie(e){var t=Oe(e);return t||{}}
256
+ 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)),!Pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Fe(e){var t=Me(e);return t||{}}
257
257
  /**
258
258
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
259
- */function De(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=ue(ue(ue({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ue(ue({},e),Ie(t))}),{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ue(ue({},e),Ie(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
259
+ */function Re(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=he(he(he({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return he(he({},e),Fe(t))}),{}));continue;case"engineering":t=he(he(he({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return he(he({},e),Fe(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
260
260
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
261
261
  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;
262
262
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
263
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace($e,(function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)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}
263
+ case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ge,(function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)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}
264
264
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
265
- if(Ge.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Le.test(i.stem)){
265
+ if(Pe.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if($e.test(i.stem)){
266
266
  // Precision
267
267
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
268
268
  // precision-integer case
269
- if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Le,(function(e,n,r,i,a,o){
269
+ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace($e,(function(e,n,r,i,a,o){
270
270
  // .000* case (before ICU67 it was .000+)
271
271
  return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var a=i.options[0];
272
272
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
273
- "w"===a?t=ue(ue({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=ue(ue({},t),Pe(a)))}
273
+ "w"===a?t=he(he({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=he(he({},t),Oe(a)))}
274
274
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
275
- else if(ke.test(i.stem))t=ue(ue({},t),Pe(i.stem));else{var o=Oe(i.stem);o&&(t=ue(ue({},t),o));var s=Me(i.stem);s&&(t=ue(ue({},t),s))}}return t}
275
+ else if(ke.test(i.stem))t=he(he({},t),Oe(i.stem));else{var o=Me(i.stem);o&&(t=he(he({},t),o));var s=Ie(i.stem);s&&(t=he(he({},t),s))}}return t}
276
276
  // @generated from time-data-gen.ts
277
277
  // prettier-ignore
278
- var Re,Fe={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"]};
278
+ var De,Ae={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"]};
279
279
  /**
280
280
  * Returns the best matching date time pattern if a date time skeleton
281
281
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -288,7 +288,7 @@ var Re,Fe={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
288
288
  * of the given `locale` to the corresponding time pattern.
289
289
  * @param locale
290
290
  */
291
- function Ae(e){var t=e.hourCycle;if(void 0===t&&
291
+ function Ne(e){var t=e.hourCycle;if(void 0===t&&
292
292
  // @ts-ignore hourCycle(s) is not identified yet
293
293
  e.hourCycles&&
294
294
  // @ts-ignore
@@ -296,37 +296,37 @@ e.hourCycles.length&&(
296
296
  // @ts-ignore
297
297
  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")}
298
298
  // TODO: Once hourCycle is fully supported remove the following with data generation
299
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Fe[n||""]||Fe[r||""]||Fe["".concat(r,"-001")]||Fe["001"])[0]}var Ne=new RegExp("^".concat(Se.source,"*")),He=new RegExp("".concat(Se.source,"*$"));function Be(e,t){return{start:e,end:t}}
299
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ae[n||""]||Ae[r||""]||Ae["".concat(r,"-001")]||Ae["001"])[0]}var He=new RegExp("^".concat(Ce.source,"*")),Be=new RegExp("".concat(Ce.source,"*$"));function Ue(e,t){return{start:e,end:t}}
300
300
  // #region Ponyfills
301
301
  // Consolidate these variables up top for easier toggling during debugging
302
- var Ue=!!String.prototype.startsWith,Ye=!!String.fromCodePoint,je=!!Object.fromEntries,We=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Ve=!!String.prototype.trimEnd,Ke=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ze=!0;try{
302
+ var Ye=!!String.prototype.startsWith,je=!!String.fromCodePoint,We=!!Object.fromEntries,ze=!!String.prototype.codePointAt,Ve=!!String.prototype.trimStart,Ze=!!String.prototype.trimEnd,Ke=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Xe=!0;try{
303
303
  /**
304
304
  * legacy Edge or Xbox One browser
305
305
  * Unicode flag support: supported
306
306
  * Pattern_Syntax support: not supported
307
307
  * See https://github.com/formatjs/formatjs/issues/2822
308
308
  */
309
- Ze="a"===(null===(Re=rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Re?void 0:Re[0])}catch(e){Ze=!1}var Xe,qe=Ue?// Native
309
+ Xe="a"===(null===(De=it("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===De?void 0:De[0])}catch(e){Xe=!1}var qe,Je=Ye?// Native
310
310
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
311
- function(e,t,n){return e.slice(n,n+t.length)===t},Je=Ye?String.fromCodePoint:// IE11
312
- 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},Qe=
311
+ function(e,t,n){return e.slice(n,n+t.length)===t},Qe=je?String.fromCodePoint:// IE11
312
+ 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},et=
313
313
  // native
314
- je?Object.fromEntries:// Ponyfill
315
- function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],o=i[1];t[a]=o}return t},et=We?// Native
314
+ We?Object.fromEntries:// Ponyfill
315
+ function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],a=i[0],o=i[1];t[a]=o}return t},tt=ze?// Native
316
316
  function(e,t){return e.codePointAt(t)}:// IE 11
317
- 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}},tt=ze?// Native
317
+ 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}},nt=Ve?// Native
318
318
  function(e){return e.trimStart()}:// Ponyfill
319
- function(e){return e.replace(Ne,"")},nt=Ve?// Native
319
+ function(e){return e.replace(He,"")},rt=Ze?// Native
320
320
  function(e){return e.trimEnd()}:// Ponyfill
321
- function(e){return e.replace(He,"")};
321
+ function(e){return e.replace(Be,"")};
322
322
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
323
- function rt(e,t){return new RegExp(e,t)}
323
+ function it(e,t){return new RegExp(e,t)}
324
324
  // #endregion
325
- if(Ze){
325
+ if(Xe){
326
326
  // Native
327
- var it=rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xe=function(e,t){var n;return it.lastIndex=t,null!==(n=it.exec(e)[1])&&void 0!==n?n:""}}else
327
+ var at=it("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");qe=function(e,t){var n;return at.lastIndex=t,null!==(n=at.exec(e)[1])&&void 0!==n?n:""}}else
328
328
  // IE11
329
- Xe=function(e,t){for(var n=[];;){var r=et(e,t);if(void 0===r||st(r)||lt(r))break;n.push(r),t+=r>=65536?2:1}return Je.apply(void 0,n)};var at=/** @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(se.UNMATCHED_CLOSING_TAG,Be(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&ot(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 o=this.clonePosition();this.bump(),r.push({type:le.pound,location:Be(o,this.clonePosition())})}}}return{val:r,err:null}},
329
+ qe=function(e,t){for(var n=[];;){var r=tt(e,t);if(void 0===r||lt(r)||ct(r))break;n.push(r),t+=r>=65536?2:1}return Qe.apply(void 0,n)};var ot=/** @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(le.UNMATCHED_CLOSING_TAG,Ue(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&st(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 o=this.clonePosition();this.bump(),r.push({type:ce.pound,location:Ue(o,this.clonePosition())})}}}return{val:r,err:null}},
330
330
  /**
331
331
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
332
332
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -348,14 +348,14 @@ Xe=function(e,t){for(var n=[];;){var r=et(e,t);if(void 0===r||st(r)||lt(r))break
348
348
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
349
349
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
350
350
  // Self closing tag
351
- return{val:{type:le.literal,value:"<".concat(r,"/>"),location:Be(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,o=this.clonePosition();
351
+ return{val:{type:ce.literal,value:"<".concat(r,"/>"),location:Ue(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,o=this.clonePosition();
352
352
  // Expecting a close tag
353
- if(this.bumpIf("</")){if(this.isEOF()||!ot(this.char()))return this.error(se.INVALID_TAG,Be(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(se.UNMATCHED_CLOSING_TAG,Be(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:le.tag,value:r,children:a,location:Be(n,this.clonePosition())},err:null}:this.error(se.INVALID_TAG,Be(o,this.clonePosition())))}return this.error(se.UNCLOSED_TAG,Be(n,this.clonePosition()))}return this.error(se.INVALID_TAG,Be(n,this.clonePosition()))},
353
+ if(this.bumpIf("</")){if(this.isEOF()||!st(this.char()))return this.error(le.INVALID_TAG,Ue(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(le.UNMATCHED_CLOSING_TAG,Ue(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ce.tag,value:r,children:a,location:Ue(n,this.clonePosition())},err:null}:this.error(le.INVALID_TAG,Ue(o,this.clonePosition())))}return this.error(le.UNCLOSED_TAG,Ue(n,this.clonePosition()))}return this.error(le.INVALID_TAG,Ue(n,this.clonePosition()))},
354
354
  /**
355
355
  * This method assumes that the caller has peeked ahead for the first tag character.
356
356
  */
357
357
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
358
- 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 o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var s=Be(n,this.clonePosition());return{val:{type:le.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(ot(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
358
+ 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 o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var s=Ue(n,this.clonePosition());return{val:{type:ce.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(st(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
359
359
  /** See `parseTag` function docs. */},
360
360
  /**
361
361
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -377,67 +377,67 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
377
377
  // Optional closing apostrophe.
378
378
  this.bump();break}t.push(39),
379
379
  // Bump one more time because we need to skip 2 characters.
380
- this.bump()}else t.push(n);this.bump()}return Je.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(),Je(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
381
- this.bumpSpace(),this.isEOF())return this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Be(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(se.EMPTY_ARGUMENT,Be(n,this.clonePosition()));
380
+ this.bump()}else t.push(n);this.bump()}return Qe.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(),Qe(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
381
+ this.bumpSpace(),this.isEOF())return this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ue(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(le.EMPTY_ARGUMENT,Ue(n,this.clonePosition()));
382
382
  // argument name
383
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(se.MALFORMED_ARGUMENT,Be(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Be(n,this.clonePosition()));switch(this.char()){
383
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(le.MALFORMED_ARGUMENT,Ue(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ue(n,this.clonePosition()));switch(this.char()){
384
384
  // Simple argument: `{name}`
385
385
  case 125/* `}` */:// `}`
386
- return this.bump(),{val:{type:le.argument,
386
+ return this.bump(),{val:{type:ce.argument,
387
387
  // value does not include the opening and closing braces.
388
- value:r,location:Be(n,this.clonePosition())},err:null};
388
+ value:r,location:Ue(n,this.clonePosition())},err:null};
389
389
  // Argument with options: `{name, format, ...}`
390
390
  case 44/* `,` */:return this.bump(),// `,`
391
- this.bumpSpace(),this.isEOF()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Be(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(se.MALFORMED_ARGUMENT,Be(n,this.clonePosition()))}},
391
+ this.bumpSpace(),this.isEOF()?this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ue(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(le.MALFORMED_ARGUMENT,Ue(n,this.clonePosition()))}},
392
392
  /**
393
393
  * Advance the parser until the end of the identifier, if it is currently on
394
394
  * an identifier character. Return an empty string otherwise.
395
395
  */
396
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Xe(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Be(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();
396
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=qe(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Ue(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();
397
397
  // Parse this range:
398
398
  // {name, type, style}
399
399
  // ^---^
400
400
  switch(o){case"":
401
401
  // Expecting a style string number, date, time, plural, selectordinal, or select.
402
- return this.error(se.EXPECT_ARGUMENT_TYPE,Be(a,s));case"number":case"date":case"time":
402
+ return this.error(le.EXPECT_ARGUMENT_TYPE,Ue(a,s));case"number":case"date":case"time":
403
403
  // Parse this range:
404
404
  // {name, number, style}
405
405
  // ^-------^
406
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=nt(y.val)).length)return this.error(se.EXPECT_ARGUMENT_STYLE,Be(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Be(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var u=Be(r,this.clonePosition());
406
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=rt(y.val)).length)return this.error(le.EXPECT_ARGUMENT_STYLE,Ue(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Ue(c,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var u=Ue(r,this.clonePosition());
407
407
  // Extract style or skeleton
408
- if(l&&qe(null==l?void 0:l.style,"::",0)){
408
+ if(l&&Je(null==l?void 0:l.style,"::",0)){
409
409
  // Skeleton starts with `::`.
410
- var h=tt(l.style.slice(2));if("number"===o)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:le.number,value:n,location:u,style:y.val},err:null};if(0===h.length)return this.error(se.EXPECT_DATE_TIME_SKELETON,u);var d=h;
410
+ var h=nt(l.style.slice(2));if("number"===o)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:ce.number,value:n,location:u,style:y.val},err:null};if(0===h.length)return this.error(le.EXPECT_DATE_TIME_SKELETON,u);var d=h;
411
411
  // Get "best match" pattern only if locale is passed, if not, let it
412
412
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
413
413
  // for unsupported patterns.
414
- this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Ae(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var f={type:ce.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ee(d):{}};return{val:{type:"date"===o?le.date:le.time,value:n,location:u,style:f},err:null}}
414
+ this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Ne(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var m={type:ue.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Te(d):{}};return{val:{type:"date"===o?ce.date:ce.time,value:n,location:u,style:m},err:null}}
415
415
  // Regular style or no style.
416
- return{val:{type:"number"===o?le.number:"date"===o?le.date:le.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":
416
+ return{val:{type:"number"===o?ce.number:"date"===o?ce.date:ce.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":
417
417
  // Parse this range:
418
418
  // {name, plural, options}
419
419
  // ^---------^
420
- var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(se.EXPECT_SELECT_ARGUMENT_OPTIONS,Be(p,ue({},p)));this.bumpSpace();
420
+ var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(le.EXPECT_SELECT_ARGUMENT_OPTIONS,Ue(f,he({},f)));this.bumpSpace();
421
421
  // Parse offset:
422
422
  // {name, plural, offset:1, options}
423
423
  // ^-----^
424
424
  // or the first option:
425
425
  // {name, plural, one {...} other {...}}
426
426
  // ^--^
427
- var m=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Be(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,se.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
427
+ var p=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(le.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ue(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(le.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,le.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
428
428
  // Parse another identifier for option parsing
429
- this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,o,t,m);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var w=Be(r,this.clonePosition());return"select"===o?{val:{type:le.select,value:n,options:Qe(b.val),location:w},err:null}:{val:{type:le.plural,value:n,options:Qe(b.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(se.INVALID_ARGUMENT_TYPE,Be(a,s))}},e.prototype.tryParseArgumentClose=function(e){
429
+ this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,o,t,p);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var w=Ue(r,this.clonePosition());return"select"===o?{val:{type:ce.select,value:n,options:et(b.val),location:w},err:null}:{val:{type:ce.plural,value:n,options:et(b.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(le.INVALID_ARGUMENT_TYPE,Ue(a,s))}},e.prototype.tryParseArgumentClose=function(e){
430
430
  // Parse: {value, number, ::currency/GBP }
431
- return this.isEOF()||125/* `}` */!==this.char()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Be(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
431
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(le.EXPECT_ARGUMENT_CLOSING_BRACE,Ue(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
432
432
  /**
433
433
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
434
434
  */
435
435
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
436
436
  // Treat apostrophe as quoting but include it in the style part.
437
437
  // Find the end of the quoted literal text.
438
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(se.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Be(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");
438
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(le.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ue(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");
439
439
  // Parse the skeleton
440
- for(var t=[],n=0,r=e.split(Te).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],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(se.INVALID_NUMBER_SKELETON,t)}return{val:{type:ce.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?De(n):{}},err:null}},
440
+ for(var t=[],n=0,r=e.split(Le).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],o=i.slice(1),s=0,l=o;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(le.INVALID_NUMBER_SKELETON,t)}return{val:{type:ue.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Re(n):{}},err:null}},
441
441
  /**
442
442
  * @param nesting_level The current nesting level of messages.
443
443
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -454,24 +454,24 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
454
454
  // ^--^
455
455
  for(var i,a=!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;
456
456
  // Try parse `={number}` selector
457
- var h=this.tryParseDecimalInteger(se.EXPECT_PLURAL_ARGUMENT_SELECTOR,se.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Be(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
457
+ var h=this.tryParseDecimalInteger(le.EXPECT_PLURAL_ARGUMENT_SELECTOR,le.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Ue(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
458
458
  // Duplicate selector clauses
459
- if(s.has(l))return this.error("select"===t?se.DUPLICATE_SELECT_ARGUMENT_SELECTOR:se.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(a=!0),
459
+ if(s.has(l))return this.error("select"===t?le.DUPLICATE_SELECT_ARGUMENT_SELECTOR:le.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(a=!0),
460
460
  // Parse:
461
461
  // one {one apple}
462
462
  // ^----------^
463
- this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:se.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Be(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var p=this.tryParseArgumentClose(d);if(p.err)return p;o.push([l,{value:f.val,location:Be(d,this.clonePosition())}]),
463
+ this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?le.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:le.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ue(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(d);if(f.err)return f;o.push([l,{value:m.val,location:Ue(d,this.clonePosition())}]),
464
464
  // Keep track of the existing selectors
465
465
  s.add(l),
466
466
  // Prep next selector clause.
467
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===o.length?this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR:se.EXPECT_PLURAL_ARGUMENT_SELECTOR,Be(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(se.MISSING_OTHER_CLAUSE,Be(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 i=!1,a=0;!this.isEOF();){var o=this.char();if(!(o>=48/* `0` */&&o<=57/* `9` */))break;i=!0,a=10*a+(o-48),this.bump()}var s=Be(r,this.clonePosition());return i?Ke(a*=n)?{val:a,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(){
467
+ this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===o.length?this.error("select"===t?le.EXPECT_SELECT_ARGUMENT_SELECTOR:le.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ue(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(le.MISSING_OTHER_CLAUSE,Ue(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 i=!1,a=0;!this.isEOF();){var o=this.char();if(!(o>=48/* `0` */&&o<=57/* `9` */))break;i=!0,a=10*a+(o-48),this.bump()}var s=Ue(r,this.clonePosition());return i?Ke(a*=n)?{val:a,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(){
468
468
  // This is much faster than `Object.assign` or spread.
469
469
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
470
470
  /**
471
471
  * Return the code point at the current position of the parser.
472
472
  * Throws if the index is out of bound.
473
473
  */
474
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=et(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}}},
474
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=tt(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}}},
475
475
  /** Bump the parser to the next UTF-16 code unit. */
476
476
  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,
477
477
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -482,7 +482,7 @@ this.position.offset+=e<65536?1:2)}},
482
482
  * following the prefix and return true. Otherwise, don't bump the parser
483
483
  * and return false.
484
484
  */
485
- e.prototype.bumpIf=function(e){if(qe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
485
+ e.prototype.bumpIf=function(e){if(Je(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
486
486
  /**
487
487
  * Bump the parser until the pattern character is found and return `true`.
488
488
  * Otherwise bump to the end of the file and return `false`.
@@ -494,7 +494,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t
494
494
  */
495
495
  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}},
496
496
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
497
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&st(this.char());)this.bump()},
497
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&lt(this.char());)this.bump()},
498
498
  /**
499
499
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
500
500
  * If the input has been exhausted, then this returns null.
@@ -504,86 +504,86 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
504
504
  * This check if codepoint is alphabet (lower & uppercase)
505
505
  * @param codepoint
506
506
  * @returns
507
- */function ot(e){return e>=97&&e<=122||e>=65&&e<=90}
507
+ */function st(e){return e>=97&&e<=122||e>=65&&e<=90}
508
508
  /**
509
509
  * Code point equivalent of regex `\p{White_Space}`.
510
510
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
511
511
  */
512
- function st(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
512
+ function lt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
513
513
  /**
514
514
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
515
515
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
516
- */function lt(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 ct(e){e.forEach((function(e){if(delete e.location,ye(e)||ve(e))for(var t in e.options)delete e.options[t].location,ct(e.options[t].value);else pe(e)&&_e(e.style)||(me(e)||ge(e))&&xe(e.style)?delete e.style.location:we(e)&&ct(e.children)}))}function ut(e,t){void 0===t&&(t={}),t=ue({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new at(e,t).parse();if(n.err){var r=SyntaxError(se[n.err.kind]);
516
+ */function ct(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 ut(e){e.forEach((function(e){if(delete e.location,ve(e)||be(e))for(var t in e.options)delete e.options[t].location,ut(e.options[t].value);else pe(e)&&xe(e.style)||(ge(e)||ye(e))&&Se(e.style)?delete e.style.location:_e(e)&&ut(e.children)}))}function ht(e,t){void 0===t&&(t={}),t=he({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ot(e,t).parse();if(n.err){var r=SyntaxError(le[n.err.kind]);
517
517
  // @ts-expect-error Assign to error object
518
518
  throw r.location=n.err.location,
519
519
  // @ts-expect-error Assign to error object
520
- r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||ct(n.val),n.val}
520
+ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||ut(n.val),n.val}
521
521
 
522
522
  // Main
523
523
 
524
- function ht(e,t){var n=t&&t.cache?t.cache:bt,r=t&&t.serializer?t.serializer:gt;return(t&&t.strategy?t.strategy:mt)(e,{cache:n,serializer:r})}
524
+ function dt(e,t){var n=t&&t.cache?t.cache:wt,r=t&&t.serializer?t.serializer:yt;return(t&&t.strategy?t.strategy:gt)(e,{cache:n,serializer:r})}
525
525
 
526
526
  // Strategy
527
527
 
528
- function dt(e,t,n,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),o=t.get(a);return void 0===o&&(o=e.call(this,r),t.set(a,o)),o}function ft(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 pt(e,t,n,r,i){return n.bind(t,e,r,i)}function mt(e,t){return pt(e,this,1===e.length?dt:ft,t.cache.create(),t.serializer)}
528
+ function mt(e,t,n,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),o=t.get(a);return void 0===o&&(o=e.call(this,r),t.set(a,o)),o}function ft(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 pt(e,t,n,r,i){return n.bind(t,e,r,i)}function gt(e,t){return pt(e,this,1===e.length?mt:ft,t.cache.create(),t.serializer)}
529
529
  // Serializer
530
- var gt=function(){return JSON.stringify(arguments)};
530
+ var yt=function(){return JSON.stringify(arguments)};
531
531
 
532
532
  // Cache
533
533
 
534
- function yt(){this.cache=Object.create(null)}yt.prototype.get=function(e){return this.cache[e]},yt.prototype.set=function(e,t){this.cache[e]=t};var vt,bt={create:function(){
534
+ function vt(){this.cache=Object.create(null)}vt.prototype.get=function(e){return this.cache[e]},vt.prototype.set=function(e,t){this.cache[e]=t};var bt,wt={create:function(){
535
535
  // @ts-ignore
536
- return new yt}},wt={variadic:function(e,t){return pt(e,this,ft,t.cache.create(),t.serializer)},monadic:function(e,t){return pt(e,this,dt,t.cache.create(),t.serializer)}};!function(e){
536
+ return new vt}},_t={variadic:function(e,t){return pt(e,this,ft,t.cache.create(),t.serializer)},monadic:function(e,t){return pt(e,this,mt,t.cache.create(),t.serializer)}};!function(e){
537
537
  // When we have a placeholder but no value to format
538
538
  e.MISSING_VALUE="MISSING_VALUE",
539
539
  // When value supplied is invalid
540
540
  e.INVALID_VALUE="INVALID_VALUE",
541
541
  // When we need specific Intl API but it's not available
542
- e.MISSING_INTL_API="MISSING_INTL_API"}(vt||(vt={}));var _t,xt=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return oe(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),St=/** @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('", "'),'"'),vt.INVALID_VALUE,i)||this}return oe(t,e),t}(xt),Ct=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),vt.INVALID_VALUE,r)||this}return oe(t,e),t}(xt),Et=/** @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,'"'),vt.MISSING_VALUE,n)||this}return oe(t,e),t}(xt);function Tt(e){return"function"==typeof e}
542
+ e.MISSING_INTL_API="MISSING_INTL_API"}(bt||(bt={}));var xt,St=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return se(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ct=/** @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('", "'),'"'),bt.INVALID_VALUE,i)||this}return se(t,e),t}(St),Et=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),bt.INVALID_VALUE,r)||this}return se(t,e),t}(St),Tt=/** @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,'"'),bt.MISSING_VALUE,n)||this}return se(t,e),t}(St);function Lt(e){return"function"==typeof e}
543
543
  // TODO(skeleton): add skeleton support
544
- function Lt(e,t,n,r,i,a,
544
+ function $t(e,t,n,r,i,a,
545
545
  // For debugging
546
546
  o){
547
547
  // Hot path for straight simple msg translations
548
- if(1===e.length&&de(e[0]))return[{type:_t.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];
548
+ if(1===e.length&&me(e[0]))return[{type:xt.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];
549
549
  // Exit early for string parts.
550
- if(de(u))s.push({type:_t.literal,value:u.value});else
550
+ if(me(u))s.push({type:xt.literal,value:u.value});else
551
551
  // TODO: should this part be literal type?
552
552
  // Replace `#` in plural rules with the actual numeric value.
553
- if(be(u))"number"==typeof a&&s.push({type:_t.literal,value:n.getNumberFormat(t).format(a)});else{var h=u.value;
553
+ if(we(u))"number"==typeof a&&s.push({type:xt.literal,value:n.getNumberFormat(t).format(a)});else{var h=u.value;
554
554
  // Enforce that all required values are provided by the caller.
555
- if(!i||!(h in i))throw new Et(h,o);var d=i[h];if(fe(u))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?_t.literal:_t.object,value:d});else
555
+ if(!i||!(h in i))throw new Tt(h,o);var d=i[h];if(fe(u))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?xt.literal:xt.object,value:d});else
556
556
  // Recursively format plural and select parts' option — which can be a
557
557
  // nested pattern structure. The choosing of the option to use is
558
558
  // abstracted-by and delegated-to the part helper object.
559
- if(me(u)){var f="string"==typeof u.style?r.date[u.style]:xe(u.style)?u.style.parsedOptions:void 0;s.push({type:_t.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(ge(u)){f="string"==typeof u.style?r.time[u.style]:xe(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:_t.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(pe(u)){(f="string"==typeof u.style?r.number[u.style]:_e(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),s.push({type:_t.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(we(u)){var p=u.children,m=u.value,g=i[m];if(!Tt(g))throw new Ct(m,"function",o);var y=g(Lt(p,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?_t.literal:_t.object,value:e}})))}if(ye(u)){if(!(v=u.options[d]||u.options.other))throw new St(u.value,d,Object.keys(u.options),o);s.push.apply(s,Lt(v.value,t,n,r,i))}else if(ve(u)){var v;if(!(v=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new xt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',vt.MISSING_INTL_API,o);var b=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new St(u.value,d,Object.keys(u.options),o);s.push.apply(s,Lt(v.value,t,n,r,i,d-(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===_t.literal&&t.type===_t.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
559
+ if(ge(u)){var m="string"==typeof u.style?r.date[u.style]:Se(u.style)?u.style.parsedOptions:void 0;s.push({type:xt.literal,value:n.getDateTimeFormat(t,m).format(d)})}else if(ye(u)){m="string"==typeof u.style?r.time[u.style]:Se(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:xt.literal,value:n.getDateTimeFormat(t,m).format(d)})}else if(pe(u)){(m="string"==typeof u.style?r.number[u.style]:xe(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),s.push({type:xt.literal,value:n.getNumberFormat(t,m).format(d)})}else{if(_e(u)){var f=u.children,p=u.value,g=i[p];if(!Lt(g))throw new Et(p,"function",o);var y=g($t(f,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?xt.literal:xt.object,value:e}})))}if(ve(u)){if(!(v=u.options[d]||u.options.other))throw new Ct(u.value,d,Object.keys(u.options),o);s.push.apply(s,$t(v.value,t,n,r,i))}else if(be(u)){var v;if(!(v=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new St('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',bt.MISSING_INTL_API,o);var b=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new Ct(u.value,d,Object.keys(u.options),o);s.push.apply(s,$t(v.value,t,n,r,i,d-(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===xt.literal&&t.type===xt.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
560
560
  /*
561
561
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
562
562
  Copyrights licensed under the New BSD License.
563
563
  See the accompanying LICENSE file for terms.
564
564
  */
565
565
  // -- MessageFormat --------------------------------------------------------
566
- function kt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?ue(ue(ue({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=ue(ue({},i[t]),a[t]||{}),e}),{})):i),n}),ue({},e)):e}function $t(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"}(_t||(_t={}));var Gt=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
566
+ function kt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?he(he(he({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=he(he({},i[t]),a[t]||{}),e}),{})):i),n}),he({},e)):e}function Gt(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"}(xt||(xt={}));var Pt=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
567
567
  // Hot path for straight simple msg translations
568
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===_t.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 Lt(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},
568
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===xt.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 $t(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},
569
569
  // Defined first because it's used to build the format pattern.
570
570
  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`");
571
571
  // Parse string messages into an AST.
572
572
  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.");
573
573
  // Creates a new object with the specified `formats` merged with the default
574
574
  // formats.
575
- this.formats=kt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ht((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,he([void 0],t,!1)))}),{cache:$t(a.number),strategy:wt.variadic}),getDateTimeFormat:ht((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,he([void 0],t,!1)))}),{cache:$t(a.dateTime),strategy:wt.variadic}),getPluralRules:ht((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,he([void 0],t,!1)))}),{cache:$t(a.pluralRules),strategy:wt.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=ut,
575
+ this.formats=kt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:dt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,de([void 0],t,!1)))}),{cache:Gt(a.number),strategy:_t.variadic}),getDateTimeFormat:dt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,de([void 0],t,!1)))}),{cache:Gt(a.dateTime),strategy:_t.variadic}),getPluralRules:dt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,de([void 0],t,!1)))}),{cache:Gt(a.pluralRules),strategy:_t.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=ht,
576
576
  // Default format options used as the prototype of the `formats` provided to the
577
577
  // constructor. These are used when constructing the internal Intl.NumberFormat
578
578
  // and Intl.DateTimeFormat instances.
579
- 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 Pt={},Ot=(e,t,n)=>n?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=n),n):n,Mt=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const n=an(t);for(let r=0;r<n.length;r++){const i=Ft(n[r],e);if(i)return Ot(e,t,i)}};let It;const Dt=K({});function Rt(e){return e in It}function Ft(e,t){if(!Rt(e))return null;const n=function(e){return It[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 At(e,...t){delete Pt[e],Dt.update((n=>(n[e]=ie.all([n[e]||{},...t]),n)))}Z([Dt],(([e])=>Object.keys(e))),Dt.subscribe((e=>It=e));const Nt={};function Ht(e){return Nt[e]}function Bt(e){return null!=e&&an(e).some((e=>{var t;return null==(t=Ht(e))?void 0:t.size}))}function Ut(e,t){const n=Promise.all(t.map((t=>(function(e,t){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>At(e,...t)))}const Yt={};function jt(e){if(!Bt(e))return e in Yt?Yt[e]:Promise.resolve();const t=function(e){return an(e).map((e=>{const t=Ht(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Yt[e]=Promise.all(t.map((([e,t])=>Ut(e,t)))).then((()=>{if(Bt(e))return jt(e);delete Yt[e]})),Yt[e]}const Wt={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 zt(){return Wt}const Vt=K(!1);var Kt=Object.defineProperty,Zt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,qt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,en=(e,t,n)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let tn;const nn=K(null);function rn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function an(e,t=zt().fallbackLocale){const n=rn(e);return t?[...new Set([...n,...rn(t)])]:n}function on(){return null!=tn?tn:void 0}nn.subscribe((e=>{tn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const sn=(ln=((e,t)=>{for(var n in t||(t={}))Jt.call(t,n)&&en(e,n,t[n]);if(qt)for(var n of qt(t))Qt.call(t,n)&&en(e,n,t[n]);return e})({},nn),Zt(ln,Xt({set:e=>{if(e&&function(e){if(null==e)return;const t=an(e);for(let e=0;e<t.length;e++){const n=t[e];if(Rt(n))return n}}(e)&&Bt(e)){const{loadingDelay:t}=zt();let n;return"undefined"!=typeof window&&null!=on()&&t?n=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),jt(e).then((()=>{nn.set(e)})).finally((()=>{clearTimeout(n),Vt.set(!1)}))}return nn.set(e)}})));var ln;const cn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var un=Object.defineProperty,hn=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,pn=(e,t,n)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mn=(e,t)=>{for(var n in t||(t={}))dn.call(t,n)&&pn(e,n,t[n]);if(hn)for(var n of hn(t))fn.call(t,n)&&pn(e,n,t[n]);return e},gn=(e,t)=>{var n={};for(var r in e)dn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&hn)for(var r of hn(e))t.indexOf(r)<0&&fn.call(e,r)&&(n[r]=e[r]);return n};const yn=(e,t)=>{const{formats:n}=zt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},vn=cn((e=>{var t=e,{locale:n,format:r}=t,i=gn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=yn("number",r)),new Intl.NumberFormat(n,i)})),bn=cn((e=>{var t=e,{locale:n,format:r}=t,i=gn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=yn("date",r):0===Object.keys(i).length&&(i=yn("date","short")),new Intl.DateTimeFormat(n,i)})),wn=cn((e=>{var t=e,{locale:n,format:r}=t,i=gn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=yn("time",r):0===Object.keys(i).length&&(i=yn("time","short")),new Intl.DateTimeFormat(n,i)})),_n=cn((
579
+ 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 Ot={},Mt=(e,t,n)=>n?(t in Ot||(Ot[t]={}),e in Ot[t]||(Ot[t][e]=n),n):n,It=(e,t)=>{if(null==t)return;if(t in Ot&&e in Ot[t])return Ot[t][e];const n=on(t);for(let r=0;r<n.length;r++){const i=At(n[r],e);if(i)return Mt(e,t,i)}};let Ft;const Rt=K({});function Dt(e){return e in Ft}function At(e,t){if(!Dt(e))return null;const n=function(e){return Ft[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 Nt(e,...t){delete Ot[e],Rt.update((n=>(n[e]=ae.all([n[e]||{},...t]),n)))}X([Rt],(([e])=>Object.keys(e))),Rt.subscribe((e=>Ft=e));const Ht={};function Bt(e){return Ht[e]}function Ut(e){return null!=e&&on(e).some((e=>{var t;return null==(t=Bt(e))?void 0:t.size}))}function Yt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Ht[e].delete(t),0===Ht[e].size&&delete Ht[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Nt(e,...t)))}const jt={};function Wt(e){if(!Ut(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return on(e).map((e=>{const t=Bt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>Yt(e,t)))).then((()=>{if(Ut(e))return Wt(e);delete jt[e]})),jt[e]}const zt={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 Vt(){return zt}const Zt=K(!1);var Kt=Object.defineProperty,Xt=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,tn=(e,t,n)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let nn;const rn=K(null);function an(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function on(e,t=Vt().fallbackLocale){const n=an(e);return t?[...new Set([...n,...an(t)])]:n}function sn(){return null!=nn?nn:void 0}rn.subscribe((e=>{nn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ln=(cn=((e,t)=>{for(var n in t||(t={}))Qt.call(t,n)&&tn(e,n,t[n]);if(Jt)for(var n of Jt(t))en.call(t,n)&&tn(e,n,t[n]);return e})({},rn),Xt(cn,qt({set:e=>{if(e&&function(e){if(null==e)return;const t=on(e);for(let e=0;e<t.length;e++){const n=t[e];if(Dt(n))return n}}(e)&&Ut(e)){const{loadingDelay:t}=Vt();let n;return"undefined"!=typeof window&&null!=sn()&&t?n=window.setTimeout((()=>Zt.set(!0)),t):Zt.set(!0),Wt(e).then((()=>{rn.set(e)})).finally((()=>{clearTimeout(n),Zt.set(!1)}))}return rn.set(e)}})));var cn;const un=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var hn=Object.defineProperty,dn=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,pn=(e,t,n)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gn=(e,t)=>{for(var n in t||(t={}))mn.call(t,n)&&pn(e,n,t[n]);if(dn)for(var n of dn(t))fn.call(t,n)&&pn(e,n,t[n]);return e},yn=(e,t)=>{var n={};for(var r in e)mn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&dn)for(var r of dn(e))t.indexOf(r)<0&&fn.call(e,r)&&(n[r]=e[r]);return n};const vn=(e,t)=>{const{formats:n}=Vt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},bn=un((e=>{var t=e,{locale:n,format:r}=t,i=yn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=vn("number",r)),new Intl.NumberFormat(n,i)})),wn=un((e=>{var t=e,{locale:n,format:r}=t,i=yn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=vn("date",r):0===Object.keys(i).length&&(i=vn("date","short")),new Intl.DateTimeFormat(n,i)})),_n=un((e=>{var t=e,{locale:n,format:r}=t,i=yn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=vn("time",r):0===Object.keys(i).length&&(i=vn("time","short")),new Intl.DateTimeFormat(n,i)})),xn=un((
580
580
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
581
- (e,t=on())=>new Gt(e,t,zt().formats,{ignoreTag:zt().ignoreTag}))),xn=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=on(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Mt(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=zt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let h=u;try{h=_n(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Sn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return wn(mn({locale:n},r))})(t).format(e),Cn=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return bn(mn({locale:n},r))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=on()}=t,r=gn(t,["locale"]);return vn(mn({locale:n},r))})(t).format(e),Tn=(e,t=on())=>Mt(e,t),Ln=Z([sn,Dt],(()=>xn));function kn(e,t){At(e,t)}Z([sn],(()=>Sn)),Z([sn],(()=>Cn)),Z([sn],(()=>En)),Z([sn,Dt],(()=>Tn));const $n={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};
582
- /* eslint-disable no-prototype-builtins */var Gn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
581
+ (e,t=sn())=>new Pt(e,t,Vt().formats,{ignoreTag:Vt().ignoreTag}))),Sn=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=sn(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=It(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=Vt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let h=u;try{h=xn(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Cn=(e,t)=>((e={})=>{var t=e,{locale:n=sn()}=t,r=yn(t,["locale"]);return _n(gn({locale:n},r))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=sn()}=t,r=yn(t,["locale"]);return wn(gn({locale:n},r))})(t).format(e),Tn=(e,t)=>((e={})=>{var t=e,{locale:n=sn()}=t,r=yn(t,["locale"]);return bn(gn({locale:n},r))})(t).format(e),Ln=(e,t=sn())=>It(e,t),$n=X([ln,Rt],(()=>Sn));function kn(e,t){Nt(e,t)}X([ln],(()=>Cn)),X([ln],(()=>En)),X([ln],(()=>Tn)),X([ln,Rt],(()=>Ln));const Gn={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."}};
582
+ /* eslint-disable no-prototype-builtins */var Pn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
583
583
  // eslint-disable-next-line no-undef
584
- "undefined"!=typeof global&&global||{},Pn="URLSearchParams"in Gn,On="Symbol"in Gn&&"iterator"in Symbol,Mn="FileReader"in Gn&&"Blob"in Gn&&function(){try{return new Blob,!0}catch(e){return!1}}(),In="FormData"in Gn,Dn="ArrayBuffer"in Gn;if(Dn)var Rn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Fn=ArrayBuffer.isView||function(e){return e&&Rn.indexOf(Object.prototype.toString.call(e))>-1};function An(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 Nn(e){return"string"!=typeof e&&(e=String(e)),e}
584
+ "undefined"!=typeof global&&global||{},On="URLSearchParams"in Pn,Mn="Symbol"in Pn&&"iterator"in Symbol,In="FileReader"in Pn&&"Blob"in Pn&&function(){try{return new Blob,!0}catch(e){return!1}}(),Fn="FormData"in Pn,Rn="ArrayBuffer"in Pn;if(Rn)var Dn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],An=ArrayBuffer.isView||function(e){return e&&Dn.indexOf(Object.prototype.toString.call(e))>-1};function Nn(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 Hn(e){return"string"!=typeof e&&(e=String(e)),e}
585
585
  // Build a destructive iterator for the value list
586
- function Hn(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return On&&(t[Symbol.iterator]=function(){return t}),t}function Bn(e){this.map={},e instanceof Bn?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 Un(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Yn(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function jn(e){var t=new FileReader,n=Yn(t);return t.readAsArrayBuffer(e),n}function Wn(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function zn(){return this.bodyUsed=!1,this._initBody=function(e){var t;
586
+ function Bn(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Mn&&(t[Symbol.iterator]=function(){return t}),t}function Un(e){this.map={},e instanceof Un?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 Yn(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function jn(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function Wn(e){var t=new FileReader,n=jn(t);return t.readAsArrayBuffer(e),n}function zn(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Vn(){return this.bodyUsed=!1,this._initBody=function(e){var t;
587
587
  /*
588
588
  fetch-mock wraps the Response object in an ES6 Proxy to
589
589
  provide useful test harness features such as flush. However, on
@@ -595,24 +595,24 @@ function Hn(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
595
595
  _initBody is called.
596
596
  */
597
597
  // eslint-disable-next-line no-self-assign
598
- this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Mn&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:In&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Pn&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Dn&&Mn&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Wn(e.buffer),
598
+ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:In&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Fn&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:On&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Rn&&In&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=zn(e.buffer),
599
599
  // IE 10-11 can't handle a DataView body.
600
- this._bodyInit=new Blob([this._bodyArrayBuffer])):Dn&&(ArrayBuffer.prototype.isPrototypeOf(e)||Fn(e))?this._bodyArrayBuffer=Wn(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):Pn&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Mn&&(this.blob=function(){var e=Un(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=Un(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(Mn)return this.blob().then(jn);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=Un(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Yn(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)},In&&(this.formData=function(){return this.text().then(Zn)}),this.json=function(){return this.text().then(JSON.parse)},this}
600
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):Rn&&(ArrayBuffer.prototype.isPrototypeOf(e)||An(e))?this._bodyArrayBuffer=zn(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):On&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},In&&(this.blob=function(){var e=Yn(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=Yn(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(In)return this.blob().then(Wn);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=Yn(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=jn(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)},Fn&&(this.formData=function(){return this.text().then(Xn)}),this.json=function(){return this.text().then(JSON.parse)},this}
601
601
  // HTTP methods whose capitalization should be normalized
602
- Bn.prototype.append=function(e,t){e=An(e),t=Nn(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Bn.prototype.delete=function(e){delete this.map[An(e)]},Bn.prototype.get=function(e){return e=An(e),this.has(e)?this.map[e]:null},Bn.prototype.has=function(e){return this.map.hasOwnProperty(An(e))},Bn.prototype.set=function(e,t){this.map[An(e)]=Nn(t)},Bn.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Bn.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Hn(e)},Bn.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Hn(e)},Bn.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Hn(e)},On&&(Bn.prototype[Symbol.iterator]=Bn.prototype.entries);var Vn=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Kn(e,t){if(!(this instanceof Kn))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 Kn){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Bn(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 Bn(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),Vn.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Gn)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)){
602
+ Un.prototype.append=function(e,t){e=Nn(e),t=Hn(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Un.prototype.delete=function(e){delete this.map[Nn(e)]},Un.prototype.get=function(e){return e=Nn(e),this.has(e)?this.map[e]:null},Un.prototype.has=function(e){return this.map.hasOwnProperty(Nn(e))},Un.prototype.set=function(e,t){this.map[Nn(e)]=Hn(t)},Un.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Un.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Bn(e)},Un.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Bn(e)},Un.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Bn(e)},Mn&&(Un.prototype[Symbol.iterator]=Un.prototype.entries);var Zn=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Kn(e,t){if(!(this instanceof Kn))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 Kn){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Un(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 Un(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),Zn.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Pn)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)){
603
603
  // Search for a '_' parameter in the query string
604
604
  var a=/([?&])_=[^&]*/;if(a.test(this.url))
605
605
  // If it already exists then set the value with the current time
606
- this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Zn(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 Xn(e,t){if(!(this instanceof Xn))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 Bn(t.headers),this.url=t.url||"",this._initBody(e)}Kn.prototype.clone=function(){return new Kn(this,{body:this._bodyInit})},zn.call(Kn.prototype),zn.call(Xn.prototype),Xn.prototype.clone=function(){return new Xn(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Bn(this.headers),url:this.url})},Xn.error=function(){var e=new Xn(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var qn=[301,302,303,307,308];Xn.redirect=function(e,t){if(-1===qn.indexOf(t))throw new RangeError("Invalid status code");return new Xn(null,{status:t,headers:{location:e}})};var Jn=Gn.DOMException;try{new Jn}catch(e){(Jn=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),Jn.prototype.constructor=Jn}function Qn(e,t){return new Promise((function(n,r){var i=new Kn(e,t);if(i.signal&&i.signal.aborted)return r(new Jn("Aborted","AbortError"));var a=new XMLHttpRequest;function o(){a.abort()}if(a.onload=function(){var e,t,r={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new Bn,
606
+ this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Xn(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 qn(e,t){if(!(this instanceof qn))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 Un(t.headers),this.url=t.url||"",this._initBody(e)}Kn.prototype.clone=function(){return new Kn(this,{body:this._bodyInit})},Vn.call(Kn.prototype),Vn.call(qn.prototype),qn.prototype.clone=function(){return new qn(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Un(this.headers),url:this.url})},qn.error=function(){var e=new qn(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Jn=[301,302,303,307,308];qn.redirect=function(e,t){if(-1===Jn.indexOf(t))throw new RangeError("Invalid status code");return new qn(null,{status:t,headers:{location:e}})};var Qn=Pn.DOMException;try{new Qn}catch(e){(Qn=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),Qn.prototype.constructor=Qn}function er(e,t){return new Promise((function(n,r){var i=new Kn(e,t);if(i.signal&&i.signal.aborted)return r(new Qn("Aborted","AbortError"));var a=new XMLHttpRequest;function o(){a.abort()}if(a.onload=function(){var e,t,r={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new Un,
607
607
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
608
608
  // https://github.com/github/fetch/issues/748
609
609
  // https://github.com/zloirock/core-js/issues/751
610
610
  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)};
611
611
  // This check if specifically for when a user fetches a file locally from the file system
612
612
  // Only if the status is out of a normal range
613
- 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 o="response"in a?a.response:a.responseText;setTimeout((function(){n(new Xn(o,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 Jn("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&Gn.location.href?Gn.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&&(Mn?a.responseType="blob":Dn&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Bn||Gn.Headers&&t.headers instanceof Gn.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(An(e)),a.setRequestHeader(e,Nn(t.headers[e]))})),i.headers.forEach((function(e,t){-1===s.indexOf(t)&&a.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){a.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",o),a.onreadystatechange=function(){
613
+ 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 o="response"in a?a.response:a.responseText;setTimeout((function(){n(new qn(o,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 Qn("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&Pn.location.href?Pn.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&&(In?a.responseType="blob":Rn&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Un||Pn.Headers&&t.headers instanceof Pn.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(Nn(e)),a.setRequestHeader(e,Hn(t.headers[e]))})),i.headers.forEach((function(e,t){-1===s.indexOf(t)&&a.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){a.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",o),a.onreadystatechange=function(){
614
614
  // DONE (success or failure)
615
- 4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}Qn.polyfill=!0,Gn.fetch||(Gn.fetch=Qn,Gn.Headers=Bn,Gn.Request=Kn,Gn.Response=Xn);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function er(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
615
+ 4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}er.polyfill=!0,Pn.fetch||(Pn.fetch=er,Pn.Headers=Un,Pn.Request=Kn,Pn.Response=qn);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function tr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
616
616
  // the whatwg-fetch polyfill installs the fetch() function
617
617
  // on the global object (window or self)
618
618
 
@@ -633,28 +633,28 @@ self.fetch.bind(self);
633
633
  PERFORMANCE OF THIS SOFTWARE.
634
634
  ***************************************************************************** */
635
635
  /* global Reflect, Promise, SuppressedError, Symbol */
636
- var tr=function(e,t){return tr=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])},tr(e,t)};function nr(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}tr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function rr(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 ir(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function ar(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 or(e){return"function"==typeof e}function sr(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 lr=sr((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 cr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ur=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 o=rr(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(or(l))try{l()}catch(e){i=e instanceof lr?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=rr(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{fr(d)}catch(e){i=null!=i?i:[],e instanceof lr?i=ar(ar([],ir(i)),ir(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new lr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)fr(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)&&cr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&cr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),hr=ur.EMPTY;function dr(e){return e instanceof ur||e&&"closed"in e&&or(e.remove)&&or(e.add)&&or(e.unsubscribe)}function fr(e){or(e)?e():e.unsubscribe()}var pr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},mr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=mr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,ar([e,t],ir(n))):setTimeout.apply(void 0,ar([e,t],ir(n)))},clearTimeout:function(e){var t=mr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gr(){}var yr=null;function vr(e){if(pr.useDeprecatedSynchronousErrorHandling){var t=!yr;if(t&&(yr={errorThrown:!1,error:null}),e(),t){var n=yr,r=n.errorThrown,i=n.error;if(yr=null,r)throw i}}else e()}var br=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,dr(t)&&t.add(n)):n.destination=Er,n}return nr(t,e),t.create=function(e,t,n){return new Sr(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}(ur),wr=Function.prototype.bind;function _r(e,t){return wr.call(e,t)}var xr=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){Cr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Cr(e)}else Cr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Cr(e)}},e}(),Sr=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;or(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&pr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&_r(t.next,a),error:t.error&&_r(t.error,a),complete:t.complete&&_r(t.complete,a)}):i=t;return o.destination=new xr(i),o}return nr(t,e),t}(br);function Cr(e){var t;t=e,mr.setTimeout((function(){throw t}))}var Er={closed:!0,next:gr,error:function(e){throw e},complete:gr},Tr="function"==typeof Symbol&&Symbol.observable||"@@observable";function Lr(e){return e}var kr=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 br||function(e){return e&&or(e.next)&&or(e.error)&&or(e.complete)}(r)&&dr(r)?e:new Sr(e,t,n);return vr((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=$r(t))((function(t,r){var i=new Sr({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[Tr]=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?Lr: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=$r(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 $r(e){var t;return null!==(t=null!=e?e:pr.Promise)&&void 0!==t?t:Promise}var Gr=sr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Pr=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 nr(t,e),t.prototype.lift=function(e){var t=new Or(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Gr},t.prototype.next=function(e){var t=this;vr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=rr(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;vr((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;vr((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?hr:(this.currentObservers=null,a.push(e),new ur((function(){t.currentObservers=null,cr(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 kr;return e.source=this,e},t.create=function(e,t){return new Or(e,t)},t}(kr),Or=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return nr(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:hr},t}(Pr),Mr={now:function(){return(Mr.delegate||Date).now()},delegate:void 0},Ir=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Mr);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 nr(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.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(),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 o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Pr);let Dr=[],Rr={};window.emWidgets={topic:(e,t=0)=>{if(-1==Dr.indexOf(e)){let n=new Ir(t);Rr[e]=n,Dr.push(e)}return Rr[e]}};
636
+ var nr=function(e,t){return nr=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])},nr(e,t)};function rr(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}nr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ir(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 ar(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function or(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 sr(e){return"function"==typeof e}function lr(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 cr=lr((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 ur(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var hr=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 o=ir(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(sr(l))try{l()}catch(e){i=e instanceof cr?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ir(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{fr(d)}catch(e){i=null!=i?i:[],e instanceof cr?i=or(or([],ar(i)),ar(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new cr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)fr(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)&&ur(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&ur(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),dr=hr.EMPTY;function mr(e){return e instanceof hr||e&&"closed"in e&&sr(e.remove)&&sr(e.add)&&sr(e.unsubscribe)}function fr(e){sr(e)?e():e.unsubscribe()}var pr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},gr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=gr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,or([e,t],ar(n))):setTimeout.apply(void 0,or([e,t],ar(n)))},clearTimeout:function(e){var t=gr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function yr(){}var vr=null;function br(e){if(pr.useDeprecatedSynchronousErrorHandling){var t=!vr;if(t&&(vr={errorThrown:!1,error:null}),e(),t){var n=vr,r=n.errorThrown,i=n.error;if(vr=null,r)throw i}}else e()}var wr=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,mr(t)&&t.add(n)):n.destination=Tr,n}return rr(t,e),t.create=function(e,t,n){return new Cr(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}(hr),_r=Function.prototype.bind;function xr(e,t){return _r.call(e,t)}var Sr=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){Er(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Er(e)}else Er(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Er(e)}},e}(),Cr=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;sr(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&pr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&xr(t.next,a),error:t.error&&xr(t.error,a),complete:t.complete&&xr(t.complete,a)}):i=t;return o.destination=new Sr(i),o}return rr(t,e),t}(wr);function Er(e){var t;t=e,gr.setTimeout((function(){throw t}))}var Tr={closed:!0,next:yr,error:function(e){throw e},complete:yr},Lr="function"==typeof Symbol&&Symbol.observable||"@@observable";function $r(e){return e}var kr=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 wr||function(e){return e&&sr(e.next)&&sr(e.error)&&sr(e.complete)}(r)&&mr(r)?e:new Cr(e,t,n);return br((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=Gr(t))((function(t,r){var i=new Cr({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[Lr]=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?$r: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=Gr(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 Gr(e){var t;return null!==(t=null!=e?e:pr.Promise)&&void 0!==t?t:Promise}var Pr=lr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Or=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 rr(t,e),t.prototype.lift=function(e){var t=new Mr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Pr},t.prototype.next=function(e){var t=this;br((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ir(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;br((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;br((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?dr:(this.currentObservers=null,a.push(e),new hr((function(){t.currentObservers=null,ur(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 kr;return e.source=this,e},t.create=function(e,t){return new Mr(e,t)},t}(kr),Mr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return rr(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:dr},t}(Or),Ir={now:function(){return(Ir.delegate||Date).now()},delegate:void 0},Fr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ir);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 rr(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.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(),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 o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Or);let Rr=[],Dr={};window.emWidgets={topic:(e,t=0)=>{if(-1==Rr.indexOf(e)){let n=new Fr(t);Dr[e]=n,Rr.push(e)}return Dr[e]}};
637
637
  /**
638
638
  * @name isMobile
639
639
  * @description A method that returns if the browser used to access the app is from a mobile device or not
640
640
  * @param {String} userAgent window.navigator.userAgent
641
641
  * @returns {Boolean} true or false
642
642
  */
643
- const Fr=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";
643
+ 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)),Nr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
644
644
  /**
645
645
  * @name getDevice
646
646
  * @description A method that returns the type of the device
647
647
  * @param {String} userAgent window.navigator.userAgent
648
648
  * @returns {String} Android/iPhone/iPad/PC
649
- */var Nr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return er(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
649
+ */var Hr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return tr(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
650
650
  // This is done to register the method called with moment()
651
651
  // without creating circular dependencies.
652
652
  function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){
653
653
  // IE8 will treat undefined and null as object if it wasn't for
654
654
  // input != null
655
- 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 h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function f(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 m(){
655
+ 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 h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(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)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Zn(e,t,n,r,!0).utc()}function p(){
656
656
  // We need to deep clone this object.
657
- 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=m()),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?f(g(t),e):g(t).userInvalidated=!0,t}
657
+ 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=p()),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=f(NaN);return null!=e?m(g(t),e):g(t).userInvalidated=!0,t}
658
658
  // Plugins that add properties should also add the key here (null value),
659
659
  // so we can properly clone ourselves.
660
660
  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 _(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}
@@ -662,22 +662,22 @@ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n
662
662
  function x(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
663
663
  // Prevent infinite loop in case updateOffset creates new moment
664
664
  // objects.
665
- !1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function C(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}C(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,L={};function k(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),L[e]||(C(t),L[e]=!0)}function $(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function G(e){var t,n;for(n in e)s(e,n)&&($(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
665
+ !1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function C(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}C(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,L={};function $(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),L[e]||(C(t),L[e]=!0)}function k(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function G(e){var t,n;for(n in e)s(e,n)&&(k(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
666
666
  // Lenient ordinal parsing accepts just a number in addition to
667
667
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
668
668
  // TODO: Remove "ordinalParse" fallback in next major release.
669
- this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},f(r[n],e[n]),f(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])&&(
669
+ this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=m({},e);for(n in t)s(t,n)&&(o(e[n])&&o(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)s(e,n)&&!s(t,n)&&o(e[n])&&(
670
670
  // make sure changes to properties don't modify parent config
671
- r[n]=f({},r[n]));return r}function O(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var M={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 $(r)?r.call(t,n):r}function D(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 R=/(\[[^\[]*\])|(\\)?([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,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},N={};
671
+ r[n]=m({},r[n]));return r}function O(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var M={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 k(r)?r.call(t,n):r}function F(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 R=/(\[[^\[]*\])|(\\)?([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,A={},N={};
672
672
  // token: 'M'
673
673
  // padded: ['MM', 2]
674
674
  // ordinal: 'Mo'
675
675
  // callback: function () { this.month() + 1 }
676
- function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return D(i.apply(this,arguments),t[1],t[2])}),n&&(N[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(R);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=$(r[i])?r[i].call(t,e):r[i];return a}}
676
+ function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(N[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(R);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=k(r[i])?r[i].call(t,e):r[i];return a}}
677
677
  // format date using native date object
678
- function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),A[t]=A[t]||U(t),A[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(F.lastIndex=0;n>=0&&F.test(e);)e=e.replace(F,r),F.lastIndex=0,n-=1;return e}var W={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 z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).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 K(){return this._invalidDate}var Z="%d",X=/\d{1,2}/;function q(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 $(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return $(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)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ae={};function oe(e,t){ae[e]=t}function se(e){var t,n=[];for(t in e)s(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 he(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(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(),Qe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
678
+ function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),A[t]=A[t]||U(t),A[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 W={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 z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).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",X=/\d{1,2}/;function q(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 k(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return k(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)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ae={};function oe(e,t){ae[e]=t}function se(e){var t,n=[];for(t in e)s(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 he(e,t){return function(n){return null!=n?(me(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(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(),Qe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
679
679
  // MOMENTS
680
- function pe(e){return $(this[e=re(e)])?this[e]():this}function me(e,t){if("object"==typeof e){var n,r=se(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if($(this[e=re(e)]))return this[e](t);return this}var ge,ye=/\d/,// 0 - 9
680
+ function fe(e){return k(this[e=re(e)])?this[e]():this}function pe(e,t){if("object"==typeof e){var n,r=se(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(k(this[e=re(e)]))return this[e](t);return this}var ge,ye=/\d/,// 0 - 9
681
681
  ve=/\d\d/,// 00 - 99
682
682
  be=/\d{3}/,// 000 - 999
683
683
  we=/\d{4}/,// 0000 - 9999
@@ -688,16 +688,16 @@ Ce=/\d\d\d\d\d\d?/,// 99999 - 999999
688
688
  Ee=/\d{1,3}/,// 0 - 999
689
689
  Te=/\d{1,4}/,// 0 - 9999
690
690
  Le=/[+-]?\d{1,6}/,// -999999 - 999999
691
- ke=/\d+/,// 0 - inf
692
- $e=/[+-]?\d+/,// -inf - inf
691
+ $e=/\d+/,// 0 - inf
692
+ ke=/[+-]?\d+/,// -inf - inf
693
693
  Ge=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
694
694
  Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
695
695
  Oe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
696
696
  // any word (or two) characters or numbers including two/three word month in arabic.
697
697
  // includes scottish gaelic two word and hyphenated months
698
- Me=/[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 Ie(e,t,n){ge[e]=$(t)?t:function(e,r){return e&&n?n:t}}function De(e,t){return s(ge,e)?ge[e](t._strict,t._locale):new RegExp(Re(e))}
698
+ Me=/[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 Ie(e,t,n){ge[e]=k(t)?t:function(e,r){return e&&n?n:t}}function Fe(e,t){return s(ge,e)?ge[e](t._strict,t._locale):new RegExp(Re(e))}
699
699
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
700
- function Re(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ae={};function Ne(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++)Ae[e[n]]=i}function He(e,t){Ne(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Be(e,t,n){null!=t&&s(Ae,e)&&Ae[e](t,n._a,n,e)}var Ue,Ye=0,je=1,We=2,ze=3,Ve=4,Ke=5,Ze=6,Xe=7,qe=8;function Je(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Je(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
700
+ function Re(e){return De(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function De(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ae={};function Ne(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++)Ae[e[n]]=i}function He(e,t){Ne(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Be(e,t,n){null!=t&&s(Ae,e)&&Ae[e](t,n._a,n,e)}var Ue,Ye=0,je=1,We=2,ze=3,Ve=4,Ze=5,Ke=6,Xe=7,qe=8;function Je(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Je(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
701
701
  // FORMATTING
702
702
  Ue=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
703
703
  // I know
@@ -713,7 +713,7 @@ null!=i?t[je]=i:g(n).invalidMonth=e}));
713
713
  // LOCALES
714
714
  var et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Me,it=Me;function at(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).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[nt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(
715
715
  // this is not used
716
- 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=Ue.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ue.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ue.call(this._shortMonthsParse,o))||-1!==(i=Ue.call(this._longMonthsParse,o))?i:null:-1!==(i=Ue.call(this._longMonthsParse,o))||-1!==(i=Ue.call(this._shortMonthsParse,o))?i:null}function lt(e,t,n){var r,i,a;if(this._monthsParseExact)return st.call(this,e,t,n);
716
+ this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ue.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ue.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ue.call(this._shortMonthsParse,o))||-1!==(i=Ue.call(this._longMonthsParse,o))?i:null:-1!==(i=Ue.call(this._longMonthsParse,o))||-1!==(i=Ue.call(this._shortMonthsParse,o))?i:null}function lt(e,t,n){var r,i,a;if(this._monthsParseExact)return st.call(this,e,t,n);
717
717
  // TODO: add sorting
718
718
  // Sorting makes sure if one month (or abbr) is a prefix of another
719
719
  // see sorting in computeMonthsParse
@@ -721,29 +721,29 @@ for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shor
721
721
  // test the regex
722
722
  if(
723
723
  // make the regex if we don't have it already
724
- 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}}
724
+ i=f([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}}
725
725
  // MOMENTS
726
726
  function ct(e,t){var n;if(!e.isValid())
727
727
  // No op
728
728
  return e;if("string"==typeof t)if(/^\d+$/.test(t))t=ue(t);else
729
729
  // TODO: Another silent failure?
730
- if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Qe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ut(e){return null!=e?(ct(this,e),r.updateOffset(this,!0),this):de(this,"Month")}function ht(){return Qe(this.year(),this.month())}function dt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||pt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=rt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(e){return this._monthsParseExact?(s(this,"_monthsRegex")||pt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function pt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)
730
+ if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Qe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ut(e){return null!=e?(ct(this,e),r.updateOffset(this,!0),this):de(this,"Month")}function ht(){return Qe(this.year(),this.month())}function dt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ft.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=rt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ft.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=it),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++)
731
731
  // make the regex if we don't have it already
732
- n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));
732
+ n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));
733
733
  // Sorting makes sure if one month (or abbr) is a prefix of another it
734
734
  // will match the longer piece.
735
- for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=Fe(r[t]),i[t]=Fe(i[t]);for(t=0;t<24;t++)a[t]=Fe(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")}
735
+ for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=De(r[t]),i[t]=De(i[t]);for(t=0;t<24;t++)a[t]=De(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")}
736
736
  // FORMATTING
737
737
  // HELPERS
738
- function mt(e){return le(e)?366:365}
738
+ function pt(e){return le(e)?366:365}
739
739
  // HOOKS
740
- H("Y",0,0,(function(){var e=this.year();return e<=9999?D(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"),
740
+ H("Y",0,0,(function(){var e=this.year();return e<=9999?F(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"),
741
741
  // ALIASES
742
742
  ne("year","y"),
743
743
  // PRIORITIES
744
744
  oe("year",1),
745
745
  // PARSING
746
- Ie("Y",$e),Ie("YY",xe,ve),Ie("YYYY",Te,we),Ie("YYYYY",Le,_e),Ie("YYYYYY",Le,_e),Ne(["YYYYY","YYYYYY"],Ye),Ne("YYYY",(function(e,t){t[Ye]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),Ne("YY",(function(e,t){t[Ye]=r.parseTwoDigitYear(e)})),Ne("Y",(function(e,t){t[Ye]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
746
+ Ie("Y",ke),Ie("YY",xe,ve),Ie("YYYY",Te,we),Ie("YYYYY",Le,_e),Ie("YYYYYY",Le,_e),Ne(["YYYYY","YYYYYY"],Ye),Ne("YYYY",(function(e,t){t[Ye]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),Ne("YY",(function(e,t){t[Ye]=r.parseTwoDigitYear(e)})),Ne("Y",(function(e,t){t[Ye]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
747
747
  // MOMENTS
748
748
  var gt=he("FullYear",!0);function yt(){return le(this.year())}function vt(e,t,n,r,i,a,o){
749
749
  // can't just apply() to create a date:
@@ -761,7 +761,7 @@ return e<100&&e>=0?(
761
761
  function wt(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
762
762
  r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}
763
763
  // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
764
- function _t(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return s<=0?o=mt(a=e-1)+s:s>mt(e)?(a=e+1,o=s-mt(e)):(a=e,o=s),{year:a,dayOfYear:o}}function xt(e,t,n){var r,i,a=wt(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+St(i=e.year()-1,t,n):o>St(e.year(),t,n)?(r=o-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function St(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(mt(e)-r+i)/7}
764
+ function _t(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return s<=0?o=pt(a=e-1)+s:s>pt(e)?(a=e+1,o=s-pt(e)):(a=e,o=s),{year:a,dayOfYear:o}}function xt(e,t,n){var r,i,a=wt(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+St(i=e.year()-1,t,n):o>St(e.year(),t,n)?(r=o-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function St(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(pt(e)-r+i)/7}
765
765
  // FORMATTING
766
766
  // HELPERS
767
767
  // LOCALES
@@ -774,7 +774,7 @@ oe("week",5),oe("isoWeek",5),
774
774
  Ie("w",xe),Ie("ww",xe,ve),Ie("W",xe),Ie("WW",xe,ve),He(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var Et={dow:0,// Sunday is the first day of the week.
775
775
  doy:6};function Tt(){return this._week.dow}function Lt(){return this._week.doy}
776
776
  // MOMENTS
777
- function kt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function $t(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
777
+ function $t(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function kt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
778
778
  // FORMATTING
779
779
  // HELPERS
780
780
  function Gt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Pt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
@@ -787,19 +787,19 @@ oe("day",11),oe("weekday",11),oe("isoWeekday",11),
787
787
  // PARSING
788
788
  Ie("d",xe),Ie("e",xe),Ie("E",xe),Ie("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ie("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ie("dddd",(function(e,t){return t.weekdaysRegex(e)})),He(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
789
789
  // if we didn't get a weekday name, mark the date as invalid
790
- null!=i?t.d=i:g(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=Me,Ft=Me,At=Me;function Nt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ot(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,i,a,o=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=Ue.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,o))||-1!==(i=Ue.call(this._shortWeekdaysParse,o))||-1!==(i=Ue.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,o))||-1!==(i=Ue.call(this._weekdaysParse,o))||-1!==(i=Ue.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,o))||-1!==(i=Ue.call(this._weekdaysParse,o))||-1!==(i=Ue.call(this._shortWeekdaysParse,o))?i:null}function Yt(e,t,n){var r,i,a;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++){
790
+ null!=i?t.d=i:g(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=Me,Dt=Me,At=Me;function Nt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ot(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([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=Ue.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,o))||-1!==(i=Ue.call(this._shortWeekdaysParse,o))||-1!==(i=Ue.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,o))||-1!==(i=Ue.call(this._weekdaysParse,o))||-1!==(i=Ue.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,o))||-1!==(i=Ue.call(this._weekdaysParse,o))||-1!==(i=Ue.call(this._shortWeekdaysParse,o))?i:null}function Yt(e,t,n){var r,i,a;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++){
791
791
  // test the regex
792
792
  if(
793
793
  // make the regex if we don't have it already
794
- 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}}
794
+ i=f([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}}
795
795
  // MOMENTS
796
796
  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=Gt(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 zt(e){if(!this.isValid())return null!=e?this:NaN;
797
797
  // behaves the same as moment#day except
798
798
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
799
799
  // as a setter, sunday should belong to the previous week.
800
- if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Vt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),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=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=At),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)
800
+ if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Vt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=At),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)
801
801
  // make the regex if we don't have it already
802
- n=p([2e3,1]).day(t),r=Fe(this.weekdaysMin(n,"")),i=Fe(this.weekdaysShort(n,"")),a=Fe(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),c.push(r),c.push(i),c.push(a);
802
+ n=f([2e3,1]).day(t),r=De(this.weekdaysMin(n,"")),i=De(this.weekdaysShort(n,"")),a=De(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),c.push(r),c.push(i),c.push(a);
803
803
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
804
804
  // will match the longer piece.
805
805
  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")}
@@ -811,28 +811,28 @@ function en(e,t){return t._meridiemParse}
811
811
  function tn(e){
812
812
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
813
813
  // Using charAt should be more compatible.
814
- return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Jt),H("hmm",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),
814
+ return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Jt),H("hmm",0,0,(function(){return""+qt.apply(this)+F(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),
815
815
  // ALIASES
816
816
  ne("hour","h"),
817
817
  // PRIORITY
818
- oe("hour",13),Ie("a",en),Ie("A",en),Ie("H",xe),Ie("h",xe),Ie("k",xe),Ie("HH",xe,ve),Ie("hh",xe,ve),Ie("kk",xe,ve),Ie("hmm",Se),Ie("hmmss",Ce),Ie("Hmm",Se),Ie("Hmmss",Ce),Ne(["H","HH"],ze),Ne(["k","kk"],(function(e,t,n){var r=ue(e);t[ze]=24===r?0:r})),Ne(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ne(["h","hh"],(function(e,t,n){t[ze]=ue(e),g(n).bigHour=!0})),Ne("hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r)),g(n).bigHour=!0})),Ne("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i)),g(n).bigHour=!0})),Ne("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r))})),Ne("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,
818
+ oe("hour",13),Ie("a",en),Ie("A",en),Ie("H",xe),Ie("h",xe),Ie("k",xe),Ie("HH",xe,ve),Ie("hh",xe,ve),Ie("kk",xe,ve),Ie("hmm",Se),Ie("hmmss",Ce),Ie("Hmm",Se),Ie("Hmmss",Ce),Ne(["H","HH"],ze),Ne(["k","kk"],(function(e,t,n){var r=ue(e);t[ze]=24===r?0:r})),Ne(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ne(["h","hh"],(function(e,t,n){t[ze]=ue(e),g(n).bigHour=!0})),Ne("hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r)),g(n).bigHour=!0})),Ne("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r,2)),t[Ze]=ue(e.substr(i)),g(n).bigHour=!0})),Ne("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r))})),Ne("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ve]=ue(e.substr(r,2)),t[Ze]=ue(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,
819
819
  // Setting the hour should keep the time, because the user explicitly
820
820
  // specified which hour they want. So trying to maintain the same hour (in
821
821
  // a new timezone) makes sense. Adding/subtracting hours does not follow
822
822
  // this rule.
823
- rn=he("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:M,longDateFormat:W,invalidDate:V,ordinal:Z,dayOfMonthOrdinalParse:X,relativeTime:J,months:et,monthsShort:tt,week:Et,weekdays:Mt,weekdaysMin:Dt,weekdaysShort:It,meridiemParse:nn},ln={},cn={};
823
+ rn=he("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:M,longDateFormat:W,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:J,months:et,monthsShort:tt,week:Et,weekdays:Mt,weekdaysMin:Ft,weekdaysShort:It,meridiemParse:nn},ln={},cn={};
824
824
  // internal storage for locale config files
825
825
  function un(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}
826
826
  // pick the locale from the array
827
827
  // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
828
828
  // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
829
- function dn(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=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(i,n)>=t-1)
829
+ function dn(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&&un(i,n)>=t-1)
830
830
  //the next array item is better than a shallower substring of this one
831
- break;t--}a++}return on}function fn(e){
831
+ break;t--}a++}return on}function mn(e){
832
832
  // Prevent names that look like filesystem paths, i.e contain '/' or '\'
833
- return null!=e.match("^[^/\\\\]*$")}function pn(t){var n=null;
833
+ return null!=e.match("^[^/\\\\]*$")}function fn(t){var n=null;
834
834
  // TODO: Find a better way to register and load all the locales in Node
835
- if(void 0===ln[t]&&e&&e.exports&&fn(t))try{n=on._abbr,er(),mn(n)}catch(e){
835
+ if(void 0===ln[t]&&e&&e.exports&&mn(t))try{n=on._abbr,tr(),pn(n)}catch(e){
836
836
  // mark as not found to avoid repeating expensive file require call causing high CPU
837
837
  // when trying to find en-US, en_US, en-us for every format call
838
838
  ln[t]=null;// null means not found
@@ -840,56 +840,56 @@ ln[t]=null;// null means not found
840
840
  // This function will load locale and then set the global locale. If
841
841
  // no arguments are passed in, it will simply return the current global
842
842
  // locale key.
843
- function mn(e,t){var n;return e&&((n=c(t)?vn(e):gn(e,t))?
843
+ function pn(e,t){var n;return e&&((n=c(t)?vn(e):gn(e,t))?
844
844
  // moment.duration._locale = moment._locale = data;
845
845
  on=n:"undefined"!=typeof console&&console.warn&&
846
846
  //warn user if arguments are passed but the locale could not be set
847
- console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[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=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new O(P(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),
847
+ console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[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=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=fn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new O(P(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),
848
848
  // backwards compat for now: also set the locale
849
849
  // make sure we set the locale AFTER all child locales have been
850
850
  // created, so we won't end up with the child locale set.
851
- mn(e),ln[e]}
851
+ pn(e),ln[e]}
852
852
  // useful for testing
853
853
  return delete ln[e],null}function yn(e,t){if(null!=t){var n,r,i=sn;null!=ln[e]&&null!=ln[e].parentLocale?
854
854
  // Update existing child locale in-place to avoid memory-leaks
855
855
  ln[e].set(P(ln[e]._config,t)):(
856
856
  // MERGE
857
- null!=(r=pn(e))&&(i=r._config),t=P(i,t),null==r&&(
857
+ null!=(r=fn(e))&&(i=r._config),t=P(i,t),null==r&&(
858
858
  // updateLocale is called for creating a new locale
859
859
  // Set abbr so it will have a name (getters return
860
860
  // undefined otherwise).
861
861
  t.abbr=e),(n=new O(t)).parentLocale=ln[e],ln[e]=n),
862
862
  // backwards compat for now: also set the locale
863
- mn(e)}else
863
+ pn(e)}else
864
864
  // pass null for config to unupdate, useful for tests
865
- null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===mn()&&mn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}
865
+ null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===pn()&&pn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}
866
866
  // returns locale data
867
867
  function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!a(e)){if(
868
868
  //short-circuit everything else
869
- t=pn(e))return t;e=[e]}return dn(e)}function bn(){return T(ln)}function wn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[je]<0||n[je]>11?je:n[We]<1||n[We]>Qe(n[Ye],n[je])?We:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ve]||0!==n[Ke]||0!==n[Ze])?ze:n[Ve]<0||n[Ve]>59?Ve:n[Ke]<0||n[Ke]>59?Ke:n[Ze]<0||n[Ze]>999?Ze:-1,g(e)._overflowDayOfYear&&(t<Ye||t>We)&&(t=We),g(e)._overflowWeeks&&-1===t&&(t=Xe),g(e)._overflowWeekday&&-1===t&&(t=qe),g(e).overflow=t),e}
869
+ t=fn(e))return t;e=[e]}return dn(e)}function bn(){return T(ln)}function wn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[je]<0||n[je]>11?je:n[We]<1||n[We]>Qe(n[Ye],n[je])?We:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ve]||0!==n[Ze]||0!==n[Ke])?ze:n[Ve]<0||n[Ve]>59?Ve:n[Ze]<0||n[Ze]>59?Ze:n[Ke]<0||n[Ke]>999?Ke:-1,g(e)._overflowDayOfYear&&(t<Ye||t>We)&&(t=We),g(e)._overflowWeeks&&-1===t&&(t=Xe),g(e)._overflowWeekday&&-1===t&&(t=qe),g(e).overflow=t),e}
870
870
  // iso 8601 regex
871
871
  // 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)
872
872
  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)?)?$/,xn=/^\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]],
873
873
  // iso time formats and regexes
874
874
  En=[["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/]],Tn=/^\/?Date\((-?\d+)/i,
875
875
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
876
- Ln=/^(?:(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}))$/,kn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
876
+ Ln=/^(?:(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}))$/,$n={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
877
877
  // date from iso format
878
- function $n(e){var t,n,r,i,a,o,s=e._i,l=_n.exec(s)||xn.exec(s),c=Cn.length,u=En.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Cn[t][1].exec(l[1])){i=Cn[t][0],r=!1!==Cn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(En[t][1].exec(l[3])){
878
+ function kn(e){var t,n,r,i,a,o,s=e._i,l=_n.exec(s)||xn.exec(s),c=Cn.length,u=En.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Cn[t][1].exec(l[1])){i=Cn[t][0],r=!1!==Cn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(En[t][1].exec(l[3])){
879
879
  // match[2] should be 'T' or space
880
880
  a=(l[2]||" ")+En[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);o="Z"}e._f=i+(a||"")+(o||""),Bn(e)}else e._isValid=!1}function Gn(e,t,n,r,i,a){var o=[Pn(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Pn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function On(e){
881
881
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
882
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Mn(e,t,n){return!e||It.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function In(e,t,n){if(e)return kn[e];if(t)
882
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Mn(e,t,n){return!e||It.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function In(e,t,n){if(e)return $n[e];if(t)
883
883
  // the only allowed military tz is Z
884
884
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
885
885
  // date and time from ref 2822 format
886
- function Dn(e){var t,n=Ln.exec(On(e._i));if(n){if(t=Gn(n[4],n[3],n[2],n[5],n[6],n[7]),!Mn(n[1],t,e))return;e._a=t,e._tzm=In(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
886
+ function Fn(e){var t,n=Ln.exec(On(e._i));if(n){if(t=Gn(n[4],n[3],n[2],n[5],n[6],n[7]),!Mn(n[1],t,e))return;e._a=t,e._tzm=In(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
887
887
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
888
- function Rn(e){var t=Tn.exec(e._i);null===t?($n(e),!1===e._isValid&&(delete e._isValid,Dn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
888
+ function Rn(e){var t=Tn.exec(e._i);null===t?(kn(e),!1===e._isValid&&(delete e._isValid,Fn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
889
889
  // Final attempt, use Input Fallback
890
890
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
891
891
  // Pick the first defined of two or three arguments.
892
- function Fn(e,t,n){return null!=e?e:null!=t?t:n}function An(e){
892
+ function Dn(e,t,n){return null!=e?e:null!=t?t:n}function An(e){
893
893
  // hooks is actually the exported moment object
894
894
  var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}
895
895
  // convert an array to a date.
@@ -906,11 +906,11 @@ for(r=An(e),
906
906
  //compute day of the year from weeks and weekdays
907
907
  e._w&&null==e._a[We]&&null==e._a[je]&&Hn(e),
908
908
  //if the day of the year is set, figure out what it is
909
- null!=e._dayOfYear&&(a=Fn(e._a[Ye],r[Ye]),(e._dayOfYear>mt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=bt(a,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];
909
+ null!=e._dayOfYear&&(a=Dn(e._a[Ye],r[Ye]),(e._dayOfYear>pt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=bt(a,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];
910
910
  // Zero out whatever was not defaulted, including time
911
911
  for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];
912
912
  // Check for 24:00:00.000
913
- 24===e._a[ze]&&0===e._a[Ve]&&0===e._a[Ke]&&0===e._a[Ze]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?bt:vt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
913
+ 24===e._a[ze]&&0===e._a[Ve]&&0===e._a[Ze]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?bt:vt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
914
914
  // Apply timezone offset from input. The actual utcOffset can be changed
915
915
  // with parseZone.
916
916
  null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),
@@ -920,9 +920,9 @@ e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Hn(e){var
920
920
  // how we interpret now (local, utc, fixed offset). So create
921
921
  // a now version of current config (take local/utc/offset flags, and
922
922
  // create now).
923
- n=Fn(t.GG,e._a[Ye],xt(Zn(),1,4).year),r=Fn(t.W,1),((i=Fn(t.E,1))<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,c=xt(Zn(),a,o),n=Fn(t.gg,e._a[Ye],c.year),
923
+ n=Dn(t.GG,e._a[Ye],xt(Kn(),1,4).year),r=Dn(t.W,1),((i=Dn(t.E,1))<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,c=xt(Kn(),a,o),n=Dn(t.gg,e._a[Ye],c.year),
924
924
  // Default to current week.
925
- r=Fn(t.w,c.week),null!=t.d?((
925
+ r=Dn(t.w,c.week),null!=t.d?((
926
926
  // weekday -- low day numbers are considered next week
927
927
  i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
928
928
  // local weekday -- counting starts from beginning of week
@@ -935,7 +935,7 @@ function Bn(e){
935
935
  // TODO: Move this to another part of the creation flow to prevent circular deps
936
936
  if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
937
937
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
938
- var t,n,i,a,o,s,l,c=""+e._i,u=c.length,h=0;for(l=(i=j(e._f,e._locale).match(R)||[]).length,t=0;t<l;t++)a=i[t],(n=(c.match(De(a,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),h+=n.length),
938
+ var t,n,i,a,o,s,l,c=""+e._i,u=c.length,h=0;for(l=(i=j(e._f,e._locale).match(R)||[]).length,t=0;t<l;t++)a=i[t],(n=(c.match(Fe(a,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),h+=n.length),
939
939
  // don't parse if it's not a known token
940
940
  N[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),Be(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);
941
941
  // add remaining unparsed input length to the string
@@ -945,7 +945,7 @@ e._a[ze]<=12&&!0===g(e).bigHour&&e._a[ze]>0&&(g(e).bigHour=void 0),g(e).parsedDa
945
945
  // handle meridiem
946
946
  e._a[ze]=Un(e._locale,e._a[ze],e._meridiem),null!==(
947
947
  // handle era
948
- s=g(e).era)&&(e._a[Ye]=e._locale.erasConvertYear(s,e._a[Ye])),Nn(e),wn(e)}else Dn(e);else $n(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
948
+ s=g(e).era)&&(e._a[Ye]=e._locale.erasConvertYear(s,e._a[Ye])),Nn(e),wn(e)}else Fn(e);else kn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
949
949
  // Fallback
950
950
  (r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
951
951
  // date from string and array of format strings
@@ -953,25 +953,25 @@ function Yn(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFo
953
953
  // if there is any input that was not parsed add a penalty for that format
954
954
  a+=g(t).charsLeftOver,
955
955
  //or tokens
956
- a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));f(e,n||t)}function jn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Nn(e)}}function Wn(e){var t=new x(wn(zn(e)));return t._nextDay&&(
956
+ a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));m(e,n||t)}function jn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Nn(e)}}function Wn(e){var t=new x(wn(zn(e)));return t._nextDay&&(
957
957
  // Adding is smart enough around DST
958
958
  t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||vn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new x(wn(t)):(h(t)?e._d=t:a(n)?Yn(e):n?Bn(e):Vn(e),y(e)||(e._d=null),e))}function Vn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Rn(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Nn(e)):o(t)?jn(e):u(t)?
959
959
  // from milliseconds
960
- e._d=new Date(t):r.createFromInputFallback(e)}function Kn(e,t,n,r,i){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)||a(e)&&0===e.length)&&(e=void 0),
960
+ e._d=new Date(t):r.createFromInputFallback(e)}function Zn(e,t,n,r,i){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)||a(e)&&0===e.length)&&(e=void 0),
961
961
  // object construction must be done this way.
962
962
  // https://github.com/moment/moment/issues/1423
963
- s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Wn(s)}function Zn(e,t,n,r){return Kn(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},
963
+ s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Wn(s)}function Kn(e,t,n,r){return Zn(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},
964
964
  // constant that refers to the RFC 2822 form
965
- r.RFC_2822=function(){};var Xn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),qn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));
965
+ r.RFC_2822=function(){};var Xn=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),qn=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));
966
966
  // Pick a moment m from moments so that m[fn](other) is true for all
967
967
  // other. This relies on the function fn to be transitive.
968
968
 
969
969
  // moments should either be an array of moment objects or an array, whose
970
970
  // first element is an array of moment objects.
971
- function Jn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Zn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
971
+ function Jn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
972
972
  // TODO: Use [].sort instead?
973
- function Qn(){return Jn("isBefore",[].slice.call(arguments,0))}function tr(){return Jn("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(s(e,t)&&(-1===Ue.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
974
- parseFloat(e[rr[n]])!==ue(e[rr[n]])&&(r=!0)}return!0}function ar(){return this._isValid}function or(){return $r(NaN)}function sr(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ir(t),
973
+ function Qn(){return Jn("isBefore",[].slice.call(arguments,0))}function er(){return Jn("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(s(e,t)&&(-1===Ue.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
974
+ parseFloat(e[rr[n]])!==ue(e[rr[n]])&&(r=!0)}return!0}function ar(){return this._isValid}function or(){return kr(NaN)}function sr(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ir(t),
975
975
  // representation for dateAddRemove
976
976
  this._milliseconds=+u+1e3*c+// 1000
977
977
  6e4*l+// 1000 * 60
@@ -986,18 +986,18 @@ this._months=+i+3*r+12*n,this._data={},this._locale=vn(),this._bubble()}function
986
986
  // compare two arrays, return the number of differences
987
987
  function ur(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&ue(e[r])!==ue(t[r]))&&o++;return o+a}
988
988
  // FORMATTING
989
- function hr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+D(~~(e/60),2)+t+D(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
989
+ function hr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
990
990
  // PARSING
991
- Ie("Z",Pe),Ie("ZZ",Pe),Ne(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Pe,e)}));
991
+ Ie("Z",Pe),Ie("ZZ",Pe),Ne(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=mr(Pe,e)}));
992
992
  // HELPERS
993
993
  // timezone chunker
994
994
  // '+10:00' > ['10', '00']
995
995
  // '-1530' > ['-15', '30']
996
- var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(dr)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?r:-r}
996
+ var dr=/([\+\-]|\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(dr)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?r:-r}
997
997
  // Return a moment from input, that is local/utc/zone equivalent to model.
998
- function pr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(S(e)||h(e)?e.valueOf():Zn(e).valueOf())-n.valueOf(),
998
+ function fr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(S(e)||h(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),
999
999
  // Use low-level api, because this fn is low-level api.
1000
- n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Zn(e).local()}function mr(e){
1000
+ n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Kn(e).local()}function pr(e){
1001
1001
  // On Firefox.24 Date#getTimezoneOffset returns a floating point.
1002
1002
  // https://github.com/moment/moment/pull/1871
1003
1003
  return-Math.round(e._d.getTimezoneOffset())}
@@ -1014,34 +1014,34 @@ return-Math.round(e._d.getTimezoneOffset())}
1014
1014
  // a second time. In case it wants us to change the offset again
1015
1015
  // _changeInProgress == true case, then we have to adjust, because
1016
1016
  // there is no such time in the given timezone.
1017
- 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=fr(Pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ir(this,$r(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:mr(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(mr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(Ge,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Zn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):Zn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Cr(){return!!this.isValid()&&!this._isUTC}function Er(){return!!this.isValid()&&this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1017
+ 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(Pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ir(this,kr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(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(pr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(Ge,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?f(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Cr(){return!!this.isValid()&&!this._isUTC}function Er(){return!!this.isValid()&&this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1018
1018
  // ASP.NET json date format regex
1019
1019
  r.updateOffset=function(){};var Lr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1020
1020
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
1021
1021
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
1022
1022
  // and further modified to allow for strings containing both week and day
1023
- 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 $r(e,t){var n,r,i,a=e,
1023
+ $r=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function kr(e,t){var n,r,i,a=e,
1024
1024
  // matching against regexp is expensive, do it on demand
1025
- o=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):(o=Lr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ue(o[We])*n,h:ue(o[ze])*n,m:ue(o[Ve])*n,s:ue(o[Ke])*n,ms:ue(cr(1e3*o[Ze]))*n}):(o=kr.exec(e))?(n="-"===o[1]?-1:1,a={y:Gr(o[2],n),M:Gr(o[3],n),w:Gr(o[4],n),d:Gr(o[5],n),h:Gr(o[6],n),m:Gr(o[7],n),s:Gr(o[8],n)}):null==a?
1025
+ o=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):(o=Lr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ue(o[We])*n,h:ue(o[ze])*n,m:ue(o[Ve])*n,s:ue(o[Ze])*n,ms:ue(cr(1e3*o[Ke]))*n}):(o=$r.exec(e))?(n="-"===o[1]?-1:1,a={y:Gr(o[2],n),M:Gr(o[3],n),w:Gr(o[4],n),d:Gr(o[5],n),h:Gr(o[6],n),m:Gr(o[7],n),s:Gr(o[8],n)}):null==a?
1026
1026
  // checks for null or undefined
1027
- a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Or(Zn(a.from),Zn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new sr(a),lr(e)&&s(e,"_locale")&&(r._locale=e._locale),lr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Gr(e,t){
1027
+ a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Or(Kn(a.from),Kn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new sr(a),lr(e)&&s(e,"_locale")&&(r._locale=e._locale),lr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Gr(e,t){
1028
1028
  // We'd normally use ~~inp for this, but unfortunately it also
1029
1029
  // converts floats to ints.
1030
1030
  // inp may be undefined, so careful calling replace on it.
1031
1031
  var n=e&&parseFloat(e.replace(",","."));
1032
1032
  // apply sign while we're at it
1033
- return(isNaN(n)?0:n)*t}function Pr(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 Or(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Pr(e,t):((n=Pr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
1033
+ return(isNaN(n)?0:n)*t}function Pr(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 Or(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Pr(e,t):((n=Pr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
1034
1034
  // TODO: remove 'name' arg after deprecation is removed
1035
1035
  function Mr(e,t){return function(n,r){var i;
1036
1036
  //invert the arguments, but complain about it
1037
- 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."),i=n,n=r,r=i),Ir(this,$r(n,r),e),this}}function Ir(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&ct(e,de(e,"Month")+s*n),o&&fe(e,"Date",de(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}$r.fn=sr.prototype,$r.invalid=or;var Dr=Mr(1,"add"),Rr=Mr(-1,"subtract");function Fr(e){return"string"==typeof e||e instanceof String}
1037
+ return null===r||isNaN(+r)||($(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,kr(n,r),e),this}}function Ir(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&ct(e,de(e,"Month")+s*n),o&&me(e,"Date",de(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}kr.fn=sr.prototype,kr.invalid=or;var Fr=Mr(1,"add"),Rr=Mr(-1,"subtract");function Dr(e){return"string"==typeof e||e instanceof String}
1038
1038
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1039
- function Ar(e){return S(e)||h(e)||Fr(e)||u(e)||Hr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=o(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||s(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)&&Fr(e)})).length),t&&n}function Br(e){var t,n,r=o(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||s(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){
1039
+ function Ar(e){return S(e)||h(e)||Dr(e)||u(e)||Hr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=o(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||s(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=o(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||s(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){
1040
1040
  // Support for single parameter, formats only overload to the calendar function
1041
1041
  1===arguments.length&&(arguments[0]?Ar(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1042
1042
  // We want to compare the start of today, vs this.
1043
1043
  // Getting start-of-today depends on whether we're local/utc/offset or not.
1044
- var n=e||Zn(),i=pr(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&($(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Zn(n)))}function jr(){return new x(this)}function Wr(e,t){var n=S(e)?e:Zn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function zr(e,t){var n=S(e)?e:Zn(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=S(e)?e:Zn(e),a=S(t)?t:Zn(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 Kr(e,t){var n,r=S(e)?e:Zn(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 Zr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qr(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
1044
+ var n=e||Kn(),i=fr(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(k(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Kn(n)))}function jr(){return new x(this)}function Wr(e,t){var n=S(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function zr(e,t){var n=S(e)?e:Kn(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=S(e)?e:Kn(e),a=S(t)?t:Kn(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=S(e)?e:Kn(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 Xr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qr(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=fr(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
1045
1045
  case"minute":a=(this-r)/6e4;break;// 1000 * 60
1046
1046
  case"hour":a=(this-r)/36e5;break;// 1000 * 60 * 60
1047
1047
  case"day":a=(this-r-i)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
@@ -1055,7 +1055,7 @@ var n=12*(t.year()-e.year())+(t.month()-e.month()),
1055
1055
  // b is in (anchor - 1 month, anchor + 1 month)
1056
1056
  r=e.clone().add(n,"months");
1057
1057
  //check for negative zero, return zero if negative zero
1058
- 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"):$(Date.prototype.toISOString)?
1058
+ 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"):k(Date.prototype.toISOString)?
1059
1059
  // native implementation is ~50x faster, use it when we can
1060
1060
  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")}
1061
1061
  /**
@@ -1063,19 +1063,19 @@ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).t
1063
1063
  * also be evaluated to get a new moment which is the same
1064
1064
  *
1065
1065
  * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
1066
- */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()&&(S(e)&&e.isValid()||Zn(e).isValid())?$r({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Zn(),e)}function ai(e,t){return this.isValid()&&(S(e)&&e.isValid()||Zn(e).isValid())?$r({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Zn(),e)}
1066
+ */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()&&(S(e)&&e.isValid()||Kn(e).isValid())?kr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Kn(),e)}function ai(e,t){return this.isValid()&&(S(e)&&e.isValid()||Kn(e).isValid())?kr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Kn(),e)}
1067
1067
  // If passed a locale key, it will set the locale for this
1068
1068
  // instance. Otherwise, it will return the locale configuration
1069
1069
  // variables for this instance.
1070
- function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var ui=1e3,hi=60*ui,di=60*hi,fi=3506328*di;
1070
+ function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var ui=1e3,hi=60*ui,di=60*hi,mi=3506328*di;
1071
1071
  // actual modulo - handles negative numbers (for dates before 1970):
1072
- function pi(e,t){return(e%t+t)%t}function mi(e,t,n){
1072
+ function fi(e,t){return(e%t+t)%t}function pi(e,t,n){
1073
1073
  // the date constructor remaps years 0-99 to 1900-1999
1074
- return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){
1074
+ return e<100&&e>=0?new Date(e+400,t,n)-mi:new Date(e,t,n).valueOf()}function gi(e,t,n){
1075
1075
  // Date.UTC remaps years 0-99 to 1900-1999
1076
- return e<100&&e>=0?Date.UTC(e+400,t,n)-fi: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:mi,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()*hi),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,hi);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:mi,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+=di-pi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf(),t+=hi-pi(t,hi)-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 _i(){return new Date(this.valueOf())}function xi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){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 Ci(){
1076
+ 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:pi,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-=fi(t+(this._isUTC?0:this.utcOffset()*hi),di);break;case"minute":t=this._d.valueOf(),t-=fi(t,hi);break;case"second":t=this._d.valueOf(),t-=fi(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:pi,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+=di-fi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf(),t+=hi-fi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=ui-fi(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 _i(){return new Date(this.valueOf())}function xi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){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 Ci(){
1077
1077
  // new Date(NaN).toJSON() === null
1078
- return this.isValid()?this.toISOString():null}function Ei(){return y(this)}function Ti(){return f({},g(this))}function Li(){return g(this).overflow}function ki(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function $i(e,t){var n,i,a,o=this._eras||vn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(
1078
+ return this.isValid()?this.toISOString():null}function Ei(){return y(this)}function Ti(){return m({},g(this))}function Li(){return g(this).overflow}function $i(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function ki(e,t){var n,i,a,o=this._eras||vn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(
1079
1079
  // truncate time
1080
1080
  a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":
1081
1081
  // truncate time
@@ -1085,24 +1085,24 @@ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e]
1085
1085
  // truncate time
1086
1086
  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(
1087
1087
  // truncate time
1088
- 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 Di(){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,
1088
+ 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 Fi(){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,
1089
1089
  // truncate time
1090
- 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 Ri(e){return s(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Fi(e){return s(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ai(e){return s(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(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||ke}function Yi(){var e,t,n=[],r=[],i=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(Fe(o[e].name)),n.push(Fe(o[e].abbr)),i.push(Fe(o[e].narrow)),a.push(Fe(o[e].name)),a.push(Fe(o[e].abbr)),a.push(Fe(o[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")}
1090
+ 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 Ri(e){return s(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Di(e){return s(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ai(e){return s(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(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||$e}function Yi(){var e,t,n=[],r=[],i=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(De(o[e].name)),n.push(De(o[e].abbr)),i.push(De(o[e].narrow)),a.push(De(o[e].name)),a.push(De(o[e].abbr)),a.push(De(o[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")}
1091
1091
  // FORMATTING
1092
1092
  function ji(e,t){H(0,[e,e.length],0,t)}
1093
1093
  // MOMENTS
1094
- function Wi(e){return qi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function zi(e){return qi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vi(){return St(this.year(),1,4)}function Ki(){return St(this.isoWeekYear(),1,4)}function Zi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function Xi(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function qi(e,t,n,r,i){var a;return null==e?xt(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),o=bt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}
1094
+ function Wi(e){return qi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function zi(e){return qi.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 Xi(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function qi(e,t,n,r,i){var a;return null==e?xt(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),o=bt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}
1095
1095
  // FORMATTING
1096
1096
  // MOMENTS
1097
1097
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1098
1098
  // FORMATTING
1099
- 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"),Ie("N",Ni),Ie("NN",Ni),Ie("NNN",Ni),Ie("NNNN",Hi),Ie("NNNNN",Bi),Ne(["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})),Ie("y",ke),Ie("yy",ke),Ie("yyy",ke),Ie("yyyy",ke),Ie("yo",Ui),Ne(["y","yy","yyy","yyyy"],Ye),Ne(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ye]=n._locale.eraYearOrdinalParse(e,i):t[Ye]=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"),
1099
+ 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"),Ie("N",Ni),Ie("NN",Ni),Ie("NNN",Ni),Ie("NNNN",Hi),Ie("NNNNN",Bi),Ne(["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})),Ie("y",$e),Ie("yy",$e),Ie("yyy",$e),Ie("yyyy",$e),Ie("yo",Ui),Ne(["y","yy","yyy","yyyy"],Ye),Ne(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ye]=n._locale.eraYearOrdinalParse(e,i):t[Ye]=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"),
1100
1100
  // ALIASES
1101
1101
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1102
1102
  // PRIORITY
1103
1103
  oe("weekYear",1),oe("isoWeekYear",1),
1104
1104
  // PARSING
1105
- Ie("G",$e),Ie("g",$e),Ie("GG",xe,ve),Ie("gg",xe,ve),Ie("GGGG",Te,we),Ie("gggg",Te,we),Ie("GGGGG",Le,_e),Ie("ggggg",Le,_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,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1105
+ Ie("G",ke),Ie("g",ke),Ie("GG",xe,ve),Ie("gg",xe,ve),Ie("GGGG",Te,we),Ie("gggg",Te,we),Ie("GGGGG",Le,_e),Ie("ggggg",Le,_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,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1106
1106
  // ALIASES
1107
1107
  ne("quarter","Q"),
1108
1108
  // PRIORITY
@@ -1146,7 +1146,7 @@ ne("second","s"),
1146
1146
  // PRIORITY
1147
1147
  oe("second",15),
1148
1148
  // PARSING
1149
- Ie("s",xe),Ie("ss",xe,ve),Ne(["s","ss"],Ke);
1149
+ Ie("s",xe),Ie("ss",xe,ve),Ne(["s","ss"],Ze);
1150
1150
  // MOMENTS
1151
1151
  var ra,ia,aa=he("Seconds",!1);
1152
1152
  // FORMATTING
@@ -1156,11 +1156,11 @@ ne("millisecond","ms"),
1156
1156
  // PRIORITY
1157
1157
  oe("millisecond",16),
1158
1158
  // PARSING
1159
- Ie("S",Ee,ye),Ie("SS",Ee,ve),Ie("SSS",Ee,be),ra="SSSS";ra.length<=9;ra+="S")Ie(ra,ke);function oa(e,t){t[Ze]=ue(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")Ne(ra,oa);
1159
+ Ie("S",Ee,ye),Ie("SS",Ee,ve),Ie("SSS",Ee,be),ra="SSSS";ra.length<=9;ra+="S")Ie(ra,$e);function oa(e,t){t[Ke]=ue(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")Ne(ra,oa);
1160
1160
  // MOMENTS
1161
1161
  function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=he("Milliseconds",!1),
1162
1162
  // FORMATTING
1163
- H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Zn(1e3*e)}function ha(){return Zn.apply(null,arguments).parseZone()}function da(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=jr,ca.diff=qr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=pe,ca.invalidAt=Li,ca.isAfter=Wr,ca.isBefore=zr,ca.isBetween=Vr,ca.isSame=Kr,ca.isSameOrAfter=Zr,ca.isSameOrBefore=Xr,ca.isValid=Ei,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Xn,ca.parsingFlags=Ti,ca.set=me,ca.startOf=yi,ca.subtract=Rr,ca.toArray=xi,ca.toObject=Si,ca.toDate=_i,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=Ci,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=ki,ca.eraName=Oi,ca.eraNarrow=Mi,ca.eraAbbr=Ii,ca.eraYear=Di,ca.year=gt,ca.isLeapYear=yt,ca.weekYear=Wi,ca.isoWeekYear=zi,ca.quarter=ca.quarters=Qi,ca.month=ut,ca.daysInMonth=ht,ca.week=ca.weeks=kt,ca.isoWeek=ca.isoWeeks=$t,ca.weeksInYear=Zi,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Ki,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Wt,ca.isoWeekday=zt,ca.dayOfYear=ta,ca.hour=ca.hours=rn,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=_r,ca.isDST=xr,ca.isLocal=Cr,ca.isUtcOffset=Er,ca.isUtc=Tr,ca.isUTC=Tr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=E("dates accessor is deprecated. Use date instead.",ea),ca.months=E("months accessor is deprecated. Use month instead",ut),ca.years=E("years accessor is deprecated. Use year instead",gt),ca.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var fa=O.prototype;function pa(e,t,n,r){var i=vn(),a=p().set(r,t);return i[n](a,e)}function ma(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}
1163
+ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Kn(1e3*e)}function ha(){return Kn.apply(null,arguments).parseZone()}function da(e){return e}ca.add=Fr,ca.calendar=Yr,ca.clone=jr,ca.diff=qr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=fe,ca.invalidAt=Li,ca.isAfter=Wr,ca.isBefore=zr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Ei,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Xn,ca.parsingFlags=Ti,ca.set=pe,ca.startOf=yi,ca.subtract=Rr,ca.toArray=xi,ca.toObject=Si,ca.toDate=_i,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=Ci,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=$i,ca.eraName=Oi,ca.eraNarrow=Mi,ca.eraAbbr=Ii,ca.eraYear=Fi,ca.year=gt,ca.isLeapYear=yt,ca.weekYear=Wi,ca.isoWeekYear=zi,ca.quarter=ca.quarters=Qi,ca.month=ut,ca.daysInMonth=ht,ca.week=ca.weeks=$t,ca.isoWeek=ca.isoWeeks=kt,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Wt,ca.isoWeekday=zt,ca.dayOfYear=ta,ca.hour=ca.hours=rn,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=_r,ca.isDST=xr,ca.isLocal=Cr,ca.isUtcOffset=Er,ca.isUtc=Tr,ca.isUTC=Tr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=E("dates accessor is deprecated. Use date instead.",ea),ca.months=E("months accessor is deprecated. Use month instead",ut),ca.years=E("years accessor is deprecated. Use year instead",gt),ca.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=O.prototype;function fa(e,t,n,r){var i=vn(),a=f().set(r,t);return i[n](a,e)}function pa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}
1164
1164
  // ()
1165
1165
  // (5)
1166
1166
  // (fmt, 5)
@@ -1169,13 +1169,13 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){r
1169
1169
  // (true, 5)
1170
1170
  // (true, fmt, 5)
1171
1171
  // (true, fmt)
1172
- 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=vn(),o=e?a._week.dow:0,s=[];if(null!=n)return pa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=pa(t,(i+o)%7,r,"day");return s}function ya(e,t){return ma(e,t,"months")}function va(e,t){return ma(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 _a(e,t,n){return ga(e,t,n,"weekdaysMin")}fa.calendar=I,fa.longDateFormat=z,fa.invalidDate=K,fa.ordinal=q,fa.preparse=da,fa.postformat=da,fa.relativeTime=Q,fa.pastFuture=ee,fa.set=G,fa.eras=$i,fa.erasParse=Gi,fa.erasConvertYear=Pi,fa.erasAbbrRegex=Fi,fa.erasNameRegex=Ri,fa.erasNarrowRegex=Ai,fa.months=at,fa.monthsShort=ot,fa.monthsParse=lt,fa.monthsRegex=ft,fa.monthsShortRegex=dt,fa.week=Ct,fa.firstDayOfYear=Lt,fa.firstDayOfWeek=Tt,fa.weekdays=Nt,fa.weekdaysMin=Bt,fa.weekdaysShort=Ht,fa.weekdaysParse=Yt,fa.weekdaysRegex=Vt,fa.weekdaysShortRegex=Kt,fa.weekdaysMinRegex=Zt,fa.isPM=tn,fa.meridiem=an,mn("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")}}),
1172
+ 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=vn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(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 _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=I,ma.longDateFormat=z,ma.invalidDate=Z,ma.ordinal=q,ma.preparse=da,ma.postformat=da,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=G,ma.eras=ki,ma.erasParse=Gi,ma.erasConvertYear=Pi,ma.erasAbbrRegex=Di,ma.erasNameRegex=Ri,ma.erasNarrowRegex=Ai,ma.months=at,ma.monthsShort=ot,ma.monthsParse=lt,ma.monthsRegex=mt,ma.monthsShortRegex=dt,ma.week=Ct,ma.firstDayOfYear=Lt,ma.firstDayOfWeek=Tt,ma.weekdays=Nt,ma.weekdaysMin=Bt,ma.weekdaysShort=Ht,ma.weekdaysParse=Yt,ma.weekdaysRegex=Vt,ma.weekdaysShortRegex=Zt,ma.weekdaysMinRegex=Kt,ma.isPM=tn,ma.meridiem=an,pn("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")}}),
1173
1173
  // Side effect imports
1174
- r.lang=E("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",vn);var xa=Math.abs;function Sa(){var e=this._data;return this._milliseconds=xa(this._milliseconds),this._days=xa(this._days),this._months=xa(this._months),e.milliseconds=xa(e.milliseconds),e.seconds=xa(e.seconds),e.minutes=xa(e.minutes),e.hours=xa(e.hours),e.months=xa(e.months),e.years=xa(e.years),this}function Ca(e,t,n,r){var i=$r(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1174
+ r.lang=E("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",vn);var xa=Math.abs;function Sa(){var e=this._data;return this._milliseconds=xa(this._milliseconds),this._days=xa(this._days),this._months=xa(this._months),e.milliseconds=xa(e.milliseconds),e.seconds=xa(e.seconds),e.minutes=xa(e.minutes),e.hours=xa(e.hours),e.months=xa(e.months),e.years=xa(e.years),this}function Ca(e,t,n,r){var i=kr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1175
1175
  // supports only 2.0-style add(1, 's') or add(duration)
1176
1176
  function Ea(e,t){return Ca(this,e,t,1)}
1177
1177
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
1178
- function Ta(e,t){return Ca(this,e,t,-1)}function La(e){return e<0?Math.floor(e):Math.ceil(e)}function ka(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;
1178
+ function Ta(e,t){return Ca(this,e,t,-1)}function La(e){return e<0?Math.floor(e):Math.ceil(e)}function $a(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;
1179
1179
  // if we have a mix of positive and negative values, bubble down first
1180
1180
  // check: https://github.com/moment/moment/issues/2166
1181
1181
  return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*La(Ga(s)+o),o=0,s=0),
@@ -1183,20 +1183,20 @@ return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*La(Ga(s)+o),o=0,s=0),
1183
1183
  // examples of what that means.
1184
1184
  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,o+=ce(n/24),s+=
1185
1185
  // convert days to months
1186
- i=ce($a(o)),o-=La(Ga(i)),
1186
+ i=ce(ka(o)),o-=La(Ga(i)),
1187
1187
  // 12 months -> 1 year
1188
- r=ce(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function $a(e){
1188
+ r=ce(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function ka(e){
1189
1189
  // 400 years have 146097 days (taking into account leap year rules)
1190
1190
  // 400 years have 12 months === 4800
1191
1191
  return 4800*e/146097}function Ga(e){
1192
1192
  // the reverse of daysToMonths
1193
- return 146097*e/4800}function Pa(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+$a(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
1193
+ return 146097*e/4800}function Pa(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+ka(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
1194
1194
  // handle milliseconds separately because of floating point math errors (issue #1867)
1195
1195
  t=this._days+Math.round(Ga(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;
1196
1196
  // Math.floor prevents floating point math errors here
1197
1197
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1198
1198
  // TODO: Use this.as('ms')?
1199
- function Oa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ma(e){return function(){return this.as(e)}}var Ia=Ma("ms"),Da=Ma("s"),Ra=Ma("m"),Fa=Ma("h"),Aa=Ma("d"),Na=Ma("w"),Ha=Ma("M"),Ba=Ma("Q"),Ua=Ma("y");function Ya(){return $r(this)}function ja(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wa(e){return function(){return this.isValid()?this._data[e]:NaN}}var za=Wa("milliseconds"),Va=Wa("seconds"),Ka=Wa("minutes"),Za=Wa("hours"),Xa=Wa("days"),qa=Wa("months"),Ja=Wa("years");function Qa(){return ce(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1199
+ function Oa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ma(e){return function(){return this.as(e)}}var Ia=Ma("ms"),Fa=Ma("s"),Ra=Ma("m"),Da=Ma("h"),Aa=Ma("d"),Na=Ma("w"),Ha=Ma("M"),Ba=Ma("Q"),Ua=Ma("y");function Ya(){return kr(this)}function ja(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wa(e){return function(){return this.isValid()?this._data[e]:NaN}}var za=Wa("milliseconds"),Va=Wa("seconds"),Za=Wa("minutes"),Ka=Wa("hours"),Xa=Wa("days"),qa=Wa("months"),Ja=Wa("years");function Qa(){return ce(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1200
1200
  s:45,// seconds to minute
1201
1201
  m:45,// minutes to hour
1202
1202
  h:22,// hours to day
@@ -1204,7 +1204,7 @@ d:26,// days to month/week
1204
1204
  w:null,// weeks to month
1205
1205
  M:11};
1206
1206
  // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
1207
- function no(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ro(e,t,n,r){var i=$r(e).abs(),a=eo(i.as("s")),o=eo(i.as("m")),s=eo(i.as("h")),l=eo(i.as("d")),c=eo(i.as("M")),u=eo(i.as("w")),h=eo(i.as("y")),d=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=r,no.apply(null,d)}
1207
+ function no(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ro(e,t,n,r){var i=kr(e).abs(),a=eo(i.as("s")),o=eo(i.as("m")),s=eo(i.as("h")),l=eo(i.as("d")),c=eo(i.as("M")),u=eo(i.as("w")),h=eo(i.as("y")),d=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=r,no.apply(null,d)}
1208
1208
  // This function allows you to set the rounding function for relative time strings
1209
1209
  function io(e){return void 0===e?eo:"function"==typeof e&&(eo=e,!0)}
1210
1210
  // This function allows you to set a threshold for relative time strings
@@ -1222,13 +1222,13 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
1222
1222
  // 12 months -> 1 year
1223
1223
  n=ce(u/12),u%=12,
1224
1224
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1225
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",a=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",s=lo(this._milliseconds)!==lo(h)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+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=ar,uo.abs=Sa,uo.add=Ea,uo.subtract=Ta,uo.as=Pa,uo.asMilliseconds=Ia,uo.asSeconds=Da,uo.asMinutes=Ra,uo.asHours=Fa,uo.asDays=Aa,uo.asWeeks=Na,uo.asMonths=Ha,uo.asQuarters=Ba,uo.asYears=Ua,uo.valueOf=Oa,uo._bubble=ka,uo.clone=Ya,uo.get=ja,uo.milliseconds=za,uo.seconds=Va,uo.minutes=Ka,uo.hours=Za,uo.days=Xa,uo.weeks=Qa,uo.months=qa,uo.years=Ja,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1225
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",a=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",s=lo(this._milliseconds)!==lo(h)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+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=ar,uo.abs=Sa,uo.add=Ea,uo.subtract=Ta,uo.as=Pa,uo.asMilliseconds=Ia,uo.asSeconds=Fa,uo.asMinutes=Ra,uo.asHours=Da,uo.asDays=Aa,uo.asWeeks=Na,uo.asMonths=Ha,uo.asQuarters=Ba,uo.asYears=Ua,uo.valueOf=Oa,uo._bubble=$a,uo.clone=Ya,uo.get=ja,uo.milliseconds=za,uo.seconds=Va,uo.minutes=Za,uo.hours=Ka,uo.days=Xa,uo.weeks=Qa,uo.months=qa,uo.years=Ja,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
1226
1226
  // FORMATTING
1227
1227
  H("X",0,0,"unix"),H("x",0,0,"valueOf"),
1228
1228
  // PARSING
1229
- Ie("x",$e),Ie("X",Oe),Ne("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ne("x",(function(e,t,n){n._d=new Date(ue(e))})),
1229
+ Ie("x",ke),Ie("X",Oe),Ne("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ne("x",(function(e,t,n){n._d=new Date(ue(e))})),
1230
1230
  //! moment.js
1231
- r.version="2.29.4",i(Zn),r.fn=ca,r.min=Qn,r.max=tr,r.now=nr,r.utc=p,r.unix=ua,r.months=ya,r.isDate=h,r.locale=mn,r.invalid=v,r.duration=$r,r.isMoment=S,r.weekdays=ba,r.parseZone=ha,r.localeData=vn,r.isDuration=lr,r.monthsShort=va,r.weekdaysMin=_a,r.defineLocale=gn,r.updateLocale=yn,r.locales=bn,r.weekdaysShort=wa,r.normalizeUnits=re,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ur,r.prototype=ca,
1231
+ r.version="2.29.4",i(Kn),r.fn=ca,r.min=Qn,r.max=er,r.now=nr,r.utc=f,r.unix=ua,r.months=ya,r.isDate=h,r.locale=pn,r.invalid=v,r.duration=kr,r.isMoment=S,r.weekdays=ba,r.parseZone=ha,r.localeData=vn,r.isDuration=lr,r.monthsShort=va,r.weekdaysMin=_a,r.defineLocale=gn,r.updateLocale=yn,r.locales=bn,r.weekdaysShort=wa,r.normalizeUnits=re,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ur,r.prototype=ca,
1232
1232
  // currently HTML5 input type only supports 24-hour formats
1233
1233
  r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
1234
1234
  DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
@@ -1238,146 +1238,150 @@ TIME:"HH:mm",// <input type="time" />
1238
1238
  TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1239
1239
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1240
1240
  WEEK:"GGGG-[W]WW",// <input type="week" />
1241
- MONTH:"YYYY-MM"},r}()}));function Hr(e,t){At(e,t)}const Br={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"}},Ur={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$"};
1241
+ MONTH:"YYYY-MM"},r}()}));function Br(e,t){Nt(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$"};
1242
1242
  /* eslint-disable quote-props */
1243
1243
  /* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.59.2 */
1244
- function Yr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function jr(e,t,n){const r=e.slice();return r[101]=t[n],r}
1245
- // (541:8) {#if lang}
1246
- function Wr(e){let t,n,r,i,a=/*$_*/e[35]("playNow")+"";return{c(){t=m("button"),n=y(a),_(t,"class","GameInfoBtn")},m(a,o){d(a,t,o),h(t,n),r||(i=w(t,"click",/*click_handler*/e[63]),r=!0)},p(e,t){/*$_*/16&t[1]&&a!==(a=/*$_*/e[35]("playNow")+"")&&S(n,a)},d(e){e&&f(t),r=!1,i()}}}
1247
- // (551:8) {#if gameisnew}
1248
- function zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=m("span"),n=y(r),_(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&S(n,r)},d(e){e&&f(t)}}}
1249
- // (554:8) {#if gametag}
1250
- function Vr(e){let t,n;return{c(){t=m("span"),n=y(/*gametag*/e[8]),_(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&f(t)}}}
1251
- // (557:8) {#if livegamedata}
1252
- function Kr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Zr(e);function i(e,t){/*isopen*/
1253
- return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===ui?qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===hi?Xr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),d(e,t,i),o&&o.m(e,i),d(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Zr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&f(t),o&&o.d(e),e&&f(n)}}}
1254
- // (558:10) {#if !isopen && starttime && timeformat}
1255
- function Zr(e){let t,n,r,i,a,o,s,l,c,u,p=/*$_*/e[35]("opens")+"",g=Nr.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=m("div"),n=m("div"),r=y(p),i=v(),a=m("span"),o=y(g),s=v(),l=new T(!1),c=v(),u=new T(!1),_(n,"class","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps")},m(e,f){d(e,t,f),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(b,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&p!==(p=/*$_*/e[35]("opens")+"")&&S(r,p),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Nr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(o,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&&f(t)}}}
1256
- // (591:70)
1257
- function Xr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(fi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ti(Yr(e,c,t));return{c(){t=m("div"),n=m("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new T(!1),a=v(),o=new T(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class",/*roulettecontainerclassname*/e[30])},m(c,f){d(c,t,f),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
1258
- /*div0_binding*/e[64](n),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(fi),t=0;t<c.length;t+=1){const i=Yr(e,c,t);u[t]?u[t].p(i,r):(u[t]=ti(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]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.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]&&_(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&f(t),p(u,n),
1244
+ 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}
1245
+ // (539:8) {#if lang}
1246
+ function zr(e){let t,n,r,i,a,o,s=!Ar(/*userAgent*/e[36]),l=/*$_*/e[35]("playNow")+"",c=s&&
1247
+ // (541:12) {#if !isMobile(userAgent)}
1248
+ function(e){let t,n,r,i,a,o;return{c(){t=g("svg"),n=g("g"),r=g("g"),i=g("path"),a=g("path"),o=g("path"),_(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),_(i,"stroke","none"),_(a,"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"),_(a,"stroke","none"),_(a,"fill","#fff"),_(r,"id","Ellipse_664_copy"),_(r,"data-name","Ellipse 664 copy"),_(r,"transform","translate(26 13)"),_(r,"fill","rgba(249,165,2,0)"),_(o,"id","Rounded_Rectangle_683"),_(o,"data-name","Rounded Rectangle 683"),_(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"),_(o,"transform","translate(-1102 -885)"),_(o,"fill","#fff"),_(n,"id","Group_5260"),_(n,"data-name","Group 5260"),_(n,"transform","translate(-26 -13)"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","28"),_(t,"height","28"),_(t,"viewBox","0 0 28 28")},m(e,s){d(e,t,s),h(t,n),h(n,r),h(r,i),h(r,a),h(n,o)},d(e){e&&m(t)}}}
1249
+ // (559:8) {#if gameisnew}
1250
+ ();return{c(){t=p("button"),c&&c.c(),n=v(),r=p("span"),i=y(l),_(t,"class","GameInfoBtn")},m(s,l){d(s,t,l),c&&c.m(t,null),h(t,n),h(t,r),h(r,i),a||(o=w(t,"click",/*click_handler*/e[63]),a=!0)},p(e,t){/*$_*/16&t[1]&&l!==(l=/*$_*/e[35]("playNow")+"")&&S(i,l)},d(e){e&&m(t),c&&c.d(),a=!1,o()}}}function Vr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=p("span"),n=y(r),_(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&S(n,r)},d(e){e&&m(t)}}}
1251
+ // (562:8) {#if gametag}
1252
+ function Zr(e){let t,n;return{c(){t=p("span"),n=y(/*gametag*/e[8]),_(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&m(t)}}}
1253
+ // (565:8) {#if livegamedata}
1254
+ function Kr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Xr(e);function i(e,t){/*isopen*/
1255
+ return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===di?Jr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===mi?qr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),d(e,t,i),o&&o.m(e,i),d(e,n,i)},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),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&m(t),o&&o.d(e),e&&m(n)}}}
1256
+ // (566:10) {#if !isopen && starttime && timeformat}
1257
+ function Xr(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/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=p("div"),n=p("div"),r=y(f),i=v(),a=p("span"),o=y(g),s=v(),l=new L(!1),c=v(),u=new L(!1),_(n,"class","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps")},m(e,m){d(e,t,m),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(b,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&f!==(f=/*$_*/e[35]("opens")+"")&&S(r,f),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Hr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(o,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)}}}
1258
+ // (599:70)
1259
+ function qr(e){let t,n,r,i,a,o,s=/*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=p("div"),n=p("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new L(!1),a=v(),o=new L(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class",/*roulettecontainerclassname*/e[30])},m(c,m){d(c,t,m),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
1260
+ /*div0_binding*/e[64](n),h(t,r),i.m(s,t),h(t,a),o.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]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.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]&&_(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&m(t),f(u,n),
1259
1261
  /*div0_binding*/e[64](null)}}}
1260
- // (570:10) {#if isopen && displaytype && displaytype === BLACKJACK}
1261
- function qr(e){let t,n,r,i,a,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*/
1262
- return e[32]?ri:ni}let u=c(e),p=u(e);return{c(){t=m("div"),n=m("div"),p.c(),r=v(),i=new T(!1),a=v(),o=new T(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){d(e,t,c),h(t,n),p.m(n,null),h(t,r),i.m(s,t),h(t,a),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])+"")&&i.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&&f(t),p.d()}}}
1263
- // (595:18) {#if roulleteresults && roulleteresults[i]}
1264
- function Jr(e){let t;function n(e,t){/*isdouble*/
1265
- return e[29]?ei:Qr}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),d(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&&f(t)}}}
1266
- // (601:20) {:else}
1267
- function Qr(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 T(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),d(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&&f(n),e&&t.d()}}}
1268
- // (596:20) {#if isdouble}
1269
- function ei(e){let t,n,r,i,a,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=m("div"),n=new T(!1),r=v(),i=new T(!1),a=v(),n.a=r,i.a=a,_(t,"class","Double")},m(e,l){d(e,t,l),n.m(o,t),h(t,r),i.m(s,t),h(t,a)},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]])+"")&&i.p(s)},d(e){e&&f(t)}}}
1270
- // (594:16) {#each new Array(numberofdisplayedresults) as garbage, i}
1271
- function ti(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]&&Jr(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,r){/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[106]]?n?n.p(e,r):(n=Jr(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
1272
- // (577:16) {:else}
1273
- function ni(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=ii(jr(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);d(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 o=jr(e,n,a);r[a]?r[a].p(o,i):(r[a]=ii(o),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&&f(t)}}}
1274
- // (573:16) {#if istablefull}
1275
- function ri(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=m("span"),n=y(r),_(t,"class","FullTable")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&S(n,r)},d(e){e&&f(t)}}}
1276
- // (578:18) {#each seats as seatData}
1277
- function ii(e){let t,n,r,i,a,o;return{c(){t=m("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),_(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"),_(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"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,o){d(e,t,o),h(t,n),h(n,r),h(n,i),h(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")&&_(t,"class",o)},d(e){e&&f(t)}}}
1278
- // (632:79)
1279
- function ai(t){let n;return{c(){n=m("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>',_(n,"class","FavIconContainer")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
1280
- // (619:68)
1281
- function oi(t){let n,r,i;return{c(){n=m("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>',_(n,"class","FavIconContainer")},m(e,a){d(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[66]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
1282
- // (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
1283
- function si(t){let n,r,i;return{c(){n=m("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>',_(n,"class","FavIconContainer")},m(e,a){d(e,n,a),r||(i=w(n,"click",/*click_handler_1*/t[65]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
1284
- // (641:2) {#if showgamename === 'true'}
1285
- function li(e){let t,n;return{c(){t=m("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){d(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function ci(t){let n,r,i,a,o,s,c,u,p,g,b,w,x,C,T,L,k,$,G,P,O,M,I,D,R,F,A=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",N=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&zr(t),B=/*gametag*/t[8]&&Vr(t),U=/*livegamedata*/t[13]&&Kr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
1286
- return 65541&t[0]&&(O=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(M=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==O&&(O=!(Fr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),O?si:(null==M&&(M=!(Fr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),M?oi:(null==I&&(I=!!(Fr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?ai:void 0))}let j=Y(t,[-1,-1,-1,-1]),W=j&&j(t),z=/*showgamename*/"true"===t[10]&&li(t);return{c(){n=m("div"),r=m("div"),i=m("img"),s=v(),c=m("div"),u=m("div"),p=m("p"),g=y(/*gamename*/t[4]),b=v(),N&&N.c(),w=v(),x=m("span"),C=y(A),T=v(),L=m("div"),k=m("div"),H&&H.c(),$=v(),B&&B.c(),G=v(),U&&U.c(),P=v(),W&&W.c(),R=v(),z&&z.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),_(i,"alt",""),_(i,"loading","lazy"),_(p,"class","GameInfoName"),_(p,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(x,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_(k,"class","GameExtraInfo"),_(L,"class","GameExtraInfoContainer"),_(r,"class",D="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",F=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),E(n,"WithGameName",/*showgamename*/t[10])},m(e,a){d(e,n,a),h(n,r),h(r,i),
1287
- /*img_binding*/t[62](i),h(r,s),h(r,c),h(c,u),h(u,p),h(p,g),h(u,b),N&&N.m(u,null),h(c,w),h(c,x),h(x,C),h(r,T),h(r,L),h(L,k),H&&H.m(k,null),h(k,$),B&&B.m(k,null),h(k,G),U&&U.m(k,null),h(L,P),W&&W.m(L,null),h(n,R),z&&z.m(n,null)
1288
- /*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(i,"class",o),/*gamename*/16&t[0]&&S(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(p,"title",/*gamename*/e[4]),/*lang*/e[1]?N?N.p(e,t):(N=Wr(e),N.c(),N.m(u,null)):N&&(N.d(1),N=null),/*gamevendor*/32&t[0]&&A!==(A=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(C,A),/*gameisnew*/e[7]?H?H.p(e,t):(H=zr(e),H.c(),H.m(k,$)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Vr(e),B.c(),B.m(k,G)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Kr(e),U.c(),U.m(k,null)):U&&(U.d(1),U=null),j===(j=Y(e,t))&&W?W.p(e,t):(W&&W.d(1),W=j&&j(e),W&&(W.c(),W.m(L,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&D!==(D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",D),/*showgamename*/"true"===e[10]?z?z.p(e,t):(z=li(e),z.c(),z.m(n,null)):z&&(z.d(1),z=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&F!==(F=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",F),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&E(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&f(n)
1289
- /*img_binding*/,t[62](null),N&&N.d(),H&&H.d(),B&&B.d(),U&&U.d(),W&&W.d(),z&&z.d()
1290
- /*div5_binding*/,t[67](null)}}}const ui="blackjack",hi="roulette",di="doubleballroulette",fi=5;function pi(e,t,n){let r;u(e,Ln,(e=>n(35,r=e)));let i,a,o,s,l,c,h,d,f,p,m,g,y,v,b,w,_,x,S,C,E,T,L,k,G,{session:O=""}=t,{userid:M=""}=t,{lang:I="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:R=""}=t,{translationurl:A=""}=t,{favorites:N=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:W=""}=t,{gametag:z=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:K=!1}=t,{gamecellsize:Z=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:q=""}=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:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,he="HH:mm",de={},fe=[],pe="EUR",me="";const ge=[ui],ye=[hi,di],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(Br).forEach((e=>{Hr(e,Br[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${j}`||X||n(0,K=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||X||n(0,K=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},_e=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1262
+ // (578:10) {#if isopen && displaytype && displaytype === BLACKJACK}
1263
+ function Jr(e){let t,n,r,i,a,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*/
1264
+ return e[32]?ii:ri}let u=c(e),f=u(e);return{c(){t=p("div"),n=p("div"),f.c(),r=v(),i=new L(!1),a=v(),o=new L(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){d(e,t,c),h(t,n),f.m(n,null),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&f?f.p(e,t):(f.d(1),f=u(e),f&&(f.c(),f.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.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&&m(t),f.d()}}}
1265
+ // (603:18) {#if roulleteresults && roulleteresults[i]}
1266
+ function Qr(e){let t;function n(e,t){/*isdouble*/
1267
+ 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),d(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)}}}
1268
+ // (609:20) {:else}
1269
+ 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 L(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),d(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()}}}
1270
+ // (604:20) {#if isdouble}
1271
+ function ti(e){let t,n,r,i,a,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=p("div"),n=new L(!1),r=v(),i=new L(!1),a=v(),n.a=r,i.a=a,_(t,"class","Double")},m(e,l){d(e,t,l),n.m(o,t),h(t,r),i.m(s,t),h(t,a)},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]])+"")&&i.p(s)},d(e){e&&m(t)}}}
1272
+ // (602:16) {#each new Array(numberofdisplayedresults) as garbage, i}
1273
+ 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),d(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)}}}
1274
+ // (585:16) {:else}
1275
+ function ri(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=ai(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);d(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 o=Wr(e,n,a);r[a]?r[a].p(o,i):(r[a]=ai(o),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){f(r,e),e&&m(t)}}}
1276
+ // (581:16) {#if istablefull}
1277
+ function ii(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=p("span"),n=y(r),_(t,"class","FullTable")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&S(n,r)},d(e){e&&m(t)}}}
1278
+ // (586:18) {#each seats as seatData}
1279
+ function ai(e){let t,n,r,i,a,o;return{c(){t=p("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),_(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"),_(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"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,o){d(e,t,o),h(t,n),h(n,r),h(n,i),h(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")&&_(t,"class",o)},d(e){e&&m(t)}}}
1280
+ // (638:56)
1281
+ function oi(t){let n;return{c(){n=p("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>',_(n,"class","FavIconContainer")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
1282
+ // (621:6) {#if !isMobile(userAgent)}
1283
+ function si(e){let t,n,r;function i(e,t){/*gamefavorite*/
1284
+ return e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?ci:!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]?li:void 0}let a=i(e),o=a&&a(e);return{c(){t=p("div"),n=p("span"),r=v(),o&&o.c(),_(n,"class","GameInfoVendor"),E(n,"background-image","url("+/*gamevendor*/e[5]+")"),_(t,"class","GameTopContainer")},m(e,i){d(e,t,i),h(t,n),h(t,r),o&&o.m(t,null)},p(e,r){/*gamevendor*/32&r[0]&&E(n,"background-image","url("+/*gamevendor*/e[5]+")"),a===(a=i(e))&&o?o.p(e,r):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&m(t),o&&o.d()}}}
1285
+ // (630:48)
1286
+ function li(t){let n,r,i;return{c(){n=p("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>',_(n,"class","FavIconContainer")},m(e,a){d(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()}}}
1287
+ // (624:10) {#if gamefavorite && isLoggedIn && favorites}
1288
+ function ci(t){let n,r,i;return{c(){n=p("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>',_(n,"class","FavIconContainer")},m(e,a){d(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()}}}
1289
+ // (647:2) {#if showgamename === 'true'}
1290
+ function ui(e){let t,n;return{c(){t=p("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){d(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function hi(t){let n,r,i,a,o,s,c,u,f,g,y,b,w,x,S,C,E,L,$=/*lang*/t[1]&&zr(t),k=/*gameisnew*/t[7]&&Vr(t),G=/*gametag*/t[8]&&Zr(t),P=/*livegamedata*/t[13]&&Kr(t);function O(e,t){return null==S&&(S=!Ar(/*userAgent*/e[36])),S?si:/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2]?oi:void 0}let M=O(t),I=M&&M(t),F=/*showgamename*/"true"===t[10]&&ui(t);return{c(){n=p("div"),r=p("div"),i=p("img"),s=v(),c=p("div"),u=p("div"),$&&$.c(),f=v(),g=p("div"),y=p("div"),k&&k.c(),b=v(),G&&G.c(),w=v(),P&&P.c(),x=v(),I&&I.c(),E=v(),F&&F.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),_(i,"alt","Game thumbnail"),_(i,"loading","lazy"),_(u,"class","GameInfo"),_(c,"class","GameInfoWrapper"),_(y,"class","GameExtraInfo"),_(g,"class","GameExtraInfoContainer"),_(r,"class",C="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",L=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),T(n,"WithGameName",/*showgamename*/t[10])},m(e,a){d(e,n,a),h(n,r),h(r,i),
1291
+ /*img_binding*/t[62](i),h(r,s),h(r,c),h(c,u),$&&$.m(u,null),h(r,f),h(r,g),h(g,y),k&&k.m(y,null),h(y,b),G&&G.m(y,null),h(y,w),P&&P.m(y,null),h(g,x),I&&I.m(g,null),h(n,E),F&&F.m(n,null)
1292
+ /*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(i,"class",o),/*lang*/e[1]?$?$.p(e,t):($=zr(e),$.c(),$.m(u,null)):$&&($.d(1),$=null),/*gameisnew*/e[7]?k?k.p(e,t):(k=Vr(e),k.c(),k.m(y,b)):k&&(k.d(1),k=null),/*gametag*/e[8]?G?G.p(e,t):(G=Zr(e),G.c(),G.m(y,w)):G&&(G.d(1),G=null),/*livegamedata*/e[13]?P?P.p(e,t):(P=Kr(e),P.c(),P.m(y,null)):P&&(P.d(1),P=null),M===(M=O(e))&&I?I.p(e,t):(I&&I.d(1),I=M&&M(e),I&&(I.c(),I.m(g,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&C!==(C="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",C),/*showgamename*/"true"===e[10]?F?F.p(e,t):(F=ui(e),F.c(),F.m(n,null)):F&&(F.d(1),F=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&L!==(L=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",L),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&T(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&m(n)
1293
+ /*img_binding*/,t[62](null),$&&$.d(),k&&k.d(),G&&G.d(),P&&P.d(),I&&I.d(),F&&F.d()
1294
+ /*div5_binding*/,t[67](null)}}}const di="blackjack",mi="roulette",fi="doubleballroulette",pi=5;function gi(e,t,n){let r;u(e,$n,(e=>n(35,r=e)));let i,a,o,s,l,c,h,d,m,f,p,g,y,v,b,w,_,x,S,C,E,T,L,$,k,{session:P=""}=t,{userid:M=""}=t,{lang:I="en"}=t,{clientstyling:F=""}=t,{clientstylingurl:R=""}=t,{translationurl:D=""}=t,{favorites:N=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:W=""}=t,{gametag:z=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:q=""}=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:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,he="HH:mm",de={},me=[],fe="EUR",pe="";const ge=[di],ye=[mi,fi],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}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||X||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,s=null)},_e=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
1291
1295
  //Analytics event -- if game was searched
1292
1296
  "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1293
1297
  // Case mobile
1294
- Fr(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Fr(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Fr(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Fr(ue)},window.location.href),
1298
+ Ar(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ar(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Ar(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ar(ue)},window.location.href),
1295
1299
  // Case desktop
1296
- Fr(ue)||"true"!=ae?Fr(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Fr(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Fr(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{K?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=I,sn.set(e)},Ce=()=>{ne&&EventSource&&!l&&U&&j&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${j}`),l.addEventListener("message",Te))},Ee=()=>{l&&(l.close(),l=void 0)},Te=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1300
+ Ar(ue)||"true"!=ae?Ar(ue)||"false"!=ae||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:U,launchUrl:Y},window.location.href)},xe=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=I,ln.set(e)},Ce=()=>{ne&&EventSource&&!l&&U&&j&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${j}`),l.addEventListener("message",Te))},Ee=()=>{l&&(l.close(),l=void 0)},Te=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1297
1301
  // eslint-disable-next-line no-console
1298
1302
  console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1299
1303
  r,Seats:// Roads, // for baccarat
1300
- a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(13,s.currentOccupiedSeats=a,s),await F());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,s.currentRouletteNumbers=r,s),await F());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,s.currentDoubleBallRouletteNumbers=r,s),await F());break;case"TableOpened":case"TableClosed":n(22,d=o),n(13,s.isOpen=o,s),await F()}// default case
1304
+ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(13,s.currentOccupiedSeats=a,s),await A());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,s.currentRouletteNumbers=r,s),await A());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,s.currentDoubleBallRouletteNumbers=r,s),await A());break;case"TableOpened":case"TableClosed":n(22,d=o),n(13,s.isOpen=o,s),await A()}// default case
1301
1305
  }}// default case
1302
- },Le=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",ke=(e,t)=>e.some((e=>e===t)),$e=()=>{if(s){if(n(22,d=s.isOpen),de=s.betLimit||{},n(23,f=s.openHours),n(24,fe=(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}})(s).seats),f&&f.value){const{value:{startTime:e,originalTimeFormat:t}}=f;/* , timeFormat: timeFormatRaw */n(20,h=e),n(21,he=t||he)}d&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();ke(ge,e)?t=ui:ke(ye,e)&&(t=hi)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1306
+ },Le=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",$e=(e,t)=>e.some((e=>e===t)),ke=()=>{if(s){if(n(22,d=s.isOpen),de=s.betLimit||{},n(23,m=s.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}})(s).seats),m&&m.value){const{value:{startTime:e,originalTimeFormat:t}}=m;/* , timeFormat: timeFormatRaw */n(20,h=e),n(21,he=t||he)}d&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();$e(ge,e)?t=di:$e(ye,e)&&(t=mi)}// else if (contains(baccaratCategory, gameTypeToLower)) {
1303
1307
  // GameComponent = 'baccarat';
1304
1308
  }// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
1305
1309
  // GameComponent = 'poker';
1306
1310
  // }
1307
- return t})(s)),n(25,pe=Ur[J]),n(26,p=(de.min||{})[J]),n(27,m=(de.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===di),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,C=ke(ye,w.toLowerCase())?be:ve),T=E,n(32,E=Array.isArray(y)&&y.length===g),s.dealer&&n(34,k=s.dealer.DealerName),G=s.numberOfPlayers,n(33,me="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,me+=" GameBackdrop"),d&&E&&p&&m&&s.currentOccupiedSeats?n(33,me+=" GameContainerDimmed"):!1===d&&h&&n(33,me+=" GameContainerFullyDimmed"),o&&(!T&&E?(n(33,me+=" PulsatingRedShadow"),n(33,me=me.replace(" PulsatingGreenShadow",""))):T&&!E&&(n(33,me+=" PulsatingGreenShadow"),n(33,me=me.replace(" PulsatingRedShadow",""))))}},Ge=()=>{let e=new URL(R),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};$((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Te)})));return e.$$set=e=>{"session"in e&&n(43,O=e.session),"userid"in e&&n(44,M=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,R=e.clientstylingurl),"translationurl"in e&&n(47,A=e.translationurl),"favorites"in e&&n(2,N=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,W=e.gameisnew),"gametag"in e&&n(8,z=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,K=e.gamefavorite),"gamecellsize"in e&&n(9,Z=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,q=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,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Ee():"connect"===re&&Ce()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Ee():"connect"===ie&&"connect"===re&&Ce()),/*lang*/2&e.$$.dirty[0]&&I&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&O&&M&&ee&&(n(16,le=!0),i=M),/*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]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&R&&o&&Ge(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&A&&fetch(A).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Hr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&Z&&R&&Ge(),/*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),
1311
+ return t})(s)),n(25,fe=Yr[J]),n(26,f=(de.min||{})[J]),n(27,p=(de.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===fi),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,C=$e(ye,w.toLowerCase())?be:ve),T=E,n(32,E=Array.isArray(y)&&y.length===g),s.dealer&&n(34,$=s.dealer.DealerName),k=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),d&&E&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===d&&h&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!T&&E?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):T&&!E&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Ge=()=>{let e=new URL(R),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};G((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Te)})));return e.$$set=e=>{"session"in e&&n(43,P=e.session),"userid"in e&&n(44,M=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,F=e.clientstyling),"clientstylingurl"in e&&n(46,R=e.clientstylingurl),"translationurl"in e&&n(47,D=e.translationurl),"favorites"in e&&n(2,N=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,W=e.gameisnew),"gametag"in e&&n(8,z=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,X=e.showfavoredcategory),"showgamename"in e&&n(10,q=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,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Ee():"connect"===re&&Ce()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Ee():"connect"===ie&&"connect"===re&&Ce()),/*lang*/2&e.$$.dirty[0]&&I&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&P&&M&&ee&&(n(16,le=!0),i=M),/*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]&&F&&o&&(()=>{let e=document.createElement("style");e.innerHTML=F,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&R&&o&&Ge(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&D&&fetch(D).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&&R&&Ge(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Nr(ue)),e.searchParams.append("language",I),
1308
1312
  // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
1309
- fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&$e(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&L&&x&&(()=>{const e="FirstElementAnimated",t=L.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[K,I,N,H,B,U,j,W,z,Z,q,se,o,s,x,L,le,ce,a,c,h,he,d,f,fe,pe,p,m,y,_,S,C,E,me,k,r,ue,_e,xe,ke,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Le(e)}-${Le(t)}`),G&&(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">${G}</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 `},O,M,D,R,A,Y,V,X,J,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){P[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(j),function(e){P[e?"unshift":"push"]((()=>{L=e,n(15,L)}))},()=>xe(j),()=>xe(j),function(e){P[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}
1313
+ fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&ke(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&L&&x&&(()=>{const e="FirstElementAnimated",t=L.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,I,N,H,B,U,j,W,z,K,q,se,o,s,x,L,le,ce,a,c,h,he,d,m,me,fe,f,p,y,_,S,C,E,pe,$,r,ue,_e,xe,$e,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Le(e)}-${Le(t)}`),k&&(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">${k}</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 `},P,M,F,R,D,Y,V,X,J,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){O[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(j),function(e){O[e?"unshift":"push"]((()=>{L=e,n(15,L)}))},()=>xe(j),()=>xe(j),function(e){O[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}
1310
1314
  /* ../casino-search/src/CasinoSearch.svelte generated by Svelte v3.59.2 */
1311
- function mi(e,t,n){const r=e.slice();return r[53]=t[n],r}
1315
+ function yi(e,t,n){const r=e.slice();return r[53]=t[n],r}
1312
1316
  // (312:10) {#if cancelbutton === 'true'}
1313
- function gi(e){let t,n,r,i,a,o=/*$_*/e[20]("cancel")+"";return{c(){t=m("small"),n=y(o),_(t,"class",r="SearchCancelButton "+(/*searchCancelled*/e[12]?"NotVisible":""))},m(r,o){d(r,t,o),h(t,n),i||(a=w(t,"click",/*click_handler_1*/e[35]),i=!0)},p(e,i){/*$_*/1048576&i[0]&&o!==(o=/*$_*/e[20]("cancel")+"")&&S(n,o),/*searchCancelled*/4096&i[0]&&r!==(r="SearchCancelButton "+(/*searchCancelled*/e[12]?"NotVisible":""))&&_(t,"class",r)},d(e){e&&f(t),i=!1,a()}}}
1317
+ function vi(e){let t,n,r,i,a,o=/*$_*/e[20]("cancel")+"";return{c(){t=p("small"),n=y(o),_(t,"class",r="SearchCancelButton "+(/*searchCancelled*/e[12]?"NotVisible":""))},m(r,o){d(r,t,o),h(t,n),i||(a=w(t,"click",/*click_handler_1*/e[35]),i=!0)},p(e,i){/*$_*/1048576&i[0]&&o!==(o=/*$_*/e[20]("cancel")+"")&&S(n,o),/*searchCancelled*/4096&i[0]&&r!==(r="SearchCancelButton "+(/*searchCancelled*/e[12]?"NotVisible":""))&&_(t,"class",r)},d(e){e&&m(t),i=!1,a()}}}
1314
1318
  // (322:4) {:else}
1315
- function yi(e){let t,n,r,i;function a(e,t){/*searchActive*/
1316
- return 1==e[16]&&/*searchValue*/e[11].length<2?wi:/*searchArray*/0!=e[14].length?bi:void 0}let o=a(e),s=o&&o(e),l=/*searchCancelled*/!1===e[12]&&Ci(e),c=/*searchValue*/e[11].length>=2&&/*searchArray*/0==e[14].length&&Ti(e);return{c(){s&&s.c(),t=v(),n=m("div"),l&&l.c(),r=v(),c&&c.c(),_(n,"class",i="SearchResultsContainer "+(/*searchActive*/1==e[16]?"":"NotVisible"))},m(e,i){s&&s.m(e,i),d(e,t,i),d(e,n,i),l&&l.m(n,null),h(n,r),c&&c.m(n,null)},p(e,u){o===(o=a(e))&&s?s.p(e,u):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(t.parentNode,t))),/*searchCancelled*/!1===e[12]?l?l.p(e,u):(l=Ci(e),l.c(),l.m(n,r)):l&&(l.d(1),l=null),/*searchValue*/e[11].length>=2&&/*searchArray*/0==e[14].length?c?c.p(e,u):(c=Ti(e),c.c(),c.m(n,null)):c&&(c.d(1),c=null),/*searchActive*/65536&u[0]&&i!==(i="SearchResultsContainer "+(/*searchActive*/1==e[16]?"":"NotVisible"))&&_(n,"class",i)},d(e){s&&s.d(e),e&&f(t),e&&f(n),l&&l.d(),c&&c.d()}}}
1319
+ function bi(e){let t,n,r,i;function a(e,t){/*searchActive*/
1320
+ return 1==e[16]&&/*searchValue*/e[11].length<2?xi:/*searchArray*/0!=e[14].length?_i:void 0}let o=a(e),s=o&&o(e),l=/*searchCancelled*/!1===e[12]&&Ti(e),c=/*searchValue*/e[11].length>=2&&/*searchArray*/0==e[14].length&&$i(e);return{c(){s&&s.c(),t=v(),n=p("div"),l&&l.c(),r=v(),c&&c.c(),_(n,"class",i="SearchResultsContainer "+(/*searchActive*/1==e[16]?"":"NotVisible"))},m(e,i){s&&s.m(e,i),d(e,t,i),d(e,n,i),l&&l.m(n,null),h(n,r),c&&c.m(n,null)},p(e,u){o===(o=a(e))&&s?s.p(e,u):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(t.parentNode,t))),/*searchCancelled*/!1===e[12]?l?l.p(e,u):(l=Ti(e),l.c(),l.m(n,r)):l&&(l.d(1),l=null),/*searchValue*/e[11].length>=2&&/*searchArray*/0==e[14].length?c?c.p(e,u):(c=$i(e),c.c(),c.m(n,null)):c&&(c.d(1),c=null),/*searchActive*/65536&u[0]&&i!==(i="SearchResultsContainer "+(/*searchActive*/1==e[16]?"":"NotVisible"))&&_(n,"class",i)},d(e){s&&s.d(e),e&&m(t),e&&m(n),l&&l.d(),c&&c.d()}}}
1317
1321
  // (320:4) {#if isLoading}
1318
- function vi(e){let t,n,r=/*$_*/e[20]("loading")+"";return{c(){t=m("p"),n=y(r),_(t,"class","LoadingContent")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("loading")+"")&&S(n,r)},d(e){e&&f(t)}}}
1322
+ function wi(e){let t,n,r=/*$_*/e[20]("loading")+"";return{c(){t=p("p"),n=y(r),_(t,"class","LoadingContent")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("loading")+"")&&S(n,r)},d(e){e&&m(t)}}}
1319
1323
  // (342:40)
1320
- function bi(e){let t,n,r=/*$_*/e[20]("searchResult")+"";return{c(){t=m("p"),n=y(r),_(t,"class","SearchMessage")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("searchResult")+"")&&S(n,r)},d(e){e&&f(t)}}}
1324
+ function _i(e){let t,n,r=/*$_*/e[20]("searchResult")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchMessage")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("searchResult")+"")&&S(n,r)},d(e){e&&m(t)}}}
1321
1325
  // (323:6) {#if searchActive == true && searchValue.length < 2}
1322
- function wi(e){let t,n,r=/*searchArray*/0!==e[14].length&&_i(e),i=/*searchArray*/0==e[14].length&&xi(e);return{c(){r&&r.c(),t=v(),i&&i.c(),n=b()},m(e,a){r&&r.m(e,a),d(e,t,a),i&&i.m(e,a),d(e,n,a)},p(e,a){/*searchArray*/0!==e[14].length?r?r.p(e,a):(r=_i(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),/*searchArray*/0==e[14].length?i?i.p(e,a):(i=xi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&f(t),i&&i.d(e),e&&f(n)}}}
1326
+ function xi(e){let t,n,r=/*searchArray*/0!==e[14].length&&Si(e),i=/*searchArray*/0==e[14].length&&Ci(e);return{c(){r&&r.c(),t=v(),i&&i.c(),n=b()},m(e,a){r&&r.m(e,a),d(e,t,a),i&&i.m(e,a),d(e,n,a)},p(e,a){/*searchArray*/0!==e[14].length?r?r.p(e,a):(r=Si(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),/*searchArray*/0==e[14].length?i?i.p(e,a):(i=Ci(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&m(t),i&&i.d(e),e&&m(n)}}}
1323
1327
  // (324:8) {#if searchArray.length !== 0}
1324
- function _i(e){let t,n,r=/*$_*/e[20]("recentSearch")+"";return{c(){t=m("p"),n=y(r),_(t,"class","SearchMessage")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("recentSearch")+"")&&S(n,r)},d(e){e&&f(t)}}}
1328
+ function Si(e){let t,n,r=/*$_*/e[20]("recentSearch")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchMessage")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("recentSearch")+"")&&S(n,r)},d(e){e&&m(t)}}}
1325
1329
  // (327:10) {#if searchArray.length == 0}
1326
- function xi(e){let t,n,r,i,a,o=/*$_*/e[20]("noRecentSearches")+"",s=/*notfoundicon*/"true"===e[10]&&Si();return{c(){t=m("div"),s&&s.c(),n=v(),r=m("p"),i=y(o),_(r,"class","SearchMessage"),_(t,"class",a="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,a){d(e,t,a),s&&s.m(t,null),h(t,n),h(t,r),h(r,i)},p(e,r){/*notfoundicon*/"true"===e[10]?s||(s=Si(),s.c(),s.m(t,n)):s&&(s.d(1),s=null),/*$_*/1048576&r[0]&&o!==(o=/*$_*/e[20]("noRecentSearches")+"")&&S(i,o),/*notfoundicon*/1024&r[0]&&a!==(a="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))&&_(t,"class",a)},d(e){e&&f(t),s&&s.d()}}}
1330
+ function Ci(e){let t,n,r,i,a,o=/*$_*/e[20]("noRecentSearches")+"",s=/*notfoundicon*/"true"===e[10]&&Ei();return{c(){t=p("div"),s&&s.c(),n=v(),r=p("p"),i=y(o),_(r,"class","SearchMessage"),_(t,"class",a="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,a){d(e,t,a),s&&s.m(t,null),h(t,n),h(t,r),h(r,i)},p(e,r){/*notfoundicon*/"true"===e[10]?s||(s=Ei(),s.c(),s.m(t,n)):s&&(s.d(1),s=null),/*$_*/1048576&r[0]&&o!==(o=/*$_*/e[20]("noRecentSearches")+"")&&S(i,o),/*notfoundicon*/1024&r[0]&&a!==(a="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))&&_(t,"class",a)},d(e){e&&m(t),s&&s.d()}}}
1327
1331
  // (329:12) {#if notfoundicon === 'true'}
1328
- function Si(e){let t;return{c(){t=m("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}
1332
+ function Ei(e){let t;return{c(){t=p("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(e,n){d(e,t,n)},d(e){e&&m(t)}}}
1329
1333
  // (346:8) {#if searchCancelled === false}
1330
- function Ci(e){let t,n=/*searchArray*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=Ei(mi(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);d(e,t,n)},p(e,i){if(/*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/17580543&i[0]){let a;for(n=/*searchArray*/e[14],a=0;a<n.length;a+=1){const o=mi(e,n,a);r[a]?r[a].p(o,i):(r[a]=Ei(o),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&&f(t)}}}
1334
+ function Ti(e){let t,n=/*searchArray*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=Li(yi(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);d(e,t,n)},p(e,i){if(/*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/17580543&i[0]){let a;for(n=/*searchArray*/e[14],a=0;a<n.length;a+=1){const o=yi(e,n,a);r[a]?r[a].p(o,i):(r[a]=Li(o),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){f(r,e),e&&m(t)}}}
1331
1335
  // (347:10) {#each searchArray as game}
1332
- function Ei(e){let t,n,r,i,a,o,s,l,c,u,h,p;return{c(){t=m("casino-game-thumbnail"),x(t,"endpoint",/*endpoint*/e[0]),x(t,"session",/*sessionID*/e[18]),x(t,"userid",/*playerID*/e[19]),x(t,"favorites",/*showfavorites*/e[8]),x(t,"lang",/*lang*/e[1]),x(t,"gamethumbnail",n=/*game*/e[53].thumbnail),x(t,"gamename",r=/*game*/e[53].name),x(t,"gamevendor",i=/*game*/e[53].vendor.name),x(t,"gamelaunchurl",a=/*game*/e[53].launchUrl),x(t,"gameisnew",o=/*game*/e[53].isNew),x(t,"gametag",s=/*game*/e[53].advancedTags?.length>0&&/*addGameTag*/e[24](/*game*/e[53].advancedTags)),x(t,"gamecellsize",l=/*game*/e[53].cellSize),x(t,"gameid",c=/*game*/e[53].id),x(t,"showgamename",/*showgamename*/e[6]),x(t,"gamefunmode",u=/*game*/e[53].hasFunMode),x(t,"gamefavorite",h=/*game*/e[53].isFavorite),x(t,"livelobbyendpoint",p=/*game*/e[53].details?/*game*/e[53].launchUrl:""),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[4]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[5]),x(t,"clientstyling",/*clientstyling*/e[2]),x(t,"clientstylingurl",/*clientstylingurl*/e[3]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[7])},m(e,n){d(e,t,n)},p(e,d){/*endpoint*/1&d[0]&&x(t,"endpoint",/*endpoint*/e[0]),/*sessionID*/262144&d[0]&&x(t,"session",/*sessionID*/e[18]),/*playerID*/524288&d[0]&&x(t,"userid",/*playerID*/e[19]),/*showfavorites*/256&d[0]&&x(t,"favorites",/*showfavorites*/e[8]),/*lang*/2&d[0]&&x(t,"lang",/*lang*/e[1]),/*searchArray*/16384&d[0]&&n!==(n=/*game*/e[53].thumbnail)&&x(t,"gamethumbnail",n),/*searchArray*/16384&d[0]&&r!==(r=/*game*/e[53].name)&&x(t,"gamename",r),/*searchArray*/16384&d[0]&&i!==(i=/*game*/e[53].vendor.name)&&x(t,"gamevendor",i),/*searchArray*/16384&d[0]&&a!==(a=/*game*/e[53].launchUrl)&&x(t,"gamelaunchurl",a),/*searchArray*/16384&d[0]&&o!==(o=/*game*/e[53].isNew)&&x(t,"gameisnew",o),/*searchArray*/16384&d[0]&&s!==(s=/*game*/e[53].advancedTags?.length>0&&/*addGameTag*/e[24](/*game*/e[53].advancedTags))&&x(t,"gametag",s),/*searchArray*/16384&d[0]&&l!==(l=/*game*/e[53].cellSize)&&x(t,"gamecellsize",l),/*searchArray*/16384&d[0]&&c!==(c=/*game*/e[53].id)&&x(t,"gameid",c),/*showgamename*/64&d[0]&&x(t,"showgamename",/*showgamename*/e[6]),/*searchArray*/16384&d[0]&&u!==(u=/*game*/e[53].hasFunMode)&&x(t,"gamefunmode",u),/*searchArray*/16384&d[0]&&h!==(h=/*game*/e[53].isFavorite)&&x(t,"gamefavorite",h),/*searchArray*/16384&d[0]&&p!==(p=/*game*/e[53].details?/*game*/e[53].launchUrl:"")&&x(t,"livelobbyendpoint",p),/*integratedgameframedesktop*/16&d[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[4]),/*integratedgameframemobile*/32&d[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[5]),/*clientstyling*/4&d[0]&&x(t,"clientstyling",/*clientstyling*/e[2]),/*clientstylingurl*/8&d[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[3]),/*gamepagemodalurl*/128&d[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[7])},d(e){e&&f(t)}}}
1336
+ function Li(e){let t,n,r,i,a,o,s,l,c,u,h,f;return{c(){t=p("casino-game-thumbnail"),x(t,"endpoint",/*endpoint*/e[0]),x(t,"session",/*sessionID*/e[18]),x(t,"userid",/*playerID*/e[19]),x(t,"favorites",/*showfavorites*/e[8]),x(t,"lang",/*lang*/e[1]),x(t,"gamethumbnail",n=/*game*/e[53].thumbnail),x(t,"gamename",r=/*game*/e[53].name),x(t,"gamevendor",i=/*game*/e[53].vendor.name),x(t,"gamelaunchurl",a=/*game*/e[53].launchUrl),x(t,"gameisnew",o=/*game*/e[53].isNew),x(t,"gametag",s=/*game*/e[53].advancedTags?.length>0&&/*addGameTag*/e[24](/*game*/e[53].advancedTags)),x(t,"gamecellsize",l=/*game*/e[53].cellSize),x(t,"gameid",c=/*game*/e[53].id),x(t,"showgamename",/*showgamename*/e[6]),x(t,"gamefunmode",u=/*game*/e[53].hasFunMode),x(t,"gamefavorite",h=/*game*/e[53].isFavorite),x(t,"livelobbyendpoint",f=/*game*/e[53].details?/*game*/e[53].launchUrl:""),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[4]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[5]),x(t,"clientstyling",/*clientstyling*/e[2]),x(t,"clientstylingurl",/*clientstylingurl*/e[3]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[7])},m(e,n){d(e,t,n)},p(e,d){/*endpoint*/1&d[0]&&x(t,"endpoint",/*endpoint*/e[0]),/*sessionID*/262144&d[0]&&x(t,"session",/*sessionID*/e[18]),/*playerID*/524288&d[0]&&x(t,"userid",/*playerID*/e[19]),/*showfavorites*/256&d[0]&&x(t,"favorites",/*showfavorites*/e[8]),/*lang*/2&d[0]&&x(t,"lang",/*lang*/e[1]),/*searchArray*/16384&d[0]&&n!==(n=/*game*/e[53].thumbnail)&&x(t,"gamethumbnail",n),/*searchArray*/16384&d[0]&&r!==(r=/*game*/e[53].name)&&x(t,"gamename",r),/*searchArray*/16384&d[0]&&i!==(i=/*game*/e[53].vendor.name)&&x(t,"gamevendor",i),/*searchArray*/16384&d[0]&&a!==(a=/*game*/e[53].launchUrl)&&x(t,"gamelaunchurl",a),/*searchArray*/16384&d[0]&&o!==(o=/*game*/e[53].isNew)&&x(t,"gameisnew",o),/*searchArray*/16384&d[0]&&s!==(s=/*game*/e[53].advancedTags?.length>0&&/*addGameTag*/e[24](/*game*/e[53].advancedTags))&&x(t,"gametag",s),/*searchArray*/16384&d[0]&&l!==(l=/*game*/e[53].cellSize)&&x(t,"gamecellsize",l),/*searchArray*/16384&d[0]&&c!==(c=/*game*/e[53].id)&&x(t,"gameid",c),/*showgamename*/64&d[0]&&x(t,"showgamename",/*showgamename*/e[6]),/*searchArray*/16384&d[0]&&u!==(u=/*game*/e[53].hasFunMode)&&x(t,"gamefunmode",u),/*searchArray*/16384&d[0]&&h!==(h=/*game*/e[53].isFavorite)&&x(t,"gamefavorite",h),/*searchArray*/16384&d[0]&&f!==(f=/*game*/e[53].details?/*game*/e[53].launchUrl:"")&&x(t,"livelobbyendpoint",f),/*integratedgameframedesktop*/16&d[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[4]),/*integratedgameframemobile*/32&d[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[5]),/*clientstyling*/4&d[0]&&x(t,"clientstyling",/*clientstyling*/e[2]),/*clientstylingurl*/8&d[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[3]),/*gamepagemodalurl*/128&d[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[7])},d(e){e&&m(t)}}}
1333
1337
  // (374:8) {#if searchValue.length >= 2 && searchArray.length == 0}
1334
- function Ti(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[20]("notFound")+"",u=/*$_*/e[20]("notFoundText")+"",p=/*notfoundicon*/"true"===e[10]&&Li();return{c(){t=m("div"),p&&p.c(),n=v(),r=m("p"),i=y(c),a=v(),o=m("p"),s=y(u),_(r,"class","SearchMessage"),_(t,"class",l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,l){d(e,t,l),p&&p.m(t,null),h(t,n),h(t,r),h(r,i),h(t,a),h(t,o),h(o,s)},p(e,r){/*notfoundicon*/"true"===e[10]?p||(p=Li(),p.c(),p.m(t,n)):p&&(p.d(1),p=null),/*$_*/1048576&r[0]&&c!==(c=/*$_*/e[20]("notFound")+"")&&S(i,c),/*$_*/1048576&r[0]&&u!==(u=/*$_*/e[20]("notFoundText")+"")&&S(s,u),/*notfoundicon*/1024&r[0]&&l!==(l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))&&_(t,"class",l)},d(e){e&&f(t),p&&p.d()}}}
1338
+ function $i(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[20]("notFound")+"",u=/*$_*/e[20]("notFoundText")+"",f=/*notfoundicon*/"true"===e[10]&&ki();return{c(){t=p("div"),f&&f.c(),n=v(),r=p("p"),i=y(c),a=v(),o=p("p"),s=y(u),_(r,"class","SearchMessage"),_(t,"class",l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,l){d(e,t,l),f&&f.m(t,null),h(t,n),h(t,r),h(r,i),h(t,a),h(t,o),h(o,s)},p(e,r){/*notfoundicon*/"true"===e[10]?f||(f=ki(),f.c(),f.m(t,n)):f&&(f.d(1),f=null),/*$_*/1048576&r[0]&&c!==(c=/*$_*/e[20]("notFound")+"")&&S(i,c),/*$_*/1048576&r[0]&&u!==(u=/*$_*/e[20]("notFoundText")+"")&&S(s,u),/*notfoundicon*/1024&r[0]&&l!==(l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))&&_(t,"class",l)},d(e){e&&m(t),f&&f.d()}}}
1335
1339
  // (376:12) {#if notfoundicon === 'true'}
1336
- function Li(e){let t;return{c(){t=m("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}function ki(t){let n,i,a,o,s,l,c,u,p,y,b,x,S,E,T,L,k,$,G,P,O=/*cancelbutton*/"true"===t[9]&&gi(t);function M(e,t){/*isLoading*/
1337
- return e[17]?vi:yi}let I=M(t),D=I(t);return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("div"),o.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=v(),l=m("input"),u=v(),p=m("span"),y=g("svg"),b=g("path"),S=v(),O&&O.c(),T=v(),L=m("div"),$=v(),D.c(),this.c=e,_(o,"class","SearchIcon"),_(l,"class","SearchInput"),_(l,"type","search"),_(l,"placeholder",c=/*$_*/t[20]("placeHolderSearchGames")),_(l,"maxlength",$i),_(b,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(b,"stroke","#717171"),_(b,"stroke-width","2"),_(b,"stroke-linecap","round"),_(b,"stroke-linejoin","round"),_(y,"width","11"),_(y,"height","11"),_(y,"fill","none"),_(y,"xmlns","http://www.w3.org/2000/svg"),_(p,"class",x="SearchClearButton "+(/*cancelbutton*/"true"!=t[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=t[11].length?"":"NotVisible")),_(a,"class",E="Search "+(/*searchCancelled*/t[12]?"":"SearchAnimation")),_(i,"class","SearchWrap"),_(L,"class",k=/*cancelbutton*/"true"!=t[9]?"OverlayCancel":""),_(n,"class",("PC"!==Ar(/*userAgent*/t[21])?"":"Desktop")+" CasinoSearch")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(a,s),h(a,l),C(l,/*searchValue*/t[11]),
1338
- /*input_binding*/t[33](l),h(a,u),h(a,p),h(p,y),h(y,b),h(a,S),O&&O.m(a,null),h(n,T),h(n,L),h(n,$),D.m(n,null),
1339
- /*div4_binding*/t[36](n),G||(P=[w(l,"input",/*input_input_handler*/t[32]),w(l,"focus",/*onFocus*/t[22]),w(p,"click",/*click_handler*/t[34]),w(L,"click",/*handleOverlay*/t[23])],G=!0)},p(e,t){/*$_*/1048576&t[0]&&c!==(c=/*$_*/e[20]("placeHolderSearchGames"))&&_(l,"placeholder",c),/*searchValue*/2048&t[0]&&l.value!==/*searchValue*/e[11]&&C(l,/*searchValue*/e[11]),/*cancelbutton, searchValue*/2560&t[0]&&x!==(x="SearchClearButton "+(/*cancelbutton*/"true"!=e[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=e[11].length?"":"NotVisible"))&&_(p,"class",x),/*cancelbutton*/"true"===e[9]?O?O.p(e,t):(O=gi(e),O.c(),O.m(a,null)):O&&(O.d(1),O=null),/*searchCancelled*/4096&t[0]&&E!==(E="Search "+(/*searchCancelled*/e[12]?"":"SearchAnimation"))&&_(a,"class",E),/*cancelbutton*/512&t[0]&&k!==(k=/*cancelbutton*/"true"!=e[9]?"OverlayCancel":"")&&_(L,"class",k),I===(I=M(e))&&D?D.p(e,t):(D.d(1),D=I(e),D&&(D.c(),D.m(n,null)))},i:e,o:e,d(e){e&&f(n)
1340
- /*input_binding*/,t[33](null),O&&O.d(),D.d(),
1341
- /*div4_binding*/t[36](null),G=!1,r(P)}}}!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),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},pi,ci,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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}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}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});let $i=50;function Gi(e,t,n){let r;u(e,Ln,(e=>n(20,r=e)));let i,a,o,s,{endpoint:l=""}=t,{datasource:c=""}=t,{session:h=""}=t,{userid:d=""}=t,{lang:f="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:_=""}=t,{cancelbutton:x="true"}=t,{notfoundicon:S="false"}=t,C=window.navigator.userAgent,E=[],T=[],L={},k="",G=!0,O=!1,M=!1,I=!1,D=[];Object.keys($n).forEach((e=>{kn(e,$n[e])}));const R=e=>{e.data&&"SearchedItemClicked"==e.data.type&&B(e.data.gameId),"UserSessionID"==e.data.type&&(n(18,o=e.data.session),n(19,s=e.data.userid),n(31,I=!0)),"CategoryChange"==e.data.type&&U()},F=()=>{if(n(12,G=!1),n(16,O=!0),l&&c&&f&&k.length<2){n(14,E=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[];e&&(t=e.split(","));let r=[],i=0,a=t.length;if(a>0){for(i=0;i<a;i++){let e=new URL(`${l}/v1/casino/games/${t[i]}`);e.searchParams.append("language",f),e.searchParams.append("datasource",c),e.searchParams.append("platform",Ar(C)),r.push(N(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,E=e.map((e=>(e.isFavorite=H(e.id),e)))),E.length?A("searchSuccess","SearchWidget"):A("searchFail","SearchWidget")})).catch((e=>{A("searchError","SearchWidget")}))}}j(O),A("searchAttempt","SearchWidget"),
1340
+ function ki(e){let t;return{c(){t=p("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(e,n){d(e,t,n)},d(e){e&&m(t)}}}function Gi(t){let n,i,a,o,s,l,c,u,f,y,b,x,S,E,T,L,$,k,G,P,O=/*cancelbutton*/"true"===t[9]&&vi(t);function M(e,t){/*isLoading*/
1341
+ return e[17]?wi:bi}let I=M(t),F=I(t);return{c(){n=p("div"),i=p("div"),a=p("div"),o=p("div"),o.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=v(),l=p("input"),u=v(),f=p("span"),y=g("svg"),b=g("path"),S=v(),O&&O.c(),T=v(),L=p("div"),k=v(),F.c(),this.c=e,_(o,"class","SearchIcon"),_(l,"class","SearchInput"),_(l,"type","search"),_(l,"placeholder",c=/*$_*/t[20]("placeHolderSearchGames")),_(l,"maxlength",Pi),_(b,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(b,"stroke","#717171"),_(b,"stroke-width","2"),_(b,"stroke-linecap","round"),_(b,"stroke-linejoin","round"),_(y,"width","11"),_(y,"height","11"),_(y,"fill","none"),_(y,"xmlns","http://www.w3.org/2000/svg"),_(f,"class",x="SearchClearButton "+(/*cancelbutton*/"true"!=t[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=t[11].length?"":"NotVisible")),_(a,"class",E="Search "+(/*searchCancelled*/t[12]?"":"SearchAnimation")),_(i,"class","SearchWrap"),_(L,"class",$=/*cancelbutton*/"true"!=t[9]?"OverlayCancel":""),_(n,"class",("PC"!==Nr(/*userAgent*/t[21])?"":"Desktop")+" CasinoSearch")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(a,s),h(a,l),C(l,/*searchValue*/t[11]),
1342
+ /*input_binding*/t[33](l),h(a,u),h(a,f),h(f,y),h(y,b),h(a,S),O&&O.m(a,null),h(n,T),h(n,L),h(n,k),F.m(n,null),
1343
+ /*div4_binding*/t[36](n),G||(P=[w(l,"input",/*input_input_handler*/t[32]),w(l,"focus",/*onFocus*/t[22]),w(f,"click",/*click_handler*/t[34]),w(L,"click",/*handleOverlay*/t[23])],G=!0)},p(e,t){/*$_*/1048576&t[0]&&c!==(c=/*$_*/e[20]("placeHolderSearchGames"))&&_(l,"placeholder",c),/*searchValue*/2048&t[0]&&l.value!==/*searchValue*/e[11]&&C(l,/*searchValue*/e[11]),/*cancelbutton, searchValue*/2560&t[0]&&x!==(x="SearchClearButton "+(/*cancelbutton*/"true"!=e[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=e[11].length?"":"NotVisible"))&&_(f,"class",x),/*cancelbutton*/"true"===e[9]?O?O.p(e,t):(O=vi(e),O.c(),O.m(a,null)):O&&(O.d(1),O=null),/*searchCancelled*/4096&t[0]&&E!==(E="Search "+(/*searchCancelled*/e[12]?"":"SearchAnimation"))&&_(a,"class",E),/*cancelbutton*/512&t[0]&&$!==($=/*cancelbutton*/"true"!=e[9]?"OverlayCancel":"")&&_(L,"class",$),I===(I=M(e))&&F?F.p(e,t):(F.d(1),F=I(e),F&&(F.c(),F.m(n,null)))},i:e,o:e,d(e){e&&m(n)
1344
+ /*input_binding*/,t[33](null),O&&O.d(),F.d(),
1345
+ /*div4_binding*/t[36](null),G=!1,r(P)}}}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends V{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),z(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},gi,hi,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&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}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}),U()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),U()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),U()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),U()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),U()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),U()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),U()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),U()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),U()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),U()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),U()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),U()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),U()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),U()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),U()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),U()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),U()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),U()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),U()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),U()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),U()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),U()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),U()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),U()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),U()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),U()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});let Pi=50;function Oi(e,t,n){let r;u(e,$n,(e=>n(20,r=e)));let i,a,o,s,{endpoint:l=""}=t,{datasource:c=""}=t,{session:h=""}=t,{userid:d=""}=t,{lang:m="en"}=t,{clientstyling:f=""}=t,{clientstylingurl:p=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:_=""}=t,{cancelbutton:x="true"}=t,{notfoundicon:S="false"}=t,C=window.navigator.userAgent,E=[],T=[],L={},$="",k=!0,P=!1,M=!1,I=!1,F=[];Object.keys(Gn).forEach((e=>{kn(e,Gn[e])}));const R=e=>{e.data&&"SearchedItemClicked"==e.data.type&&B(e.data.gameId),"UserSessionID"==e.data.type&&(n(18,o=e.data.session),n(19,s=e.data.userid),n(31,I=!0)),"CategoryChange"==e.data.type&&U()},D=()=>{if(n(12,k=!1),n(16,P=!0),l&&c&&m&&$.length<2){n(14,E=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[];e&&(t=e.split(","));let r=[],i=0,a=t.length;if(a>0){for(i=0;i<a;i++){let e=new URL(`${l}/v1/casino/games/${t[i]}`);e.searchParams.append("language",m),e.searchParams.append("datasource",c),e.searchParams.append("platform",Nr(C)),r.push(N(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,E=e.map((e=>(e.isFavorite=H(e.id),e)))),E.length?A("searchSuccess","SearchWidget"):A("searchFail","SearchWidget")})).catch((e=>{A("searchError","SearchWidget")}))}}j(P),A("searchAttempt","SearchWidget"),
1342
1346
  //Analytics event
1343
- A("SearchInitialized","SearchWidget")},A=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},N=(e,t)=>new Promise(((r,i)=>{n(17,M=!0),t&&Object.keys(L).indexOf(t)>=0?(n(17,M=!1),r(L[t])):fetch(e).then((e=>e.json())).then((e=>{n(17,M=!1),e.error||(L[e[0].gameId]=e[0]),r(e[0])})).catch((e=>{n(17,M=!1),console.error(e),i(e)}))})),H=e=>-1!==D.findIndex((t=>t==e)),B=e=>{if(T=localStorage.getItem("searchedGamesWds_casino"),T=T?T.split(","):[],-1===T.indexOf(e)){let t;T.unshift(e),t=T.join(","),localStorage.setItem("searchedGamesWds_casino",t)}},U=()=>{n(11,k=""),n(12,G=!0),n(17,M=!1),n(14,E=[]),n(16,O=!1),j(O)},Y=()=>{n(11,k=""),i.focus()},j=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)},W=()=>{var e;e=f,sn.set(e)};$((()=>(window.addEventListener("message",R,!1),()=>{window.removeEventListener("message",R)})));return e.$$set=e=>{"endpoint"in e&&n(0,l=e.endpoint),"datasource"in e&&n(27,c=e.datasource),"session"in e&&n(28,h=e.session),"userid"in e&&n(29,d=e.userid),"lang"in e&&n(1,f=e.lang),"clientstyling"in e&&n(2,p=e.clientstyling),"clientstylingurl"in e&&n(3,m=e.clientstylingurl),"integratedgameframedesktop"in e&&n(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(5,y=e.integratedgameframemobile),"showgamename"in e&&n(6,v=e.showgamename),"gamepagemodalurl"in e&&n(7,b=e.gamepagemodalurl),"translationurl"in e&&n(30,w=e.translationurl),"showfavorites"in e&&n(8,_=e.showfavorites),"cancelbutton"in e&&n(9,x=e.cancelbutton),"notfoundicon"in e&&n(10,S=e.notfoundicon)},e.$$.update=()=>{if(/*searchValue, endpoint, datasource, lang, searchCancelled*/134223875&e.$$.dirty[0])if(k.length>=2){const e=new URL(`${l}/v1/casino/games`);e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Ar(C)),e.searchParams.append("language",f),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${k}`),(t=e,new Promise(((e,r)=>{n(17,M=!0),fetch(t.href).then((e=>e.json())).then((t=>{n(17,M=!1),e(t)})).catch((e=>{n(17,M=!1),console.error(e),r(e)}))}))).then((e=>{n(14,E=e.items.map((e=>(e.isFavorite=H(e.id),e))))}))}else G||F();var t;/*lang*/2&e.$$.dirty[0]&&f&&W(),/*translationurl*/1073741824&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{kn(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, userid*/805306368&e.$$.dirty[0]&&h&&d&&(n(31,I=!0),n(18,o=h),n(19,s=d)),/*showfavorites*/256&e.$$.dirty[0]|/*isLoggedIn*/1&e.$$.dirty[1]&&_&&I&&(()=>{const e=new URL(`${l}/v1/player/${s}/favorites/`);n(17,M=!0);let t={method:"GET",headers:{"X-SessionID":o}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(17,M=!1),D=e.items.map((e=>e.id))}))})(),/*clientstyling, customStylingContainer*/8196&e.$$.dirty[0]&&p&&a&&(()=>{let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&m&&a&&(()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,f,p,m,g,y,v,b,_,x,S,k,G,a,E,i,O,M,o,s,r,C,F,()=>{"true"!=x&&U()},e=>{if(0===(null==e?void 0:e.length))return"";let t,n,r=99999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Nr(l).diff(i)<r&&(r=Nr(l).diff(i),n=o),Nr(i).isAfter(s)&&Nr(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,I,function(){k=this.value,n(11,k)},function(e){P[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Pi(e,t){At(e,t)}!customElements.get("casino-search")&&customElements.define("casino-search",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Gi,ki,a,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),B()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),B()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),B()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),B()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),B()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),B()}});const Oi={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Kategoriler",providers:"Tedarikçiler"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"}};function Mi(e,t){At(e,t)}const Ii={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"}};
1344
- /* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function Di(e,t,n){const r=e.slice();return r[24]=t[n],r}function Ri(e,t,n){const r=e.slice();return r[24]=t[n],r}
1347
+ A("SearchInitialized","SearchWidget")},A=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},N=(e,t)=>new Promise(((r,i)=>{n(17,M=!0),t&&Object.keys(L).indexOf(t)>=0?(n(17,M=!1),r(L[t])):fetch(e).then((e=>e.json())).then((e=>{n(17,M=!1),e.error||(L[e[0].gameId]=e[0]),r(e[0])})).catch((e=>{n(17,M=!1),console.error(e),i(e)}))})),H=e=>-1!==F.findIndex((t=>t==e)),B=e=>{if(T=localStorage.getItem("searchedGamesWds_casino"),T=T?T.split(","):[],-1===T.indexOf(e)){let t;T.unshift(e),t=T.join(","),localStorage.setItem("searchedGamesWds_casino",t)}},U=()=>{n(11,$=""),n(12,k=!0),n(17,M=!1),n(14,E=[]),n(16,P=!1),j(P)},Y=()=>{n(11,$=""),i.focus()},j=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)},W=()=>{var e;e=m,ln.set(e)};G((()=>(window.addEventListener("message",R,!1),()=>{window.removeEventListener("message",R)})));return e.$$set=e=>{"endpoint"in e&&n(0,l=e.endpoint),"datasource"in e&&n(27,c=e.datasource),"session"in e&&n(28,h=e.session),"userid"in e&&n(29,d=e.userid),"lang"in e&&n(1,m=e.lang),"clientstyling"in e&&n(2,f=e.clientstyling),"clientstylingurl"in e&&n(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&n(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(5,y=e.integratedgameframemobile),"showgamename"in e&&n(6,v=e.showgamename),"gamepagemodalurl"in e&&n(7,b=e.gamepagemodalurl),"translationurl"in e&&n(30,w=e.translationurl),"showfavorites"in e&&n(8,_=e.showfavorites),"cancelbutton"in e&&n(9,x=e.cancelbutton),"notfoundicon"in e&&n(10,S=e.notfoundicon)},e.$$.update=()=>{if(/*searchValue, endpoint, datasource, lang, searchCancelled*/134223875&e.$$.dirty[0])if($.length>=2){const e=new URL(`${l}/v1/casino/games`);e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Nr(C)),e.searchParams.append("language",m),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${$}`),(t=e,new Promise(((e,r)=>{n(17,M=!0),fetch(t.href).then((e=>e.json())).then((t=>{n(17,M=!1),e(t)})).catch((e=>{n(17,M=!1),console.error(e),r(e)}))}))).then((e=>{n(14,E=e.items.map((e=>(e.isFavorite=H(e.id),e))))}))}else k||D();var t;/*lang*/2&e.$$.dirty[0]&&m&&W(),/*translationurl*/1073741824&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{kn(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, userid*/805306368&e.$$.dirty[0]&&h&&d&&(n(31,I=!0),n(18,o=h),n(19,s=d)),/*showfavorites*/256&e.$$.dirty[0]|/*isLoggedIn*/1&e.$$.dirty[1]&&_&&I&&(()=>{const e=new URL(`${l}/v1/player/${s}/favorites/`);n(17,M=!0);let t={method:"GET",headers:{"X-SessionID":o}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(17,M=!1),F=e.items.map((e=>e.id))}))})(),/*clientstyling, customStylingContainer*/8196&e.$$.dirty[0]&&f&&a&&(()=>{let e=document.createElement("style");e.innerHTML=f,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&p&&a&&(()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,m,f,p,g,y,v,b,_,x,S,$,k,a,E,i,P,M,o,s,r,C,D,()=>{"true"!=x&&U()},e=>{if(0===(null==e?void 0:e.length))return"";let t,n,r=99999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Hr(l).diff(i)<r&&(r=Hr(l).diff(i),n=o),Hr(i).isAfter(s)&&Hr(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,I,function(){$=this.value,n(11,$)},function(e){O[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){O[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Mi(e,t){Nt(e,t)}!customElements.get("casino-search")&&customElements.define("casino-search",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},Oi,Gi,a,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),U()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),U()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),U()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),U()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),U()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),U()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),U()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),U()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),U()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),U()}});const Ii={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Kategoriler",providers:"Tedarikçiler"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"}};function Fi(e,t){Nt(e,t)}const Ri={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"}};
1348
+ /* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function Di(e,t,n){const r=e.slice();return r[24]=t[n],r}function Ai(e,t,n){const r=e.slice();return r[24]=t[n],r}
1345
1349
  // (80:2) {:else}
1346
- function Fi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[5]("topCategories")+"",u=/*$_*/e[5]("otherCategories")+"",g=/*topCategories*/e[3],b=[];for(let t=0;t<g.length;t+=1)b[t]=Ni(Ri(e,g,t));let w=/*otherCategories*/e[4],x=[];for(let t=0;t<w.length;t+=1)x[t]=Hi(Di(e,w,t));return{c(){t=m("div"),n=m("h4"),r=y(c),i=v();for(let e=0;e<b.length;e+=1)b[e].c();a=v(),o=m("h4"),s=y(u),l=v();for(let e=0;e<x.length;e+=1)x[e].c();_(n,"class","CategoryTitle"),_(o,"class","CategoryTitle"),_(t,"class","CasinoCategories")},m(e,c){d(e,t,c),h(t,n),h(n,r),h(t,i);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(t,null);h(t,a),h(t,o),h(o,s),h(t,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(t,null)},p(e,n){if(/*$_*/32&n&&c!==(c=/*$_*/e[5]("topCategories")+"")&&S(r,c),/*activecategory, topCategories, openGameCategory, $_*/105&n){let r;for(g=/*topCategories*/e[3],r=0;r<g.length;r+=1){const i=Ri(e,g,r);b[r]?b[r].p(i,n):(b[r]=Ni(i),b[r].c(),b[r].m(t,a))}for(;r<b.length;r+=1)b[r].d(1);b.length=g.length}if(/*$_*/32&n&&u!==(u=/*$_*/e[5]("otherCategories")+"")&&S(s,u),/*activecategory, otherCategories, openGameCategory, $_*/113&n){let r;for(w=/*otherCategories*/e[4],r=0;r<w.length;r+=1){const i=Di(e,w,r);x[r]?x[r].p(i,n):(x[r]=Hi(i),x[r].c(),x[r].m(t,null))}for(;r<x.length;r+=1)x[r].d(1);x.length=w.length}},d(e){e&&f(t),p(b,e),p(x,e)}}}
1350
+ function Ni(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[5]("topCategories")+"",u=/*$_*/e[5]("otherCategories")+"",g=/*topCategories*/e[3],b=[];for(let t=0;t<g.length;t+=1)b[t]=Bi(Ai(e,g,t));let w=/*otherCategories*/e[4],x=[];for(let t=0;t<w.length;t+=1)x[t]=Ui(Di(e,w,t));return{c(){t=p("div"),n=p("h4"),r=y(c),i=v();for(let e=0;e<b.length;e+=1)b[e].c();a=v(),o=p("h4"),s=y(u),l=v();for(let e=0;e<x.length;e+=1)x[e].c();_(n,"class","CategoryTitle"),_(o,"class","CategoryTitle"),_(t,"class","CasinoCategories")},m(e,c){d(e,t,c),h(t,n),h(n,r),h(t,i);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(t,null);h(t,a),h(t,o),h(o,s),h(t,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(t,null)},p(e,n){if(/*$_*/32&n&&c!==(c=/*$_*/e[5]("topCategories")+"")&&S(r,c),/*activecategory, topCategories, openGameCategory, $_*/105&n){let r;for(g=/*topCategories*/e[3],r=0;r<g.length;r+=1){const i=Ai(e,g,r);b[r]?b[r].p(i,n):(b[r]=Bi(i),b[r].c(),b[r].m(t,a))}for(;r<b.length;r+=1)b[r].d(1);b.length=g.length}if(/*$_*/32&n&&u!==(u=/*$_*/e[5]("otherCategories")+"")&&S(s,u),/*activecategory, otherCategories, openGameCategory, $_*/113&n){let r;for(w=/*otherCategories*/e[4],r=0;r<w.length;r+=1){const i=Di(e,w,r);x[r]?x[r].p(i,n):(x[r]=Ui(i),x[r].c(),x[r].m(t,null))}for(;r<x.length;r+=1)x[r].d(1);x.length=w.length}},d(e){e&&m(t),f(b,e),f(x,e)}}}
1347
1351
  // (78:2) {#if isLoading}
1348
- function Ai(t){let n;return{c(){n=m("p"),n.textContent="Loading, please wait...",_(n,"class","Message")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
1352
+ function Hi(t){let n;return{c(){n=p("p"),n.textContent="Loading, please wait...",_(n,"class","Message")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
1349
1353
  // (83:4) {#each topCategories as category}
1350
- function Ni(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T,L=/*category*/e[24].name+"",k=/*category*/e[24].games.count+"",$=/*$_*/e[5]("games")+"";function G(){/*click_handler*/
1351
- return e[14](/*category*/e[24])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(L),u=v(),p=m("p"),g=y(k),b=v(),x=y($),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,p),h(p,g),h(p,b),h(p,x),E||(T=w(t,"click",G),E=!0)},p(a,o){e=a,/*topCategories*/8&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*topCategories*/8&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*topCategories*/8&o&&L!==(L=/*category*/e[24].name+"")&&S(c,L),/*topCategories*/8&o&&k!==(k=/*category*/e[24].games.count+"")&&S(g,k),/*$_*/32&o&&$!==($=/*$_*/e[5]("games")+"")&&S(x,$),/*activecategory, topCategories*/9&o&&C!==(C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",C)},d(e){e&&f(t),E=!1,T()}}}
1354
+ function Bi(e){let t,n,r,i,a,o,s,c,u,f,g,b,x,C,E,T,L=/*category*/e[24].name+"",$=/*category*/e[24].games.count+"",k=/*$_*/e[5]("games")+"";function G(){/*click_handler*/
1355
+ return e[14](/*category*/e[24])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y(L),u=v(),f=p("p"),g=y($),b=v(),x=y(k),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,f),h(f,g),h(f,b),h(f,x),E||(T=w(t,"click",G),E=!0)},p(a,o){e=a,/*topCategories*/8&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*topCategories*/8&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*topCategories*/8&o&&L!==(L=/*category*/e[24].name+"")&&S(c,L),/*topCategories*/8&o&&$!==($=/*category*/e[24].games.count+"")&&S(g,$),/*$_*/32&o&&k!==(k=/*$_*/e[5]("games")+"")&&S(x,k),/*activecategory, topCategories*/9&o&&C!==(C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",C)},d(e){e&&m(t),E=!1,T()}}}
1352
1356
  // (93:4) {#each otherCategories as category}
1353
- function Hi(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T,L,k=/*category*/e[24].name+"",$=/*category*/e[24].games.count+"",G=/*$_*/e[5]("games")+"";function P(){/*click_handler_1*/
1354
- return e[15](/*category*/e[24])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(k),u=v(),p=m("p"),g=y($),b=v(),x=y(G),C=v(),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,p),h(p,g),h(p,b),h(p,x),h(t,C),T||(L=w(t,"click",P),T=!0)},p(a,o){e=a,/*otherCategories*/16&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*otherCategories*/16&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*otherCategories*/16&o&&k!==(k=/*category*/e[24].name+"")&&S(c,k),/*otherCategories*/16&o&&$!==($=/*category*/e[24].games.count+"")&&S(g,$),/*$_*/32&o&&G!==(G=/*$_*/e[5]("games")+"")&&S(x,G),/*activecategory, otherCategories*/17&o&&E!==(E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",E)},d(e){e&&f(t),T=!1,L()}}}function Bi(t){let n;function r(e,t){/*isLoading*/
1355
- return e[2]?Ai:Fi}let i=r(t),a=i(t);return{c(){n=m("div"),a.c(),this.c=e},m(e,r){d(e,n,r),a.m(n,null),
1356
- /*div_binding*/t[16](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&&f(n),a.d(),
1357
- /*div_binding*/t[16](null)}}}function Ui(e,t,n){let r;u(e,Ln,(e=>n(5,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{activecategory:l=""}=t,{excludedflags:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{translationurl:f=""}=t,p=!1;const m=[];let g=[],y=[];Object.keys(Ii).forEach((e=>{Mi(e,Ii[e])}));const v=e=>{window.postMessage({type:"OpenGameCategory",categoryId:e},window.location.href)},b=()=>{var e;e=s,sn.set(e)};return e.$$set=e=>{"endpoint"in e&&n(7,a=e.endpoint),"datasource"in e&&n(8,o=e.datasource),"lang"in e&&n(9,s=e.lang),"activecategory"in e&&n(0,l=e.activecategory),"excludedflags"in e&&n(10,c=e.excludedflags),"clientstyling"in e&&n(11,h=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"translationurl"in e&&n(13,f=e.translationurl)},e.$$.update=()=>{/*endpoint, datasource*/384&e.$$.dirty&&a&&o&&(()=>{n(2,p=!0);const e=new URL(`${a}/v1/casino/groups/${o}`);e.searchParams.append("language",s),fetch(e).then((e=>e.json())).then((e=>{n(2,p=!1);const t=c.split(",").map((e=>e.trim()));m.push(...e.items);
1357
+ function Ui(e){let t,n,r,i,a,o,s,c,u,f,g,b,x,C,E,T,L,$=/*category*/e[24].name+"",k=/*category*/e[24].games.count+"",G=/*$_*/e[5]("games")+"";function P(){/*click_handler_1*/
1358
+ return e[15](/*category*/e[24])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y($),u=v(),f=p("p"),g=y(k),b=v(),x=y(G),C=v(),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,f),h(f,g),h(f,b),h(f,x),h(t,C),T||(L=w(t,"click",P),T=!0)},p(a,o){e=a,/*otherCategories*/16&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*otherCategories*/16&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*otherCategories*/16&o&&$!==($=/*category*/e[24].name+"")&&S(c,$),/*otherCategories*/16&o&&k!==(k=/*category*/e[24].games.count+"")&&S(g,k),/*$_*/32&o&&G!==(G=/*$_*/e[5]("games")+"")&&S(x,G),/*activecategory, otherCategories*/17&o&&E!==(E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",E)},d(e){e&&m(t),T=!1,L()}}}function Yi(t){let n;function r(e,t){/*isLoading*/
1359
+ return e[2]?Hi:Ni}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e},m(e,r){d(e,n,r),a.m(n,null),
1360
+ /*div_binding*/t[16](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(),
1361
+ /*div_binding*/t[16](null)}}}function ji(e,t,n){let r;u(e,$n,(e=>n(5,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{activecategory:l=""}=t,{excludedflags:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,f=!1;const p=[];let g=[],y=[];Object.keys(Ri).forEach((e=>{Fi(e,Ri[e])}));const v=e=>{window.postMessage({type:"OpenGameCategory",categoryId:e},window.location.href)},b=()=>{var e;e=s,ln.set(e)};return e.$$set=e=>{"endpoint"in e&&n(7,a=e.endpoint),"datasource"in e&&n(8,o=e.datasource),"lang"in e&&n(9,s=e.lang),"activecategory"in e&&n(0,l=e.activecategory),"excludedflags"in e&&n(10,c=e.excludedflags),"clientstyling"in e&&n(11,h=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"translationurl"in e&&n(13,m=e.translationurl)},e.$$.update=()=>{/*endpoint, datasource*/384&e.$$.dirty&&a&&o&&(()=>{n(2,f=!0);const e=new URL(`${a}/v1/casino/groups/${o}`);e.searchParams.append("language",s),fetch(e).then((e=>e.json())).then((e=>{n(2,f=!1);const t=c.split(",").map((e=>e.trim()));p.push(...e.items);
1358
1362
  // remove those items which have a flag matching the excluded flags
1359
- const r=m.filter((e=>!t.some((t=>{var n;return(null===(n=e.flags)||void 0===n?void 0:n.indexOf(t))>=0}))));n(3,g=r.filter((e=>!0===e.isTopCategory))),n(4,y=r.filter((e=>!1===e.isTopCategory)))}))})(),/*translationurl*/8192&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Mi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/512&e.$$.dirty&&s&&b(),/*clientstyling, customStylingContainer*/2050&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4098&e.$$.dirty&&d&&i&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[l,i,p,g,y,r,v,a,o,s,c,h,d,f,e=>v(e.id),e=>v(e.id),function(e){P[e?"unshift":"push"]((()=>{i=e,n(1,i)}))}]}!customElements.get("casino-categories")&&customElements.define("casino-categories",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emfe-w-color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Ui,Bi,a,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","activecategory","excludedflags","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[7]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[8]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),B()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),B()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(e){this.$$set({excludedflags:e}),B()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),B()}});const Yi={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Şimdi Oyna",otherProviders:"Rastgele oynanacak oyun yok",loading:"Son arama",games:"Oyunları Ara"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"}};function ji(e,t){At(e,t)}
1363
+ const r=p.filter((e=>!t.some((t=>{var n;return(null===(n=e.flags)||void 0===n?void 0:n.indexOf(t))>=0}))));n(3,g=r.filter((e=>!0===e.isTopCategory))),n(4,y=r.filter((e=>!1===e.isTopCategory)))}))})(),/*translationurl*/8192&e.$$.dirty&&m&&fetch(m).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Fi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/512&e.$$.dirty&&s&&b(),/*clientstyling, customStylingContainer*/2050&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4098&e.$$.dirty&&d&&i&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[l,i,f,g,y,r,v,a,o,s,c,h,d,m,e=>v(e.id),e=>v(e.id),function(e){O[e?"unshift":"push"]((()=>{i=e,n(1,i)}))}]}!customElements.get("casino-categories")&&customElements.define("casino-categories",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emfe-w-color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},ji,Yi,a,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","activecategory","excludedflags","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[7]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[8]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),U()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),U()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(e){this.$$set({excludedflags:e}),U()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),U()}});const Wi={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Şimdi Oyna",otherProviders:"Rastgele oynanacak oyun yok",loading:"Son arama",games:"Oyunları Ara"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"}};function zi(e,t){Nt(e,t)}
1360
1364
  /* ../casino-providers/src/CasinoProviders.svelte generated by Svelte v3.59.2 */
1361
- function Wi(e,t,n){const r=e.slice();return r[21]=t[n],r}function zi(e,t,n){const r=e.slice();return r[21]=t[n],r}
1365
+ function Vi(e,t,n){const r=e.slice();return r[21]=t[n],r}function Zi(e,t,n){const r=e.slice();return r[21]=t[n],r}
1362
1366
  // (78:4) {:else}
1363
- function Vi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[4]("popularProviders")+"",u=/*$_*/e[4]("otherProviders")+"",g=/*topProviders*/e[1],w=[];for(let t=0;t<g.length;t+=1)w[t]=Zi(zi(e,g,t));let x=/*otherProviders*/e[2],C=[];for(let t=0;t<x.length;t+=1)C[t]=Xi(Wi(e,x,t));return{c(){t=m("h4"),n=y(c),r=v();for(let e=0;e<w.length;e+=1)w[e].c();i=v(),a=m("h4"),o=y(u),s=v();for(let e=0;e<C.length;e+=1)C[e].c();l=b(),_(t,"class","ProviderTitle"),_(a,"class","ProviderTitle")},m(e,c){d(e,t,c),h(t,n),d(e,r,c);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(e,c);d(e,i,c),d(e,a,c),h(a,o),d(e,s,c);for(let t=0;t<C.length;t+=1)C[t]&&C[t].m(e,c);d(e,l,c)},p(e,t){if(/*$_*/16&t&&c!==(c=/*$_*/e[4]("popularProviders")+"")&&S(n,c),/*openGameProviderPage, topProviders, $_*/50&t){let n;for(g=/*topProviders*/e[1],n=0;n<g.length;n+=1){const r=zi(e,g,n);w[n]?w[n].p(r,t):(w[n]=Zi(r),w[n].c(),w[n].m(i.parentNode,i))}for(;n<w.length;n+=1)w[n].d(1);w.length=g.length}if(/*$_*/16&t&&u!==(u=/*$_*/e[4]("otherProviders")+"")&&S(o,u),/*openGameProviderPage, otherProviders, $_*/52&t){let n;for(x=/*otherProviders*/e[2],n=0;n<x.length;n+=1){const r=Wi(e,x,n);C[n]?C[n].p(r,t):(C[n]=Xi(r),C[n].c(),C[n].m(l.parentNode,l))}for(;n<C.length;n+=1)C[n].d(1);C.length=x.length}},d(e){e&&f(t),e&&f(r),p(w,e),e&&f(i),e&&f(a),e&&f(s),p(C,e),e&&f(l)}}}
1367
+ function Ki(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[4]("popularProviders")+"",u=/*$_*/e[4]("otherProviders")+"",g=/*topProviders*/e[1],w=[];for(let t=0;t<g.length;t+=1)w[t]=qi(Zi(e,g,t));let x=/*otherProviders*/e[2],C=[];for(let t=0;t<x.length;t+=1)C[t]=Ji(Vi(e,x,t));return{c(){t=p("h4"),n=y(c),r=v();for(let e=0;e<w.length;e+=1)w[e].c();i=v(),a=p("h4"),o=y(u),s=v();for(let e=0;e<C.length;e+=1)C[e].c();l=b(),_(t,"class","ProviderTitle"),_(a,"class","ProviderTitle")},m(e,c){d(e,t,c),h(t,n),d(e,r,c);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(e,c);d(e,i,c),d(e,a,c),h(a,o),d(e,s,c);for(let t=0;t<C.length;t+=1)C[t]&&C[t].m(e,c);d(e,l,c)},p(e,t){if(/*$_*/16&t&&c!==(c=/*$_*/e[4]("popularProviders")+"")&&S(n,c),/*openGameProviderPage, topProviders, $_*/50&t){let n;for(g=/*topProviders*/e[1],n=0;n<g.length;n+=1){const r=Zi(e,g,n);w[n]?w[n].p(r,t):(w[n]=qi(r),w[n].c(),w[n].m(i.parentNode,i))}for(;n<w.length;n+=1)w[n].d(1);w.length=g.length}if(/*$_*/16&t&&u!==(u=/*$_*/e[4]("otherProviders")+"")&&S(o,u),/*openGameProviderPage, otherProviders, $_*/52&t){let n;for(x=/*otherProviders*/e[2],n=0;n<x.length;n+=1){const r=Vi(e,x,n);C[n]?C[n].p(r,t):(C[n]=Ji(r),C[n].c(),C[n].m(l.parentNode,l))}for(;n<C.length;n+=1)C[n].d(1);C.length=x.length}},d(e){e&&m(t),e&&m(r),f(w,e),e&&m(i),e&&m(a),e&&m(s),f(C,e),e&&m(l)}}}
1364
1368
  // (76:4) {#if isLoading === true}
1365
- function Ki(e){let t,n,r=/*$_*/e[4]("loading")+"";return{c(){t=m("p"),n=y(r),_(t,"class","Message")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t&&r!==(r=/*$_*/e[4]("loading")+"")&&S(n,r)},d(e){e&&f(t)}}}
1369
+ function Xi(e){let t,n,r=/*$_*/e[4]("loading")+"";return{c(){t=p("p"),n=y(r),_(t,"class","Message")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t&&r!==(r=/*$_*/e[4]("loading")+"")&&S(n,r)},d(e){e&&m(t)}}}
1366
1370
  // (80:6) {#each topProviders as provider}
1367
- function Zi(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T=/*provider*/e[21].name+"",L=/*provider*/e[21].games.count+"",k=/*$_*/e[4]("games")+"";function $(){/*click_handler*/
1368
- return e[12](/*provider*/e[21])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(T),u=v(),p=m("p"),g=y(L),b=v(),x=y(k),l(n.src,r=/*provider*/e[21].logo)||_(n,"src",r),_(n,"alt",i=/*provider*/e[21].name),_(n,"class","ProviderImage"),_(o,"class","ProviderTextContainer"),_(t,"class","Provider")},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,p),h(p,g),h(p,b),h(p,x),C||(E=w(t,"click",$),C=!0)},p(t,a){e=t,/*topProviders*/2&a&&!l(n.src,r=/*provider*/e[21].logo)&&_(n,"src",r),/*topProviders*/2&a&&i!==(i=/*provider*/e[21].name)&&_(n,"alt",i),/*topProviders*/2&a&&T!==(T=/*provider*/e[21].name+"")&&S(c,T),/*topProviders*/2&a&&L!==(L=/*provider*/e[21].games.count+"")&&S(g,L),/*$_*/16&a&&k!==(k=/*$_*/e[4]("games")+"")&&S(x,k)},d(e){e&&f(t),C=!1,E()}}}
1371
+ function qi(e){let t,n,r,i,a,o,s,c,u,f,g,b,x,C,E,T=/*provider*/e[21].name+"",L=/*provider*/e[21].games.count+"",$=/*$_*/e[4]("games")+"";function k(){/*click_handler*/
1372
+ return e[12](/*provider*/e[21])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y(T),u=v(),f=p("p"),g=y(L),b=v(),x=y($),l(n.src,r=/*provider*/e[21].logo)||_(n,"src",r),_(n,"alt",i=/*provider*/e[21].name),_(n,"class","ProviderImage"),_(o,"class","ProviderTextContainer"),_(t,"class","Provider")},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,f),h(f,g),h(f,b),h(f,x),C||(E=w(t,"click",k),C=!0)},p(t,a){e=t,/*topProviders*/2&a&&!l(n.src,r=/*provider*/e[21].logo)&&_(n,"src",r),/*topProviders*/2&a&&i!==(i=/*provider*/e[21].name)&&_(n,"alt",i),/*topProviders*/2&a&&T!==(T=/*provider*/e[21].name+"")&&S(c,T),/*topProviders*/2&a&&L!==(L=/*provider*/e[21].games.count+"")&&S(g,L),/*$_*/16&a&&$!==($=/*$_*/e[4]("games")+"")&&S(x,$)},d(e){e&&m(t),C=!1,E()}}}
1369
1373
  // (90:6) {#each otherProviders as provider}
1370
- function Xi(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T,L=/*provider*/e[21].name+"",k=/*provider*/e[21].games.count+"",$=/*$_*/e[4]("games")+"";function G(){/*click_handler_1*/
1371
- return e[13](/*provider*/e[21])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(L),u=v(),p=m("p"),g=y(k),b=v(),x=y($),C=v(),l(n.src,r=/*provider*/e[21].logo)||_(n,"src",r),_(n,"alt",i=/*provider*/e[21].name),_(n,"class","ProviderImage"),_(o,"class","ProviderTextContainer"),_(t,"class","Provider")},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,p),h(p,g),h(p,b),h(p,x),h(t,C),E||(T=w(t,"click",G),E=!0)},p(t,a){e=t,/*otherProviders*/4&a&&!l(n.src,r=/*provider*/e[21].logo)&&_(n,"src",r),/*otherProviders*/4&a&&i!==(i=/*provider*/e[21].name)&&_(n,"alt",i),/*otherProviders*/4&a&&L!==(L=/*provider*/e[21].name+"")&&S(c,L),/*otherProviders*/4&a&&k!==(k=/*provider*/e[21].games.count+"")&&S(g,k),/*$_*/16&a&&$!==($=/*$_*/e[4]("games")+"")&&S(x,$)},d(e){e&&f(t),E=!1,T()}}}function qi(t){let n;function r(e,t){/*isLoading*/
1372
- return!0===e[3]?Ki:Vi}let i=r(t),a=i(t);return{c(){n=m("div"),a.c(),this.c=e,_(n,"class","CasinoProviders")},m(e,r){d(e,n,r),a.m(n,null),
1373
- /*div_binding*/t[14](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&&f(n),a.d(),
1374
- /*div_binding*/t[14](null)}}}function Ji(e,t,n){let r;u(e,Ln,(e=>n(4,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,d=[],f=[],p=[],m=!1;Object.keys(Yi).forEach((e=>{ji(e,Yi[e])}));const g=(e,t,n)=>{window.postMessage({type:"OpenGameProvider",providerId:e,providerName:t,providerLogo:n},window.location.href)},y=()=>{var e;e=s,sn.set(e)};return e.$$set=e=>{"endpoint"in e&&n(6,a=e.endpoint),"datasource"in e&&n(7,o=e.datasource),"lang"in e&&n(8,s=e.lang),"clientstyling"in e&&n(9,l=e.clientstyling),"clientstylingurl"in e&&n(10,c=e.clientstylingurl),"translationurl"in e&&n(11,h=e.translationurl)},e.$$.update=()=>{/*endpoint, lang, datasource*/448&e.$$.dirty&&a&&s&&o&&(()=>{n(3,m=!0);const e=new URL(`${a}/v1/casino/vendors`);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(e).then((e=>e.json())).then((e=>{n(3,m=!1),d=e.items.map((e=>e)),n(1,f=d.filter((e=>!0===e.isTopVendor))),n(2,p=d.filter((e=>!1===e.isTopVendor)));let t=[];t=d.flatMap((e=>e.subVendors)),p.push(...t.filter((e=>e.games.count>0)))}))})(),/*lang*/256&e.$$.dirty&&s&&y(),/*translationurl*/2048&e.$$.dirty&&h&&fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ji(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/513&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");e.innerHTML=l,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1025&e.$$.dirty&&c&&i&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})()},[i,f,p,m,r,g,a,o,s,l,c,h,e=>g(e.id,e.name,e.logo),e=>g(e.id,e.name,e.logo),function(e){P[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
1374
+ function Ji(e){let t,n,r,i,a,o,s,c,u,f,g,b,x,C,E,T,L=/*provider*/e[21].name+"",$=/*provider*/e[21].games.count+"",k=/*$_*/e[4]("games")+"";function G(){/*click_handler_1*/
1375
+ return e[13](/*provider*/e[21])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y(L),u=v(),f=p("p"),g=y($),b=v(),x=y(k),C=v(),l(n.src,r=/*provider*/e[21].logo)||_(n,"src",r),_(n,"alt",i=/*provider*/e[21].name),_(n,"class","ProviderImage"),_(o,"class","ProviderTextContainer"),_(t,"class","Provider")},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,f),h(f,g),h(f,b),h(f,x),h(t,C),E||(T=w(t,"click",G),E=!0)},p(t,a){e=t,/*otherProviders*/4&a&&!l(n.src,r=/*provider*/e[21].logo)&&_(n,"src",r),/*otherProviders*/4&a&&i!==(i=/*provider*/e[21].name)&&_(n,"alt",i),/*otherProviders*/4&a&&L!==(L=/*provider*/e[21].name+"")&&S(c,L),/*otherProviders*/4&a&&$!==($=/*provider*/e[21].games.count+"")&&S(g,$),/*$_*/16&a&&k!==(k=/*$_*/e[4]("games")+"")&&S(x,k)},d(e){e&&m(t),E=!1,T()}}}function Qi(t){let n;function r(e,t){/*isLoading*/
1376
+ return!0===e[3]?Xi:Ki}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoProviders")},m(e,r){d(e,n,r),a.m(n,null),
1377
+ /*div_binding*/t[14](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(),
1378
+ /*div_binding*/t[14](null)}}}function ea(e,t,n){let r;u(e,$n,(e=>n(4,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,d=[],m=[],f=[],p=!1;Object.keys(Wi).forEach((e=>{zi(e,Wi[e])}));const g=(e,t,n)=>{window.postMessage({type:"OpenGameProvider",providerId:e,providerName:t,providerLogo:n},window.location.href)},y=()=>{var e;e=s,ln.set(e)};return e.$$set=e=>{"endpoint"in e&&n(6,a=e.endpoint),"datasource"in e&&n(7,o=e.datasource),"lang"in e&&n(8,s=e.lang),"clientstyling"in e&&n(9,l=e.clientstyling),"clientstylingurl"in e&&n(10,c=e.clientstylingurl),"translationurl"in e&&n(11,h=e.translationurl)},e.$$.update=()=>{/*endpoint, lang, datasource*/448&e.$$.dirty&&a&&s&&o&&(()=>{n(3,p=!0);const e=new URL(`${a}/v1/casino/vendors`);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(e).then((e=>e.json())).then((e=>{n(3,p=!1),d=e.items.map((e=>e)),n(1,m=d.filter((e=>!0===e.isTopVendor))),n(2,f=d.filter((e=>!1===e.isTopVendor)));let t=[];t=d.flatMap((e=>e.subVendors)),f.push(...t.filter((e=>e.games.count>0)))}))})(),/*lang*/256&e.$$.dirty&&s&&y(),/*translationurl*/2048&e.$$.dirty&&h&&fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{zi(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/513&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");e.innerHTML=l,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1025&e.$$.dirty&&c&&i&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})()},[i,m,f,p,r,g,a,o,s,l,c,h,e=>g(e.id,e.name,e.logo),e=>g(e.id,e.name,e.logo),function(e){O[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
1375
1379
  /* ../casino-categories-providers/src/CasinoCategoriesProviders.svelte generated by Svelte v3.59.2 */
1376
- function Qi(t){let n,i,a,o,s,l,c,u,p,g,b,C,E,T,L,k,$,G,P,O,M=/*$_*/t[11]("categories")+"",I=/*$_*/t[11]("providers")+"";return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("button"),s=y(M),c=v(),u=m("button"),p=y(I),b=v(),C=m("div"),E=m("casino-categories"),L=v(),k=m("div"),$=m("casino-providers"),this.c=e,_(o,"class",l="HeaderButton "+(/*activeTab*/"categories"===t[10]?"Active":"")),_(u,"class",g="HeaderButton "+(/*activeTab*/"providers"===t[10]?"Active":"")),_(a,"class","Header"),x(E,"endpoint",/*endpointcategories*/t[0]),x(E,"datasource",/*datasourcecategories*/t[1]),x(E,"activecategory",/*activecategory*/t[2]),x(E,"excludedflags",/*excludedflags*/t[5]),x(E,"lang",/*lang*/t[6]),x(E,"clientstyling",/*clientstyling*/t[7]),x(E,"clientstylingurl",/*clientstylingurl*/t[8]),_(C,"class",T=/*activeTab*/"providers"===t[10]?"NotVisible":""),x($,"endpoint",/*endpointproviders*/t[3]),x($,"datasource",/*datasourceproviders*/t[4]),x($,"lang",/*lang*/t[6]),x($,"clientstyling",/*clientstyling*/t[7]),x($,"clientstylingurl",/*clientstylingurl*/t[8]),_(k,"class",G=/*activeTab*/"categories"===t[10]?"NotVisible":""),_(i,"class","CasinoCategoriesProviders")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(o,s),h(a,c),h(a,u),h(u,p),h(i,b),h(i,C),h(C,E),h(i,L),h(i,k),h(k,$),
1377
- /*div4_binding*/t[16](n),P||(O=[w(o,"click",/*click_handler*/t[14]),w(u,"click",/*click_handler_1*/t[15])],P=!0)},p(e,[t]){/*$_*/2048&t&&M!==(M=/*$_*/e[11]("categories")+"")&&S(s,M),/*activeTab*/1024&t&&l!==(l="HeaderButton "+(/*activeTab*/"categories"===e[10]?"Active":""))&&_(o,"class",l),/*$_*/2048&t&&I!==(I=/*$_*/e[11]("providers")+"")&&S(p,I),/*activeTab*/1024&t&&g!==(g="HeaderButton "+(/*activeTab*/"providers"===e[10]?"Active":""))&&_(u,"class",g),/*endpointcategories*/1&t&&x(E,"endpoint",/*endpointcategories*/e[0]),/*datasourcecategories*/2&t&&x(E,"datasource",/*datasourcecategories*/e[1]),/*activecategory*/4&t&&x(E,"activecategory",/*activecategory*/e[2]),/*excludedflags*/32&t&&x(E,"excludedflags",/*excludedflags*/e[5]),/*lang*/64&t&&x(E,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(E,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(E,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&T!==(T=/*activeTab*/"providers"===e[10]?"NotVisible":"")&&_(C,"class",T),/*endpointproviders*/8&t&&x($,"endpoint",/*endpointproviders*/e[3]),/*datasourceproviders*/16&t&&x($,"datasource",/*datasourceproviders*/e[4]),/*lang*/64&t&&x($,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x($,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x($,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&G!==(G=/*activeTab*/"categories"===e[10]?"NotVisible":"")&&_(k,"class",G)},i:e,o:e,d(e){e&&f(n)
1378
- /*div4_binding*/,t[16](null),P=!1,r(O)}}}function ea(e,t,n){let r;u(e,Ln,(e=>n(11,r=e)));let i,{endpointcategories:a=""}=t,{datasourcecategories:o=""}=t,{activecategory:s=""}=t,{endpointproviders:l=""}=t,{datasourceproviders:c=""}=t,{excludedflags:h=""}=t,{lang:d="en"}=t,{clientstyling:f=""}=t,{clientstylingurl:p=""}=t,{translationurl:m=""}=t,g="categories";Object.keys(Oi).forEach((e=>{Pi(e,Oi[e])}));const y=e=>{g!==e&&n(10,g=e)},v=()=>{var e;e=d,sn.set(e)};return e.$$set=e=>{"endpointcategories"in e&&n(0,a=e.endpointcategories),"datasourcecategories"in e&&n(1,o=e.datasourcecategories),"activecategory"in e&&n(2,s=e.activecategory),"endpointproviders"in e&&n(3,l=e.endpointproviders),"datasourceproviders"in e&&n(4,c=e.datasourceproviders),"excludedflags"in e&&n(5,h=e.excludedflags),"lang"in e&&n(6,d=e.lang),"clientstyling"in e&&n(7,f=e.clientstyling),"clientstylingurl"in e&&n(8,p=e.clientstylingurl),"translationurl"in e&&n(13,m=e.translationurl)},e.$$.update=()=>{/*translationurl*/8192&e.$$.dirty&&m&&fetch(m).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/64&e.$$.dirty&&d&&v(),/*clientstyling, customStylingContainer*/640&e.$$.dirty&&f&&i&&(()=>{let e=document.createElement("style");e.innerHTML=f,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/768&e.$$.dirty&&p&&i&&(()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[a,o,s,l,c,h,d,f,p,i,g,r,y,m,()=>y("categories"),()=>y("providers"),function(e){P[e?"unshift":"push"]((()=>{i=e,n(9,i)}))}]}!customElements.get("casino-providers")&&customElements.define("casino-providers",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emfe-w-color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Ji,qi,a,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[7]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}});
1380
+ function ta(t){let n,i,a,o,s,l,c,u,f,g,b,C,E,T,L,$,k,G,P,O,M=/*$_*/t[11]("categories")+"",I=/*$_*/t[11]("providers")+"";return{c(){n=p("div"),i=p("div"),a=p("div"),o=p("button"),s=y(M),c=v(),u=p("button"),f=y(I),b=v(),C=p("div"),E=p("casino-categories"),L=v(),$=p("div"),k=p("casino-providers"),this.c=e,_(o,"class",l="HeaderButton "+(/*activeTab*/"categories"===t[10]?"Active":"")),_(u,"class",g="HeaderButton "+(/*activeTab*/"providers"===t[10]?"Active":"")),_(a,"class","Header"),x(E,"endpoint",/*endpointcategories*/t[0]),x(E,"datasource",/*datasourcecategories*/t[1]),x(E,"activecategory",/*activecategory*/t[2]),x(E,"excludedflags",/*excludedflags*/t[5]),x(E,"lang",/*lang*/t[6]),x(E,"clientstyling",/*clientstyling*/t[7]),x(E,"clientstylingurl",/*clientstylingurl*/t[8]),_(C,"class",T=/*activeTab*/"providers"===t[10]?"NotVisible":""),x(k,"endpoint",/*endpointproviders*/t[3]),x(k,"datasource",/*datasourceproviders*/t[4]),x(k,"lang",/*lang*/t[6]),x(k,"clientstyling",/*clientstyling*/t[7]),x(k,"clientstylingurl",/*clientstylingurl*/t[8]),_($,"class",G=/*activeTab*/"categories"===t[10]?"NotVisible":""),_(i,"class","CasinoCategoriesProviders")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(o,s),h(a,c),h(a,u),h(u,f),h(i,b),h(i,C),h(C,E),h(i,L),h(i,$),h($,k),
1381
+ /*div4_binding*/t[16](n),P||(O=[w(o,"click",/*click_handler*/t[14]),w(u,"click",/*click_handler_1*/t[15])],P=!0)},p(e,[t]){/*$_*/2048&t&&M!==(M=/*$_*/e[11]("categories")+"")&&S(s,M),/*activeTab*/1024&t&&l!==(l="HeaderButton "+(/*activeTab*/"categories"===e[10]?"Active":""))&&_(o,"class",l),/*$_*/2048&t&&I!==(I=/*$_*/e[11]("providers")+"")&&S(f,I),/*activeTab*/1024&t&&g!==(g="HeaderButton "+(/*activeTab*/"providers"===e[10]?"Active":""))&&_(u,"class",g),/*endpointcategories*/1&t&&x(E,"endpoint",/*endpointcategories*/e[0]),/*datasourcecategories*/2&t&&x(E,"datasource",/*datasourcecategories*/e[1]),/*activecategory*/4&t&&x(E,"activecategory",/*activecategory*/e[2]),/*excludedflags*/32&t&&x(E,"excludedflags",/*excludedflags*/e[5]),/*lang*/64&t&&x(E,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(E,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(E,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&T!==(T=/*activeTab*/"providers"===e[10]?"NotVisible":"")&&_(C,"class",T),/*endpointproviders*/8&t&&x(k,"endpoint",/*endpointproviders*/e[3]),/*datasourceproviders*/16&t&&x(k,"datasource",/*datasourceproviders*/e[4]),/*lang*/64&t&&x(k,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(k,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(k,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&G!==(G=/*activeTab*/"categories"===e[10]?"NotVisible":"")&&_($,"class",G)},i:e,o:e,d(e){e&&m(n)
1382
+ /*div4_binding*/,t[16](null),P=!1,r(O)}}}function na(e,t,n){let r;u(e,$n,(e=>n(11,r=e)));let i,{endpointcategories:a=""}=t,{datasourcecategories:o=""}=t,{activecategory:s=""}=t,{endpointproviders:l=""}=t,{datasourceproviders:c=""}=t,{excludedflags:h=""}=t,{lang:d="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,g="categories";Object.keys(Ii).forEach((e=>{Mi(e,Ii[e])}));const y=e=>{g!==e&&n(10,g=e)},v=()=>{var e;e=d,ln.set(e)};return e.$$set=e=>{"endpointcategories"in e&&n(0,a=e.endpointcategories),"datasourcecategories"in e&&n(1,o=e.datasourcecategories),"activecategory"in e&&n(2,s=e.activecategory),"endpointproviders"in e&&n(3,l=e.endpointproviders),"datasourceproviders"in e&&n(4,c=e.datasourceproviders),"excludedflags"in e&&n(5,h=e.excludedflags),"lang"in e&&n(6,d=e.lang),"clientstyling"in e&&n(7,m=e.clientstyling),"clientstylingurl"in e&&n(8,f=e.clientstylingurl),"translationurl"in e&&n(13,p=e.translationurl)},e.$$.update=()=>{/*translationurl*/8192&e.$$.dirty&&p&&fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Mi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/64&e.$$.dirty&&d&&v(),/*clientstyling, customStylingContainer*/640&e.$$.dirty&&m&&i&&(()=>{let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/768&e.$$.dirty&&f&&i&&(()=>{let e=new URL(f),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[a,o,s,l,c,h,d,m,f,i,g,r,y,p,()=>y("categories"),()=>y("providers"),function(e){O[e?"unshift":"push"]((()=>{i=e,n(9,i)}))}]}!customElements.get("casino-providers")&&customElements.define("casino-providers",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emfe-w-color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},ea,Qi,a,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[7]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),U()}});
1379
1383
  /* src/CasinoNavigationSearch.svelte generated by Svelte v3.59.2 */
1380
- function ta(t){let n,r,i,a,o,s,l;return{c(){n=m("div"),r=m("div"),i=m("casino-search"),a=v(),o=m("div"),s=m("casino-categories-providers"),this.c=e,x(i,"endpoint",/*endpoint*/t[0]),x(i,"datasource",/*datasource*/t[5]),x(i,"lang",/*lang*/t[9]),x(i,"session",/*session*/t[1]),x(i,"userid",/*userid*/t[2]),x(i,"showfavorites",/*showfavorites*/t[8]),x(i,"clientstyling",/*clientstyling*/t[10]),x(i,"clientstylingurl",/*clientstylingurl*/t[11]),x(i,"integratedgameframedesktop",/*integratedgameframedesktop*/t[12]),x(i,"integratedgameframemobile",/*integratedgameframemobile*/t[13]),x(i,"gamepagemodalurl",/*gamepagemodalurl*/t[14]),x(s,"endpointcategories",/*endpointcategories*/t[3]),x(s,"datasourcecategories",/*datasource*/t[5]),x(s,"activecategory",/*activecategory*/t[6]),x(s,"endpointproviders",/*endpointproviders*/t[4]),x(s,"datasourceproviders",/*datasource*/t[5]),x(s,"excludedflags",/*excludedflags*/t[7]),x(s,"lang",/*lang*/t[9]),x(s,"clientstyling",/*clientstyling*/t[10]),x(s,"clientstylingurl",/*clientstylingurl*/t[11]),_(o,"class",l=/*searchActive*/!0===t[16]?"NotVisible":"")},m(e,l){d(e,n,l),h(n,r),h(r,i),h(n,a),h(n,o),h(o,s),
1381
- /*div2_binding*/t[17](n)},p(e,[t]){/*endpoint*/1&t&&x(i,"endpoint",/*endpoint*/e[0]),/*datasource*/32&t&&x(i,"datasource",/*datasource*/e[5]),/*lang*/512&t&&x(i,"lang",/*lang*/e[9]),/*session*/2&t&&x(i,"session",/*session*/e[1]),/*userid*/4&t&&x(i,"userid",/*userid*/e[2]),/*showfavorites*/256&t&&x(i,"showfavorites",/*showfavorites*/e[8]),/*clientstyling*/1024&t&&x(i,"clientstyling",/*clientstyling*/e[10]),/*clientstylingurl*/2048&t&&x(i,"clientstylingurl",/*clientstylingurl*/e[11]),/*integratedgameframedesktop*/4096&t&&x(i,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&t&&x(i,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*gamepagemodalurl*/16384&t&&x(i,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),/*endpointcategories*/8&t&&x(s,"endpointcategories",/*endpointcategories*/e[3]),/*datasource*/32&t&&x(s,"datasourcecategories",/*datasource*/e[5]),/*activecategory*/64&t&&x(s,"activecategory",/*activecategory*/e[6]),/*endpointproviders*/16&t&&x(s,"endpointproviders",/*endpointproviders*/e[4]),/*datasource*/32&t&&x(s,"datasourceproviders",/*datasource*/e[5]),/*excludedflags*/128&t&&x(s,"excludedflags",/*excludedflags*/e[7]),/*lang*/512&t&&x(s,"lang",/*lang*/e[9]),/*clientstyling*/1024&t&&x(s,"clientstyling",/*clientstyling*/e[10]),/*clientstylingurl*/2048&t&&x(s,"clientstylingurl",/*clientstylingurl*/e[11]),/*searchActive*/65536&t&&l!==(l=/*searchActive*/!0===e[16]?"NotVisible":"")&&_(o,"class",l)},i:e,o:e,d(e){e&&f(n)
1382
- /*div2_binding*/,t[17](null)}}}function na(e,t,n){let r,i,{endpoint:a=""}=t,{session:o=""}=t,{userid:s=""}=t,{endpointcategories:l=""}=t,{endpointproviders:c=""}=t,{datasource:u=""}=t,{activecategory:h=""}=t,{excludedflags:d=""}=t,{showfavorites:f=""}=t,{lang:p="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{integratedgameframedesktop:y="false"}=t,{integratedgameframemobile:v="false"}=t,{gamepagemodalurl:b="true"}=t;const w=e=>{e.data&&"searchActive"==e.data.type&&n(16,r=e.data.searchStatus),e.data&&"searchCancelled"==e.data.type&&n(16,r=e.data.searchStatus)};return $((()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)}))),e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"session"in e&&n(1,o=e.session),"userid"in e&&n(2,s=e.userid),"endpointcategories"in e&&n(3,l=e.endpointcategories),"endpointproviders"in e&&n(4,c=e.endpointproviders),"datasource"in e&&n(5,u=e.datasource),"activecategory"in e&&n(6,h=e.activecategory),"excludedflags"in e&&n(7,d=e.excludedflags),"showfavorites"in e&&n(8,f=e.showfavorites),"lang"in e&&n(9,p=e.lang),"clientstyling"in e&&n(10,m=e.clientstyling),"clientstylingurl"in e&&n(11,g=e.clientstylingurl),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(14,b=e.gamepagemodalurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/33792&e.$$.dirty&&m&&i&&(()=>{let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/34816&e.$$.dirty&&g&&i&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})()},[a,o,s,l,c,u,h,d,f,p,m,g,y,v,b,i,r,function(e){P[e?"unshift":"push"]((()=>{i=e,n(15,i)}))}]}!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emfe-w-color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px 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))}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},ea,Qi,a,{endpointcategories:0,datasourcecategories:1,activecategory:2,endpointproviders:3,datasourceproviders:4,excludedflags:5,lang:6,clientstyling:7,clientstylingurl:8,translationurl:13},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpointcategories","datasourcecategories","activecategory","endpointproviders","datasourceproviders","excludedflags","lang","clientstyling","clientstylingurl","translationurl"]}get endpointcategories(){return this.$$.ctx[0]}set endpointcategories(e){this.$$set({endpointcategories:e}),B()}get datasourcecategories(){return this.$$.ctx[1]}set datasourcecategories(e){this.$$set({datasourcecategories:e}),B()}get activecategory(){return this.$$.ctx[2]}set activecategory(e){this.$$set({activecategory:e}),B()}get endpointproviders(){return this.$$.ctx[3]}set endpointproviders(e){this.$$set({endpointproviders:e}),B()}get datasourceproviders(){return this.$$.ctx[4]}set datasourceproviders(e){this.$$set({datasourceproviders:e}),B()}get excludedflags(){return this.$$.ctx[5]}set excludedflags(e){this.$$set({excludedflags:e}),B()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),B()}});class ra extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},na,ta,a,{endpoint:0,session:1,userid:2,endpointcategories:3,endpointproviders:4,datasource:5,activecategory:6,excludedflags:7,showfavorites:8,lang:9,clientstyling:10,clientstylingurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,gamepagemodalurl:14},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","session","userid","endpointcategories","endpointproviders","datasource","activecategory","excludedflags","showfavorites","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),B()}get endpointcategories(){return this.$$.ctx[3]}set endpointcategories(e){this.$$set({endpointcategories:e}),B()}get endpointproviders(){return this.$$.ctx[4]}set endpointproviders(e){this.$$set({endpointproviders:e}),B()}get datasource(){return this.$$.ctx[5]}set datasource(e){this.$$set({datasource:e}),B()}get activecategory(){return this.$$.ctx[6]}set activecategory(e){this.$$set({activecategory:e}),B()}get excludedflags(){return this.$$.ctx[7]}set excludedflags(e){this.$$set({excludedflags:e}),B()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),B()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}}return!customElements.get("casino-navigation-search")&&customElements.define("casino-navigation-search",ra),ra}));
1384
+ function ra(t){let n,r,i,a,o,s,l;return{c(){n=p("div"),r=p("div"),i=p("casino-search"),a=v(),o=p("div"),s=p("casino-categories-providers"),this.c=e,x(i,"endpoint",/*endpoint*/t[0]),x(i,"datasource",/*datasource*/t[5]),x(i,"lang",/*lang*/t[9]),x(i,"session",/*session*/t[1]),x(i,"userid",/*userid*/t[2]),x(i,"showfavorites",/*showfavorites*/t[8]),x(i,"clientstyling",/*clientstyling*/t[10]),x(i,"clientstylingurl",/*clientstylingurl*/t[11]),x(i,"integratedgameframedesktop",/*integratedgameframedesktop*/t[12]),x(i,"integratedgameframemobile",/*integratedgameframemobile*/t[13]),x(i,"gamepagemodalurl",/*gamepagemodalurl*/t[14]),x(s,"endpointcategories",/*endpointcategories*/t[3]),x(s,"datasourcecategories",/*datasource*/t[5]),x(s,"activecategory",/*activecategory*/t[6]),x(s,"endpointproviders",/*endpointproviders*/t[4]),x(s,"datasourceproviders",/*datasource*/t[5]),x(s,"excludedflags",/*excludedflags*/t[7]),x(s,"lang",/*lang*/t[9]),x(s,"clientstyling",/*clientstyling*/t[10]),x(s,"clientstylingurl",/*clientstylingurl*/t[11]),_(o,"class",l=/*searchActive*/!0===t[16]?"NotVisible":"")},m(e,l){d(e,n,l),h(n,r),h(r,i),h(n,a),h(n,o),h(o,s),
1385
+ /*div2_binding*/t[17](n)},p(e,[t]){/*endpoint*/1&t&&x(i,"endpoint",/*endpoint*/e[0]),/*datasource*/32&t&&x(i,"datasource",/*datasource*/e[5]),/*lang*/512&t&&x(i,"lang",/*lang*/e[9]),/*session*/2&t&&x(i,"session",/*session*/e[1]),/*userid*/4&t&&x(i,"userid",/*userid*/e[2]),/*showfavorites*/256&t&&x(i,"showfavorites",/*showfavorites*/e[8]),/*clientstyling*/1024&t&&x(i,"clientstyling",/*clientstyling*/e[10]),/*clientstylingurl*/2048&t&&x(i,"clientstylingurl",/*clientstylingurl*/e[11]),/*integratedgameframedesktop*/4096&t&&x(i,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&t&&x(i,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*gamepagemodalurl*/16384&t&&x(i,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),/*endpointcategories*/8&t&&x(s,"endpointcategories",/*endpointcategories*/e[3]),/*datasource*/32&t&&x(s,"datasourcecategories",/*datasource*/e[5]),/*activecategory*/64&t&&x(s,"activecategory",/*activecategory*/e[6]),/*endpointproviders*/16&t&&x(s,"endpointproviders",/*endpointproviders*/e[4]),/*datasource*/32&t&&x(s,"datasourceproviders",/*datasource*/e[5]),/*excludedflags*/128&t&&x(s,"excludedflags",/*excludedflags*/e[7]),/*lang*/512&t&&x(s,"lang",/*lang*/e[9]),/*clientstyling*/1024&t&&x(s,"clientstyling",/*clientstyling*/e[10]),/*clientstylingurl*/2048&t&&x(s,"clientstylingurl",/*clientstylingurl*/e[11]),/*searchActive*/65536&t&&l!==(l=/*searchActive*/!0===e[16]?"NotVisible":"")&&_(o,"class",l)},i:e,o:e,d(e){e&&m(n)
1386
+ /*div2_binding*/,t[17](null)}}}function ia(e,t,n){let r,i,{endpoint:a=""}=t,{session:o=""}=t,{userid:s=""}=t,{endpointcategories:l=""}=t,{endpointproviders:c=""}=t,{datasource:u=""}=t,{activecategory:h=""}=t,{excludedflags:d=""}=t,{showfavorites:m=""}=t,{lang:f="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{integratedgameframedesktop:y="false"}=t,{integratedgameframemobile:v="false"}=t,{gamepagemodalurl:b="true"}=t;const w=e=>{e.data&&"searchActive"==e.data.type&&n(16,r=e.data.searchStatus),e.data&&"searchCancelled"==e.data.type&&n(16,r=e.data.searchStatus)};return G((()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)}))),e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"session"in e&&n(1,o=e.session),"userid"in e&&n(2,s=e.userid),"endpointcategories"in e&&n(3,l=e.endpointcategories),"endpointproviders"in e&&n(4,c=e.endpointproviders),"datasource"in e&&n(5,u=e.datasource),"activecategory"in e&&n(6,h=e.activecategory),"excludedflags"in e&&n(7,d=e.excludedflags),"showfavorites"in e&&n(8,m=e.showfavorites),"lang"in e&&n(9,f=e.lang),"clientstyling"in e&&n(10,p=e.clientstyling),"clientstylingurl"in e&&n(11,g=e.clientstylingurl),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(14,b=e.gamepagemodalurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/33792&e.$$.dirty&&p&&i&&(()=>{let e=document.createElement("style");e.innerHTML=p,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/34816&e.$$.dirty&&g&&i&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})()},[a,o,s,l,c,u,h,d,m,f,p,g,y,v,b,i,r,function(e){O[e?"unshift":"push"]((()=>{i=e,n(15,i)}))}]}!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emfe-w-color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px 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))}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},na,ta,a,{endpointcategories:0,datasourcecategories:1,activecategory:2,endpointproviders:3,datasourceproviders:4,excludedflags:5,lang:6,clientstyling:7,clientstylingurl:8,translationurl:13},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpointcategories","datasourcecategories","activecategory","endpointproviders","datasourceproviders","excludedflags","lang","clientstyling","clientstylingurl","translationurl"]}get endpointcategories(){return this.$$.ctx[0]}set endpointcategories(e){this.$$set({endpointcategories:e}),U()}get datasourcecategories(){return this.$$.ctx[1]}set datasourcecategories(e){this.$$set({datasourcecategories:e}),U()}get activecategory(){return this.$$.ctx[2]}set activecategory(e){this.$$set({activecategory:e}),U()}get endpointproviders(){return this.$$.ctx[3]}set endpointproviders(e){this.$$set({endpointproviders:e}),U()}get datasourceproviders(){return this.$$.ctx[4]}set datasourceproviders(e){this.$$set({datasourceproviders:e}),U()}get excludedflags(){return this.$$.ctx[5]}set excludedflags(e){this.$$set({excludedflags:e}),U()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),U()}});class aa extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},ia,ra,a,{endpoint:0,session:1,userid:2,endpointcategories:3,endpointproviders:4,datasource:5,activecategory:6,excludedflags:7,showfavorites:8,lang:9,clientstyling:10,clientstylingurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,gamepagemodalurl:14},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","session","userid","endpointcategories","endpointproviders","datasource","activecategory","excludedflags","showfavorites","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),U()}get endpointcategories(){return this.$$.ctx[3]}set endpointcategories(e){this.$$set({endpointcategories:e}),U()}get endpointproviders(){return this.$$.ctx[4]}set endpointproviders(e){this.$$set({endpointproviders:e}),U()}get datasource(){return this.$$.ctx[5]}set datasource(e){this.$$set({datasource:e}),U()}get activecategory(){return this.$$.ctx[6]}set activecategory(e){this.$$set({activecategory:e}),U()}get excludedflags(){return this.$$.ctx[7]}set excludedflags(e){this.$$set({excludedflags:e}),U()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),U()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),U()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),U()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),U()}}return!customElements.get("casino-navigation-search")&&customElements.define("casino-navigation-search",aa),aa}));
1383
1387
  //# sourceMappingURL=casino-navigation-search.js.map