@everymatrix/casino-tournaments-customize-page-controller 1.28.8 → 1.29.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,6 +1,6 @@
1
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,t){
2
2
  // @ts-ignore
3
- for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function o(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,l;function u(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function d(e,t,n){e.$$.on_destroy.push(c(t,n))}function h(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function f(t){return t&&o(t.destroy)?t.destroy:e}function m(e,t){e.appendChild(t)}function p(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function y(e){return document.createElement(e)}function w(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function v(){return C(" ")}function T(){return C("")}function x(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 k(e,t){t=""+t,e.data!==t&&(e.data=t)}function S(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function P(e,t,n){e.classList[n?"add":"remove"](t)}function E(e){const t={};for(const n of e)t[n.name]=n.value;return t}function $(e,t){return new e(t)}function L(e){l=e}function D(){if(!l)throw new Error("Function called outside component initialization");return l}
3
+ for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function a(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,l;function u(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function d(e,t,n){e.$$.on_destroy.push(c(t,n))}function h(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function f(t){return t&&a(t.destroy)?t.destroy:e}function m(e,t){e.appendChild(t)}function p(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function y(e){return document.createElement(e)}function C(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function v(){return w(" ")}function T(){return w("")}function x(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 k(e,t){t=""+t,e.data!==t&&(e.data=t)}function P(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function S(e,t,n){e.classList[n?"add":"remove"](t)}function E(e){const t={};for(const n of e)t[n.name]=n.value;return t}function $(e,t){return new e(t)}function L(e){l=e}function D(){if(!l)throw new Error("Function called outside component initialization");return l}
4
4
  /**
5
5
  * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
6
6
  * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
@@ -9,7 +9,7 @@ for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return
9
9
  * `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
10
10
  *
11
11
  * https://svelte.dev/docs#run-time-svelte-onmount
12
- */function M(e){D().$$.on_mount.push(e)}const R=[],A=[];let B=[];const O=[],F=Promise.resolve();let z=!1;function N(e){B.push(e)}
12
+ */function M(e){D().$$.on_mount.push(e)}const R=[],A=[];let B=[];const z=[],O=Promise.resolve();let F=!1;function N(e){B.push(e)}
13
13
  // flush() calls callbacks in this order:
14
14
  // 1. All beforeUpdate callbacks, in order: parents before children
15
15
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -44,12 +44,12 @@ throw R.length=0,U=0,e}for(L(null),R.length=0,U=0;A.length;)A.pop()();
44
44
  // subsequent updates...
45
45
  for(let e=0;e<B.length;e+=1){const t=B[e];H.has(t)||(
46
46
  // ...so guard against infinite loops
47
- H.add(t),t())}B.length=0}while(R.length);for(;O.length;)O.pop()();z=!1,H.clear(),L(e)}function j(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}
47
+ H.add(t),t())}B.length=0}while(R.length);for(;z.length;)z.pop()();F=!1,H.clear(),L(e)}function j(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}
48
48
  /**
49
49
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
50
- */const Y=new Set;let G,V;function W(){G={r:0,c:[],p:G}}function q(){G.r||i(G.c),G=G.p}function J(e,t){e&&e.i&&(Y.delete(e),e.i(t))}function Z(e,t,n,r){if(e&&e.o){if(Y.has(e))return;Y.add(e),G.c.push((()=>{Y.delete(e),r&&(n&&e.d(1),r())})),e.o(t)}else r&&r()}function K(e,t){const n={},r={},i={$$scope:1};let o=e.length;for(;o--;){const a=e[o],s=t[o];if(s){for(const e in a)e in s||(r[e]=1);for(const e in s)i[e]||(n[e]=s[e],i[e]=1);e[o]=s}else for(const e in a)i[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function X(e){return"object"==typeof e&&null!==e?e:{}}function Q(e){e&&e.c()}function ee(e,t,r,a){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,r),a||
50
+ */const Y=new Set;let G,V;function W(){G={r:0,c:[],p:G}}function q(){G.r||i(G.c),G=G.p}function J(e,t){e&&e.i&&(Y.delete(e),e.i(t))}function Z(e,t,n,r){if(e&&e.o){if(Y.has(e))return;Y.add(e),G.c.push((()=>{Y.delete(e),r&&(n&&e.d(1),r())})),e.o(t)}else r&&r()}function K(e,t){const n={},r={},i={$$scope:1};let a=e.length;for(;a--;){const o=e[a],s=t[a];if(s){for(const e in o)e in s||(r[e]=1);for(const e in s)i[e]||(n[e]=s[e],i[e]=1);e[a]=s}else for(const e in o)i[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function X(e){return"object"==typeof e&&null!==e?e:{}}function Q(e){e&&e.c()}function ee(e,t,r,o){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,r),o||
51
51
  // onMount happens before the initial afterUpdate
52
- N((()=>{const t=e.$$.on_mount.map(n).filter(o);
52
+ N((()=>{const t=e.$$.on_mount.map(n).filter(a);
53
53
  // if the component was destroyed immediately
54
54
  // it will update the `$$.on_destroy` reference to `null`.
55
55
  // the destructured on_destroy may still reference to the old array
@@ -59,25 +59,25 @@ e.$$.on_destroy?e.$$.on_destroy.push(...t):
59
59
  i(t),e.$$.on_mount=[]})),l.forEach(N)}function te(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];B.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),B=t}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(t),
60
60
  // TODO null out other refs, including component.$$ (but need to
61
61
  // preserve final state?)
62
- n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){-1===e.$$.dirty[0]&&(R.push(e),z||(z=!0,F.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function re(t,n,o,a,s,u,c,d=[-1]){const h=l;L(t);const f=t.$$={fragment:null,ctx:[],
62
+ n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){-1===e.$$.dirty[0]&&(R.push(e),F||(F=!0,O.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function re(t,n,a,o,s,u,c,d=[-1]){const h=l;L(t);const f=t.$$={fragment:null,ctx:[],
63
63
  // state
64
64
  props:u,update:e,not_equal:s,bound:r(),
65
65
  // lifecycle
66
66
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),
67
67
  // everything else
68
- callbacks:r(),dirty:d,skip_bound:!1,root:n.target||h.$$.root};c&&c(f.root);let m=!1;if(f.ctx=o?o(t,n.props||{},((e,n,...r)=>{const i=r.length?r[0]:n;return f.ctx&&s(f.ctx[e],f.ctx[e]=i)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](i),m&&ne(t,e)),n})):[],f.update(),m=!0,i(f.before_update),
68
+ callbacks:r(),dirty:d,skip_bound:!1,root:n.target||h.$$.root};c&&c(f.root);let m=!1;if(f.ctx=a?a(t,n.props||{},((e,n,...r)=>{const i=r.length?r[0]:n;return f.ctx&&s(f.ctx[e],f.ctx[e]=i)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](i),m&&ne(t,e)),n})):[],f.update(),m=!0,i(f.before_update),
69
69
  // `false` as a special case of no DOM component
70
- f.fragment=!!a&&a(f.ctx),n.target){if(n.hydrate){const e=function(e){return Array.from(e.childNodes)}(n.target);
70
+ f.fragment=!!o&&o(f.ctx),n.target){if(n.hydrate){const e=function(e){return Array.from(e.childNodes)}(n.target);
71
71
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
72
72
  f.fragment&&f.fragment.l(e),e.forEach(g)}else
73
73
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
74
- f.fragment&&f.fragment.c();n.intro&&J(t.$$.fragment),ee(t,n.target,n.anchor,n.customElement),I()}L(h)}"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(n).filter(o);
74
+ f.fragment&&f.fragment.c();n.intro&&J(t.$$.fragment),ee(t,n.target,n.anchor,n.customElement),I()}L(h)}"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(n).filter(a);
75
75
  // @ts-ignore todo: improve typings
76
76
  for(const e in this.$$.slotted)
77
77
  // @ts-ignore todo: improve typings
78
78
  this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){i(this.$$.on_disconnect)}$destroy(){te(this,1),this.$destroy=e}$on(t,n){
79
79
  // TODO should this delegate to addEventListener?
80
- if(!o(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 ie=[];
80
+ if(!a(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const ie=[];
81
81
  /**
82
82
  * Creates a `Readable` store that allows reading by subscription.
83
83
  * @param value initial value
@@ -88,12 +88,12 @@ if(!o(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return
88
88
  * @param {*=}value initial value
89
89
  * @param {StartStopNotifier=} start
90
90
  */
91
- function oe(t,n=e){let r;const i=new Set;function o(e){if(a(t,e)&&(t=e,r)){// store is ready
92
- const e=!ie.length;for(const e of i)e[1](),ie.push(e,t);if(e){for(let e=0;e<ie.length;e+=2)ie[e][0](ie[e+1]);ie.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 ae(t,n,r){const a=!Array.isArray(t),s=a?[t]:t,l=n.length<2;return u=t=>{let r=!1;const u=[];let d=0,h=e;const f=()=>{if(d)return;h();const r=n(a?u[0]:u,t);l?t(r):h=o(r)?r:e},m=s.map(((e,t)=>c(e,(e=>{u[t]=e,d&=~(1<<t),r&&f()}),(()=>{d|=1<<t}))));return r=!0,f(),function(){i(m),h(),
91
+ function ae(t,n=e){let r;const i=new Set;function a(e){if(o(t,e)&&(t=e,r)){// store is ready
92
+ const e=!ie.length;for(const e of i)e[1](),ie.push(e,t);if(e){for(let e=0;e<ie.length;e+=2)ie[e][0](ie[e+1]);ie.length=0}}}return{set:a,update:function(e){a(e(t))},subscribe:function(o,s=e){const l=[o,s];return i.add(l),1===i.size&&(r=n(a)||e),o(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function oe(t,n,r){const o=!Array.isArray(t),s=o?[t]:t,l=n.length<2;return u=t=>{let r=!1;const u=[];let d=0,h=e;const f=()=>{if(d)return;h();const r=n(o?u[0]:u,t);l?t(r):h=a(r)?r:e},m=s.map(((e,t)=>c(e,(e=>{u[t]=e,d&=~(1<<t),r&&f()}),(()=>{d|=1<<t}))));return r=!0,f(),function(){i(m),h(),
93
93
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
94
94
  // Callbacks might already be placed in the queue which doesn't know it should no longer
95
95
  // invoke this derived store.
96
- r=!1}},{subscribe:oe(r,u).subscribe};var u}var se=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===le}(e)}
96
+ r=!1}},{subscribe:ae(r,u).subscribe};var u}var se=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===le}(e)}
97
97
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
98
98
  (e)};var le="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ue(e,t){return!1!==t.clone&&t.isMergeableObject(e)?me((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function ce(e,t,n){return e.concat(t).map((function(e){return ue(e,n)}))}function de(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 he(e,t){try{return t in e}catch(e){return!1}}
99
99
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
@@ -101,11 +101,11 @@ function fe(e,t,n){var r={};return n.isMergeableObject(e)&&de(e).forEach((functi
101
101
  })(e,i)||(he(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return me;var n=t.customMerge(e);return"function"==typeof n?n:me}(i,n)(e[i],t[i],n):r[i]=ue(t[i],n))})),r}function me(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||ce,n.isMergeableObject=n.isMergeableObject||se,
102
102
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
103
103
  // implementations can use it. The caller may not replace it.
104
- n.cloneUnlessOtherwiseSpecified=ue;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):fe(e,t,n):ue(t,n)}me.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return me(e,n,t)}),{})};var pe=me,ge=function(e,t){return ge=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])},ge(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ye,we,Ce,ve=function(){return ve=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},ve.apply(this,arguments)};function Te(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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
+ n.cloneUnlessOtherwiseSpecified=ue;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):fe(e,t,n):ue(t,n)}me.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return me(e,n,t)}),{})};var pe=me,ge=function(e,t){return ge=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])},ge(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ye,Ce,we,ve=function(){return ve=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},ve.apply(this,arguments)};function Te(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))}
105
105
  /**
106
106
  * Type Guards
107
107
  */
108
- function xe(e){return e.type===we.literal}function _e(e){return e.type===we.argument}function ke(e){return e.type===we.number}function Se(e){return e.type===we.date}function Pe(e){return e.type===we.time}function Ee(e){return e.type===we.select}function $e(e){return e.type===we.plural}function Le(e){return e.type===we.pound}function De(e){return e.type===we.tag}function Me(e){return!(!e||"object"!=typeof e||e.type!==Ce.number)}function Re(e){return!(!e||"object"!=typeof e||e.type!==Ce.dateTime)}
108
+ function xe(e){return e.type===Ce.literal}function _e(e){return e.type===Ce.argument}function ke(e){return e.type===Ce.number}function Pe(e){return e.type===Ce.date}function Se(e){return e.type===Ce.time}function Ee(e){return e.type===Ce.select}function $e(e){return e.type===Ce.plural}function Le(e){return e.type===Ce.pound}function De(e){return e.type===Ce.tag}function Me(e){return!(!e||"object"!=typeof e||e.type!==we.number)}function Re(e){return!(!e||"object"!=typeof e||e.type!==we.dateTime)}
109
109
  // @generated from regex-gen.ts
110
110
  "function"==typeof SuppressedError&&SuppressedError,function(e){
111
111
  /** Argument is unclosed (e.g. `{0`) */
@@ -204,7 +204,7 @@ e[e.pound=7]="pound",
204
204
  /**
205
205
  * XML-like tag
206
206
  */
207
- e[e.tag=8]="tag"}(we||(we={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Ce||(Ce={}));var Ae=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Be=/(?:[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
+ e[e.tag=8]="tag"}(Ce||(Ce={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(we||(we={}));var Ae=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Be=/(?:[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;
208
208
  /**
209
209
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
210
210
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -216,7 +216,7 @@ e[e.tag=8]="tag"}(we||(we={})),function(e){e[e.number=0]="number",e[e.dateTime=1
216
216
  * @public
217
217
  * @param skeleton skeleton string
218
218
  */
219
- function Oe(e){var t={};return e.replace(Be,(function(e){var n=e.length;switch(e[0]){
219
+ function ze(e){var t={};return e.replace(Be,(function(e){var n=e.length;switch(e[0]){
220
220
  // Era
221
221
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
222
222
  // Year
@@ -250,7 +250,7 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
250
250
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
251
251
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
252
252
  // @generated from regex-gen.ts
253
- var Fe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var ze=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ne=/^(@+)?(\+|#+)?[rs]?$/g,He=/(\*)(0+)|(#+)(0+)|(0+)/g,Ue=/^(0+)$/;function Ie(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ne,(function(e,n,r){
253
+ var Oe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Fe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ne=/^(@+)?(\+|#+)?[rs]?$/g,He=/(\*)(0+)|(#+)(0+)|(0+)/g,Ue=/^(0+)$/;function Ie(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ne,(function(e,n,r){
254
254
  // @@@ case
255
255
  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 je(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 Ye(e){
256
256
  // Engineering
@@ -261,19 +261,19 @@ var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===
261
261
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
262
262
  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;
263
263
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
264
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(He,(function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}
264
+ case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(He,(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}
265
265
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
266
- if(Ue.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(ze.test(i.stem)){
266
+ if(Ue.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Fe.test(i.stem)){
267
267
  // Precision
268
268
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
269
269
  // precision-integer case
270
- if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ze,(function(e,n,r,i,o,a){
270
+ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Fe,(function(e,n,r,i,a,o){
271
271
  // .000* case (before ICU67 it was .000+)
272
- return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];
272
+ 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];
273
273
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
274
- "w"===o?t=ve(ve({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ve(ve({},t),Ie(o)))}
274
+ "w"===a?t=ve(ve({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=ve(ve({},t),Ie(a)))}
275
275
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
276
- else if(Ne.test(i.stem))t=ve(ve({},t),Ie(i.stem));else{var a=je(i.stem);a&&(t=ve(ve({},t),a));var s=Ye(i.stem);s&&(t=ve(ve({},t),s))}}return t}
276
+ else if(Ne.test(i.stem))t=ve(ve({},t),Ie(i.stem));else{var o=je(i.stem);o&&(t=ve(ve({},t),o));var s=Ye(i.stem);s&&(t=ve(ve({},t),s))}}return t}
277
277
  // @generated from time-data-gen.ts
278
278
  // prettier-ignore
279
279
  var We,qe={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"]};
@@ -300,20 +300,20 @@ t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12"
300
300
  var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(qe[n||""]||qe[r||""]||qe["".concat(r,"-001")]||qe["001"])[0]}var Ze=new RegExp("^".concat(Ae.source,"*")),Ke=new RegExp("".concat(Ae.source,"*$"));function Xe(e,t){return{start:e,end:t}}
301
301
  // #region Ponyfills
302
302
  // Consolidate these variables up top for easier toggling during debugging
303
- var Qe=!!String.prototype.startsWith,et=!!String.fromCodePoint,tt=!!Object.fromEntries,nt=!!String.prototype.codePointAt,rt=!!String.prototype.trimStart,it=!!String.prototype.trimEnd,ot=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},at=!0;try{
303
+ var Qe=!!String.prototype.startsWith,et=!!String.fromCodePoint,tt=!!Object.fromEntries,nt=!!String.prototype.codePointAt,rt=!!String.prototype.trimStart,it=!!String.prototype.trimEnd,at=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ot=!0;try{
304
304
  /**
305
305
  * legacy Edge or Xbox One browser
306
306
  * Unicode flag support: supported
307
307
  * Pattern_Syntax support: not supported
308
308
  * See https://github.com/formatjs/formatjs/issues/2822
309
309
  */
310
- at="a"===(null===(We=mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===We?void 0:We[0])}catch(e){at=!1}var st,lt=Qe?// Native
310
+ ot="a"===(null===(We=mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===We?void 0:We[0])}catch(e){ot=!1}var st,lt=Qe?// Native
311
311
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
312
312
  function(e,t,n){return e.slice(n,n+t.length)===t},ut=et?String.fromCodePoint:// IE11
313
- function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>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},ct=
313
+ 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},ct=
314
314
  // native
315
315
  tt?Object.fromEntries:// Ponyfill
316
- function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t},dt=nt?// Native
316
+ 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},dt=nt?// Native
317
317
  function(e,t){return e.codePointAt(t)}:// IE 11
318
318
  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}},ht=rt?// Native
319
319
  function(e){return e.trimStart()}:// Ponyfill
@@ -323,11 +323,11 @@ function(e){return e.replace(Ke,"")};
323
323
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
324
324
  function mt(e,t){return new RegExp(e,t)}
325
325
  // #endregion
326
- if(at){
326
+ if(ot){
327
327
  // Native
328
328
  var pt=mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=function(e,t){var n;return pt.lastIndex=t,null!==(n=pt.exec(e)[1])&&void 0!==n?n:""}}else
329
329
  // IE11
330
- st=function(e,t){for(var n=[];;){var r=dt(e,t);if(void 0===r||yt(r)||wt(r))break;n.push(r),t+=r>=65536?2:1}return ut.apply(void 0,n)};var gt=/** @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((o=this.parseArgument(e,n)).err)return o;r.push(o.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(ye.UNMATCHED_CLOSING_TAG,Xe(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&bt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:we.pound,location:Xe(a,this.clonePosition())})}}}return{val:r,err:null}},
330
+ st=function(e,t){for(var n=[];;){var r=dt(e,t);if(void 0===r||yt(r)||Ct(r))break;n.push(r),t+=r>=65536?2:1}return ut.apply(void 0,n)};var gt=/** @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(ye.UNMATCHED_CLOSING_TAG,Xe(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&bt(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:Xe(o,this.clonePosition())})}}}return{val:r,err:null}},
331
331
  /**
332
332
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
333
333
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -349,14 +349,14 @@ st=function(e,t){for(var n=[];;){var r=dt(e,t);if(void 0===r||yt(r)||wt(r))break
349
349
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
350
350
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
351
351
  // Self closing tag
352
- return{val:{type:we.literal,value:"<".concat(r,"/>"),location:Xe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();
352
+ return{val:{type:Ce.literal,value:"<".concat(r,"/>"),location:Xe(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();
353
353
  // Expecting a close tag
354
- if(this.bumpIf("</")){if(this.isEOF()||!bt(this.char()))return this.error(ye.INVALID_TAG,Xe(a,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(ye.UNMATCHED_CLOSING_TAG,Xe(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:we.tag,value:r,children:o,location:Xe(n,this.clonePosition())},err:null}:this.error(ye.INVALID_TAG,Xe(a,this.clonePosition())))}return this.error(ye.UNCLOSED_TAG,Xe(n,this.clonePosition()))}return this.error(ye.INVALID_TAG,Xe(n,this.clonePosition()))},
354
+ if(this.bumpIf("</")){if(this.isEOF()||!bt(this.char()))return this.error(ye.INVALID_TAG,Xe(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(ye.UNMATCHED_CLOSING_TAG,Xe(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ce.tag,value:r,children:a,location:Xe(n,this.clonePosition())},err:null}:this.error(ye.INVALID_TAG,Xe(o,this.clonePosition())))}return this.error(ye.UNCLOSED_TAG,Xe(n,this.clonePosition()))}return this.error(ye.INVALID_TAG,Xe(n,this.clonePosition()))},
355
355
  /**
356
356
  * This method assumes that the caller has peeked ahead for the first tag character.
357
357
  */
358
358
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
359
- 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 o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=Xe(n,this.clonePosition());return{val:{type:we.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(bt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
359
+ 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=Xe(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&&(bt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
360
360
  /** See `parseTag` function docs. */},
361
361
  /**
362
362
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -384,7 +384,7 @@ this.bumpSpace(),this.isEOF())return this.error(ye.EXPECT_ARGUMENT_CLOSING_BRACE
384
384
  var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ye.MALFORMED_ARGUMENT,Xe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ye.EXPECT_ARGUMENT_CLOSING_BRACE,Xe(n,this.clonePosition()));switch(this.char()){
385
385
  // Simple argument: `{name}`
386
386
  case 125/* `}` */:// `}`
387
- return this.bump(),{val:{type:we.argument,
387
+ return this.bump(),{val:{type:Ce.argument,
388
388
  // value does not include the opening and closing braces.
389
389
  value:r,location:Xe(n,this.clonePosition())},err:null};
390
390
  // Argument with options: `{name, format, ...}`
@@ -394,13 +394,13 @@ this.bumpSpace(),this.isEOF()?this.error(ye.EXPECT_ARGUMENT_CLOSING_BRACE,Xe(n,t
394
394
  * Advance the parser until the end of the identifier, if it is currently on
395
395
  * an identifier character. Return an empty string otherwise.
396
396
  */
397
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=st(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Xe(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();
397
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=st(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Xe(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();
398
398
  // Parse this range:
399
399
  // {name, type, style}
400
400
  // ^---^
401
- switch(a){case"":
401
+ switch(o){case"":
402
402
  // Expecting a style string number, date, time, plural, selectordinal, or select.
403
- return this.error(ye.EXPECT_ARGUMENT_TYPE,Xe(o,s));case"number":case"date":case"time":
403
+ return this.error(ye.EXPECT_ARGUMENT_TYPE,Xe(a,s));case"number":case"date":case"time":
404
404
  // Parse this range:
405
405
  // {name, number, style}
406
406
  // ^-------^
@@ -408,13 +408,13 @@ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clo
408
408
  // Extract style or skeleton
409
409
  if(l&&lt(null==l?void 0:l.style,"::",0)){
410
410
  // Skeleton starts with `::`.
411
- var d=ht(l.style.slice(2));if("number"===a)return(b=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?b:{val:{type:we.number,value:n,location:c,style:b.val},err:null};if(0===d.length)return this.error(ye.EXPECT_DATE_TIME_SKELETON,c);var h=d;
411
+ var d=ht(l.style.slice(2));if("number"===o)return(b=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?b:{val:{type:Ce.number,value:n,location:c,style:b.val},err:null};if(0===d.length)return this.error(ye.EXPECT_DATE_TIME_SKELETON,c);var h=d;
412
412
  // Get "best match" pattern only if locale is passed, if not, let it
413
413
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
414
414
  // for unsupported patterns.
415
- this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=Je(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(d,this.locale));var f={type:Ce.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Oe(h):{}};return{val:{type:"date"===a?we.date:we.time,value:n,location:c,style:f},err:null}}
415
+ this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=Je(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}(d,this.locale));var f={type:we.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ze(h):{}};return{val:{type:"date"===o?Ce.date:Ce.time,value:n,location:c,style:f},err:null}}
416
416
  // Regular style or no style.
417
- return{val:{type:"number"===a?we.number:"date"===a?we.date:we.time,value:n,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
417
+ return{val:{type:"number"===o?Ce.number:"date"===o?Ce.date:Ce.time,value:n,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
418
418
  // Parse this range:
419
419
  // {name, plural, options}
420
420
  // ^---------^
@@ -425,9 +425,9 @@ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.err
425
425
  // or the first option:
426
426
  // {name, plural, one {...} other {...}}
427
427
  // ^--^
428
- var p=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(ye.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Xe(this.clonePosition(),this.clonePosition()));var b;if(this.bumpSpace(),(b=this.tryParseDecimalInteger(ye.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ye.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return b;
428
+ var p=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(ye.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Xe(this.clonePosition(),this.clonePosition()));var b;if(this.bumpSpace(),(b=this.tryParseDecimalInteger(ye.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ye.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return b;
429
429
  // Parse another identifier for option parsing
430
- this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=b.val}var y,w=this.tryParsePluralOrSelectOptions(e,a,t,p);if(w.err)return w;if((y=this.tryParseArgumentClose(r)).err)return y;var C=Xe(r,this.clonePosition());return"select"===a?{val:{type:we.select,value:n,options:ct(w.val),location:C},err:null}:{val:{type:we.plural,value:n,options:ct(w.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:C},err:null};default:return this.error(ye.INVALID_ARGUMENT_TYPE,Xe(o,s))}},e.prototype.tryParseArgumentClose=function(e){
430
+ this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=b.val}var y,C=this.tryParsePluralOrSelectOptions(e,o,t,p);if(C.err)return C;if((y=this.tryParseArgumentClose(r)).err)return y;var w=Xe(r,this.clonePosition());return"select"===o?{val:{type:Ce.select,value:n,options:ct(C.val),location:w},err:null}:{val:{type:Ce.plural,value:n,options:ct(C.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:w},err:null};default:return this.error(ye.INVALID_ARGUMENT_TYPE,Xe(a,s))}},e.prototype.tryParseArgumentClose=function(e){
431
431
  // Parse: {value, number, ::currency/GBP }
432
432
  return this.isEOF()||125/* `}` */!==this.char()?this.error(ye.EXPECT_ARGUMENT_CLOSING_BRACE,Xe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
433
433
  /**
@@ -438,7 +438,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
438
438
  // Find the end of the quoted literal text.
439
439
  this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ye.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Xe(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");
440
440
  // Parse the skeleton
441
- for(var t=[],n=0,r=e.split(Fe).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 o=i[0],a=i.slice(1),s=0,l=a;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:a})}return t}(e)}catch(e){return this.error(ye.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ce.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ve(n):{}},err:null}},
441
+ for(var t=[],n=0,r=e.split(Oe).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(ye.INVALID_NUMBER_SKELETON,t)}return{val:{type:we.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ve(n):{}},err:null}},
442
442
  /**
443
443
  * @param nesting_level The current nesting level of messages.
444
444
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -453,19 +453,19 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
453
453
  // Parse:
454
454
  // one {one apple}
455
455
  // ^--^
456
- for(var i,o=!1,a=[],s=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
456
+ for(var i,a=!1,o=[],s=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
457
457
  // Try parse `={number}` selector
458
458
  var d=this.tryParseDecimalInteger(ye.EXPECT_PLURAL_ARGUMENT_SELECTOR,ye.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;u=Xe(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
459
459
  // Duplicate selector clauses
460
- if(s.has(l))return this.error("select"===t?ye.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ye.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),
460
+ if(s.has(l))return this.error("select"===t?ye.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ye.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),
461
461
  // Parse:
462
462
  // one {one apple}
463
463
  // ^----------^
464
- this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ye.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ye.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Xe(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var m=this.tryParseArgumentClose(h);if(m.err)return m;a.push([l,{value:f.val,location:Xe(h,this.clonePosition())}]),
464
+ this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ye.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ye.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Xe(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var m=this.tryParseArgumentClose(h);if(m.err)return m;o.push([l,{value:f.val,location:Xe(h,this.clonePosition())}]),
465
465
  // Keep track of the existing selectors
466
466
  s.add(l),
467
467
  // Prep next selector clause.
468
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===a.length?this.error("select"===t?ye.EXPECT_SELECT_ARGUMENT_SELECTOR:ye.EXPECT_PLURAL_ARGUMENT_SELECTOR,Xe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ye.MISSING_OTHER_CLAUSE,Xe(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48/* `0` */&&a<=57/* `9` */))break;i=!0,o=10*o+(a-48),this.bump()}var s=Xe(r,this.clonePosition());return i?ot(o*=n)?{val:o,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
+ this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===o.length?this.error("select"===t?ye.EXPECT_SELECT_ARGUMENT_SELECTOR:ye.EXPECT_PLURAL_ARGUMENT_SELECTOR,Xe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(ye.MISSING_OTHER_CLAUSE,Xe(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=Xe(r,this.clonePosition());return i?at(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(){
469
469
  // This is much faster than `Object.assign` or spread.
470
470
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
471
471
  /**
@@ -514,21 +514,21 @@ function yt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||
514
514
  /**
515
515
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
516
516
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
517
- */function wt(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,Ee(e)||$e(e))for(var t in e.options)delete e.options[t].location,Ct(e.options[t].value);else ke(e)&&Me(e.style)||(Se(e)||Pe(e))&&Re(e.style)?delete e.style.location:De(e)&&Ct(e.children)}))}function vt(e,t){void 0===t&&(t={}),t=ve({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new gt(e,t).parse();if(n.err){var r=SyntaxError(ye[n.err.kind]);
517
+ */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 wt(e){e.forEach((function(e){if(delete e.location,Ee(e)||$e(e))for(var t in e.options)delete e.options[t].location,wt(e.options[t].value);else ke(e)&&Me(e.style)||(Pe(e)||Se(e))&&Re(e.style)?delete e.style.location:De(e)&&wt(e.children)}))}function vt(e,t){void 0===t&&(t={}),t=ve({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new gt(e,t).parse();if(n.err){var r=SyntaxError(ye[n.err.kind]);
518
518
  // @ts-expect-error Assign to error object
519
519
  throw r.location=n.err.location,
520
520
  // @ts-expect-error Assign to error object
521
- r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||Ct(n.val),n.val}
521
+ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||wt(n.val),n.val}
522
522
 
523
523
  // Main
524
524
 
525
- function Tt(e,t){var n=t&&t.cache?t.cache:Lt,r=t&&t.serializer?t.serializer:Pt;return(t&&t.strategy?t.strategy:St)(e,{cache:n,serializer:r})}
525
+ function Tt(e,t){var n=t&&t.cache?t.cache:Lt,r=t&&t.serializer?t.serializer:St;return(t&&t.strategy?t.strategy:Pt)(e,{cache:n,serializer:r})}
526
526
 
527
527
  // Strategy
528
528
 
529
- function xt(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function _t(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function kt(e,t,n,r,i){return n.bind(t,e,r,i)}function St(e,t){return kt(e,this,1===e.length?xt:_t,t.cache.create(),t.serializer)}
529
+ function xt(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 _t(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 kt(e,t,n,r,i){return n.bind(t,e,r,i)}function Pt(e,t){return kt(e,this,1===e.length?xt:_t,t.cache.create(),t.serializer)}
530
530
  // Serializer
531
- var Pt=function(){return JSON.stringify(arguments)};
531
+ var St=function(){return JSON.stringify(arguments)};
532
532
 
533
533
  // Cache
534
534
 
@@ -540,51 +540,51 @@ e.MISSING_VALUE="MISSING_VALUE",
540
540
  // When value supplied is invalid
541
541
  e.INVALID_VALUE="INVALID_VALUE",
542
542
  // When we need specific Intl API but it's not available
543
- e.MISSING_INTL_API="MISSING_INTL_API"}($t||($t={}));var Mt,Rt=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return be(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),At=/** @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('", "'),'"'),$t.INVALID_VALUE,i)||this}return be(t,e),t}(Rt),Bt=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),$t.INVALID_VALUE,r)||this}return be(t,e),t}(Rt),Ot=/** @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,'"'),$t.MISSING_VALUE,n)||this}return be(t,e),t}(Rt);function Ft(e){return"function"==typeof e}
543
+ e.MISSING_INTL_API="MISSING_INTL_API"}($t||($t={}));var Mt,Rt=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return be(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),At=/** @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('", "'),'"'),$t.INVALID_VALUE,i)||this}return be(t,e),t}(Rt),Bt=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),$t.INVALID_VALUE,r)||this}return be(t,e),t}(Rt),zt=/** @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,'"'),$t.MISSING_VALUE,n)||this}return be(t,e),t}(Rt);function Ot(e){return"function"==typeof e}
544
544
  // TODO(skeleton): add skeleton support
545
- function zt(e,t,n,r,i,o,
545
+ function Ft(e,t,n,r,i,a,
546
546
  // For debugging
547
- a){
547
+ o){
548
548
  // Hot path for straight simple msg translations
549
549
  if(1===e.length&&xe(e[0]))return[{type:Mt.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];
550
550
  // Exit early for string parts.
551
551
  if(xe(c))s.push({type:Mt.literal,value:c.value});else
552
552
  // TODO: should this part be literal type?
553
553
  // Replace `#` in plural rules with the actual numeric value.
554
- if(Le(c))"number"==typeof o&&s.push({type:Mt.literal,value:n.getNumberFormat(t).format(o)});else{var d=c.value;
554
+ if(Le(c))"number"==typeof a&&s.push({type:Mt.literal,value:n.getNumberFormat(t).format(a)});else{var d=c.value;
555
555
  // Enforce that all required values are provided by the caller.
556
- if(!i||!(d in i))throw new Ot(d,a);var h=i[d];if(_e(c))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Mt.literal:Mt.object,value:h});else
556
+ if(!i||!(d in i))throw new zt(d,o);var h=i[d];if(_e(c))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Mt.literal:Mt.object,value:h});else
557
557
  // Recursively format plural and select parts' option — which can be a
558
558
  // nested pattern structure. The choosing of the option to use is
559
559
  // abstracted-by and delegated-to the part helper object.
560
- if(Se(c)){var f="string"==typeof c.style?r.date[c.style]:Re(c.style)?c.style.parsedOptions:void 0;s.push({type:Mt.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(Pe(c)){f="string"==typeof c.style?r.time[c.style]:Re(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:Mt.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(ke(c)){(f="string"==typeof c.style?r.number[c.style]:Me(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),s.push({type:Mt.literal,value:n.getNumberFormat(t,f).format(h)})}else{if(De(c)){var m=c.children,p=c.value,g=i[p];if(!Ft(g))throw new Bt(p,"function",a);var b=g(zt(m,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?Mt.literal:Mt.object,value:e}})))}if(Ee(c)){if(!(y=c.options[h]||c.options.other))throw new At(c.value,h,Object.keys(c.options),a);s.push.apply(s,zt(y.value,t,n,r,i))}else if($e(c)){var y;if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Rt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$t.MISSING_INTL_API,a);var w=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));y=c.options[w]||c.options.other}if(!y)throw new At(c.value,h,Object.keys(c.options),a);s.push.apply(s,zt(y.value,t,n,r,i,h-(c.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===Mt.literal&&t.type===Mt.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
560
+ if(Pe(c)){var f="string"==typeof c.style?r.date[c.style]:Re(c.style)?c.style.parsedOptions:void 0;s.push({type:Mt.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(Se(c)){f="string"==typeof c.style?r.time[c.style]:Re(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:Mt.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(ke(c)){(f="string"==typeof c.style?r.number[c.style]:Me(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),s.push({type:Mt.literal,value:n.getNumberFormat(t,f).format(h)})}else{if(De(c)){var m=c.children,p=c.value,g=i[p];if(!Ot(g))throw new Bt(p,"function",o);var b=g(Ft(m,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?Mt.literal:Mt.object,value:e}})))}if(Ee(c)){if(!(y=c.options[h]||c.options.other))throw new At(c.value,h,Object.keys(c.options),o);s.push.apply(s,Ft(y.value,t,n,r,i))}else if($e(c)){var y;if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Rt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$t.MISSING_INTL_API,o);var C=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));y=c.options[C]||c.options.other}if(!y)throw new At(c.value,h,Object.keys(c.options),o);s.push.apply(s,Ft(y.value,t,n,r,i,h-(c.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===Mt.literal&&t.type===Mt.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
561
561
  /*
562
562
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
563
563
  Copyrights licensed under the New BSD License.
564
564
  See the accompanying LICENSE file for terms.
565
565
  */
566
566
  // -- MessageFormat --------------------------------------------------------
567
- function Nt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?ve(ve(ve({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ve(ve({},i[t]),o[t]||{}),e}),{})):i),n}),ve({},e)):e}function Ht(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"}(Mt||(Mt={}));var Ut=/** @class */function(){function e(t,n,r,i){var o,a=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);
567
+ function Nt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?ve(ve(ve({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=ve(ve({},i[t]),a[t]||{}),e}),{})):i),n}),ve({},e)):e}function Ht(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"}(Mt||(Mt={}));var Ut=/** @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);
568
568
  // Hot path for straight simple msg translations
569
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Mt.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 zt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},
569
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Mt.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 Ft(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},
570
570
  // Defined first because it's used to build the format pattern.
571
571
  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`");
572
572
  // Parse string messages into an AST.
573
573
  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.");
574
574
  // Creates a new object with the specified `formats` merged with the default
575
575
  // formats.
576
- this.formats=Nt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Tt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Te([void 0],t,!1)))}),{cache:Ht(o.number),strategy:Dt.variadic}),getDateTimeFormat:Tt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Te([void 0],t,!1)))}),{cache:Ht(o.dateTime),strategy:Dt.variadic}),getPluralRules:Tt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Te([void 0],t,!1)))}),{cache:Ht(o.pluralRules),strategy:Dt.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=vt,
576
+ this.formats=Nt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Tt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Te([void 0],t,!1)))}),{cache:Ht(a.number),strategy:Dt.variadic}),getDateTimeFormat:Tt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Te([void 0],t,!1)))}),{cache:Ht(a.dateTime),strategy:Dt.variadic}),getPluralRules:Tt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Te([void 0],t,!1)))}),{cache:Ht(a.pluralRules),strategy:Dt.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=vt,
577
577
  // Default format options used as the prototype of the `formats` provided to the
578
578
  // constructor. These are used when constructing the internal Intl.NumberFormat
579
579
  // and Intl.DateTimeFormat instances.
580
- 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 It={},jt=(e,t,n)=>n?(t in It||(It[t]={}),e in It[t]||(It[t][e]=n),n):n,Yt=(e,t)=>{if(null==t)return;if(t in It&&e in It[t])return It[t][e];const n=Tn(t);for(let r=0;r<n.length;r++){const i=qt(n[r],e);if(i)return jt(e,t,i)}};let Gt;const Vt=oe({});function Wt(e){return e in Gt}function qt(e,t){if(!Wt(e))return null;const n=function(e){return Gt[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 Jt(e,...t){delete It[e],Vt.update((n=>(n[e]=pe.all([n[e]||{},...t]),n)))}ae([Vt],(([e])=>Object.keys(e))),Vt.subscribe((e=>Gt=e));const Zt={};function Kt(e){return Zt[e]}function Xt(e){return null!=e&&Tn(e).some((e=>{var t;return null==(t=Kt(e))?void 0:t.size}))}function Qt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Zt[e].delete(t),0===Zt[e].size&&delete Zt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Jt(e,...t)))}const en={};function tn(e){if(!Xt(e))return e in en?en[e]:Promise.resolve();const t=function(e){return Tn(e).map((e=>{const t=Kt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return en[e]=Promise.all(t.map((([e,t])=>Qt(e,t)))).then((()=>{if(Xt(e))return tn(e);delete en[e]})),en[e]}var nn=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,an=(e,t)=>{var n={};for(var r in e)rn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&nn)for(var r of nn(e))t.indexOf(r)<0&&on.call(e,r)&&(n[r]=e[r]);return n};function sn({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Tn(e).join('", "')}".${Xt(xn())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`)}const ln={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 un(){return ln}function cn(e){const t=e,{formats:n}=t,r=an(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Ut.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(t){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,null==r.handleMissingMessage?r.handleMissingMessage=sn:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ln,r,{initialLocale:i}),n&&("number"in n&&Object.assign(ln.formats.number,n.number),"date"in n&&Object.assign(ln.formats.date,n.date),"time"in n&&Object.assign(ln.formats.time,n.time)),_n.set(i)}const dn=oe(!1);var hn=Object.defineProperty,fn=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,pn=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,yn=(e,t,n)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let wn;const Cn=oe(null);function vn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Tn(e,t=un().fallbackLocale){const n=vn(e);return t?[...new Set([...n,...vn(t)])]:n}function xn(){return null!=wn?wn:void 0}Cn.subscribe((e=>{wn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const _n=(kn=((e,t)=>{for(var n in t||(t={}))gn.call(t,n)&&yn(e,n,t[n]);if(pn)for(var n of pn(t))bn.call(t,n)&&yn(e,n,t[n]);return e})({},Cn),fn(kn,mn({set:e=>{if(e&&function(e){if(null==e)return;const t=Tn(e);for(let e=0;e<t.length;e++){const n=t[e];if(Wt(n))return n}}(e)&&Xt(e)){const{loadingDelay:t}=un();let n;return"undefined"!=typeof window&&null!=xn()&&t?n=window.setTimeout((()=>dn.set(!0)),t):dn.set(!0),tn(e).then((()=>{Cn.set(e)})).finally((()=>{clearTimeout(n),dn.set(!1)}))}return Cn.set(e)}})));var kn;const Sn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var Pn=Object.defineProperty,En=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Dn=(e,t,n)=>t in e?Pn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mn=(e,t)=>{for(var n in t||(t={}))$n.call(t,n)&&Dn(e,n,t[n]);if(En)for(var n of En(t))Ln.call(t,n)&&Dn(e,n,t[n]);return e},Rn=(e,t)=>{var n={};for(var r in e)$n.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&En)for(var r of En(e))t.indexOf(r)<0&&Ln.call(e,r)&&(n[r]=e[r]);return n};const An=(e,t)=>{const{formats:n}=un();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Bn=Sn((e=>{var t=e,{locale:n,format:r}=t,i=Rn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=An("number",r)),new Intl.NumberFormat(n,i)})),On=Sn((e=>{var t=e,{locale:n,format:r}=t,i=Rn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=An("date",r):0===Object.keys(i).length&&(i=An("date","short")),new Intl.DateTimeFormat(n,i)})),Fn=Sn((e=>{var t=e,{locale:n,format:r}=t,i=Rn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=An("time",r):0===Object.keys(i).length&&(i=An("time","short")),new Intl.DateTimeFormat(n,i)})),zn=Sn((
580
+ 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 It={},jt=(e,t,n)=>n?(t in It||(It[t]={}),e in It[t]||(It[t][e]=n),n):n,Yt=(e,t)=>{if(null==t)return;if(t in It&&e in It[t])return It[t][e];const n=Tn(t);for(let r=0;r<n.length;r++){const i=qt(n[r],e);if(i)return jt(e,t,i)}};let Gt;const Vt=ae({});function Wt(e){return e in Gt}function qt(e,t){if(!Wt(e))return null;const n=function(e){return Gt[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 Jt(e,...t){delete It[e],Vt.update((n=>(n[e]=pe.all([n[e]||{},...t]),n)))}oe([Vt],(([e])=>Object.keys(e))),Vt.subscribe((e=>Gt=e));const Zt={};function Kt(e){return Zt[e]}function Xt(e){return null!=e&&Tn(e).some((e=>{var t;return null==(t=Kt(e))?void 0:t.size}))}function Qt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Zt[e].delete(t),0===Zt[e].size&&delete Zt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Jt(e,...t)))}const en={};function tn(e){if(!Xt(e))return e in en?en[e]:Promise.resolve();const t=function(e){return Tn(e).map((e=>{const t=Kt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return en[e]=Promise.all(t.map((([e,t])=>Qt(e,t)))).then((()=>{if(Xt(e))return tn(e);delete en[e]})),en[e]}var nn=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,on=(e,t)=>{var n={};for(var r in e)rn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&nn)for(var r of nn(e))t.indexOf(r)<0&&an.call(e,r)&&(n[r]=e[r]);return n};function sn({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Tn(e).join('", "')}".${Xt(xn())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`)}const ln={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 un(){return ln}function cn(e){const t=e,{formats:n}=t,r=on(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Ut.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(t){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,null==r.handleMissingMessage?r.handleMissingMessage=sn:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ln,r,{initialLocale:i}),n&&("number"in n&&Object.assign(ln.formats.number,n.number),"date"in n&&Object.assign(ln.formats.date,n.date),"time"in n&&Object.assign(ln.formats.time,n.time)),_n.set(i)}const dn=ae(!1);var hn=Object.defineProperty,fn=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,pn=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,yn=(e,t,n)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Cn;const wn=ae(null);function vn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Tn(e,t=un().fallbackLocale){const n=vn(e);return t?[...new Set([...n,...vn(t)])]:n}function xn(){return null!=Cn?Cn:void 0}wn.subscribe((e=>{Cn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const _n=(kn=((e,t)=>{for(var n in t||(t={}))gn.call(t,n)&&yn(e,n,t[n]);if(pn)for(var n of pn(t))bn.call(t,n)&&yn(e,n,t[n]);return e})({},wn),fn(kn,mn({set:e=>{if(e&&function(e){if(null==e)return;const t=Tn(e);for(let e=0;e<t.length;e++){const n=t[e];if(Wt(n))return n}}(e)&&Xt(e)){const{loadingDelay:t}=un();let n;return"undefined"!=typeof window&&null!=xn()&&t?n=window.setTimeout((()=>dn.set(!0)),t):dn.set(!0),tn(e).then((()=>{wn.set(e)})).finally((()=>{clearTimeout(n),dn.set(!1)}))}return wn.set(e)}})));var kn;const Pn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var Sn=Object.defineProperty,En=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Dn=(e,t,n)=>t in e?Sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mn=(e,t)=>{for(var n in t||(t={}))$n.call(t,n)&&Dn(e,n,t[n]);if(En)for(var n of En(t))Ln.call(t,n)&&Dn(e,n,t[n]);return e},Rn=(e,t)=>{var n={};for(var r in e)$n.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&En)for(var r of En(e))t.indexOf(r)<0&&Ln.call(e,r)&&(n[r]=e[r]);return n};const An=(e,t)=>{const{formats:n}=un();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Bn=Pn((e=>{var t=e,{locale:n,format:r}=t,i=Rn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=An("number",r)),new Intl.NumberFormat(n,i)})),zn=Pn((e=>{var t=e,{locale:n,format:r}=t,i=Rn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=An("date",r):0===Object.keys(i).length&&(i=An("date","short")),new Intl.DateTimeFormat(n,i)})),On=Pn((e=>{var t=e,{locale:n,format:r}=t,i=Rn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=An("time",r):0===Object.keys(i).length&&(i=An("time","short")),new Intl.DateTimeFormat(n,i)})),Fn=Pn((
581
581
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
582
- (e,t=xn())=>new Ut(e,t,un().formats,{ignoreTag:un().ignoreTag}))),Nn=(e,t={})=>{var n,r,i,o;let a=t;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:l=xn(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Yt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(r=(n=un()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?o:e;if(!s)return c;let d=c;try{d=zn(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Hn=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Rn(t,["locale"]);return Fn(Mn({locale:n},r))})(t).format(e),Un=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Rn(t,["locale"]);return On(Mn({locale:n},r))})(t).format(e),In=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Rn(t,["locale"]);return Bn(Mn({locale:n},r))})(t).format(e),jn=(e,t=xn())=>Yt(e,t),Yn=ae([_n,Vt],(()=>Nn));function Gn(e,t){Jt(e,t)}
583
- /* eslint-disable no-prototype-builtins */ae([_n],(()=>Hn)),ae([_n],(()=>Un)),ae([_n],(()=>In)),ae([_n,Vt],(()=>jn));var Vn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
582
+ (e,t=xn())=>new Ut(e,t,un().formats,{ignoreTag:un().ignoreTag}))),Nn=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=xn(),default:u}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Yt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(a=null!=(i=null==(r=(n=un()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?a:e;if(!s)return c;let d=c;try{d=Fn(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Hn=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Rn(t,["locale"]);return On(Mn({locale:n},r))})(t).format(e),Un=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Rn(t,["locale"]);return zn(Mn({locale:n},r))})(t).format(e),In=(e,t)=>((e={})=>{var t=e,{locale:n=xn()}=t,r=Rn(t,["locale"]);return Bn(Mn({locale:n},r))})(t).format(e),jn=(e,t=xn())=>Yt(e,t),Yn=oe([_n,Vt],(()=>Nn));function Gn(e,t){Jt(e,t)}
583
+ /* eslint-disable no-prototype-builtins */oe([_n],(()=>Hn)),oe([_n],(()=>Un)),oe([_n],(()=>In)),oe([_n,Vt],(()=>jn));var Vn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
584
584
  // eslint-disable-next-line no-undef
585
585
  "undefined"!=typeof global&&global||{},Wn="URLSearchParams"in Vn,qn="Symbol"in Vn&&"iterator"in Symbol,Jn="FileReader"in Vn&&"Blob"in Vn&&function(){try{return new Blob,!0}catch(e){return!1}}(),Zn="FormData"in Vn,Kn="ArrayBuffer"in Vn;if(Kn)var Xn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Qn=ArrayBuffer.isView||function(e){return e&&Xn.indexOf(Object.prototype.toString.call(e))>-1};function er(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 tr(e){return"string"!=typeof e&&(e=String(e)),e}
586
586
  // Build a destructive iterator for the value list
587
- function nr(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return qn&&(t[Symbol.iterator]=function(){return t}),t}function rr(e){this.map={},e instanceof rr?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 ir(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function or(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ar(e){var t=new FileReader,n=or(t);return t.readAsArrayBuffer(e),n}function sr(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function lr(){return this.bodyUsed=!1,this._initBody=function(e){var t;
587
+ function nr(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return qn&&(t[Symbol.iterator]=function(){return t}),t}function rr(e){this.map={},e instanceof rr?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 ir(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ar(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function or(e){var t=new FileReader,n=ar(t);return t.readAsArrayBuffer(e),n}function sr(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function lr(){return this.bodyUsed=!1,this._initBody=function(e){var t;
588
588
  /*
589
589
  fetch-mock wraps the Response object in an ES6 Proxy to
590
590
  provide useful test harness features such as flush. However, on
@@ -598,22 +598,22 @@ function nr(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
598
598
  // eslint-disable-next-line no-self-assign
599
599
  this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Jn&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Zn&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Wn&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Kn&&Jn&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=sr(e.buffer),
600
600
  // IE 10-11 can't handle a DataView body.
601
- this._bodyInit=new Blob([this._bodyArrayBuffer])):Kn&&(ArrayBuffer.prototype.isPrototypeOf(e)||Qn(e))?this._bodyArrayBuffer=sr(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):Wn&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Jn&&(this.blob=function(){var e=ir(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=ir(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(Jn)return this.blob().then(ar);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,o=ir(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=or(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)},Zn&&(this.formData=function(){return this.text().then(dr)}),this.json=function(){return this.text().then(JSON.parse)},this}
601
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):Kn&&(ArrayBuffer.prototype.isPrototypeOf(e)||Qn(e))?this._bodyArrayBuffer=sr(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):Wn&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Jn&&(this.blob=function(){var e=ir(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=ir(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(Jn)return this.blob().then(or);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,a=ir(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ar(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)},Zn&&(this.formData=function(){return this.text().then(dr)}),this.json=function(){return this.text().then(JSON.parse)},this}
602
602
  // HTTP methods whose capitalization should be normalized
603
603
  rr.prototype.append=function(e,t){e=er(e),t=tr(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},rr.prototype.delete=function(e){delete this.map[er(e)]},rr.prototype.get=function(e){return e=er(e),this.has(e)?this.map[e]:null},rr.prototype.has=function(e){return this.map.hasOwnProperty(er(e))},rr.prototype.set=function(e,t){this.map[er(e)]=tr(t)},rr.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},rr.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),nr(e)},rr.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),nr(e)},rr.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),nr(e)},qn&&(rr.prototype[Symbol.iterator]=rr.prototype.entries);var ur=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function cr(e,t){if(!(this instanceof cr))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 cr){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new rr(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 rr(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),ur.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Vn)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)){
604
604
  // Search for a '_' parameter in the query string
605
- var o=/([?&])_=[^&]*/;if(o.test(this.url))
605
+ var a=/([?&])_=[^&]*/;if(a.test(this.url))
606
606
  // If it already exists then set the value with the current time
607
- this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function dr(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 hr(e,t){if(!(this instanceof hr))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 rr(t.headers),this.url=t.url||"",this._initBody(e)}cr.prototype.clone=function(){return new cr(this,{body:this._bodyInit})},lr.call(cr.prototype),lr.call(hr.prototype),hr.prototype.clone=function(){return new hr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new rr(this.headers),url:this.url})},hr.error=function(){var e=new hr(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var fr=[301,302,303,307,308];hr.redirect=function(e,t){if(-1===fr.indexOf(t))throw new RangeError("Invalid status code");return new hr(null,{status:t,headers:{location:e}})};var mr=Vn.DOMException;try{new mr}catch(e){(mr=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),mr.prototype.constructor=mr}function pr(e,t){return new Promise((function(n,r){var i=new cr(e,t);if(i.signal&&i.signal.aborted)return r(new mr("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var e,t,r={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new rr,
607
+ this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function dr(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 hr(e,t){if(!(this instanceof hr))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 rr(t.headers),this.url=t.url||"",this._initBody(e)}cr.prototype.clone=function(){return new cr(this,{body:this._bodyInit})},lr.call(cr.prototype),lr.call(hr.prototype),hr.prototype.clone=function(){return new hr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new rr(this.headers),url:this.url})},hr.error=function(){var e=new hr(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var fr=[301,302,303,307,308];hr.redirect=function(e,t){if(-1===fr.indexOf(t))throw new RangeError("Invalid status code");return new hr(null,{status:t,headers:{location:e}})};var mr=Vn.DOMException;try{new mr}catch(e){(mr=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),mr.prototype.constructor=mr}function pr(e,t){return new Promise((function(n,r){var i=new cr(e,t);if(i.signal&&i.signal.aborted)return r(new mr("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 rr,
608
608
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
609
609
  // https://github.com/github/fetch/issues/748
610
610
  // https://github.com/zloirock/core-js/issues/751
611
611
  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)};
612
612
  // This check if specifically for when a user fetches a file locally from the file system
613
613
  // Only if the status is out of a normal range
614
- i.url.startsWith("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){n(new hr(a,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){r(new mr("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&Vn.location.href?Vn.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(Jn?o.responseType="blob":Kn&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof rr||Vn.Headers&&t.headers instanceof Vn.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(er(e)),o.setRequestHeader(e,tr(t.headers[e]))})),i.headers.forEach((function(e,t){-1===s.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){
614
+ 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 hr(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 mr("Aborted","AbortError"))}),0)},a.open(i.method,function(e){try{return""===e&&Vn.location.href?Vn.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&&(Jn?a.responseType="blob":Kn&&(a.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof rr||Vn.Headers&&t.headers instanceof Vn.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){s.push(er(e)),a.setRequestHeader(e,tr(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(){
615
615
  // DONE (success or failure)
616
- 4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}pr.polyfill=!0,Vn.fetch||(Vn.fetch=pr,Vn.Headers=rr,Vn.Request=cr,Vn.Response=hr);var gr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function br(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return yr(null==t&&n.path)}},n.exports),n.exports}function yr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
616
+ 4===a.readyState&&i.signal.removeEventListener("abort",o)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}pr.polyfill=!0,Vn.fetch||(Vn.fetch=pr,Vn.Headers=rr,Vn.Request=cr,Vn.Response=hr);var gr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function br(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return yr(null==t&&n.path)}},n.exports),n.exports}function yr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
617
617
  // the whatwg-fetch polyfill installs the fetch() function
618
618
  // on the global object (window or self)
619
619
 
@@ -634,7 +634,7 @@ self.fetch.bind(self);
634
634
  PERFORMANCE OF THIS SOFTWARE.
635
635
  ***************************************************************************** */
636
636
  /* global Reflect, Promise, SuppressedError, Symbol */
637
- var wr=function(e,t){return wr=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])},wr(e,t)};function Cr(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}wr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function vr(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 Tr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function xr(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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 _r(e){return"function"==typeof e}function kr(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 Sr=kr((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 Pr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Er=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 o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=vr(o),s=a.next();!s.done;s=a.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(_r(l))try{l()}catch(e){i=e instanceof Sr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=vr(u),d=c.next();!d.done;d=c.next()){var h=d.value;try{Dr(h)}catch(e){i=null!=i?i:[],e instanceof Sr?i=xr(xr([],Tr(i)),Tr(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new Sr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Dr(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)&&Pr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Pr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),$r=Er.EMPTY;function Lr(e){return e instanceof Er||e&&"closed"in e&&_r(e.remove)&&_r(e.add)&&_r(e.unsubscribe)}function Dr(e){_r(e)?e():e.unsubscribe()}var Mr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Rr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Rr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,xr([e,t],Tr(n))):setTimeout.apply(void 0,xr([e,t],Tr(n)))},clearTimeout:function(e){var t=Rr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ar(){}var Br=null;function Or(e){if(Mr.useDeprecatedSynchronousErrorHandling){var t=!Br;if(t&&(Br={errorThrown:!1,error:null}),e(),t){var n=Br,r=n.errorThrown,i=n.error;if(Br=null,r)throw i}}else e()}var Fr=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Lr(t)&&t.add(n)):n.destination=jr,n}return Cr(t,e),t.create=function(e,t,n){return new Ur(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}(Er),zr=Function.prototype.bind;function Nr(e,t){return zr.call(e,t)}var Hr=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){Ir(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ir(e)}else Ir(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ir(e)}},e}(),Ur=function(e){function t(t,n,r){var i,o,a=e.call(this)||this;_r(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:a&&Mr.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return a.unsubscribe()},i={next:t.next&&Nr(t.next,o),error:t.error&&Nr(t.error,o),complete:t.complete&&Nr(t.complete,o)}):i=t;return a.destination=new Hr(i),a}return Cr(t,e),t}(Fr);function Ir(e){var t;t=e,Rr.setTimeout((function(){throw t}))}var jr={closed:!0,next:Ar,error:function(e){throw e},complete:Ar},Yr="function"==typeof Symbol&&Symbol.observable||"@@observable";function Gr(e){return e}var Vr=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,o=(r=e)&&r instanceof Fr||function(e){return e&&_r(e.next)&&_r(e.error)&&_r(e.complete)}(r)&&Lr(r)?e:new Ur(e,t,n);return Or((function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},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=Wr(t))((function(t,r){var i=new Ur({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[Yr]=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?Gr: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=Wr(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 Wr(e){var t;return null!==(t=null!=e?e:Mr.Promise)&&void 0!==t?t:Promise}var qr=kr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Jr=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 Cr(t,e),t.prototype.lift=function(e){var t=new Zr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new qr},t.prototype.next=function(e){var t=this;Or((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=vr(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Or((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;Or((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,o=n.observers;return r||i?$r:(this.currentObservers=null,o.push(e),new Er((function(){t.currentObservers=null,Pr(o,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 Vr;return e.source=this,e},t.create=function(e,t){return new Zr(e,t)},t}(Vr),Zr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return Cr(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:$r},t}(Jr),Kr={now:function(){return(Kr.delegate||Date).now()},delegate:void 0},Xr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Kr);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 Cr(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,a=n._timestampProvider,s=n._windowTime;r||(i.push(t),!o&&i.push(a.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,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var a=n.now(),s=0,l=1;l<r.length&&r[l]<=a;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Jr);let Qr=[],ei={};window.emWidgets={topic:(e,t=0)=>{if(-1==Qr.indexOf(e)){let n=new Xr(t);ei[e]=n,Qr.push(e)}return ei[e]}};
637
+ var Cr=function(e,t){return Cr=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])},Cr(e,t)};function wr(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}Cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function vr(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 Tr(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 xr(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 _r(e){return"function"==typeof e}function kr(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 Pr=kr((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 Sr(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Er=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=vr(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(_r(l))try{l()}catch(e){i=e instanceof Pr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=vr(u),d=c.next();!d.done;d=c.next()){var h=d.value;try{Dr(h)}catch(e){i=null!=i?i:[],e instanceof Pr?i=xr(xr([],Tr(i)),Tr(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new Pr(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Dr(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)&&Sr(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Sr(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),$r=Er.EMPTY;function Lr(e){return e instanceof Er||e&&"closed"in e&&_r(e.remove)&&_r(e.add)&&_r(e.unsubscribe)}function Dr(e){_r(e)?e():e.unsubscribe()}var Mr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Rr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Rr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,xr([e,t],Tr(n))):setTimeout.apply(void 0,xr([e,t],Tr(n)))},clearTimeout:function(e){var t=Rr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ar(){}var Br=null;function zr(e){if(Mr.useDeprecatedSynchronousErrorHandling){var t=!Br;if(t&&(Br={errorThrown:!1,error:null}),e(),t){var n=Br,r=n.errorThrown,i=n.error;if(Br=null,r)throw i}}else e()}var Or=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Lr(t)&&t.add(n)):n.destination=jr,n}return wr(t,e),t.create=function(e,t,n){return new Ur(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}(Er),Fr=Function.prototype.bind;function Nr(e,t){return Fr.call(e,t)}var Hr=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){Ir(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ir(e)}else Ir(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ir(e)}},e}(),Ur=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_r(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Mr.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Nr(t.next,a),error:t.error&&Nr(t.error,a),complete:t.complete&&Nr(t.complete,a)}):i=t;return o.destination=new Hr(i),o}return wr(t,e),t}(Or);function Ir(e){var t;t=e,Rr.setTimeout((function(){throw t}))}var jr={closed:!0,next:Ar,error:function(e){throw e},complete:Ar},Yr="function"==typeof Symbol&&Symbol.observable||"@@observable";function Gr(e){return e}var Vr=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 Or||function(e){return e&&_r(e.next)&&_r(e.error)&&_r(e.complete)}(r)&&Lr(r)?e:new Ur(e,t,n);return zr((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=Wr(t))((function(t,r){var i=new Ur({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[Yr]=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?Gr: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=Wr(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 Wr(e){var t;return null!==(t=null!=e?e:Mr.Promise)&&void 0!==t?t:Promise}var qr=kr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Jr=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 wr(t,e),t.prototype.lift=function(e){var t=new Zr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new qr},t.prototype.next=function(e){var t=this;zr((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=vr(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;zr((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;zr((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?$r:(this.currentObservers=null,a.push(e),new Er((function(){t.currentObservers=null,Sr(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 Vr;return e.source=this,e},t.create=function(e,t){return new Zr(e,t)},t}(Vr),Zr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return wr(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:$r},t}(Jr),Kr={now:function(){return(Kr.delegate||Date).now()},delegate:void 0},Xr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Kr);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 wr(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}(Jr);let Qr=[],ei={};window.emWidgets={topic:(e,t=0)=>{if(-1==Qr.indexOf(e)){let n=new Xr(t);ei[e]=n,Qr.push(e)}return ei[e]}};
638
638
  /**
639
639
  * @name isMobile
640
640
  * @description A method that returns if the browser used to access the app is from a mobile device or not
@@ -655,77 +655,77 @@ const ti=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackbe
655
655
  */
656
656
  /*jslint indent: 2, vars: true, plusplus: true */
657
657
  /*global setTimeout, clearTimeout */
658
- !function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,a=n.XDomainRequest,s=n.ActiveXObject,l=n.EventSource,u=n.document,c=n.Promise,d=n.fetch,h=n.Response,f=n.TextDecoder,m=n.TextEncoder,p=n.AbortController;
658
+ !function(n){var r=n.setTimeout,i=n.clearTimeout,a=n.XMLHttpRequest,o=n.XDomainRequest,s=n.ActiveXObject,l=n.EventSource,u=n.document,c=n.Promise,d=n.fetch,h=n.Response,f=n.TextDecoder,m=n.TextEncoder,p=n.AbortController;
659
659
  // see #118 (Promise#finally with polyfilled Promise)
660
660
  // see #123 (data URLs crash Edge)
661
661
  // see #125 (CSP violations)
662
662
  // see pull/#138
663
663
  // => No way to polyfill Promise#finally
664
664
  if("undefined"==typeof window||void 0===u||"readyState"in u||null!=u.body||(// Firefox 2
665
- u.readyState="loading",window.addEventListener("load",(function(e){u.readyState="complete"}),!1)),null==o&&null!=s&&(// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest_in_IE6
666
- o=function(){return new s("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==p){var g=d;d=function(e,t){var n=t.signal;return g(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},p=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function b(){this.bitsNeeded=0,this.codePoint=0}b.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s<e.length;s+=1){var l=e[s];0!==o&&(l<128||l>191||!t(a<<6|63&l,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(l>=0&&l<=127?(o=0,a=l):l>=192&&l<=223?(o=6,a=31&l):l>=224&&l<=239?(o=12,a=15&l):l>=240&&l<=247?(o=18,a=7&l):(o=0,a=r),0===o||t(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&l),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};
665
+ u.readyState="loading",window.addEventListener("load",(function(e){u.readyState="complete"}),!1)),null==a&&null!=s&&(// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest_in_IE6
666
+ a=function(){return new s("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==p){var g=d;d=function(e,t){var n=t.signal;return g(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},p=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function b(){this.bitsNeeded=0,this.codePoint=0}b.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",a=this.bitsNeeded,o=this.codePoint,s=0;s<e.length;s+=1){var l=e[s];0!==a&&(l<128||l>191||!t(o<<6|63&l,a-6,n(a,o)))&&(a=0,o=r,i+=String.fromCharCode(o)),0===a?(l>=0&&l<=127?(a=0,o=l):l>=192&&l<=223?(a=6,o=31&l):l>=224&&l<=239?(a=12,o=15&l):l>=240&&l<=247?(a=18,o=7&l):(a=0,o=r),0===a||t(o,a,n(a,o))||(a=0,o=r)):(a-=6,o=o<<6|63&l),0===a&&(o<=65535?i+=String.fromCharCode(o):(i+=String.fromCharCode(55296+(o-65535-1>>10)),i+=String.fromCharCode(56320+(o-65535-1&1023))))}return this.bitsNeeded=a,this.codePoint=o,i};
667
667
  // IE, Edge
668
- null!=f&&null!=m&&function(){try{return"test"===(new f).decode((new m).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(f=b);var y=function(){};function w(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=y,this.onload=y,this.onerror=y,this.onreadystatechange=y,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=y}function C(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function v(e){for(
668
+ null!=f&&null!=m&&function(){try{return"test"===(new f).decode((new m).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(f=b);var y=function(){};function C(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=y,this.onload=y,this.onerror=y,this.onreadystatechange=y,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=y}function w(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function v(e){for(
669
669
  // Get headers: implemented according to mozilla's example code: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders#Example
670
- var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[C(o)]=a}this._map=t}function T(){}function x(e){this._headers=e}function _(){}function k(){this._listeners=Object.create(null)}function S(e){r((function(){throw e}),0)}function P(e){this.type=e,this.target=void 0}function E(e,t){P.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function $(e,t){P.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function L(e,t){P.call(this,e),this.error=t.error}w.prototype.open=function(e,t){this._abort(!0);var n=this,a=this._xhr,s=1,l=0;this._abort=function(e){0!==n._sendTimeout&&(i(n._sendTimeout),n._sendTimeout=0),1!==s&&2!==s&&3!==s||(s=4,a.onload=y,a.onerror=y,a.onabort=y,a.onprogress=y,a.onreadystatechange=y,
670
+ var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),a=i.shift(),o=i.join(": ");t[w(a)]=o}this._map=t}function T(){}function x(e){this._headers=e}function _(){}function k(){this._listeners=Object.create(null)}function P(e){r((function(){throw e}),0)}function S(e){this.type=e,this.target=void 0}function E(e,t){S.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function $(e,t){S.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function L(e,t){S.call(this,e),this.error=t.error}C.prototype.open=function(e,t){this._abort(!0);var n=this,o=this._xhr,s=1,l=0;this._abort=function(e){0!==n._sendTimeout&&(i(n._sendTimeout),n._sendTimeout=0),1!==s&&2!==s&&3!==s||(s=4,o.onload=y,o.onerror=y,o.onabort=y,o.onprogress=y,o.onreadystatechange=y,
671
671
  // IE 8 - 9: XDomainRequest#abort() does not fire any event
672
672
  // Opera < 10: XMLHttpRequest#abort() does not fire any event
673
- a.abort(),0!==l&&(i(l),l=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),s=0};var u=function(){if(1===s){
673
+ o.abort(),0!==l&&(i(l),l=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),s=0};var u=function(){if(1===s){
674
674
  //state = 2;
675
- var e=0,t="",r=void 0;if("contentType"in a)e=200,t="OK",r=a.contentType;else try{e=a.status,t=a.statusText,r=a.getResponseHeader("Content-Type")}catch(n){
675
+ var e=0,t="",r=void 0;if("contentType"in o)e=200,t="OK",r=o.contentType;else try{e=o.status,t=o.statusText,r=o.getResponseHeader("Content-Type")}catch(n){
676
676
  // IE < 10 throws exception for `xhr.status` when xhr.readyState === 2 || xhr.readyState === 3
677
677
  // Opera < 11 throws exception for `xhr.status` when xhr.readyState === 2
678
678
  // https://bugs.webkit.org/show_bug.cgi?id=29121
679
- e=0,t="",r=void 0}0!==e&&(s=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=r,n.onreadystatechange())}},c=function(){if(u(),2===s||3===s){s=3;var e="";try{e=a.responseText}catch(e){
679
+ e=0,t="",r=void 0}0!==e&&(s=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=r,n.onreadystatechange())}},c=function(){if(u(),2===s||3===s){s=3;var e="";try{e=o.responseText}catch(e){
680
680
  // IE 8 - 9 with XMLHttpRequest
681
681
  }n.readyState=3,n.responseText=e,n.onprogress()}},d=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:y}),
682
682
  // Firefox 52 fires "readystatechange" (xhr.readyState === 4) without final "readystatechange" (xhr.readyState === 3)
683
683
  // IE 8 fires "onload" without "onprogress"
684
- c(),1===s||2===s||3===s){if(s=4,0!==l&&(i(l),l=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},h=function(){l=r((function(){h()}),500),3===a.readyState&&c()};
684
+ c(),1===s||2===s||3===s){if(s=4,0!==l&&(i(l),l=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},h=function(){l=r((function(){h()}),500),3===o.readyState&&c()};
685
685
  // XDomainRequest#abort removes onprogress, onerror, onload
686
- "onload"in a&&(a.onload=function(e){d("load",e)}),"onerror"in a&&(a.onerror=function(e){d("error",e)}),
686
+ "onload"in o&&(o.onload=function(e){d("load",e)}),"onerror"in o&&(o.onerror=function(e){d("error",e)}),
687
687
  // improper fix to match Firefox behaviour, but it is better than just ignore abort
688
688
  // see https://bugzilla.mozilla.org/show_bug.cgi?id=768596
689
689
  // https://bugzilla.mozilla.org/show_bug.cgi?id=880200
690
690
  // https://code.google.com/p/chromium/issues/detail?id=153570
691
691
  // IE 8 fires "onload" without "onprogress
692
- "onabort"in a&&(a.onabort=function(e){d("abort",e)}),"onprogress"in a&&(a.onprogress=c),
692
+ "onabort"in o&&(o.onabort=function(e){d("abort",e)}),"onprogress"in o&&(o.onprogress=c),
693
693
  // IE 8 - 9 (XMLHTTPRequest)
694
694
  // Opera < 12
695
695
  // Firefox < 3.5
696
696
  // Firefox 3.5 - 3.6 - ? < 9.0
697
697
  // onprogress is not fired sometimes or delayed
698
698
  // see also #64 (significant lag in IE 11)
699
- "onreadystatechange"in a&&(a.onreadystatechange=function(e){!function(e){null!=a&&(// Opera 12
700
- 4===a.readyState?"onload"in a&&"onerror"in a&&"onabort"in a||d(""===a.responseText?"error":"load",e):3===a.readyState?"onprogress"in a||// testing XMLHttpRequest#responseText too many times is too slow in IE 11
699
+ "onreadystatechange"in o&&(o.onreadystatechange=function(e){!function(e){null!=o&&(// Opera 12
700
+ 4===o.readyState?"onload"in o&&"onerror"in o&&"onabort"in o||d(""===o.responseText?"error":"load",e):3===o.readyState?"onprogress"in o||// testing XMLHttpRequest#responseText too many times is too slow in IE 11
701
701
  // and in Firefox 3.6
702
- c():2===a.readyState&&u())}(e)}),!("contentType"in a)&&"ontimeout"in o.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),a.open(e,t,!0),"readyState"in a&&(
702
+ c():2===o.readyState&&u())}(e)}),!("contentType"in o)&&"ontimeout"in a.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),o.open(e,t,!0),"readyState"in o&&(
703
703
  // workaround for Opera 12 issue with "progress" events
704
704
  // #91 (XMLHttpRequest onprogress not fired for streaming response in Edge 14-15-?)
705
- l=r((function(){h()}),0))},w.prototype.abort=function(){this._abort(!1)},w.prototype.getResponseHeader=function(e){return this._contentType},w.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},w.prototype.getAllResponseHeaders=function(){
705
+ l=r((function(){h()}),0))},C.prototype.abort=function(){this._abort(!1)},C.prototype.getResponseHeader=function(e){return this._contentType},C.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},C.prototype.getAllResponseHeaders=function(){
706
706
  // XMLHttpRequest#getAllResponseHeaders returns null for CORS requests in Firefox 3.6.28
707
- return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},w.prototype.send=function(){
707
+ return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},C.prototype.send=function(){
708
708
  // loading indicator in Safari < ? (6), Chrome < 14, Firefox
709
709
  // https://bugzilla.mozilla.org/show_bug.cgi?id=736723
710
- if("ontimeout"in o.prototype&&("sendAsBinary"in o.prototype||"mozAnon"in o.prototype)||null==u||null==u.readyState||"complete"===u.readyState){var e=this._xhr;
710
+ if("ontimeout"in a.prototype&&("sendAsBinary"in a.prototype||"mozAnon"in a.prototype)||null==u||null==u.readyState||"complete"===u.readyState){var e=this._xhr;
711
711
  // withCredentials should be set after "open" for Safari and Chrome (< 19 ?)
712
712
  "withCredentials"in e&&(e.withCredentials=this.withCredentials);try{
713
713
  // xhr.send(); throws "Not enough arguments" in Firefox 3.0
714
714
  e.send(void 0)}catch(e){
715
715
  // Safari 5.1.7, Opera 12
716
- throw e}}else{var t=this;t._sendTimeout=r((function(){t._sendTimeout=0,t.send()}),4)}},v.prototype.get=function(e){return this._map[C(e)]},null!=o&&null==o.HEADERS_RECEIVED&&(// IE < 9, Firefox 3.6
717
- o.HEADERS_RECEIVED=2),T.prototype.open=function(e,t,n,r,i,a,s){e.open("GET",i);var l=0;for(var u in e.onprogress=function(){var t=e.responseText.slice(l);l+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===o.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),a=e.getAllResponseHeaders();t(n,r,i,new v(a))}},e.withCredentials=a,s)Object.prototype.hasOwnProperty.call(s,u)&&e.setRequestHeader(u,s[u]);return e.send(),e},x.prototype.get=function(e){return this._headers.get(e)},_.prototype.open=function(e,t,n,r,i,o,a){var s=null,l=new p,u=l.signal,h=new f;return d(i,{headers:a,credentials:o?"include":"same-origin",signal:u,cache:"no-store"}).then((function(e){
716
+ throw e}}else{var t=this;t._sendTimeout=r((function(){t._sendTimeout=0,t.send()}),4)}},v.prototype.get=function(e){return this._map[w(e)]},null!=a&&null==a.HEADERS_RECEIVED&&(// IE < 9, Firefox 3.6
717
+ a.HEADERS_RECEIVED=2),T.prototype.open=function(e,t,n,r,i,o,s){e.open("GET",i);var l=0;for(var u in e.onprogress=function(){var t=e.responseText.slice(l);l+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===a.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new v(o))}},e.withCredentials=o,s)Object.prototype.hasOwnProperty.call(s,u)&&e.setRequestHeader(u,s[u]);return e.send(),e},x.prototype.get=function(e){return this._headers.get(e)},_.prototype.open=function(e,t,n,r,i,a,o){var s=null,l=new p,u=l.signal,h=new f;return d(i,{headers:o,credentials:a?"include":"same-origin",signal:u,cache:"no-store"}).then((function(e){
718
718
  // see https://github.com/promises-aplus/promises-spec/issues/179
719
719
  return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new x(e.headers)),new c((function(e,t){var r=function(){s.read().then((function(t){if(t.done)
720
720
  //Note: bytes in textDecoder are ignored
721
- e(void 0);else{var i=h.decode(t.value,{stream:!0});n(i),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=s&&s.cancel(),l.abort()}}},k.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(e){S(e)}}},k.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var i=!1,o=0;o<r.length;o+=1)r[o]===t&&(i=!0);i||r.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var i=[],o=0;o<r.length;o+=1)r[o]!==t&&i.push(r[o]);0===i.length?delete n[e]:n[e]=i}},E.prototype=Object.create(P.prototype),$.prototype=Object.create(P.prototype),L.prototype=Object.create(P.prototype);var D=-1,M=0,R=1,A=2,B=-1,O=0,F=1,z=2,N=3,H=/^text\/event\-stream(;.*)?$/i,U=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),I(n)},I=function(e){return Math.min(Math.max(e,1e3),18e6)},j=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){S(e)}};function Y(e,t){k.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var s=Boolean(n.withCredentials),l=n.lastEventIdQueryParameterName||"lastEventId",u=I(1e3),c=U(n.heartbeatTimeout,45e3),d="",h=u,f=!1,m=0,p=n.headers||{},g=n.Transport,b=G&&null==g?void 0:new w(null!=g?new g:null!=o&&"withCredentials"in o.prototype||null==a?new o:new a),y=null!=g&&"string"!=typeof g?new g:null==b?new _:new T,C=void 0,v=0,x=D,k="",S="",P="",Y="",V=O,W=0,q=0,J=function(t,n,r,i){if(x===M)if(200===t&&null!=r&&H.test(r)){x=R,f=Date.now(),h=u,e.readyState=R;var o=new $("open",{status:t,statusText:n,headers:i});e.dispatchEvent(o),j(e,e.onopen,o)}else{var a="";200!==t?(n&&(n=n.replace(/\s+/g," ")),a="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):a="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",X();o=new $("error",{status:t,statusText:n,headers:i});e.dispatchEvent(o),j(e,e.onerror,o),console.error(a)}},Z=function(t){if(x===R){for(var n=-1,o=0;o<t.length;o+=1){(l=t.charCodeAt(o))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(n=o)}var a=(-1!==n?Y:"")+t.slice(0,n+1);Y=(-1===n?Y:"")+t.slice(n+1),""!==t&&(f=Date.now(),m+=t.length);for(var s=0;s<a.length;s+=1){var l=a.charCodeAt(s);if(V===B&&l==="\n".charCodeAt(0))V=O;else if(V===B&&(V=O),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(V!==O){V===F&&(q=s+1);var p=a.slice(W,q-1),g=a.slice(q+(q<s&&a.charCodeAt(q)===" ".charCodeAt(0)?1:0),s);"data"===p?(k+="\n",k+=g):"id"===p?S=g:"event"===p?P=g:"retry"===p?(u=U(g,u),h=u):"heartbeatTimeout"===p&&(c=U(g,c),0!==v&&(i(v),v=r((function(){Q()}),c)))}if(V===O){if(""!==k){d=S,""===P&&(P="message");var b=new E(P,{data:k.slice(1),lastEventId:S});if(e.dispatchEvent(b),"open"===P?j(e,e.onopen,b):"message"===P?j(e,e.onmessage,b):"error"===P&&j(e,e.onerror,b),x===A)return}k="",P=""}V=l==="\r".charCodeAt(0)?B:O}else V===O&&(W=s,V=F),V===F?l===":".charCodeAt(0)&&(q=s+1,V=z):V===z&&(V=N)}}},K=function(t){if(x===R||x===M){x=D,0!==v&&(i(v),v=0),v=r((function(){Q()}),h),h=I(Math.min(16*u,2*h)),e.readyState=M;var n=new L("error",{error:t});e.dispatchEvent(n),j(e,e.onerror,n),null!=t&&console.error(t)}},X=function(){x=A,null!=C&&(C.abort(),C=void 0),0!==v&&(i(v),v=0),e.readyState=A},Q=function(){if(v=0,x===D){f=!1,m=0,v=r((function(){Q()}),c),x=M,k="",P="",S=d,Y="",W=0,q=0,V=O;
721
+ e(void 0);else{var i=h.decode(t.value,{stream:!0});n(i),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=s&&s.cancel(),l.abort()}}},k.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(e){P(e)}}},k.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var i=!1,a=0;a<r.length;a+=1)r[a]===t&&(i=!0);i||r.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var i=[],a=0;a<r.length;a+=1)r[a]!==t&&i.push(r[a]);0===i.length?delete n[e]:n[e]=i}},E.prototype=Object.create(S.prototype),$.prototype=Object.create(S.prototype),L.prototype=Object.create(S.prototype);var D=-1,M=0,R=1,A=2,B=-1,z=0,O=1,F=2,N=3,H=/^text\/event\-stream(;.*)?$/i,U=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),I(n)},I=function(e){return Math.min(Math.max(e,1e3),18e6)},j=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){P(e)}};function Y(e,t){k.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var s=Boolean(n.withCredentials),l=n.lastEventIdQueryParameterName||"lastEventId",u=I(1e3),c=U(n.heartbeatTimeout,45e3),d="",h=u,f=!1,m=0,p=n.headers||{},g=n.Transport,b=G&&null==g?void 0:new C(null!=g?new g:null!=a&&"withCredentials"in a.prototype||null==o?new a:new o),y=null!=g&&"string"!=typeof g?new g:null==b?new _:new T,w=void 0,v=0,x=D,k="",P="",S="",Y="",V=z,W=0,q=0,J=function(t,n,r,i){if(x===M)if(200===t&&null!=r&&H.test(r)){x=R,f=Date.now(),h=u,e.readyState=R;var a=new $("open",{status:t,statusText:n,headers:i});e.dispatchEvent(a),j(e,e.onopen,a)}else{var o="";200!==t?(n&&(n=n.replace(/\s+/g," ")),o="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):o="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",X();a=new $("error",{status:t,statusText:n,headers:i});e.dispatchEvent(a),j(e,e.onerror,a),console.error(o)}},Z=function(t){if(x===R){for(var n=-1,a=0;a<t.length;a+=1){(l=t.charCodeAt(a))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(n=a)}var o=(-1!==n?Y:"")+t.slice(0,n+1);Y=(-1===n?Y:"")+t.slice(n+1),""!==t&&(f=Date.now(),m+=t.length);for(var s=0;s<o.length;s+=1){var l=o.charCodeAt(s);if(V===B&&l==="\n".charCodeAt(0))V=z;else if(V===B&&(V=z),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(V!==z){V===O&&(q=s+1);var p=o.slice(W,q-1),g=o.slice(q+(q<s&&o.charCodeAt(q)===" ".charCodeAt(0)?1:0),s);"data"===p?(k+="\n",k+=g):"id"===p?P=g:"event"===p?S=g:"retry"===p?(u=U(g,u),h=u):"heartbeatTimeout"===p&&(c=U(g,c),0!==v&&(i(v),v=r((function(){Q()}),c)))}if(V===z){if(""!==k){d=P,""===S&&(S="message");var b=new E(S,{data:k.slice(1),lastEventId:P});if(e.dispatchEvent(b),"open"===S?j(e,e.onopen,b):"message"===S?j(e,e.onmessage,b):"error"===S&&j(e,e.onerror,b),x===A)return}k="",S=""}V=l==="\r".charCodeAt(0)?B:z}else V===z&&(W=s,V=O),V===O?l===":".charCodeAt(0)&&(q=s+1,V=F):V===F&&(V=N)}}},K=function(t){if(x===R||x===M){x=D,0!==v&&(i(v),v=0),v=r((function(){Q()}),h),h=I(Math.min(16*u,2*h)),e.readyState=M;var n=new L("error",{error:t});e.dispatchEvent(n),j(e,e.onerror,n),null!=t&&console.error(t)}},X=function(){x=A,null!=w&&(w.abort(),w=void 0),0!==v&&(i(v),v=0),e.readyState=A},Q=function(){if(v=0,x===D){f=!1,m=0,v=r((function(){Q()}),c),x=M,k="",S="",P=d,Y="",W=0,q=0,V=z;
722
722
  // https://bugzilla.mozilla.org/show_bug.cgi?id=428916
723
723
  // Request header field Last-Event-ID is not allowed by Access-Control-Allow-Headers.
724
724
  var n=t;if("data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==d){
725
725
  // Remove the lastEventId parameter if it's already part of the request URL.
726
726
  var i=t.indexOf("?");n=-1===i?t:t.slice(0,i+1)+t.slice(i+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(e,t){return t===l?"":e})),
727
727
  // Append the current lastEventId to the request URL.
728
- n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var o=e.withCredentials,a={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(a[u]=s[u]);try{C=y.open(b,J,Z,K,n,o,a)}catch(e){throw X(),e}}else if(f||null==C){var h=Math.max((f||Date.now())+c-Date.now(),1);f=!1,v=r((function(){Q()}),h)}else K(new Error("No activity within "+c+" milliseconds. "+(x===M?"No response received.":m+" chars received.")+" Reconnecting.")),null!=C&&(C.abort(),C=void 0)};e.url=t,e.readyState=M,e.withCredentials=s,e.headers=p,e._close=X,Q()}(this,e,t)}var G=null!=d&&null!=h&&"body"in h.prototype;Y.prototype=Object.create(k.prototype),Y.prototype.CONNECTING=M,Y.prototype.OPEN=R,Y.prototype.CLOSED=A,Y.prototype.close=function(){this._close()},Y.CONNECTING=M,Y.OPEN=R,Y.CLOSED=A,Y.prototype.withCredentials=void 0;var V,W=l;null==o||null!=l&&"withCredentials"in l.prototype||(
728
+ n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var a=e.withCredentials,o={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(o[u]=s[u]);try{w=y.open(b,J,Z,K,n,a,o)}catch(e){throw X(),e}}else if(f||null==w){var h=Math.max((f||Date.now())+c-Date.now(),1);f=!1,v=r((function(){Q()}),h)}else K(new Error("No activity within "+c+" milliseconds. "+(x===M?"No response received.":m+" chars received.")+" Reconnecting.")),null!=w&&(w.abort(),w=void 0)};e.url=t,e.readyState=M,e.withCredentials=s,e.headers=p,e._close=X,Q()}(this,e,t)}var G=null!=d&&null!=h&&"body"in h.prototype;Y.prototype=Object.create(k.prototype),Y.prototype.CONNECTING=M,Y.prototype.OPEN=R,Y.prototype.CLOSED=A,Y.prototype.close=function(){this._close()},Y.CONNECTING=M,Y.OPEN=R,Y.CLOSED=A,Y.prototype.withCredentials=void 0;var V,W=l;null==a||null!=l&&"withCredentials"in l.prototype||(
729
729
  // Why replace a native EventSource ?
730
730
  // https://bugzilla.mozilla.org/show_bug.cgi?id=444328
731
731
  // https://bugzilla.mozilla.org/show_bug.cgi?id=831392
@@ -733,239 +733,269 @@ n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var o=e.withCredent
733
733
  // https://code.google.com/p/chromium/issues/detail?id=225654
734
734
  // ...
735
735
  W=Y),V=function(e){e.EventSourcePolyfill=Y,e.NativeEventSource=l,e.EventSource=W}(t),void 0!==V&&(e.exports=V)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:gr:globalThis)}));
736
- /* src/Cells/Cell.svelte generated by Svelte v3.59.2 */function ii(t){let n;return{c(){n=y("slot"),this.c=e,_(n,"name",/*slotname*/t[0])},m(e,t){p(e,n,t)},p(e,[t]){/*slotname*/1&t&&_(n,"name",/*slotname*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function oi(e,t,n){let{slotname:r=""}=t;return e.$$set=e=>{"slotname"in e&&n(0,r=e.slotname)},[r]}class ai extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},oi,ii,a,{slotname:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["slotname"]}get slotname(){return this.$$.ctx[0]}set slotname(e){this.$$set({slotname:e}),I()}}
736
+ /* src/Cells/Cell.svelte generated by Svelte v3.59.2 */function ii(t){let n;return{c(){n=y("slot"),this.c=e,_(n,"name",/*slotname*/t[0])},m(e,t){p(e,n,t)},p(e,[t]){/*slotname*/1&t&&_(n,"name",/*slotname*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function ai(e,t,n){let{slotname:r=""}=t;return e.$$set=e=>{"slotname"in e&&n(0,r=e.slotname)},[r]}class oi extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ai,ii,o,{slotname:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["slotname"]}get slotname(){return this.$$.ctx[0]}set slotname(e){this.$$set({slotname:e}),I()}}
737
737
  /* src/Cells/ThumbnailCell.svelte generated by Svelte v3.59.2 */
738
- function si(t){let n,r,i,o,a,s;return{c(){n=y("div"),r=y("div"),this.c=e,_(r,"class",i="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),_(r,"part",o="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),S(r,"background-image","url('"+(/*thumbnail*/t[0]?/*thumbnail*/t[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),_(n,"class","Thumbnail"),_(n,"part","Thumbnail")},m(e,i){p(e,n,i),m(n,r),a||(s=f(/*matchStatus*/t[2].call(null,r)),a=!0)},p(e,[t]){/*status*/2&t&&i!==(i="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"class",i),/*status*/2&t&&o!==(o="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"part",o),/*thumbnail*/1&t&&S(r,"background-image","url('"+(/*thumbnail*/e[0]?/*thumbnail*/e[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},i:e,o:e,d(e){e&&g(n),a=!1,s()}}}function li(e,t,n){let{thumbnail:r=""}=t,{status:i=""}=t;return M((()=>{})),e.$$set=e=>{"thumbnail"in e&&n(0,r=e.thumbnail),"status"in e&&n(1,i=e.status)},[r,i,()=>{}]}customElements.define("slot-cell",ai);class ui extends V{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}',this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},li,si,a,{thumbnail:0,status:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["thumbnail","status"]}get thumbnail(){return this.$$.ctx[0]}set thumbnail(e){this.$$set({thumbnail:e}),I()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),I()}}
738
+ function si(t){let n,r,i,a,o,s;return{c(){n=y("div"),r=y("div"),this.c=e,_(r,"class",i="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),_(r,"part",a="CardImg "+(/*status*/"Closing"==t[1]||/*status*/"Closed"==t[1]?"CardImgFinished":"")),P(r,"background-image","url('"+(/*thumbnail*/t[0]?/*thumbnail*/t[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')"),_(n,"class","Thumbnail"),_(n,"part","Thumbnail")},m(e,i){p(e,n,i),m(n,r),o||(s=f(/*matchStatus*/t[2].call(null,r)),o=!0)},p(e,[t]){/*status*/2&t&&i!==(i="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"class",i),/*status*/2&t&&a!==(a="CardImg "+(/*status*/"Closing"==e[1]||/*status*/"Closed"==e[1]?"CardImgFinished":""))&&_(r,"part",a),/*thumbnail*/1&t&&P(r,"background-image","url('"+(/*thumbnail*/e[0]?/*thumbnail*/e[0]:"https://i.stack.imgur.com/y9DpT.jpg")+"')")},i:e,o:e,d(e){e&&g(n),o=!1,s()}}}function li(e,t,n){let{thumbnail:r=""}=t,{status:i=""}=t;return M((()=>{})),e.$$set=e=>{"thumbnail"in e&&n(0,r=e.thumbnail),"status"in e&&n(1,i=e.status)},[r,i,()=>{}]}customElements.define("slot-cell",oi);class ui extends V{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}',this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},li,si,o,{thumbnail:0,status:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["thumbnail","status"]}get thumbnail(){return this.$$.ctx[0]}set thumbnail(e){this.$$set({thumbnail:e}),I()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),I()}}
739
739
  /* src/Cells/TitleTextCell.svelte generated by Svelte v3.59.2 */
740
- function ci(e){let t,n,r,i,o,a,s;function l(e,t){/*collapsed*/
741
- return e[2]?di:hi}let u=l(e),c=u(e);return{c(){t=y("div"),n=y("p"),r=C(/*title*/e[1]),i=v(),o=y("div"),c.c(),_(n,"class","Title"),_(n,"part","Title"),_(o,"class","CollapseButtonDetails"),_(o,"part","CollapseButtonDetails"),_(t,"class","DetailsTitle"),_(t,"part","DetailsTitle")},m(l,u){p(l,t,u),m(t,n),m(n,r),m(t,i),m(t,o),c.m(o,null),a||(s=x(o,"click",/*click_handler*/e[5]),a=!0)},p(e,t){/*title*/2&t&&k(r,/*title*/e[1]),u!==(u=l(e))&&(c.d(1),c=u(e),c&&(c.c(),c.m(o,null)))},d(e){e&&g(t),c.d(),a=!1,s()}}}
740
+ function ci(e){let t,n,r,i,a,o,s;function l(e,t){/*collapsed*/
741
+ return e[2]?di:hi}let u=l(e),c=u(e);return{c(){t=y("div"),n=y("p"),r=w(/*title*/e[1]),i=v(),a=y("div"),c.c(),_(n,"class","Title"),_(n,"part","Title"),_(a,"class","CollapseButtonDetails"),_(a,"part","CollapseButtonDetails"),_(t,"class","DetailsTitle"),_(t,"part","DetailsTitle")},m(l,u){p(l,t,u),m(t,n),m(n,r),m(t,i),m(t,a),c.m(a,null),o||(s=x(a,"click",/*click_handler*/e[5]),o=!0)},p(e,t){/*title*/2&t&&k(r,/*title*/e[1]),u!==(u=l(e))&&(c.d(1),c=u(e),c&&(c.c(),c.m(a,null)))},d(e){e&&g(t),c.d(),o=!1,s()}}}
742
742
  // (24:8) {:else}
743
- function di(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M6 9l6 6 6-6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
743
+ function di(e){let t,n;return{c(){t=C("svg"),n=C("path"),_(n,"d","M6 9l6 6 6-6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
744
744
  // (20:8) {#if !collapsed}
745
- function hi(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M18 15l-6-6-6 6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
745
+ function hi(e){let t,n;return{c(){t=C("svg"),n=C("path"),_(n,"d","M18 15l-6-6-6 6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
746
746
  // (33:2) {#if text && !collapsed}
747
- function fi(e){let t,n,r,i;return{c(){t=y("div"),_(t,"class","DetailsContent sc"),_(t,"part","DetailsContent")},m(o,a){p(o,t,a),r||(i=f(n=/*setContent*/e[4].call(null,t,/*text*/e[0])),r=!0)},p(e,t){n&&o(n.update)&&/*text*/1&t&&n.update.call(null,/*text*/e[0])},d(e){e&&g(t),r=!1,i()}}}function mi(t){let n,r,i=/*title*/t[1]&&ci(t),o=/*text*/t[0]&&!/*collapsed*/t[2]&&fi(t);return{c(){n=y("div"),i&&i.c(),r=v(),o&&o.c(),this.c=e,_(n,"class","DetailsCard"),_(n,"part","DetailsCard")},m(e,t){p(e,n,t),i&&i.m(n,null),m(n,r),o&&o.m(n,null)},p(e,[t]){/*title*/e[1]?i?i.p(e,t):(i=ci(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),/*text*/e[0]&&!/*collapsed*/e[2]?o?o.p(e,t):(o=fi(e),o.c(),o.m(n,null)):o&&(o.d(1),o=null)},i:e,o:e,d(e){e&&g(n),i&&i.d(),o&&o.d()}}}function pi(e,t,n){let{text:r=""}=t,{title:i=""}=t,o=!1;const a=()=>{n(2,o=!o)};return e.$$set=e=>{"text"in e&&n(0,r=e.text),"title"in e&&n(1,i=e.title)},[r,i,o,a,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},()=>a()]}customElements.define("thumbnail-cell",ui);class gi extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},pi,mi,a,{text:0,title:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["text","title"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),I()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),I()}}function bi(e,t){Jt(e,t)}function yi(e){_n.set(e)}customElements.define("title-text-cell",gi);const wi={en:{tournamentsThumbnail:{startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}"}},hr:{tournamentsThumbnail:{startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}"}},el:{tournamentsThumbnail:{startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}"}},"zh-hk":{tournamentsThumbnail:{startingAtWithTime:"開始於 {startTime}",startedAtWithTime:"Started {startTime}"}}},Ci={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} Do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限",participantingGames:"Participanting games"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité",participantingGames:"Participanting games"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat",participantingGames:"Jocuri participante"}},tr:{tournamentsPage:{loading:"Yükleniyor, lütfen bekleyin…",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",mostRounds:"MostRounds",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"limitsiz",participantingGames:"Participanting games"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},es:{tournamentsPage:{loading:"cargando, por favor espere…",back:"Volver",previous:"Anterior",next:"Siguiente",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",mostRounds:"LaMayoríaDeLasRondas",activePeriod:"Desde {startdate} hasta {enddate}",forwardCasino:"Vea los juegos de casino incluidos",forwardSports:"Vea los deportes incluidos",forwardMyTournaments:"Vea Mis Torneos",leaderBoard:"Marcador",rules:"Reglas",games:"Juegos",unlimited:"sin límite",participantingGames:"Participanting games"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan",participantingGames:"Participanting games"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado",participantingGames:"Participanting games"}}},vi={en:{tournamentsDuration:{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"}},hr:{tournamentsDuration:{finished:"Završeno",starting:"Počinje za ",left:"preostalo",minutes:"minute",hours:"sati",days:"dana"}},"zh-hk":{tournamentsDuration:{finished:"完成的",starting:"開始於",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"}},fr:{tournamentsDuration:{finished:"Fini",starting:"Début dans ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"}},ro:{tournamentsDuration:{finished:"Finalizat",starting:"Începe în",left:"rămase",minutes:"minute",hours:"ore",days:"zile"}},tr:{tournamentsDuration:{finished:"Sona ermiş",starting:"Başlamasına ",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"}},el:{tournamentsDuration:{finished:"Ολοκληρωμένα",starting:"Αρχίζει σε ",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"}},es:{tournamentsDuration:{finished:"Terminado",starting:"A partir de ",left:"queda",minutes:"minutos",hours:"horas",days:"días"}},hu:{tournamentsDuration:{finished:"Befejezve",starting:"Kezdésig",left:"bal",minutes:"perc",hours:"óra",days:"nap"}},pt:{tournamentsDuration:{finished:"Finalizado",starting:"Começando em",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"}}},Ti={en:{gamesSlider:{playNow:"Play now",participantingGames:"Participanting games"}},hr:{gamesSlider:{playNow:"Igraj sada",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{gamesSlider:{playNow:"现在播放",participantingGames:"Participanting games"}},fr:{gamesSlider:{playNow:"Joue maintenant",participantingGames:"Participanting games"}},ro:{gamesSlider:{playNow:"Joaca acum",participantingGames:"Participanting games"}},tr:{gamesSlider:{playNow:"Şimdi oyna",participantingGames:"Participanting games"}},el:{gamesSlider:{playNow:"Παίξε τώρα",participantingGames:"Participanting games"}},es:{gamesSlider:{playNow:"Reproducir ahora",participantingGames:"Participanting games"}},pt:{gamesSlider:{playNow:"Jogue agora",participantingGames:"Participanting games"}}},xi={en:{tournamentsThController:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}},hr:{tournamentsThController:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."}},"zh-hk":{tournamentsThController:{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"}},fr:{tournamentsThController:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - "}},ro:{tournamentsThController:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."}},tr:{tournamentsThController:{login:"Giriş",register:"Kayıt Ol",details:"Detaylar",enrolled:"Katıldın",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - "}},el:{tournamentsThController:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."}},es:{tournamentsThController:{login:"Entrar",register:"Regístrese en",details:"Detalles",enrolled:"Inscrito",join:"Únase",joinerror:"Se ha producido un error al registrarse en el torneo, inténtelo de nuevo."}},hu:{tournamentsThController:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."}},pt:{tournamentsThController:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -"}}},_i={en:{tournamentsTable:{leaderboard:"Leaderboard",score:"Score",betcounts:"Bet Count",winstakeratio:"WinstakeRatio",qualified:"Qualified",nowinners:"No winners for the time being. Be one of them!",Rank:"Rank",Player:"Player",Points:"Points",Prize:"Prize",UnqualifiedTips:"The minimum number of bets has not been reached. Check tournament rules.",me:"Me"}},hr:{tournamentsTable:{leaderboard:"Poredak",score:"Rezultat",betcounts:"Broj opklada",winstakeratio:"Omjer dobitka po ulogu",qualified:"Kvalificiran",nowinners:"Za sada nema pobjednika. Budi jedan od njih!",Rank:"Poredak",Player:"Igrač",Points:"Bodovi",Prize:"Nagrada",UnqualifiedTips:"Minimalni broj opklada nije dosegnut. Provjerite pravila turnira.",me:"Ja"}},"zh-hk":{tournamentsTable:{leaderboard:"排行榜",score:"分數",betcounts:"投注次數",winstakeratio:"勝率",qualified:"合格的",nowinners:"暫時沒有贏家。 成為他們中的一員!",Rank:"秩",Player:"播放器",Points:"積分",Prize:"獎",UnqualifiedTips:"未达到最低投注数。检查比赛规则。",me:"我"}},fr:{tournamentsTable:{leaderboard:"Tableau des leaders",score:"Score",betcounts:"Le pari compte",winstakeratio:"Indice du gain d'une mise",qualified:"Qualifié",nowinners:"Aucun gagnant pour l'instant, soyez l'un d'entre eux",Rank:"Rang",Player:"Joueur",Points:"Points",Prize:"Prix",UnqualifiedTips:"Le nombre de mises minimum n'est pas terminé. Vérifiez les règles.",me:"Me"}},ro:{tournamentsTable:{leaderboard:"Clasament",score:"Scor",betcounts:"Număr Pariuri",winstakeratio:"Raport de câștig",qualified:"Calificat",nowinners:"Nu există câștigători pentru moment. Fii unul dintre ei!",Rank:"Clasament",Player:"Jucător",Points:"Puncte",Prize:"Premiu",UnqualifiedTips:"Numărul minim de pariuri nu a fost atins. Verificați regulile.",me:"Eu"}},tr:{tournamentsTable:{leaderboard:"Liderlik Tablosu",score:"Skor",betcounts:"Bahis Sayısı",winstakeratio:"Maksimum Kazanç / Bahis Oranı",qualified:"Tur atlamış",nowinners:"Kazanan yok. Kazananlardan birisi ol!",Rank:"Sıra",Player:"Oyuncu",Points:"Puan",Prize:"Ödül",UnqualifiedTips:"Minimum bahis sayısına ulaşılmadı. Turnuva kurallarını kontrol ediniz.",me:"Ben"}},el:{tournamentsTable:{leaderboard:"Βαθμολογία",score:"Σκορ",betcounts:"Αριθμός Πονταρισμάτων",winstakeratio:"Μέγιστος λόγος πονταρίσματος κερδών",qualified:"Προκρίθηκε",nowinners:"Δεν υπάρχουν νικητές ακόμα.",Rank:"Κατάταξη",Player:"Όνομα",Points:"Πόντοι",Prize:"Έπαθλο",UnqualifiedTips:"Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.",me:"Εγώ"}},es:{tournamentsTable:{leaderboard:"Marcador",score:"Puntuación",betcounts:"Apuesta cuenta",winstakeratio:"RatioDeGanancia",qualified:"Calificado",nowinners:"No hay ganadores por el momento. ¡Sé uno de ellos!",Rank:"Rango",Player:"Jugador",Points:"Puntos",Prize:"Premio",UnqualifiedTips:"No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.",me:"Yo"}},hu:{tournamentsTable:{leaderboard:"Ranglista",score:"Pontszám",betcounts:"Fogadás beleszámít",winstakeratio:"WinstakeRatio",qualified:"Kvalifikált",nowinners:"Még nincs nyertes. Legyen Ön az egyik!",Rank:"Rangsor",Player:"Játékos",Points:"Pontszám",Prize:"Nyeremény",UnqualifiedTips:"Minimális tét nincs elérve. Ellenőrizze a szabályokat.",me:"Én"}},pt:{tournamentsTable:{leaderboard:"Entre os melhores",score:"Pontuação",betcounts:"Contagens de Apostas",winstakeratio:"Rácio de Vitórias",qualified:"Qualificado",nowinners:"Sem vencedores por enquanto. Seja um deles!",Rank:"Classificação",Player:"Jogador",Points:"Pontos",Prize:"Prêmio",UnqualifiedTips:"Contagem mínima de apostas não concluída. Confira Regras.",me:"Me"}}},ki={en:{tournamentsPrizes:{prizes:"Prizes",noprizes:"No available prizes",place:"place"}},hr:{tournamentsPrizes:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},"zh-hk":{tournamentsPrizes:{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"}},fr:{tournamentsPrizes:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"}},ro:{tournamentsPrizes:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"}},tr:{tournamentsPrizes:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"}},el:{tournamentsPrizes:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"}},es:{tournamentsPrizes:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"}},hu:{tournamentsPrizes:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"}},pt:{tournamentsPrizes:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"}}},Si={en:{tournamentsThumbnail:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hr:{tournamentsThumbnail:{enrolled:"Upisan",scoreCriteria:"Kriterij rezultata",minbet:"Minimalan broj opklada",seegames:"Možete vidjeti igre",here:"ovdje",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj opklada",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Ukupni dobitak po ulogu",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"}},"zh-hk":{tournamentsThumbnail:{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},fr:{tournamentsThumbnail:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},ro:{tournamentsThumbnail:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"}},tr:{tournamentsThumbnail:{enrolled:"Katıldın",scoreCriteria:"Skor kriteri",minbet:"en düşük bahis sayısı",seegames:"Turnuvadaki oyunları görmek için",here:"tıklayın",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",startingAt:"Başlangıç saati:",startedAt:"Başlangıç saati:",mostRounds:"ÇoğuRounds",betCount:"Oynanan Tur Sayısı",maxWinStakeRatio:"Maksimum Kazanç / Bahis Oranı",winStakeRatio:"Kazanç / Bahis Oranı",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık"}},el:{tournamentsThumbnail:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"}},es:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Criterios de puntuación",minbet:"la apuesta mínima cuenta",seegames:"Puedes ver los juegos",here:"aquí",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",startingAt:"Desde",startedAt:"Empezó el:",mostRounds:"LaMayoríaDeLasRondas",betCount:"Recuento De Apuestas",maxWinStakeRatio:"Ratio De Ganancia Máxima",winStakeRatio:"Ratio De Ganancia",January:"de enero",February:"de febrero",March:"de marzo",April:"de abril",May:"de mayo",June:"de junio",July:"de julio",August:"de agosto",September:"de septiembre",October:"de octubre",November:"de noviembre",December:"de diciembre"}},pt:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hu:{tournamentsThumbnail:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}}};
747
+ function fi(e){let t,n,r,i;return{c(){t=y("div"),_(t,"class","DetailsContent sc"),_(t,"part","DetailsContent")},m(a,o){p(a,t,o),r||(i=f(n=/*setContent*/e[4].call(null,t,/*text*/e[0])),r=!0)},p(e,t){n&&a(n.update)&&/*text*/1&t&&n.update.call(null,/*text*/e[0])},d(e){e&&g(t),r=!1,i()}}}function mi(t){let n,r,i=/*title*/t[1]&&ci(t),a=/*text*/t[0]&&!/*collapsed*/t[2]&&fi(t);return{c(){n=y("div"),i&&i.c(),r=v(),a&&a.c(),this.c=e,_(n,"class","DetailsCard"),_(n,"part","DetailsCard")},m(e,t){p(e,n,t),i&&i.m(n,null),m(n,r),a&&a.m(n,null)},p(e,[t]){/*title*/e[1]?i?i.p(e,t):(i=ci(e),i.c(),i.m(n,r)):i&&(i.d(1),i=null),/*text*/e[0]&&!/*collapsed*/e[2]?a?a.p(e,t):(a=fi(e),a.c(),a.m(n,null)):a&&(a.d(1),a=null)},i:e,o:e,d(e){e&&g(n),i&&i.d(),a&&a.d()}}}function pi(e,t,n){let{text:r=""}=t,{title:i=""}=t,a=!1;const o=()=>{n(2,a=!a)};return e.$$set=e=>{"text"in e&&n(0,r=e.text),"title"in e&&n(1,i=e.title)},[r,i,a,o,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},()=>o()]}customElements.define("thumbnail-cell",ui);class gi extends V{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},pi,mi,o,{text:0,title:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["text","title"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),I()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),I()}}function bi(e,t){Jt(e,t)}function yi(e){_n.set(e)}customElements.define("title-text-cell",gi);const Ci={en:{tournamentsThumbnail:{startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}"}},hr:{tournamentsThumbnail:{startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}"}},el:{tournamentsThumbnail:{startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}"}},"zh-hk":{tournamentsThumbnail:{startingAtWithTime:"開始於 {startTime}",startedAtWithTime:"Started {startTime}"}}},wi={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} Do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限",participantingGames:"Participanting games"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité",participantingGames:"Participanting games"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat",participantingGames:"Jocuri participante"}},tr:{tournamentsPage:{loading:"Yükleniyor, lütfen bekleyin…",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",mostRounds:"MostRounds",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"limitsiz",participantingGames:"Participanting games"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited",participantingGames:"Participanting games"}},es:{tournamentsPage:{loading:"cargando, por favor espere…",back:"Volver",previous:"Anterior",next:"Siguiente",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",mostRounds:"LaMayoríaDeLasRondas",activePeriod:"Desde {startdate} hasta {enddate}",forwardCasino:"Vea los juegos de casino incluidos",forwardSports:"Vea los deportes incluidos",forwardMyTournaments:"Vea Mis Torneos",leaderBoard:"Marcador",rules:"Reglas",games:"Juegos",unlimited:"sin límite",participantingGames:"Participanting games"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan",participantingGames:"Participanting games"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado",participantingGames:"Participanting games"}}},vi={en:{tournamentsDuration:{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"}},hr:{tournamentsDuration:{finished:"Završeno",starting:"Počinje za ",left:"preostalo",minutes:"minute",hours:"sati",days:"dana"}},"zh-hk":{tournamentsDuration:{finished:"完成的",starting:"開始於",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"}},fr:{tournamentsDuration:{finished:"Fini",starting:"Début dans ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"}},ro:{tournamentsDuration:{finished:"Finalizat",starting:"Începe în",left:"rămase",minutes:"minute",hours:"ore",days:"zile"}},tr:{tournamentsDuration:{finished:"Sona ermiş",starting:"Başlamasına ",left:"kaldı",minutes:"dakika",hours:"saat",days:"gün"}},el:{tournamentsDuration:{finished:"Ολοκληρωμένα",starting:"Αρχίζει σε ",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"}},es:{tournamentsDuration:{finished:"Terminado",starting:"A partir de ",left:"queda",minutes:"minutos",hours:"horas",days:"días"}},hu:{tournamentsDuration:{finished:"Befejezve",starting:"Kezdésig",left:"bal",minutes:"perc",hours:"óra",days:"nap"}},pt:{tournamentsDuration:{finished:"Finalizado",starting:"Começando em",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"}}},Ti={en:{gamesSlider:{playNow:"Play now",participantingGames:"Participanting games"}},hr:{gamesSlider:{playNow:"Igraj sada",participantingGames:"Igre u kojima sudjelujete"}},"zh-hk":{gamesSlider:{playNow:"现在播放",participantingGames:"Participanting games"}},fr:{gamesSlider:{playNow:"Joue maintenant",participantingGames:"Participanting games"}},ro:{gamesSlider:{playNow:"Joaca acum",participantingGames:"Participanting games"}},tr:{gamesSlider:{playNow:"Şimdi oyna",participantingGames:"Participanting games"}},el:{gamesSlider:{playNow:"Παίξε τώρα",participantingGames:"Participanting games"}},es:{gamesSlider:{playNow:"Reproducir ahora",participantingGames:"Participanting games"}},pt:{gamesSlider:{playNow:"Jogue agora",participantingGames:"Participanting games"}}},xi={en:{tournamentsThController:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}},hr:{tournamentsThController:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."}},"zh-hk":{tournamentsThController:{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"}},fr:{tournamentsThController:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi - "}},ro:{tournamentsThController:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."}},tr:{tournamentsThController:{login:"Giriş",register:"Kayıt Ol",details:"Detaylar",enrolled:"Katıldın",join:"Katıl",joinerror:"Turnuvaya katılım ile ilgili bir hata oluştu - "}},el:{tournamentsThController:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."}},es:{tournamentsThController:{login:"Entrar",register:"Regístrese en",details:"Detalles",enrolled:"Inscrito",join:"Únase",joinerror:"Se ha producido un error al registrarse en el torneo, inténtelo de nuevo."}},hu:{tournamentsThController:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."}},pt:{tournamentsThController:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio -"}}},_i={en:{tournamentsTable:{leaderboard:"Leaderboard",score:"Score",betcounts:"Bet Count",winstakeratio:"WinstakeRatio",qualified:"Qualified",nowinners:"No winners for the time being. Be one of them!",Rank:"Rank",Player:"Player",Points:"Points",Prize:"Prize",UnqualifiedTips:"The minimum number of bets has not been reached. Check tournament rules.",me:"Me"}},hr:{tournamentsTable:{leaderboard:"Poredak",score:"Rezultat",betcounts:"Broj opklada",winstakeratio:"Omjer dobitka po ulogu",qualified:"Kvalificiran",nowinners:"Za sada nema pobjednika. Budi jedan od njih!",Rank:"Poredak",Player:"Igrač",Points:"Bodovi",Prize:"Nagrada",UnqualifiedTips:"Minimalni broj opklada nije dosegnut. Provjerite pravila turnira.",me:"Ja"}},"zh-hk":{tournamentsTable:{leaderboard:"排行榜",score:"分數",betcounts:"投注次數",winstakeratio:"勝率",qualified:"合格的",nowinners:"暫時沒有贏家。 成為他們中的一員!",Rank:"秩",Player:"播放器",Points:"積分",Prize:"獎",UnqualifiedTips:"未达到最低投注数。检查比赛规则。",me:"我"}},fr:{tournamentsTable:{leaderboard:"Tableau des leaders",score:"Score",betcounts:"Le pari compte",winstakeratio:"Indice du gain d'une mise",qualified:"Qualifié",nowinners:"Aucun gagnant pour l'instant, soyez l'un d'entre eux",Rank:"Rang",Player:"Joueur",Points:"Points",Prize:"Prix",UnqualifiedTips:"Le nombre de mises minimum n'est pas terminé. Vérifiez les règles.",me:"Me"}},ro:{tournamentsTable:{leaderboard:"Clasament",score:"Scor",betcounts:"Număr Pariuri",winstakeratio:"Raport de câștig",qualified:"Calificat",nowinners:"Nu există câștigători pentru moment. Fii unul dintre ei!",Rank:"Clasament",Player:"Jucător",Points:"Puncte",Prize:"Premiu",UnqualifiedTips:"Numărul minim de pariuri nu a fost atins. Verificați regulile.",me:"Eu"}},tr:{tournamentsTable:{leaderboard:"Liderlik Tablosu",score:"Skor",betcounts:"Bahis Sayısı",winstakeratio:"Maksimum Kazanç / Bahis Oranı",qualified:"Tur atlamış",nowinners:"Kazanan yok. Kazananlardan birisi ol!",Rank:"Sıra",Player:"Oyuncu",Points:"Puan",Prize:"Ödül",UnqualifiedTips:"Minimum bahis sayısına ulaşılmadı. Turnuva kurallarını kontrol ediniz.",me:"Ben"}},el:{tournamentsTable:{leaderboard:"Βαθμολογία",score:"Σκορ",betcounts:"Αριθμός Πονταρισμάτων",winstakeratio:"Μέγιστος λόγος πονταρίσματος κερδών",qualified:"Προκρίθηκε",nowinners:"Δεν υπάρχουν νικητές ακόμα.",Rank:"Κατάταξη",Player:"Όνομα",Points:"Πόντοι",Prize:"Έπαθλο",UnqualifiedTips:"Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.",me:"Εγώ"}},es:{tournamentsTable:{leaderboard:"Marcador",score:"Puntuación",betcounts:"Apuesta cuenta",winstakeratio:"RatioDeGanancia",qualified:"Calificado",nowinners:"No hay ganadores por el momento. ¡Sé uno de ellos!",Rank:"Rango",Player:"Jugador",Points:"Puntos",Prize:"Premio",UnqualifiedTips:"No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.",me:"Yo"}},hu:{tournamentsTable:{leaderboard:"Ranglista",score:"Pontszám",betcounts:"Fogadás beleszámít",winstakeratio:"WinstakeRatio",qualified:"Kvalifikált",nowinners:"Még nincs nyertes. Legyen Ön az egyik!",Rank:"Rangsor",Player:"Játékos",Points:"Pontszám",Prize:"Nyeremény",UnqualifiedTips:"Minimális tét nincs elérve. Ellenőrizze a szabályokat.",me:"Én"}},pt:{tournamentsTable:{leaderboard:"Entre os melhores",score:"Pontuação",betcounts:"Contagens de Apostas",winstakeratio:"Rácio de Vitórias",qualified:"Qualificado",nowinners:"Sem vencedores por enquanto. Seja um deles!",Rank:"Classificação",Player:"Jogador",Points:"Pontos",Prize:"Prêmio",UnqualifiedTips:"Contagem mínima de apostas não concluída. Confira Regras.",me:"Me"}}},ki={en:{tournamentsPrizes:{prizes:"Prizes",noprizes:"No available prizes",place:"place"}},hr:{tournamentsPrizes:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},"zh-hk":{tournamentsPrizes:{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"}},fr:{tournamentsPrizes:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"}},ro:{tournamentsPrizes:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"}},tr:{tournamentsPrizes:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"}},el:{tournamentsPrizes:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"}},es:{tournamentsPrizes:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"}},hu:{tournamentsPrizes:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"}},pt:{tournamentsPrizes:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"}}},Pi={en:{tournamentsThumbnail:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hr:{tournamentsThumbnail:{enrolled:"Upisan",scoreCriteria:"Kriterij rezultata",minbet:"Minimalan broj opklada",seegames:"Možete vidjeti igre",here:"ovdje",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj opklada",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Ukupni dobitak po ulogu",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"}},"zh-hk":{tournamentsThumbnail:{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},fr:{tournamentsThumbnail:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},ro:{tournamentsThumbnail:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În desfășurare",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"}},tr:{tournamentsThumbnail:{enrolled:"Katıldın",scoreCriteria:"Skor kriteri",minbet:"en düşük bahis sayısı",seegames:"Turnuvadaki oyunları görmek için",here:"tıklayın",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",startingAt:"Başlangıç saati:",startedAt:"Başlangıç saati:",mostRounds:"ÇoğuRounds",betCount:"Oynanan Tur Sayısı",maxWinStakeRatio:"Maksimum Kazanç / Bahis Oranı",winStakeRatio:"Kazanç / Bahis Oranı",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık"}},el:{tournamentsThumbnail:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"}},es:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Criterios de puntuación",minbet:"la apuesta mínima cuenta",seegames:"Puedes ver los juegos",here:"aquí",scheduled:"Programado",ongoing:"En marcha",finished:"Terminado",startingAt:"Desde",startedAt:"Empezó el:",mostRounds:"LaMayoríaDeLasRondas",betCount:"Recuento De Apuestas",maxWinStakeRatio:"Ratio De Ganancia Máxima",winStakeRatio:"Ratio De Ganancia",January:"de enero",February:"de febrero",March:"de marzo",April:"de abril",May:"de mayo",June:"de junio",July:"de julio",August:"de agosto",September:"de septiembre",October:"de octubre",November:"de noviembre",December:"de diciembre"}},pt:{tournamentsThumbnail:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}},hu:{tournamentsThumbnail:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}}};
748
748
  /* src/Cells/ScoreCriteriaCell.svelte generated by Svelte v3.59.2 */
749
- function Pi(t){let n,r,i,o,a,s,l,u,c,d,h,b,w,T=/*$_*/t[2]("tournamentsThumbnail.scoreCriteria")+"",x=/*$_*/t[2]("tournamentsThumbnail.minbet")+"";return{c(){n=y("div"),r=y("p"),i=C(T),o=C(":\n "),a=y("span"),s=C(/*showScoreCriteria*/t[1]),l=C("\n ("),u=C(x),c=v(),d=C(/*minbetcount*/t[0]),h=C(")"),this.c=e,_(a,"part","ScoreCriteriaSpan"),_(r,"part","ScoreCriteriaP"),_(n,"class","ScoreCriteria"),_(n,"part","ScoreCriteria")},m(e,g){p(e,n,g),m(n,r),m(r,i),m(r,o),m(r,a),m(a,s),m(r,l),m(r,u),m(r,c),m(r,d),m(r,h),b||(w=f(/*matchScoreCriteria*/t[3].call(null,a)),b=!0)},p(e,[t]){/*$_*/4&t&&T!==(T=/*$_*/e[2]("tournamentsThumbnail.scoreCriteria")+"")&&k(i,T),/*showScoreCriteria*/2&t&&k(s,/*showScoreCriteria*/e[1]),/*$_*/4&t&&x!==(x=/*$_*/e[2]("tournamentsThumbnail.minbet")+"")&&k(u,x),/*minbetcount*/1&t&&k(d,/*minbetcount*/e[0])},i:e,o:e,d(e){e&&g(n),b=!1,w()}}}function Ei(e,t,n){let r;d(e,Yn,(e=>n(2,r=e)));let{scorecriteria:i=""}=t,{lang:o="en"}=t,{minbetcount:a}=t;Object.keys(Si).forEach((e=>{bi(e,Si[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let s="";const l=()=>{"BetCount"==i&&n(1,s=r("tournamentsThumbnail.betCount")),"MaxWinStakeRatio"==i&&n(1,s=r("tournamentsThumbnail.maxWinStakeRatio")),"WinStakeRatio"==i&&n(1,s=r("tournamentsThumbnail.winStakeRatio"))};return M((()=>{})),e.$$set=e=>{"scorecriteria"in e&&n(4,i=e.scorecriteria),"lang"in e&&n(5,o=e.lang),"minbetcount"in e&&n(0,a=e.minbetcount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty&&o&&(yi(o),l()),/*scorecriteria*/16&e.$$.dirty&&i&&l()},[a,s,r,l,i,o]}class $i extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ei,Pi,a,{scorecriteria:4,lang:5,minbetcount:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["scorecriteria","lang","minbetcount"]}get scorecriteria(){return this.$$.ctx[4]}set scorecriteria(e){this.$$set({scorecriteria:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get minbetcount(){return this.$$.ctx[0]}set minbetcount(e){this.$$set({minbetcount:e}),I()}}
749
+ function Si(t){let n,r,i,a,o,s,l,u,c,d,h,b,C,T=/*$_*/t[2]("tournamentsThumbnail.scoreCriteria")+"",x=/*$_*/t[2]("tournamentsThumbnail.minbet")+"";return{c(){n=y("div"),r=y("p"),i=w(T),a=w(":\n "),o=y("span"),s=w(/*showScoreCriteria*/t[1]),l=w("\n ("),u=w(x),c=v(),d=w(/*minbetcount*/t[0]),h=w(")"),this.c=e,_(o,"part","ScoreCriteriaSpan"),_(r,"part","ScoreCriteriaP"),_(n,"class","ScoreCriteria"),_(n,"part","ScoreCriteria")},m(e,g){p(e,n,g),m(n,r),m(r,i),m(r,a),m(r,o),m(o,s),m(r,l),m(r,u),m(r,c),m(r,d),m(r,h),b||(C=f(/*matchScoreCriteria*/t[3].call(null,o)),b=!0)},p(e,[t]){/*$_*/4&t&&T!==(T=/*$_*/e[2]("tournamentsThumbnail.scoreCriteria")+"")&&k(i,T),/*showScoreCriteria*/2&t&&k(s,/*showScoreCriteria*/e[1]),/*$_*/4&t&&x!==(x=/*$_*/e[2]("tournamentsThumbnail.minbet")+"")&&k(u,x),/*minbetcount*/1&t&&k(d,/*minbetcount*/e[0])},i:e,o:e,d(e){e&&g(n),b=!1,C()}}}function Ei(e,t,n){let r;d(e,Yn,(e=>n(2,r=e)));let{scorecriteria:i=""}=t,{lang:a="en"}=t,{minbetcount:o}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let s="";const l=()=>{"BetCount"==i&&n(1,s=r("tournamentsThumbnail.betCount")),"MaxWinStakeRatio"==i&&n(1,s=r("tournamentsThumbnail.maxWinStakeRatio")),"WinStakeRatio"==i&&n(1,s=r("tournamentsThumbnail.winStakeRatio"))};return M((()=>{})),e.$$set=e=>{"scorecriteria"in e&&n(4,i=e.scorecriteria),"lang"in e&&n(5,a=e.lang),"minbetcount"in e&&n(0,o=e.minbetcount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty&&a&&(yi(a),l()),/*scorecriteria*/16&e.$$.dirty&&i&&l()},[o,s,r,l,i,a]}class $i extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ei,Si,o,{scorecriteria:4,lang:5,minbetcount:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["scorecriteria","lang","minbetcount"]}get scorecriteria(){return this.$$.ctx[4]}set scorecriteria(e){this.$$set({scorecriteria:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get minbetcount(){return this.$$.ctx[0]}set minbetcount(e){this.$$set({minbetcount:e}),I()}}
750
750
  /* src/Cells/JoinButtonCell.svelte generated by Svelte v3.59.2 */
751
- function Li(e){let t,n,r,i,o=/*$_*/e[10]("tournamentsThController.details")+"";return{c(){t=y("button"),n=C(o),_(t,"class","DetailsLargeButton"),_(t,"part","DetailsLargeButton")},m(o,a){p(o,t,a),m(t,n),r||(i=x(t,"click",/*click_handler_4*/e[34]),r=!0)},p(e,t){/*$_*/1024&t[0]&&o!==(o=/*$_*/e[10]("tournamentsThController.details")+"")&&k(n,o)},d(e){e&&g(t),r=!1,i()}}}
752
- // (172:4) {#if status != 'Closed' && status != 'Closing'}
753
- function Di(e){let t,n,r=/*showdetails*/"true"==e[2]&&Ri(e);function i(e,t){/*userenrolled*/
754
- return"true"==e[0]?Bi:/*bonuscode*/e[3]?Ai:void 0}let o=i(e),a=o&&o(e);return{c(){r&&r.c(),t=v(),a&&a.c(),n=T()},m(e,i){r&&r.m(e,i),p(e,t,i),a&&a.m(e,i),p(e,n,i)},p(e,s){/*showdetails*/"true"==e[2]?r?r.p(e,s):(r=Ri(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o===(o=i(e))&&a?a.p(e,s):(a&&a.d(1),a=o&&o(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&g(t),a&&a.d(e),e&&g(n)}}}
755
- // (168:2) {#if !isLoggedIn}
756
- function Mi(e){let t,n,r,o,a,s,l,u=/*$_*/e[10]("tournamentsThController.login")+"",c=/*$_*/e[10]("tournamentsThController.register")+"";return{c(){t=y("button"),n=C(u),r=v(),o=y("button"),a=C(c),_(t,"class","LoginButton"),_(t,"part","LoginButton"),_(o,"class","RegisterButton"),_(o,"part","RegisterButton")},m(i,u){p(i,t,u),m(t,n),p(i,r,u),p(i,o,u),m(o,a),s||(l=[x(t,"click",/*click_handler*/e[30]),x(o,"click",/*click_handler_1*/e[31])],s=!0)},p(e,t){/*$_*/1024&t[0]&&u!==(u=/*$_*/e[10]("tournamentsThController.login")+"")&&k(n,u),/*$_*/1024&t[0]&&c!==(c=/*$_*/e[10]("tournamentsThController.register")+"")&&k(a,c)},d(e){e&&g(t),e&&g(r),e&&g(o),s=!1,i(l)}}}
757
- // (173:6) {#if showdetails == 'true'}
758
- function Ri(e){let t,n,r,i,o=/*$_*/e[10]("tournamentsThController.details")+"";return{c(){t=y("button"),n=C(o),_(t,"class","DetailsButton"),_(t,"part","DetailsButton")},m(o,a){p(o,t,a),m(t,n),r||(i=x(t,"click",/*click_handler_2*/e[32]),r=!0)},p(e,t){/*$_*/1024&t[0]&&o!==(o=/*$_*/e[10]("tournamentsThController.details")+"")&&k(n,o)},d(e){e&&g(t),r=!1,i()}}}
759
- // (180:26)
760
- function Ai(e){let t,n,r,i,o;function a(e,t){/*joinButtonLoading*/
761
- return 1==e[6]?Fi:Oi}let s=a(e),l=s(e);return{c(){t=y("button"),l.c(),_(t,"class",n="JoinButton "+(/*fullsize*/e[4]?"JoinButtonFullSize":"")),_(t,"part",r="JoinButton "+(/*fullsize*/e[4]?"JoinButtonFullSize":"")),t.disabled=/*errorJoin*/e[7]},m(n,r){p(n,t,r),l.m(t,null),i||(o=x(t,"click",/*click_handler_3*/e[33]),i=!0)},p(e,i){s===(s=a(e))&&l?l.p(e,i):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null))),/*fullsize*/16&i[0]&&n!==(n="JoinButton "+(/*fullsize*/e[4]?"JoinButtonFullSize":""))&&_(t,"class",n),/*fullsize*/16&i[0]&&r!==(r="JoinButton "+(/*fullsize*/e[4]?"JoinButtonFullSize":""))&&_(t,"part",r),/*errorJoin*/128&i[0]&&(t.disabled=/*errorJoin*/e[7])},d(e){e&&g(t),l.d(),i=!1,o()}}}
762
- // (176:6) {#if userenrolled == 'true'}
763
- function Bi(e){let t,n=/*showdetails*/"true"==e[2]&&zi(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*showdetails*/"true"==e[2]?n?n.p(e,r):(n=zi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
764
- // (186:10) {:else}
765
- function Oi(e){let t,n,r,i,o,a,s,l,u,c=/*$_*/e[10]("tournamentsThController.join")+"";return{c(){t=y("span"),n=C(c),r=v(),i=w("svg"),o=w("defs"),a=w("style"),s=C(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=w("g"),u=w("path"),_(t,"part","JoinButtonSpan"),_(t,"class","JoinButtonSpan"),_(u,"class","a"),_(u,"part","a JoinButtonSvgA"),_(u,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),_(u,"transform","translate(26 26) rotate(180)"),_(l,"transform","translate(26 26) rotate(180)"),_(i,"part","JoinButtonSvg"),_(i,"class","JoinButtonSvg"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(i,"width","26"),_(i,"height","26"),_(i,"viewBox","0 0 26 26")},m(e,c){p(e,t,c),m(t,n),p(e,r,c),p(e,i,c),m(i,o),m(o,a),m(a,s),m(i,l),m(l,u)},p(e,t){/*$_*/1024&t[0]&&c!==(c=/*$_*/e[10]("tournamentsThController.join")+"")&&k(n,c)},d(e){e&&g(t),e&&g(r),e&&g(i)}}}
766
- // (182:10) {#if joinButtonLoading == true}
767
- function Fi(t){let n,r;return{c(){n=w("svg"),r=w("circle"),_(r,"class","circle"),_(r,"part","circle"),_(r,"cx","20"),_(r,"cy","20"),_(r,"r","18"),_(n,"class","spinner"),_(n,"part","spinner")},m(e,t){p(e,n,t),m(n,r)},p:e,d(e){e&&g(n)}}}
768
- // (177:8) {#if showdetails == 'true'}
769
- function zi(e){let t,n,r=/*$_*/e[10]("tournamentsThController.enrolled")+"";return{c(){t=y("button"),n=C(r),_(t,"class","EnrolledButton"),_(t,"part","EnrolledButton"),t.disabled=!0},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/1024&t[0]&&r!==(r=/*$_*/e[10]("tournamentsThController.enrolled")+"")&&k(n,r)},d(e){e&&g(t)}}}
770
- // (199:0) {#if errorJoin || errorJoinConcurrently}
771
- function Ni(e){let t,n,r,i,o=/*$_*/e[10]("tournamentsThController.joinerror")+"";return{c(){t=y("span"),n=C(o),r=v(),i=C(/*errorJoinText*/e[8]),_(t,"class","ErrorText"),_(t,"part","ErrorText")},m(e,o){p(e,t,o),m(t,n),m(t,r),m(t,i)},p(e,t){/*$_*/1024&t[0]&&o!==(o=/*$_*/e[10]("tournamentsThController.joinerror")+"")&&k(n,o),/*errorJoinText*/256&t[0]&&k(i,/*errorJoinText*/e[8])},d(e){e&&g(t)}}}function Hi(t){let n,r,i;function o(e,t){/*isLoggedIn*/
772
- return e[5]?"Closed"!=status&&"Closing"!=status?Di:/*showdetails*/"true"==e[2]?Li:void 0:Mi}let a=o(t),s=a&&a(t),l=/*errorJoin*/(t[7]||/*errorJoinConcurrently*/t[9])&&Ni(t);return{c(){n=y("div"),s&&s.c(),r=v(),l&&l.c(),i=T(),this.c=e,_(n,"class","TournamentButtons"),_(n,"part","TournamentButtons")},m(e,t){p(e,n,t),s&&s.m(n,null),p(e,r,t),l&&l.m(e,t),p(e,i,t)},p(e,t){a===(a=o(e))&&s?s.p(e,t):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(n,null))),/*errorJoin*/e[7]||/*errorJoinConcurrently*/e[9]?l?l.p(e,t):(l=Ni(e),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i:e,o:e,d(e){e&&g(n),s&&s.d(),e&&g(r),l&&l.d(e),e&&g(i)}}}function Ui(e,t,n){let r;d(e,Yn,(e=>n(10,r=e)));let{session:i=""}=t,{userid:o=""}=t,{tourid:a=""}=t,{tournamenturl:s=""}=t,{endpoint:l=""}=t,{showdetails:u=""}=t,{showslider:c=""}=t,{userenrolled:h=""}=t,{showenrolled:f=""}=t,{maxwidth:m=""}=t,{showleaderboard:p=""}=t,{lang:g=""}=t,{loginevent:b=""}=t,{registerevent:y=""}=t,{loginurl:w=""}=t,{registerurl:C=""}=t,{currency:v=""}=t,{bonuscode:T=""}=t,{keepbrowsercontext:x="false"}=t,_="";Object.keys(xi).forEach((e=>{bi(e,xi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let k=!1,S="",P=window.navigator.userAgent,E=!1,$=!1,L="There was an error while trying to join the tournament",D=!1;const R=()=>{b&&window.postMessage({type:b,transition:"Login"},window.location.href),w&&(window.location=w)},A=()=>{y&&window.postMessage({type:y,transition:"Register"},window.location.href),C&&(window.location=C)},B=e=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:e,showLeaderboard:!0},window.location.href)},O=async(e,t)=>{var r;n(7,$=!1),n(9,D=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:e},window.location.href),n(6,E=!0);let o=new URL(`${l}/v1/bonus/claim`),s=new Headers,u={};o.searchParams.append("language",g),o.searchParams.append("platform",ni(P)),s.append("Content-Type","application/json"),s.append("X-SessionID",S),t&&(u={language:g,bonusCode:t,currency:v});let c={method:"PUT",headers:s,body:JSON.stringify(u)};const d=()=>{n(6,E=!1),n(0,h="true"),window.postMessage({type:"TournamentUserEnrolled",userenrolled:h},window.location.href)},f=e=>{n(6,E=!1),e&&n(8,L=e),n(7,$=!0)},m=await(async()=>{let e;try{e=await fetch(o,c),e=await e.json()}catch(e){f()}return e})();if(m)if(1==m.success)d();else if(m.errorMessage.match("VersionMismatchException")){let e;e=await fetch(`${l}/tournaments/${a}`,{headers:{"X-SessionID":i}}),e=await e.json(),(null===(r=null==e?void 0:e.item)||void 0===r?void 0:r.playerEnrolled)?d():(f(m.errorMessage),n(9,D=!0),n(7,$=!1))}else f(m.errorMessage)},F=e=>{e.data&&"UserSessionID"==e.data.type&&(n(5,k=!0),S=e.data.session)};M((()=>(n(4,_=!("true"!=p)),window.addEventListener("message",F),()=>{window.removeEventListener("message",F)})));return e.$$set=e=>{"session"in e&&n(15,i=e.session),"userid"in e&&n(16,o=e.userid),"tourid"in e&&n(1,a=e.tourid),"tournamenturl"in e&&n(17,s=e.tournamenturl),"endpoint"in e&&n(18,l=e.endpoint),"showdetails"in e&&n(2,u=e.showdetails),"showslider"in e&&n(19,c=e.showslider),"userenrolled"in e&&n(0,h=e.userenrolled),"showenrolled"in e&&n(20,f=e.showenrolled),"maxwidth"in e&&n(21,m=e.maxwidth),"showleaderboard"in e&&n(22,p=e.showleaderboard),"lang"in e&&n(23,g=e.lang),"loginevent"in e&&n(24,b=e.loginevent),"registerevent"in e&&n(25,y=e.registerevent),"loginurl"in e&&n(26,w=e.loginurl),"registerurl"in e&&n(27,C=e.registerurl),"currency"in e&&n(28,v=e.currency),"bonuscode"in e&&n(3,T=e.bonuscode),"keepbrowsercontext"in e&&n(29,x=e.keepbrowsercontext)},e.$$.update=()=>{/*session*/32768&e.$$.dirty[0]&&i&&(i.length>0&&"false"!=i?(S=i,n(5,k=!0)):n(5,k=!1)),/*lang*/8388608&e.$$.dirty[0]&&g&&yi(g)},[h,a,u,T,_,k,E,$,L,D,r,R,A,B,O,i,o,s,l,c,f,m,p,g,b,y,w,C,v,x,()=>R(),()=>A(),()=>B(a),()=>O(a,T),()=>B(a)]}customElements.define("score-criteria-cell",$i);class Ii extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ui,Hi,a,{session:15,userid:16,tourid:1,tournamenturl:17,endpoint:18,showdetails:2,showslider:19,userenrolled:0,showenrolled:20,maxwidth:21,showleaderboard:22,lang:23,loginevent:24,registerevent:25,loginurl:26,registerurl:27,currency:28,bonuscode:3,keepbrowsercontext:29},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["session","userid","tourid","tournamenturl","endpoint","showdetails","showslider","userenrolled","showenrolled","maxwidth","showleaderboard","lang","loginevent","registerevent","loginurl","registerurl","currency","bonuscode","keepbrowsercontext"]}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[16]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[1]}set tourid(e){this.$$set({tourid:e}),I()}get tournamenturl(){return this.$$.ctx[17]}set tournamenturl(e){this.$$set({tournamenturl:e}),I()}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),I()}get showdetails(){return this.$$.ctx[2]}set showdetails(e){this.$$set({showdetails:e}),I()}get showslider(){return this.$$.ctx[19]}set showslider(e){this.$$set({showslider:e}),I()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(e){this.$$set({userenrolled:e}),I()}get showenrolled(){return this.$$.ctx[20]}set showenrolled(e){this.$$set({showenrolled:e}),I()}get maxwidth(){return this.$$.ctx[21]}set maxwidth(e){this.$$set({maxwidth:e}),I()}get showleaderboard(){return this.$$.ctx[22]}set showleaderboard(e){this.$$set({showleaderboard:e}),I()}get lang(){return this.$$.ctx[23]}set lang(e){this.$$set({lang:e}),I()}get loginevent(){return this.$$.ctx[24]}set loginevent(e){this.$$set({loginevent:e}),I()}get registerevent(){return this.$$.ctx[25]}set registerevent(e){this.$$set({registerevent:e}),I()}get loginurl(){return this.$$.ctx[26]}set loginurl(e){this.$$set({loginurl:e}),I()}get registerurl(){return this.$$.ctx[27]}set registerurl(e){this.$$set({registerurl:e}),I()}get currency(){return this.$$.ctx[28]}set currency(e){this.$$set({currency:e}),I()}get bonuscode(){return this.$$.ctx[3]}set bonuscode(e){this.$$set({bonuscode:e}),I()}get keepbrowsercontext(){return this.$$.ctx[29]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}}
751
+ function Li(e){let t,n=/*bonuscode*/e[1]&&Mi(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*bonuscode*/e[1]?n?n.p(e,r):(n=Mi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
752
+ // (158:2) {#if !isLoggedIn}
753
+ function Di(e){let t,n,r,a,o,s,l,u=/*$_*/e[9]("tournamentsThController.login")+"",c=/*$_*/e[9]("tournamentsThController.register")+"";return{c(){t=y("button"),n=w(u),r=v(),a=y("button"),o=w(c),_(t,"class","LoginButton"),_(t,"part","LoginButton"),_(a,"class","RegisterButton"),_(a,"part","RegisterButton")},m(i,u){p(i,t,u),m(t,n),p(i,r,u),p(i,a,u),m(a,o),s||(l=[x(t,"click",/*click_handler*/e[23]),x(a,"click",/*click_handler_1*/e[24])],s=!0)},p(e,t){/*$_*/512&t&&u!==(u=/*$_*/e[9]("tournamentsThController.login")+"")&&k(n,u),/*$_*/512&t&&c!==(c=/*$_*/e[9]("tournamentsThController.register")+"")&&k(o,c)},d(e){e&&g(t),e&&g(r),e&&g(a),s=!1,i(l)}}}
754
+ // (163:6) {#if bonuscode}
755
+ function Mi(e){let t,n,r,i,a;function o(e,t){/*joinButtonLoading*/
756
+ return 1==e[5]?Ai:Ri}let s=o(e),l=s(e);return{c(){t=y("button"),l.c(),_(t,"class",n="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":"")),_(t,"part",r="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":"")),t.disabled=/*errorJoin*/e[6]},m(n,r){p(n,t,r),l.m(t,null),i||(a=x(t,"click",/*click_handler_2*/e[25]),i=!0)},p(e,i){s===(s=o(e))&&l?l.p(e,i):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null))),/*fullsize*/8&i&&n!==(n="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":""))&&_(t,"class",n),/*fullsize*/8&i&&r!==(r="JoinButton "+(/*fullsize*/e[3]?"JoinButtonFullSize":""))&&_(t,"part",r),/*errorJoin*/64&i&&(t.disabled=/*errorJoin*/e[6])},d(e){e&&g(t),l.d(),i=!1,a()}}}
757
+ // (169:10) {:else}
758
+ function Ri(e){let t,n,r,i,a,o,s,l,u,c=/*$_*/e[9]("tournamentsThController.join")+"";return{c(){t=y("span"),n=w(c),r=v(),i=C("svg"),a=C("defs"),o=C("style"),s=w(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=C("g"),u=C("path"),_(t,"part","JoinButtonSpan"),_(t,"class","JoinButtonSpan"),_(u,"class","a"),_(u,"part","a JoinButtonSvgA"),_(u,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),_(u,"transform","translate(26 26) rotate(180)"),_(l,"transform","translate(26 26) rotate(180)"),_(i,"part","JoinButtonSvg"),_(i,"class","JoinButtonSvg"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(i,"width","26"),_(i,"height","26"),_(i,"viewBox","0 0 26 26")},m(e,c){p(e,t,c),m(t,n),p(e,r,c),p(e,i,c),m(i,a),m(a,o),m(o,s),m(i,l),m(l,u)},p(e,t){/*$_*/512&t&&c!==(c=/*$_*/e[9]("tournamentsThController.join")+"")&&k(n,c)},d(e){e&&g(t),e&&g(r),e&&g(i)}}}
759
+ // (165:10) {#if joinButtonLoading == true}
760
+ function Ai(t){let n,r;return{c(){n=C("svg"),r=C("circle"),_(r,"class","circle"),_(r,"part","circle"),_(r,"cx","20"),_(r,"cy","20"),_(r,"r","18"),_(n,"class","spinner"),_(n,"part","spinner")},m(e,t){p(e,n,t),m(n,r)},p:e,d(e){e&&g(n)}}}
761
+ // (178:0) {#if errorJoin || errorJoinConcurrently}
762
+ function Bi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsThController.joinerror")+"";return{c(){t=y("span"),n=w(a),r=v(),i=w(/*errorJoinText*/e[7]),_(t,"class","ErrorText"),_(t,"part","ErrorText")},m(e,a){p(e,t,a),m(t,n),m(t,r),m(t,i)},p(e,t){/*$_*/512&t&&a!==(a=/*$_*/e[9]("tournamentsThController.joinerror")+"")&&k(n,a),/*errorJoinText*/128&t&&k(i,/*errorJoinText*/e[7])},d(e){e&&g(t)}}}function zi(t){let n,r,i;function a(e,t){/*isLoggedIn*/
763
+ return e[4]?/*status*/"Closed"!=e[2]&&/*status*/"Closing"!=e[2]?Li:void 0:Di}let o=a(t),s=o&&o(t),l=/*errorJoin*/(t[6]||/*errorJoinConcurrently*/t[8])&&Bi(t);return{c(){n=y("div"),s&&s.c(),r=v(),l&&l.c(),i=T(),this.c=e,_(n,"class","TournamentButtons"),_(n,"part","TournamentButtons")},m(e,t){p(e,n,t),s&&s.m(n,null),p(e,r,t),l&&l.m(e,t),p(e,i,t)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(n,null))),/*errorJoin*/e[6]||/*errorJoinConcurrently*/e[8]?l?l.p(e,t):(l=Bi(e),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i:e,o:e,d(e){e&&g(n),s&&s.d(),e&&g(r),l&&l.d(e),e&&g(i)}}}function Oi(e,t,n){let r;d(e,Yn,(e=>n(9,r=e)));let{session:i=""}=t,{tourid:a=""}=t,{endpoint:o=""}=t,{userenrolled:s=""}=t,{showleaderboard:l=""}=t,{lang:u=""}=t,{loginevent:c=""}=t,{registerevent:h=""}=t,{loginurl:f=""}=t,{registerurl:m=""}=t,{currency:p=""}=t,{bonuscode:g=""}=t,{status:b=""}=t,y="";Object.keys(xi).forEach((e=>{bi(e,xi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let C=!1,w="",v=window.navigator.userAgent,T=!1,x=!1,_="There was an error while trying to join the tournament",k=!1;const P=()=>{c&&window.postMessage({type:c,transition:"Login"},window.location.href),f&&(window.location=f)},S=()=>{h&&window.postMessage({type:h,transition:"Register"},window.location.href),m&&(window.location=m)},E=async(e,t)=>{var r;n(6,x=!1),n(8,k=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:e},window.location.href),n(5,T=!0);let l=new URL(`${o}/v1/bonus/claim`),c=new Headers,d={};l.searchParams.append("language",u),l.searchParams.append("platform",ni(v)),c.append("Content-Type","application/json"),c.append("X-SessionID",w),t&&(d={language:u,bonusCode:t,currency:p});let h={method:"PUT",headers:c,body:JSON.stringify(d)};const f=()=>{n(5,T=!1),n(13,s="true"),window.postMessage({type:"TournamentUserEnrolled",userenrolled:s},window.location.href)},m=e=>{n(5,T=!1),e&&n(7,_=e),n(6,x=!0)},g=await(async()=>{let e;try{e=await fetch(l,h),e=await e.json()}catch(e){m()}return e})();if(g)if(1==g.success)f();else if(g.errorMessage.match("VersionMismatchException")){let e;e=await fetch(`${o}/tournaments/${a}`,{headers:{"X-SessionID":i}}),e=await e.json(),(null===(r=null==e?void 0:e.item)||void 0===r?void 0:r.playerEnrolled)?f():(m(g.errorMessage),n(8,k=!0),n(6,x=!1))}else m(g.errorMessage)},$=e=>{e.data&&"UserSessionID"==e.data.type&&(n(4,C=!0),w=e.data.session)};M((()=>(n(3,y=!("true"!=l)),window.addEventListener("message",$),()=>{window.removeEventListener("message",$)})));return e.$$set=e=>{"session"in e&&n(14,i=e.session),"tourid"in e&&n(0,a=e.tourid),"endpoint"in e&&n(15,o=e.endpoint),"userenrolled"in e&&n(13,s=e.userenrolled),"showleaderboard"in e&&n(16,l=e.showleaderboard),"lang"in e&&n(17,u=e.lang),"loginevent"in e&&n(18,c=e.loginevent),"registerevent"in e&&n(19,h=e.registerevent),"loginurl"in e&&n(20,f=e.loginurl),"registerurl"in e&&n(21,m=e.registerurl),"currency"in e&&n(22,p=e.currency),"bonuscode"in e&&n(1,g=e.bonuscode),"status"in e&&n(2,b=e.status)},e.$$.update=()=>{/*session*/16384&e.$$.dirty&&i&&(i.length>0&&"false"!=i?(w=i,n(4,C=!0)):n(4,C=!1)),/*lang*/131072&e.$$.dirty&&u&&yi(u)},[a,g,b,y,C,T,x,_,k,r,P,S,E,s,i,o,l,u,c,h,f,m,p,()=>P(),()=>S(),()=>E(a,g)]}customElements.define("score-criteria-cell",$i);class Fi extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Oi,zi,o,{session:14,tourid:0,endpoint:15,userenrolled:13,showleaderboard:16,lang:17,loginevent:18,registerevent:19,loginurl:20,registerurl:21,currency:22,bonuscode:1,status:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["session","tourid","endpoint","userenrolled","showleaderboard","lang","loginevent","registerevent","loginurl","registerurl","currency","bonuscode","status"]}get session(){return this.$$.ctx[14]}set session(e){this.$$set({session:e}),I()}get tourid(){return this.$$.ctx[0]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),I()}get userenrolled(){return this.$$.ctx[13]}set userenrolled(e){this.$$set({userenrolled:e}),I()}get showleaderboard(){return this.$$.ctx[16]}set showleaderboard(e){this.$$set({showleaderboard:e}),I()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),I()}get loginevent(){return this.$$.ctx[18]}set loginevent(e){this.$$set({loginevent:e}),I()}get registerevent(){return this.$$.ctx[19]}set registerevent(e){this.$$set({registerevent:e}),I()}get loginurl(){return this.$$.ctx[20]}set loginurl(e){this.$$set({loginurl:e}),I()}get registerurl(){return this.$$.ctx[21]}set registerurl(e){this.$$set({registerurl:e}),I()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),I()}get bonuscode(){return this.$$.ctx[1]}set bonuscode(e){this.$$set({bonuscode:e}),I()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),I()}}
773
764
  /* src/Cells/StatusTag.svelte generated by Svelte v3.59.2 */
774
- function ji(e){let t,n,r,i,o,a;return{c(){t=y("div"),n=C(/*shownStatus*/e[1]),_(t,"class",r="Status "+/*statusClass*/e[2]+" TagContent"),_(t,"part",i="Status "+/*statusClass*/e[2]+" TagContent")},m(r,i){p(r,t,i),m(t,n),o||(a=f(/*matchStatus*/e[3].call(null,t)),o=!0)},p(e,o){/*shownStatus*/2&o&&k(n,/*shownStatus*/e[1]),/*statusClass*/4&o&&r!==(r="Status "+/*statusClass*/e[2]+" TagContent")&&_(t,"class",r),/*statusClass*/4&o&&i!==(i="Status "+/*statusClass*/e[2]+" TagContent")&&_(t,"part",i)},d(e){e&&g(t),o=!1,a()}}}function Yi(t){let n,r=/*status*/t[0]&&ji(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*status*/e[0]?r?r.p(e,t):(r=ji(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function Gi(e,t,n){let r;d(e,Yn,(e=>n(6,r=e)));let{lang:i="en"}=t,{status:o=""}=t;Object.keys(Si).forEach((e=>{bi(e,Si[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let a="",s="";const l=()=>{"Unstarted"==o&&(n(1,a=r("tournamentsThumbnail.scheduled")),n(2,s="StatusUnstarted")),"Running"==o&&(n(1,a=r("tournamentsThumbnail.ongoing")),n(2,s="StatusRunning")),"Closed"!=o&&"Closing"!=o||n(1,a=r("tournamentsThumbnail.finished")),"Closed"==o&&n(2,s="StatusClosed"),"Closing"==o&&n(2,s="StatusClosing")};let u=!1;return M((()=>{n(5,u=!0)})),e.$$set=e=>{"lang"in e&&n(4,i=e.lang),"status"in e&&n(0,o=e.status)},e.$$.update=()=>{/*isMounted, lang, status*/49&e.$$.dirty&&u&&i&&o&&(yi(i),l())},[o,a,s,l,i,u]}customElements.define("tournament-join-button-cell",Ii);class Vi extends V{constructor(e){super();const t=document.createElement("style");t.textContent=".Status{color:greenyellow}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Gi,Yi,a,{lang:4,status:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","status"]}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),I()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),I()}}
765
+ function Ni(e){let t,n,r,i,a,o;return{c(){t=y("div"),n=w(/*shownStatus*/e[1]),_(t,"class",r="Status "+/*statusClass*/e[2]+" TagContent"),_(t,"part",i="Status "+/*statusClass*/e[2]+" TagContent")},m(r,i){p(r,t,i),m(t,n),a||(o=f(/*matchStatus*/e[3].call(null,t)),a=!0)},p(e,a){/*shownStatus*/2&a&&k(n,/*shownStatus*/e[1]),/*statusClass*/4&a&&r!==(r="Status "+/*statusClass*/e[2]+" TagContent")&&_(t,"class",r),/*statusClass*/4&a&&i!==(i="Status "+/*statusClass*/e[2]+" TagContent")&&_(t,"part",i)},d(e){e&&g(t),a=!1,o()}}}function Hi(t){let n,r=/*status*/t[0]&&Ni(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*status*/e[0]?r?r.p(e,t):(r=Ni(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function Ui(e,t,n){let r;d(e,Yn,(e=>n(6,r=e)));let{lang:i="en"}=t,{status:a=""}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});let o="",s="";const l=()=>{"Unstarted"==a&&(n(1,o=r("tournamentsThumbnail.scheduled")),n(2,s="StatusUnstarted")),"Running"==a&&(n(1,o=r("tournamentsThumbnail.ongoing")),n(2,s="StatusRunning")),"Closed"!=a&&"Closing"!=a||n(1,o=r("tournamentsThumbnail.finished")),"Closed"==a&&n(2,s="StatusClosed"),"Closing"==a&&n(2,s="StatusClosing")};let u=!1;return M((()=>{n(5,u=!0)})),e.$$set=e=>{"lang"in e&&n(4,i=e.lang),"status"in e&&n(0,a=e.status)},e.$$.update=()=>{/*isMounted, lang, status*/49&e.$$.dirty&&u&&i&&a&&(yi(i),l())},[a,o,s,l,i,u]}customElements.define("tournament-join-button-cell",Fi);class Ii extends V{constructor(e){super();const t=document.createElement("style");t.textContent=".Status{color:greenyellow}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ui,Hi,o,{lang:4,status:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","status"]}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),I()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),I()}}
775
766
  /* src/Cells/UserEnrollTag.svelte generated by Svelte v3.59.2 */
776
- function Wi(e){let t,n=/*userenrolled*/e[0]&&qi(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*userenrolled*/e[0]?n?n.p(e,r):(n=qi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
767
+ function ji(e){let t,n=/*userenrolled*/e[0]&&Yi(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*userenrolled*/e[0]?n?n.p(e,r):(n=Yi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
777
768
  // (32:4) {#if userenrolled}
778
- function qi(e){let t,n,r=/*$_*/e[2]("tournamentsThumbnail.enrolled")+"";return{c(){t=y("div"),n=C(r),_(t,"class","Enrolled TagContent"),_(t,"part","Enrolled TagContent")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/4&t&&r!==(r=/*$_*/e[2]("tournamentsThumbnail.enrolled")+"")&&k(n,r)},d(e){e&&g(t)}}}function Ji(t){let n,r=/*showenrolled*/"true"==t[1]&&Wi(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*showenrolled*/"true"==e[1]?r?r.p(e,t):(r=Wi(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function Zi(e,t,n){let r;d(e,Yn,(e=>n(2,r=e)));let{lang:i="en"}=t,{showenrolled:o=""}=t,{userenrolled:a}=t;Object.keys(Si).forEach((e=>{bi(e,Si[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const s=e=>{e.data&&"TournamentUserEnrolled"==e.data.type&&n(0,a=e.data.userenrolled)};return M((()=>(window.addEventListener("message",s),()=>{window.removeEventListener("message",s)}))),e.$$set=e=>{"lang"in e&&n(3,i=e.lang),"showenrolled"in e&&n(1,o=e.showenrolled),"userenrolled"in e&&n(0,a=e.userenrolled)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&i&&yi(i)},[a,o,r,i]}customElements.define("status-cell",Vi);class Ki extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Zi,Ji,a,{lang:3,showenrolled:1,userenrolled:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","showenrolled","userenrolled"]}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),I()}get showenrolled(){return this.$$.ctx[1]}set showenrolled(e){this.$$set({showenrolled:e}),I()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(e){this.$$set({userenrolled:e}),I()}}
769
+ function Yi(e){let t,n,r=/*$_*/e[2]("tournamentsThumbnail.enrolled")+"";return{c(){t=y("div"),n=w(r),_(t,"class","Enrolled TagContent"),_(t,"part","Enrolled TagContent")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/4&t&&r!==(r=/*$_*/e[2]("tournamentsThumbnail.enrolled")+"")&&k(n,r)},d(e){e&&g(t)}}}function Gi(t){let n,r=/*showenrolled*/"true"==t[1]&&ji(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*showenrolled*/"true"==e[1]?r?r.p(e,t):(r=ji(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function Vi(e,t,n){let r;d(e,Yn,(e=>n(2,r=e)));let{lang:i="en"}=t,{showenrolled:a=""}=t,{userenrolled:o}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const s=e=>{e.data&&"TournamentUserEnrolled"==e.data.type&&n(0,o=e.data.userenrolled)};return M((()=>(window.addEventListener("message",s),()=>{window.removeEventListener("message",s)}))),e.$$set=e=>{"lang"in e&&n(3,i=e.lang),"showenrolled"in e&&n(1,a=e.showenrolled),"userenrolled"in e&&n(0,o=e.userenrolled)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&i&&yi(i)},[o,a,r,i]}customElements.define("status-cell",Ii);class Wi extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Vi,Gi,o,{lang:3,showenrolled:1,userenrolled:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","showenrolled","userenrolled"]}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),I()}get showenrolled(){return this.$$.ctx[1]}set showenrolled(e){this.$$set({showenrolled:e}),I()}get userenrolled(){return this.$$.ctx[0]}set userenrolled(e){this.$$set({userenrolled:e}),I()}}
779
770
  /* src/Cells/DurationCell.svelte generated by Svelte v3.59.2 */
780
- function Xi(e){let t,n,r,i,o,a,s,l,u,c,d,h;function b(e,t){/*status*/
781
- return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?to:/*tournamentUntilStartDays*/e[4]>0?eo:Qi}let w=b(e),T=w(e);function x(e,t){/*status*/
782
- return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?io:/*tournamentUntilStartDays*/e[4]>0?ro:/*tournamentLeftDays*/e[3]>0?no:void 0}let S=x(e),P=S&&S(e);return{c(){t=y("div"),n=y("div"),r=C(/*startDateAsString*/e[6]),i=v(),o=y("div"),a=C(/*endDateAsString*/e[7]),s=v(),l=y("div"),u=y("div"),T.c(),c=v(),P&&P.c(),_(n,"class","StartDate"),_(n,"part","StartDate"),_(o,"class","EndDate"),_(o,"part","EndDate"),_(t,"class","TournamentDates"),_(t,"part","TournamentDates"),_(u,"class","ProgressBar"),_(u,"part","ProgressBar"),_(l,"class","ProgressBarWrapper"),_(l,"part","ProgressBarWrapper")},m(g,b){p(g,t,b),m(t,n),m(n,r),m(t,i),m(t,o),m(o,a),p(g,s,b),p(g,l,b),m(l,u),T.m(u,null),m(u,c),P&&P.m(u,null),d||(h=f(/*getDuration*/e[10].call(null,l)),d=!0)},p(e,t){/*startDateAsString*/64&t&&k(r,/*startDateAsString*/e[6]),/*endDateAsString*/128&t&&k(a,/*endDateAsString*/e[7]),w===(w=b(e))&&T?T.p(e,t):(T.d(1),T=w(e),T&&(T.c(),T.m(u,c))),S===(S=x(e))&&P?P.p(e,t):(P&&P.d(1),P=S&&S(e),P&&(P.c(),P.m(u,null)))},d(e){e&&g(t),e&&g(s),e&&g(l),T.d(),P&&P.d(),d=!1,h()}}}
771
+ function qi(e){let t,n,r,i,a,o,s,l,u,c,d,h;function b(e,t){/*status*/
772
+ return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?Ki:/*tournamentUntilStartDays*/e[4]>0?Zi:Ji}let C=b(e),T=C(e);function x(e,t){/*status*/
773
+ return"Finished"==e[2]||/*status*/"Closing"==e[2]||/*status*/"Closed"==e[2]?ea:/*tournamentUntilStartDays*/e[4]>0?Qi:/*tournamentLeftDays*/e[3]>0?Xi:void 0}let P=x(e),S=P&&P(e);return{c(){t=y("div"),n=y("div"),r=w(/*startDateAsString*/e[6]),i=v(),a=y("div"),o=w(/*endDateAsString*/e[7]),s=v(),l=y("div"),u=y("div"),T.c(),c=v(),S&&S.c(),_(n,"class","StartDate"),_(n,"part","StartDate"),_(a,"class","EndDate"),_(a,"part","EndDate"),_(t,"class","TournamentDates"),_(t,"part","TournamentDates"),_(u,"class","ProgressBar"),_(u,"part","ProgressBar"),_(l,"class","ProgressBarWrapper"),_(l,"part","ProgressBarWrapper")},m(g,b){p(g,t,b),m(t,n),m(n,r),m(t,i),m(t,a),m(a,o),p(g,s,b),p(g,l,b),m(l,u),T.m(u,null),m(u,c),S&&S.m(u,null),d||(h=f(/*getDuration*/e[10].call(null,l)),d=!0)},p(e,t){/*startDateAsString*/64&t&&k(r,/*startDateAsString*/e[6]),/*endDateAsString*/128&t&&k(o,/*endDateAsString*/e[7]),C===(C=b(e))&&T?T.p(e,t):(T.d(1),T=C(e),T&&(T.c(),T.m(u,c))),P===(P=x(e))&&S?S.p(e,t):(S&&S.d(1),S=P&&P(e),S&&(S.c(),S.m(u,null)))},d(e){e&&g(t),e&&g(s),e&&g(l),T.d(),S&&S.d(),d=!1,h()}}}
783
774
  // (97:10) {:else}
784
- function Qi(e){let t;return{c(){t=y("div"),_(t,"class","ProgressBarFill"),_(t,"part","ProgressBarFill"),S(t,"width",/*getProgress*/e[8]()+"%")},m(e,n){p(e,t,n)},p(e,n){/*getProgress*/256&n&&S(t,"width",/*getProgress*/e[8]()+"%")},d(e){e&&g(t)}}}
775
+ function Ji(e){let t;return{c(){t=y("div"),_(t,"class","ProgressBarFill"),_(t,"part","ProgressBarFill"),P(t,"width",/*getProgress*/e[8]()+"%")},m(e,n){p(e,t,n)},p(e,n){/*getProgress*/256&n&&P(t,"width",/*getProgress*/e[8]()+"%")},d(e){e&&g(t)}}}
785
776
  // (95:10) {#if tournamentUntilStartDays > 0}
786
- function eo(t){let n;return{c(){n=y("div"),_(n,"class","ProgressBarFillStarting"),_(n,"part","ProgressBarFillStarting")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
777
+ function Zi(t){let n;return{c(){n=y("div"),_(n,"class","ProgressBarFillStarting"),_(n,"part","ProgressBarFillStarting")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
787
778
  // (92:8) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}
788
- function to(t){let n;return{c(){n=y("div"),_(n,"class","ProgressBarFillEnd"),_(n,"part","ProgressBarFillEnd")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
779
+ function Ki(t){let n;return{c(){n=y("div"),_(n,"class","ProgressBarFillEnd"),_(n,"part","ProgressBarFillEnd")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
789
780
  // (109:12) {#if tournamentLeftDays > 0}
790
- function no(e){let t,n,r,i,o=/*$_*/e[9]("tournamentsDuration.left")+"";return{c(){t=y("div"),n=C(/*showRemain*/e[5]),r=v(),i=C(o),_(t,"class","Remaining"),_(t,"part","Remaining")},m(e,o){p(e,t,o),m(t,n),m(t,r),m(t,i)},p(e,t){/*showRemain*/32&t&&k(n,/*showRemain*/e[5]),/*$_*/512&t&&o!==(o=/*$_*/e[9]("tournamentsDuration.left")+"")&&k(i,o)},d(e){e&&g(t)}}}
781
+ function Xi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsDuration.left")+"";return{c(){t=y("div"),n=w(/*showRemain*/e[5]),r=v(),i=w(a),_(t,"class","Remaining"),_(t,"part","Remaining")},m(e,a){p(e,t,a),m(t,n),m(t,r),m(t,i)},p(e,t){/*showRemain*/32&t&&k(n,/*showRemain*/e[5]),/*$_*/512&t&&a!==(a=/*$_*/e[9]("tournamentsDuration.left")+"")&&k(i,a)},d(e){e&&g(t)}}}
791
782
  // (104:10) {#if tournamentUntilStartDays > 0}
792
- function ro(e){let t,n,r,i,o=/*$_*/e[9]("tournamentsDuration.starting")+"",a=/*getTextByDiff*/e[11](/*tournamentUntilStartDays*/e[4])+"";return{c(){t=y("div"),n=C(o),r=v(),i=C(a),_(t,"class","Remaining"),_(t,"part","Remaining")},m(e,o){p(e,t,o),m(t,n),m(t,r),m(t,i)},p(e,t){/*$_*/512&t&&o!==(o=/*$_*/e[9]("tournamentsDuration.starting")+"")&&k(n,o),/*tournamentUntilStartDays*/16&t&&a!==(a=/*getTextByDiff*/e[11](/*tournamentUntilStartDays*/e[4])+"")&&k(i,a)},d(e){e&&g(t)}}}
783
+ function Qi(e){let t,n,r,i,a=/*$_*/e[9]("tournamentsDuration.starting")+"",o=/*getTextByDiff*/e[11](/*tournamentUntilStartDays*/e[4])+"";return{c(){t=y("div"),n=w(a),r=v(),i=w(o),_(t,"class","Remaining"),_(t,"part","Remaining")},m(e,a){p(e,t,a),m(t,n),m(t,r),m(t,i)},p(e,t){/*$_*/512&t&&a!==(a=/*$_*/e[9]("tournamentsDuration.starting")+"")&&k(n,a),/*tournamentUntilStartDays*/16&t&&o!==(o=/*getTextByDiff*/e[11](/*tournamentUntilStartDays*/e[4])+"")&&k(i,o)},d(e){e&&g(t)}}}
793
784
  // (101:8) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}
794
- function io(e){let t,n,r=/*$_*/e[9]("tournamentsDuration.finished")+"";return{c(){t=y("div"),n=C(r),_(t,"class","Finished"),_(t,"part","Finished")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/512&t&&r!==(r=/*$_*/e[9]("tournamentsDuration.finished")+"")&&k(n,r)},d(e){e&&g(t)}}}function oo(t){let n,r=/*startdate*/t[0]&&/*enddate*/t[1]&&Xi(t);return{c(){n=y("div"),r&&r.c(),this.c=e,_(n,"class","TournamentDuration"),_(n,"part","TournamentDuration")},m(e,t){p(e,n,t),r&&r.m(n,null)},p(e,[t]){/*startdate*/e[0]&&/*enddate*/e[1]?r?r.p(e,t):(r=Xi(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null)},i:e,o:e,d(e){e&&g(n),r&&r.d()}}}function ao(e,t,n){let r,i;d(e,Yn,(e=>n(9,i=e)));let{startdate:o=""}=t,{enddate:a=""}=t,{status:s=""}=t,{lang:l="en"}=t,u="",c="",h="",f="",m="";Object.keys(vi).forEach((e=>{bi(e,vi[e])}));const p=e=>new Date(e).getTime(),g=(e,t)=>(p(t)-p(e))/6e4,b=()=>{const e=new Date;n(3,u=g(e,a)),n(4,c=g(e,o)),n(5,h=C(u))},y=e=>{if(!e)return;let t=new Date(e),n=new Intl.DateTimeFormat(l,{month:"long"}).format(t);return`${t.getDate()} ${n}, ${t.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${t.getUTCFullYear()}`},w=()=>{n(6,f=y(o)),n(7,m=y(a))},C=e=>{if(e<1440){const t=e%60;return[e/60,t,60*(t-Math.floor(t))].map((e=>(e=>{const t=Math.floor(e);return t<10?`0${t}`:`${t}`})(e))).join(":")}return Math.ceil(e/1440)+" "+i("tournamentsDuration.days")};return M((()=>{const e=setInterval((()=>{o&&a&&b()}),1e3);return()=>clearInterval(e)})),e.$$set=e=>{"startdate"in e&&n(0,o=e.startdate),"enddate"in e&&n(1,a=e.enddate),"status"in e&&n(2,s=e.status),"lang"in e&&n(12,l=e.lang)},e.$$.update=()=>{/*tournamentLeftDays, startdate, enddate*/11&e.$$.dirty&&n(8,r=()=>{if(u<=0)return 100;const e=g(o,a),t=100/e;return Math.floor((e-u)*t)}),/*startdate, enddate, tournamentLeftDays*/11&e.$$.dirty&&o&&a&&w()&&b()&&C(u),/*lang*/4096&e.$$.dirty&&l&&b()&&yi(l),/*lang, tournamentLeftDays*/4104&e.$$.dirty&&l&&C(u),/*lang*/4096&e.$$.dirty&&l&&w()},[o,a,s,u,c,h,f,m,r,i,b,C,l]}customElements.define("user-enroll-tag",Ki);class so extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ao,oo,a,{startdate:0,enddate:1,status:2,lang:12},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["startdate","enddate","status","lang"]}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),I()}get enddate(){return this.$$.ctx[1]}set enddate(e){this.$$set({enddate:e}),I()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),I()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),I()}}
785
+ function ea(e){let t,n,r=/*$_*/e[9]("tournamentsDuration.finished")+"";return{c(){t=y("div"),n=w(r),_(t,"class","Finished"),_(t,"part","Finished")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/512&t&&r!==(r=/*$_*/e[9]("tournamentsDuration.finished")+"")&&k(n,r)},d(e){e&&g(t)}}}function ta(t){let n,r=/*startdate*/t[0]&&/*enddate*/t[1]&&qi(t);return{c(){n=y("div"),r&&r.c(),this.c=e,_(n,"class","TournamentDuration"),_(n,"part","TournamentDuration")},m(e,t){p(e,n,t),r&&r.m(n,null)},p(e,[t]){/*startdate*/e[0]&&/*enddate*/e[1]?r?r.p(e,t):(r=qi(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null)},i:e,o:e,d(e){e&&g(n),r&&r.d()}}}function na(e,t,n){let r,i;d(e,Yn,(e=>n(9,i=e)));let{startdate:a=""}=t,{enddate:o=""}=t,{status:s=""}=t,{lang:l="en"}=t,u="",c="",h="",f="",m="";Object.keys(vi).forEach((e=>{bi(e,vi[e])}));const p=e=>new Date(e).getTime(),g=(e,t)=>(p(t)-p(e))/6e4,b=()=>{const e=new Date;n(3,u=g(e,o)),n(4,c=g(e,a)),n(5,h=w(u))},y=e=>{if(!e)return;let t=new Date(e),n=new Intl.DateTimeFormat(l,{month:"long"}).format(t);return`${t.getDate()} ${n}, ${t.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${t.getUTCFullYear()}`},C=()=>{n(6,f=y(a)),n(7,m=y(o))},w=e=>{if(e<1440){const t=e%60;return[e/60,t,60*(t-Math.floor(t))].map((e=>(e=>{const t=Math.floor(e);return t<10?`0${t}`:`${t}`})(e))).join(":")}return Math.ceil(e/1440)+" "+i("tournamentsDuration.days")};return M((()=>{const e=setInterval((()=>{a&&o&&b()}),1e3);return()=>clearInterval(e)})),e.$$set=e=>{"startdate"in e&&n(0,a=e.startdate),"enddate"in e&&n(1,o=e.enddate),"status"in e&&n(2,s=e.status),"lang"in e&&n(12,l=e.lang)},e.$$.update=()=>{/*tournamentLeftDays, startdate, enddate*/11&e.$$.dirty&&n(8,r=()=>{if(u<=0)return 100;const e=g(a,o),t=100/e;return Math.floor((e-u)*t)}),/*startdate, enddate, tournamentLeftDays*/11&e.$$.dirty&&a&&o&&C()&&b()&&w(u),/*lang*/4096&e.$$.dirty&&l&&b()&&yi(l),/*lang, tournamentLeftDays*/4104&e.$$.dirty&&l&&w(u),/*lang*/4096&e.$$.dirty&&l&&C()},[a,o,s,u,c,h,f,m,r,i,b,w,l]}customElements.define("user-enroll-tag",Wi);class ra extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},na,ta,o,{startdate:0,enddate:1,status:2,lang:12},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["startdate","enddate","status","lang"]}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),I()}get enddate(){return this.$$.ctx[1]}set enddate(e){this.$$set({enddate:e}),I()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),I()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),I()}}
795
786
  /* src/Cells/SeeGamesLine.svelte generated by Svelte v3.59.2 */
796
- function lo(t){let n,r,i,o,a,s,l,u,c,d=/*$_*/t[3]("tournamentsThumbnail.seegames")+"",h=/*$_*/t[3]("tournamentsThumbnail.here")+"";return{c(){n=y("div"),r=y("p"),i=C(d),o=v(),a=y("a"),s=C(h),this.c=e,_(a,"part","GamesAnchor"),_(a,"class","GamesAnchor"),_(a,"href",/*gameurl*/t[0]),_(a,"target",l=/*keepbrowsercontext*/"true"===t[2]?"_self":"_blank"),_(r,"part","GamesP"),_(n,"class","Games"),_(n,"part","Games")},m(e,l){p(e,n,l),m(n,r),m(r,i),m(r,o),m(r,a),m(a,s),u||(c=x(a,"click",/*click_handler*/t[6]),u=!0)},p(e,[t]){/*$_*/8&t&&d!==(d=/*$_*/e[3]("tournamentsThumbnail.seegames")+"")&&k(i,d),/*$_*/8&t&&h!==(h=/*$_*/e[3]("tournamentsThumbnail.here")+"")&&k(s,h),/*gameurl*/1&t&&_(a,"href",/*gameurl*/e[0]),/*keepbrowsercontext*/4&t&&l!==(l=/*keepbrowsercontext*/"true"===e[2]?"_self":"_blank")&&_(a,"target",l)},i:e,o:e,d(e){e&&g(n),u=!1,c()}}}function uo(e,t,n){let r;d(e,Yn,(e=>n(3,r=e)));let{gameurl:i=""}=t,{lang:o="en"}=t,{tourid:a=""}=t,{keepbrowsercontext:s="false"}=t;Object.keys(Si).forEach((e=>{bi(e,Si[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const l=(e,t)=>{window.postMessage({type:"tournamentGamesClicked",tourId:t},window.location.href)};return e.$$set=e=>{"gameurl"in e&&n(0,i=e.gameurl),"lang"in e&&n(5,o=e.lang),"tourid"in e&&n(1,a=e.tourid),"keepbrowsercontext"in e&&n(2,s=e.keepbrowsercontext)},[i,a,s,r,l,o,()=>l()]}customElements.define("duration-cell",so);class co extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},uo,lo,a,{gameurl:0,lang:5,tourid:1,keepbrowsercontext:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["gameurl","lang","tourid","keepbrowsercontext"]}get gameurl(){return this.$$.ctx[0]}set gameurl(e){this.$$set({gameurl:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get tourid(){return this.$$.ctx[1]}set tourid(e){this.$$set({tourid:e}),I()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}}customElements.define("see-games-line",co);var ho="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59823)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.497 7.374L8.673 7.066V11H9.646V6.016L7.497 6.471V7.374Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59823'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",fo="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.14 11H11.081V10.083H9.03L10.304 8.879C10.5093 8.69233 10.675 8.48467 10.801 8.256C10.927 8.02733 10.99 7.78233 10.99 7.521C10.99 7.34367 10.9527 7.16633 10.878 6.989C10.808 6.81167 10.6983 6.65067 10.549 6.506C10.4043 6.35667 10.22 6.23767 9.996 6.149C9.77667 6.05567 9.52 6.009 9.226 6.009C8.82933 6.009 8.49333 6.093 8.218 6.261C7.94733 6.42433 7.742 6.646 7.602 6.926C7.462 7.206 7.392 7.521 7.392 7.871H8.372C8.372 7.675 8.40467 7.50233 8.47 7.353C8.54 7.20367 8.63567 7.08933 8.757 7.01C8.883 6.926 9.03233 6.884 9.205 6.884C9.32633 6.884 9.43367 6.905 9.527 6.947C9.62033 6.98433 9.69967 7.03567 9.765 7.101C9.83033 7.16633 9.87933 7.241 9.912 7.325C9.94467 7.409 9.961 7.49533 9.961 7.584C9.961 7.71 9.93767 7.83133 9.891 7.948C9.84433 8.06467 9.77667 8.18133 9.688 8.298C9.59933 8.41467 9.492 8.54067 9.366 8.676L7.14 11Z' fill='white'/%3e%3c/svg%3e",mo="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59855)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M8.876 8.613C9.24467 8.613 9.57367 8.564 9.863 8.466C10.1523 8.368 10.381 8.22567 10.549 8.039C10.717 7.84767 10.801 7.619 10.801 7.353C10.801 7.10567 10.738 6.88167 10.612 6.681C10.486 6.48033 10.3017 6.31933 10.059 6.198C9.821 6.07667 9.53167 6.016 9.191 6.016C8.869 6.016 8.58667 6.079 8.344 6.205C8.10133 6.331 7.91 6.50367 7.77 6.723C7.63467 6.93767 7.567 7.185 7.567 7.465H8.498C8.498 7.283 8.56333 7.13367 8.694 7.017C8.82933 6.89567 8.995 6.835 9.191 6.835C9.331 6.835 9.44533 6.85833 9.534 6.905C9.62267 6.95167 9.69033 7.01933 9.737 7.108C9.78367 7.19667 9.807 7.29933 9.807 7.416C9.807 7.50933 9.78367 7.60033 9.737 7.689C9.695 7.773 9.63433 7.85 9.555 7.92C9.47567 7.98533 9.37767 8.03667 9.261 8.074C9.149 8.11133 9.02067 8.13 8.876 8.13V8.613ZM9.149 11.098C9.513 11.098 9.828 11.0397 10.094 10.923C10.3647 10.8017 10.5723 10.6337 10.717 10.419C10.8663 10.2043 10.941 9.957 10.941 9.677C10.941 9.42967 10.8897 9.21967 10.787 9.047C10.6843 8.86967 10.5397 8.725 10.353 8.613C10.1663 8.49633 9.947 8.41233 9.695 8.361C9.44767 8.30967 9.17467 8.284 8.876 8.284V8.816C9.04867 8.816 9.20033 8.83467 9.331 8.872C9.46633 8.90467 9.57833 8.95367 9.667 9.019C9.76033 9.08433 9.83033 9.166 9.877 9.264C9.92367 9.35733 9.947 9.46 9.947 9.572C9.947 9.726 9.91433 9.85433 9.849 9.957C9.78367 10.0597 9.69267 10.139 9.576 10.195C9.464 10.2463 9.331 10.272 9.177 10.272C9.02767 10.272 8.89 10.244 8.764 10.188C8.638 10.1273 8.53767 10.041 8.463 9.929C8.38833 9.817 8.351 9.68167 8.351 9.523H7.357C7.357 9.733 7.399 9.93367 7.483 10.125C7.567 10.3117 7.686 10.4797 7.84 10.629C7.994 10.7737 8.18067 10.888 8.4 10.972C8.61933 11.056 8.869 11.098 9.149 11.098Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59855'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
787
+ function ia(t){let n,r,i,a,o,s,l,u,c,d=/*$_*/t[3]("tournamentsThumbnail.seegames")+"",h=/*$_*/t[3]("tournamentsThumbnail.here")+"";return{c(){n=y("div"),r=y("p"),i=w(d),a=v(),o=y("a"),s=w(h),this.c=e,_(o,"part","GamesAnchor"),_(o,"class","GamesAnchor"),_(o,"href",/*gameurl*/t[0]),_(o,"target",l=/*keepbrowsercontext*/"true"===t[2]?"_self":"_blank"),_(r,"part","GamesP"),_(n,"class","Games"),_(n,"part","Games")},m(e,l){p(e,n,l),m(n,r),m(r,i),m(r,a),m(r,o),m(o,s),u||(c=x(o,"click",/*click_handler*/t[6]),u=!0)},p(e,[t]){/*$_*/8&t&&d!==(d=/*$_*/e[3]("tournamentsThumbnail.seegames")+"")&&k(i,d),/*$_*/8&t&&h!==(h=/*$_*/e[3]("tournamentsThumbnail.here")+"")&&k(s,h),/*gameurl*/1&t&&_(o,"href",/*gameurl*/e[0]),/*keepbrowsercontext*/4&t&&l!==(l=/*keepbrowsercontext*/"true"===e[2]?"_self":"_blank")&&_(o,"target",l)},i:e,o:e,d(e){e&&g(n),u=!1,c()}}}function aa(e,t,n){let r;d(e,Yn,(e=>n(3,r=e)));let{gameurl:i=""}=t,{lang:a="en"}=t,{tourid:o=""}=t,{keepbrowsercontext:s="false"}=t;Object.keys(Pi).forEach((e=>{bi(e,Pi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const l=(e,t)=>{window.postMessage({type:"tournamentGamesClicked",tourId:t},window.location.href)};return e.$$set=e=>{"gameurl"in e&&n(0,i=e.gameurl),"lang"in e&&n(5,a=e.lang),"tourid"in e&&n(1,o=e.tourid),"keepbrowsercontext"in e&&n(2,s=e.keepbrowsercontext)},[i,o,s,r,l,a,()=>l()]}customElements.define("duration-cell",ra);class oa extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},aa,ia,o,{gameurl:0,lang:5,tourid:1,keepbrowsercontext:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["gameurl","lang","tourid","keepbrowsercontext"]}get gameurl(){return this.$$.ctx[0]}set gameurl(e){this.$$set({gameurl:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get tourid(){return this.$$.ctx[1]}set tourid(e){this.$$set({tourid:e}),I()}get keepbrowsercontext(){return this.$$.ctx[2]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}}customElements.define("see-games-line",oa);var sa="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59823)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.497 7.374L8.673 7.066V11H9.646V6.016L7.497 6.471V7.374Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59823'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",la="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M7.14 11H11.081V10.083H9.03L10.304 8.879C10.5093 8.69233 10.675 8.48467 10.801 8.256C10.927 8.02733 10.99 7.78233 10.99 7.521C10.99 7.34367 10.9527 7.16633 10.878 6.989C10.808 6.81167 10.6983 6.65067 10.549 6.506C10.4043 6.35667 10.22 6.23767 9.996 6.149C9.77667 6.05567 9.52 6.009 9.226 6.009C8.82933 6.009 8.49333 6.093 8.218 6.261C7.94733 6.42433 7.742 6.646 7.602 6.926C7.462 7.206 7.392 7.521 7.392 7.871H8.372C8.372 7.675 8.40467 7.50233 8.47 7.353C8.54 7.20367 8.63567 7.08933 8.757 7.01C8.883 6.926 9.03233 6.884 9.205 6.884C9.32633 6.884 9.43367 6.905 9.527 6.947C9.62033 6.98433 9.69967 7.03567 9.765 7.101C9.83033 7.16633 9.87933 7.241 9.912 7.325C9.94467 7.409 9.961 7.49533 9.961 7.584C9.961 7.71 9.93767 7.83133 9.891 7.948C9.84433 8.06467 9.77667 8.18133 9.688 8.298C9.59933 8.41467 9.492 8.54067 9.366 8.676L7.14 11Z' fill='white'/%3e%3c/svg%3e",ua="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3552_59855)'%3e%3cpath d='M7.01358 0.397379C6.76397 0.495817 6.55304 0.580192 6.54601 0.583707C6.53546 0.590739 7.3089 2.59464 7.33702 2.63332C7.3546 2.66144 8.29679 2.27121 8.29679 2.23605C8.29679 2.21144 8.1878 1.91613 8.05069 1.5716C7.9171 1.22707 7.74132 0.780582 7.66046 0.580192C7.58311 0.376286 7.50577 0.211051 7.49522 0.214567C7.48116 0.214567 7.26671 0.298942 7.01358 0.397379Z' fill='white'/%3e%3cpath d='M10.3395 0.576676C10.2586 0.780582 10.0828 1.22707 9.94922 1.5716C9.81211 1.91613 9.70312 2.21144 9.70312 2.23605C9.70312 2.27121 10.6453 2.66144 10.6664 2.63332C10.684 2.60168 11.4258 0.682145 11.4328 0.636442C11.4398 0.604801 11.3027 0.530973 11.025 0.418473C10.7965 0.323551 10.582 0.239176 10.5469 0.228629C10.4941 0.211051 10.459 0.270817 10.3395 0.576676Z' fill='white'/%3e%3cpath d='M3.86016 2.07432C3.67031 2.28525 3.51562 2.46455 3.51562 2.4751C3.51562 2.48213 3.8918 2.82666 4.34883 3.23799L5.17852 3.98682L5.40352 3.74424C5.83594 3.27314 5.88867 3.19932 5.83242 3.1501C5.8043 3.12549 5.4668 2.82314 5.08008 2.47861C4.69336 2.13408 4.33828 1.81768 4.28906 1.77549L4.20117 1.69463L3.86016 2.07432Z' fill='white'/%3e%3cpath d='M12.9735 2.4293C12.52 2.83711 12.1438 3.17813 12.1368 3.1957C12.1297 3.22031 12.7872 3.97266 12.8188 3.97266C12.8434 3.97266 14.4852 2.49258 14.4852 2.475C14.4852 2.46445 14.3411 2.2957 14.1618 2.09883C13.986 1.90195 13.8313 1.72969 13.8208 1.71563C13.8102 1.70156 13.427 2.02148 12.9735 2.4293Z' fill='white'/%3e%3cpath d='M1.50156 3.76875C1.31172 4.0043 0.991797 4.51406 0.879297 4.75313C0.496094 5.60742 0.478516 6.35273 0.826562 7.17891C0.847656 7.23516 0.830078 7.24219 0.7 7.24219C0.615625 7.24219 0.485547 7.25273 0.415234 7.26328C0.285156 7.28438 0.278125 7.29492 0.211328 7.51992C0.0601562 8.0332 0.025 8.27227 0.0214844 8.78906C0.0214844 9.39727 0.0707031 9.64336 0.299219 10.1145C0.425781 10.3711 0.520703 10.5012 0.75625 10.7508L1.05508 11.0672L0.928516 11.148C0.854687 11.1902 0.682422 11.3203 0.541797 11.4293L0.285156 11.6332L0.373047 11.918C0.583984 12.6 0.875781 13.1344 1.25898 13.5422C1.60703 13.9078 2.12383 14.2207 2.50703 14.291C2.57734 14.3051 2.63711 14.3332 2.63711 14.3508C2.63711 14.3684 2.59141 14.4527 2.53164 14.5371C2.47539 14.6215 2.42617 14.7059 2.42617 14.7199C2.42617 14.7691 2.8375 15.3598 3.0168 15.5707C3.37891 15.9961 3.97656 16.3758 4.525 16.5305C4.87305 16.6289 5.49883 16.6359 5.81875 16.5516C6.41641 16.3898 6.90156 16.098 7.32344 15.6445L7.58359 15.3633L7.70312 15.4055C7.99141 15.5039 8.24805 15.7395 8.38164 16.0277C8.44844 16.1754 8.45547 16.2633 8.46602 16.991L8.47656 17.7891H9.00039H9.52422L9.53477 16.9875C9.54531 16.2633 9.55234 16.1754 9.61914 16.0277C9.75273 15.7395 10.0094 15.5039 10.2977 15.4055L10.4172 15.3633L10.6773 15.6445C11.0992 16.098 11.5844 16.3898 12.182 16.5516C12.502 16.6359 13.1277 16.6289 13.4758 16.5305C14.0242 16.3758 14.6219 15.9961 14.984 15.5707C15.1633 15.3598 15.5746 14.7691 15.5746 14.7199C15.5746 14.7059 15.5254 14.6215 15.4691 14.5371C15.4129 14.4527 15.3637 14.3684 15.3637 14.3508C15.3637 14.3332 15.4234 14.3051 15.4937 14.291C15.5676 14.277 15.7223 14.2277 15.8383 14.1785C16.6609 13.834 17.2797 13.05 17.6277 11.9109L17.7156 11.6332L17.459 11.4293C17.3184 11.3203 17.1461 11.1902 17.0723 11.148L16.9457 11.0672L17.2445 10.7508C17.4801 10.5012 17.575 10.3711 17.7016 10.1145C17.923 9.65391 17.9793 9.39727 17.9793 8.80664C17.9828 8.30742 17.9441 8.06836 17.7859 7.51992C17.7227 7.29492 17.7156 7.28438 17.5855 7.26328C17.5152 7.25273 17.3852 7.24219 17.3008 7.24219C17.1707 7.24219 17.1531 7.23516 17.1742 7.17891C17.6066 6.14883 17.4801 5.21719 16.7559 4.13438C16.3867 3.57891 16.4254 3.6 16.0527 3.70898C14.977 4.02188 14.2703 4.57383 13.866 5.42461C13.5637 6.06445 13.5637 6.87656 13.8695 7.61484C13.982 7.88555 14.1367 8.17383 14.2738 8.36719C14.3371 8.45508 14.3371 8.46211 14.2 8.73633C14.1262 8.89102 14.0312 9.16523 13.9891 9.34453C13.9223 9.63281 13.9152 9.73477 13.9363 10.1883C13.9469 10.473 13.9645 10.7543 13.9785 10.8141C13.9961 10.916 13.9855 10.9336 13.7746 11.0848C13.3211 11.4047 12.9168 11.9496 12.6918 12.5262C12.5371 12.9234 12.5441 12.9164 12.3754 12.9445C12.0168 13.0078 11.5879 13.1941 11.2293 13.4508C11.0219 13.5984 10.4066 14.2172 10.4066 14.277C10.4066 14.2945 10.375 14.3086 10.3398 14.3086C10.3012 14.3086 10.1465 14.3473 9.99531 14.3965C9.69297 14.4914 9.39766 14.6707 9.15859 14.9027L9.00039 15.0539L8.85625 14.9098C8.63477 14.6883 8.30781 14.4914 8.00547 14.3965C7.8543 14.3473 7.69961 14.3086 7.66094 14.3086C7.62578 14.3086 7.59414 14.2945 7.59414 14.277C7.59414 14.2172 6.97891 13.5984 6.76797 13.4473C6.4832 13.2434 6.08945 13.057 5.78359 12.9867C5.65 12.9551 5.51641 12.9199 5.4918 12.9059C5.46719 12.8953 5.39336 12.7477 5.33008 12.5789C5.10156 11.9707 4.69023 11.4152 4.22969 11.0848C4.01523 10.9336 4.00469 10.916 4.02227 10.8141C4.03633 10.7543 4.05391 10.473 4.06445 10.1883C4.08555 9.73477 4.07852 9.63281 4.01172 9.34453C3.96953 9.16523 3.87461 8.89102 3.80078 8.73633L3.66367 8.45859L3.76914 8.30391C3.90273 8.11055 4.12422 7.66406 4.20156 7.43555C4.36328 6.95391 4.40547 6.38438 4.30703 5.92383C4.09961 4.95352 3.26641 4.12734 2.12734 3.76523C1.60703 3.6 1.63867 3.6 1.50156 3.76875ZM2.26445 4.95703C2.75664 5.19961 3.09766 5.58281 3.23828 6.05391C3.37187 6.48633 3.28398 7.04531 3.0168 7.51641L2.91133 7.69922L2.62656 7.55156C1.77227 7.10859 1.42422 6.22969 1.76172 5.37188C1.84258 5.16797 2.0043 4.85156 2.03242 4.85156C2.03945 4.85156 2.14492 4.90078 2.26445 4.95703ZM16.1371 5.15039C16.5133 5.92031 16.4184 6.65156 15.8734 7.18945C15.7328 7.32656 15.5465 7.46016 15.3707 7.55156L15.0895 7.69922L15.0156 7.57266C14.541 6.76758 14.6043 5.92031 15.1809 5.35078C15.3602 5.17852 15.8629 4.85859 15.9684 4.85156C15.9824 4.85156 16.0598 4.98516 16.1371 5.15039ZM1.59297 8.31445C1.96211 8.37773 2.27852 8.53242 2.52813 8.77148C2.76016 8.99297 2.89375 9.21445 2.97109 9.50977C3.02383 9.7207 3.04141 10.2691 3.00273 10.4766L2.97812 10.5891L2.71797 10.568C1.64219 10.4695 1.00234 9.72773 1.06211 8.65195C1.07266 8.47969 1.09023 8.32148 1.1043 8.30039C1.13594 8.25117 1.25547 8.25469 1.59297 8.31445ZM16.893 8.29688C16.9387 8.37422 16.9527 8.92969 16.9141 9.1582C16.7699 9.97383 16.1863 10.473 15.2547 10.568L15.0227 10.5891L14.998 10.4766C14.9594 10.2691 14.977 9.7207 15.0297 9.50977C15.1914 8.89453 15.7117 8.4375 16.3937 8.31445C16.7066 8.2582 16.8648 8.25117 16.893 8.29688ZM3.2418 11.7387C3.51602 11.8441 3.80781 12.0691 3.99766 12.3223C4.19102 12.5754 4.34219 12.8742 4.31758 12.9445C4.30703 12.9727 4.19453 13.043 4.07148 13.1063C3.08711 13.5879 2.13086 13.2539 1.62109 12.2449C1.58242 12.1641 1.54727 12.0727 1.54727 12.0445C1.54727 11.9742 1.97617 11.7563 2.24336 11.6895C2.52109 11.6191 2.98516 11.6438 3.2418 11.7387ZM15.7434 11.6895C16.0176 11.7563 16.4535 11.9707 16.4535 12.0445C16.4535 12.1992 16.0809 12.7547 15.8418 12.948C15.3039 13.391 14.6113 13.4437 13.9152 13.0922C13.7781 13.0219 13.6762 12.948 13.6762 12.9199C13.6762 12.832 13.8309 12.5508 14.0031 12.3223C14.425 11.7598 15.0648 11.5312 15.7434 11.6895ZM5.5375 14.0098C5.65 14.0414 5.83984 14.1152 5.95586 14.1785C6.1668 14.291 6.64492 14.7129 6.64492 14.7902C6.64492 14.8113 6.53594 14.9309 6.40234 15.0539C5.63242 15.7676 4.72891 15.743 3.94141 14.9871L3.67422 14.7305L3.90977 14.509C4.40195 14.0414 4.975 13.8656 5.5375 14.0098ZM13.2367 14.0098C13.5391 14.0906 13.8273 14.2559 14.091 14.509L14.3266 14.7305L14.0594 14.9871C13.2719 15.743 12.3684 15.7676 11.5984 15.0539C11.4648 14.9309 11.3559 14.8113 11.3559 14.7902C11.3559 14.7656 11.4648 14.6461 11.5949 14.5195C12.0906 14.0449 12.6707 13.8621 13.2367 14.0098Z' fill='white'/%3e%3cpath d='M8.876 8.613C9.24467 8.613 9.57367 8.564 9.863 8.466C10.1523 8.368 10.381 8.22567 10.549 8.039C10.717 7.84767 10.801 7.619 10.801 7.353C10.801 7.10567 10.738 6.88167 10.612 6.681C10.486 6.48033 10.3017 6.31933 10.059 6.198C9.821 6.07667 9.53167 6.016 9.191 6.016C8.869 6.016 8.58667 6.079 8.344 6.205C8.10133 6.331 7.91 6.50367 7.77 6.723C7.63467 6.93767 7.567 7.185 7.567 7.465H8.498C8.498 7.283 8.56333 7.13367 8.694 7.017C8.82933 6.89567 8.995 6.835 9.191 6.835C9.331 6.835 9.44533 6.85833 9.534 6.905C9.62267 6.95167 9.69033 7.01933 9.737 7.108C9.78367 7.19667 9.807 7.29933 9.807 7.416C9.807 7.50933 9.78367 7.60033 9.737 7.689C9.695 7.773 9.63433 7.85 9.555 7.92C9.47567 7.98533 9.37767 8.03667 9.261 8.074C9.149 8.11133 9.02067 8.13 8.876 8.13V8.613ZM9.149 11.098C9.513 11.098 9.828 11.0397 10.094 10.923C10.3647 10.8017 10.5723 10.6337 10.717 10.419C10.8663 10.2043 10.941 9.957 10.941 9.677C10.941 9.42967 10.8897 9.21967 10.787 9.047C10.6843 8.86967 10.5397 8.725 10.353 8.613C10.1663 8.49633 9.947 8.41233 9.695 8.361C9.44767 8.30967 9.17467 8.284 8.876 8.284V8.816C9.04867 8.816 9.20033 8.83467 9.331 8.872C9.46633 8.90467 9.57833 8.95367 9.667 9.019C9.76033 9.08433 9.83033 9.166 9.877 9.264C9.92367 9.35733 9.947 9.46 9.947 9.572C9.947 9.726 9.91433 9.85433 9.849 9.957C9.78367 10.0597 9.69267 10.139 9.576 10.195C9.464 10.2463 9.331 10.272 9.177 10.272C9.02767 10.272 8.89 10.244 8.764 10.188C8.638 10.1273 8.53767 10.041 8.463 9.929C8.38833 9.817 8.351 9.68167 8.351 9.523H7.357C7.357 9.733 7.399 9.93367 7.483 10.125C7.567 10.3117 7.686 10.4797 7.84 10.629C7.994 10.7737 8.18067 10.888 8.4 10.972C8.61933 11.056 8.869 11.098 9.149 11.098Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3552_59855'%3e%3crect width='18' height='18' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
797
788
  /* src/Cells/PrizesCell.svelte generated by Svelte v3.59.2 */
798
- function po(e,t,n){const r=e.slice();return r[15]=t[n],r[17]=n,r}function go(e,t,n){const r=e.slice();return r[12]=t[n],r}function bo(e,t,n){const r=e.slice();return r[15]=t[n],r[17]=n,r}
789
+ function ca(e,t,n){const r=e.slice();return r[15]=t[n],r[17]=n,r}function da(e,t,n){const r=e.slice();return r[12]=t[n],r}function ha(e,t,n){const r=e.slice();return r[15]=t[n],r[17]=n,r}
799
790
  // (110:2) {#if prizes}
800
- function yo(e){let t;function n(e,t){/*cellsetting*/
801
- return e[2].expandAll?Co:wo}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&g(t)}}}
802
- // (134:4) {:else }
803
- function wo(e){let t,n=/*prizes*/e[0],r=[];for(let t=0;t<n.length;t+=1)r[t]=To(po(e,n,t));let i=null;return n.length||(i=vo(e)),{c(){t=y("div");for(let e=0;e<r.length;e+=1)r[e].c();i&&i.c(),_(t,"class","Prizes"),_(t,"part","Prizes")},m(e,n){p(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null);i&&i.m(t,null)},p(e,o){if(/*prizes, $_*/33&o){let a;for(n=/*prizes*/e[0],a=0;a<n.length;a+=1){const i=po(e,n,a);r[a]?r[a].p(i,o):(r[a]=To(i),r[a].c(),r[a].m(t,null))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length,!n.length&&i?i.p(e,o):n.length?i&&(i.d(1),i=null):(i=vo(e),i.c(),i.m(t,null))}},d(e){e&&g(t),b(r,e),i&&i.d()}}}
791
+ function fa(e){let t;function n(e,t){/*cellsetting*/
792
+ return e[2].expandAll?pa:ma}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(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&&g(t)}}}
793
+ // (140:4) {:else }
794
+ function ma(e){let t,n,r=/*prizes*/e[0],i=[];for(let t=0;t<r.length;t+=1)i[t]=wa(ca(e,r,t));let a=null;return r.length||(a=ga(e)),{c(){t=y("div"),n=y("div");for(let e=0;e<i.length;e+=1)i[e].c();a&&a.c(),_(n,"class","Prizes"),_(n,"part","Prizes"),_(t,"class","Collapse")},m(e,r){p(e,t,r),m(t,n);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(n,null);a&&a.m(n,null)},p(e,t){if(/*prizes, $_, rankImgs, showrankasimage*/51&t){let o;for(r=/*prizes*/e[0],o=0;o<r.length;o+=1){const a=ca(e,r,o);i[o]?i[o].p(a,t):(i[o]=wa(a),i[o].c(),i[o].m(n,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=r.length,!r.length&&a?a.p(e,t):r.length?a&&(a.d(1),a=null):(a=ga(e),a.c(),a.m(n,null))}},d(e){e&&g(t),b(i,e),a&&a.d()}}}
804
795
  // (111:4) {#if cellsetting.expandAll}
805
- function Co(e){let t,n=/*prizesInList*/e[3],r=[];for(let t=0;t<n.length;t+=1)r[t]=So(go(e,n,t));return{c(){t=y("div");for(let e=0;e<r.length;e+=1)r[e].c();_(t,"class","Prizes"),_(t,"part","Prizes")},m(e,n){p(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*prizesInList, $_, rankImgs, showrankasimage*/58&i){let o;for(n=/*prizesInList*/e[3],o=0;o<n.length;o+=1){const a=go(e,n,o);r[o]?r[o].p(a,i):(r[o]=So(a),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&g(t),b(r,e)}}}
806
- // (149:8) {:else}
807
- function vo(e){let t,n,r=/*$_*/e[5]("tournamentsPrizes.noprizes")+"";return{c(){t=y("p"),n=C(r)},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/32&t&&r!==(r=/*$_*/e[5]("tournamentsPrizes.noprizes")+"")&&k(n,r)},d(e){e&&g(t)}}}
808
- // (136:8) {#each prizes as prize, index}
809
- function To(e){let t,n,r,i,o,a,s,l,u,c,d=/*prize*/(e[15].count>1?`${/*prize*/e[15].rank}~${/*prize*/e[15].rank+/*prize*/e[15].count-1}`/*prize*/:e[15].rank)+"",h=/*$_*/e[5]("tournamentsPrizes.place")+"",f=/*prize*/e[15].name+"";return{c(){t=y("div"),n=y("p"),r=y("span"),i=C(d),o=v(),a=y("span"),s=C(h),l=C(": "),u=C(f),c=v(),_(r,"class","PrizeRank"),_(r,"part","PrizeRank"),_(a,"class","PrizeName"),_(a,"part","PrizeName"),_(n,"class","PrizeText"),_(n,"part","PrizeText"),_(t,"class","Prize Prize"+/*index*/e[17]),_(t,"part","Prize Prize"+/*index*/e[17])},m(e,d){p(e,t,d),m(t,n),m(n,r),m(r,i),m(n,o),m(n,a),m(a,s),m(a,l),m(a,u),m(t,c)},p(e,t){/*prizes*/1&t&&d!==(d=/*prize*/(e[15].count>1?`${/*prize*/e[15].rank}~${/*prize*/e[15].rank+/*prize*/e[15].count-1}`/*prize*/:e[15].rank)+"")&&k(i,d),/*$_*/32&t&&h!==(h=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(s,h),/*prizes*/1&t&&f!==(f=/*prize*/e[15].name+"")&&k(u,f)},d(e){e&&g(t)}}}
796
+ function pa(e){let t,n=/*prizesInList*/e[3],r=[];for(let t=0;t<n.length;t+=1)r[t]=ka(da(e,n,t));return{c(){t=y("div");for(let e=0;e<r.length;e+=1)r[e].c();_(t,"class","Prizes"),_(t,"part","Prizes")},m(e,n){p(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*prizesInList, $_, rankImgs, showrankasimage*/58&i){let a;for(n=/*prizesInList*/e[3],a=0;a<n.length;a+=1){const o=da(e,n,a);r[a]?r[a].p(o,i):(r[a]=ka(o),r[a].c(),r[a].m(t,null))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){e&&g(t),b(r,e)}}}
797
+ // (167:8) {:else}
798
+ function ga(e){let t,n,r=/*$_*/e[5]("tournamentsPrizes.noprizes")+"";return{c(){t=y("p"),n=w(r)},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/32&t&&r!==(r=/*$_*/e[5]("tournamentsPrizes.noprizes")+"")&&k(n,r)},d(e){e&&g(t)}}}
799
+ // (148:16) {#if showrankasimage=='true'}
800
+ function ba(e){let t;let n=function(e,t){/*index*/
801
+ return e[17]<3?Ca:ya}(e),r=n(e);return{c(){r.c(),t=T()},m(e,n){r.m(e,n),p(e,t,n)},p(e,t){r.p(e,t)},d(e){r.d(e),e&&g(t)}}}
802
+ // (151:19) {:else }
803
+ function ya(t){let n;return{c(){n=y("span"),_(n,"class","RowNo")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
804
+ // (149:19) {#if index < 3}
805
+ function Ca(e){let t,n;return{c(){t=y("img"),_(t,"class","RowNo"),_(t,"alt","prize"),u(t.src,n=/*rankImgs*/e[4][/*index*/e[17]+1])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs*/16&r&&!u(t.src,n=/*rankImgs*/e[4][/*index*/e[17]+1])&&_(t,"src",n)},d(e){e&&g(t)}}}
806
+ // (143:8) {#each prizes as prize, index}
807
+ function wa(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,C,T=/*prize*/e[15].count>1?`${/*prize*/e[15].rank}~${/*prize*/e[15].rank+/*prize*/e[15].count-1}`:`${/*prize*/e[15].rank}`,x=/*$_*/e[5]("tournamentsPrizes.place")+"",P=/*prize*/e[15].name+"",S=/*showrankasimage*/"true"==e[1]&&ba(e);return{c(){t=y("div"),n=y("div"),r=y("p"),i=y("span"),S&&S.c(),a=v(),o=y("span"),s=w(T),l=v(),u=y("span"),c=w(x),d=w(":"),h=v(),f=y("span"),b=w(P),C=v(),_(o,"class","PrizeNo"),_(u,"class","PrizePlace"),_(i,"class","PrizeRank"),_(i,"part","PrizeRank"),_(f,"class","PrizeName"),_(f,"part","PrizeName"),_(r,"class","PrizeText"),_(r,"part","PrizeText"),_(n,"class","Prize Prize"+/*index*/e[17]),_(n,"part","Prize Prize"+/*index*/e[17]),_(t,"class","ColPrizes")},m(e,g){p(e,t,g),m(t,n),m(n,r),m(r,i),S&&S.m(i,null),m(i,a),m(i,o),m(o,s),m(i,l),m(i,u),m(u,c),m(u,d),m(r,h),m(r,f),m(f,b),m(t,C)},p(e,t){/*showrankasimage*/"true"==e[1]?S?S.p(e,t):(S=ba(e),S.c(),S.m(i,a)):S&&(S.d(1),S=null),/*prizes*/1&t&&T!==(T=/*prize*/e[15].count>1?`${/*prize*/e[15].rank}~${/*prize*/e[15].rank+/*prize*/e[15].count-1}`:`${/*prize*/e[15].rank}`)&&k(s,T),/*$_*/32&t&&x!==(x=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(c,x),/*prizes*/1&t&&P!==(P=/*prize*/e[15].name+"")&&k(b,P)},d(e){e&&g(t),S&&S.d()}}}
810
808
  // (122:20) {:else}
811
- function xo(e){let t,n,r,i,o=/*prize*/e[15].rank+"",a=/*$_*/e[5]("tournamentsPrizes.place")+"";return{c(){t=y("span"),n=C(o),r=v(),i=C(a),_(t,"class","PrizeRank"),_(t,"part","PrizeRank")},m(e,o){p(e,t,o),m(t,n),m(t,r),m(t,i)},p(e,t){/*prizesInList*/8&t&&o!==(o=/*prize*/e[15].rank+"")&&k(n,o),/*$_*/32&t&&a!==(a=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(i,a)},d(e){e&&g(t)}}}
809
+ function va(e){let t,n,r,i,a,o,s,l,u=/*prize*/e[15].rank+"",c=/*$_*/e[5]("tournamentsPrizes.place")+"",d=/*showrankasimage*/"true"==e[1]&&xa();return{c(){t=y("span"),d&&d.c(),n=v(),r=y("span"),i=w(u),a=y("span"),a.textContent=".",o=v(),s=y("span"),l=w(c),_(a,"class","Dot"),_(r,"class","PrizeNo"),_(s,"class","PrizePlace"),_(t,"class","PrizeRank"),_(t,"part","PrizeRank")},m(e,u){p(e,t,u),d&&d.m(t,null),m(t,n),m(t,r),m(r,i),m(r,a),m(t,o),m(t,s),m(s,l)},p(e,r){/*showrankasimage*/"true"==e[1]?d||(d=xa(),d.c(),d.m(t,n)):d&&(d.d(1),d=null),/*prizesInList*/8&r&&u!==(u=/*prize*/e[15].rank+"")&&k(i,u),/*$_*/32&r&&c!==(c=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(l,c)},d(e){e&&g(t),d&&d.d()}}}
812
810
  // (118:18) {#if prize.rank < 4 && showrankasimage == 'true'}
813
- function _o(e){let t,n,r,i,o,a,s=/*$_*/e[5]("tournamentsPrizes.place")+"";return{c(){t=y("div"),n=y("img"),i=v(),o=y("span"),a=C(s),_(n,"alt","prize"),u(n.src,r=/*rankImgs*/e[4][/*prize*/e[15].rank])||_(n,"src",r),_(t,"class","PrizeRank"),_(t,"part","PrizeRank")},m(e,r){p(e,t,r),m(t,n),m(t,i),m(t,o),m(o,a)},p(e,t){/*rankImgs, prizesInList*/24&t&&!u(n.src,r=/*rankImgs*/e[4][/*prize*/e[15].rank])&&_(n,"src",r),/*$_*/32&t&&s!==(s=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(a,s)},d(e){e&&g(t)}}}
811
+ function Ta(e){let t,n,r,i,a,o,s=/*$_*/e[5]("tournamentsPrizes.place")+"";return{c(){t=y("div"),n=y("img"),i=v(),a=y("span"),o=w(s),_(n,"alt","prize"),_(n,"class","RowNo"),u(n.src,r=/*rankImgs*/e[4][/*prize*/e[15].rank])||_(n,"src",r),_(a,"class","PrizePlace"),_(t,"class","PrizeRank"),_(t,"part","PrizeRank")},m(e,r){p(e,t,r),m(t,n),m(t,i),m(t,a),m(a,o)},p(e,t){/*rankImgs, prizesInList*/24&t&&!u(n.src,r=/*rankImgs*/e[4][/*prize*/e[15].rank])&&_(n,"src",r),/*$_*/32&t&&s!==(s=/*$_*/e[5]("tournamentsPrizes.place")+"")&&k(o,s)},d(e){e&&g(t)}}}
812
+ // (124:22) {#if showrankasimage == 'true' }
813
+ function xa(e){let t;return{c(){t=y("span"),_(t,"class","RowNo")},m(e,n){p(e,t,n)},d(e){e&&g(t)}}}
814
814
  // (115:12) {#each colPrizes as prize, index}
815
- function ko(e){let t,n,r,i,o,a,s,l=/*prize*/e[15].name+"";function u(e,t){/*prize*/
816
- return e[15].rank<4&&/*showrankasimage*/"true"==e[1]?_o:xo}let c=u(e),d=c(e);return{c(){t=y("div"),n=y("p"),d.c(),r=v(),i=y("span"),o=C(l),_(i,"class","PrizeName"),_(i,"part","PrizeName"),_(n,"class","PrizeText"),_(n,"part","PrizeText"),_(t,"class",a="Prize Prize"+(/*prize*/e[15].rank-1)),_(t,"part",s="Prize Prize"+(/*prize*/e[15].rank-1))},m(e,a){p(e,t,a),m(t,n),d.m(n,null),m(n,r),m(n,i),m(i,o)},p(e,i){c===(c=u(e))&&d?d.p(e,i):(d.d(1),d=c(e),d&&(d.c(),d.m(n,r))),/*prizesInList*/8&i&&l!==(l=/*prize*/e[15].name+"")&&k(o,l),/*prizesInList*/8&i&&a!==(a="Prize Prize"+(/*prize*/e[15].rank-1))&&_(t,"class",a),/*prizesInList*/8&i&&s!==(s="Prize Prize"+(/*prize*/e[15].rank-1))&&_(t,"part",s)},d(e){e&&g(t),d.d()}}}
815
+ function _a(e){let t,n,r,i,a,o,s,l=/*prize*/e[15].name+"";function u(e,t){/*prize*/
816
+ return e[15].rank<4&&/*showrankasimage*/"true"==e[1]?Ta:va}let c=u(e),d=c(e);return{c(){t=y("div"),n=y("p"),d.c(),r=v(),i=y("span"),a=w(l),_(i,"class","PrizeName"),_(i,"part","PrizeName"),_(n,"class","PrizeText"),_(n,"part","PrizeText"),_(t,"class",o="Prize Prize"+(/*prize*/e[15].rank-1)),_(t,"part",s="Prize Prize"+(/*prize*/e[15].rank-1))},m(e,o){p(e,t,o),m(t,n),d.m(n,null),m(n,r),m(n,i),m(i,a)},p(e,i){c===(c=u(e))&&d?d.p(e,i):(d.d(1),d=c(e),d&&(d.c(),d.m(n,r))),/*prizesInList*/8&i&&l!==(l=/*prize*/e[15].name+"")&&k(a,l),/*prizesInList*/8&i&&o!==(o="Prize Prize"+(/*prize*/e[15].rank-1))&&_(t,"class",o),/*prizesInList*/8&i&&s!==(s="Prize Prize"+(/*prize*/e[15].rank-1))&&_(t,"part",s)},d(e){e&&g(t),d.d()}}}
817
817
  // (113:8) {#each prizesInList as colPrizes}
818
- function So(e){let t,n,r,i=/*colPrizes*/e[12],o=[];for(let t=0;t<i.length;t+=1)o[t]=ko(bo(e,i,t));return{c(){t=y("div");for(let e=0;e<o.length;e+=1)o[e].c();n=v(),_(t,"class",r="ColPrizes col-"+/*prizesInList*/e[3].length)},m(e,r){p(e,t,r);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,null);m(t,n)},p(e,a){if(/*prizesInList, $_, rankImgs, showrankasimage*/58&a){let r;for(i=/*colPrizes*/e[12],r=0;r<i.length;r+=1){const s=bo(e,i,r);o[r]?o[r].p(s,a):(o[r]=ko(s),o[r].c(),o[r].m(t,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=i.length}/*prizesInList*/8&a&&r!==(r="ColPrizes col-"+/*prizesInList*/e[3].length)&&_(t,"class",r)},d(e){e&&g(t),b(o,e)}}}function Po(t){let n,r,i,o,a,s,l,u,c,d=/*$_*/t[5]("tournamentsPrizes.prizes")+"",h=/*prizes*/t[0]&&yo(t);return{c(){n=y("div"),r=y("div"),i=y("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',o=v(),a=y("span"),a.innerHTML='<slot name="prizeIcon"></slot>',s=v(),l=y("p"),u=C(d),c=v(),h&&h.c(),this.c=e,_(i,"class","TournamentPrizesIconWrapper"),_(i,"part","TournamentPrizesIconWrapper"),_(a,"class","TournamentPrizesIconWrapper"),_(a,"part","TournamentPrizesIconSlot"),_(l,"class","PrizesTitle"),_(l,"part","PrizesTitle"),_(r,"class","TournamentPrizesIconSection"),_(r,"part","TournamentPrizesIconSection"),_(n,"class","TournamentPrizes"),_(n,"part","TournamentPrizes")},m(e,t){p(e,n,t),m(n,r),m(r,i),m(r,o),m(r,a),m(r,s),m(r,l),m(l,u),m(n,c),h&&h.m(n,null)},p(e,[t]){/*$_*/32&t&&d!==(d=/*$_*/e[5]("tournamentsPrizes.prizes")+"")&&k(u,d),/*prizes*/e[0]?h?h.p(e,t):(h=yo(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null)},i:e,o:e,d(e){e&&g(n),h&&h.d()}}}function Eo(e,t,n){let r;d(e,Yn,(e=>n(5,r=e)));let{prizes:i}=t,{lang:o=""}=t,{showrankasimage:a="false"}=t,{cellsetting:s={expandAll:!0,listType:1,rowPerCol:8,maxCol:3}}=t;
818
+ function ka(e){let t,n,r,i=/*colPrizes*/e[12],a=[];for(let t=0;t<i.length;t+=1)a[t]=_a(ha(e,i,t));return{c(){t=y("div");for(let e=0;e<a.length;e+=1)a[e].c();n=v(),_(t,"class",r="ColPrizes col-"+/*prizesInList*/e[3].length)},m(e,r){p(e,t,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,null);m(t,n)},p(e,o){if(/*prizesInList, $_, rankImgs, showrankasimage*/58&o){let r;for(i=/*colPrizes*/e[12],r=0;r<i.length;r+=1){const s=ha(e,i,r);a[r]?a[r].p(s,o):(a[r]=_a(s),a[r].c(),a[r].m(t,n))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}/*prizesInList*/8&o&&r!==(r="ColPrizes col-"+/*prizesInList*/e[3].length)&&_(t,"class",r)},d(e){e&&g(t),b(a,e)}}}function Pa(t){let n,r,i,a,o,s,l,u,c,d=/*$_*/t[5]("tournamentsPrizes.prizes")+"",h=/*prizes*/t[0]&&fa(t);return{c(){n=y("div"),r=y("div"),i=y("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=v(),o=y("span"),o.innerHTML='<slot name="prizeIcon"></slot>',s=v(),l=y("p"),u=w(d),c=v(),h&&h.c(),this.c=e,_(i,"class","TournamentPrizesIconWrapper"),_(i,"part","TournamentPrizesIconWrapper"),_(o,"class","TournamentPrizesIconWrapper"),_(o,"part","TournamentPrizesIconSlot"),_(l,"class","PrizesTitle"),_(l,"part","PrizesTitle"),_(r,"class","TournamentPrizesIconSection"),_(r,"part","TournamentPrizesIconSection"),_(n,"class","TournamentPrizes"),_(n,"part","TournamentPrizes")},m(e,t){p(e,n,t),m(n,r),m(r,i),m(r,a),m(r,o),m(r,s),m(r,l),m(l,u),m(n,c),h&&h.m(n,null)},p(e,[t]){/*$_*/32&t&&d!==(d=/*$_*/e[5]("tournamentsPrizes.prizes")+"")&&k(u,d),/*prizes*/e[0]?h?h.p(e,t):(h=fa(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null)},i:e,o:e,d(e){e&&g(n),h&&h.d()}}}function Sa(e,t,n){let r;d(e,Yn,(e=>n(5,r=e)));let{prizes:i}=t,{lang:a=""}=t,{showrankasimage:o="false"}=t,{cellsetting:s={expandAll:!0,listType:1,rowPerCol:8,maxCol:3}}=t;
819
819
  //let prizes:any = undefined;
820
820
  Object.keys(ki).forEach((e=>{bi(e,ki[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const l=e=>{};
821
821
  /*if (e.data && e.data.type == `TournamentPrizes_${tourid}`) {
822
822
  prizes = e.data.prizes;
823
823
  }*/
824
- let u=[];let c=[];return M((()=>(n(4,c=[ho,ho,fo,mo]),window.addEventListener("message",l,!1),()=>{window.removeEventListener("message",l)}))),e.$$set=e=>{"prizes"in e&&n(0,i=e.prizes),"lang"in e&&n(6,o=e.lang),"showrankasimage"in e&&n(1,a=e.showrankasimage),"cellsetting"in e&&n(2,s=e.cellsetting)},e.$$.update=()=>{/*lang*/64&e.$$.dirty&&o&&yi(o),/*cellsetting, prizes*/5&e.$$.dirty&&s&&i&&(()=>{if(!s.expandAll)return;n(3,u=[[]]);let e=()=>{let e=[];return i.forEach((t=>{if(1==t.count)e.push(t);else{let n=parseInt(t.rank),r=t.name;for(let i=0;i<t.count;i++){let t={rank:n+i,name:r,count:1};e.push(t)}}})),e};if(1==s.listType){let t=e(),n=t.length,r=s.rowPerCol||8,i=s.maxCol;n>=r*i&&(r=Math.ceil(n/i)),n<=r&&(r=Math.ceil(n/i)),t.forEach(((e,t)=>{let n=Math.floor(t/r);u.length<n+1&&u.push([]),u[n].push(e)}))}else n(3,u[0]=e(),u)})()},[i,a,s,u,c,r,o]}class $o extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Eo,Po,a,{prizes:0,lang:6,showrankasimage:1,cellsetting:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["prizes","lang","showrankasimage","cellsetting"]}get prizes(){return this.$$.ctx[0]}set prizes(e){this.$$set({prizes:e}),I()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),I()}get showrankasimage(){return this.$$.ctx[1]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
824
+ let u=[];let c=[];return M((()=>(n(4,c=[sa,sa,la,ua]),window.addEventListener("message",l,!1),()=>{window.removeEventListener("message",l)}))),e.$$set=e=>{"prizes"in e&&n(0,i=e.prizes),"lang"in e&&n(6,a=e.lang),"showrankasimage"in e&&n(1,o=e.showrankasimage),"cellsetting"in e&&n(2,s=e.cellsetting)},e.$$.update=()=>{/*lang*/64&e.$$.dirty&&a&&yi(a),/*cellsetting, prizes*/5&e.$$.dirty&&s&&i&&(()=>{if(!s.expandAll)return;n(3,u=[[]]);let e=()=>{let e=[];return i.forEach((t=>{if(1==t.count)e.push(t);else{let n=parseInt(t.rank),r=t.name;for(let i=0;i<t.count;i++){let t={rank:n+i,name:r,count:1};e.push(t)}}})),e};if(1==s.listType){let t=e(),n=t.length,r=s.rowPerCol||8,i=s.maxCol;n>=r*i&&(r=Math.ceil(n/i)),n<=r&&(r=Math.ceil(n/i)),t.forEach(((e,t)=>{let n=Math.floor(t/r);u.length<n+1&&u.push([]),u[n].push(e)}))}else n(3,u[0]=e(),u)})()},[i,o,s,u,c,r,a]}class Ea extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Sa,Pa,o,{prizes:0,lang:6,showrankasimage:1,cellsetting:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["prizes","lang","showrankasimage","cellsetting"]}get prizes(){return this.$$.ctx[0]}set prizes(e){this.$$set({prizes:e}),I()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),I()}get showrankasimage(){return this.$$.ctx[1]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
825
825
  /* src/Cells/GamesCell.svelte generated by Svelte v3.59.2 */
826
- function Lo(e,t,n){const r=e.slice();return r[42]=t[n],r[44]=n,r}
826
+ function $a(e,t,n){const r=e.slice();return r[42]=t[n],r[44]=n,r}
827
827
  // (135:2) {#if sliderGames}
828
- function Do(e){let t,n,r,o,a,s,l,u,c=/*sliderGames*/e[2],d=[];for(let t=0;t<c.length;t+=1)d[t]=Mo(Lo(e,c,t));return{c(){t=y("div"),t.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',n=v(),r=y("main"),o=y("div");for(let e=0;e<d.length;e+=1)d[e].c();a=v(),s=y("div"),s.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',_(t,"class","SliderNavButton"),_(t,"part","SliderNavButton"),P(t,"disabled",/*atStart*/e[7]),_(o,"class","items"),_(o,"part","items"),S(o,"transform","translateX("+/*offset*/e[0]+"px)"),_(r,"class","main"),_(s,"class","SliderNavButton"),_(s,"part","SliderNavButton"),P(s,"disabled",/*atEnd*/e[6])},m(i,c){p(i,t,c),p(i,n,c),p(i,r,c),m(r,o);for(let e=0;e<d.length;e+=1)d[e]&&d[e].m(o,null);
829
- /*div1_binding*/e[25](o),p(i,a,c),p(i,s,c),l||(u=[x(t,"click",/*click_handler*/e[21]),x(s,"click",/*click_handler_2*/e[26])],l=!0)},p(e,n){if(/*atStart*/128&n[0]&&P(t,"disabled",/*atStart*/e[7]),/*gameClicked, sliderGames, enter, leave, hover, hoverIndex, $_*/5916&n[0]){let t;for(c=/*sliderGames*/e[2],t=0;t<c.length;t+=1){const r=Lo(e,c,t);d[t]?d[t].p(r,n):(d[t]=Mo(r),d[t].c(),d[t].m(o,null))}for(;t<d.length;t+=1)d[t].d(1);d.length=c.length}/*offset*/1&n[0]&&S(o,"transform","translateX("+/*offset*/e[0]+"px)"),/*atEnd*/64&n[0]&&P(s,"disabled",/*atEnd*/e[6])},d(o){o&&g(t),o&&g(n),o&&g(r),b(d,o),
830
- /*div1_binding*/e[25](null),o&&g(a),o&&g(s),l=!1,i(u)}}}
828
+ function La(e){let t,n,r,a,o,s,l,u,c=/*sliderGames*/e[2],d=[];for(let t=0;t<c.length;t+=1)d[t]=Da($a(e,c,t));return{c(){t=y("div"),t.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',n=v(),r=y("main"),a=y("div");for(let e=0;e<d.length;e+=1)d[e].c();o=v(),s=y("div"),s.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',_(t,"class","SliderNavButton"),_(t,"part","SliderNavButton"),S(t,"disabled",/*atStart*/e[7]),_(a,"class","items"),_(a,"part","items"),P(a,"transform","translateX("+/*offset*/e[0]+"px)"),_(r,"class","main"),_(s,"class","SliderNavButton"),_(s,"part","SliderNavButton"),S(s,"disabled",/*atEnd*/e[6])},m(i,c){p(i,t,c),p(i,n,c),p(i,r,c),m(r,a);for(let e=0;e<d.length;e+=1)d[e]&&d[e].m(a,null);
829
+ /*div1_binding*/e[25](a),p(i,o,c),p(i,s,c),l||(u=[x(t,"click",/*click_handler*/e[21]),x(s,"click",/*click_handler_2*/e[26])],l=!0)},p(e,n){if(/*atStart*/128&n[0]&&S(t,"disabled",/*atStart*/e[7]),/*gameClicked, sliderGames, enter, leave, hover, hoverIndex, $_*/5916&n[0]){let t;for(c=/*sliderGames*/e[2],t=0;t<c.length;t+=1){const r=$a(e,c,t);d[t]?d[t].p(r,n):(d[t]=Da(r),d[t].c(),d[t].m(a,null))}for(;t<d.length;t+=1)d[t].d(1);d.length=c.length}/*offset*/1&n[0]&&P(a,"transform","translateX("+/*offset*/e[0]+"px)"),/*atEnd*/64&n[0]&&S(s,"disabled",/*atEnd*/e[6])},d(a){a&&g(t),a&&g(n),a&&g(r),b(d,a),
830
+ /*div1_binding*/e[25](null),a&&g(o),a&&g(s),l=!1,i(u)}}}
831
831
  // (143:8) {#each sliderGames as game, i}
832
- function Mo(e){let t,n,r,o,a,s,l,c,d,h,f,b,w,T=/*$_*/e[8]("gamesSlider.playNow")+"";function S(){/*click_handler_1*/
833
- return e[22](/*game*/e[42])}function P(){/*mouseenter_handler*/
834
- return e[23](/*i*/e[44])}return{c(){t=y("div"),n=y("span"),r=C(T),s=v(),l=y("img"),f=v(),_(n,"class",o="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":"")),_(n,"part",a="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":"")),_(l,"class","GameThumbnail"),_(l,"part","GameThumbnail"),u(l.src,c=/*game*/e[42].thumbnail)||_(l,"src",c),_(l,"width","132px"),_(l,"height","100px"),_(l,"alt",d=/*game*/e[42].name),_(l,"title",h=/*game*/e[42].name),_(t,"class","item"),_(t,"part","item")},m(i,o){p(i,t,o),m(t,n),m(n,r),m(t,s),m(t,l),m(t,f),b||(w=[x(t,"click",S),x(t,"mouseenter",P),x(t,"mouseleave",/*mouseleave_handler*/e[24])],b=!0)},p(t,i){e=t,/*$_*/256&i[0]&&T!==(T=/*$_*/e[8]("gamesSlider.playNow")+"")&&k(r,T),/*hover, hoverIndex*/24&i[0]&&o!==(o="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":""))&&_(n,"class",o),/*hover, hoverIndex*/24&i[0]&&a!==(a="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":""))&&_(n,"part",a),/*sliderGames*/4&i[0]&&!u(l.src,c=/*game*/e[42].thumbnail)&&_(l,"src",c),/*sliderGames*/4&i[0]&&d!==(d=/*game*/e[42].name)&&_(l,"alt",d),/*sliderGames*/4&i[0]&&h!==(h=/*game*/e[42].name)&&_(l,"title",h)},d(e){e&&g(t),b=!1,i(w)}}}function Ro(t){let n,r=/*sliderGames*/t[2]&&Do(t);return{c(){n=y("div"),r&&r.c(),this.c=e,_(n,"class","TournamentsGamesSlider"),_(n,"part","TournamentsGamesSlider")},m(e,i){p(e,n,i),r&&r.m(n,null)
835
- /*div_binding*/,t[27](n)},p(e,t){/*sliderGames*/e[2]?r?r.p(e,t):(r=Do(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null)},i:e,o:e,d(e){e&&g(n),r&&r.d()
836
- /*div_binding*/,t[27](null)}}}customElements.define("prizes-cell",$o);function Ao(e,t,n){let r,i,o;d(e,Yn,(e=>n(8,o=e)));let a,s,l,u,{pagfactor:c="175"}=t,{lang:h=""}=t,{session:f=""}=t,{tourid:m=""}=t,{endpoint:p=""}=t,g=window.navigator.userAgent,b=0,y=null,w=null,C=!1,v=0,T=[],x=[];Object.keys(Ti).forEach((e=>{bi(e,Ti[e])}));const _=e=>{n(3,C=!0),n(4,l=e)},k=()=>{n(3,C=!1),n(4,l=-1)},S=e=>{const t=(e=>e.touches||e.originalEvent.touches)(e)[0];y=t.clientX,w=t.clientY},P=e=>{if(!y||!w)return;let t=e.touches[0].clientX,n=e.touches[0].clientY,r=y-t,i=w-n;Math.abs(r)>Math.abs(i)&&E(r>0?1:-1),y=null,w=null},E=e=>{e>0&&!i?(n(0,b-=a),n(0,b=b<v?v:b)):e<0&&!r&&(n(0,b+=a),n(0,b=b>0?0:b))},$=e=>{window.postMessage({type:"TournamentGameAction",gameId:e.id,name:e.name,launchUrl:e.launchUrl},window.location.href)};let L=!1;M((()=>(n(20,L=!0),a=parseInt("3",10)*parseInt(c,10),()=>{s.removeEventListener("touchstart",S),s.removeEventListener("touchmove",P)})));return e.$$set=e=>{"pagfactor"in e&&n(13,c=e.pagfactor),"lang"in e&&n(14,h=e.lang),"session"in e&&n(15,f=e.session),"tourid"in e&&n(16,m=e.tourid),"endpoint"in e&&n(17,p=e.endpoint)},e.$$.update=()=>{/*offset*/1&e.$$.dirty[0]&&n(7,r=0===b),/*offset, gamesElementWidth*/262145&e.$$.dirty[0]&&n(6,i=b<=v),/*slider*/2&e.$$.dirty[0]&&s&&(s.addEventListener("touchstart",S,{passive:!0}),s.addEventListener("touchmove",P,{passive:!0})),/*games*/524288&e.$$.dirty[0]&&x&&(n(2,T=x.items),x.total),/*sliderGames*/4&e.$$.dirty[0]&&T&&T.length&&setTimeout((()=>{n(18,v=-1*(u.scrollWidth-u.clientWidth)),n(13,c=new String(u.scrollWidth/T.length)),a=parseInt("3",10)*parseFloat(c,2).toFixed(2)}),1e3),/*isMounted, endpoint, session, tourid*/1277952&e.$$.dirty[0]&&L&&p&&f&&m&&((e,t)=>{let r=new URL(e+`/v1/tournaments/${t}`),i=new Headers({"X-SessionId":f});r.searchParams.append("platform",ni(g)),r.searchParams.append("language",h),r.searchParams.append("expand","games"),r.searchParams.append("pagination",`games(limit=30,offset=${b})`),r.searchParams.append("fields","games(id,name,thumbnail,launchUrl)");let o={method:"GET",headers:i};fetch(r.href,o).then((e=>e.json())).then((e=>{n(19,x=e.item.games),n(19,x=Object.assign({},x))}))})(p,m)},n(0,b=0),[b,s,T,C,l,u,i,r,o,_,k,E,$,c,h,f,m,p,v,x,L,()=>E(-1),e=>$(e),e=>_(e),()=>k(),function(e){A[e?"unshift":"push"]((()=>{u=e,n(5,u)}))},()=>E(1),function(e){A[e?"unshift":"push"]((()=>{s=e,n(1,s)}))}]}class Bo extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ao,Ro,a,{pagfactor:13,lang:14,session:15,tourid:16,endpoint:17},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["pagfactor","lang","session","tourid","endpoint"]}get pagfactor(){return this.$$.ctx[13]}set pagfactor(e){this.$$set({pagfactor:e}),I()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),I()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),I()}get tourid(){return this.$$.ctx[16]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),I()}}
832
+ function Da(e){let t,n,r,a,o,s,l,c,d,h,f,b,C,T=/*$_*/e[8]("gamesSlider.playNow")+"";function P(){/*click_handler_1*/
833
+ return e[22](/*game*/e[42])}function S(){/*mouseenter_handler*/
834
+ return e[23](/*i*/e[44])}return{c(){t=y("div"),n=y("span"),r=w(T),s=v(),l=y("img"),f=v(),_(n,"class",a="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":"")),_(n,"part",o="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":"")),_(l,"class","GameThumbnail"),_(l,"part","GameThumbnail"),u(l.src,c=/*game*/e[42].thumbnail)||_(l,"src",c),_(l,"width","132px"),_(l,"height","100px"),_(l,"alt",d=/*game*/e[42].name),_(l,"title",h=/*game*/e[42].name),_(t,"class","item"),_(t,"part","item")},m(i,a){p(i,t,a),m(t,n),m(n,r),m(t,s),m(t,l),m(t,f),b||(C=[x(t,"click",P),x(t,"mouseenter",S),x(t,"mouseleave",/*mouseleave_handler*/e[24])],b=!0)},p(t,i){e=t,/*$_*/256&i[0]&&T!==(T=/*$_*/e[8]("gamesSlider.playNow")+"")&&k(r,T),/*hover, hoverIndex*/24&i[0]&&a!==(a="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":""))&&_(n,"class",a),/*hover, hoverIndex*/24&i[0]&&o!==(o="PlayNowButton "+(/*hover*/e[3]&&/*hoverIndex*/e[4]==/*i*/e[44]?"itemHover":""))&&_(n,"part",o),/*sliderGames*/4&i[0]&&!u(l.src,c=/*game*/e[42].thumbnail)&&_(l,"src",c),/*sliderGames*/4&i[0]&&d!==(d=/*game*/e[42].name)&&_(l,"alt",d),/*sliderGames*/4&i[0]&&h!==(h=/*game*/e[42].name)&&_(l,"title",h)},d(e){e&&g(t),b=!1,i(C)}}}function Ma(t){let n,r=/*sliderGames*/t[2]&&La(t);return{c(){n=y("div"),r&&r.c(),this.c=e,_(n,"class","TournamentsGamesSlider"),_(n,"part","TournamentsGamesSlider")},m(e,i){p(e,n,i),r&&r.m(n,null)
835
+ /*div_binding*/,t[27](n)},p(e,t){/*sliderGames*/e[2]?r?r.p(e,t):(r=La(e),r.c(),r.m(n,null)):r&&(r.d(1),r=null)},i:e,o:e,d(e){e&&g(n),r&&r.d()
836
+ /*div_binding*/,t[27](null)}}}customElements.define("prizes-cell",Ea);function Ra(e,t,n){let r,i,a;d(e,Yn,(e=>n(8,a=e)));let o,s,l,u,{pagfactor:c="175"}=t,{lang:h=""}=t,{session:f=""}=t,{tourid:m=""}=t,{endpoint:p=""}=t,g=window.navigator.userAgent,b=0,y=null,C=null,w=!1,v=0,T=[],x=[];Object.keys(Ti).forEach((e=>{bi(e,Ti[e])}));const _=e=>{n(3,w=!0),n(4,l=e)},k=()=>{n(3,w=!1),n(4,l=-1)},P=e=>{const t=(e=>e.touches||e.originalEvent.touches)(e)[0];y=t.clientX,C=t.clientY},S=e=>{if(!y||!C)return;let t=e.touches[0].clientX,n=e.touches[0].clientY,r=y-t,i=C-n;Math.abs(r)>Math.abs(i)&&E(r>0?1:-1),y=null,C=null},E=e=>{e>0&&!i?(n(0,b-=o),n(0,b=b<v?v:b)):e<0&&!r&&(n(0,b+=o),n(0,b=b>0?0:b))},$=e=>{window.postMessage({type:"TournamentGameAction",gameId:e.id,name:e.name,launchUrl:e.launchUrl},window.location.href)};let L=!1;M((()=>(n(20,L=!0),o=parseInt("3",10)*parseInt(c,10),()=>{s.removeEventListener("touchstart",P),s.removeEventListener("touchmove",S)})));return e.$$set=e=>{"pagfactor"in e&&n(13,c=e.pagfactor),"lang"in e&&n(14,h=e.lang),"session"in e&&n(15,f=e.session),"tourid"in e&&n(16,m=e.tourid),"endpoint"in e&&n(17,p=e.endpoint)},e.$$.update=()=>{/*offset*/1&e.$$.dirty[0]&&n(7,r=0===b),/*offset, gamesElementWidth*/262145&e.$$.dirty[0]&&n(6,i=b<=v),/*slider*/2&e.$$.dirty[0]&&s&&(s.addEventListener("touchstart",P,{passive:!0}),s.addEventListener("touchmove",S,{passive:!0})),/*games*/524288&e.$$.dirty[0]&&x&&(n(2,T=x.items),x.total),/*sliderGames*/4&e.$$.dirty[0]&&T&&T.length&&setTimeout((()=>{n(18,v=-1*(u.scrollWidth-u.clientWidth)),n(13,c=new String(u.scrollWidth/T.length)),o=parseInt("3",10)*parseFloat(c,2).toFixed(2)}),1e3),/*isMounted, endpoint, session, tourid*/1277952&e.$$.dirty[0]&&L&&p&&f&&m&&((e,t)=>{let r=new URL(e+`/v1/tournaments/${t}`),i=new Headers({"X-SessionId":f});r.searchParams.append("platform",ni(g)),r.searchParams.append("language",h),r.searchParams.append("expand","games"),r.searchParams.append("pagination",`games(limit=30,offset=${b})`),r.searchParams.append("fields","games(id,name,thumbnail,launchUrl)");let a={method:"GET",headers:i};fetch(r.href,a).then((e=>e.json())).then((e=>{n(19,x=e.item.games),n(19,x=Object.assign({},x))}))})(p,m)},n(0,b=0),[b,s,T,w,l,u,i,r,a,_,k,E,$,c,h,f,m,p,v,x,L,()=>E(-1),e=>$(e),e=>_(e),()=>k(),function(e){A[e?"unshift":"push"]((()=>{u=e,n(5,u)}))},()=>E(1),function(e){A[e?"unshift":"push"]((()=>{s=e,n(1,s)}))}]}class Aa extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ra,Ma,o,{pagfactor:13,lang:14,session:15,tourid:16,endpoint:17},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["pagfactor","lang","session","tourid","endpoint"]}get pagfactor(){return this.$$.ctx[13]}set pagfactor(e){this.$$set({pagfactor:e}),I()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),I()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),I()}get tourid(){return this.$$.ctx[16]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),I()}}
837
837
  /* src/Cells/TermsAndConditionsCell.svelte generated by Svelte v3.59.2 */
838
- function Oo(t){return{c(){this.c=e},m:e,p:e,i:e,o:e,d:e}}customElements.define("games-cell",Bo);class Fo extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},null,Oo,a,{},null),e&&e.target&&p(e.target,this,e.anchor)}}
838
+ function Ba(t){return{c(){this.c=e},m:e,p:e,i:e,o:e,d:e}}customElements.define("games-cell",Aa);class za extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},null,Ba,o,{},null),e&&e.target&&p(e.target,this,e.anchor)}}
839
839
  /* src/Cells/DescriptionCell.svelte generated by Svelte v3.59.2 */
840
- function zo(e,t,n){const r=e.slice();return r[2]=t[n],r}
840
+ function Oa(e,t,n){const r=e.slice();return r[2]=t[n],r}
841
841
  // (15:2) {:else }
842
- function No(t){let n;return{c(){n=C(" ")},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&g(n)}}}
842
+ function Fa(t){let n;return{c(){n=w(" ")},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&g(n)}}}
843
843
  // (9:0) {#if tournamentdescription && tournamentdescription.length > 0}
844
- function Ho(e){let t,n,r=/*tournamentdescription*/e[0],i=[];for(let t=0;t<r.length;t+=1)i[t]=Uo(zo(e,r,t));const o=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*tournamentdescription*/1&n){let a;for(r=/*tournamentdescription*/e[0],a=0;a<r.length;a+=1){const o=zo(e,r,a);i[a]?(i[a].p(o,n),J(i[a],1)):(i[a]=Uo(o),i[a].c(),J(i[a],1),i[a].m(t.parentNode,t))}for(W(),a=r.length;a<i.length;a+=1)o(a);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
844
+ function Na(e){let t,n,r=/*tournamentdescription*/e[0],i=[];for(let t=0;t<r.length;t+=1)i[t]=Ha(Oa(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*tournamentdescription*/1&n){let o;for(r=/*tournamentdescription*/e[0],o=0;o<r.length;o+=1){const a=Oa(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=Ha(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
845
845
  // (10:2) {#each tournamentdescription as desc}
846
- function Uo(e){let t,n;return t=new gi({props:{title:/*desc*/e[2].title,text:/*desc*/e[2].description,exportparts:"DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"}}),{c(){Q(t.$$.fragment)},m(e,r){ee(t,e,r),n=!0},p(e,n){const r={};/*tournamentdescription*/1&n&&(r.title=/*desc*/e[2].title),/*tournamentdescription*/1&n&&(r.text=/*desc*/e[2].description),t.$set(r)},i(e){n||(J(t.$$.fragment,e),n=!0)},o(e){Z(t.$$.fragment,e),n=!1},d(e){te(t,e)}}}function Io(t){let n,r,i,o;const a=[Ho,No],s=[];function l(e,t){/*tournamentdescription*/
847
- return e[0]&&/*tournamentdescription*/e[0].length>0?0:1}return n=l(t),r=s[n]=a[n](t),{c(){r.c(),i=T(),this.c=e},m(e,t){s[n].m(e,t),p(e,i,t),o=!0},p(e,[t]){let o=n;n=l(e),n===o?s[n].p(e,t):(W(),Z(s[o],1,1,(()=>{s[o]=null})),q(),r=s[n],r?r.p(e,t):(r=s[n]=a[n](e),r.c()),J(r,1),r.m(i.parentNode,i))},i(e){o||(J(r),o=!0)},o(e){Z(r),o=!1},d(e){s[n].d(e),e&&g(i)}}}function jo(e,t,n){let{tournamentdescription:r}=t;return e.$$set=e=>{"tournamentdescription"in e&&n(0,r=e.tournamentdescription)},e.$$.update=()=>{/*tournamentdescription*/1&e.$$.dirty&&r&&n(0,r)},[r]}customElements.define("tm-cell",Fo);class Yo extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},jo,Io,a,{tournamentdescription:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["tournamentdescription"]}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(e){this.$$set({tournamentdescription:e}),I()}}customElements.define("description-cell",Yo);var Go="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle cx='4.9999' cy='4.9999' r='4.9999' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1149)'%3e %3cline x1='4.93332' y1='4' x2='4.93332' y2='7.99992' stroke='%2359CA00' stroke-width='1.86663'/%3e %3cpath d='M4.99896 2L7.59699 4.99994H2.40094L4.99896 2Z' fill='%2359CA00'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1149'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='translate(1.99902 2)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",Vo="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle r='4.9999' transform='matrix(1 0 0 -1 4.9999 5.0001)' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1154)'%3e %3cline y1='-0.933315' x2='3.99992' y2='-0.933315' transform='matrix(0 -1 -1 0 4 6)' stroke='%23CA0000' stroke-width='1.86663'/%3e %3cpath d='M4.99896 8L7.59699 5.00006H2.40094L4.99896 8Z' fill='%23CA0000'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1154'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='matrix(1 0 0 -1 1.99902 8)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e";
846
+ function Ha(e){let t,n;return t=new gi({props:{title:/*desc*/e[2].title,text:/*desc*/e[2].description,exportparts:"DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"}}),{c(){Q(t.$$.fragment)},m(e,r){ee(t,e,r),n=!0},p(e,n){const r={};/*tournamentdescription*/1&n&&(r.title=/*desc*/e[2].title),/*tournamentdescription*/1&n&&(r.text=/*desc*/e[2].description),t.$set(r)},i(e){n||(J(t.$$.fragment,e),n=!0)},o(e){Z(t.$$.fragment,e),n=!1},d(e){te(t,e)}}}function Ua(t){let n,r,i,a;const o=[Na,Fa],s=[];function l(e,t){/*tournamentdescription*/
847
+ return e[0]&&/*tournamentdescription*/e[0].length>0?0:1}return n=l(t),r=s[n]=o[n](t),{c(){r.c(),i=T(),this.c=e},m(e,t){s[n].m(e,t),p(e,i,t),a=!0},p(e,[t]){let a=n;n=l(e),n===a?s[n].p(e,t):(W(),Z(s[a],1,1,(()=>{s[a]=null})),q(),r=s[n],r?r.p(e,t):(r=s[n]=o[n](e),r.c()),J(r,1),r.m(i.parentNode,i))},i(e){a||(J(r),a=!0)},o(e){Z(r),a=!1},d(e){s[n].d(e),e&&g(i)}}}function Ia(e,t,n){let{tournamentdescription:r}=t;return e.$$set=e=>{"tournamentdescription"in e&&n(0,r=e.tournamentdescription)},e.$$.update=()=>{/*tournamentdescription*/1&e.$$.dirty&&r&&n(0,r)},[r]}customElements.define("tm-cell",za);class ja extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ia,Ua,o,{tournamentdescription:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["tournamentdescription"]}get tournamentdescription(){return this.$$.ctx[0]}set tournamentdescription(e){this.$$set({tournamentdescription:e}),I()}}customElements.define("description-cell",ja);var Ya="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle cx='4.9999' cy='4.9999' r='4.9999' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1149)'%3e %3cline x1='4.93332' y1='4' x2='4.93332' y2='7.99992' stroke='%2359CA00' stroke-width='1.86663'/%3e %3cpath d='M4.99896 2L7.59699 4.99994H2.40094L4.99896 2Z' fill='%2359CA00'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1149'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='translate(1.99902 2)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",Ga="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle r='4.9999' transform='matrix(1 0 0 -1 4.9999 5.0001)' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1154)'%3e %3cline y1='-0.933315' x2='3.99992' y2='-0.933315' transform='matrix(0 -1 -1 0 4 6)' stroke='%23CA0000' stroke-width='1.86663'/%3e %3cpath d='M4.99896 8L7.59699 5.00006H2.40094L4.99896 8Z' fill='%23CA0000'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1154'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='matrix(1 0 0 -1 1.99902 8)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e";
848
848
  /* src/Cells/LeaderboardCell.svelte generated by Svelte v3.59.2 */
849
- function Wo(e,t,n){const r=e.slice();return r[74]=t[n],r}function qo(e,t,n){const r=e.slice();return r[71]=t[n],r}function Jo(e,t,n){const r=e.slice();return r[74]=t[n],r[80]=n,r}function Zo(e,t,n){const r=e.slice();return r[71]=t[n],r}function Ko(e,t,n){const r=e.slice();return r[74]=t[n],r}
850
- // (564:2) {:else}
851
- function Xo(e){let t,n,r,i,o,a,s,l,u,c=/*$_*/e[15]("tournamentsTable.nowinners")+"",d=/*columns*/e[4],h=[];for(let t=0;t<d.length;t+=1)h[t]=ra(Wo(e,d,t));return{c(){t=y("div"),n=y("table"),r=y("thead"),i=y("tr");for(let e=0;e<h.length;e+=1)h[e].c();o=v(),a=y("tbody"),s=y("tr"),l=y("td"),u=C(c),_(i,"part","LeftTableTr"),_(r,"part","LeftTableThead"),_(r,"class","LeftTableThead"),_(l,"colspan",/*tooltipColSpan*/e[9]),_(l,"part","LeftTableTd"),_(s,"part","LeftTableTr"),_(a,"part","LeftTableTbody"),_(a,"class","LeftTableTbody"),_(n,"class","LeftTable"),_(n,"part","LeftTable"),_(t,"class","TournamentsTable"),_(t,"part","TournamentsTable"),S(t,"display",/*isLoading*/e[10]?"none":"")},m(e,c){p(e,t,c),m(t,n),m(n,r),m(r,i);for(let e=0;e<h.length;e+=1)h[e]&&h[e].m(i,null);m(n,o),m(n,a),m(a,s),m(s,l),m(l,u)},p(e,n){if(/*sort, sortBy, columns, $_, sortable*/172050&n[0]){let t;for(d=/*columns*/e[4],t=0;t<d.length;t+=1){const r=Wo(e,d,t);h[t]?h[t].p(r,n):(h[t]=ra(r),h[t].c(),h[t].m(i,null))}for(;t<h.length;t+=1)h[t].d(1);h.length=d.length}/*$_*/32768&n[0]&&c!==(c=/*$_*/e[15]("tournamentsTable.nowinners")+"")&&k(u,c),/*tooltipColSpan*/512&n[0]&&_(l,"colspan",/*tooltipColSpan*/e[9]),/*isLoading*/1024&n[0]&&S(t,"display",/*isLoading*/e[10]?"none":"")},d(e){e&&g(t),b(h,e)}}}
852
- // (558:2) {#if isMobile(userAgent) == true}
853
- function Qo(e){let t,n=/*showTable*/e[6]&&!/*isLoading*/e[10]&&ia(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*showTable*/e[6]&&!/*isLoading*/e[10]?n?n.p(e,r):(n=ia(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
854
- // (361:0) {#if !isLoading && (data.length > 0 || firstRowData)}
855
- function ea(e){let t;let n=function(e,t){return 1==ti(/*userAgent*/e[16])?aa:oa}(e),r=n(e);return{c(){r.c(),t=T()},m(e,n){r.m(e,n),p(e,t,n)},p(e,t){r.p(e,t)},d(e){r.d(e),e&&g(t)}}}
856
- // (575:14) {:else}
857
- function ta(e){let t,n,r=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"";return{c(){t=y("p"),n=C(r),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableP")},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/32784&i[0]&&r!==(r=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"")&&k(n,r),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t)}}}
858
- // (571:14) {#if sortable == 'true'}
859
- function na(e){let t,n,r,i,o=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"";function a(){/*click_handler_3*/
860
- return e[38](/*column*/e[74])}return{c(){t=y("button"),n=C(o),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableButton")},m(e,o){p(e,t,o),m(t,n),r||(i=x(t,"click",a),r=!0)},p(r,i){e=r,/*$_, columns*/32784&i[0]&&o!==(o=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"")&&k(n,o),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t),r=!1,i()}}}
861
- // (569:10) {#each columns as column}
862
- function ra(e){let t,n;function r(e,t){/*sortable*/
863
- return"true"==e[1]?na:ta}let i=r(e),o=i(e);return{c(){t=y("th"),o.c(),n=v(),_(t,"part","LeftTableTh")},m(e,r){p(e,t,r),o.m(t,null),m(t,n)},p(e,a){i===(i=r(e))&&o?o.p(e,a):(o.d(1),o=i(e),o&&(o.c(),o.m(t,n)))},d(e){e&&g(t),o.d()}}}
864
- // (559:4) {#if showTable && !isLoading}
865
- function ia(e){let t,n,r,i,o=/*$_*/e[15]("tournamentsTable.nowinners")+"";return{c(){t=y("div"),n=y("div"),r=y("p"),i=C(o),_(n,"class","TableUser"),_(n,"part","TableUser"),_(t,"class","TableContent"),_(t,"part","TableContent")},m(e,o){p(e,t,o),m(t,n),m(n,r),m(r,i)},p(e,t){/*$_*/32768&t[0]&&o!==(o=/*$_*/e[15]("tournamentsTable.nowinners")+"")&&k(i,o)},d(e){e&&g(t)}}}
866
- // (422:2) {:else}
867
- function oa(e){let t,n,r,i,o,a,s,l,u,c,d,h,f=/*columns*/e[4],w=[];for(let t=0;t<f.length;t+=1)w[t]=ua(Jo(e,f,t));let C=/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]&&ca(e),T=/*showTable*/e[6]&&ga(e);function k(e,t){/*showTable*/
868
- return e[6]?ka:_a}let S=k(e),P=S(e);return{c(){t=y("div"),n=y("table"),r=y("thead"),i=y("tr");for(let e=0;e<w.length;e+=1)w[e].c();o=v(),a=y("tbody"),C&&C.c(),s=v(),T&&T.c(),l=v(),u=y("div"),c=y("div"),P.c(),_(i,"part","LeftTableTr"),_(i,"class","LeftTableTr"),_(r,"part","LeftTableThead"),_(r,"class","LeftTableThead"),_(a,"part","LeftTableTbody"),_(a,"class","LeftTableTbody"),_(n,"class","LeftTable"),_(n,"part","LeftTable"),_(c,"class","CollapseButton"),_(c,"part","CollapseButton"),_(u,"class","RightButton"),_(u,"part","RightButton"),_(t,"class","TournamentsTable"),_(t,"part","TournamentsTable")},m(f,g){p(f,t,g),m(t,n),m(n,r),m(r,i);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(i,null);m(n,o),m(n,a),C&&C.m(a,null),m(a,s),T&&T.m(a,null),m(t,l),m(t,u),m(u,c),P.m(c,null),d||(h=x(c,"click",/*click_handler_2*/e[37]),d=!0)},p(e,t){if(/*sort, sortBy, columns, $_, sortable*/172050&t[0]){let n;for(f=/*columns*/e[4],n=0;n<f.length;n+=1){const r=Jo(e,f,n);w[n]?w[n].p(r,t):(w[n]=ua(r),w[n].c(),w[n].m(i,null))}for(;n<w.length;n+=1)w[n].d(1);w.length=f.length}/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]?C?C.p(e,t):(C=ca(e),C.c(),C.m(a,s)):C&&(C.d(1),C=null),/*showTable*/e[6]?T?T.p(e,t):(T=ga(e),T.c(),T.m(a,null)):T&&(T.d(1),T=null),S!==(S=k(e))&&(P.d(1),P=S(e),P&&(P.c(),P.m(c,null)))},d(e){e&&g(t),b(w,e),C&&C.d(),T&&T.d(),P.d(),d=!1,h()}}}
869
- // (362:2) {#if isMobile(userAgent) == true}
870
- function aa(e){let t,n,r,i,o=/*columns*/e[4],a=[];for(let t=0;t<o.length;t+=1)a[t]=Ea(Ko(e,o,t));let s=/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]&&$a(e),l=/*showTable*/e[6]&&Ra(e);return{c(){t=y("div"),n=y("div");for(let e=0;e<a.length;e+=1)a[e].c();r=v(),s&&s.c(),i=v(),l&&l.c(),_(n,"class","TableUser TableHeadRow"),_(n,"part","TableUser TableHeadRow"),_(t,"class","TableContent"),_(t,"part","TableContent")},m(e,o){p(e,t,o),m(t,n);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null);m(t,r),s&&s.m(t,null),m(t,i),l&&l.m(t,null)},p(e,r){if(/*columns, sort, sortBy, $_, sortable*/172050&r[0]){let t;for(o=/*columns*/e[4],t=0;t<o.length;t+=1){const i=Ko(e,o,t);a[t]?a[t].p(i,r):(a[t]=Ea(i),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]?s?s.p(e,r):(s=$a(e),s.c(),s.m(t,i)):s&&(s.d(1),s=null),/*showTable*/e[6]?l?l.p(e,r):(l=Ra(e),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},d(e){e&&g(t),b(a,e),s&&s.d(),l&&l.d()}}}
871
- // (433:14) {:else}
872
- function sa(e){let t,n,r=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"";return{c(){t=y("p"),n=C(r),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableP"),_(t,"class","LeftTableP")},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/32784&i[0]&&r!==(r=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"")&&k(n,r),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t)}}}
873
- // (429:14) {#if sortable == 'true'}
874
- function la(e){let t,n,r,i,o=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"";function a(){/*click_handler_1*/
875
- return e[36](/*column*/e[74])}return{c(){t=y("button"),n=C(o),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableButton")},m(e,o){p(e,t,o),m(t,n),r||(i=x(t,"click",a),r=!0)},p(r,i){e=r,/*$_, columns*/32784&i[0]&&o!==(o=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"")&&k(n,o),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t),r=!1,i()}}}
876
- // (427:10) {#each columns as column, index}
877
- function ua(e){let t,n;function r(e,t){/*sortable*/
878
- return"true"==e[1]?la:sa}let i=r(e),o=i(e);return{c(){t=y("th"),o.c(),n=v(),_(t,"part","LeftTableTh LeftTableTh_"+/*index*/e[80]),_(t,"class","LeftTableTh")},m(e,r){p(e,t,r),o.m(t,null),m(t,n)},p(e,a){i===(i=r(e))&&o?o.p(e,a):(o.d(1),o=i(e),o&&(o.c(),o.m(t,n)))},d(e){e&&g(t),o.d()}}}
879
- // (441:8) {#if firstrow == 'true' && firstRowData}
880
- function ca(e){let t,n,r,i,o,a,s,l,c,d,h,f,b,w,x,S,P,E,$,L,D,M,R,A,B,O,F,z,N,H,U,I,j=/*firstRowData*/e[5].Player+"",Y=/*firstRowData*/e[5].Points+"";function G(e,t){/*firstRowData*/
881
- return e[5].Rank<4&&/*showrankasimage*/"true"==e[2]?ha:da}let V=G(e),W=V(e);function q(e,t){/*firstRowData*/
882
- return e[5].Prize?ma:fa}let J=q(e),Z=J(e),K=/*firstRowData*/e[5].Unqualified&&pa(e);return{c(){t=y("tr"),n=y("td"),r=y("div"),i=y("strong"),W.c(),o=v(),a=y("div"),s=y("img"),d=v(),h=y("img"),S=v(),P=y("td"),E=y("div"),$=C(j),L=v(),D=y("td"),M=y("div"),R=C(Y),A=v(),B=y("td"),O=y("div"),Z.c(),U=v(),K&&K.c(),I=T(),u(s.src,l=Go)||_(s,"src",l),_(s,"alt","UpArrow"),_(s,"part","Rank_Arror_UP"),_(s,"class",c="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden")),u(h.src,f=Vo)||_(h,"src",f),_(h,"alt","DownArrow"),_(h,"part","Rank_Arror_Down"),_(h,"class",b="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden")),_(a,"class",w="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(a,"part",x="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(i,"class","RankCol"),_(i,"part","RankCol"),_(r,"part","TableCellContent"),_(r,"class","TableCellContent CellContent"),_(n,"part","LeftTableTd RankFirstRow"),_(n,"class","LeftTableTd"),_(E,"part","TableCellContent"),_(E,"class","TableCellContent CellContent"),_(P,"part","LeftTableTd"),_(P,"class","LeftTableTd"),_(M,"class","Flex CellContent"),_(M,"part","Flex"),_(D,"part","LeftTableTd"),_(D,"class","LeftTableTd"),_(O,"class","PrizeCell CellContent"),_(O,"part","PrizeCell"),_(B,"class",F="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(B,"part",z="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(t,"class",N="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":"")),_(t,"part",H="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),W.m(i,null),m(i,o),m(i,a),m(a,s),m(a,d),m(a,h),m(t,S),m(t,P),m(P,E),m(E,$),m(t,L),m(t,D),m(D,M),m(M,R),m(t,A),m(t,B),m(B,O),Z.m(O,null),p(e,U,l),K&&K.m(e,l),p(e,I,l)},p(e,n){V===(V=G(e))&&W?W.p(e,n):(W.d(1),W=V(e),W&&(W.c(),W.m(i,o))),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&c!==(c="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(s,"class",c),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&b!==(b="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(h,"class",b),/*isUserPositionChanged*/128&n[0]&&w!==(w="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(a,"class",w),/*isUserPositionChanged*/128&n[0]&&x!==(x="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(a,"part",x),/*firstRowData*/32&n[0]&&j!==(j=/*firstRowData*/e[5].Player+"")&&k($,j),/*firstRowData*/32&n[0]&&Y!==(Y=/*firstRowData*/e[5].Points+"")&&k(R,Y),J===(J=q(e))&&Z?Z.p(e,n):(Z.d(1),Z=J(e),Z&&(Z.c(),Z.m(O,null))),/*firstRowData*/32&n[0]&&F!==(F="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(B,"class",F),/*firstRowData*/32&n[0]&&z!==(z="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(B,"part",z),/*firstRowData*/32&n[0]&&N!==(N="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"class",N),/*firstRowData*/32&n[0]&&H!==(H="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"part",H),/*firstRowData*/e[5].Unqualified?K?K.p(e,n):(K=pa(e),K.c(),K.m(I.parentNode,I)):K&&(K.d(1),K=null)},d(e){e&&g(t),W.d(),Z.d(),e&&g(U),K&&K.d(e),e&&g(I)}}}
883
- // (448:16) {:else}
884
- function da(e){let t,n,r,i=/*firstRowData*/e[5].Rank+"";return{c(){t=y("em"),n=C("#"),r=C(i),_(t,"part","LeftTableTdEm")},m(e,i){p(e,t,i),m(t,n),m(t,r)},p(e,t){/*firstRowData*/32&t[0]&&i!==(i=/*firstRowData*/e[5].Rank+"")&&k(r,i)},d(e){e&&g(t)}}}
885
- // (446:16) {#if firstRowData.Rank < 4 && showrankasimage=='true'}
886
- function ha(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[12][/*firstRowData*/e[5].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, firstRowData*/4128&r[0]&&!u(t.src,n=/*rankImgs*/e[12][/*firstRowData*/e[5].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
887
- // (468:16) {:else}
888
- function fa(t){let n;return{c(){n=C("-")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
889
- // (466:16) {#if firstRowData.Prize}
890
- function ma(e){let t,n=/*firstRowData*/e[5].Prize+"";return{c(){t=C(n)},m(e,n){p(e,t,n)},p(e,r){/*firstRowData*/32&r[0]&&n!==(n=/*firstRowData*/e[5].Prize+"")&&k(t,n)},d(e){e&&g(t)}}}
891
- // (474:10) {#if firstRowData.Unqualified}
892
- function pa(e){let t,n,r,i,o,a,s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("tr"),n=y("td"),r=w("svg"),i=w("path"),o=v(),a=C(s),_(i,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(r,"class","ExclamationMark"),_(r,"part","ExclamationMark"),_(r,"width","10"),_(r,"height","10"),_(r,"viewBox","0 0 10 10"),_(r,"fill","none"),_(r,"xmlns","http://www.w3.org/2000/svg"),_(n,"colspan",/*tooltipColSpan*/e[9]),_(n,"part","LeftTableTd"),_(n,"class","LeftTableTd"),_(t,"class","TooltipsRow"),_(t,"part","TooltipsRow")},m(e,s){p(e,t,s),m(t,n),m(n,r),m(r,i),m(n,o),m(n,a)},p(e,t){/*$_*/32768&t[0]&&s!==(s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(a,s),/*tooltipColSpan*/512&t[0]&&_(n,"colspan",/*tooltipColSpan*/e[9])},d(e){e&&g(t)}}}
893
- // (485:8) {#if showTable}
894
- function ga(e){let t,n=/*display*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=xa(qo(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=T()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);p(e,t,n)},p(e,i){if(/*display, tooltipColSpan, $_, _fractiondigit, isUserPositionChanged, isUserPositionUp, rankImgs, showrankasimage*/56196&i[0]){let o;for(n=/*display*/e[14],o=0;o<n.length;o+=1){const a=qo(e,n,o);r[o]?r[o].p(a,i):(r[o]=xa(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){b(r,e),e&&g(t)}}}
895
- // (495:22) {:else}
896
- function ba(e){let t,n,r=/*row*/e[71].Rank+"";return{c(){t=C("#"),n=C(r)},m(e,r){p(e,t,r),p(e,n,r)},p(e,t){/*display*/16384&t[0]&&r!==(r=/*row*/e[71].Rank+"")&&k(n,r)},d(e){e&&g(t),e&&g(n)}}}
897
- // (493:22) {#if row.Rank < 4 && showrankasimage=='true'}
898
- function ya(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[12][/*row*/e[71].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, display*/20480&r[0]&&!u(t.src,n=/*rankImgs*/e[12][/*row*/e[71].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
899
- // (499:24) {#if row.isCurrentUser}
900
- function wa(e){let t,n,r,i,o,a,s;return{c(){t=y("img"),i=v(),o=y("img"),u(t.src,n=Go)||_(t,"src",n),_(t,"alt","UpArrow"),_(t,"part","Rank_Arror_UP"),_(t,"class",r="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden")),u(o.src,a=Vo)||_(o,"src",a),_(o,"alt","DownArrow"),_(o,"part","Rank_Arror_Down"),_(o,"class",s="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))},m(e,n){p(e,t,n),p(e,i,n),p(e,o,n)},p(e,n){/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&r!==(r="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(t,"class",r),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&s!==(s="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(o,"class",s)},d(e){e&&g(t),e&&g(i),e&&g(o)}}}
901
- // (522:18) {:else}
902
- function Ca(t){let n;return{c(){n=C("-")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
903
- // (520:18) {#if row.Prize}
904
- function va(e){let t,n=/*row*/e[71].Prize+"";return{c(){t=C(n)},m(e,n){p(e,t,n)},p(e,r){/*display*/16384&r[0]&&n!==(n=/*row*/e[71].Prize+"")&&k(t,n)},d(e){e&&g(t)}}}
905
- // (528:12) {#if row.Unqualified && row.isCurrentUser}
906
- function Ta(e){let t,n,r,i,o,a,s,l,u=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("tr"),n=y("td"),r=w("svg"),i=w("path"),o=v(),a=C(u),s=v(),_(i,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(r,"class","ExclamationMark"),_(r,"part","ExclamationMark"),_(r,"width","10"),_(r,"height","10"),_(r,"viewBox","0 0 10 10"),_(r,"fill","none"),_(r,"xmlns","http://www.w3.org/2000/svg"),_(n,"colspan",/*tooltipColSpan*/e[9]),_(n,"part","LeftTableTd"),_(n,"class","LeftTableTd"),_(t,"class",l="TooltipsRow Rank"+/*row*/e[71].Rank+"Tr CurrentUserTr"),_(t,"part","TooltipsRow")},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),m(n,o),m(n,a),m(t,s)},p(e,r){/*$_*/32768&r[0]&&u!==(u=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(a,u),/*tooltipColSpan*/512&r[0]&&_(n,"colspan",/*tooltipColSpan*/e[9]),/*display*/16384&r[0]&&l!==(l="TooltipsRow Rank"+/*row*/e[71].Rank+"Tr CurrentUserTr")&&_(t,"class",l)},d(e){e&&g(t)}}}
907
- // (486:10) {#each display as row}
908
- function xa(e){let t,n,r,i,o,a,s,l,u,c,d,h,f,b,w,x,S,P,E,$,L,D,M,R,A,B,O,F,z=/*row*/e[71].Player+"",N=/*row*/e[71].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"";function H(e,t){/*row*/
909
- return e[71].Rank<4&&/*showrankasimage*/"true"==e[2]?ya:ba}let U=H(e),I=U(e),j=/*row*/e[71].isCurrentUser&&wa(e);function Y(e,t){/*row*/
910
- return e[71].Prize?va:Ca}let G=Y(e),V=G(e),W=/*row*/e[71].Unqualified&&/*row*/e[71].isCurrentUser&&Ta(e);return{c(){t=y("tr"),n=y("td"),r=y("div"),i=y("strong"),o=y("em"),I.c(),a=v(),s=y("div"),j&&j.c(),d=v(),h=y("td"),f=y("div"),b=C(z),w=v(),x=y("td"),S=y("div"),P=y("div"),E=C(N),$=v(),L=y("td"),D=y("div"),V.c(),O=v(),W&&W.c(),F=T(),_(s,"class",l="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(s,"part",u="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(o,"part","LeftTableTdEm"),_(i,"class","RankCol"),_(i,"part","RankCol"),_(r,"part","TableCellContent"),_(r,"class","Table CellContent"),_(n,"part",c="LeftTableTd Rank-"+/*row*/e[71].Rank),_(n,"class","LeftTableTd"),_(f,"part","PlayerCellContent"),_(f,"class","Player CellContent"),_(h,"part","LeftTableTd"),_(h,"class","LeftTableTd"),_(P,"class","Flex ScoreUp"),_(P,"part","Flex ScoreUp"),_(S,"part","ScoreCellContent"),_(S,"class","Score CellContent"),_(x,"part","LeftTableTd"),_(x,"class","LeftTableTd"),_(D,"part","PrizeCellContent"),_(D,"class","Prize CellContent "),_(L,"class",M="LeftTableTd "+(/*row*/e[71].Unqualified?"":"Qualified")),_(L,"part",R="LeftTableTd "+(/*row*/e[71].Unqualified?"":"Qualified")),_(t,"class",A="LeftTableTr Rank"+/*row*/e[71].Rank+"Tr "+(/*row*/e[71].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[71].isCurrentUser&&/*row*/e[71].Unqualified?"UnqualifiedRow":"")),_(t,"part",B="LeftTableTr "+(/*row*/e[71].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[71].isCurrentUser&&/*row*/e[71].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),m(i,o),I.m(o,null),m(o,a),m(o,s),j&&j.m(s,null),m(t,d),m(t,h),m(h,f),m(f,b),m(t,w),m(t,x),m(x,S),m(S,P),m(P,E),m(t,$),m(t,L),m(L,D),V.m(D,null),p(e,O,l),W&&W.m(e,l),p(e,F,l)},p(e,r){U===(U=H(e))&&I?I.p(e,r):(I.d(1),I=U(e),I&&(I.c(),I.m(o,a))),/*row*/e[71].isCurrentUser?j?j.p(e,r):(j=wa(e),j.c(),j.m(s,null)):j&&(j.d(1),j=null),/*isUserPositionChanged*/128&r[0]&&l!==(l="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(s,"class",l),/*isUserPositionChanged*/128&r[0]&&u!==(u="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(s,"part",u),/*display*/16384&r[0]&&c!==(c="LeftTableTd Rank-"+/*row*/e[71].Rank)&&_(n,"part",c),/*display*/16384&r[0]&&z!==(z=/*row*/e[71].Player+"")&&k(b,z),/*display, _fractiondigit*/18432&r[0]&&N!==(N=/*row*/e[71].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"")&&k(E,N),G===(G=Y(e))&&V?V.p(e,r):(V.d(1),V=G(e),V&&(V.c(),V.m(D,null))),/*display*/16384&r[0]&&M!==(M="LeftTableTd "+(/*row*/e[71].Unqualified?"":"Qualified"))&&_(L,"class",M),/*display*/16384&r[0]&&R!==(R="LeftTableTd "+(/*row*/e[71].Unqualified?"":"Qualified"))&&_(L,"part",R),/*display*/16384&r[0]&&A!==(A="LeftTableTr Rank"+/*row*/e[71].Rank+"Tr "+(/*row*/e[71].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[71].isCurrentUser&&/*row*/e[71].Unqualified?"UnqualifiedRow":""))&&_(t,"class",A),/*display*/16384&r[0]&&B!==(B="LeftTableTr "+(/*row*/e[71].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[71].isCurrentUser&&/*row*/e[71].Unqualified?"UnqualifiedRow":""))&&_(t,"part",B),/*row*/e[71].Unqualified&&/*row*/e[71].isCurrentUser?W?W.p(e,r):(W=Ta(e),W.c(),W.m(F.parentNode,F)):W&&(W.d(1),W=null)},d(e){e&&g(t),I.d(),j&&j.d(),V.d(),e&&g(O),W&&W.d(e),e&&g(F)}}}
911
- // (548:10) {:else}
912
- function _a(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M6 9l6 6 6-6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
913
- // (544:10) {#if showTable}
914
- function ka(e){let t,n;return{c(){t=w("svg"),n=w("path"),_(n,"d","M18 15l-6-6-6 6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
915
- // (371:12) {:else}
916
- function Sa(e){let t,n,r=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"";return{c(){t=y("p"),n=C(r),_(t,"data-sort",/*sort*/e[13])},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/32784&i[0]&&r!==(r=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"")&&k(n,r),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t)}}}
917
- // (367:12) {#if sortable == 'true'}
918
- function Pa(e){let t,n,r,i,o=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"";function a(){/*click_handler*/
919
- return e[35](/*column*/e[74])}return{c(){t=y("button"),n=C(o),_(t,"data-sort",/*sort*/e[13])},m(e,o){p(e,t,o),m(t,n),r||(i=x(t,"click",a),r=!0)},p(r,i){e=r,/*$_, columns*/32784&i[0]&&o!==(o=/*$_*/e[15](`tournamentsTable.${/*column*/e[74]}`)+"")&&k(n,o),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t),r=!1,i()}}}
920
- // (365:8) {#each columns as column}
921
- function Ea(e){let t,n,r,i;function o(e,t){/*sortable*/
922
- return"true"==e[1]?Pa:Sa}let a=o(e),s=a(e);return{c(){t=y("div"),s.c(),n=v(),_(t,"class",r="TableCell Table"+/*column*/e[74]),_(t,"part",i="TableCell Table"+/*column*/e[74])},m(e,r){p(e,t,r),s.m(t,null),m(t,n)},p(e,l){a===(a=o(e))&&s?s.p(e,l):(s.d(1),s=a(e),s&&(s.c(),s.m(t,n))),/*columns*/16&l[0]&&r!==(r="TableCell Table"+/*column*/e[74])&&_(t,"class",r),/*columns*/16&l[0]&&i!==(i="TableCell Table"+/*column*/e[74])&&_(t,"part",i)},d(e){e&&g(t),s.d()}}}
923
- // (377:6) {#if firstrow == 'true' && firstRowData}
924
- function $a(e){let t,n,r,i,o,a,s,l,u,c,d,h,f,b,w,x,S=/*firstRowData*/e[5].Rank+"",P=/*firstRowData*/e[5].Player+"",E=/*firstRowData*/e[5].Points+"";function $(e,t){/*firstRowData*/
925
- return e[5].Prize?Da:La}let L=$(e),D=L(e),M=/*firstRowData*/e[5].Unqualified&&Ma(e);return{c(){t=y("div"),n=y("div"),r=C(S),a=v(),s=y("div"),l=C(P),u=v(),c=y("div"),d=C(E),h=v(),D.c(),w=v(),M&&M.c(),x=T(),_(n,"class",i="TableCell TableRank "+(/*firstRowData*/e[5].Prize?"Qualified":"")),_(n,"part",o="TableCell TableRank RankFirstRow "+(/*firstRowData*/e[5].Prize?"Qualified":"")),_(s,"class","TableCell TablePlayer"),_(s,"part","TableCell TablePlayer"),_(c,"class","TableCell TablePoints"),_(c,"part","TableCell TablePoints"),_(t,"class",f="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":"")),_(t,"part",b="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))},m(e,i){p(e,t,i),m(t,n),m(n,r),m(t,a),m(t,s),m(s,l),m(t,u),m(t,c),m(c,d),m(t,h),D.m(t,null),p(e,w,i),M&&M.m(e,i),p(e,x,i)},p(e,a){/*firstRowData*/32&a[0]&&S!==(S=/*firstRowData*/e[5].Rank+"")&&k(r,S),/*firstRowData*/32&a[0]&&i!==(i="TableCell TableRank "+(/*firstRowData*/e[5].Prize?"Qualified":""))&&_(n,"class",i),/*firstRowData*/32&a[0]&&o!==(o="TableCell TableRank RankFirstRow "+(/*firstRowData*/e[5].Prize?"Qualified":""))&&_(n,"part",o),/*firstRowData*/32&a[0]&&P!==(P=/*firstRowData*/e[5].Player+"")&&k(l,P),/*firstRowData*/32&a[0]&&E!==(E=/*firstRowData*/e[5].Points+"")&&k(d,E),L===(L=$(e))&&D?D.p(e,a):(D.d(1),D=L(e),D&&(D.c(),D.m(t,null))),/*firstRowData*/32&a[0]&&f!==(f="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"class",f),/*firstRowData*/32&a[0]&&b!==(b="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"part",b),/*firstRowData*/e[5].Unqualified?M?M.p(e,a):(M=Ma(e),M.c(),M.m(x.parentNode,x)):M&&(M.d(1),M=null)},d(e){e&&g(t),D.d(),e&&g(w),M&&M.d(e),e&&g(x)}}}
926
- // (386:10) {:else}
927
- function La(t){let n;return{c(){n=y("div"),n.textContent="-",_(n,"class","TableCell TablePrize"),_(n,"part","TableCell TablePrize")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
928
- // (384:10) {#if firstRowData.Prize}
929
- function Da(e){let t,n,r,i,o=/*firstRowData*/e[5].Prize+"";return{c(){t=y("div"),n=C(o),_(t,"class",r="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(t,"part",i="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))},m(e,r){p(e,t,r),m(t,n)},p(e,a){/*firstRowData*/32&a[0]&&o!==(o=/*firstRowData*/e[5].Prize+"")&&k(n,o),/*firstRowData*/32&a[0]&&r!==(r="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(t,"class",r),/*firstRowData*/32&a[0]&&i!==(i="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(t,"part",i)},d(e){e&&g(t)}}}
930
- // (390:8) {#if firstRowData.Unqualified}
931
- function Ma(e){let t,n,r,i,o,a,s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("div"),n=w("svg"),r=w("path"),i=v(),o=y("em"),a=C(s),_(r,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(n,"class","ExclamationMark"),_(n,"part","ExclamationMark"),_(n,"width","10"),_(n,"height","10"),_(n,"viewBox","0 0 10 10"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(o,"part","TableUserTooltipsEm"),_(t,"class","TableUserTooltips"),_(t,"part","TableUserTooltips")},m(e,s){p(e,t,s),m(t,n),m(n,r),m(t,i),m(t,o),m(o,a)},p(e,t){/*$_*/32768&t[0]&&s!==(s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(a,s)},d(e){e&&g(t)}}}
932
- // (399:6) {#if showTable}
933
- function Ra(e){let t,n=/*display*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=Fa(Zo(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=T()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);p(e,t,n)},p(e,i){if(/*display, $_, _fractiondigit*/51200&i[0]){let o;for(n=/*display*/e[14],o=0;o<n.length;o+=1){const a=Zo(e,n,o);r[o]?r[o].p(a,i):(r[o]=Fa(a),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){b(r,e),e&&g(t)}}}
934
- // (407:12) {:else}
935
- function Aa(t){let n;return{c(){n=y("div"),n.textContent="-",_(n,"class","TableCell TablePrize"),_(n,"part","TableCell TablePrize")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
936
- // (405:12) {#if row.Prize}
937
- function Ba(e){let t,n,r,i,o=/*row*/e[71].Prize+"";return{c(){t=y("div"),n=C(o),_(t,"class",r="TableCell TablePrize "+(/*row*/e[71].Unqualified?"":"Qualified")),_(t,"part",i="TableCell TablePrize "+(/*row*/e[71].Unqualified?"":"Qualified"))},m(e,r){p(e,t,r),m(t,n)},p(e,a){/*display*/16384&a[0]&&o!==(o=/*row*/e[71].Prize+"")&&k(n,o),/*display*/16384&a[0]&&r!==(r="TableCell TablePrize "+(/*row*/e[71].Unqualified?"":"Qualified"))&&_(t,"class",r),/*display*/16384&a[0]&&i!==(i="TableCell TablePrize "+(/*row*/e[71].Unqualified?"":"Qualified"))&&_(t,"part",i)},d(e){e&&g(t)}}}
938
- // (411:10) {#if row.isCurrentUser && row.Unqualified}
939
- function Oa(e){let t,n,r,i,o,a,s,l,u,c=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("div"),n=w("svg"),r=w("path"),i=v(),o=y("em"),a=C(c),s=v(),_(r,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(n,"class","ExclamationMark"),_(n,"part","ExclamationMark"),_(n,"width","10"),_(n,"height","10"),_(n,"viewBox","0 0 10 10"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(o,"part","TableUserTooltipsEm"),_(t,"class",l="TableUserTooltips "+(/*row*/e[71].Unqualified?"UnqualifiedRow":"")),_(t,"part",u="TableUserTooltips "+(/*row*/e[71].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(t,i),m(t,o),m(o,a),m(t,s)},p(e,n){/*$_*/32768&n[0]&&c!==(c=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(a,c),/*display*/16384&n[0]&&l!==(l="TableUserTooltips "+(/*row*/e[71].Unqualified?"UnqualifiedRow":""))&&_(t,"class",l),/*display*/16384&n[0]&&u!==(u="TableUserTooltips "+(/*row*/e[71].Unqualified?"UnqualifiedRow":""))&&_(t,"part",u)},d(e){e&&g(t)}}}
940
- // (400:8) {#each display as row}
941
- function Fa(e){let t,n,r,i,o,a,s,l,u,c,d,h,f,b,w,x,S=/*row*/e[71].Rank+"",P=/*row*/e[71].Player+"",E=/*row*/e[71].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"";function $(e,t){/*row*/
942
- return e[71].Prize?Ba:Aa}let L=$(e),D=L(e),M=/*row*/e[71].isCurrentUser&&/*row*/e[71].Unqualified&&Oa(e);return{c(){t=y("div"),n=y("div"),r=C(S),a=v(),s=y("div"),l=C(P),u=v(),c=y("div"),d=C(E),h=v(),D.c(),w=v(),M&&M.c(),x=T(),_(n,"class",i="TableCell TableRank "+(/*row*/e[71].Prize?"Qualified":"")),_(n,"part",o="TableCell Rank-"+/*row*/e[71].Rank+" TableRank "+(/*row*/e[71].Prize?"Qualified":"")),_(s,"class","TableCell TablePlayer"),_(s,"part","TableCell TablePlayer"),_(c,"class","TableCell TablePoints"),_(c,"part","TableCell TablePoints"),_(t,"class",f="TableUser "+(/*row*/e[71].isCurrentUser?"CurrentUserRow":"")),_(t,"part",b="TableUser "+(/*row*/e[71].isCurrentUser?"CurrentUserRow":""))},m(e,i){p(e,t,i),m(t,n),m(n,r),m(t,a),m(t,s),m(s,l),m(t,u),m(t,c),m(c,d),m(t,h),D.m(t,null),p(e,w,i),M&&M.m(e,i),p(e,x,i)},p(e,a){/*display*/16384&a[0]&&S!==(S=/*row*/e[71].Rank+"")&&k(r,S),/*display*/16384&a[0]&&i!==(i="TableCell TableRank "+(/*row*/e[71].Prize?"Qualified":""))&&_(n,"class",i),/*display*/16384&a[0]&&o!==(o="TableCell Rank-"+/*row*/e[71].Rank+" TableRank "+(/*row*/e[71].Prize?"Qualified":""))&&_(n,"part",o),/*display*/16384&a[0]&&P!==(P=/*row*/e[71].Player+"")&&k(l,P),/*display, _fractiondigit*/18432&a[0]&&E!==(E=/*row*/e[71].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"")&&k(d,E),L===(L=$(e))&&D?D.p(e,a):(D.d(1),D=L(e),D&&(D.c(),D.m(t,null))),/*display*/16384&a[0]&&f!==(f="TableUser "+(/*row*/e[71].isCurrentUser?"CurrentUserRow":""))&&_(t,"class",f),/*display*/16384&a[0]&&b!==(b="TableUser "+(/*row*/e[71].isCurrentUser?"CurrentUserRow":""))&&_(t,"part",b),/*row*/e[71].isCurrentUser&&/*row*/e[71].Unqualified?M?M.p(e,a):(M=Oa(e),M.c(),M.m(x.parentNode,x)):M&&(M.d(1),M=null)},d(e){e&&g(t),D.d(),e&&g(w),M&&M.d(e),e&&g(x)}}}function za(t){let n,r;function i(e,t){return!/*isLoading*/e[10]&&(/*data*/e[3].length>0||/*firstRowData*/e[5])?ea:(null==n&&(n=!(1!=ti(/*userAgent*/e[16]))),n?Qo:Xo)}let o=i(t),a=o(t);return{c(){a.c(),r=T(),this.c=e},m(e,t){a.m(e,t),p(e,r,t)},p(e,t){o===(o=i(e))&&a?a.p(e,t):(a.d(1),a=o(e),a&&(a.c(),a.m(r.parentNode,r)))},i:e,o:e,d(e){a.d(e),e&&g(r)}}}function Na(e,t,n){let r,i,o;d(e,Yn,(e=>n(15,o=e)));let a,s,l,u,c,h,{sortable:f=!1}=t,{firstrow:m=!0}=t,{lang:p="en"}=t,{scorefractiondigit:g="2"}=t,{session:b=""}=t,{userid:y=""}=t,{tourid:w=""}=t,{endpoint:C=""}=t,{tablelimit:v="30"}=t,{namemask:T=""}=t,{showunqualifiedplayer:x="true"}=t,{mobiletablelimit:_="15"}=t,{updatetableintime:k="true"}=t,{minscore:S=""}=t,{showrankasimage:P="true"}=t,{cellsetting:E={firstrow:!0}}=t,$=[],L=[],D=null,R=null,A={},B=!0,O=window.navigator.userAgent,F=!1,z=!1,N=!1,H={},U=!1,I="",j=!0,Y=2;Object.keys(_i).forEach((e=>{bi(e,_i[e])}));
849
+ function Va(e,t,n){const r=e.slice();return r[72]=t[n],r}function Wa(e,t,n){const r=e.slice();return r[69]=t[n],r}function qa(e,t,n){const r=e.slice();return r[72]=t[n],r[78]=n,r}function Ja(e,t,n){const r=e.slice();return r[69]=t[n],r}function Za(e,t,n){const r=e.slice();return r[72]=t[n],r}
850
+ // (587:2) {:else}
851
+ function Ka(e){let t,n,r,i,a,o,s,l,u,c=/*$_*/e[15]("tournamentsTable.nowinners")+"",d=/*columns*/e[4],h=[];for(let t=0;t<d.length;t+=1)h[t]=no(Va(e,d,t));return{c(){t=y("div"),n=y("table"),r=y("thead"),i=y("tr");for(let e=0;e<h.length;e+=1)h[e].c();a=v(),o=y("tbody"),s=y("tr"),l=y("td"),u=w(c),_(i,"part","LeftTableTr"),_(r,"part","LeftTableThead"),_(r,"class","LeftTableThead"),_(l,"colspan",/*tooltipColSpan*/e[9]),_(l,"part","LeftTableTd"),_(s,"part","LeftTableTr"),_(o,"part","LeftTableTbody"),_(o,"class","LeftTableTbody"),_(n,"class","LeftTable"),_(n,"part","LeftTable"),_(t,"class","TournamentsTable"),_(t,"part","TournamentsTable"),P(t,"display",/*isLoading*/e[10]?"none":"")},m(e,c){p(e,t,c),m(t,n),m(n,r),m(r,i);for(let e=0;e<h.length;e+=1)h[e]&&h[e].m(i,null);m(n,a),m(n,o),m(o,s),m(s,l),m(l,u)},p(e,n){if(/*sort, sortBy, columns, $_, sortable*/172050&n[0]){let t;for(d=/*columns*/e[4],t=0;t<d.length;t+=1){const r=Va(e,d,t);h[t]?h[t].p(r,n):(h[t]=no(r),h[t].c(),h[t].m(i,null))}for(;t<h.length;t+=1)h[t].d(1);h.length=d.length}/*$_*/32768&n[0]&&c!==(c=/*$_*/e[15]("tournamentsTable.nowinners")+"")&&k(u,c),/*tooltipColSpan*/512&n[0]&&_(l,"colspan",/*tooltipColSpan*/e[9]),/*isLoading*/1024&n[0]&&P(t,"display",/*isLoading*/e[10]?"none":"")},d(e){e&&g(t),b(h,e)}}}
852
+ // (581:2) {#if isMobile(userAgent) == true}
853
+ function Xa(e){let t,n=/*showTable*/e[6]&&!/*isLoading*/e[10]&&ro(e);return{c(){n&&n.c(),t=T()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*showTable*/e[6]&&!/*isLoading*/e[10]?n?n.p(e,r):(n=ro(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&g(t)}}}
854
+ // (358:0) {#if !isLoading && (data.length > 0 || firstRowData)}
855
+ function Qa(e){let t;let n=function(e,t){return 1==ti(/*userAgent*/e[16])?ao:io}(e),r=n(e);return{c(){r.c(),t=T()},m(e,n){r.m(e,n),p(e,t,n)},p(e,t){r.p(e,t)},d(e){r.d(e),e&&g(t)}}}
856
+ // (598:14) {:else}
857
+ function eo(e){let t,n,r=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"";return{c(){t=y("p"),n=w(r),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableP")},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/32784&i[0]&&r!==(r=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,r),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t)}}}
858
+ // (594:14) {#if sortable == 'true'}
859
+ function to(e){let t,n,r,i,a=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"";function o(){/*click_handler_3*/
860
+ return e[38](/*column*/e[72])}return{c(){t=y("button"),n=w(a),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableButton")},m(e,a){p(e,t,a),m(t,n),r||(i=x(t,"click",o),r=!0)},p(r,i){e=r,/*$_, columns*/32784&i[0]&&a!==(a=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,a),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t),r=!1,i()}}}
861
+ // (592:10) {#each columns as column}
862
+ function no(e){let t,n;function r(e,t){/*sortable*/
863
+ return"true"==e[1]?to:eo}let i=r(e),a=i(e);return{c(){t=y("th"),a.c(),n=v(),_(t,"part","LeftTableTh")},m(e,r){p(e,t,r),a.m(t,null),m(t,n)},p(e,o){i===(i=r(e))&&a?a.p(e,o):(a.d(1),a=i(e),a&&(a.c(),a.m(t,n)))},d(e){e&&g(t),a.d()}}}
864
+ // (582:4) {#if showTable && !isLoading}
865
+ function ro(e){let t,n,r,i,a=/*$_*/e[15]("tournamentsTable.nowinners")+"";return{c(){t=y("div"),n=y("div"),r=y("p"),i=w(a),_(n,"class","TableUser"),_(n,"part","TableUser"),_(t,"class","TableContent"),_(t,"part","TableContent")},m(e,a){p(e,t,a),m(t,n),m(n,r),m(r,i)},p(e,t){/*$_*/32768&t[0]&&a!==(a=/*$_*/e[15]("tournamentsTable.nowinners")+"")&&k(i,a)},d(e){e&&g(t)}}}
866
+ // (437:2) {:else}
867
+ function io(e){let t,n,r,i,a,o,s,l,u,c,d,h,f=/*columns*/e[4],C=[];for(let t=0;t<f.length;t+=1)C[t]=lo(qa(e,f,t));let w=/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]&&uo(e),T=/*showTable*/e[6]&&yo(e);function k(e,t){/*showTable*/
868
+ return e[6]?$o:Eo}let P=k(e),S=P(e);return{c(){t=y("div"),n=y("table"),r=y("thead"),i=y("tr");for(let e=0;e<C.length;e+=1)C[e].c();a=v(),o=y("tbody"),w&&w.c(),s=v(),T&&T.c(),l=v(),u=y("div"),c=y("div"),S.c(),_(i,"part","LeftTableTr"),_(i,"class","LeftTableTr"),_(r,"part","LeftTableThead"),_(r,"class","LeftTableThead"),_(o,"part","LeftTableTbody"),_(o,"class","LeftTableTbody"),_(n,"class","LeftTable"),_(n,"part","LeftTable"),_(c,"class","CollapseButton"),_(c,"part","CollapseButton"),_(u,"class","RightButton"),_(u,"part","RightButton"),_(t,"class","TournamentsTable"),_(t,"part","TournamentsTable")},m(f,g){p(f,t,g),m(t,n),m(n,r),m(r,i);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(i,null);m(n,a),m(n,o),w&&w.m(o,null),m(o,s),T&&T.m(o,null),m(t,l),m(t,u),m(u,c),S.m(c,null),d||(h=x(c,"click",/*click_handler_2*/e[37]),d=!0)},p(e,t){if(/*sort, sortBy, columns, $_, sortable*/172050&t[0]){let n;for(f=/*columns*/e[4],n=0;n<f.length;n+=1){const r=qa(e,f,n);C[n]?C[n].p(r,t):(C[n]=lo(r),C[n].c(),C[n].m(i,null))}for(;n<C.length;n+=1)C[n].d(1);C.length=f.length}/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]?w?w.p(e,t):(w=uo(e),w.c(),w.m(o,s)):w&&(w.d(1),w=null),/*showTable*/e[6]?T?T.p(e,t):(T=yo(e),T.c(),T.m(o,null)):T&&(T.d(1),T=null),P!==(P=k(e))&&(S.d(1),S=P(e),S&&(S.c(),S.m(c,null)))},d(e){e&&g(t),b(C,e),w&&w.d(),T&&T.d(),S.d(),d=!1,h()}}}
869
+ // (359:2) {#if isMobile(userAgent) == true}
870
+ function ao(e){let t,n,r,i,a=/*columns*/e[4],o=[];for(let t=0;t<a.length;t+=1)o[t]=Mo(Za(e,a,t));let s=/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]&&Ro(e),l=/*showTable*/e[6]&&Uo(e);return{c(){t=y("div"),n=y("div");for(let e=0;e<o.length;e+=1)o[e].c();r=v(),s&&s.c(),i=v(),l&&l.c(),_(n,"class","TableUser TableHeadRow"),_(n,"part","TableUser TableHeadRow"),_(t,"class","TableContent"),_(t,"part","TableContent")},m(e,a){p(e,t,a),m(t,n);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(n,null);m(t,r),s&&s.m(t,null),m(t,i),l&&l.m(t,null)},p(e,r){if(/*columns, sort, sortBy, $_, sortable*/172050&r[0]){let t;for(a=/*columns*/e[4],t=0;t<a.length;t+=1){const i=Za(e,a,t);o[t]?o[t].p(i,r):(o[t]=Mo(i),o[t].c(),o[t].m(n,null))}for(;t<o.length;t+=1)o[t].d(1);o.length=a.length}/*firstrow*/"true"==e[0]&&/*firstRowData*/e[5]?s?s.p(e,r):(s=Ro(e),s.c(),s.m(t,i)):s&&(s.d(1),s=null),/*showTable*/e[6]?l?l.p(e,r):(l=Uo(e),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},d(e){e&&g(t),b(o,e),s&&s.d(),l&&l.d()}}}
871
+ // (448:14) {:else}
872
+ function oo(e){let t,n,r=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"";return{c(){t=y("p"),n=w(r),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableP"),_(t,"class","LeftTableP")},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/32784&i[0]&&r!==(r=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,r),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t)}}}
873
+ // (444:14) {#if sortable == 'true'}
874
+ function so(e){let t,n,r,i,a=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"";function o(){/*click_handler_1*/
875
+ return e[36](/*column*/e[72])}return{c(){t=y("button"),n=w(a),_(t,"data-sort",/*sort*/e[13]),_(t,"part","LeftTableButton")},m(e,a){p(e,t,a),m(t,n),r||(i=x(t,"click",o),r=!0)},p(r,i){e=r,/*$_, columns*/32784&i[0]&&a!==(a=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,a),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t),r=!1,i()}}}
876
+ // (442:10) {#each columns as column, index}
877
+ function lo(e){let t,n;function r(e,t){/*sortable*/
878
+ return"true"==e[1]?so:oo}let i=r(e),a=i(e);return{c(){t=y("th"),a.c(),n=v(),_(t,"part","LeftTableTh LeftTableTh_"+/*index*/e[78]),_(t,"class","LeftTableTh")},m(e,r){p(e,t,r),a.m(t,null),m(t,n)},p(e,o){i===(i=r(e))&&a?a.p(e,o):(a.d(1),a=i(e),a&&(a.c(),a.m(t,n)))},d(e){e&&g(t),a.d()}}}
879
+ // (456:8) {#if firstrow == 'true' && firstRowData}
880
+ function uo(e){let t,n,r,i,a,o,s,l,c,d,h,f,b,C,x,P,S,E,$,L,D,M,R,A,B,z,O,F,N,H,U,I,j=/*firstRowData*/e[5].Player+"",Y=/*firstRowData*/e[5].Points+"";function G(e,t){/*firstRowData*/
881
+ return e[5].Rank<4&&/*showrankasimage*/"true"==e[2]?ho:co}let V=G(e),W=V(e);function q(e,t){/*firstRowData*/
882
+ return e[5].Prize?go:po}let J=q(e),Z=J(e),K=/*firstRowData*/e[5].Unqualified&&bo(e);return{c(){t=y("tr"),n=y("td"),r=y("div"),i=y("strong"),W.c(),a=v(),o=y("div"),s=y("img"),d=v(),h=y("img"),P=v(),S=y("td"),E=y("div"),$=w(j),L=v(),D=y("td"),M=y("div"),R=w(Y),A=v(),B=y("td"),z=y("div"),Z.c(),U=v(),K&&K.c(),I=T(),u(s.src,l=Ya)||_(s,"src",l),_(s,"alt","UpArrow"),_(s,"part","Rank_Arror_UP"),_(s,"class",c="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden")),u(h.src,f=Ga)||_(h,"src",f),_(h,"alt","DownArrow"),_(h,"part","Rank_Arror_Down"),_(h,"class",b="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden")),_(o,"class",C="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(o,"part",x="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(i,"class","RankCol"),_(i,"part","RankCol"),_(r,"part","TableCellContent"),_(r,"class","TableCellContent CellContent"),_(n,"part","LeftTableTd RankFirstRow"),_(n,"class","LeftTableTd"),_(E,"part","TableCellContent"),_(E,"class","TableCellContent CellContent"),_(S,"part","LeftTableTd"),_(S,"class","LeftTableTd"),_(M,"class","Flex CellContent"),_(M,"part","Flex"),_(D,"part","LeftTableTd"),_(D,"class","LeftTableTd"),_(z,"class","PrizeCell CellContent"),_(z,"part","PrizeCell"),_(B,"class",O="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(B,"part",F="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(t,"class",N="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":"")),_(t,"part",H="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),W.m(i,null),m(i,a),m(i,o),m(o,s),m(o,d),m(o,h),m(t,P),m(t,S),m(S,E),m(E,$),m(t,L),m(t,D),m(D,M),m(M,R),m(t,A),m(t,B),m(B,z),Z.m(z,null),p(e,U,l),K&&K.m(e,l),p(e,I,l)},p(e,n){V===(V=G(e))&&W?W.p(e,n):(W.d(1),W=V(e),W&&(W.c(),W.m(i,a))),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&c!==(c="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(s,"class",c),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&b!==(b="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(h,"class",b),/*isUserPositionChanged*/128&n[0]&&C!==(C="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(o,"class",C),/*isUserPositionChanged*/128&n[0]&&x!==(x="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(o,"part",x),/*firstRowData*/32&n[0]&&j!==(j=/*firstRowData*/e[5].Player+"")&&k($,j),/*firstRowData*/32&n[0]&&Y!==(Y=/*firstRowData*/e[5].Points+"")&&k(R,Y),J===(J=q(e))&&Z?Z.p(e,n):(Z.d(1),Z=J(e),Z&&(Z.c(),Z.m(z,null))),/*firstRowData*/32&n[0]&&O!==(O="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(B,"class",O),/*firstRowData*/32&n[0]&&F!==(F="LeftTableTd "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(B,"part",F),/*firstRowData*/32&n[0]&&N!==(N="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"class",N),/*firstRowData*/32&n[0]&&H!==(H="FirstRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"part",H),/*firstRowData*/e[5].Unqualified?K?K.p(e,n):(K=bo(e),K.c(),K.m(I.parentNode,I)):K&&(K.d(1),K=null)},d(e){e&&g(t),W.d(),Z.d(),e&&g(U),K&&K.d(e),e&&g(I)}}}
883
+ // (467:16) {:else}
884
+ function co(e){let t,n,r,i=/*firstRowData*/(e[5].Rank||"")+"";return{c(){t=y("em"),n=w("#"),r=w(i),_(t,"part","LeftTableTdEm")},m(e,i){p(e,t,i),m(t,n),m(t,r)},p(e,t){/*firstRowData*/32&t[0]&&i!==(i=/*firstRowData*/(e[5].Rank||"")+"")&&k(r,i)},d(e){e&&g(t)}}}
885
+ // (461:16) {#if firstRowData.Rank < 4 && showrankasimage=='true'}
886
+ function ho(e){let t;function n(e,t){/*firstRowData*/
887
+ return e[5].Rank>0?mo:fo}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(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&&g(t)}}}
888
+ // (464:18) {:else }
889
+ function fo(t){let n;return{c(){n=y("em"),n.textContent="#",_(n,"part","LeftTableTdEm")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
890
+ // (462:18) {#if firstRowData.Rank > 0}
891
+ function mo(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[12][/*firstRowData*/e[5].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, firstRowData*/4128&r[0]&&!u(t.src,n=/*rankImgs*/e[12][/*firstRowData*/e[5].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
892
+ // (487:16) {:else}
893
+ function po(t){let n;return{c(){n=w("-")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
894
+ // (485:16) {#if firstRowData.Prize}
895
+ function go(e){let t,n=/*firstRowData*/e[5].Prize+"";return{c(){t=w(n)},m(e,n){p(e,t,n)},p(e,r){/*firstRowData*/32&r[0]&&n!==(n=/*firstRowData*/e[5].Prize+"")&&k(t,n)},d(e){e&&g(t)}}}
896
+ // (493:10) {#if firstRowData.Unqualified}
897
+ function bo(e){let t,n,r,i,a,o,s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("tr"),n=y("td"),r=C("svg"),i=C("path"),a=v(),o=w(s),_(i,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(r,"class","ExclamationMark"),_(r,"part","ExclamationMark"),_(r,"width","10"),_(r,"height","10"),_(r,"viewBox","0 0 10 10"),_(r,"fill","none"),_(r,"xmlns","http://www.w3.org/2000/svg"),_(n,"colspan",/*tooltipColSpan*/e[9]),_(n,"part","LeftTableTd"),_(n,"class","LeftTableTd"),_(t,"class","TooltipsRow"),_(t,"part","TooltipsRow")},m(e,s){p(e,t,s),m(t,n),m(n,r),m(r,i),m(n,a),m(n,o)},p(e,t){/*$_*/32768&t[0]&&s!==(s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(o,s),/*tooltipColSpan*/512&t[0]&&_(n,"colspan",/*tooltipColSpan*/e[9])},d(e){e&&g(t)}}}
898
+ // (504:8) {#if showTable}
899
+ function yo(e){let t,n=/*display*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=So(Wa(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=T()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);p(e,t,n)},p(e,i){if(/*display, tooltipColSpan, $_, _fractiondigit, isUserPositionChanged, isUserPositionUp, rankImgs, showrankasimage*/56196&i[0]){let a;for(n=/*display*/e[14],a=0;a<n.length;a+=1){const o=Wa(e,n,a);r[a]?r[a].p(o,i):(r[a]=So(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){b(r,e),e&&g(t)}}}
900
+ // (518:22) {:else}
901
+ function Co(e){let t,n,r=/*row*/(e[69].Rank||"")+"";return{c(){t=w("#"),n=w(r)},m(e,r){p(e,t,r),p(e,n,r)},p(e,t){/*display*/16384&t[0]&&r!==(r=/*row*/(e[69].Rank||"")+"")&&k(n,r)},d(e){e&&g(t),e&&g(n)}}}
902
+ // (512:22) {#if row.Rank < 4 && showrankasimage=='true'}
903
+ function wo(e){let t;function n(e,t){/*row*/
904
+ return e[69].Rank>0?To:vo}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(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&&g(t)}}}
905
+ // (515:26) {:else }
906
+ function vo(t){let n;return{c(){n=w("#")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
907
+ // (513:24) {#if row.Rank > 0}
908
+ function To(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[12][/*row*/e[69].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, display*/20480&r[0]&&!u(t.src,n=/*rankImgs*/e[12][/*row*/e[69].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
909
+ // (522:24) {#if row.isCurrentUser}
910
+ function xo(e){let t,n,r,i,a,o,s;return{c(){t=y("img"),i=v(),a=y("img"),u(t.src,n=Ya)||_(t,"src",n),_(t,"alt","UpArrow"),_(t,"part","Rank_Arror_UP"),_(t,"class",r="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden")),u(a.src,o=Ga)||_(a,"src",o),_(a,"alt","DownArrow"),_(a,"part","Rank_Arror_Down"),_(a,"class",s="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))},m(e,n){p(e,t,n),p(e,i,n),p(e,a,n)},p(e,n){/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&r!==(r="svg Arrow Up "+(/*isUserPositionChanged*/e[7]&&/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(t,"class",r),/*isUserPositionChanged, isUserPositionUp*/384&n[0]&&s!==(s="svg Arrow Down "+(/*isUserPositionChanged*/e[7]&&!/*isUserPositionUp*/e[8]?"Show":"Hidden"))&&_(a,"class",s)},d(e){e&&g(t),e&&g(i),e&&g(a)}}}
911
+ // (545:18) {:else}
912
+ function _o(t){let n;return{c(){n=w("-")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
913
+ // (543:18) {#if row.Prize}
914
+ function ko(e){let t,n=/*row*/e[69].Prize+"";return{c(){t=w(n)},m(e,n){p(e,t,n)},p(e,r){/*display*/16384&r[0]&&n!==(n=/*row*/e[69].Prize+"")&&k(t,n)},d(e){e&&g(t)}}}
915
+ // (551:12) {#if row.Unqualified && row.isCurrentUser}
916
+ function Po(e){let t,n,r,i,a,o,s,l,u=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("tr"),n=y("td"),r=C("svg"),i=C("path"),a=v(),o=w(u),s=v(),_(i,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(r,"class","ExclamationMark"),_(r,"part","ExclamationMark"),_(r,"width","10"),_(r,"height","10"),_(r,"viewBox","0 0 10 10"),_(r,"fill","none"),_(r,"xmlns","http://www.w3.org/2000/svg"),_(n,"colspan",/*tooltipColSpan*/e[9]),_(n,"part","LeftTableTd"),_(n,"class","LeftTableTd"),_(t,"class",l="TooltipsRow Rank"+/*row*/e[69].Rank+"Tr CurrentUserTr"),_(t,"part","TooltipsRow")},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),m(n,a),m(n,o),m(t,s)},p(e,r){/*$_*/32768&r[0]&&u!==(u=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(o,u),/*tooltipColSpan*/512&r[0]&&_(n,"colspan",/*tooltipColSpan*/e[9]),/*display*/16384&r[0]&&l!==(l="TooltipsRow Rank"+/*row*/e[69].Rank+"Tr CurrentUserTr")&&_(t,"class",l)},d(e){e&&g(t)}}}
917
+ // (505:10) {#each display as row}
918
+ function So(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,C,x,P,S,E,$,L,D,M,R,A,B,z,O,F=/*row*/e[69].Player+"",N=/*row*/e[69].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"";function H(e,t){/*row*/
919
+ return e[69].Rank<4&&/*showrankasimage*/"true"==e[2]?wo:Co}let U=H(e),I=U(e),j=/*row*/e[69].isCurrentUser&&xo(e);function Y(e,t){/*row*/
920
+ return e[69].Prize?ko:_o}let G=Y(e),V=G(e),W=/*row*/e[69].Unqualified&&/*row*/e[69].isCurrentUser&&Po(e);return{c(){t=y("tr"),n=y("td"),r=y("div"),i=y("strong"),a=y("em"),I.c(),o=v(),s=y("div"),j&&j.c(),d=v(),h=y("td"),f=y("div"),b=w(F),C=v(),x=y("td"),P=y("div"),S=y("div"),E=w(N),$=v(),L=y("td"),D=y("div"),V.c(),z=v(),W&&W.c(),O=T(),_(s,"class",l="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(s,"part",u="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden")),_(a,"part","LeftTableTdEm"),_(i,"class","RankCol"),_(i,"part","RankCol"),_(r,"part","TableCellContent"),_(r,"class","Table CellContent"),_(n,"part",c="LeftTableTd Rank-"+/*row*/e[69].Rank),_(n,"class","LeftTableTd"),_(f,"part","PlayerCellContent"),_(f,"class","Player CellContent"),_(h,"part","LeftTableTd"),_(h,"class","LeftTableTd"),_(S,"class","Flex ScoreUp"),_(S,"part","Flex ScoreUp"),_(P,"part","ScoreCellContent"),_(P,"class","Score CellContent"),_(x,"part","LeftTableTd"),_(x,"class","LeftTableTd"),_(D,"part","PrizeCellContent"),_(D,"class","Prize CellContent "),_(L,"class",M="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified")),_(L,"part",R="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified")),_(t,"class",A="LeftTableTr Rank"+/*row*/e[69].Rank+"Tr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":"")),_(t,"part",B="LeftTableTr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(r,i),m(i,a),I.m(a,null),m(a,o),m(a,s),j&&j.m(s,null),m(t,d),m(t,h),m(h,f),m(f,b),m(t,C),m(t,x),m(x,P),m(P,S),m(S,E),m(t,$),m(t,L),m(L,D),V.m(D,null),p(e,z,l),W&&W.m(e,l),p(e,O,l)},p(e,r){U===(U=H(e))&&I?I.p(e,r):(I.d(1),I=U(e),I&&(I.c(),I.m(a,o))),/*row*/e[69].isCurrentUser?j?j.p(e,r):(j=xo(e),j.c(),j.m(s,null)):j&&(j.d(1),j=null),/*isUserPositionChanged*/128&r[0]&&l!==(l="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(s,"class",l),/*isUserPositionChanged*/128&r[0]&&u!==(u="ScoreChangeFlag "+(/*isUserPositionChanged*/e[7]?"Show":"Hidden"))&&_(s,"part",u),/*display*/16384&r[0]&&c!==(c="LeftTableTd Rank-"+/*row*/e[69].Rank)&&_(n,"part",c),/*display*/16384&r[0]&&F!==(F=/*row*/e[69].Player+"")&&k(b,F),/*display, _fractiondigit*/18432&r[0]&&N!==(N=/*row*/e[69].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"")&&k(E,N),G===(G=Y(e))&&V?V.p(e,r):(V.d(1),V=G(e),V&&(V.c(),V.m(D,null))),/*display*/16384&r[0]&&M!==(M="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(L,"class",M),/*display*/16384&r[0]&&R!==(R="LeftTableTd "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(L,"part",R),/*display*/16384&r[0]&&A!==(A="LeftTableTr Rank"+/*row*/e[69].Rank+"Tr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"class",A),/*display*/16384&r[0]&&B!==(B="LeftTableTr "+(/*row*/e[69].isCurrentUser?"FirstRow":"")+" "+(/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"part",B),/*row*/e[69].Unqualified&&/*row*/e[69].isCurrentUser?W?W.p(e,r):(W=Po(e),W.c(),W.m(O.parentNode,O)):W&&(W.d(1),W=null)},d(e){e&&g(t),I.d(),j&&j.d(),V.d(),e&&g(z),W&&W.d(e),e&&g(O)}}}
921
+ // (571:10) {:else}
922
+ function Eo(e){let t,n;return{c(){t=C("svg"),n=C("path"),_(n,"d","M6 9l6 6 6-6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
923
+ // (567:10) {#if showTable}
924
+ function $o(e){let t,n;return{c(){t=C("svg"),n=C("path"),_(n,"d","M18 15l-6-6-6 6"),_(t,"xmlns","http://www.w3.org/2000/svg"),_(t,"width","24"),_(t,"height","24"),_(t,"viewBox","0 0 24 24"),_(t,"fill","none"),_(t,"stroke","#ffffff"),_(t,"stroke-width","2"),_(t,"stroke-linecap","round"),_(t,"stroke-linejoin","round")},m(e,r){p(e,t,r),m(t,n)},d(e){e&&g(t)}}}
925
+ // (368:12) {:else}
926
+ function Lo(e){let t,n,r=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"";return{c(){t=y("p"),n=w(r),_(t,"data-sort",/*sort*/e[13])},m(e,r){p(e,t,r),m(t,n)},p(e,i){/*$_, columns*/32784&i[0]&&r!==(r=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,r),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t)}}}
927
+ // (364:12) {#if sortable == 'true'}
928
+ function Do(e){let t,n,r,i,a=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"";function o(){/*click_handler*/
929
+ return e[35](/*column*/e[72])}return{c(){t=y("button"),n=w(a),_(t,"data-sort",/*sort*/e[13])},m(e,a){p(e,t,a),m(t,n),r||(i=x(t,"click",o),r=!0)},p(r,i){e=r,/*$_, columns*/32784&i[0]&&a!==(a=/*$_*/e[15](`tournamentsTable.${/*column*/e[72]}`)+"")&&k(n,a),/*sort*/8192&i[0]&&_(t,"data-sort",/*sort*/e[13])},d(e){e&&g(t),r=!1,i()}}}
930
+ // (362:8) {#each columns as column}
931
+ function Mo(e){let t,n,r,i;function a(e,t){/*sortable*/
932
+ return"true"==e[1]?Do:Lo}let o=a(e),s=o(e);return{c(){t=y("div"),s.c(),n=v(),_(t,"class",r="TableCell Table"+/*column*/e[72]),_(t,"part",i="TableCell Table"+/*column*/e[72])},m(e,r){p(e,t,r),s.m(t,null),m(t,n)},p(e,l){o===(o=a(e))&&s?s.p(e,l):(s.d(1),s=o(e),s&&(s.c(),s.m(t,n))),/*columns*/16&l[0]&&r!==(r="TableCell Table"+/*column*/e[72])&&_(t,"class",r),/*columns*/16&l[0]&&i!==(i="TableCell Table"+/*column*/e[72])&&_(t,"part",i)},d(e){e&&g(t),s.d()}}}
933
+ // (374:6) {#if firstrow == 'true' && firstRowData}
934
+ function Ro(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,C,x=/*firstRowData*/e[5].Player+"",P=/*firstRowData*/e[5].Points+"";function S(e,t){/*firstRowData*/
935
+ return e[5].Rank<4&&/*showrankasimage*/"true"==e[2]?Bo:Ao}let E=S(e),$=E(e);function L(e,t){/*firstRowData*/
936
+ return e[5].Prize?No:Fo}let D=L(e),M=D(e),R=/*firstRowData*/e[5].Unqualified&&Ho(e);return{c(){t=y("div"),n=y("div"),$.c(),a=v(),o=y("div"),s=w(x),l=v(),u=y("div"),c=w(P),d=v(),M.c(),b=v(),R&&R.c(),C=T(),_(n,"class",r="TableCell TableRank "+(/*firstRowData*/e[5].Prize?"Qualified":"")),_(n,"part",i="TableCell TableRank RankFirstRow "+(/*firstRowData*/e[5].Prize?"Qualified":"")),_(o,"class","TableCell TablePlayer"),_(o,"part","TableCell TablePlayer"),_(u,"class","TableCell TablePoints"),_(u,"part","TableCell TablePoints"),_(t,"class",h="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":"")),_(t,"part",f="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))},m(e,r){p(e,t,r),m(t,n),$.m(n,null),m(t,a),m(t,o),m(o,s),m(t,l),m(t,u),m(u,c),m(t,d),M.m(t,null),p(e,b,r),R&&R.m(e,r),p(e,C,r)},p(e,a){E===(E=S(e))&&$?$.p(e,a):($.d(1),$=E(e),$&&($.c(),$.m(n,null))),/*firstRowData*/32&a[0]&&r!==(r="TableCell TableRank "+(/*firstRowData*/e[5].Prize?"Qualified":""))&&_(n,"class",r),/*firstRowData*/32&a[0]&&i!==(i="TableCell TableRank RankFirstRow "+(/*firstRowData*/e[5].Prize?"Qualified":""))&&_(n,"part",i),/*firstRowData*/32&a[0]&&x!==(x=/*firstRowData*/e[5].Player+"")&&k(s,x),/*firstRowData*/32&a[0]&&P!==(P=/*firstRowData*/e[5].Points+"")&&k(c,P),D===(D=L(e))&&M?M.p(e,a):(M.d(1),M=D(e),M&&(M.c(),M.m(t,null))),/*firstRowData*/32&a[0]&&h!==(h="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"class",h),/*firstRowData*/32&a[0]&&f!==(f="TableUser CurrentUserRow "+(/*firstRowData*/e[5].Unqualified?"UnqualifiedRow":""))&&_(t,"part",f),/*firstRowData*/e[5].Unqualified?R?R.p(e,a):(R=Ho(e),R.c(),R.m(C.parentNode,C)):R&&(R.d(1),R=null)},d(e){e&&g(t),$.d(),M.d(),e&&g(b),R&&R.d(e),e&&g(C)}}}
937
+ // (383:12) {:else}
938
+ function Ao(e){let t,n,r=/*firstRowData*/(e[5].Rank||"")+"";return{c(){t=y("em"),n=w(r),_(t,"part","LeftTableTdEm")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*firstRowData*/32&t[0]&&r!==(r=/*firstRowData*/(e[5].Rank||"")+"")&&k(n,r)},d(e){e&&g(t)}}}
939
+ // (377:12) {#if firstRowData.Rank < 4 && showrankasimage=='true'}
940
+ function Bo(e){let t;function n(e,t){/*firstRowData*/
941
+ return e[5].Rank>0?Oo:zo}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(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&&g(t)}}}
942
+ // (380:14) {:else }
943
+ function zo(t){let n;return{c(){n=y("em"),n.textContent="#",_(n,"part","LeftTableTdEm")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
944
+ // (378:14) {#if firstRowData.Rank > 0}
945
+ function Oo(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[12][/*firstRowData*/e[5].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, firstRowData*/4128&r[0]&&!u(t.src,n=/*rankImgs*/e[12][/*firstRowData*/e[5].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
946
+ // (391:10) {:else}
947
+ function Fo(t){let n;return{c(){n=y("div"),n.textContent="-",_(n,"class","TableCell TablePrize"),_(n,"part","TableCell TablePrize")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
948
+ // (389:10) {#if firstRowData.Prize}
949
+ function No(e){let t,n,r,i,a=/*firstRowData*/e[5].Prize+"";return{c(){t=y("div"),n=w(a),_(t,"class",r="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified")),_(t,"part",i="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))},m(e,r){p(e,t,r),m(t,n)},p(e,o){/*firstRowData*/32&o[0]&&a!==(a=/*firstRowData*/e[5].Prize+"")&&k(n,a),/*firstRowData*/32&o[0]&&r!==(r="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(t,"class",r),/*firstRowData*/32&o[0]&&i!==(i="TableCell TablePrize "+(/*firstRowData*/e[5].Unqualified?"":"Qualified"))&&_(t,"part",i)},d(e){e&&g(t)}}}
950
+ // (395:8) {#if firstRowData.Unqualified}
951
+ function Ho(e){let t,n,r,i,a,o,s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("div"),n=C("svg"),r=C("path"),i=v(),a=y("em"),o=w(s),_(r,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(n,"class","ExclamationMark"),_(n,"part","ExclamationMark"),_(n,"width","10"),_(n,"height","10"),_(n,"viewBox","0 0 10 10"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(a,"part","TableUserTooltipsEm"),_(t,"class","TableUserTooltips"),_(t,"part","TableUserTooltips")},m(e,s){p(e,t,s),m(t,n),m(n,r),m(t,i),m(t,a),m(a,o)},p(e,t){/*$_*/32768&t[0]&&s!==(s=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(o,s)},d(e){e&&g(t)}}}
952
+ // (404:6) {#if showTable}
953
+ function Uo(e){let t,n=/*display*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=Jo(Ja(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=T()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);p(e,t,n)},p(e,i){if(/*display, $_, _fractiondigit, rankImgs, showrankasimage*/55300&i[0]){let a;for(n=/*display*/e[14],a=0;a<n.length;a+=1){const o=Ja(e,n,a);r[a]?r[a].p(o,i):(r[a]=Jo(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){b(r,e),e&&g(t)}}}
954
+ // (414:14) {:else}
955
+ function Io(e){let t,n=/*row*/(e[69].Rank||"")+"";return{c(){t=w(n)},m(e,n){p(e,t,n)},p(e,r){/*display*/16384&r[0]&&n!==(n=/*row*/(e[69].Rank||"")+"")&&k(t,n)},d(e){e&&g(t)}}}
956
+ // (408:14) {#if row.Rank < 4 && showrankasimage=='true'}
957
+ function jo(e){let t;function n(e,t){/*row*/
958
+ return e[69].Rank>0?Go:Yo}let r=n(e),i=r(e);return{c(){i.c(),t=T()},m(e,n){i.m(e,n),p(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&&g(t)}}}
959
+ // (411:16) {:else }
960
+ function Yo(t){let n;return{c(){n=y("em"),_(n,"part","LeftTableTdEm")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
961
+ // (409:16) {#if row.Rank > 0}
962
+ function Go(e){let t,n;return{c(){t=y("img"),_(t,"alt","prize"),_(t,"class","PrizeIcon"),u(t.src,n=/*rankImgs*/e[12][/*row*/e[69].Rank])||_(t,"src",n)},m(e,n){p(e,t,n)},p(e,r){/*rankImgs, display*/20480&r[0]&&!u(t.src,n=/*rankImgs*/e[12][/*row*/e[69].Rank])&&_(t,"src",n)},d(e){e&&g(t)}}}
963
+ // (422:12) {:else}
964
+ function Vo(t){let n;return{c(){n=y("div"),n.textContent="-",_(n,"class","TableCell TablePrize"),_(n,"part","TableCell TablePrize")},m(e,t){p(e,n,t)},p:e,d(e){e&&g(n)}}}
965
+ // (420:12) {#if row.Prize}
966
+ function Wo(e){let t,n,r,i,a=/*row*/e[69].Prize+"";return{c(){t=y("div"),n=w(a),_(t,"class",r="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified")),_(t,"part",i="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified"))},m(e,r){p(e,t,r),m(t,n)},p(e,o){/*display*/16384&o[0]&&a!==(a=/*row*/e[69].Prize+"")&&k(n,a),/*display*/16384&o[0]&&r!==(r="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(t,"class",r),/*display*/16384&o[0]&&i!==(i="TableCell TablePrize "+(/*row*/e[69].Unqualified?"":"Qualified"))&&_(t,"part",i)},d(e){e&&g(t)}}}
967
+ // (426:10) {#if row.isCurrentUser && row.Unqualified}
968
+ function qo(e){let t,n,r,i,a,o,s,l,u,c=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"";return{c(){t=y("div"),n=C("svg"),r=C("path"),i=v(),a=y("em"),o=w(c),s=v(),_(r,"d","M9.03087 3.14062C8.71521 2.56443 8.27722 2.06437 7.74767 1.67553C7.21811 1.28669 6.60971 1.01855 5.96544 0.889885C5.32118 0.761222 4.65646 0.775158 4.01817 0.930778C3.37988 1.0864 2.78361 1.37989 2.27086 1.79064C1.68689 2.25306 1.22358 2.85008 0.920762 3.53063C0.679091 4.08921 0.556377 4.69205 0.560655 5.30065C0.562354 5.92327 0.693172 6.53873 0.944444 7.10839C1.19572 7.67806 1.5622 8.18953 2.02086 8.61059C2.83307 9.36649 3.89773 9.79259 5.00719 9.80553C6.11665 9.81848 7.19124 9.4174 8.02086 8.68066C8.3779 8.38276 8.67913 8.0238 8.91075 7.6206C9.34355 6.92428 9.57213 6.12051 9.57066 5.30065C9.57316 4.54694 9.38776 3.80448 9.03087 3.14062V3.14062ZM4.43077 7.39062C4.41666 7.24208 4.44786 7.09281 4.52013 6.96227C4.59239 6.83174 4.70243 6.72606 4.8358 6.65917C4.96917 6.59228 5.11961 6.56724 5.26744 6.58739C5.41528 6.60754 5.55357 6.67195 5.66417 6.77209C5.77477 6.87223 5.85238 7.00344 5.88707 7.14855C5.92176 7.29367 5.91186 7.44586 5.85851 7.5852C5.80516 7.72454 5.71098 7.84448 5.58824 7.92931C5.46551 8.01415 5.31996 8.05999 5.17076 8.06066C5.0777 8.06746 4.9841 8.05526 4.89586 8.02489C4.80762 7.99453 4.72651 7.94653 4.65733 7.8839C4.58816 7.82127 4.53247 7.74531 4.49352 7.66051C4.45456 7.57572 4.43323 7.4839 4.43077 7.39062V7.39062ZM5.05065 2.69067H5.25084C5.32609 2.69062 5.40056 2.70571 5.46983 2.7351C5.53911 2.76448 5.60165 2.80755 5.65392 2.86169C5.70619 2.91582 5.7471 2.9799 5.77403 3.05016C5.80097 3.12043 5.81334 3.19542 5.81066 3.27062L5.7108 5.66064C5.70312 5.8039 5.64068 5.93873 5.53649 6.03735C5.43229 6.13596 5.29421 6.19087 5.15074 6.19067C5.00827 6.19076 4.87125 6.13559 4.76866 6.03674C4.66607 5.93788 4.60587 5.80301 4.60069 5.66064L4.50084 3.27062C4.49817 3.19625 4.51016 3.12209 4.53648 3.05248C4.5628 2.98287 4.60295 2.91923 4.65416 2.86523C4.70537 2.81123 4.76671 2.76801 4.83483 2.73803C4.90294 2.70805 4.97624 2.69195 5.05065 2.69067V2.69067Z"),_(n,"class","ExclamationMark"),_(n,"part","ExclamationMark"),_(n,"width","10"),_(n,"height","10"),_(n,"viewBox","0 0 10 10"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(a,"part","TableUserTooltipsEm"),_(t,"class",l="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":"")),_(t,"part",u="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":""))},m(e,l){p(e,t,l),m(t,n),m(n,r),m(t,i),m(t,a),m(a,o),m(t,s)},p(e,n){/*$_*/32768&n[0]&&c!==(c=/*$_*/e[15]("tournamentsTable.UnqualifiedTips")+"")&&k(o,c),/*display*/16384&n[0]&&l!==(l="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"class",l),/*display*/16384&n[0]&&u!==(u="TableUserTooltips "+(/*row*/e[69].Unqualified?"UnqualifiedRow":""))&&_(t,"part",u)},d(e){e&&g(t)}}}
969
+ // (405:8) {#each display as row}
970
+ function Jo(e){let t,n,r,i,a,o,s,l,u,c,d,h,f,b,C,x=/*row*/e[69].Player+"",P=/*row*/e[69].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"";function S(e,t){/*row*/
971
+ return e[69].Rank<4&&/*showrankasimage*/"true"==e[2]?jo:Io}let E=S(e),$=E(e);function L(e,t){/*row*/
972
+ return e[69].Prize?Wo:Vo}let D=L(e),M=D(e),R=/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified&&qo(e);return{c(){t=y("div"),n=y("div"),$.c(),a=v(),o=y("div"),s=w(x),l=v(),u=y("div"),c=w(P),d=v(),M.c(),b=v(),R&&R.c(),C=T(),_(n,"class",r="TableCell TableRank "+(/*row*/e[69].Prize?"Qualified":"")),_(n,"part",i="TableCell Rank-"+/*row*/e[69].Rank+" TableRank "+(/*row*/e[69].Prize?"Qualified":"")),_(o,"class","TableCell TablePlayer"),_(o,"part","TableCell TablePlayer"),_(u,"class","TableCell TablePoints"),_(u,"part","TableCell TablePoints"),_(t,"class",h="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":"")),_(t,"part",f="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":""))},m(e,r){p(e,t,r),m(t,n),$.m(n,null),m(t,a),m(t,o),m(o,s),m(t,l),m(t,u),m(u,c),m(t,d),M.m(t,null),p(e,b,r),R&&R.m(e,r),p(e,C,r)},p(e,a){E===(E=S(e))&&$?$.p(e,a):($.d(1),$=E(e),$&&($.c(),$.m(n,null))),/*display*/16384&a[0]&&r!==(r="TableCell TableRank "+(/*row*/e[69].Prize?"Qualified":""))&&_(n,"class",r),/*display*/16384&a[0]&&i!==(i="TableCell Rank-"+/*row*/e[69].Rank+" TableRank "+(/*row*/e[69].Prize?"Qualified":""))&&_(n,"part",i),/*display*/16384&a[0]&&x!==(x=/*row*/e[69].Player+"")&&k(s,x),/*display, _fractiondigit*/18432&a[0]&&P!==(P=/*row*/e[69].Points.toLocaleString("en-US",{minimumFractionDigits:/*_fractiondigit*/e[11],maximumFractionDigits:/*_fractiondigit*/e[11]})+"")&&k(c,P),D===(D=L(e))&&M?M.p(e,a):(M.d(1),M=D(e),M&&(M.c(),M.m(t,null))),/*display*/16384&a[0]&&h!==(h="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":""))&&_(t,"class",h),/*display*/16384&a[0]&&f!==(f="TableUser "+(/*row*/e[69].isCurrentUser?"CurrentUserRow":""))&&_(t,"part",f),/*row*/e[69].isCurrentUser&&/*row*/e[69].Unqualified?R?R.p(e,a):(R=qo(e),R.c(),R.m(C.parentNode,C)):R&&(R.d(1),R=null)},d(e){e&&g(t),$.d(),M.d(),e&&g(b),R&&R.d(e),e&&g(C)}}}function Zo(t){let n,r;function i(e,t){return!/*isLoading*/e[10]&&(/*data*/e[3].length>0||/*firstRowData*/e[5])?Qa:(null==n&&(n=!(1!=ti(/*userAgent*/e[16]))),n?Xa:Ka)}let a=i(t),o=a(t);return{c(){o.c(),r=T(),this.c=e},m(e,t){o.m(e,t),p(e,r,t)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r.parentNode,r)))},i:e,o:e,d(e){o.d(e),e&&g(r)}}}function Ko(e,t,n){let r,i,a;d(e,Yn,(e=>n(15,a=e)));let o,s,l,u,c,h,{sortable:f=!1}=t,{firstrow:m=!0}=t,{lang:p="en"}=t,{scorefractiondigit:g="2"}=t,{session:b=""}=t,{userid:y=""}=t,{tourid:C=""}=t,{endpoint:w=""}=t,{tablelimit:v="30"}=t,{namemask:T=""}=t,{showunqualifiedplayer:x="true"}=t,{mobiletablelimit:_="15"}=t,{updatetableintime:k="true"}=t,{minscore:P=""}=t,{showrankasimage:S="true"}=t,{cellsetting:E={firstrow:!0}}=t,$=[],L=[],D=null,R=null,A={},B=!0,z=window.navigator.userAgent,O=!1,F=!1,N=!1,H={},U=!1,I="",j=!0,Y=2;Object.keys(_i).forEach((e=>{bi(e,_i[e])}));
943
973
  // @TODO this must be configurable
944
- const G=["Rank","Player","Points","Prize"],V=e=>({Rank:"false"==x?e.rankWithoutUnqualified:e.rank,Player:e.userID==I?"me":e.shortName,Points:e.score,Prize:e.prizeName,Unqualified:e.unqualified,BetCount:e.betCount,userID:e.userID}),W=()=>{b&&b.length>0&&"false"!=b&&(I=y),a=null,n(10,j=!1)};
974
+ const G=["Rank","Player","Points","Prize"],V=e=>({Rank:"false"==x?e.rankWithoutUnqualified:e.rank,Player:e.userID==I?"me":e.shortName,Points:e.score,Prize:e.prizeName,Unqualified:e.unqualified,BetCount:e.betCount,userID:e.userID}),W=()=>{b&&b.length>0&&"false"!=b&&(I=y),o=null,n(10,j=!1)};
945
975
  // data for current user
946
- let q,J;const Z=e=>{a?(n(7,F=a!=e),
976
+ let q,J;const Z=e=>{o?(n(7,O=o!=e),
947
977
  // when (position changed) or (position not changed but still in 2.5s)
948
- n(8,z=a>e),F&&(q=(new Date).getTime(),//reset time1, make sure userrank change more than once during 5mins
949
- setTimeout((function(){J=(new Date).getTime(),(J-q)/1e3>4&&n(7,F=!1),a=e}),5e3))):a=e},K=e=>{if(e.data&&"CasinoTableData"===e.data.type&&(n(3,L=e.data.tableData),n(14,r=L)),e.data&&"CasinoTableColumns"===e.data.type&&(n(4,$=e.data.tableColumns),n(9,s=$.length||4)),
978
+ n(8,F=o>e),O&&(q=(new Date).getTime(),//reset time1, make sure userrank change more than once during 5mins
979
+ setTimeout((function(){J=(new Date).getTime(),(J-q)/1e3>4&&n(7,O=!1),o=e}),5e3))):o=e},K=e=>{if(e.data&&"CasinoTableData"===e.data.type&&(n(3,L=e.data.tableData),n(14,r=L)),e.data&&"CasinoTableColumns"===e.data.type&&(n(4,$=e.data.tableColumns),n(9,s=$.length||4)),
950
980
  // set view after current user row defined.
951
981
  e.data&&"CasinoTableCurrentUserData"===e.data.type&&L&&(L.forEach((t=>{t.userID==e.data.tableData.userID&&(t.isCurrentUser=!0,
952
982
  //clear first row data when update
953
- a||(a=e.data.tableData.Rank),A?(Z(e.data.tableData.Rank),n(5,A=null)):Z(e.data.tableData.Rank))})),n(14,r=L)),m&&e.data&&"CasinoTableFirstRowData"===e.data.type){let t=e.data.tableData;if(!A)return n(5,A=e.data.tableData),void(a=A.Rank);A&&A.UserID==t.UserID&&(Z(t.Rank),n(5,A=e.data.tableData))}
983
+ o||(o=e.data.tableData.Rank),A?(Z(e.data.tableData.Rank),n(5,A=null)):Z(e.data.tableData.Rank))})),n(14,r=L)),m&&e.data&&"CasinoTableFirstRowData"===e.data.type){let t=e.data.tableData;if(!A)return n(5,A=e.data.tableData),void(o=A.Rank);A&&A.UserID==t.UserID&&(Z(t.Rank),n(5,A=e.data.tableData))}
954
984
  // CasinoTableDataUpdate
955
985
  if(e.data&&"CasinoTableDataUpdate"===e.data.type&&e.data.tableData){let t=e.data.tableData;
956
986
  //check data type before foreach
957
- if(!(L instanceof Array))return;L.forEach((function(e,r){let i=((e,t)=>t.find((t=>t.Rank==e)))(e.Rank,t);i&&n(3,L[r]=i,L)}))}},X=e=>{const t=e===D,r="ASC"===R,i=t&&!r;n(32,D=i?null:e),n(33,R=i?null:t&&r?"DESC":"ASC")},Q=()=>{n(6,B=!B)},ee=e=>{U=!1;let t=[];return e&&e.length>0&&e.forEach((e=>{let n=V(e);e.userID==I&&(H=n,U=!0),t.push(n)})),t},te=e=>Object.assign(Object.assign({},V(e)),!0===e.unqualified?{Rank:e.rank}:{}),ne=e=>{if(e.data&&"message"==e.type)try{let t=e.data,r=JSON.parse(t);if(!r||!r.items)return;let i=ee(r.items);window.postMessage({type:"CasinoTableData",tableData:i},window.location.href),U=i.filter((e=>e.userID=I)).length>0,N=r.item&&!U,N&&(n(5,A=te(r.item)),A&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href));let o=U?H.Rank:A.Rank;o==h&&c==r.items.length||(c=r.items.length,//new player joined and spined
958
- window.postMessage({type:`TournamentRankInfo_${w}`,rankInfo:{rank:o,overallRank:c,prize:U?H.Prize||"-":A.Prize||"-"}},window.location.href),h=o),U&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:H},window.location.href)}catch(e){console.error(e)}},re=(e,t)=>{let r=new URL(e+`/v1/tournaments/${t}/leaderboard`),i=new Headers;r.searchParams.append("language",p);let o=`includeUnqualifiedPlayer=${x}`;if(o=T?`${o},shortNameMask=${T}`:o,o=S?`${o},minscore=${S}`:o,r.searchParams.append("filter",o),b){let e=1==ti(O)?_:v;r.searchParams.append("pagination",`offset=0,limit=${e}`),i.append("X-SessionId",b)}r.searchParams.append("platform",ni(O));let a={method:"GET",headers:i};n(10,j=!0),n(5,A=null),fetch(r,a).then((e=>e.json())).then((e=>{n(10,j=!1),l=ee(e.items),e.item&&!U&&(N=!0,n(5,A=te(e.item))),n(6,B=!0),h=U?H.Rank:A?A.Rank:0,c=e.total,
987
+ if(!(L instanceof Array))return;L.forEach((function(e,r){let i=((e,t)=>t.find((t=>t.Rank==e)))(e.Rank,t);i&&n(3,L[r]=i,L)}))}},X=e=>{const t=e===D,r="ASC"===R,i=t&&!r;n(32,D=i?null:e),n(33,R=i?null:t&&r?"DESC":"ASC")},Q=()=>{n(6,B=!B)},ee=e=>{U=!1;let t=[];return e&&e.length>0&&e.forEach((e=>{let n=V(e);e.userID==I&&(H=n,U=!0),t.push(n)})),t},te=e=>Object.assign(Object.assign({},V(e)),!0===e.unqualified?{Rank:e.rank}:{}),ne=e=>{if(e.data&&"message"==e.type)try{let t=e.data,r=JSON.parse(t);if(!r||!r.items)return;let i=ee(r.items);window.postMessage({type:"CasinoTableData",tableData:i},window.location.href),U=i.filter((e=>e.userID=I)).length>0,N=r.item&&!U,N&&(n(5,A=te(r.item)),A&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href));let a=U?H.Rank:A.Rank;a==h&&c==r.items.length||(c=r.items.length,//new player joined and spined
988
+ window.postMessage({type:`TournamentRankInfo_${C}`,rankInfo:{rank:a,overallRank:c,prize:U?H.Prize||"-":A.Prize||"-"}},window.location.href),h=a),U&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:H},window.location.href)}catch(e){console.error(e)}},re=(e,t)=>{let r=new URL(e+`/v1/tournaments/${t}/leaderboard`),i=new Headers;r.searchParams.append("language",p);let a=`includeUnqualifiedPlayer=${x}`;if(a=T?`${a},shortNameMask=${T}`:a,a=P?`${a},minscore=${P}`:a,r.searchParams.append("filter",a),b){let e=1==ti(z)?_:v;r.searchParams.append("pagination",`offset=0,limit=${e}`),i.append("X-SessionId",b)}r.searchParams.append("platform",ni(z));let o={method:"GET",headers:i};n(10,j=!0),n(5,A=null),fetch(r,o).then((e=>e.json())).then((e=>{n(10,j=!1),l=ee(e.items),e.item&&!U&&(N=!0,n(5,A=te(e.item))),n(6,B=!0),h=U?H.Rank:A?A.Rank:0,c=e.total,
959
989
  // @TODO data is not iterable error fix
960
- window.postMessage({type:"CasinoTableData",tableData:l},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:G},window.location.href),N&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href),"true"===k&&((e,t)=>{let n=`${C}/v1/tournaments/${e}/leaderboard/updates?HeartBeat=false&${t.toString()}`;u&&(u.removeEventListener("message",ne),u.close()),u=new ri.EventSourcePolyfill(n,{headers:{accept:"text/event-stream","X-SessionId":b}}),void 0!==u&&u.addEventListener("message",ne)})(t,r.searchParams),U&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:H},window.location.href)}))};let ie=[],oe=!1;M((()=>(n(12,ie=[ho,ho,fo,mo]),n(0,m=!E||E.firstrow),W(),
990
+ window.postMessage({type:"CasinoTableData",tableData:l},window.location.href),window.postMessage({type:"CasinoTableColumns",tableColumns:G},window.location.href),N&&window.postMessage({type:"CasinoTableFirstRowData",tableData:A},window.location.href),"true"===k&&((e,t)=>{let n=`${w}/v1/tournaments/${e}/leaderboard/updates?HeartBeat=false&${t.toString()}`;u&&(u.removeEventListener("message",ne),u.close()),u=new ri.EventSourcePolyfill(n,{headers:{accept:"text/event-stream","X-SessionId":b}}),void 0!==u&&u.addEventListener("message",ne)})(t,r.searchParams),U&&window.postMessage({type:"CasinoTableCurrentUserData",tableData:H},window.location.href)}))};let ie=[],ae=!1;M((()=>(n(12,ie=[sa,sa,la,ua]),n(0,m=!E||E.firstrow),W(),
961
991
  //loadData();
962
992
  //console.log('getContext',getContext('userid') ) ;
963
- n(34,oe=!0),window.addEventListener("message",K),()=>{window.removeEventListener("message",K)})));return e.$$set=e=>{"sortable"in e&&n(1,f=e.sortable),"firstrow"in e&&n(0,m=e.firstrow),"lang"in e&&n(19,p=e.lang),"scorefractiondigit"in e&&n(20,g=e.scorefractiondigit),"session"in e&&n(21,b=e.session),"userid"in e&&n(22,y=e.userid),"tourid"in e&&n(23,w=e.tourid),"endpoint"in e&&n(24,C=e.endpoint),"tablelimit"in e&&n(25,v=e.tablelimit),"namemask"in e&&n(26,T=e.namemask),"showunqualifiedplayer"in e&&n(27,x=e.showunqualifiedplayer),"mobiletablelimit"in e&&n(28,_=e.mobiletablelimit),"updatetableintime"in e&&n(29,k=e.updatetableintime),"minscore"in e&&n(30,S=e.minscore),"showrankasimage"in e&&n(2,P=e.showrankasimage),"cellsetting"in e&&n(31,E=e.cellsetting)},e.$$.update=()=>{/*data*/8&e.$$.dirty[0]|/*sortColumn, sortDirection*/6&e.$$.dirty[1]&&n(14,r=D&&R?(()=>{let e=[];if(L&&(e=[...L]),!L.length)return L;const t=typeof L[0][D.toLowerCase()];return e.sort(((e,t)=>{const n=t.toLowerCase();return"string"===e?(e,t)=>e[n].localeCompare(t[n]):"number"===e||"object"===e?(e,t)=>e[n]-t[n]:void 0})(t,D)),"ASC"===R?e:e.reverse()})():[...L]),/*sortColumn, sortDirection*/6&e.$$.dirty[1]&&n(13,i=null===D?R:null),/*scorefractiondigit*/1048576&e.$$.dirty[0]&&n(11,Y=Number(g)),/*session*/2097152&e.$$.dirty[0]|/*isMounted*/8&e.$$.dirty[1]&&oe&&b&&W(),/*lang, userid, session, tourid, showunqualifiedplayer, tablelimit*/182976512&e.$$.dirty[0]|/*isMounted*/8&e.$$.dirty[1]&&p&&y&&b&&w&&x&&v&&oe&&re(C,w)},[m,f,P,L,$,A,B,F,z,s,j,Y,ie,i,r,o,O,X,Q,p,g,b,y,w,C,v,T,x,_,k,S,E,D,R,oe,e=>X(e),e=>X(e),()=>Q(),e=>X(e)]}class Ha extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Na,za,a,{sortable:1,firstrow:0,lang:19,scorefractiondigit:20,session:21,userid:22,tourid:23,endpoint:24,tablelimit:25,namemask:26,showunqualifiedplayer:27,mobiletablelimit:28,updatetableintime:29,minscore:30,showrankasimage:2,cellsetting:31},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["sortable","firstrow","lang","scorefractiondigit","session","userid","tourid","endpoint","tablelimit","namemask","showunqualifiedplayer","mobiletablelimit","updatetableintime","minscore","showrankasimage","cellsetting"]}get sortable(){return this.$$.ctx[1]}set sortable(e){this.$$set({sortable:e}),I()}get firstrow(){return this.$$.ctx[0]}set firstrow(e){this.$$set({firstrow:e}),I()}get lang(){return this.$$.ctx[19]}set lang(e){this.$$set({lang:e}),I()}get scorefractiondigit(){return this.$$.ctx[20]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),I()}get session(){return this.$$.ctx[21]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[22]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[23]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[24]}set endpoint(e){this.$$set({endpoint:e}),I()}get tablelimit(){return this.$$.ctx[25]}set tablelimit(e){this.$$set({tablelimit:e}),I()}get namemask(){return this.$$.ctx[26]}set namemask(e){this.$$set({namemask:e}),I()}get showunqualifiedplayer(){return this.$$.ctx[27]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),I()}get mobiletablelimit(){return this.$$.ctx[28]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),I()}get updatetableintime(){return this.$$.ctx[29]}set updatetableintime(e){this.$$set({updatetableintime:e}),I()}get minscore(){return this.$$.ctx[30]}set minscore(e){this.$$set({minscore:e}),I()}get showrankasimage(){return this.$$.ctx[2]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get cellsetting(){return this.$$.ctx[31]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
993
+ n(34,ae=!0),window.addEventListener("message",K),()=>{window.removeEventListener("message",K)})));return e.$$set=e=>{"sortable"in e&&n(1,f=e.sortable),"firstrow"in e&&n(0,m=e.firstrow),"lang"in e&&n(19,p=e.lang),"scorefractiondigit"in e&&n(20,g=e.scorefractiondigit),"session"in e&&n(21,b=e.session),"userid"in e&&n(22,y=e.userid),"tourid"in e&&n(23,C=e.tourid),"endpoint"in e&&n(24,w=e.endpoint),"tablelimit"in e&&n(25,v=e.tablelimit),"namemask"in e&&n(26,T=e.namemask),"showunqualifiedplayer"in e&&n(27,x=e.showunqualifiedplayer),"mobiletablelimit"in e&&n(28,_=e.mobiletablelimit),"updatetableintime"in e&&n(29,k=e.updatetableintime),"minscore"in e&&n(30,P=e.minscore),"showrankasimage"in e&&n(2,S=e.showrankasimage),"cellsetting"in e&&n(31,E=e.cellsetting)},e.$$.update=()=>{/*data*/8&e.$$.dirty[0]|/*sortColumn, sortDirection*/6&e.$$.dirty[1]&&n(14,r=D&&R?(()=>{let e=[];if(L&&(e=[...L]),!L.length)return L;const t=typeof L[0][D.toLowerCase()];return e.sort(((e,t)=>{const n=t.toLowerCase();return"string"===e?(e,t)=>e[n].localeCompare(t[n]):"number"===e||"object"===e?(e,t)=>e[n]-t[n]:void 0})(t,D)),"ASC"===R?e:e.reverse()})():[...L]),/*sortColumn, sortDirection*/6&e.$$.dirty[1]&&n(13,i=null===D?R:null),/*scorefractiondigit*/1048576&e.$$.dirty[0]&&n(11,Y=Number(g)),/*session*/2097152&e.$$.dirty[0]|/*isMounted*/8&e.$$.dirty[1]&&ae&&b&&W(),/*lang, userid, session, tourid, showunqualifiedplayer, tablelimit*/182976512&e.$$.dirty[0]|/*isMounted*/8&e.$$.dirty[1]&&p&&y&&b&&C&&x&&v&&ae&&re(w,C)},[m,f,S,L,$,A,B,O,F,s,j,Y,ie,i,r,a,z,X,Q,p,g,b,y,C,w,v,T,x,_,k,P,E,D,R,ae,e=>X(e),e=>X(e),()=>Q(),e=>X(e)]}class Xo extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ko,Zo,o,{sortable:1,firstrow:0,lang:19,scorefractiondigit:20,session:21,userid:22,tourid:23,endpoint:24,tablelimit:25,namemask:26,showunqualifiedplayer:27,mobiletablelimit:28,updatetableintime:29,minscore:30,showrankasimage:2,cellsetting:31},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["sortable","firstrow","lang","scorefractiondigit","session","userid","tourid","endpoint","tablelimit","namemask","showunqualifiedplayer","mobiletablelimit","updatetableintime","minscore","showrankasimage","cellsetting"]}get sortable(){return this.$$.ctx[1]}set sortable(e){this.$$set({sortable:e}),I()}get firstrow(){return this.$$.ctx[0]}set firstrow(e){this.$$set({firstrow:e}),I()}get lang(){return this.$$.ctx[19]}set lang(e){this.$$set({lang:e}),I()}get scorefractiondigit(){return this.$$.ctx[20]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),I()}get session(){return this.$$.ctx[21]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[22]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[23]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[24]}set endpoint(e){this.$$set({endpoint:e}),I()}get tablelimit(){return this.$$.ctx[25]}set tablelimit(e){this.$$set({tablelimit:e}),I()}get namemask(){return this.$$.ctx[26]}set namemask(e){this.$$set({namemask:e}),I()}get showunqualifiedplayer(){return this.$$.ctx[27]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),I()}get mobiletablelimit(){return this.$$.ctx[28]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),I()}get updatetableintime(){return this.$$.ctx[29]}set updatetableintime(e){this.$$set({updatetableintime:e}),I()}get minscore(){return this.$$.ctx[30]}set minscore(e){this.$$set({minscore:e}),I()}get showrankasimage(){return this.$$.ctx[2]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get cellsetting(){return this.$$.ctx[31]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
964
994
  /* src/Cells/TitleCell.svelte generated by Svelte v3.59.2 */
965
- function Ua(t){let n,r;return{c(){n=y("p"),r=C(/*title*/t[0]),this.c=e,_(n,"class","Title"),_(n,"part","Title")},m(e,t){p(e,n,t),m(n,r)},p(e,[t]){/*title*/1&t&&k(r,/*title*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function Ia(e,t,n){let{lang:r="en"}=t,{title:i=""}=t;Object.keys(wi).forEach((e=>{bi(e,wi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});return e.$$set=e=>{"lang"in e&&n(1,r=e.lang),"title"in e&&n(0,i=e.title)},e.$$.update=()=>{/*lang*/2&e.$$.dirty&&r&&yi(r)},[i,r]}customElements.define("leaderboard-cell",Ha);class ja extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ia,Ua,a,{lang:1,title:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","title"]}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),I()}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),I()}}customElements.define("title-cell",ja);var Ya=br((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
995
+ function Qo(t){let n,r;return{c(){n=y("p"),r=w(/*title*/t[0]),this.c=e,_(n,"class","Title"),_(n,"part","Title")},m(e,t){p(e,n,t),m(n,r)},p(e,[t]){/*title*/1&t&&k(r,/*title*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function es(e,t,n){let{lang:r="en"}=t,{title:i=""}=t;Object.keys(Ci).forEach((e=>{bi(e,Ci[e])})),cn({fallbackLocale:"en",initialLocale:"en"});return e.$$set=e=>{"lang"in e&&n(1,r=e.lang),"title"in e&&n(0,i=e.title)},e.$$.update=()=>{/*lang*/2&e.$$.dirty&&r&&yi(r)},[i,r]}customElements.define("leaderboard-cell",Xo);class ts extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},es,Qo,o,{lang:1,title:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","title"]}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),I()}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),I()}}customElements.define("title-cell",ts);var ns=br((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
966
996
  // This is done to register the method called with moment()
967
997
  // without creating circular dependencies.
968
- function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){
998
+ function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){
969
999
  // IE8 will treat undefined and null as object if it wasn't for
970
1000
  // input != null
971
1001
  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 u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function 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 m(e,t,n,r){return qn(e,t,n,r,!0).utc()}function p(){
@@ -973,37 +1003,37 @@ return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s
973
1003
  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 b(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 y(e){var t=m(NaN);return null!=e?f(g(t),e):g(t).userInvalidated=!0,t}
974
1004
  // Plugins that add properties should also add the key here (null value),
975
1005
  // so we can properly clone ourselves.
976
- 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 w=r.momentProperties=[],C=!1;function v(e,t){var n,r,i,o=w.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)u(i=t[r=w[n]])||(e[r]=i);return e}
1006
+ 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 C=r.momentProperties=[],w=!1;function v(e,t){var n,r,i,a=C.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)u(i=t[r=C[n]])||(e[r]=i);return e}
977
1007
  // Moment prototype object
978
1008
  function T(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
979
1009
  // Prevent infinite loop in case updateOffset creates new moment
980
1010
  // objects.
981
- !1===C&&(C=!0,r.updateOffset(this),C=!1)}function x(e){return e instanceof T||null!=e&&null!=e._isAMomentObject}function _(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,a,l=[],u=arguments.length;for(o=0;o<u;o++){if(i="","object"==typeof arguments[o]){for(a in i+="\n["+o+"] ",arguments[0])s(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}_(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,P={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),P[e]||(_(t),P[e]=!0)}function $(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)s(e,n)&&($(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
1011
+ !1===w&&(w=!0,r.updateOffset(this),w=!1)}function x(e){return e instanceof T||null!=e&&null!=e._isAMomentObject}function _(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],u=arguments.length;for(a=0;a<u;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)}_(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var P,S={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),S[e]||(_(t),S[e]=!0)}function $(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)s(e,n)&&($(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
982
1012
  // Lenient ordinal parsing accepts just a number in addition to
983
1013
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
984
1014
  // TODO: Remove "ordinalParse" fallback in next major release.
985
- this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(a(e[n])&&a(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)&&a(e[n])&&(
1015
+ this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D(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])&&(
986
1016
  // make sure changes to properties don't modify parent config
987
- r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var R={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return $(r)?r.call(t,n):r}function B(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},N={};
1017
+ r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,P=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var R={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return $(r)?r.call(t,n):r}function B(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 z=/(\[[^\[]*\])|(\\)?([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,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},N={};
988
1018
  // token: 'M'
989
1019
  // padded: ['MM', 2]
990
1020
  // ordinal: 'Mo'
991
1021
  // callback: function () { this.month() + 1 }
992
- 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 B(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e){var t,n,r=e.match(O);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=U(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=$(r[i])?r[i].call(t,e):r[i];return o}}
1022
+ 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 B(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e){var t,n,r=e.match(z);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=U(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}}
993
1023
  // format date using native date object
994
- function j(e,t){return e.isValid()?(t=Y(t,e.localeData()),z[t]=z[t]||I(t),z[t](e)):e.localeData().invalidDate()}function Y(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 G={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 V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var W="Invalid date";function q(){return this._invalidDate}var J="%d",Z=/\d{1,2}/;function K(e){return this._ordinal.replace("%d",e)}var X={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 oe={};function ae(e,t){oe[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:oe[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 ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function de(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Qe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
1024
+ function j(e,t){return e.isValid()?(t=Y(t,e.localeData()),F[t]=F[t]||I(t),F[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(O.lastIndex=0;n>=0&&O.test(e);)e=e.replace(O,r),O.lastIndex=0,n-=1;return e}var G={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 V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(z).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var W="Invalid date";function q(){return this._invalidDate}var J="%d",Z=/\d{1,2}/;function K(e){return this._ordinal.replace("%d",e)}var X={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 ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function de(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Qe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
995
1025
  // MOMENTS
996
1026
  function me(e){return $(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($(this[e=re(e)]))return this[e](t);return this}var ge,be=/\d/,// 0 - 9
997
1027
  ye=/\d\d/,// 00 - 99
998
- we=/\d{3}/,// 000 - 999
999
- Ce=/\d{4}/,// 0000 - 9999
1028
+ Ce=/\d{3}/,// 000 - 999
1029
+ we=/\d{4}/,// 0000 - 9999
1000
1030
  ve=/[+-]?\d{6}/,// -999999 - 999999
1001
1031
  Te=/\d\d?/,// 0 - 99
1002
1032
  xe=/\d\d\d\d?/,// 999 - 9999
1003
1033
  _e=/\d\d\d\d\d\d?/,// 99999 - 999999
1004
1034
  ke=/\d{1,3}/,// 0 - 999
1005
- Se=/\d{1,4}/,// 0 - 9999
1006
- Pe=/[+-]?\d{1,6}/,// -999999 - 999999
1035
+ Pe=/\d{1,4}/,// 0 - 9999
1036
+ Se=/[+-]?\d{1,6}/,// -999999 - 999999
1007
1037
  Ee=/\d+/,// 0 - inf
1008
1038
  $e=/[+-]?\d+/,// -inf - inf
1009
1039
  Le=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
@@ -1011,9 +1041,9 @@ De=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
1011
1041
  Me=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
1012
1042
  // any word (or two) characters or numbers including two/three word month in arabic.
1013
1043
  // includes scottish gaelic two word and hyphenated months
1014
- Re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ae(e,t,n){ge[e]=$(t)?t:function(e,r){return e&&n?n:t}}function Be(e,t){return s(ge,e)?ge[e](t._strict,t._locale):new RegExp(Oe(e))}
1044
+ Re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ae(e,t,n){ge[e]=$(t)?t:function(e,r){return e&&n?n:t}}function Be(e,t){return s(ge,e)?ge[e](t._strict,t._locale):new RegExp(ze(e))}
1015
1045
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
1016
- function Oe(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 ze={};function Ne(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)ze[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 Ue(e,t,n){null!=t&&s(ze,e)&&ze[e](t,n._a,n,e)}var Ie,je=0,Ye=1,Ge=2,Ve=3,We=4,qe=5,Je=6,Ze=7,Ke=8;function Xe(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Xe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
1046
+ function ze(e){return Oe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Oe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Fe={};function Ne(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Fe[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 Ue(e,t,n){null!=t&&s(Fe,e)&&Fe[e](t,n._a,n,e)}var Ie,je=0,Ye=1,Ge=2,Ve=3,We=4,qe=5,Je=6,Ze=7,Ke=8;function Xe(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Xe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
1017
1047
  // FORMATTING
1018
1048
  Ie=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
1019
1049
  // I know
@@ -1021,15 +1051,15 @@ var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2]
1021
1051
  // ALIASES
1022
1052
  ne("month","M"),
1023
1053
  // PRIORITY
1024
- ae("month",8),
1054
+ oe("month",8),
1025
1055
  // PARSING
1026
1056
  Ae("M",Te),Ae("MM",Te,ye),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("MMMM",(function(e,t){return t.monthsRegex(e)})),Ne(["M","MM"],(function(e,t){t[Ye]=ce(e)-1})),Ne(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
1027
1057
  // if we didn't find a month name, mark the date as invalid.
1028
1058
  null!=i?t[Ye]=i:g(n).invalidMonth=e}));
1029
1059
  // LOCALES
1030
- 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=Re,it=Re;function ot(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function at(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(
1060
+ 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=Re,it=Re;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(
1031
1061
  // this is not used
1032
- this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ie.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ie.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ie.call(this._shortMonthsParse,a))||-1!==(i=Ie.call(this._longMonthsParse,a))?i:null:-1!==(i=Ie.call(this._longMonthsParse,a))||-1!==(i=Ie.call(this._shortMonthsParse,a))?i:null}function lt(e,t,n){var r,i,o;if(this._monthsParseExact)return st.call(this,e,t,n);
1062
+ this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ie.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ie.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ie.call(this._shortMonthsParse,o))||-1!==(i=Ie.call(this._longMonthsParse,o))?i:null:-1!==(i=Ie.call(this._longMonthsParse,o))||-1!==(i=Ie.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);
1033
1063
  // TODO: add sorting
1034
1064
  // Sorting makes sure if one month (or abbr) is a prefix of another
1035
1065
  // see sorting in computeMonthsParse
@@ -1037,18 +1067,18 @@ for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shor
1037
1067
  // test the regex
1038
1068
  if(
1039
1069
  // make the regex if we don't have it already
1040
- i=m([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]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.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}}
1070
+ i=m([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}}
1041
1071
  // MOMENTS
1042
1072
  function ut(e,t){var n;if(!e.isValid())
1043
1073
  // No op
1044
1074
  return e;if("string"==typeof t)if(/^\d+$/.test(t))t=ce(t);else
1045
1075
  // TODO: Another silent failure?
1046
- if(!c(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 ct(e){return null!=e?(ut(this,e),r.updateOffset(this,!0),this):he(this,"Month")}function dt(){return Qe(this.year(),this.month())}function ht(e){return this._monthsParseExact?(s(this,"_monthsRegex")||mt.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")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)
1076
+ if(!c(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 ct(e){return null!=e?(ut(this,e),r.updateOffset(this,!0),this):he(this,"Month")}function dt(){return Qe(this.year(),this.month())}function ht(e){return this._monthsParseExact?(s(this,"_monthsRegex")||mt.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")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)
1047
1077
  // make the regex if we don't have it already
1048
- n=m([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));
1078
+ n=m([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));
1049
1079
  // Sorting makes sure if one month (or abbr) is a prefix of another it
1050
1080
  // will match the longer piece.
1051
- for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Fe(r[t]),i[t]=Fe(i[t]);for(t=0;t<24;t++)o[t]=Fe(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}
1081
+ for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=Oe(r[t]),i[t]=Oe(i[t]);for(t=0;t<24;t++)a[t]=Oe(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")}
1052
1082
  // FORMATTING
1053
1083
  // HELPERS
1054
1084
  function pt(e){return le(e)?366:365}
@@ -1057,27 +1087,27 @@ H("Y",0,0,(function(){var e=this.year();return e<=9999?B(e,4):"+"+e})),H(0,["YY"
1057
1087
  // ALIASES
1058
1088
  ne("year","y"),
1059
1089
  // PRIORITIES
1060
- ae("year",1),
1090
+ oe("year",1),
1061
1091
  // PARSING
1062
- Ae("Y",$e),Ae("YY",Te,ye),Ae("YYYY",Se,Ce),Ae("YYYYY",Pe,ve),Ae("YYYYYY",Pe,ve),Ne(["YYYYY","YYYYYY"],je),Ne("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),Ne("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Ne("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};
1092
+ Ae("Y",$e),Ae("YY",Te,ye),Ae("YYYY",Pe,we),Ae("YYYYY",Se,ve),Ae("YYYYYY",Se,ve),Ne(["YYYYY","YYYYYY"],je),Ne("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),Ne("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Ne("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};
1063
1093
  // MOMENTS
1064
- var gt=de("FullYear",!0);function bt(){return le(this.year())}function yt(e,t,n,r,i,o,a){
1094
+ var gt=de("FullYear",!0);function bt(){return le(this.year())}function yt(e,t,n,r,i,a,o){
1065
1095
  // can't just apply() to create a date:
1066
1096
  // https://stackoverflow.com/q/181348
1067
1097
  var s;
1068
1098
  // the date constructor remaps years 0-99 to 1900-1999
1069
1099
  return e<100&&e>=0?(
1070
1100
  // preserve leap years using a full 400 year cycle, then reset
1071
- s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function wt(e){var t,n;
1101
+ s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function Ct(e){var t,n;
1072
1102
  // the Date.UTC function remaps years 0-99 to 1900-1999
1073
1103
  return e<100&&e>=0?(
1074
1104
  // preserve leap years using a full 400 year cycle, then reset
1075
1105
  (n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}
1076
1106
  // start-of-first-week - start-of-year
1077
- function Ct(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
1078
- r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}
1107
+ function wt(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
1108
+ r=7+t-n;return-(7+Ct(e,0,r).getUTCDay()-t)%7+r-1}
1079
1109
  // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
1080
- function vt(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Ct(e,r,i);return s<=0?a=pt(o=e-1)+s:s>pt(e)?(o=e+1,a=s-pt(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Tt(e,t,n){var r,i,o=Ct(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+xt(i=e.year()-1,t,n):a>xt(e.year(),t,n)?(r=a-xt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function xt(e,t,n){var r=Ct(e,t,n),i=Ct(e+1,t,n);return(pt(e)-r+i)/7}
1110
+ function vt(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 Tt(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+xt(i=e.year()-1,t,n):o>xt(e.year(),t,n)?(r=o-xt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function xt(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(pt(e)-r+i)/7}
1081
1111
  // FORMATTING
1082
1112
  // HELPERS
1083
1113
  // LOCALES
@@ -1085,10 +1115,10 @@ function _t(e){return Tt(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"w
1085
1115
  // ALIASES
1086
1116
  ne("week","w"),ne("isoWeek","W"),
1087
1117
  // PRIORITIES
1088
- ae("week",5),ae("isoWeek",5),
1118
+ oe("week",5),oe("isoWeek",5),
1089
1119
  // PARSING
1090
1120
  Ae("w",Te),Ae("ww",Te,ye),Ae("W",Te),Ae("WW",Te,ye),He(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var kt={dow:0,// Sunday is the first day of the week.
1091
- doy:6};function St(){return this._week.dow}function Pt(){return this._week.doy}
1121
+ doy:6};function Pt(){return this._week.dow}function St(){return this._week.doy}
1092
1122
  // MOMENTS
1093
1123
  function Et(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function $t(e){var t=Tt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
1094
1124
  // FORMATTING
@@ -1099,26 +1129,26 @@ function Mt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H(
1099
1129
  // ALIASES
1100
1130
  ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
1101
1131
  // PRIORITY
1102
- ae("day",11),ae("weekday",11),ae("isoWeekday",11),
1132
+ oe("day",11),oe("weekday",11),oe("isoWeekday",11),
1103
1133
  // PARSING
1104
1134
  Ae("d",Te),Ae("e",Te),Ae("E",Te),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),He(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
1105
1135
  // if we didn't get a weekday name, mark the date as invalid
1106
- null!=i?t.d=i:g(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ot=Re,Ft=Re,zt=Re;function Nt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function It(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ie.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ie.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ie.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ie.call(this._weekdaysParse,a))||-1!==(i=Ie.call(this._shortWeekdaysParse,a))||-1!==(i=Ie.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ie.call(this._shortWeekdaysParse,a))||-1!==(i=Ie.call(this._weekdaysParse,a))||-1!==(i=Ie.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ie.call(this._minWeekdaysParse,a))||-1!==(i=Ie.call(this._weekdaysParse,a))||-1!==(i=Ie.call(this._shortWeekdaysParse,a))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return It.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
1136
+ null!=i?t.d=i:g(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),zt=Re,Ot=Re,Ft=Re;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?Mt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function It(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=m([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=Ie.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ie.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ie.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ie.call(this._weekdaysParse,o))||-1!==(i=Ie.call(this._shortWeekdaysParse,o))||-1!==(i=Ie.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ie.call(this._shortWeekdaysParse,o))||-1!==(i=Ie.call(this._weekdaysParse,o))||-1!==(i=Ie.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ie.call(this._minWeekdaysParse,o))||-1!==(i=Ie.call(this._weekdaysParse,o))||-1!==(i=Ie.call(this._shortWeekdaysParse,o))?i:null}function jt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return It.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
1107
1137
  // test the regex
1108
1138
  if(
1109
1139
  // make the regex if we don't have it already
1110
- i=m([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]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.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}}
1140
+ i=m([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}}
1111
1141
  // MOMENTS
1112
1142
  function Yt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Lt(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;
1113
1143
  // behaves the same as moment#day except
1114
1144
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
1115
1145
  // as a setter, sunday should belong to the previous week.
1116
- if(null!=e){var t=Dt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Wt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ot),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)
1146
+ if(null!=e){var t=Dt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Wt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=zt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ot),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)
1117
1147
  // make the regex if we don't have it already
1118
- n=m([2e3,1]).day(t),r=Fe(this.weekdaysMin(n,"")),i=Fe(this.weekdaysShort(n,"")),o=Fe(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);
1148
+ n=m([2e3,1]).day(t),r=Oe(this.weekdaysMin(n,"")),i=Oe(this.weekdaysShort(n,"")),a=Oe(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);
1119
1149
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
1120
1150
  // will match the longer piece.
1121
- a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.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("^("+a.join("|")+")","i")}
1151
+ o.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.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")}
1122
1152
  // FORMATTING
1123
1153
  function Kt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function Qt(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
1124
1154
  // PARSING
@@ -1131,24 +1161,24 @@ return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",
1131
1161
  // ALIASES
1132
1162
  ne("hour","h"),
1133
1163
  // PRIORITY
1134
- ae("hour",13),Ae("a",en),Ae("A",en),Ae("H",Te),Ae("h",Te),Ae("k",Te),Ae("HH",Te,ye),Ae("hh",Te,ye),Ae("kk",Te,ye),Ae("hmm",xe),Ae("hmmss",_e),Ae("Hmm",xe),Ae("Hmmss",_e),Ne(["H","HH"],Ve),Ne(["k","kk"],(function(e,t,n){var r=ce(e);t[Ve]=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[Ve]=ce(e),g(n).bigHour=!0})),Ne("hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r)),g(n).bigHour=!0})),Ne("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r,2)),t[qe]=ce(e.substr(i)),g(n).bigHour=!0})),Ne("Hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r))})),Ne("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r,2)),t[qe]=ce(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,
1164
+ oe("hour",13),Ae("a",en),Ae("A",en),Ae("H",Te),Ae("h",Te),Ae("k",Te),Ae("HH",Te,ye),Ae("hh",Te,ye),Ae("kk",Te,ye),Ae("hmm",xe),Ae("hmmss",_e),Ae("Hmm",xe),Ae("Hmmss",_e),Ne(["H","HH"],Ve),Ne(["k","kk"],(function(e,t,n){var r=ce(e);t[Ve]=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[Ve]=ce(e),g(n).bigHour=!0})),Ne("hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r)),g(n).bigHour=!0})),Ne("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r,2)),t[qe]=ce(e.substr(i)),g(n).bigHour=!0})),Ne("Hmm",(function(e,t,n){var r=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r))})),Ne("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=ce(e.substr(0,r)),t[We]=ce(e.substr(r,2)),t[qe]=ce(e.substr(i))}));var nn=/[ap]\.?m?\.?/i,
1135
1165
  // Setting the hour should keep the time, because the user explicitly
1136
1166
  // specified which hour they want. So trying to maintain the same hour (in
1137
1167
  // a new timezone) makes sense. Adding/subtracting hours does not follow
1138
1168
  // this rule.
1139
- rn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:R,longDateFormat:G,invalidDate:W,ordinal:J,dayOfMonthOrdinalParse:Z,relativeTime:X,months:et,monthsShort:tt,week:kt,weekdays:Rt,weekdaysMin:Bt,weekdaysShort:At,meridiemParse:nn},ln={},un={};
1169
+ rn=de("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:R,longDateFormat:G,invalidDate:W,ordinal:J,dayOfMonthOrdinalParse:Z,relativeTime:X,months:et,monthsShort:tt,week:kt,weekdays:Rt,weekdaysMin:Bt,weekdaysShort:At,meridiemParse:nn},ln={},un={};
1140
1170
  // internal storage for locale config files
1141
1171
  function cn(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 dn(e){return e?e.toLowerCase().replace("_","-"):e}
1142
1172
  // pick the locale from the array
1143
1173
  // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
1144
1174
  // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
1145
- function hn(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=dn(e[o]).split("-")).length,n=(n=dn(e[o+1]))?n.split("-"):null;t>0;){if(r=mn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&cn(i,n)>=t-1)
1175
+ function hn(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=dn(e[a]).split("-")).length,n=(n=dn(e[a+1]))?n.split("-"):null;t>0;){if(r=mn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&cn(i,n)>=t-1)
1146
1176
  //the next array item is better than a shallower substring of this one
1147
- break;t--}o++}return an}function fn(e){
1177
+ break;t--}a++}return on}function fn(e){
1148
1178
  // Prevent names that look like filesystem paths, i.e contain '/' or '\'
1149
1179
  return null!=e.match("^[^/\\\\]*$")}function mn(t){var n=null;
1150
1180
  // TODO: Find a better way to register and load all the locales in Node
1151
- if(void 0===ln[t]&&e&&e.exports&&fn(t))try{n=an._abbr,yr(),pn(n)}catch(e){
1181
+ if(void 0===ln[t]&&e&&e.exports&&fn(t))try{n=on._abbr,yr(),pn(n)}catch(e){
1152
1182
  // mark as not found to avoid repeating expensive file require call causing high CPU
1153
1183
  // when trying to find en-US, en_US, en-us for every format call
1154
1184
  ln[t]=null;// null means not found
@@ -1158,9 +1188,9 @@ ln[t]=null;// null means not found
1158
1188
  // locale key.
1159
1189
  function pn(e,t){var n;return e&&((n=u(t)?yn(e):gn(e,t))?
1160
1190
  // moment.duration._locale = moment._locale = data;
1161
- an=n:"undefined"!=typeof console&&console.warn&&
1191
+ on=n:"undefined"!=typeof console&&console.warn&&
1162
1192
  //warn user if arguments are passed but the locale could not be set
1163
- console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new M(D(r,t)),un[e]&&un[e].forEach((function(e){gn(e.name,e.config)})),
1193
+ 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])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=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new M(D(r,t)),un[e]&&un[e].forEach((function(e){gn(e.name,e.config)})),
1164
1194
  // backwards compat for now: also set the locale
1165
1195
  // make sure we set the locale AFTER all child locales have been
1166
1196
  // created, so we won't end up with the child locale set.
@@ -1180,80 +1210,80 @@ pn(e)}else
1180
1210
  // pass null for config to unupdate, useful for tests
1181
1211
  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]}
1182
1212
  // returns locale data
1183
- function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(
1213
+ function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!a(e)){if(
1184
1214
  //short-circuit everything else
1185
- t=mn(e))return t;e=[e]}return hn(e)}function wn(){return S(ln)}function Cn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ye]<0||n[Ye]>11?Ye:n[Ge]<1||n[Ge]>Qe(n[je],n[Ye])?Ge:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[We]||0!==n[qe]||0!==n[Je])?Ve:n[We]<0||n[We]>59?We:n[qe]<0||n[qe]>59?qe:n[Je]<0||n[Je]>999?Je:-1,g(e)._overflowDayOfYear&&(t<je||t>Ge)&&(t=Ge),g(e)._overflowWeeks&&-1===t&&(t=Ze),g(e)._overflowWeekday&&-1===t&&(t=Ke),g(e).overflow=t),e}
1215
+ t=mn(e))return t;e=[e]}return hn(e)}function Cn(){return P(ln)}function wn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ye]<0||n[Ye]>11?Ye:n[Ge]<1||n[Ge]>Qe(n[je],n[Ye])?Ge:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[We]||0!==n[qe]||0!==n[Je])?Ve:n[We]<0||n[We]>59?We:n[qe]<0||n[qe]>59?qe:n[Je]<0||n[Je]>999?Je:-1,g(e)._overflowDayOfYear&&(t<je||t>Ge)&&(t=Ge),g(e)._overflowWeeks&&-1===t&&(t=Ze),g(e)._overflowWeekday&&-1===t&&(t=Ke),g(e).overflow=t),e}
1186
1216
  // iso 8601 regex
1187
1217
  // 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)
1188
1218
  var vn=/^\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)?)?$/,Tn=/^\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=/Z|[+-]\d\d(?::?\d\d)?/,_n=[["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]],
1189
1219
  // iso time formats and regexes
1190
- kn=[["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/]],Sn=/^\/?Date\((-?\d+)/i,
1220
+ kn=[["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/]],Pn=/^\/?Date\((-?\d+)/i,
1191
1221
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
1192
- Pn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
1222
+ Sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
1193
1223
  // date from iso format
1194
- function $n(e){var t,n,r,i,o,a,s=e._i,l=vn.exec(s)||Tn.exec(s),u=_n.length,c=kn.length;if(l){for(g(e).iso=!0,t=0,n=u;t<n;t++)if(_n[t][1].exec(l[1])){i=_n[t][0],r=!1!==_n[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(kn[t][1].exec(l[3])){
1224
+ function $n(e){var t,n,r,i,a,o,s=e._i,l=vn.exec(s)||Tn.exec(s),u=_n.length,c=kn.length;if(l){for(g(e).iso=!0,t=0,n=u;t<n;t++)if(_n[t][1].exec(l[1])){i=_n[t][0],r=!1!==_n[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(kn[t][1].exec(l[3])){
1195
1225
  // match[2] should be 'T' or space
1196
- o=(l[2]||" ")+kn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!xn.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Un(e)}else e._isValid=!1}function Ln(e,t,n,r,i,o){var a=[Dn(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Dn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){
1226
+ a=(l[2]||" ")+kn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!xn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function Ln(e,t,n,r,i,a){var o=[Dn(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Dn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){
1197
1227
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
1198
1228
  return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Rn(e,t,n){return!e||At.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function An(e,t,n){if(e)return En[e];if(t)
1199
1229
  // the only allowed military tz is Z
1200
1230
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
1201
1231
  // date and time from ref 2822 format
1202
- function Bn(e){var t,n=Pn.exec(Mn(e._i));if(n){if(t=Ln(n[4],n[3],n[2],n[5],n[6],n[7]),!Rn(n[1],t,e))return;e._a=t,e._tzm=An(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
1232
+ function Bn(e){var t,n=Sn.exec(Mn(e._i));if(n){if(t=Ln(n[4],n[3],n[2],n[5],n[6],n[7]),!Rn(n[1],t,e))return;e._a=t,e._tzm=An(n[8],n[9],n[10]),e._d=Ct.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
1203
1233
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
1204
- function On(e){var t=Sn.exec(e._i);null===t?($n(e),!1===e._isValid&&(delete e._isValid,Bn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
1234
+ function zn(e){var t=Pn.exec(e._i);null===t?($n(e),!1===e._isValid&&(delete e._isValid,Bn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
1205
1235
  // Final attempt, use Input Fallback
1206
1236
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
1207
1237
  // Pick the first defined of two or three arguments.
1208
- function Fn(e,t,n){return null!=e?e:null!=t?t:n}function zn(e){
1238
+ function On(e,t,n){return null!=e?e:null!=t?t:n}function Fn(e){
1209
1239
  // hooks is actually the exported moment object
1210
1240
  var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}
1211
1241
  // convert an array to a date.
1212
1242
  // the array should mirror the parameters below
1213
1243
  // note: all values past the year are optional and will default to the lowest possible value.
1214
1244
  // [year, month, day , hour, minute, second, millisecond]
1215
- function Nn(e){var t,n,r,i,o,a=[];if(!e._d){
1245
+ function Nn(e){var t,n,r,i,a,o=[];if(!e._d){
1216
1246
  // Default to current date.
1217
1247
  // * if no year, month, day of month are given, default to today
1218
1248
  // * if day of month is given, default month and year
1219
1249
  // * if month is given, default only year
1220
1250
  // * if year is given, don't default anything
1221
- for(r=zn(e),
1251
+ for(r=Fn(e),
1222
1252
  //compute day of the year from weeks and weekdays
1223
1253
  e._w&&null==e._a[Ge]&&null==e._a[Ye]&&Hn(e),
1224
1254
  //if the day of the year is set, figure out what it is
1225
- null!=e._dayOfYear&&(o=Fn(e._a[je],r[je]),(e._dayOfYear>pt(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Ye]=n.getUTCMonth(),e._a[Ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];
1255
+ null!=e._dayOfYear&&(a=On(e._a[je],r[je]),(e._dayOfYear>pt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ct(a,0,e._dayOfYear),e._a[Ye]=n.getUTCMonth(),e._a[Ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];
1226
1256
  // Zero out whatever was not defaulted, including time
1227
- for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];
1257
+ for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];
1228
1258
  // Check for 24:00:00.000
1229
- 24===e._a[Ve]&&0===e._a[We]&&0===e._a[qe]&&0===e._a[Je]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?wt:yt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
1259
+ 24===e._a[Ve]&&0===e._a[We]&&0===e._a[qe]&&0===e._a[Je]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?Ct:yt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
1230
1260
  // Apply timezone offset from input. The actual utcOffset can be changed
1231
1261
  // with parseZone.
1232
1262
  null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),
1233
1263
  // check for mismatching day of week
1234
- e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Hn(e){var t,n,r,i,o,a,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,
1264
+ e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Hn(e){var t,n,r,i,a,o,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,o=4,
1235
1265
  // TODO: We need to take the current isoWeekYear, but that depends on
1236
1266
  // how we interpret now (local, utc, fixed offset). So create
1237
1267
  // a now version of current config (take local/utc/offset flags, and
1238
1268
  // create now).
1239
- n=Fn(t.GG,e._a[je],Tt(Jn(),1,4).year),r=Fn(t.W,1),((i=Fn(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=Tt(Jn(),o,a),n=Fn(t.gg,e._a[je],u.year),
1269
+ n=On(t.GG,e._a[je],Tt(Jn(),1,4).year),r=On(t.W,1),((i=On(t.E,1))<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,u=Tt(Jn(),a,o),n=On(t.gg,e._a[je],u.year),
1240
1270
  // Default to current week.
1241
- r=Fn(t.w,u.week),null!=t.d?((
1271
+ r=On(t.w,u.week),null!=t.d?((
1242
1272
  // weekday -- low day numbers are considered next week
1243
1273
  i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
1244
1274
  // local weekday -- counting starts from beginning of week
1245
- i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):
1275
+ i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):
1246
1276
  // default to beginning of week
1247
- i=o),r<1||r>xt(n,o,a)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=vt(n,r,i,o,a),e._a[je]=s.year,e._dayOfYear=s.dayOfYear)}
1277
+ i=a),r<1||r>xt(n,a,o)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=vt(n,r,i,a,o),e._a[je]=s.year,e._dayOfYear=s.dayOfYear)}
1248
1278
  // constant that refers to the ISO standard
1249
1279
  // date from string and format string
1250
1280
  function Un(e){
1251
1281
  // TODO: Move this to another part of the creation flow to prevent circular deps
1252
1282
  if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
1253
1283
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
1254
- var t,n,i,o,a,s,l,u=""+e._i,c=u.length,d=0;for(l=(i=Y(e._f,e._locale).match(O)||[]).length,t=0;t<l;t++)o=i[t],(n=(u.match(Be(o,e))||[])[0])&&((a=u.substr(0,u.indexOf(n))).length>0&&g(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),d+=n.length),
1284
+ var t,n,i,a,o,s,l,u=""+e._i,c=u.length,d=0;for(l=(i=Y(e._f,e._locale).match(z)||[]).length,t=0;t<l;t++)a=i[t],(n=(u.match(Be(a,e))||[])[0])&&((o=u.substr(0,u.indexOf(n))).length>0&&g(e).unusedInput.push(o),u=u.slice(u.indexOf(n)+n.length),d+=n.length),
1255
1285
  // don't parse if it's not a known token
1256
- N[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),Ue(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);
1286
+ N[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),Ue(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);
1257
1287
  // add remaining unparsed input length to the string
1258
1288
  g(e).charsLeftOver=c-d,u.length>0&&g(e).unusedInput.push(u),
1259
1289
  // clear _12h flag if hour is <= 12
@@ -1261,19 +1291,19 @@ e._a[Ve]<=12&&!0===g(e).bigHour&&e._a[Ve]>0&&(g(e).bigHour=void 0),g(e).parsedDa
1261
1291
  // handle meridiem
1262
1292
  e._a[Ve]=In(e._locale,e._a[Ve],e._meridiem),null!==(
1263
1293
  // handle era
1264
- s=g(e).era)&&(e._a[je]=e._locale.erasConvertYear(s,e._a[je])),Nn(e),Cn(e)}else Bn(e);else $n(e)}function In(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
1294
+ s=g(e).era)&&(e._a[je]=e._locale.erasConvertYear(s,e._a[je])),Nn(e),wn(e)}else Bn(e);else $n(e)}function In(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
1265
1295
  // Fallback
1266
1296
  (r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
1267
1297
  // date from string and array of format strings
1268
- function jn(e){var t,n,r,i,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)o=0,a=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Un(t),b(t)&&(a=!0),
1298
+ function jn(e){var t,n,r,i,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)a=0,o=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Un(t),b(t)&&(o=!0),
1269
1299
  // if there is any input that was not parsed add a penalty for that format
1270
- o+=g(t).charsLeftOver,
1300
+ a+=g(t).charsLeftOver,
1271
1301
  //or tokens
1272
- o+=10*g(t).unusedTokens.length,g(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));f(e,n||t)}function Yn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Nn(e)}}function Gn(e){var t=new T(Cn(Vn(e)));return t._nextDay&&(
1302
+ 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 Yn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Nn(e)}}function Gn(e){var t=new T(wn(Vn(e)));return t._nextDay&&(
1273
1303
  // Adding is smart enough around DST
1274
- t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new T(Cn(t)):(d(t)?e._d=t:o(n)?jn(e):n?Un(e):Wn(e),b(e)||(e._d=null),e))}function Wn(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?On(e):o(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Nn(e)):a(t)?Yn(e):c(t)?
1304
+ t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new T(wn(t)):(d(t)?e._d=t:a(n)?jn(e):n?Un(e):Wn(e),b(e)||(e._d=null),e))}function Wn(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?zn(e):a(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Nn(e)):o(t)?Yn(e):c(t)?
1275
1305
  // from milliseconds
1276
- e._d=new Date(t):r.createFromInputFallback(e)}function qn(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),(a(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),
1306
+ e._d=new Date(t):r.createFromInputFallback(e)}function qn(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),
1277
1307
  // object construction must be done this way.
1278
1308
  // https://github.com/moment/moment/issues/1423
1279
1309
  s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Gn(s)}function Jn(e,t,n,r){return qn(e,t,n,r,!1)}r.createFromInputFallback=k("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(){},
@@ -1284,23 +1314,23 @@ r.RFC_2822=function(){};var Zn=k("moment().min is deprecated, use moment.max ins
1284
1314
 
1285
1315
  // moments should either be an array of moment objects or an array, whose
1286
1316
  // first element is an array of moment objects.
1287
- function Xn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Jn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
1317
+ function Xn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Jn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
1288
1318
  // TODO: Use [].sort instead?
1289
1319
  function Qn(){return Xn("isBefore",[].slice.call(arguments,0))}function er(){return Xn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,i=nr.length;for(t in e)if(s(e,t)&&(-1===Ie.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[nr[n]]){if(r)return!1;// only allow non-integers for smallest unit
1290
- parseFloat(e[nr[n]])!==ce(e[nr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function or(){return $r(NaN)}function ar(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=rr(t),
1320
+ parseFloat(e[nr[n]])!==ce(e[nr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function ar(){return $r(NaN)}function or(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=rr(t),
1291
1321
  // representation for dateAddRemove
1292
1322
  this._milliseconds=+c+1e3*u+// 1000
1293
1323
  6e4*l+// 1000 * 60
1294
1324
  1e3*s*60*60,//using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
1295
1325
  // Because of dateAddRemove treats 24 hours as different from a
1296
1326
  // day when working around DST, we need to store them separately
1297
- this._days=+a+7*o,
1327
+ this._days=+o+7*a,
1298
1328
  // It is impossible to translate months into days without knowing
1299
1329
  // which months you are are talking about, so we have to store
1300
1330
  // it separately.
1301
- this._months=+i+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function sr(e){return e instanceof ar}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
1331
+ this._months=+i+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function sr(e){return e instanceof or}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
1302
1332
  // compare two arrays, return the number of differences
1303
- function ur(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&ce(e[r])!==ce(t[r]))&&a++;return a+o}
1333
+ 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&&ce(e[r])!==ce(t[r]))&&o++;return o+a}
1304
1334
  // FORMATTING
1305
1335
  function cr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),
1306
1336
  // PARSING
@@ -1330,17 +1360,17 @@ return-Math.round(e._d.getTimezoneOffset())}
1330
1360
  // a second time. In case it wants us to change the offset again
1331
1361
  // _changeInProgress == true case, then we have to adjust, because
1332
1362
  // there is no such time in the given timezone.
1333
- function pr(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=hr(De,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"),o!==e&&(!t||this._changeInProgress?Ar(this,$r(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mr(this)}function gr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function wr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function Cr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=hr(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function vr(e){return!!this.isValid()&&(e=e?Jn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Tr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Vn(t))._a?(e=t._isUTC?m(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _r(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1363
+ function pr(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=hr(De,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?Ar(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 gr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function Cr(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=hr(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function vr(e){return!!this.isValid()&&(e=e?Jn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Tr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Vn(t))._a?(e=t._isUTC?m(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _r(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Pr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1334
1364
  // ASP.NET json date format regex
1335
- r.updateOffset=function(){};var Pr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1365
+ r.updateOffset=function(){};var Sr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1336
1366
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
1337
1367
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
1338
1368
  // and further modified to allow for strings containing both week and day
1339
- Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $r(e,t){var n,r,i,o=e,
1369
+ Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $r(e,t){var n,r,i,a=e,
1340
1370
  // matching against regexp is expensive, do it on demand
1341
- a=null;return sr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=Pr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:ce(a[Ge])*n,h:ce(a[Ve])*n,m:ce(a[We])*n,s:ce(a[qe])*n,ms:ce(lr(1e3*a[Je]))*n}):(a=Er.exec(e))?(n="-"===a[1]?-1:1,o={y:Lr(a[2],n),M:Lr(a[3],n),w:Lr(a[4],n),d:Lr(a[5],n),h:Lr(a[6],n),m:Lr(a[7],n),s:Lr(a[8],n)}):null==o?
1371
+ o=null;return sr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Sr.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ce(o[Ge])*n,h:ce(o[Ve])*n,m:ce(o[We])*n,s:ce(o[qe])*n,ms:ce(lr(1e3*o[Je]))*n}):(o=Er.exec(e))?(n="-"===o[1]?-1:1,a={y:Lr(o[2],n),M:Lr(o[3],n),w:Lr(o[4],n),d:Lr(o[5],n),h:Lr(o[6],n),m:Lr(o[7],n),s:Lr(o[8],n)}):null==a?
1342
1372
  // checks for null or undefined
1343
- o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Mr(Jn(o.from),Jn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new ar(o),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Lr(e,t){
1373
+ a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Mr(Jn(a.from),Jn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new or(a),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Lr(e,t){
1344
1374
  // We'd normally use ~~inp for this, but unfortunately it also
1345
1375
  // converts floats to ints.
1346
1376
  // inp may be undefined, so careful calling replace on it.
@@ -1350,19 +1380,19 @@ return(isNaN(n)?0:n)*t}function Dr(e,t){var n={};return n.months=t.month()-e.mon
1350
1380
  // TODO: remove 'name' arg after deprecation is removed
1351
1381
  function Rr(e,t){return function(n,r){var i;
1352
1382
  //invert the arguments, but complain about it
1353
- return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,$r(n,r),e),this}}function Ar(e,t,n,i){var o=t._milliseconds,a=lr(t._days),s=lr(t._months);e.isValid()&&(i=null==i||i,s&&ut(e,he(e,"Month")+s*n),a&&fe(e,"Date",he(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}$r.fn=ar.prototype,$r.invalid=or;var Br=Rr(1,"add"),Or=Rr(-1,"subtract");function Fr(e){return"string"==typeof e||e instanceof String}
1383
+ return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,$r(n,r),e),this}}function Ar(e,t,n,i){var a=t._milliseconds,o=lr(t._days),s=lr(t._months);e.isValid()&&(i=null==i||i,s&&ut(e,he(e,"Month")+s*n),o&&fe(e,"Date",he(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}$r.fn=or.prototype,$r.invalid=ar;var Br=Rr(1,"add"),zr=Rr(-1,"subtract");function Or(e){return"string"==typeof e||e instanceof String}
1354
1384
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1355
- function zr(e){return x(e)||d(e)||Fr(e)||c(e)||Hr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=a(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=o.length;for(t=0;t<u;t+=1)n=o[t],i=i||s(e,n);return r&&i}function Hr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Fr(e)})).length),t&&n}function Ur(e){var t,n,r=a(e)&&!l(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||s(e,n);return r&&i}function Ir(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 jr(e,t){
1385
+ function Fr(e){return x(e)||d(e)||Or(e)||c(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"],u=a.length;for(t=0;t<u;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!c(t)&&Or(e)})).length),t&&n}function Ur(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 Ir(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 jr(e,t){
1356
1386
  // Support for single parameter, formats only overload to the calendar function
1357
- 1===arguments.length&&(arguments[0]?zr(arguments[0])?(e=arguments[0],t=void 0):Ur(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1387
+ 1===arguments.length&&(arguments[0]?Fr(arguments[0])?(e=arguments[0],t=void 0):Ur(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1358
1388
  // We want to compare the start of today, vs this.
1359
1389
  // Getting start-of-today depends on whether we're local/utc/offset or not.
1360
- var n=e||Jn(),i=fr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&($(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Jn(n)))}function Yr(){return new T(this)}function Gr(e,t){var n=x(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Vr(e,t){var n=x(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Wr(e,t,n,r){var i=x(e)?e:Jn(e),o=x(t)?t:Jn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function qr(e,t){var n,r=x(e)?e:Jn(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 Jr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,i,o;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":o=Xr(this,r)/12;break;case"month":o=Xr(this,r);break;case"quarter":o=Xr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
1361
- case"minute":o=(this-r)/6e4;break;// 1000 * 60
1362
- case"hour":o=(this-r)/36e5;break;// 1000 * 60 * 60
1363
- case"day":o=(this-r-i)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
1364
- case"week":o=(this-r-i)/6048e5;break;// 1000 * 60 * 60 * 24 * 7, negate dst
1365
- default:o=this-r}return n?o:ue(o)}function Xr(e,t){if(e.date()<t.date())
1390
+ var n=e||Jn(),i=fr(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,Jn(n)))}function Yr(){return new T(this)}function Gr(e,t){var n=x(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Vr(e,t){var n=x(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Wr(e,t,n,r){var i=x(e)?e:Jn(e),a=x(t)?t:Jn(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 qr(e,t){var n,r=x(e)?e:Jn(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 Jr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(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=Xr(this,r)/12;break;case"month":a=Xr(this,r);break;case"quarter":a=Xr(this,r)/3;break;case"second":a=(this-r)/1e3;break;// 1000
1391
+ case"minute":a=(this-r)/6e4;break;// 1000 * 60
1392
+ case"hour":a=(this-r)/36e5;break;// 1000 * 60 * 60
1393
+ case"day":a=(this-r-i)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
1394
+ case"week":a=(this-r-i)/6048e5;break;// 1000 * 60 * 60 * 24 * 7, negate dst
1395
+ default:a=this-r}return n?a:ue(a)}function Xr(e,t){if(e.date()<t.date())
1366
1396
  // end-of-month calculations work correct when the start month has more
1367
1397
  // days than the end month.
1368
1398
  return-Xr(t,e);
@@ -1379,7 +1409,7 @@ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).t
1379
1409
  * also be evaluated to get a new moment which is the same
1380
1410
  *
1381
1411
  * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
1382
- */function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ni(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&(x(e)&&e.isValid()||Jn(e).isValid())?$r({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Jn(),e)}function oi(e,t){return this.isValid()&&(x(e)&&e.isValid()||Jn(e).isValid())?$r({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.to(Jn(),e)}
1412
+ */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=j(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&(x(e)&&e.isValid()||Jn(e).isValid())?$r({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Jn(),e)}function ai(e,t){return this.isValid()&&(x(e)&&e.isValid()||Jn(e).isValid())?$r({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Jn(),e)}
1383
1413
  // If passed a locale key, it will set the locale for this
1384
1414
  // instance. Otherwise, it will return the locale configuration
1385
1415
  // variables for this instance.
@@ -1389,25 +1419,25 @@ function mi(e,t){return(e%t+t)%t}function pi(e,t,n){
1389
1419
  // the date constructor remaps years 0-99 to 1900-1999
1390
1420
  return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){
1391
1421
  // Date.UTC remaps years 0-99 to 1900-1999
1392
- return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function bi(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-=mi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=mi(t,di);break;case"second":t=this._d.valueOf(),t-=mi(t,ci)}return this._d.setTime(t),r.updateOffset(this,!0),this}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()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-mi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-mi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ci-mi(t,ci)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function wi(){return this._d.valueOf()-6e4*(this._offset||0)}function Ci(){return Math.floor(this.valueOf()/1e3)}function vi(){return new Date(this.valueOf())}function Ti(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xi(){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 _i(){
1422
+ return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function bi(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-=mi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=mi(t,di);break;case"second":t=this._d.valueOf(),t-=mi(t,ci)}return this._d.setTime(t),r.updateOffset(this,!0),this}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()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-mi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-mi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ci-mi(t,ci)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function Ci(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function vi(){return new Date(this.valueOf())}function Ti(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xi(){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 _i(){
1393
1423
  // new Date(NaN).toJSON() === null
1394
- return this.isValid()?this.toISOString():null}function ki(){return b(this)}function Si(){return f({},g(this))}function Pi(){return g(this).overflow}function Ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function $i(e,t){var n,i,o,a=this._eras||yn("en")._eras;for(n=0,i=a.length;n<i;++n)switch("string"==typeof a[n].since&&(
1424
+ return this.isValid()?this.toISOString():null}function ki(){return b(this)}function Pi(){return f({},g(this))}function Si(){return g(this).overflow}function Ei(){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||yn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(
1395
1425
  // truncate time
1396
- o=r(a[n].since).startOf("day"),a[n].since=o.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":
1426
+ 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":
1397
1427
  // truncate time
1398
- o=r(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}return a}function Li(e,t,n){var r,i,o,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,a,s].indexOf(e)>=0)return l[r]}function Di(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Mi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1428
+ a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}return o}function Li(e,t,n){var r,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([a,o,s].indexOf(e)>=0)return l[r]}function Di(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Mi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1399
1429
  // truncate time
1400
1430
  n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ri(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1401
1431
  // truncate time
1402
1432
  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 Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1403
1433
  // truncate time
1404
- 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 Bi(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,
1434
+ 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 Bi(){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,
1405
1435
  // truncate time
1406
- i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Oi(e){return s(this,"_erasNameRegex")||ji.call(this),e?this._erasNameRegex:this._erasRegex}function Fi(e){return s(this,"_erasAbbrRegex")||ji.call(this),e?this._erasAbbrRegex:this._erasRegex}function zi(e){return s(this,"_erasNarrowRegex")||ji.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Hi(e,t){return t.erasNameRegex(e)}function Ui(e,t){return t.erasNarrowRegex(e)}function Ii(e,t){return t._eraYearOrdinalRegex||Ee}function ji(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(Fe(a[e].name)),n.push(Fe(a[e].abbr)),i.push(Fe(a[e].narrow)),o.push(Fe(a[e].name)),o.push(Fe(a[e].abbr)),o.push(Fe(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
1436
+ 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 zi(e){return s(this,"_erasNameRegex")||ji.call(this),e?this._erasNameRegex:this._erasRegex}function Oi(e){return s(this,"_erasAbbrRegex")||ji.call(this),e?this._erasAbbrRegex:this._erasRegex}function Fi(e){return s(this,"_erasNarrowRegex")||ji.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Hi(e,t){return t.erasNameRegex(e)}function Ui(e,t){return t.erasNarrowRegex(e)}function Ii(e,t){return t._eraYearOrdinalRegex||Ee}function ji(){var e,t,n=[],r=[],i=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(Oe(o[e].name)),n.push(Oe(o[e].abbr)),i.push(Oe(o[e].narrow)),a.push(Oe(o[e].name)),a.push(Oe(o[e].abbr)),a.push(Oe(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")}
1407
1437
  // FORMATTING
1408
1438
  function Yi(e,t){H(0,[e,e.length],0,t)}
1409
1439
  // MOMENTS
1410
- function Gi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wi(){return xt(this.year(),1,4)}function qi(){return xt(this.isoWeekYear(),1,4)}function Ji(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var o;return null==e?Tt(this,r,i).year:(t>(o=xt(e,r,i))&&(t=o),Xi.call(this,e,t,n,r,i))}function Xi(e,t,n,r,i){var o=vt(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}
1440
+ function Gi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wi(){return xt(this.year(),1,4)}function qi(){return xt(this.isoWeekYear(),1,4)}function Ji(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var a;return null==e?Tt(this,r,i).year:(t>(a=xt(e,r,i))&&(t=a),Xi.call(this,e,t,n,r,i))}function Xi(e,t,n,r,i){var a=vt(e,t,n,r,i),o=Ct(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}
1411
1441
  // FORMATTING
1412
1442
  // MOMENTS
1413
1443
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
@@ -1416,67 +1446,67 @@ H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"
1416
1446
  // ALIASES
1417
1447
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1418
1448
  // PRIORITY
1419
- ae("weekYear",1),ae("isoWeekYear",1),
1449
+ oe("weekYear",1),oe("isoWeekYear",1),
1420
1450
  // PARSING
1421
- Ae("G",$e),Ae("g",$e),Ae("GG",Te,ye),Ae("gg",Te,ye),Ae("GGGG",Se,Ce),Ae("gggg",Se,Ce),Ae("GGGGG",Pe,ve),Ae("ggggg",Pe,ve),He(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),He(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1451
+ Ae("G",$e),Ae("g",$e),Ae("GG",Te,ye),Ae("gg",Te,ye),Ae("GGGG",Pe,we),Ae("gggg",Pe,we),Ae("GGGGG",Se,ve),Ae("ggggg",Se,ve),He(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),He(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
1422
1452
  // ALIASES
1423
1453
  ne("quarter","Q"),
1424
1454
  // PRIORITY
1425
- ae("quarter",7),
1455
+ oe("quarter",7),
1426
1456
  // PARSING
1427
1457
  Ae("Q",be),Ne("Q",(function(e,t){t[Ye]=3*(ce(e)-1)})),H("D",["DD",2],"Do","date"),
1428
1458
  // ALIASES
1429
1459
  ne("date","D"),
1430
1460
  // PRIORITY
1431
- ae("date",9),
1461
+ oe("date",9),
1432
1462
  // PARSING
1433
1463
  Ae("D",Te),Ae("DD",Te,ye),Ae("Do",(function(e,t){
1434
1464
  // TODO: Remove "ordinalParse" fallback in next major release.
1435
1465
  return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ne(["D","DD"],Ge),Ne("Do",(function(e,t){t[Ge]=ce(e.match(Te)[0])}));
1436
1466
  // MOMENTS
1437
- var eo=de("Date",!0);
1467
+ var ea=de("Date",!0);
1438
1468
  // FORMATTING
1439
1469
  // HELPERS
1440
1470
  // MOMENTS
1441
- function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}
1471
+ function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}
1442
1472
  // FORMATTING
1443
1473
  H("DDD",["DDDD",3],"DDDo","dayOfYear"),
1444
1474
  // ALIASES
1445
1475
  ne("dayOfYear","DDD"),
1446
1476
  // PRIORITY
1447
- ae("dayOfYear",4),
1477
+ oe("dayOfYear",4),
1448
1478
  // PARSING
1449
- Ae("DDD",ke),Ae("DDDD",we),Ne(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),H("m",["mm",2],0,"minute"),
1479
+ Ae("DDD",ke),Ae("DDDD",Ce),Ne(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),H("m",["mm",2],0,"minute"),
1450
1480
  // ALIASES
1451
1481
  ne("minute","m"),
1452
1482
  // PRIORITY
1453
- ae("minute",14),
1483
+ oe("minute",14),
1454
1484
  // PARSING
1455
1485
  Ae("m",Te),Ae("mm",Te,ye),Ne(["m","mm"],We);
1456
1486
  // MOMENTS
1457
- var no=de("Minutes",!1);
1487
+ var na=de("Minutes",!1);
1458
1488
  // FORMATTING
1459
1489
  H("s",["ss",2],0,"second"),
1460
1490
  // ALIASES
1461
1491
  ne("second","s"),
1462
1492
  // PRIORITY
1463
- ae("second",15),
1493
+ oe("second",15),
1464
1494
  // PARSING
1465
1495
  Ae("s",Te),Ae("ss",Te,ye),Ne(["s","ss"],qe);
1466
1496
  // MOMENTS
1467
- var ro,io,oo=de("Seconds",!1);
1497
+ var ra,ia,aa=de("Seconds",!1);
1468
1498
  // FORMATTING
1469
1499
  for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
1470
1500
  // ALIASES
1471
1501
  ne("millisecond","ms"),
1472
1502
  // PRIORITY
1473
- ae("millisecond",16),
1503
+ oe("millisecond",16),
1474
1504
  // PARSING
1475
- Ae("S",ke,be),Ae("SS",ke,ye),Ae("SSS",ke,we),ro="SSSS";ro.length<=9;ro+="S")Ae(ro,Ee);function ao(e,t){t[Je]=ce(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Ne(ro,ao);
1505
+ Ae("S",ke,be),Ae("SS",ke,ye),Ae("SSS",ke,Ce),ra="SSSS";ra.length<=9;ra+="S")Ae(ra,Ee);function oa(e,t){t[Je]=ce(1e3*("0."+e))}for(ra="S";ra.length<=9;ra+="S")Ne(ra,oa);
1476
1506
  // MOMENTS
1477
- function so(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=de("Milliseconds",!1),
1507
+ function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=de("Milliseconds",!1),
1478
1508
  // FORMATTING
1479
- H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var uo=T.prototype;function co(e){return Jn(1e3*e)}function ho(){return Jn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Br,uo.calendar=jr,uo.clone=Yr,uo.diff=Kr,uo.endOf=yi,uo.format=ni,uo.from=ri,uo.fromNow=ii,uo.to=oi,uo.toNow=ai,uo.get=me,uo.invalidAt=Pi,uo.isAfter=Gr,uo.isBefore=Vr,uo.isBetween=Wr,uo.isSame=qr,uo.isSameOrAfter=Jr,uo.isSameOrBefore=Zr,uo.isValid=ki,uo.lang=li,uo.locale=si,uo.localeData=ui,uo.max=Kn,uo.min=Zn,uo.parsingFlags=Si,uo.set=pe,uo.startOf=bi,uo.subtract=Or,uo.toArray=Ti,uo.toObject=xi,uo.toDate=vi,uo.toISOString=ei,uo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=_i,uo.toString=Qr,uo.unix=Ci,uo.valueOf=wi,uo.creationData=Ei,uo.eraName=Mi,uo.eraNarrow=Ri,uo.eraAbbr=Ai,uo.eraYear=Bi,uo.year=gt,uo.isLeapYear=bt,uo.weekYear=Gi,uo.isoWeekYear=Vi,uo.quarter=uo.quarters=Qi,uo.month=ct,uo.daysInMonth=dt,uo.week=uo.weeks=Et,uo.isoWeek=uo.isoWeeks=$t,uo.weeksInYear=Ji,uo.weeksInWeekYear=Zi,uo.isoWeeksInYear=Wi,uo.isoWeeksInISOWeekYear=qi,uo.date=eo,uo.day=uo.days=Yt,uo.weekday=Gt,uo.isoWeekday=Vt,uo.dayOfYear=to,uo.hour=uo.hours=rn,uo.minute=uo.minutes=no,uo.second=uo.seconds=oo,uo.millisecond=uo.milliseconds=io,uo.utcOffset=pr,uo.utc=br,uo.local=wr,uo.parseZone=Cr,uo.hasAlignedHourOffset=vr,uo.isDST=Tr,uo.isLocal=_r,uo.isUtcOffset=kr,uo.isUtc=Sr,uo.isUTC=Sr,uo.zoneAbbr=so,uo.zoneName=lo,uo.dates=k("dates accessor is deprecated. Use date instead.",eo),uo.months=k("months accessor is deprecated. Use month instead",ct),uo.years=k("years accessor is deprecated. Use year instead",gt),uo.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),uo.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var mo=M.prototype;function po(e,t,n,r){var i=yn(),o=m().set(r,t);return i[n](o,e)}function go(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(e,r,n,"month");return i}
1509
+ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ua=T.prototype;function ca(e){return Jn(1e3*e)}function da(){return Jn.apply(null,arguments).parseZone()}function ha(e){return e}ua.add=Br,ua.calendar=jr,ua.clone=Yr,ua.diff=Kr,ua.endOf=yi,ua.format=ni,ua.from=ri,ua.fromNow=ii,ua.to=ai,ua.toNow=oi,ua.get=me,ua.invalidAt=Si,ua.isAfter=Gr,ua.isBefore=Vr,ua.isBetween=Wr,ua.isSame=qr,ua.isSameOrAfter=Jr,ua.isSameOrBefore=Zr,ua.isValid=ki,ua.lang=li,ua.locale=si,ua.localeData=ui,ua.max=Kn,ua.min=Zn,ua.parsingFlags=Pi,ua.set=pe,ua.startOf=bi,ua.subtract=zr,ua.toArray=Ti,ua.toObject=xi,ua.toDate=vi,ua.toISOString=ei,ua.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=_i,ua.toString=Qr,ua.unix=wi,ua.valueOf=Ci,ua.creationData=Ei,ua.eraName=Mi,ua.eraNarrow=Ri,ua.eraAbbr=Ai,ua.eraYear=Bi,ua.year=gt,ua.isLeapYear=bt,ua.weekYear=Gi,ua.isoWeekYear=Vi,ua.quarter=ua.quarters=Qi,ua.month=ct,ua.daysInMonth=dt,ua.week=ua.weeks=Et,ua.isoWeek=ua.isoWeeks=$t,ua.weeksInYear=Ji,ua.weeksInWeekYear=Zi,ua.isoWeeksInYear=Wi,ua.isoWeeksInISOWeekYear=qi,ua.date=ea,ua.day=ua.days=Yt,ua.weekday=Gt,ua.isoWeekday=Vt,ua.dayOfYear=ta,ua.hour=ua.hours=rn,ua.minute=ua.minutes=na,ua.second=ua.seconds=aa,ua.millisecond=ua.milliseconds=ia,ua.utcOffset=pr,ua.utc=br,ua.local=Cr,ua.parseZone=wr,ua.hasAlignedHourOffset=vr,ua.isDST=Tr,ua.isLocal=_r,ua.isUtcOffset=kr,ua.isUtc=Pr,ua.isUTC=Pr,ua.zoneAbbr=sa,ua.zoneName=la,ua.dates=k("dates accessor is deprecated. Use date instead.",ea),ua.months=k("months accessor is deprecated. Use month instead",ct),ua.years=k("years accessor is deprecated. Use year instead",gt),ua.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),ua.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var fa=M.prototype;function ma(e,t,n,r){var i=yn(),a=m().set(r,t);return i[n](a,e)}function pa(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return ma(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=ma(e,r,n,"month");return i}
1480
1510
  // ()
1481
1511
  // (5)
1482
1512
  // (fmt, 5)
@@ -1485,34 +1515,34 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var uo=T.prototype;function co(e){r
1485
1515
  // (true, 5)
1486
1516
  // (true, fmt, 5)
1487
1517
  // (true, fmt)
1488
- function bo(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=yn(),a=e?o._week.dow:0,s=[];if(null!=n)return po(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=po(t,(i+a)%7,r,"day");return s}function yo(e,t){return go(e,t,"months")}function wo(e,t){return go(e,t,"monthsShort")}function Co(e,t,n){return bo(e,t,n,"weekdays")}function vo(e,t,n){return bo(e,t,n,"weekdaysShort")}function To(e,t,n){return bo(e,t,n,"weekdaysMin")}mo.calendar=A,mo.longDateFormat=V,mo.invalidDate=q,mo.ordinal=K,mo.preparse=fo,mo.postformat=fo,mo.relativeTime=Q,mo.pastFuture=ee,mo.set=L,mo.eras=$i,mo.erasParse=Li,mo.erasConvertYear=Di,mo.erasAbbrRegex=Fi,mo.erasNameRegex=Oi,mo.erasNarrowRegex=zi,mo.months=ot,mo.monthsShort=at,mo.monthsParse=lt,mo.monthsRegex=ft,mo.monthsShortRegex=ht,mo.week=_t,mo.firstDayOfYear=Pt,mo.firstDayOfWeek=St,mo.weekdays=Nt,mo.weekdaysMin=Ut,mo.weekdaysShort=Ht,mo.weekdaysParse=jt,mo.weekdaysRegex=Wt,mo.weekdaysShortRegex=qt,mo.weekdaysMinRegex=Jt,mo.isPM=tn,mo.meridiem=on,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===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1518
+ function ga(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,a=yn(),o=e?a._week.dow:0,s=[];if(null!=n)return ma(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=ma(t,(i+o)%7,r,"day");return s}function ba(e,t){return pa(e,t,"months")}function ya(e,t){return pa(e,t,"monthsShort")}function Ca(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function va(e,t,n){return ga(e,t,n,"weekdaysMin")}fa.calendar=A,fa.longDateFormat=V,fa.invalidDate=q,fa.ordinal=K,fa.preparse=ha,fa.postformat=ha,fa.relativeTime=Q,fa.pastFuture=ee,fa.set=L,fa.eras=$i,fa.erasParse=Li,fa.erasConvertYear=Di,fa.erasAbbrRegex=Oi,fa.erasNameRegex=zi,fa.erasNarrowRegex=Fi,fa.months=at,fa.monthsShort=ot,fa.monthsParse=lt,fa.monthsRegex=ft,fa.monthsShortRegex=ht,fa.week=_t,fa.firstDayOfYear=St,fa.firstDayOfWeek=Pt,fa.weekdays=Nt,fa.weekdaysMin=Ut,fa.weekdaysShort=Ht,fa.weekdaysParse=jt,fa.weekdaysRegex=Wt,fa.weekdaysShortRegex=qt,fa.weekdaysMinRegex=Jt,fa.isPM=tn,fa.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===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1489
1519
  // Side effect imports
1490
- r.lang=k("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",yn);var xo=Math.abs;function _o(){var e=this._data;return this._milliseconds=xo(this._milliseconds),this._days=xo(this._days),this._months=xo(this._months),e.milliseconds=xo(e.milliseconds),e.seconds=xo(e.seconds),e.minutes=xo(e.minutes),e.hours=xo(e.hours),e.months=xo(e.months),e.years=xo(e.years),this}function ko(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()}
1520
+ r.lang=k("moment.lang is deprecated. Use moment.locale instead.",pn),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",yn);var Ta=Math.abs;function xa(){var e=this._data;return this._milliseconds=Ta(this._milliseconds),this._days=Ta(this._days),this._months=Ta(this._months),e.milliseconds=Ta(e.milliseconds),e.seconds=Ta(e.seconds),e.minutes=Ta(e.minutes),e.hours=Ta(e.hours),e.months=Ta(e.months),e.years=Ta(e.years),this}function _a(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()}
1491
1521
  // supports only 2.0-style add(1, 's') or add(duration)
1492
- function So(e,t){return ko(this,e,t,1)}
1522
+ function ka(e,t){return _a(this,e,t,1)}
1493
1523
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
1494
- function Po(e,t){return ko(this,e,t,-1)}function Eo(e){return e<0?Math.floor(e):Math.ceil(e)}function $o(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;
1524
+ function Pa(e,t){return _a(this,e,t,-1)}function Sa(e){return e<0?Math.floor(e):Math.ceil(e)}function Ea(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;
1495
1525
  // if we have a mix of positive and negative values, bubble down first
1496
1526
  // check: https://github.com/moment/moment/issues/2166
1497
- return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Eo(Do(s)+a),a=0,s=0),
1527
+ return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Sa(La(s)+o),o=0,s=0),
1498
1528
  // The following code bubbles up values, see the tests for
1499
1529
  // examples of what that means.
1500
- l.milliseconds=o%1e3,e=ue(o/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,a+=ue(n/24),s+=
1530
+ l.milliseconds=a%1e3,e=ue(a/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,o+=ue(n/24),s+=
1501
1531
  // convert days to months
1502
- i=ue(Lo(a)),a-=Eo(Do(i)),
1532
+ i=ue($a(o)),o-=Sa(La(i)),
1503
1533
  // 12 months -> 1 year
1504
- r=ue(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Lo(e){
1534
+ r=ue(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function $a(e){
1505
1535
  // 400 years have 146097 days (taking into account leap year rules)
1506
1536
  // 400 years have 12 months === 4800
1507
- return 4800*e/146097}function Do(e){
1537
+ return 4800*e/146097}function La(e){
1508
1538
  // the reverse of daysToMonths
1509
- return 146097*e/4800}function Mo(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+Lo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
1539
+ return 146097*e/4800}function Da(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(
1510
1540
  // handle milliseconds separately because of floating point math errors (issue #1867)
1511
- t=this._days+Math.round(Do(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;
1541
+ t=this._days+Math.round(La(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;
1512
1542
  // Math.floor prevents floating point math errors here
1513
1543
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1514
1544
  // TODO: Use this.as('ms')?
1515
- function Ro(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ao(e){return function(){return this.as(e)}}var Bo=Ao("ms"),Oo=Ao("s"),Fo=Ao("m"),zo=Ao("h"),No=Ao("d"),Ho=Ao("w"),Uo=Ao("M"),Io=Ao("Q"),jo=Ao("y");function Yo(){return $r(this)}function Go(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Vo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wo=Vo("milliseconds"),qo=Vo("seconds"),Jo=Vo("minutes"),Zo=Vo("hours"),Ko=Vo("days"),Xo=Vo("months"),Qo=Vo("years");function ea(){return ue(this.days()/7)}var ta=Math.round,na={ss:44,// a few seconds to seconds
1545
+ function Ma(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ra(e){return function(){return this.as(e)}}var Aa=Ra("ms"),Ba=Ra("s"),za=Ra("m"),Oa=Ra("h"),Fa=Ra("d"),Na=Ra("w"),Ha=Ra("M"),Ua=Ra("Q"),Ia=Ra("y");function ja(){return $r(this)}function Ya(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ga(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=Ga("milliseconds"),Wa=Ga("seconds"),qa=Ga("minutes"),Ja=Ga("hours"),Za=Ga("days"),Ka=Ga("months"),Xa=Ga("years");function Qa(){return ue(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
1516
1546
  s:45,// seconds to minute
1517
1547
  m:45,// minutes to hour
1518
1548
  h:22,// hours to day
@@ -1520,11 +1550,11 @@ d:26,// days to month/week
1520
1550
  w:null,// weeks to month
1521
1551
  M:11};
1522
1552
  // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
1523
- function ra(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ia(e,t,n,r){var i=$r(e).abs(),o=ta(i.as("s")),a=ta(i.as("m")),s=ta(i.as("h")),l=ta(i.as("d")),u=ta(i.as("M")),c=ta(i.as("w")),d=ta(i.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=r,ra.apply(null,h)}
1553
+ 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")),u=eo(i.as("M")),c=eo(i.as("w")),d=eo(i.as("y")),h=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&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=r,no.apply(null,h)}
1524
1554
  // This function allows you to set the rounding function for relative time strings
1525
- function oa(e){return void 0===e?ta:"function"==typeof e&&(ta=e,!0)}
1555
+ function io(e){return void 0===e?eo:"function"==typeof e&&(eo=e,!0)}
1526
1556
  // This function allows you to set a threshold for relative time strings
1527
- function aa(e,t){return void 0!==na[e]&&(void 0===t?na[e]:(na[e]=t,"s"===e&&(na.ss=t-1),!0))}function sa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=na;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},na,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=ia(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var la=Math.abs;function ua(e){return(e>0)-(e<0)||+e}function ca(){
1557
+ function ao(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,a=to;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(a=Object.assign({},to,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),r=ro(this,!i,a,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var so=Math.abs;function lo(e){return(e>0)-(e<0)||+e}function uo(){
1528
1558
  // for ISO strings we do not use the normal bubbling rules:
1529
1559
  // * milliseconds bubble up until they become hours
1530
1560
  // * days do not bubble at all
@@ -1532,19 +1562,19 @@ function aa(e,t){return void 0!==na[e]&&(void 0===t?na[e]:(na[e]=t,"s"===e&&(na.
1532
1562
  // This is because there is no context-free conversion between hours and days
1533
1563
  // (think of clock changes)
1534
1564
  // and also not between days and months (28-31 days per month)
1535
- if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=la(this._milliseconds)/1e3,u=la(this._days),c=la(this._months),d=this.asSeconds();return d?(
1565
+ if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,a,o,s,l=so(this._milliseconds)/1e3,u=so(this._days),c=so(this._months),d=this.asSeconds();return d?(
1536
1566
  // 3600 seconds -> 60 minutes -> 1 hour
1537
1567
  e=ue(l/60),t=ue(e/60),l%=60,e%=60,
1538
1568
  // 12 months -> 1 year
1539
1569
  n=ue(c/12),c%=12,
1540
1570
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1541
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=ua(this._months)!==ua(d)?"-":"",a=ua(this._days)!==ua(d)?"-":"",s=ua(this._milliseconds)!==ua(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var da=ar.prototype;return da.isValid=ir,da.abs=_o,da.add=So,da.subtract=Po,da.as=Mo,da.asMilliseconds=Bo,da.asSeconds=Oo,da.asMinutes=Fo,da.asHours=zo,da.asDays=No,da.asWeeks=Ho,da.asMonths=Uo,da.asQuarters=Io,da.asYears=jo,da.valueOf=Ro,da._bubble=$o,da.clone=Yo,da.get=Go,da.milliseconds=Wo,da.seconds=qo,da.minutes=Jo,da.hours=Zo,da.days=Ko,da.weeks=ea,da.months=Xo,da.years=Qo,da.humanize=sa,da.toISOString=ca,da.toString=ca,da.toJSON=ca,da.locale=si,da.localeData=ui,da.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),da.lang=li,
1571
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var co=or.prototype;return co.isValid=ir,co.abs=xa,co.add=ka,co.subtract=Pa,co.as=Da,co.asMilliseconds=Aa,co.asSeconds=Ba,co.asMinutes=za,co.asHours=Oa,co.asDays=Fa,co.asWeeks=Na,co.asMonths=Ha,co.asQuarters=Ua,co.asYears=Ia,co.valueOf=Ma,co._bubble=Ea,co.clone=ja,co.get=Ya,co.milliseconds=Va,co.seconds=Wa,co.minutes=qa,co.hours=Ja,co.days=Za,co.weeks=Qa,co.months=Ka,co.years=Xa,co.humanize=oo,co.toISOString=uo,co.toString=uo,co.toJSON=uo,co.locale=si,co.localeData=ui,co.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),co.lang=li,
1542
1572
  // FORMATTING
1543
1573
  H("X",0,0,"unix"),H("x",0,0,"valueOf"),
1544
1574
  // PARSING
1545
1575
  Ae("x",$e),Ae("X",Me),Ne("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ne("x",(function(e,t,n){n._d=new Date(ce(e))})),
1546
1576
  //! moment.js
1547
- r.version="2.29.4",i(Jn),r.fn=uo,r.min=Qn,r.max=er,r.now=tr,r.utc=m,r.unix=co,r.months=yo,r.isDate=d,r.locale=pn,r.invalid=y,r.duration=$r,r.isMoment=x,r.weekdays=Co,r.parseZone=ho,r.localeData=yn,r.isDuration=sr,r.monthsShort=wo,r.weekdaysMin=To,r.defineLocale=gn,r.updateLocale=bn,r.locales=wn,r.weekdaysShort=vo,r.normalizeUnits=re,r.relativeTimeRounding=oa,r.relativeTimeThreshold=aa,r.calendarFormat=Ir,r.prototype=uo,
1577
+ r.version="2.29.4",i(Jn),r.fn=ua,r.min=Qn,r.max=er,r.now=tr,r.utc=m,r.unix=ca,r.months=ba,r.isDate=d,r.locale=pn,r.invalid=y,r.duration=$r,r.isMoment=x,r.weekdays=Ca,r.parseZone=da,r.localeData=yn,r.isDuration=sr,r.monthsShort=ya,r.weekdaysMin=va,r.defineLocale=gn,r.updateLocale=bn,r.locales=Cn,r.weekdaysShort=wa,r.normalizeUnits=re,r.relativeTimeRounding=io,r.relativeTimeThreshold=ao,r.calendarFormat=Ir,r.prototype=ua,
1548
1578
  // currently HTML5 input type only supports 24-hour formats
1549
1579
  r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
1550
1580
  DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
@@ -1554,67 +1584,67 @@ TIME:"HH:mm",// <input type="time" />
1554
1584
  TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1555
1585
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1556
1586
  WEEK:"GGGG-[W]WW",// <input type="week" />
1557
- MONTH:"YYYY-MM"},r}()})),Ga="data:image/svg+xml,%3csvg width='9' height='11' viewBox='0 0 9 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.1 1.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405 1.4 0 1.805 0 2.3V9.5C0 9.995 0.405 10.4 0.9 10.4H8.1C8.595 10.4 9 9.995 9 9.5V2.3C9 1.805 8.595 1.4 8.1 1.4ZM8.10003 9.5H0.900027V4.55H8.10003V9.5ZM0.900027 3.65005H8.10003V2.30005H0.900027V3.65005Z' fill='%231E1616'/%3e%3c/svg%3e";
1587
+ MONTH:"YYYY-MM"},r}()})),rs="data:image/svg+xml,%3csvg width='9' height='11' viewBox='0 0 9 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.1 1.4H7.65V0.5H6.75V1.4H2.25V0.5H1.35V1.4H0.9C0.405 1.4 0 1.805 0 2.3V9.5C0 9.995 0.405 10.4 0.9 10.4H8.1C8.595 10.4 9 9.995 9 9.5V2.3C9 1.805 8.595 1.4 8.1 1.4ZM8.10003 9.5H0.900027V4.55H8.10003V9.5ZM0.900027 3.65005H8.10003V2.30005H0.900027V3.65005Z' fill='%231E1616'/%3e%3c/svg%3e";
1558
1588
  /* src/Cells/StartDateCell.svelte generated by Svelte v3.59.2 */
1559
- function Va(e){let t,n,r,i,a,s=/*cellsetting*/e[1]&&/*cellsetting*/e[1].showCalendarIcon&&Wa();return{c(){t=y("div"),s&&s.c(),n=C(/*shownDate*/e[2]),_(t,"class","Date TagContent"),_(t,"part","Date TagContent")},m(o,l){p(o,t,l),s&&s.m(t,null),m(t,n),i||(a=f(r=/*formatDate*/e[3].call(null,t,/*startdate*/e[0])),i=!0)},p(e,i){/*cellsetting*/e[1]&&/*cellsetting*/e[1].showCalendarIcon?s?s.p(e,i):(s=Wa(),s.c(),s.m(t,n)):s&&(s.d(1),s=null),/*shownDate*/4&i&&k(n,/*shownDate*/e[2]),r&&o(r.update)&&/*startdate*/1&i&&r.update.call(null,/*startdate*/e[0])},d(e){e&&g(t),s&&s.d(),i=!1,a()}}}
1589
+ function is(e){let t,n,r,i,o,s=/*cellsetting*/e[1]&&/*cellsetting*/e[1].showCalendarIcon&&as();return{c(){t=y("div"),s&&s.c(),n=w(/*shownDate*/e[2]),_(t,"class","Date TagContent"),_(t,"part","Date TagContent")},m(a,l){p(a,t,l),s&&s.m(t,null),m(t,n),i||(o=f(r=/*formatDate*/e[3].call(null,t,/*startdate*/e[0])),i=!0)},p(e,i){/*cellsetting*/e[1]&&/*cellsetting*/e[1].showCalendarIcon?s?s.p(e,i):(s=as(),s.c(),s.m(t,n)):s&&(s.d(1),s=null),/*shownDate*/4&i&&k(n,/*shownDate*/e[2]),r&&a(r.update)&&/*startdate*/1&i&&r.update.call(null,/*startdate*/e[0])},d(e){e&&g(t),s&&s.d(),i=!1,o()}}}
1560
1590
  // (66:4) {#if cellsetting && cellsetting.showCalendarIcon}
1561
- function Wa(t){let n,r,i;return{c(){n=y("img"),i=v(),_(n,"class","CalendarIcon"),_(n,"alt","Calendar"),_(n,"part","CalendarIcon"),u(n.src,r=Ga)||_(n,"src",r)},m(e,t){p(e,n,t),p(e,i,t)},p:e,d(e){e&&g(n),e&&g(i)}}}function qa(t){let n,r=/*startdate*/t[0]&&Va(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*startdate*/e[0]?r?r.p(e,t):(r=Va(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function Ja(e,t,n){let r;d(e,Yn,(e=>n(7,r=e)));let{startdate:i=""}=t,{status:o=""}=t,{lang:a=""}=t,{cellsetting:s}=t,l={shortstart:!1,shortstartformat:"DD MMM YYYY",showCalendarIcon:!1},u="";cn({fallbackLocale:"en",initialLocale:"en"}),Object.keys(Si).forEach((e=>{bi(e,Si[e])}));const c=()=>{const e={month:"long"};let t=new Date(i);if(s&&s.shortstart){let e=Ya(t).format(s.shortstartformat||l.shortstartformat);n(2,u=r("Running"===o||"Closing"==o||"Closed"==o?"tournamentsThumbnail.startedAtWithTime":"tournamentsThumbnail.startingAtWithTime",{values:{startTime:e}}))}else{let i=new Intl.DateTimeFormat("en",e).format(t),a=t.getDate(),s=t.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});n(2,u=`${a} `+r(`tournamentsThumbnail.${i}`)+", "+r("Running"===o?"tournamentsThumbnail.startedAt":"tournamentsThumbnail.startingAt")+` ${s}`)}};return e.$$set=e=>{"startdate"in e&&n(0,i=e.startdate),"status"in e&&n(4,o=e.status),"lang"in e&&n(5,a=e.lang),"cellsetting"in e&&n(1,s=e.cellsetting)},e.$$.update=()=>{/*lang*/32&e.$$.dirty&&a&&(yi(a),i&&c()),/*startdate*/1&e.$$.dirty&&i&&c(),/*cellsetting*/2&e.$$.dirty&&s&&(l={shortstart:s.shortstart||!1,shortstartformat:s.shortstartformat||"DD MMM YYYY",showCalendarIcon:s.showCalendarIcon||!1})},[i,s,u,c,o,a]}class Za extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ja,qa,a,{startdate:0,status:4,lang:5,cellsetting:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["startdate","status","lang","cellsetting"]}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),I()}get status(){return this.$$.ctx[4]}set status(e){this.$$set({status:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get cellsetting(){return this.$$.ctx[1]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
1591
+ function as(t){let n,r,i;return{c(){n=y("img"),i=v(),_(n,"class","CalendarIcon"),_(n,"alt","Calendar"),_(n,"part","CalendarIcon"),u(n.src,r=rs)||_(n,"src",r)},m(e,t){p(e,n,t),p(e,i,t)},p:e,d(e){e&&g(n),e&&g(i)}}}function os(t){let n,r=/*startdate*/t[0]&&is(t);return{c(){r&&r.c(),n=T(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,[t]){/*startdate*/e[0]?r?r.p(e,t):(r=is(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&g(n)}}}function ss(e,t,n){let r;d(e,Yn,(e=>n(7,r=e)));let{startdate:i=""}=t,{status:a=""}=t,{lang:o=""}=t,{cellsetting:s}=t,l={shortstart:!1,shortstartformat:"DD MMM YYYY",showCalendarIcon:!1},u="";cn({fallbackLocale:"en",initialLocale:"en"}),Object.keys(Pi).forEach((e=>{bi(e,Pi[e])}));const c=()=>{const e={month:"long"};let t=new Date(i);if(s&&s.shortstart){let e=ns(t).format(s.shortstartformat||l.shortstartformat);n(2,u=r("Running"===a||"Closing"==a||"Closed"==a?"tournamentsThumbnail.startedAtWithTime":"tournamentsThumbnail.startingAtWithTime",{values:{startTime:e}}))}else{let i=new Intl.DateTimeFormat("en",e).format(t),o=t.getDate(),s=t.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});n(2,u=`${o} `+r(`tournamentsThumbnail.${i}`)+", "+r("Running"===a?"tournamentsThumbnail.startedAt":"tournamentsThumbnail.startingAt")+` ${s}`)}};return e.$$set=e=>{"startdate"in e&&n(0,i=e.startdate),"status"in e&&n(4,a=e.status),"lang"in e&&n(5,o=e.lang),"cellsetting"in e&&n(1,s=e.cellsetting)},e.$$.update=()=>{/*lang*/32&e.$$.dirty&&o&&(yi(o),i&&c()),/*startdate*/1&e.$$.dirty&&i&&c(),/*cellsetting*/2&e.$$.dirty&&s&&(l={shortstart:s.shortstart||!1,shortstartformat:s.shortstartformat||"DD MMM YYYY",showCalendarIcon:s.showCalendarIcon||!1})},[i,s,u,c,a,o]}class ls extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ss,os,o,{startdate:0,status:4,lang:5,cellsetting:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["startdate","status","lang","cellsetting"]}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),I()}get status(){return this.$$.ctx[4]}set status(e){this.$$set({status:e}),I()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),I()}get cellsetting(){return this.$$.ctx[1]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}
1562
1592
  /* src/Cells/BackButtonCell.svelte generated by Svelte v3.59.2 */
1563
- function Ka(t){let n,r,i,o,a,s,l,u,c,d=/*$_*/t[0]("tournamentsPage.back")+"";return{c(){n=y("div"),r=y("div"),i=w("svg"),o=w("path"),a=v(),s=y("p"),l=C(d),this.c=e,_(o,"stroke-linecap","round"),_(o,"stroke-linejoin","round"),_(o,"stroke-width","2"),_(o,"d","M15 19l-7-7 7-7"),_(i,"fill","none"),_(i,"stroke","currentColor"),_(i,"width","24"),_(i,"height","24"),_(i,"viewBox","0 0 24 24"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(s,"class","ButtonText"),_(r,"class","BackButton"),_(r,"part","BackButton"),_(n,"class","TopButtons"),_(n,"part","TopButtons")},m(e,d){p(e,n,d),m(n,r),m(r,i),m(i,o),m(r,a),m(r,s),m(s,l),u||(c=x(r,"click",/*click_handler*/t[4]),u=!0)},p(e,[t]){/*$_*/1&t&&d!==(d=/*$_*/e[0]("tournamentsPage.back")+"")&&k(l,d)},i:e,o:e,d(e){e&&g(n),u=!1,c()}}}function Xa(e,t,n){let r;d(e,Yn,(e=>n(0,r=e)));let{lang:i="en"}=t,{navigationbackbutton:o="Default"}=t;Object.keys(Ci).forEach((e=>{bi(e,Ci[e])}));const a=()=>{
1593
+ function us(t){let n,r,i,a,o,s,l,u,c,d=/*$_*/t[0]("tournamentsPage.back")+"";return{c(){n=y("div"),r=y("div"),i=C("svg"),a=C("path"),o=v(),s=y("p"),l=w(d),this.c=e,_(a,"stroke-linecap","round"),_(a,"stroke-linejoin","round"),_(a,"stroke-width","2"),_(a,"d","M15 19l-7-7 7-7"),_(i,"fill","none"),_(i,"stroke","currentColor"),_(i,"width","24"),_(i,"height","24"),_(i,"viewBox","0 0 24 24"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(s,"class","ButtonText"),_(r,"class","BackButton"),_(r,"part","BackButton"),_(n,"class","TopButtons"),_(n,"part","TopButtons")},m(e,d){p(e,n,d),m(n,r),m(r,i),m(i,a),m(r,o),m(r,s),m(s,l),u||(c=x(r,"click",/*click_handler*/t[4]),u=!0)},p(e,[t]){/*$_*/1&t&&d!==(d=/*$_*/e[0]("tournamentsPage.back")+"")&&k(l,d)},i:e,o:e,d(e){e&&g(n),u=!1,c()}}}function cs(e,t,n){let r;d(e,Yn,(e=>n(0,r=e)));let{lang:i="en"}=t,{navigationbackbutton:a="Default"}=t;Object.keys(wi).forEach((e=>{bi(e,wi[e])}));const o=()=>{
1564
1594
  // this function handles the back navigation making use of the prop: navigationbackbutton. If it has the
1565
1595
  // event value, it will emit the 'RedirectBack' event which will enable the client to handle the routing;
1566
1596
  // else, if it has the 'Default' value, it will do a window.history.back()
1567
- "Event"==o?window.postMessage({type:"RedirectBack"},window.location.href):"Default"==o&&window.history.back()};return e.$$set=e=>{"lang"in e&&n(2,i=e.lang),"navigationbackbutton"in e&&n(3,o=e.navigationbackbutton)},e.$$.update=()=>{/*lang*/4&e.$$.dirty&&i&&yi(i)},[r,a,i,o,()=>a()]}customElements.define("startdate-cell",Za);class Qa extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Xa,Ka,a,{lang:2,navigationbackbutton:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","navigationbackbutton"]}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),I()}get navigationbackbutton(){return this.$$.ctx[3]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),I()}}
1597
+ "Event"==a?window.postMessage({type:"RedirectBack"},window.location.href):"Default"==a&&window.history.back()};return e.$$set=e=>{"lang"in e&&n(2,i=e.lang),"navigationbackbutton"in e&&n(3,a=e.navigationbackbutton)},e.$$.update=()=>{/*lang*/4&e.$$.dirty&&i&&yi(i)},[r,o,i,a,()=>o()]}customElements.define("startdate-cell",ls);class ds extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},cs,us,o,{lang:2,navigationbackbutton:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","navigationbackbutton"]}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),I()}get navigationbackbutton(){return this.$$.ctx[3]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),I()}}
1568
1598
  /* src/Cells/TranslateTextCell.svelte generated by Svelte v3.59.2 */
1569
- function es(t){let n,r;return{c(){n=y("span"),r=C(/*translatedText*/t[0]),this.c=e},m(e,t){p(e,n,t),m(n,r)},p(e,[t]){/*translatedText*/1&t&&k(r,/*translatedText*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function ts(e,t,n){let r;d(e,Yn,(e=>n(3,r=e)));let{lang:i=""}=t,{cellsetting:o={langkey:""}}=t,a="";Object.keys(Ci).forEach((e=>{bi(e,Ci[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const s=()=>{o.langkey&&n(0,a=r(`tournamentsPage.${o.langkey}`))};return e.$$set=e=>{"lang"in e&&n(1,i=e.lang),"cellsetting"in e&&n(2,o=e.cellsetting)},e.$$.update=()=>{/*lang, cellsetting*/6&e.$$.dirty&&i&&o&&void yi(i)&&s(),/*lang, cellsetting*/6&e.$$.dirty&&i&&o&&s()},[a,i,o]}customElements.define("backbutton-cell",Qa);class ns extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},ts,es,a,{lang:1,cellsetting:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","cellsetting"]}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),I()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}customElements.define("translate-text-cell",ns);const rs={Cell:{attributes:ai.observedAttributes,cellBox:ai},BackButtonCell:{attributes:Qa.observedAttributes,cellBox:Qa},ThumbnailCell:{attributes:ui.observedAttributes,cellBox:ui},TitleCell:{attributes:ja.observedAttributes,cellBox:ja},TitleTextCell:{attributes:gi.observedAttributes,cellBox:gi},TranslateTextCell:{attributes:ns.observedAttributes,cellBox:ns},StartDateCell:{attributes:Za.observedAttributes,cellBox:Za},ScoreCriteriaCell:{attributes:$i.observedAttributes,cellBox:$i},StatusTag:{attributes:Vi.observedAttributes,cellBox:Vi},TournamentSlot:{attributes:ai.observedAttributes,cellBox:ai},JoinButtonCell:{attributes:Ii.observedAttributes,cellBox:Ii},UserEnrollTag:{attributes:Ki.observedAttributes,cellBox:Ki},DurationCell:{attributes:so.observedAttributes,cellBox:so},SeeGamesLine:{attributes:co.observedAttributes,cellBox:co},PrizesCell:{attributes:$o.observedAttributes,cellBox:$o},GamesCell:{attributes:Bo.observedAttributes,cellBox:Bo},TermsAndConditionsCell:{attributes:Fo.observedAttributes,cellBox:Fo},DescriptionCell:{attributes:Yo.observedAttributes,cellBox:Yo},LeaderboardCell:{attributes:Ha.observedAttributes,cellBox:Ha}},is={wm:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",///slot ?,
1570
- style:{height:"50px"},cols:[{id:"row-container",class:"RowContent",isCellContainer:!0,componentid:"Cell",subComponents:[{id:"thumbnailImg",componentid:"ThumbnailCell",class:"",subComponents:[{id:"status",componentid:"StatusTag",class:"Tag"},{id:"userEnrolled",componentid:"UserEnrollTag",class:"Tag"},{id:"startdate",componentid:"StartDateCell",class:"Tag",config:{shortstart:!0,showCalendarIcon:!0}}]},{id:"detailInfo",class:" DetailInfo",componentid:"Cell",isCellContainer:!0,subComponents:[{id:"title",componentid:"TitleCell",class:","},{id:"scoreCriteria",componentid:"ScoreCriteriaCell",class:" "},{id:"slot1",isSlotCell:!0,slotName:"GameClick",class:" "},{id:"seeGamesLink",componentid:"SeeGamesLine",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"thumbnailDuration",componentid:"DurationCell",class:"row-70-center"}]}]},{id:"prizeImg",componentid:"PrizesCell",class:" ",config:{expandAll:!0,listType:1,//1: col by col, 2: row by row
1599
+ function hs(t){let n,r;return{c(){n=y("span"),r=w(/*translatedText*/t[0]),this.c=e},m(e,t){p(e,n,t),m(n,r)},p(e,[t]){/*translatedText*/1&t&&k(r,/*translatedText*/e[0])},i:e,o:e,d(e){e&&g(n)}}}function fs(e,t,n){let r;d(e,Yn,(e=>n(3,r=e)));let{lang:i=""}=t,{cellsetting:a={langkey:""}}=t,o="";Object.keys(wi).forEach((e=>{bi(e,wi[e])})),cn({fallbackLocale:"en",initialLocale:"en"});const s=()=>{a.langkey&&n(0,o=r(`tournamentsPage.${a.langkey}`))};return e.$$set=e=>{"lang"in e&&n(1,i=e.lang),"cellsetting"in e&&n(2,a=e.cellsetting)},e.$$.update=()=>{/*lang, cellsetting*/6&e.$$.dirty&&i&&a&&void yi(i)&&s(),/*lang, cellsetting*/6&e.$$.dirty&&i&&a&&s()},[o,i,a]}customElements.define("backbutton-cell",ds);class ms extends V{constructor(e){super(),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},fs,hs,o,{lang:1,cellsetting:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["lang","cellsetting"]}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),I()}get cellsetting(){return this.$$.ctx[2]}set cellsetting(e){this.$$set({cellsetting:e}),I()}}customElements.define("translate-text-cell",ms);const ps={Cell:{attributes:oi.observedAttributes,cellBox:oi},BackButtonCell:{attributes:ds.observedAttributes,cellBox:ds},ThumbnailCell:{attributes:ui.observedAttributes,cellBox:ui},TitleCell:{attributes:ts.observedAttributes,cellBox:ts},TitleTextCell:{attributes:gi.observedAttributes,cellBox:gi},TranslateTextCell:{attributes:ms.observedAttributes,cellBox:ms},StartDateCell:{attributes:ls.observedAttributes,cellBox:ls},ScoreCriteriaCell:{attributes:$i.observedAttributes,cellBox:$i},StatusTag:{attributes:Ii.observedAttributes,cellBox:Ii},TournamentSlot:{attributes:oi.observedAttributes,cellBox:oi},JoinButtonCell:{attributes:Fi.observedAttributes,cellBox:Fi},UserEnrollTag:{attributes:Wi.observedAttributes,cellBox:Wi},DurationCell:{attributes:ra.observedAttributes,cellBox:ra},SeeGamesLine:{attributes:oa.observedAttributes,cellBox:oa},PrizesCell:{attributes:Ea.observedAttributes,cellBox:Ea},GamesCell:{attributes:Aa.observedAttributes,cellBox:Aa},TermsAndConditionsCell:{attributes:za.observedAttributes,cellBox:za},DescriptionCell:{attributes:ja.observedAttributes,cellBox:ja},LeaderboardCell:{attributes:Xo.observedAttributes,cellBox:Xo}},gs={wm:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",///slot ?,
1600
+ style:{height:"50px"},cols:[{id:"row-container",class:"RowContent",isCellContainer:!0,componentid:"Cell",subComponents:[{id:"thumbnailImg",componentid:"ThumbnailCell",class:"",subComponents:[{id:"status",componentid:"StatusTag",class:"Tag"},{id:"userEnrolled",componentid:"UserEnrollTag",class:"Tag"},{id:"startdate",componentid:"StartDateCell",class:"Tag",config:{shortstart:!0,showCalendarIcon:!0}}]},{id:"detailInfo",class:" DetailInfo",componentid:"Cell",isCellContainer:!0,subComponents:[{id:"title",componentid:"TitleCell",class:","},{id:"scoreCriteria",componentid:"ScoreCriteriaCell",class:" "},{id:"slot1",isSlotCell:!0,slotName:"GameClick",class:" "},{id:"seeGamesLink",componentid:"SeeGamesLine",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"thumbnailDuration",componentid:"DurationCell",class:"row-70-center"}]}]},{id:"prizeImg",componentid:"PrizesCell",class:" ",config:{expandAll:!1,listType:1,//1: col by col, 2: row by row
1571
1601
  maxCol:3,rowPerCol:7,showrankasimage:!0}},{id:"GamesSliderTitle",componentid:"TranslateTextCell",config:{langkey:"participantingGames"},class:" GamesSliderTitle "},{id:"gamesLine",componentid:"GamesCell",class:" "},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RowContent",subComponents:[{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "}]},{id:"leaderboard",componentid:"LeaderboardCell",class:"",config:{firstrow:"true"}}]},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},default:{id:"tournamentLayout",rows:[{id:"row1",type:"widget",style:{height:"50px"},cols:[{id:"topBackButton",componentid:"BackButtonCell"},{id:"left-thumbnail",class:"LeftSection",isCellContainer:!0,componentid:"Cell",subComponents:[{id:"thumbnailImg",componentid:"ThumbnailCell",class:" ",subComponents:[{id:"status",componentid:"StatusTag",class:"Tag"},{id:"userEnrolled",componentid:"UserEnrollTag",class:"Tag"}]},{id:"detailInfo",class:" DetailInfo",componentid:"Cell",isCellContainer:!0,subComponents:[{id:"title",componentid:"TitleCell",class:" "},{id:"startdate",componentid:"StartDateCell",class:" "},{id:"scoreCriteria",componentid:"ScoreCriteriaCell",class:" "},{id:"seeGamesLink",componentid:"SeeGamesLine",class:" "},{id:"prizeImg",componentid:"PrizesCell",class:" ",config:{expandAll:!1,//default
1572
1602
  listType:1,//1: col by col, 2: row by row
1573
- maxCol:3,rowPerCol:7}},{id:"thumbnailDuration",componentid:"DurationCell",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"gamesLine",componentid:"GamesCell",class:" "}]},{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions ",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RightSection",subComponents:[{id:"leaderboard",componentid:"LeaderboardCell"}]}]}]}},os=(e,t)=>{console.log("Start parse layout...");let n=e.rows,r=e=>{e&&e.length&&e.forEach((e=>{if(e.class||(e.class=""),e.isSlotCell)return e.parts=`Slots ${e.componentid} ${e.id}`,void(e.cellClass=`Cells Slots ${e.class} ${e.id}`);e.isCellContainer?(e.parts=`BoxCells ${e.componentid} ${e.id}`,e.cellClass=`Cells BoxCells ${e.class} ${e.id}`):(e.parts=`BizCells ${e.componentid} ${e.id}`,e.cellClass=`Cells BizCells ${e.class} ${e.componentid} ${e.id}`,e.componentAttrs=((e,t)=>{let n=e.componentid,r={},i=rs[n].attributes||[];if(e.dataKey){let n=e.dataKey;
1603
+ maxCol:3,rowPerCol:7}},{id:"thumbnailDuration",componentid:"DurationCell",class:" "},{id:"joinButton",componentid:"JoinButtonCell",class:" "},{id:"gamesLine",componentid:"GamesCell",class:" "}]},{id:"tour-description",isCellContainer:!0,componentid:"Cell",class:"DescriptionAndTermConditions ",subComponents:[{id:"tour-description",componentid:"DescriptionCell",dataKey:{textKey:"tournamentdescription",key:"tournamentdescription",source:"cms"},class:" "},{id:"tour-tm",componentid:"TermsAndConditionsCell",class:" "},{id:"description",componentid:"TitleTextCell",dataKey:{textKey:"text",key:"description",source:"api"},class:" "}]}]},{id:"tm-leaderboard",isCellContainer:!0,componentid:"Cell",class:"RightSection",subComponents:[{id:"leaderboard",componentid:"LeaderboardCell"}]}]}]}},bs=(e,t)=>{console.log("Start parse layout...");let n=e.rows,r=e=>{e&&e.length&&e.forEach((e=>{if(e.class||(e.class=""),e.isSlotCell)return e.parts=`Slots ${e.componentid} ${e.id}`,void(e.cellClass=`Cells Slots ${e.class} ${e.id}`);e.isCellContainer?(e.parts=`BoxCells ${e.componentid} ${e.id}`,e.cellClass=`Cells BoxCells ${e.class} ${e.id}`):(e.parts=`BizCells ${e.componentid} ${e.id}`,e.cellClass=`Cells BizCells ${e.class} ${e.componentid} ${e.id}`,e.componentAttrs=((e,t)=>{let n=e.componentid,r={},i=ps[n].attributes||[];if(e.dataKey){let n=e.dataKey;
1574
1604
  //init cell by source type
1575
1605
  return"api"==n.source?// when component cell init by api data
1576
1606
  r[n.textKey]=t.tournamentData[n.key]||null:"cms"==n.source&&(// fill data by cms data
1577
- r[n.textKey]=t.cmsData[n.key]||null),r.titlekey=n.key,r}return i.forEach((e=>{let n=t.tournamentData||{},i=t.ctrlProperties||{};n.hasOwnProperty(e)?r[e]=n[e]:r[e]=i[e]||t.pageDefaultParams[e]})),r})(e,t),e.config&&(e.componentAttrs.cellsetting=e.config)),e.component=rs[e.componentid].cellBox,r(e.subComponents)}))};return n.forEach((e=>{r(e.cols)})),console.log("Start parse layout...Done"),e};
1607
+ r[n.textKey]=t.cmsData[n.key]||null),r.titlekey=n.key,r}return i.forEach((e=>{let n=t.tournamentData||{},i=t.ctrlProperties||{};n.hasOwnProperty(e)?r[e]=n[e]:r[e]=i[e]||t.pageDefaultParams[e]})),r})(e,t),e.config&&(e.componentAttrs.cellsetting=e.config)),e.component=ps[e.componentid].cellBox,r(e.subComponents)}))};return n.forEach((e=>{r(e.cols)})),console.log("Start parse layout...Done"),e};
1578
1608
  /*
1579
1609
  * These data will be managed by CMS, config it in file for temporary
1580
1610
  * Configed layout: wm/default
1581
- * */class as{transfer(e){return{id:e.id,tourid:e.id,title:e.nameOrTitle||"",thumbnail:e.thumbnail,state:e.state,status:e.state,startdate:e.startTime,enddate:e.endTime,scorecriteria:e.scoreCriteria,minbetcount:e.minBetCount,userenrolled:e.playerEnrolled||!1,gameurl:e.termsUrl||"#",prizes:e.prizes,games:e.games,description:e.description,termsurl:e.termsUrl,bonuscode:e.wallets&&e.wallets.length>=1?e.wallets[0].code:null}}}const ss={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat"}},tr:{tournamentsPage:{loading:"Yükleniyor, lütfen bekleyin…",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",mostRounds:"MostRounds",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"See included sports",forwardMyTournaments:"Turnuvaları Gör",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"limitsiz"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited"}},es:{tournamentsPage:{loading:"Cargando…",back:"Anterior",previous:"Previo",next:"Siguiente",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado",mostRounds:"Más rondas",activePeriod:"Desde {startdate} Hasta {enddate}",forwardCasino:"Ver los Juegos de Casino incluidos",forwardSports:"Ver los Deportes incluidos",forwardMyTournaments:"Ver mis Torneos",leaderBoard:"Tabla de posiciones",rules:"Reglas",games:"Juegos",unlimited:"ilimitado"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado"}}};
1582
- /* src/CasinoTournamentsCustomizePageController.svelte generated by Svelte v3.59.2 */function ls(e,t,n){const r=e.slice();return r[66]=t[n],r}function us(e,t,n){const r=e.slice();return r[69]=t[n],r}function cs(e,t,n){const r=e.slice();return r[72]=t[n],r}function ds(e,t,n){const r=e.slice();return r[75]=t[n],r}
1611
+ * */class ys{transfer(e){return{id:e.id,tourid:e.id,title:e.nameOrTitle||"",thumbnail:e.thumbnail,state:e.state,status:e.state,startdate:e.startTime,enddate:e.endTime,scorecriteria:e.scoreCriteria,minbetcount:e.minBetCount,userenrolled:e.playerEnrolled||!1,gameurl:e.termsUrl||"#",prizes:e.prizes,games:e.games,description:e.description,termsurl:e.termsUrl,bonuscode:e.wallets&&e.wallets.length>=1?e.wallets[0].code:null}}}const Cs={en:{tournamentsPage:{loading:"Loading, please wait ...",back:"Back",previous:"Previous",next:"Next",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",mostRounds:"MostRounds",activePeriod:"From {startdate} Till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited"}},hr:{tournamentsPage:{loading:"Učitavanje, molimo pričekajte ...",back:"Natrag",previous:"Prethodno",next:"Sljedeće",scheduled:"Planirano",ongoing:"U tijeku",finished:"Završeno",mostRounds:"Najviše krugova",activePeriod:"Od {startdate} do {enddate}",forwardCasino:"Pogledajte uključene casino igre",forwardSports:"Pogledajte uključene sportove",forwardMyTournaments:"Pogledajte Moje turnire",leaderBoard:"Poredak",rules:"Pravila",games:"Igre",unlimited:"neograničeno"}},"zh-hk":{tournamentsPage:{loading:"加載請稍候 ...",back:"後退",previous:"以前的",next:"下一個",scheduled:"預定的",ongoing:"進行中",finished:"完成的",mostRounds:"大多數回合",activePeriod:"從 {startdate} 到 {enddate}",forwardCasino:"查看包含的賭場遊戲",forwardSports:"查看包含的運動",forwardMyTournaments:"查看我的比賽s",leaderBoard:"排行榜",rules:"規則",games:"遊戲",unlimited:"無限"}},fr:{tournamentsPage:{loading:"Chargement,veuillez patienter ...",back:"Retour",previous:"Précedent",next:"Suivant",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",mostRounds:"De",activePeriod:"De la {startdate} à la {enddate}",forwardCasino:"Voir les jeux de casino inclus",forwardSports:"Voir les sports inclus",forwardMyTournaments:"Voir mes tournois",leaderBoard:"Tableau des leaders",rules:"Règles",games:"Jeux",unlimited:"Illimité"}},ro:{tournamentsPage:{loading:"Se încarcă ...",back:"Înapoi",previous:"Anterior",next:"Următorul",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",mostRounds:"Cele mai multe runde",activePeriod:"De la {startdate} până la {enddate}",forwardCasino:"Vezi jocurile de cazino incluse",forwardSports:"Vezi sporturile incluse",forwardMyTournaments:"Vezi turneele mele",leaderBoard:"Clasament",rules:"Reguli",games:"Jocuri",unlimited:"nelimitat"}},tr:{tournamentsPage:{loading:"Yükleniyor, lütfen bekleyin…",back:"Geri",previous:"Önceki",next:"Sonraki",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",mostRounds:"MostRounds",activePeriod:"Başlangıç {startdate} Bitiş {enddate}",forwardCasino:"Turnuvaya katılan oyunlar",forwardSports:"See included sports",forwardMyTournaments:"Turnuvaları Gör",leaderBoard:"Lider Tablosu",rules:"Kurallar",games:"Oyunlar",unlimited:"limitsiz"}},el:{tournamentsPage:{loading:"Φορτώνει, παρακαλούμε περιμένετε…",back:"Πίσω",previous:"Προηγούμενο",next:"Επόμενο",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",mostRounds:"MostRounds",activePeriod:"From {startdate} till {enddate}",forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyTournaments:"See My Tournaments",leaderBoard:"LeaderBoard",rules:"Rules",games:"Games",unlimited:"unlimited"}},es:{tournamentsPage:{loading:"Cargando…",back:"Anterior",previous:"Previo",next:"Siguiente",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado",mostRounds:"Más rondas",activePeriod:"Desde {startdate} Hasta {enddate}",forwardCasino:"Ver los Juegos de Casino incluidos",forwardSports:"Ver los Deportes incluidos",forwardMyTournaments:"Ver mis Torneos",leaderBoard:"Tabla de posiciones",rules:"Reglas",games:"Juegos",unlimited:"ilimitado"}},hu:{tournamentsPage:{loading:"Betöltés, kérjük várjon...",back:"Vissza",previous:"Előző",next:"Következő",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",mostRounds:"Legtöbb forduló",activePeriod:"{startdate} -tól {enddate} -ig",forwardCasino:"Résztvevő kaszinójátékok mutatása",forwardSports:"Résztvevő sportok mutatása",forwardMyTournaments:"Versenyeim mutatása",leaderBoard:"Ranglista",rules:"Szabályok",games:"Játékok",unlimited:"Korlátlan"}},pt:{tournamentsPage:{loading:"Carregando, por favor espere ...",back:"Voltar",previous:"Anterior",next:"Próximo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",mostRounds:"Mais Rodadas",activePeriod:"De {startdate} Até {enddate}",forwardCasino:"Ver jogos de cassino incluídos",forwardSports:"Ver esportes incluídos",forwardMyTournaments:"Ver Meus Torneios",leaderBoard:"Tabela de Líederes",rules:"Regras",games:"Jogos",unlimited:"Ilimitado"}}};
1612
+ /* src/CasinoTournamentsCustomizePageController.svelte generated by Svelte v3.59.2 */function ws(e,t,n){const r=e.slice();return r[66]=t[n],r}function vs(e,t,n){const r=e.slice();return r[69]=t[n],r}function Ts(e,t,n){const r=e.slice();return r[72]=t[n],r}function xs(e,t,n){const r=e.slice();return r[75]=t[n],r}
1583
1613
  // (330:0) {#if isLoading}
1584
- function hs(e){let t,n,r=/*$_*/e[6]("tournamentsPage.loading")+"";return{c(){t=y("p"),n=C(r),_(t,"class","LoadingMessage"),_(t,"part","LoadingMessage")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/64&t[0]&&r!==(r=/*$_*/e[6]("tournamentsPage.loading")+"")&&k(n,r)},d(e){e&&g(t)}}}
1614
+ function _s(e){let t,n,r=/*$_*/e[6]("tournamentsPage.loading")+"";return{c(){t=y("p"),n=w(r),_(t,"class","LoadingMessage"),_(t,"part","LoadingMessage")},m(e,r){p(e,t,r),m(t,n)},p(e,t){/*$_*/64&t[0]&&r!==(r=/*$_*/e[6]("tournamentsPage.loading")+"")&&k(n,r)},d(e){e&&g(t)}}}
1585
1615
  // (337:2) {#if errorMessage}
1586
- function fs(e){let t;return{c(){t=C(/*errorMessage*/e[4])},m(e,n){p(e,t,n)},p(e,n){/*errorMessage*/16&n[0]&&k(t,/*errorMessage*/e[4])},d(e){e&&g(t)}}}
1616
+ function ks(e){let t;return{c(){t=w(/*errorMessage*/e[4])},m(e,n){p(e,t,n)},p(e,n){/*errorMessage*/16&n[0]&&k(t,/*errorMessage*/e[4])},d(e){e&&g(t)}}}
1587
1617
  // (343:12) {#if !col.isCellContainer}
1588
- function ms(e){let n,r,i;const o=[/*col*/e[69].componentAttrs,{attrs:/*col*/e[69].componentAttrs}];var a=/*col*/e[69].component;function s(e){let n={};for(let e=0;e<o.length;e+=1)n=t(n,o[e]);return{props:n}}return a&&(n=$(a,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(o,[X(/*col*/e[69].componentAttrs),{attrs:/*col*/e[69].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&a!==(a=/*col*/e[69].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}a?(n=$(a,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else a&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
1618
+ function Ps(e){let n,r,i;const a=[/*col*/e[69].componentAttrs,{attrs:/*col*/e[69].componentAttrs}];var o=/*col*/e[69].component;function s(e){let n={};for(let e=0;e<a.length;e+=1)n=t(n,a[e]);return{props:n}}return o&&(n=$(o,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(a,[X(/*col*/e[69].componentAttrs),{attrs:/*col*/e[69].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&o!==(o=/*col*/e[69].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}o?(n=$(o,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else o&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
1589
1619
  // (346:12) {#if col.isSlotCell}
1590
- function ps(e){let t,n,r,i;return{c(){t=y("slot"),_(t,"part",n=/*col*/e[69].slotName),_(t,"class",r=/*col*/e[69].slotName),_(t,"name",i=/*col*/e[69].slotName)},m(e,n){p(e,t,n)},p(e,o){/*opLayout*/4&o[0]&&n!==(n=/*col*/e[69].slotName)&&_(t,"part",n),/*opLayout*/4&o[0]&&r!==(r=/*col*/e[69].slotName)&&_(t,"class",r),/*opLayout*/4&o[0]&&i!==(i=/*col*/e[69].slotName)&&_(t,"name",i)},d(e){e&&g(t)}}}
1620
+ function Ss(e){let t,n,r,i;return{c(){t=y("slot"),_(t,"part",n=/*col*/e[69].slotName),_(t,"class",r=/*col*/e[69].slotName),_(t,"name",i=/*col*/e[69].slotName)},m(e,n){p(e,t,n)},p(e,a){/*opLayout*/4&a[0]&&n!==(n=/*col*/e[69].slotName)&&_(t,"part",n),/*opLayout*/4&a[0]&&r!==(r=/*col*/e[69].slotName)&&_(t,"class",r),/*opLayout*/4&a[0]&&i!==(i=/*col*/e[69].slotName)&&_(t,"name",i)},d(e){e&&g(t)}}}
1591
1621
  // (349:12) {#if col.subComponents && col.subComponents.length > 0}
1592
- function gs(e){let t,n,r=/*col*/e[69].subComponents,i=[];for(let t=0;t<r.length;t+=1)i[t]=xs(cs(e,r,t));const o=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let a;for(r=/*col*/e[69].subComponents,a=0;a<r.length;a+=1){const o=cs(e,r,a);i[a]?(i[a].p(o,n),J(i[a],1)):(i[a]=xs(o),i[a].c(),J(i[a],1),i[a].m(t.parentNode,t))}for(W(),a=r.length;a<i.length;a+=1)o(a);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
1622
+ function Es(e){let t,n,r=/*col*/e[69].subComponents,i=[];for(let t=0;t<r.length;t+=1)i[t]=Bs(Ts(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let o;for(r=/*col*/e[69].subComponents,o=0;o<r.length;o+=1){const a=Ts(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=Bs(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
1593
1623
  // (352:18) {#if !subCol.isCellContainer}
1594
- function bs(e){let n,r,i;const o=[
1595
- /*subCol*/e[72].componentAttrs,{attrs:/*subCol*/e[72].componentAttrs}];var a=/*subCol*/e[72].component;function s(e){let n={};for(let e=0;e<o.length;e+=1)n=t(n,o[e]);return{props:n}}return a&&(n=$(a,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(o,[X(/*subCol*/e[72].componentAttrs),{attrs:/*subCol*/e[72].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&a!==(a=/*subCol*/e[72].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}a?(n=$(a,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else a&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
1624
+ function $s(e){let n,r,i;const a=[
1625
+ /*subCol*/e[72].componentAttrs,{attrs:/*subCol*/e[72].componentAttrs}];var o=/*subCol*/e[72].component;function s(e){let n={};for(let e=0;e<a.length;e+=1)n=t(n,a[e]);return{props:n}}return o&&(n=$(o,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(a,[X(/*subCol*/e[72].componentAttrs),{attrs:/*subCol*/e[72].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&o!==(o=/*subCol*/e[72].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}o?(n=$(o,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else o&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
1596
1626
  // (355:18) {#if subCol.isSlotCell}
1597
- function ys(e){let t,n,r,i;return{c(){t=y("slot"),_(t,"part",n=/*subCol*/e[72].slotName),_(t,"class",r=/*subCol*/e[72].slotName),_(t,"name",i=/*subCol*/e[72].slotName)},m(e,n){p(e,t,n)},p(e,o){/*opLayout*/4&o[0]&&n!==(n=/*subCol*/e[72].slotName)&&_(t,"part",n),/*opLayout*/4&o[0]&&r!==(r=/*subCol*/e[72].slotName)&&_(t,"class",r),/*opLayout*/4&o[0]&&i!==(i=/*subCol*/e[72].slotName)&&_(t,"name",i)},d(e){e&&g(t)}}}
1627
+ function Ls(e){let t,n,r,i;return{c(){t=y("slot"),_(t,"part",n=/*subCol*/e[72].slotName),_(t,"class",r=/*subCol*/e[72].slotName),_(t,"name",i=/*subCol*/e[72].slotName)},m(e,n){p(e,t,n)},p(e,a){/*opLayout*/4&a[0]&&n!==(n=/*subCol*/e[72].slotName)&&_(t,"part",n),/*opLayout*/4&a[0]&&r!==(r=/*subCol*/e[72].slotName)&&_(t,"class",r),/*opLayout*/4&a[0]&&i!==(i=/*subCol*/e[72].slotName)&&_(t,"name",i)},d(e){e&&g(t)}}}
1598
1628
  // (358:18) {#if subCol.subComponents && subCol.subComponents.length > 0}
1599
- function ws(e){let t,n,r=/*subCol*/e[72].subComponents,i=[];for(let t=0;t<r.length;t+=1)i[t]=Ts(ds(e,r,t));const o=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let a;for(r=/*subCol*/e[72].subComponents,a=0;a<r.length;a+=1){const o=ds(e,r,a);i[a]?(i[a].p(o,n),J(i[a],1)):(i[a]=Ts(o),i[a].c(),J(i[a],1),i[a].m(t.parentNode,t))}for(W(),a=r.length;a<i.length;a+=1)o(a);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
1629
+ function Ds(e){let t,n,r=/*subCol*/e[72].subComponents,i=[];for(let t=0;t<r.length;t+=1)i[t]=As(xs(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let o;for(r=/*subCol*/e[72].subComponents,o=0;o<r.length;o+=1){const a=xs(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=As(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}
1600
1630
  // (363:24) {:else }
1601
- function Cs(e){let n,r,i;const o=[
1602
- /*grandCol*/e[75].componentAttrs,{attrs:/*grandCol*/e[75].componentAttrs}];var a=/*grandCol*/e[75].component;function s(e){let n={};for(let e=0;e<o.length;e+=1)n=t(n,o[e]);return{props:n}}return a&&(n=$(a,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(o,[X(/*grandCol*/e[75].componentAttrs),{attrs:/*grandCol*/e[75].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&a!==(a=/*grandCol*/e[75].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}a?(n=$(a,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else a&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
1631
+ function Ms(e){let n,r,i;const a=[
1632
+ /*grandCol*/e[75].componentAttrs,{attrs:/*grandCol*/e[75].componentAttrs}];var o=/*grandCol*/e[75].component;function s(e){let n={};for(let e=0;e<a.length;e+=1)n=t(n,a[e]);return{props:n}}return o&&(n=$(o,s())),{c(){n&&Q(n.$$.fragment),r=T()},m(e,t){n&&ee(n,e,t),p(e,r,t),i=!0},p(e,t){const i=/*opLayout*/4&t[0]?K(a,[X(/*grandCol*/e[75].componentAttrs),{attrs:/*grandCol*/e[75].componentAttrs}]):{};if(/*opLayout*/4&t[0]&&o!==(o=/*grandCol*/e[75].component)){if(n){W();const e=n;Z(e.$$.fragment,1,0,(()=>{te(e,1)})),q()}o?(n=$(o,s()),Q(n.$$.fragment),J(n.$$.fragment,1),ee(n,r.parentNode,r)):n=null}else o&&n.$set(i)},i(e){i||(n&&J(n.$$.fragment,e),i=!0)},o(e){n&&Z(n.$$.fragment,e),i=!1},d(e){e&&g(r),n&&te(n,e)}}}
1603
1633
  // (361:24) {#if grandCol.isSlotCell}
1604
- function vs(t){let n,r,i,o;return{c(){n=y("slot"),_(n,"part",r=/*grandCol*/t[75].slotName),_(n,"class",i=/*grandCol*/t[75].slotName),_(n,"name",o=/*grandCol*/t[75].slotName)},m(e,t){p(e,n,t)},p(e,t){/*opLayout*/4&t[0]&&r!==(r=/*grandCol*/e[75].slotName)&&_(n,"part",r),/*opLayout*/4&t[0]&&i!==(i=/*grandCol*/e[75].slotName)&&_(n,"class",i),/*opLayout*/4&t[0]&&o!==(o=/*grandCol*/e[75].slotName)&&_(n,"name",o)},i:e,o:e,d(e){e&&g(n)}}}
1634
+ function Rs(t){let n,r,i,a;return{c(){n=y("slot"),_(n,"part",r=/*grandCol*/t[75].slotName),_(n,"class",i=/*grandCol*/t[75].slotName),_(n,"name",a=/*grandCol*/t[75].slotName)},m(e,t){p(e,n,t)},p(e,t){/*opLayout*/4&t[0]&&r!==(r=/*grandCol*/e[75].slotName)&&_(n,"part",r),/*opLayout*/4&t[0]&&i!==(i=/*grandCol*/e[75].slotName)&&_(n,"class",i),/*opLayout*/4&t[0]&&a!==(a=/*grandCol*/e[75].slotName)&&_(n,"name",a)},i:e,o:e,d(e){e&&g(n)}}}
1605
1635
  // (359:20) {#each subCol.subComponents as grandCol}
1606
- function Ts(e){let t,n,r,i,a,s,l,u,c,d;const h=[vs,Cs],b=[];function w(e,t){/*grandCol*/
1607
- return e[75].isSlotCell?0:1}return n=w(e),r=b[n]=h[n](e),{c(){t=y("div"),r.c(),i=v(),_(t,"class",a="Cell3s "+/*grandCol*/e[75].cellClass),_(t,"part",s=/*grandCol*/e[75].parts+" Cell3s")},m(r,o){p(r,t,o),b[n].m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*grandCol*/e[75])),c=!0)},p(c,d){let f=n;n=w(e=c),n===f?b[n].p(e,d):(W(),Z(b[f],1,1,(()=>{b[f]=null})),q(),r=b[n],r?r.p(e,d):(r=b[n]=h[n](e),r.c()),J(r,1),r.m(t,i)),(!u||/*opLayout*/4&d[0]&&a!==(a="Cell3s "+/*grandCol*/e[75].cellClass))&&_(t,"class",a),(!u||/*opLayout*/4&d[0]&&s!==(s=/*grandCol*/e[75].parts+" Cell3s"))&&_(t,"part",s),l&&o(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*grandCol*/e[75])},i(e){u||(J(r),u=!0)},o(e){Z(r),u=!1},d(e){e&&g(t),b[n].d(),c=!1,d()}}}
1636
+ function As(e){let t,n,r,i,o,s,l,u,c,d;const h=[Rs,Ms],b=[];function C(e,t){/*grandCol*/
1637
+ return e[75].isSlotCell?0:1}return n=C(e),r=b[n]=h[n](e),{c(){t=y("div"),r.c(),i=v(),_(t,"class",o="Cell3s "+/*grandCol*/e[75].cellClass),_(t,"part",s=/*grandCol*/e[75].parts+" Cell3s")},m(r,a){p(r,t,a),b[n].m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*grandCol*/e[75])),c=!0)},p(c,d){let f=n;n=C(e=c),n===f?b[n].p(e,d):(W(),Z(b[f],1,1,(()=>{b[f]=null})),q(),r=b[n],r?r.p(e,d):(r=b[n]=h[n](e),r.c()),J(r,1),r.m(t,i)),(!u||/*opLayout*/4&d[0]&&o!==(o="Cell3s "+/*grandCol*/e[75].cellClass))&&_(t,"class",o),(!u||/*opLayout*/4&d[0]&&s!==(s=/*grandCol*/e[75].parts+" Cell3s"))&&_(t,"part",s),l&&a(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*grandCol*/e[75])},i(e){u||(J(r),u=!0)},o(e){Z(r),u=!1},d(e){e&&g(t),b[n].d(),c=!1,d()}}}
1608
1638
  // (350:14) {#each col.subComponents as subCol}
1609
- function xs(e){let t,n,r,i,a,s,l,u,c,d,h=!/*subCol*/e[72].isCellContainer&&bs(e),b=/*subCol*/e[72].isSlotCell&&ys(e),w=/*subCol*/e[72].subComponents&&/*subCol*/e[72].subComponents.length>0&&ws(e);return{c(){t=y("div"),h&&h.c(),n=v(),b&&b.c(),r=v(),w&&w.c(),i=v(),_(t,"class",a="Cell2s "+/*subCol*/e[72].cellClass),_(t,"part",s=/*subCol*/e[72].parts+" Cell2s")},m(o,a){p(o,t,a),h&&h.m(t,null),m(t,n),b&&b.m(t,null),m(t,r),w&&w.m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*subCol*/e[72])),c=!0)},p(c,d){/*subCol*/(e=c)[72].isCellContainer?h&&(W(),Z(h,1,1,(()=>{h=null})),q()):h?(h.p(e,d),/*opLayout*/4&d[0]&&J(h,1)):(h=bs(e),h.c(),J(h,1),h.m(t,n)),/*subCol*/e[72].isSlotCell?b?b.p(e,d):(b=ys(e),b.c(),b.m(t,r)):b&&(b.d(1),b=null),/*subCol*/e[72].subComponents&&/*subCol*/e[72].subComponents.length>0?w?(w.p(e,d),/*opLayout*/4&d[0]&&J(w,1)):(w=ws(e),w.c(),J(w,1),w.m(t,i)):w&&(W(),Z(w,1,1,(()=>{w=null})),q()),(!u||/*opLayout*/4&d[0]&&a!==(a="Cell2s "+/*subCol*/e[72].cellClass))&&_(t,"class",a),(!u||/*opLayout*/4&d[0]&&s!==(s=/*subCol*/e[72].parts+" Cell2s"))&&_(t,"part",s),l&&o(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*subCol*/e[72])},i(e){u||(J(h),J(w),u=!0)},o(e){Z(h),Z(w),u=!1},d(e){e&&g(t),h&&h.d(),b&&b.d(),w&&w.d(),c=!1,d()}}}
1639
+ function Bs(e){let t,n,r,i,o,s,l,u,c,d,h=!/*subCol*/e[72].isCellContainer&&$s(e),b=/*subCol*/e[72].isSlotCell&&Ls(e),C=/*subCol*/e[72].subComponents&&/*subCol*/e[72].subComponents.length>0&&Ds(e);return{c(){t=y("div"),h&&h.c(),n=v(),b&&b.c(),r=v(),C&&C.c(),i=v(),_(t,"class",o="Cell2s "+/*subCol*/e[72].cellClass),_(t,"part",s=/*subCol*/e[72].parts+" Cell2s")},m(a,o){p(a,t,o),h&&h.m(t,null),m(t,n),b&&b.m(t,null),m(t,r),C&&C.m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*subCol*/e[72])),c=!0)},p(c,d){/*subCol*/(e=c)[72].isCellContainer?h&&(W(),Z(h,1,1,(()=>{h=null})),q()):h?(h.p(e,d),/*opLayout*/4&d[0]&&J(h,1)):(h=$s(e),h.c(),J(h,1),h.m(t,n)),/*subCol*/e[72].isSlotCell?b?b.p(e,d):(b=Ls(e),b.c(),b.m(t,r)):b&&(b.d(1),b=null),/*subCol*/e[72].subComponents&&/*subCol*/e[72].subComponents.length>0?C?(C.p(e,d),/*opLayout*/4&d[0]&&J(C,1)):(C=Ds(e),C.c(),J(C,1),C.m(t,i)):C&&(W(),Z(C,1,1,(()=>{C=null})),q()),(!u||/*opLayout*/4&d[0]&&o!==(o="Cell2s "+/*subCol*/e[72].cellClass))&&_(t,"class",o),(!u||/*opLayout*/4&d[0]&&s!==(s=/*subCol*/e[72].parts+" Cell2s"))&&_(t,"part",s),l&&a(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*subCol*/e[72])},i(e){u||(J(h),J(C),u=!0)},o(e){Z(h),Z(C),u=!1},d(e){e&&g(t),h&&h.d(),b&&b.d(),C&&C.d(),c=!1,d()}}}
1610
1640
  // (341:6) {#each row.cols as col}
1611
- function _s(e){let t,n,r,i,a,s,l,u,c,d,h=!/*col*/e[69].isCellContainer&&ms(e),b=/*col*/e[69].isSlotCell&&ps(e),w=/*col*/e[69].subComponents&&/*col*/e[69].subComponents.length>0&&gs(e);return{c(){t=y("div"),h&&h.c(),n=v(),b&&b.c(),r=v(),w&&w.c(),i=v(),_(t,"class",a="Cell1s "+/*col*/e[69].cellClass),_(t,"part",s=/*col*/e[69].parts)},m(o,a){p(o,t,a),h&&h.m(t,null),m(t,n),b&&b.m(t,null),m(t,r),w&&w.m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*col*/e[69])),c=!0)},p(c,d){/*col*/(e=c)[69].isCellContainer?h&&(W(),Z(h,1,1,(()=>{h=null})),q()):h?(h.p(e,d),/*opLayout*/4&d[0]&&J(h,1)):(h=ms(e),h.c(),J(h,1),h.m(t,n)),/*col*/e[69].isSlotCell?b?b.p(e,d):(b=ps(e),b.c(),b.m(t,r)):b&&(b.d(1),b=null),/*col*/e[69].subComponents&&/*col*/e[69].subComponents.length>0?w?(w.p(e,d),/*opLayout*/4&d[0]&&J(w,1)):(w=gs(e),w.c(),J(w,1),w.m(t,i)):w&&(W(),Z(w,1,1,(()=>{w=null})),q()),(!u||/*opLayout*/4&d[0]&&a!==(a="Cell1s "+/*col*/e[69].cellClass))&&_(t,"class",a),(!u||/*opLayout*/4&d[0]&&s!==(s=/*col*/e[69].parts))&&_(t,"part",s),l&&o(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*col*/e[69])},i(e){u||(J(h),J(w),u=!0)},o(e){Z(h),Z(w),u=!1},d(e){e&&g(t),h&&h.d(),b&&b.d(),w&&w.d(),c=!1,d()}}}
1641
+ function zs(e){let t,n,r,i,o,s,l,u,c,d,h=!/*col*/e[69].isCellContainer&&Ps(e),b=/*col*/e[69].isSlotCell&&Ss(e),C=/*col*/e[69].subComponents&&/*col*/e[69].subComponents.length>0&&Es(e);return{c(){t=y("div"),h&&h.c(),n=v(),b&&b.c(),r=v(),C&&C.c(),i=v(),_(t,"class",o="Cell1s "+/*col*/e[69].cellClass),_(t,"part",s=/*col*/e[69].parts)},m(a,o){p(a,t,o),h&&h.m(t,null),m(t,n),b&&b.m(t,null),m(t,r),C&&C.m(t,null),m(t,i),u=!0,c||(d=f(l=/*onLoadComponent*/e[7].call(null,t,/*col*/e[69])),c=!0)},p(c,d){/*col*/(e=c)[69].isCellContainer?h&&(W(),Z(h,1,1,(()=>{h=null})),q()):h?(h.p(e,d),/*opLayout*/4&d[0]&&J(h,1)):(h=Ps(e),h.c(),J(h,1),h.m(t,n)),/*col*/e[69].isSlotCell?b?b.p(e,d):(b=Ss(e),b.c(),b.m(t,r)):b&&(b.d(1),b=null),/*col*/e[69].subComponents&&/*col*/e[69].subComponents.length>0?C?(C.p(e,d),/*opLayout*/4&d[0]&&J(C,1)):(C=Es(e),C.c(),J(C,1),C.m(t,i)):C&&(W(),Z(C,1,1,(()=>{C=null})),q()),(!u||/*opLayout*/4&d[0]&&o!==(o="Cell1s "+/*col*/e[69].cellClass))&&_(t,"class",o),(!u||/*opLayout*/4&d[0]&&s!==(s=/*col*/e[69].parts))&&_(t,"part",s),l&&a(l.update)&&/*opLayout*/4&d[0]&&l.update.call(null,/*col*/e[69])},i(e){u||(J(h),J(C),u=!0)},o(e){Z(h),Z(C),u=!1},d(e){e&&g(t),h&&h.d(),b&&b.d(),C&&C.d(),c=!1,d()}}}
1612
1642
  // (340:4) {#each opLayout.rows as row }
1613
- function ks(e){let t,n,r=/*row*/e[66].cols,i=[];for(let t=0;t<r.length;t+=1)i[t]=_s(us(e,r,t));const o=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let a;for(r=/*row*/e[66].cols,a=0;a<r.length;a+=1){const o=us(e,r,a);i[a]?(i[a].p(o,n),J(i[a],1)):(i[a]=_s(o),i[a].c(),J(i[a],1),i[a].m(t.parentNode,t))}for(W(),a=r.length;a<i.length;a+=1)o(a);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}function Ss(t){let n,r,i,o,a,s,l=/*isLoading*/t[5]&&hs(t),u=/*errorMessage*/t[4]&&fs(t),c=/*opLayout*/t[2].rows,d=[];for(let e=0;e<c.length;e+=1)d[e]=ks(ls(t,c,e));const h=e=>Z(d[e],1,1,(()=>{d[e]=null}));return{c(){l&&l.c(),n=v(),r=y("div"),u&&u.c(),i=v();for(let e=0;e<d.length;e+=1)d[e].c();this.c=e,S(r,"display",/*isLoading*/t[5]?"none":"flex"),_(r,"class",o="casino-tournaments-customize-page-controller layout-"+/*layoutid*/t[0]+" "+(/*mobileView*/t[3]?"MobileContainer":"")),_(r,"part",a="casino-tournaments-customize-page-controller layout-"+/*layoutid*/t[0])},m(e,o){l&&l.m(e,o),p(e,n,o),p(e,r,o),u&&u.m(r,null),m(r,i);for(let e=0;e<d.length;e+=1)d[e]&&d[e].m(r,null);
1614
- /*div_binding*/t[38](r),s=!0},p(e,t){if(/*isLoading*/e[5]?l?l.p(e,t):(l=hs(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null),/*errorMessage*/e[4]?u?u.p(e,t):(u=fs(e),u.c(),u.m(r,i)):u&&(u.d(1),u=null),/*opLayout*/4&t[0]){let n;for(c=/*opLayout*/e[2].rows,n=0;n<c.length;n+=1){const i=ls(e,c,n);d[n]?(d[n].p(i,t),J(d[n],1)):(d[n]=ks(i),d[n].c(),J(d[n],1),d[n].m(r,null))}for(W(),n=c.length;n<d.length;n+=1)h(n);q()}(!s||/*isLoading*/32&t[0])&&S(r,"display",/*isLoading*/e[5]?"none":"flex"),(!s||/*layoutid, mobileView*/9&t[0]&&o!==(o="casino-tournaments-customize-page-controller layout-"+/*layoutid*/e[0]+" "+(/*mobileView*/e[3]?"MobileContainer":"")))&&_(r,"class",o),(!s||/*layoutid*/1&t[0]&&a!==(a="casino-tournaments-customize-page-controller layout-"+/*layoutid*/e[0]))&&_(r,"part",a)},i(e){if(!s){for(let e=0;e<c.length;e+=1)J(d[e]);s=!0}},o(e){d=d.filter(Boolean);for(let e=0;e<d.length;e+=1)Z(d[e]);s=!1},d(e){l&&l.d(e),e&&g(n),e&&g(r),u&&u.d(),b(d,e),
1615
- /*div_binding*/t[38](null)}}}function Ps(e,n,r){let i;d(e,Yn,(e=>r(6,i=e)));let o,{layoutid:a="default"}=n,{session:s=""}=n,{userid:l=""}=n,{tourid:u=""}=n,{endpoint:c=""}=n,{cmsendpoint:f=""}=n,{lang:m="en"}=n,{navigationbackbutton:p="Default"}=n,{currency:g="EUR"}=n,{tablelimit:b="30"}=n,{namemask:y=""}=n,{showunqualifiedplayer:w="true"}=n,{mobiletablelimit:C="15"}=n,{updatetableintime:v="true"}=n,{viewmode:T=""}=n,{minscore:x=""}=n,{scorefractiondigit:_="2"}=n,{loginevent:k=""}=n,{registerevent:S=""}=n,{loginurl:P=""}=n,{registerurl:E=""}=n,{limit:$=30}=n,{offset:L=0}=n,{leaderboardoffset:R="0"}=n,{leaderboardlimit:B="15"}=n,{keepbrowsercontext:O="false"}=n,{showrankasimage:F="false"}=n,{clientstyling:z=""}=n,{clientstylingurl:N=""}=n,{translationurl:H=""}=n;let U,I,j,Y=window.navigator.userAgent,G=!1,V={pageDefaultParams:{lang:"en",layoutid:"default",navigationbackbutton:"Default",currency:"EUR",tablelimit:"30",showunqualifiedplayer:"true",mobiletablelimit:"15",updatetableintime:"true",scorefractiondigit:"2",leaderboardoffset:"0",leaderboardlimit:"15",keepbrowsercontext:"false",showenrolled:"true",firstrow:"true"},cmsData:{},ctrlProperties:null,tournamentData:null},W=new as,q={rows:[]},J=!1,Z=!0;Object.keys(ss).forEach((e=>{Gn(e,ss[e])})),function({withLocale:e,translations:t}){_n.subscribe((n=>{null==n&&(Vt.set(t),_n.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1643
+ function Os(e){let t,n,r=/*row*/e[66].cols,i=[];for(let t=0;t<r.length;t+=1)i[t]=zs(vs(e,r,t));const a=e=>Z(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=T()},m(e,r){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(/*opLayout*/4&n[0]){let o;for(r=/*row*/e[66].cols,o=0;o<r.length;o+=1){const a=vs(e,r,o);i[o]?(i[o].p(a,n),J(i[o],1)):(i[o]=zs(a),i[o].c(),J(i[o],1),i[o].m(t.parentNode,t))}for(W(),o=r.length;o<i.length;o+=1)a(o);q()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)J(i[e]);n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)Z(i[e]);n=!1},d(e){b(i,e),e&&g(t)}}}function Fs(t){let n,r,i,a,o,s,l=/*isLoading*/t[5]&&_s(t),u=/*errorMessage*/t[4]&&ks(t),c=/*opLayout*/t[2].rows,d=[];for(let e=0;e<c.length;e+=1)d[e]=Os(ws(t,c,e));const h=e=>Z(d[e],1,1,(()=>{d[e]=null}));return{c(){l&&l.c(),n=v(),r=y("div"),u&&u.c(),i=v();for(let e=0;e<d.length;e+=1)d[e].c();this.c=e,P(r,"display",/*isLoading*/t[5]?"none":"flex"),_(r,"class",a="casino-tournaments-customize-page-controller layout-"+/*layoutid*/t[0]+" "+(/*mobileView*/t[3]?"MobileContainer":"")),_(r,"part",o="casino-tournaments-customize-page-controller layout-"+/*layoutid*/t[0])},m(e,a){l&&l.m(e,a),p(e,n,a),p(e,r,a),u&&u.m(r,null),m(r,i);for(let e=0;e<d.length;e+=1)d[e]&&d[e].m(r,null);
1644
+ /*div_binding*/t[38](r),s=!0},p(e,t){if(/*isLoading*/e[5]?l?l.p(e,t):(l=_s(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null),/*errorMessage*/e[4]?u?u.p(e,t):(u=ks(e),u.c(),u.m(r,i)):u&&(u.d(1),u=null),/*opLayout*/4&t[0]){let n;for(c=/*opLayout*/e[2].rows,n=0;n<c.length;n+=1){const i=ws(e,c,n);d[n]?(d[n].p(i,t),J(d[n],1)):(d[n]=Os(i),d[n].c(),J(d[n],1),d[n].m(r,null))}for(W(),n=c.length;n<d.length;n+=1)h(n);q()}(!s||/*isLoading*/32&t[0])&&P(r,"display",/*isLoading*/e[5]?"none":"flex"),(!s||/*layoutid, mobileView*/9&t[0]&&a!==(a="casino-tournaments-customize-page-controller layout-"+/*layoutid*/e[0]+" "+(/*mobileView*/e[3]?"MobileContainer":"")))&&_(r,"class",a),(!s||/*layoutid*/1&t[0]&&o!==(o="casino-tournaments-customize-page-controller layout-"+/*layoutid*/e[0]))&&_(r,"part",o)},i(e){if(!s){for(let e=0;e<c.length;e+=1)J(d[e]);s=!0}},o(e){d=d.filter(Boolean);for(let e=0;e<d.length;e+=1)Z(d[e]);s=!1},d(e){l&&l.d(e),e&&g(n),e&&g(r),u&&u.d(),b(d,e),
1645
+ /*div_binding*/t[38](null)}}}function Ns(e,n,r){let i;d(e,Yn,(e=>r(6,i=e)));let a,{layoutid:o="default"}=n,{session:s=""}=n,{userid:l=""}=n,{tourid:u=""}=n,{endpoint:c=""}=n,{cmsendpoint:f=""}=n,{lang:m="en"}=n,{navigationbackbutton:p="Default"}=n,{currency:g="EUR"}=n,{tablelimit:b="30"}=n,{namemask:y=""}=n,{showunqualifiedplayer:C="true"}=n,{mobiletablelimit:w="15"}=n,{updatetableintime:v="true"}=n,{viewmode:T=""}=n,{minscore:x=""}=n,{scorefractiondigit:_="2"}=n,{loginevent:k=""}=n,{registerevent:P=""}=n,{loginurl:S=""}=n,{registerurl:E=""}=n,{limit:$=30}=n,{offset:L=0}=n,{leaderboardoffset:R="0"}=n,{leaderboardlimit:B="15"}=n,{keepbrowsercontext:z="false"}=n,{showrankasimage:O="false"}=n,{clientstyling:F=""}=n,{clientstylingurl:N=""}=n,{translationurl:H=""}=n;let U,I,j,Y=window.navigator.userAgent,G=!1,V={pageDefaultParams:{lang:"en",layoutid:"default",navigationbackbutton:"Default",currency:"EUR",tablelimit:"30",showunqualifiedplayer:"true",mobiletablelimit:"15",updatetableintime:"true",scorefractiondigit:"2",leaderboardoffset:"0",leaderboardlimit:"15",keepbrowsercontext:"false",showenrolled:"true",firstrow:"true"},cmsData:{},ctrlProperties:null,tournamentData:null},W=new ys,q={rows:[]},J=!1,Z=!0;Object.keys(Cs).forEach((e=>{Gn(e,Cs[e])})),function({withLocale:e,translations:t}){_n.subscribe((n=>{null==n&&(Vt.set(t),_n.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1616
1646
  /*dictionary.set(translations);
1617
- locale.set(_locale);*/}({withLocale:m,translations:{}});const K=()=>{fetch(`${f}/${u}`).then((e=>e?e.json():{details:[{title:"Description",description:"DescriptionText"}]})).then((e=>{e&&e.details&&(V.cmsData.tournamentdescription=e.details),(()=>{let e=q.rows,t=e=>{e&&e.length&&e.forEach((e=>{if(!e.isCellContainer){let t=e.dataKey;if(t&&"cms"==t.source){let n=e.componentAttrs||{};if(!n)return;n[t.textKey]=V.cmsData[t.key]||null}}t(e.subComponents)}))};e.forEach((e=>{t(e.cols)}))})(),r(2,q=Object.assign({},q))}))},X=(e,t)=>{let n=e.rows,r=e=>{e&&e.length&&e.forEach((e=>{e.isCellContainer||((e,t)=>{let n=e.componentAttrs||{};n&&Object.keys(n).forEach((e=>{t.hasOwnProperty(e)&&(n[e]=t[e])}))})(e,t),r(e.subComponents)}))};n.forEach((e=>{r(e.cols)}))},Q=e=>{if(e.data)try{let t=JSON.parse(e.data);"TournamentUpdate"==t.messageType&&(window.postMessage({type:"UpdateTournamentView",tournamentData:t.item},window.location.href),ee(t.item))}catch(e){console.error(e)}},ee=e=>{I=W.transfer(e),V.tournamentData=I,I.lang=m,r(2,q=os(is[a]||is.default,V))},te=(e,t)=>{let n=new URL(e+`/v1/tournaments/${t}`),i=new Headers({"X-SessionId":s});n.searchParams.append("platform",ni(Y)),n.searchParams.append("language",m);let o=n.searchParams.toString(),a={method:"GET",headers:i};fetch(n.href,a).then((e=>e.json())).then((e=>{e.success?(r(4,j=null),e.item.id=u,ee(e.item),I.lang=m,X(q,I),r(2,q=Object.assign({},q)),r(5,Z=!1),((e,t)=>{let n=`${c}/v1/tournaments/updates?filter=id=${e}&${t}`;U&&(U.removeEventListener("message",Q),U.close()),U=new ri.EventSourcePolyfill(n,{headers:{accept:"text/event-stream","X-SessionId":s}}),U.addEventListener("message",Q)})(u,o)):r(4,j=`Faild to load data, details: ${e.errorMessage}`)}))},ne=D(),re=(e,t,n)=>{if(!q.rows||0==q.rows.length)return;let i=q.rows[0].cols;e.forEach((e=>{let r,o=t=>{t.forEach(((t,n)=>r||(t.componentid==e?(r=t,r):t.subComponents&&t.subComponents.length>0?o(t.subComponents):void 0)))};o(i);let a=ne.$$.props,s=ne.$$.ctx;r&&t.forEach((e=>{if(n)return void(r.componentAttrs[e]=V.tournamentData[e]);let t=a[e],i=s[t];V.ctrlProperties[e]=i,r.componentAttrs[e]=i}))})),r(2,q=Object.assign({},q))},ie=e=>{e.data&&"TournamentUserEnrolled"==e.data.type&&(V.tournamentData.userenrolled=e.data.userenrolled)};return M((()=>(r(0,a=is[a]?a:"default"),r(3,G=ti(Y)),setTimeout((()=>{V.ctrlProperties=n,r(37,J=!0)}),300),window.addEventListener("message",ie),()=>{window.removeEventListener("message",ie)}))),e.$$set=e=>{r(65,n=t(t({},n),h(e))),"layoutid"in e&&r(0,a=e.layoutid),"session"in e&&r(8,s=e.session),"userid"in e&&r(9,l=e.userid),"tourid"in e&&r(10,u=e.tourid),"endpoint"in e&&r(11,c=e.endpoint),"cmsendpoint"in e&&r(12,f=e.cmsendpoint),"lang"in e&&r(13,m=e.lang),"navigationbackbutton"in e&&r(14,p=e.navigationbackbutton),"currency"in e&&r(15,g=e.currency),"tablelimit"in e&&r(16,b=e.tablelimit),"namemask"in e&&r(17,y=e.namemask),"showunqualifiedplayer"in e&&r(18,w=e.showunqualifiedplayer),"mobiletablelimit"in e&&r(19,C=e.mobiletablelimit),"updatetableintime"in e&&r(20,v=e.updatetableintime),"viewmode"in e&&r(21,T=e.viewmode),"minscore"in e&&r(22,x=e.minscore),"scorefractiondigit"in e&&r(23,_=e.scorefractiondigit),"loginevent"in e&&r(24,k=e.loginevent),"registerevent"in e&&r(25,S=e.registerevent),"loginurl"in e&&r(26,P=e.loginurl),"registerurl"in e&&r(27,E=e.registerurl),"limit"in e&&r(28,$=e.limit),"offset"in e&&r(29,L=e.offset),"leaderboardoffset"in e&&r(30,R=e.leaderboardoffset),"leaderboardlimit"in e&&r(31,B=e.leaderboardlimit),"keepbrowsercontext"in e&&r(32,O=e.keepbrowsercontext),"showrankasimage"in e&&r(33,F=e.showrankasimage),"clientstyling"in e&&r(34,z=e.clientstyling),"clientstylingurl"in e&&r(35,N=e.clientstylingurl),"translationurl"in e&&r(36,H=e.translationurl)},e.$$.update=()=>{/*session*/256&e.$$.dirty[0]&&s&&(
1647
+ locale.set(_locale);*/}({withLocale:m,translations:{}});const K=()=>{fetch(`${f}/${u}`).then((e=>e?e.json():{details:[{title:"Description",description:"DescriptionText"}]})).then((e=>{e&&e.details&&(V.cmsData.tournamentdescription=e.details),(()=>{let e=q.rows,t=e=>{e&&e.length&&e.forEach((e=>{if(!e.isCellContainer){let t=e.dataKey;if(t&&"cms"==t.source){let n=e.componentAttrs||{};if(!n)return;n[t.textKey]=V.cmsData[t.key]||null}}t(e.subComponents)}))};e.forEach((e=>{t(e.cols)}))})(),r(2,q=Object.assign({},q))}))},X=(e,t)=>{let n=e.rows,r=e=>{e&&e.length&&e.forEach((e=>{e.isCellContainer||((e,t)=>{let n=e.componentAttrs||{};n&&Object.keys(n).forEach((e=>{t.hasOwnProperty(e)&&(n[e]=t[e])}))})(e,t),r(e.subComponents)}))};n.forEach((e=>{r(e.cols)}))},Q=e=>{if(e.data)try{let t=JSON.parse(e.data);"TournamentUpdate"==t.messageType&&(window.postMessage({type:"UpdateTournamentView",tournamentData:t.item},window.location.href),ee(t.item))}catch(e){console.error(e)}},ee=e=>{I=W.transfer(e),V.tournamentData=I,I.lang=m,r(2,q=bs(gs[o]||gs.default,V))},te=(e,t)=>{let n=new URL(e+`/v1/tournaments/${t}`),i=new Headers({"X-SessionId":s});n.searchParams.append("platform",ni(Y)),n.searchParams.append("language",m);let a=n.searchParams.toString(),o={method:"GET",headers:i};fetch(n.href,o).then((e=>e.json())).then((e=>{e.success?(r(4,j=null),e.item.id=u,ee(e.item),I.lang=m,X(q,I),r(2,q=Object.assign({},q)),r(5,Z=!1),((e,t)=>{let n=`${c}/v1/tournaments/updates?filter=id=${e}&${t}`;U&&(U.removeEventListener("message",Q),U.close()),U=new ri.EventSourcePolyfill(n,{headers:{accept:"text/event-stream","X-SessionId":s}}),U.addEventListener("message",Q)})(u,a)):r(4,j=`Faild to load data, details: ${e.errorMessage}`)}))},ne=D(),re=(e,t,n)=>{if(!q.rows||0==q.rows.length)return;let i=q.rows[0].cols;e.forEach((e=>{let r,a=t=>{t.forEach(((t,n)=>r||(t.componentid==e?(r=t,r):t.subComponents&&t.subComponents.length>0?a(t.subComponents):void 0)))};a(i);let o=ne.$$.props,s=ne.$$.ctx;r&&t.forEach((e=>{if(n)return void(r.componentAttrs[e]=V.tournamentData[e]);let t=o[e],i=s[t];V.ctrlProperties[e]=i,r.componentAttrs[e]=i}))})),r(2,q=Object.assign({},q))},ie=e=>{e.data&&"TournamentUserEnrolled"==e.data.type&&(V.tournamentData.userenrolled=e.data.userenrolled)};return M((()=>(r(0,o=gs[o]?o:"default"),r(3,G=ti(Y)),setTimeout((()=>{V.ctrlProperties=n,r(37,J=!0)}),300),window.addEventListener("message",ie),()=>{window.removeEventListener("message",ie)}))),e.$$set=e=>{r(65,n=t(t({},n),h(e))),"layoutid"in e&&r(0,o=e.layoutid),"session"in e&&r(8,s=e.session),"userid"in e&&r(9,l=e.userid),"tourid"in e&&r(10,u=e.tourid),"endpoint"in e&&r(11,c=e.endpoint),"cmsendpoint"in e&&r(12,f=e.cmsendpoint),"lang"in e&&r(13,m=e.lang),"navigationbackbutton"in e&&r(14,p=e.navigationbackbutton),"currency"in e&&r(15,g=e.currency),"tablelimit"in e&&r(16,b=e.tablelimit),"namemask"in e&&r(17,y=e.namemask),"showunqualifiedplayer"in e&&r(18,C=e.showunqualifiedplayer),"mobiletablelimit"in e&&r(19,w=e.mobiletablelimit),"updatetableintime"in e&&r(20,v=e.updatetableintime),"viewmode"in e&&r(21,T=e.viewmode),"minscore"in e&&r(22,x=e.minscore),"scorefractiondigit"in e&&r(23,_=e.scorefractiondigit),"loginevent"in e&&r(24,k=e.loginevent),"registerevent"in e&&r(25,P=e.registerevent),"loginurl"in e&&r(26,S=e.loginurl),"registerurl"in e&&r(27,E=e.registerurl),"limit"in e&&r(28,$=e.limit),"offset"in e&&r(29,L=e.offset),"leaderboardoffset"in e&&r(30,R=e.leaderboardoffset),"leaderboardlimit"in e&&r(31,B=e.leaderboardlimit),"keepbrowsercontext"in e&&r(32,z=e.keepbrowsercontext),"showrankasimage"in e&&r(33,O=e.showrankasimage),"clientstyling"in e&&r(34,F=e.clientstyling),"clientstylingurl"in e&&r(35,N=e.clientstylingurl),"translationurl"in e&&r(36,H=e.translationurl)},e.$$.update=()=>{/*session*/256&e.$$.dirty[0]&&s&&(
1618
1648
  //update params in [props]
1619
- r(65,n.session=s,n),r(65,n.userid=l,n),r(65,n.tourid=u,n),r(65,n.lang=m,n)),/*endpoint, session, userid, lang, tourid*/12032&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&c&&s&&l&&m&&u&&te(c,u),/*session, opLayout, layoutid, userid*/773&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&s&&q[a]&&l&&setTimeout((()=>{re(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])})),/*cmsendpoint, tourid*/5120&e.$$.dirty[0]&&f&&u&&K(),/*showunqualifiedplayer, scorefractiondigit, tablelimit*/8716288&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&w&&_&&b&&re(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),/*layoutid*/1&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&a&&(I?(r(0,a=is[a]?a:"default"),r(2,q=os(is[a],V))):console.log("tournamentData undefined")),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstyling*/8&e.$$.dirty[1]&&o&&z&&(()=>{let e=document.createElement("style");e.innerHTML=z,o.appendChild(e)})(),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstylingurl*/16&e.$$.dirty[1]&&o&&N&&(()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*translationurl*/32&e.$$.dirty[1]&&H&&fetch(H).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Gn(t,e[t])}))})).catch((e=>{console.log(e)}))},n=h(n),[a,o,q,G,j,Z,i,(e,t)=>{t.onLoad&&t.onLoad()},s,l,u,c,f,m,p,g,b,y,w,C,v,T,x,_,k,S,P,E,$,L,R,B,O,F,z,N,H,J,function(e){A[e?"unshift":"push"]((()=>{o=e,r(1,o)}))}]}class Es extends V{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-size:12px;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-customize-page-controller{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;padding-top:15px}.MobileContainer{flex-wrap:nowrap;flex-direction:column;align-items:initial}.MobileContainer .Cells.RowContent{display:flex;flex-direction:column;width:100%}.row-70-center{margin:auto;width:70%}.Cells.RowContent{display:flex;flex-direction:row;width:100%}.BackButtonCell .TopButtons{display:inline-flex;flex-direction:column;font-size:10px}.BackButtonCell .BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButtonCell .BackButton .ButtonText{font-size:24px}.DurationCell .Remaining{text-align:center}.TitleCell .Title{font-size:18px;padding-bottom:10px}.SeeGamesLine .GamesAnchor{text-decoration:underline}.JoinButtonCell{display:flex;justify-content:center;gap:5px;flex-direction:column;align-items:center}.JoinButtonCell .ErrorText{color:red}.JoinButtonCell .spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}.JoinButtonCell .spinner .circle{fill:transparent;stroke:var(--emfe-w-color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}.Tag{position:absolute;top:15px;font-size:12px}.ThumbnailCell{position:relative}.ThumbnailCell .CardImg{height:300px;width:100%;background-image:url(\"https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png\");background-repeat:no-repeat;background-position:center;background-size:cover}.ThumbnailCell .CardImg.CardImgFinished{filter:grayscale(1)}.DetailInfo{display:flex;flex-direction:column;padding:8px;min-height:200px;border-radius:8px}.DetailInfo .TitleTextCell{font-size:19px}.PrizesCell .PrizeRank{display:flex;padding-right:3px}.PrizesCell .Prize .PrizeText{display:flex}.ScoreCriteriaCell{font-size:11px}.TournamentDuration .TournamentDates{display:flex;justify-content:space-between}.TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .ProgressBar{height:8px;background:var(--emfe-w-color-white, #FFFFFF)}.TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentDuration .ProgressBarFill{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-gray-300, #58586B);height:8px}.TournamentDuration .Remaining,.TournamentDuration .Finished{text-align:right;text-transform:uppercase}.TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.GamesCell{width:100%}.GamesCell .TournamentsGamesSlider{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;justify-content:center;align-items:center}.GamesCell .SliderNavButton{background:var(--emfe-w-color-contrast, #07072A);border:0px;width:25px;cursor:pointer}.GamesCell .SliderNavButton.disabled{color:var(--emfe-w-color-gray-150, #828282)}.GamesCell .main{width:calc(100% - 50px);overflow:hidden}.GamesCell .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.GamesCell .item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emfe-w-color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.GamesCell .item .GameThumbnail{height:100%}.GamesCell .PlayNowButton{position:absolute;background:var(--emfe-w-color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesCell .itemHover{opacity:1}.GamesCell .items .item:first-child{margin-left:0}.GamesCell .items .item:last-child{margin-right:0}.TitleTextCell .Title,.DescriptionCell .Title{text-transform:uppercase}.TitleTextCell .DetailsCard,.DescriptionCell .DetailsCard{line-height:18px;border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.TitleTextCell .DetailsTitle,.DescriptionCell .DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.TitleTextCell .DetailsContent,.DescriptionCell .DetailsContent{overflow:auto;height:150px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.TitleTextCell .sc::-webkit-scrollbar,.DescriptionCell .sc::-webkit-scrollbar{width:5px;height:5px}.TitleTextCell .sc::-webkit-scrollbar-track,.DescriptionCell .sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.TitleTextCell .sc::-webkit-scrollbar-thumb,.DescriptionCell .sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}.LeaderboardCell .LeaderboardContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;width:100%;height:52px;align-items:center;justify-content:space-between;gap:20px}.LeaderboardCell .Leaderboard{width:100%;height:44px;display:flex;align-items:center;padding-left:20px}.LeaderboardCell .TableContent{width:100%;font-size:14px;margin-bottom:2px;border-bottom:solid 1px var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TableContent.TableContentFirstRow{box-sizing:border-box;border:2px solid var(--emfe-w-color-green, #48952a)}.LeaderboardCell .TableUser{background:var(--emfe-w-table-bg, #282828);height:44px;display:flex;align-items:center;border-bottom:solid 1px var(--emfe-w-table-border, #3a3a3a)}.LeaderboardCell .TableUser.TableHeadRow{background:var(--emfe-w-table-header-bg, #1c1c1c);color:var(--emfe-w-color-white, #fff)}.LeaderboardCell .TableUser.CurrentUserRow{box-sizing:border-box;background:var(--emfe-w-table-currentuser-bg, #533a34)}.LeaderboardCell .TableUser.UnqualifiedRow{border-bottom:0}.LeaderboardCell .TableUserTooltips{display:flex;gap:4px;flex-direction:row;width:100%;padding:10px 0;background:var(--emfe-w-table-currentuser-bg, #533a34);font-size:0.8rem;line-height:1.2}.LeaderboardCell .TooltipsRow{border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-top:0}.LeaderboardCell .TooltipsRow .ExclamationMark{fill:var(--emfe-w-color-exclamation, #fecf00)}.LeaderboardCell .TooltipsRow .LeftTableTd{padding:0 0 10px 0;font-size:12px;color:var(--emfe-w-color-tooltips, #fecf00)}.LeaderboardCell .TableCell{padding:10px;flex:2;text-align:center}.LeaderboardCell .TableRank{flex:1 50px}.LeaderboardCell .TablePlayer{flex:5}.LeaderboardCell .TablePrize{flex:5}.LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.LeaderboardCell .ExclamationMark{vertical-align:text-top;width:14px;height:14px;fill:var(--emfe-w-color-exclamation, #fecf00)}.LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.LeaderboardCell .TournamentsTable{width:100%;display:flex;justify-content:space-between;text-align:center;margin-top:10px}.LeaderboardCell .LeftTable{width:100%;border-collapse:collapse}.LeaderboardCell .RightButton{cursor:pointer;background:var(--emfe-w-color-contrast, #07072A);width:50px;height:70px;border:2px solid var(--emfe-w-color-contrast, #0D0D4D)}.LeaderboardCell .RightButton.MobileClass{height:50px}.LeaderboardCell .FirstRow{outline:2px solid #1B9800}.LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.LeaderboardCell .Show{display:inline-flex}.LeaderboardCell .Hidden{display:none}.LeaderboardCell .svg.Arrow.Up,.LeaderboardCell .svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite;width:14px;height:14px}.LeaderboardCell .svg.Arrow.Up.Show,.LeaderboardCell .svg.Arrow.Down.Show{display:inline-flex}.LeaderboardCell .svg.Arrow.Up.Hidden,.LeaderboardCell .svg.Arrow.Down.Hidden{display:none}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}.LeaderboardCell .TournamentsTable .LeftTable{width:100%;border-spacing:0;position:relative;overflow:auto;margin-bottom:0.5rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{padding:0.8rem 1.25rem;height:30px;top:0;color:var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%}.LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.LeaderboardCell .flex{display:flex;align-items:center}.LeaderboardCell .CollapseButton{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.layout-default.MobileContainer .Cells.LeftSection{width:auto}.layout-default .Cells{line-height:18px}.layout-default .Cells.LeftSection{margin:10px;width:29%;border:solid 1px #30313c}.layout-default .BackButtonCell{width:100%}.layout-default .RightSection{flex:auto}.layout-default .Cells.ThumbnailCell{margin:0px}.layout-default .DetailInfo{padding:12px;height:auto}.layout-default .Tag{top:20px;min-height:30px}.layout-default .Tag .TagContent{padding:7px 10px;text-transform:uppercase;font-size:12px;background:var(--emfe-w-color-black, #000000)}.layout-default .SeeGamesLine .GamesAnchor{color:var(--emfe-w-color-green, #48952a)}.layout-default .StatusTag{right:20px}.layout-default .UserEnrollTag{left:15px}.layout-default .UserEnrollTag .Enrolled{color:var(--emfe-w-color-gray-150, #828282)}.layout-default .TournamentDuration{font-size:10px}.layout-default .StartDateCell .Date{text-transform:uppercase}.layout-default .PrizesCell{padding:10px 0px 0px}.layout-default .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-default .PrizesCell .PrizesTitle{padding-top:5px}.layout-default .PrizesCell .Prizes,.layout-default .PrizesCell .ColPrizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:10px;width:auto;min-height:50px;padding-top:8px}.layout-default .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.layout-default .PrizesCell .Prize .PrizeText{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .Prize0 .PrizeRank,.layout-default .Prize1 .PrizeRank,.layout-default .Prize2 .PrizeRank{color:#FECF00}.layout-default .ScoreCriteriaCell .ScoreCriteria{font-size:12px}.layout-default .DurationCell{margin-bottom:25px;margin-top:0px}.layout-default .JoinButtonCell{margin-bottom:20px}.layout-default .JoinButtonCell .TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0px;width:100%}.layout-default .JoinButtonCell .LoginButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.layout-default .JoinButtonCell .LoginButton:hover{opacity:0.7}.layout-default .JoinButtonCell .RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .RegisterButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsLargeButton:hover{opacity:0.7}.layout-default .JoinButtonCell .EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.layout-default .JoinButtonCell .JoinButton{background:var(--emfe-w-color-green, #48952a);width:100%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.layout-default .JoinButtonCell .JoinButton:hover{opacity:0.7}.layout-default .JoinButtonCell .JoinButton:disabled{cursor:default;opacity:0.7}.layout-default .JoinButtonCell .JoinButtonFullSize{width:100%}.layout-default .JoinButtonCell .ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.layout-default .LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.layout-default .LeaderboardCell .TournamentsTable .LeftTableTh{padding:1.5rem 1.25rem;height:70px;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);top:0}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border-bottom:0px none}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;padding:0.95rem;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:column}.layout-wm.MobileContainer .Cells.RowContent{flex-direction:column;width:100%}.layout-wm.MobileContainer .StartDateCell{left:35%}.layout-wm.MobileContainer .PrizesCell .Prizes{margin-bottom:8px}.layout-wm.MobileContainer .PrizesCell .Prizes .ColPrizes{margin:0px}.layout-wm.MobileContainer .TitleCell .Title{padding:10px}.layout-wm.MobileContainer .TournamentDuration .TournamentDates{margin-left:0px;margin-right:0px}.layout-wm.MobileContainer .PrizesCell .Prizes{flex-direction:column;gap:0px}.layout-wm .Cells{line-height:18px}.layout-wm .Cells.RowContent{flex-direction:row;width:100%}.layout-wm .DetailInfo{flex:1;height:200px;background-color:var(--emfe-w-color-bg, #153A5C);border-radius:8px;text-align:center}.layout-wm .DetailInfo .TitleTextCell{font-size:19px}.layout-wm .DetailInfo .TournamentButtons{display:flex;grid-gap:10px}.layout-wm .ThumbnailCell{position:relative;flex:1}.layout-wm .ThumbnailCell .Thumbnail{padding:8px}.layout-wm .ThumbnailCell .CardImg{border-radius:5px;height:180px;padding:10px 0px}.layout-wm .Tag .TagContent{box-shadow:0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);border-radius:8px;padding:7px}.layout-wm .StartDateCell{left:45%}.layout-wm .StartDateCell .Date{color:#1A2C38;background:#FF7500}.layout-wm .StartDateCell .Date .CalendarIcon{width:10px}.layout-wm .UserEnrollTag{right:15px}.layout-wm .UserEnrollTag .Enrolled{background:#24834B}.layout-wm .StatusTag{left:15px}.layout-wm .StatusTag .Status{background:#D0046C}.layout-wm .TournamentDuration .TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.layout-wm .TournamentDuration .ProgressBarWrapper{height:20px}.layout-wm .TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFill{height:6px;background:var(--emfe-w-color-green, #0072ED);border-radius:3px}.layout-wm .TournamentDuration .ProgressBar{margin:5px 20px;border-radius:3px;background-color:#0A1B2D;height:6px}.layout-wm .TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.layout-wm .TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px;border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-white, #FFFFFF);height:8px}.layout-wm .TournamentDuration .PrizesCell{margin-top:10px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{display:block;text-align:center}.layout-wm .TournamentDuration .PrizesCell .PrizesTitle{padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes{background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .Prize{flex-grow:1;border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeRank{line-height:18px}.layout-wm .TournamentDuration .PrizesCell .Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .PrizeText{border-radius:2px;padding:2px}.layout-wm .TournamentDuration .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .Remaining,.layout-wm .TournamentDuration .Finished{font-size:10px;text-align:right;text-transform:uppercase}.layout-wm .TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.layout-wm .ScoreCriteriaCell .ScoreCriteria{color:greenyellow}.layout-wm .TitleCell .Title{font-weight:bold;padding:15px}.layout-wm .SeeGamesLine .GamesAnchor{color:#fff}.layout-wm .PrizesCell{margin-top:10px;margin-top:10px;display:flex;width:100%;flex:1}.layout-wm .PrizesCell .TournamentPrizes{font-size:11px;width:100%}.layout-wm .PrizesCell .TournamentPrizes .TournamentPrizesIconSection{display:flex;justify-content:center;flex-direction:column;align-items:center}.layout-wm .PrizesCell .Prizes{justify-content:space-between;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px;flex-wrap:nowrap}.layout-wm .PrizesCell .Prizes .ColPrizes{flex:1;background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{border-radius:2px;padding:2px}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeRank{line-height:18px}.layout-wm .PrizesCell .Prizes .Prize0 .PrizeText{background-color:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .PrizesCell .Prizes .Prize1 .PrizeText{background-color:var(--emfe-rank-1-color, #666666)}.layout-wm .PrizesCell .Prizes .Prize2 .PrizeText{background-color:var(--emfe-rank-1-color, #6A5446)}.layout-wm .JoinButtonCell{margin:7px 0px}.layout-wm .JoinButtonCell .JoinButtonSvg{display:none}.layout-wm .JoinButtonCell .spinner .circle{stroke:var(--emfe-w-color-contrast, #d5d5e4)}.layout-wm .JoinButtonCell .LoginButton,.layout-wm .JoinButtonCell .RegisterButton,.layout-wm .JoinButtonCell .JoinButton{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:8px 16px;width:104px;height:36px;background:#0072ED;border-radius:3px;border:0px none;font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.layout-wm .JoinButtonCell .LoginButton .JoinButtonSvg,.layout-wm .JoinButtonCell .RegisterButton .JoinButtonSvg,.layout-wm .JoinButtonCell .JoinButton .JoinButtonSvg{width:15px;height:15px;margin-left:10px}.layout-wm .TranslateTextCell{padding-left:26px;height:35px;line-height:27px !important;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='25' viewBox='0 0 21 25' fill='none'%3E%3Cpath d='M6.1774 22.1728C6.36493 22.2725 6.56274 22.0566 6.44793 21.8779C5.82475 20.908 5.23463 19.2759 6.17483 17.174C7.74273 13.6689 8.6968 11.8535 8.6968 11.8535C8.6968 11.8535 9.20426 13.9721 10.5799 15.8558C11.9038 17.6687 12.6285 19.9488 11.4602 21.8482C11.3506 22.0265 11.5439 22.2368 11.7302 22.1415C13.1763 21.4017 14.7983 19.9179 14.9813 16.965C15.0488 16.0627 14.9476 14.7995 14.4416 13.2054C13.791 11.185 12.9911 10.2423 12.5283 9.83741C12.3899 9.71629 12.1746 9.82363 12.1859 10.0072C12.3208 12.1872 11.5007 12.7404 11.0339 11.4937C10.8474 10.9957 10.7387 10.1344 10.7387 9.08558C10.7387 7.3394 10.2321 5.54188 9.1152 4.0812C8.82475 3.70134 8.4849 3.3464 8.09498 3.04372C7.95382 2.93411 7.74919 3.04428 7.76212 3.22252C7.84788 4.40628 7.77018 7.79884 4.79383 11.8519C2.09515 15.6115 3.14088 18.4989 3.51195 19.281C4.2214 20.7791 5.21098 21.6589 6.1774 22.1728Z' fill='white'/%3E%3C/svg%3E\");background-repeat:no-repeat;width:fit-content}.layout-wm .DescriptionAndTermConditions{flex:1}.layout-wm .LeaderboardCell{flex:1}.layout-wm .LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.layout-wm .LeaderboardCell .FirstRow{outline:2px solid #1B9800}.layout-wm .LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.layout-wm .LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{background-color:var(--emfe-w-color-bg, #153A5C);border-bottom:12px solid var(--emfe-w-color-black, #000000)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{background-color:var(--emfe-w-color-bg, #153A5C)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{color:var(--emfe-w-color-white, #FFFFFF);border-bottom:1px solid rgba(206, 210, 214, 0.15)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .CellContent{margin:5px 0;vertical-align:middle;line-height:22px}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank1Tr .CellContent{background:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank2Tr .CellContent{background:var(--emfe-rank-2-color, #666666)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank3Tr .CellContent{background:var(--emfe-rank-3-color, #6A5446)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .FirstRow .CellContent{background:var(--emfe-rank-user-color, #12753A)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border:8px solid #153A5C;border-bottom:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{border:8px solid #153A5C;border-top:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ps,Ss,a,{layoutid:0,session:8,userid:9,tourid:10,endpoint:11,cmsendpoint:12,lang:13,navigationbackbutton:14,currency:15,tablelimit:16,namemask:17,showunqualifiedplayer:18,mobiletablelimit:19,updatetableintime:20,viewmode:21,minscore:22,scorefractiondigit:23,loginevent:24,registerevent:25,loginurl:26,registerurl:27,limit:28,offset:29,leaderboardoffset:30,leaderboardlimit:31,keepbrowsercontext:32,showrankasimage:33,clientstyling:34,clientstylingurl:35,translationurl:36},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["layoutid","session","userid","tourid","endpoint","cmsendpoint","lang","navigationbackbutton","currency","tablelimit","namemask","showunqualifiedplayer","mobiletablelimit","updatetableintime","viewmode","minscore","scorefractiondigit","loginevent","registerevent","loginurl","registerurl","limit","offset","leaderboardoffset","leaderboardlimit","keepbrowsercontext","showrankasimage","clientstyling","clientstylingurl","translationurl"]}get layoutid(){return this.$$.ctx[0]}set layoutid(e){this.$$set({layoutid:e}),I()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[10]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),I()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),I()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),I()}get navigationbackbutton(){return this.$$.ctx[14]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),I()}get currency(){return this.$$.ctx[15]}set currency(e){this.$$set({currency:e}),I()}get tablelimit(){return this.$$.ctx[16]}set tablelimit(e){this.$$set({tablelimit:e}),I()}get namemask(){return this.$$.ctx[17]}set namemask(e){this.$$set({namemask:e}),I()}get showunqualifiedplayer(){return this.$$.ctx[18]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),I()}get mobiletablelimit(){return this.$$.ctx[19]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),I()}get updatetableintime(){return this.$$.ctx[20]}set updatetableintime(e){this.$$set({updatetableintime:e}),I()}get viewmode(){return this.$$.ctx[21]}set viewmode(e){this.$$set({viewmode:e}),I()}get minscore(){return this.$$.ctx[22]}set minscore(e){this.$$set({minscore:e}),I()}get scorefractiondigit(){return this.$$.ctx[23]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),I()}get loginevent(){return this.$$.ctx[24]}set loginevent(e){this.$$set({loginevent:e}),I()}get registerevent(){return this.$$.ctx[25]}set registerevent(e){this.$$set({registerevent:e}),I()}get loginurl(){return this.$$.ctx[26]}set loginurl(e){this.$$set({loginurl:e}),I()}get registerurl(){return this.$$.ctx[27]}set registerurl(e){this.$$set({registerurl:e}),I()}get limit(){return this.$$.ctx[28]}set limit(e){this.$$set({limit:e}),I()}get offset(){return this.$$.ctx[29]}set offset(e){this.$$set({offset:e}),I()}get leaderboardoffset(){return this.$$.ctx[30]}set leaderboardoffset(e){this.$$set({leaderboardoffset:e}),I()}get leaderboardlimit(){return this.$$.ctx[31]}set leaderboardlimit(e){this.$$set({leaderboardlimit:e}),I()}get keepbrowsercontext(){return this.$$.ctx[32]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}get showrankasimage(){return this.$$.ctx[33]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),I()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),I()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),I()}}return!customElements.get("casino-tournaments-customize-page-controller")&&customElements.define("casino-tournaments-customize-page-controller",Es),Es}));
1649
+ r(65,n.session=s,n),r(65,n.userid=l,n),r(65,n.tourid=u,n),r(65,n.lang=m,n)),/*endpoint, session, userid, lang, tourid*/12032&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&c&&s&&l&&m&&u&&te(c,u),/*session, opLayout, layoutid, userid*/773&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&s&&q[o]&&l&&setTimeout((()=>{re(["LeaderboardCell","GamesCell","JoinButtonCell"],["session","userid"])})),/*cmsendpoint, tourid*/5120&e.$$.dirty[0]&&f&&u&&K(),/*showunqualifiedplayer, scorefractiondigit, tablelimit*/8716288&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&C&&_&&b&&re(["LeaderboardCell"],["showunqualifiedplayer","scorefractiondigit","tablelimit"]),/*layoutid*/1&e.$$.dirty[0]|/*isMounted*/64&e.$$.dirty[1]&&J&&o&&(I?(r(0,o=gs[o]?o:"default"),r(2,q=bs(gs[o],V))):console.log("tournamentData undefined")),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstyling*/8&e.$$.dirty[1]&&a&&F&&(()=>{let e=document.createElement("style");e.innerHTML=F,a.appendChild(e)})(),/*customStylingContainer*/2&e.$$.dirty[0]|/*clientstylingurl*/16&e.$$.dirty[1]&&a&&N&&(()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*translationurl*/32&e.$$.dirty[1]&&H&&fetch(H).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Gn(t,e[t])}))})).catch((e=>{console.log(e)}))},n=h(n),[o,a,q,G,j,Z,i,(e,t)=>{t.onLoad&&t.onLoad()},s,l,u,c,f,m,p,g,b,y,C,w,v,T,x,_,k,P,S,E,$,L,R,B,z,O,F,N,H,J,function(e){A[e?"unshift":"push"]((()=>{a=e,r(1,a)}))}]}class Hs extends V{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-size:12px;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}@container prizes-cell (max-width: 500px){.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{width:100%;flex:100%}}@container prizes-cell (width > 500px) and (width < 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:47%;max-width:calc(50% - 8px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(2n+2){margin-right:0}}@container prizes-cell (width >= 900px){.layout-wm .PrizesCell div.Collapse div.Prizes{width:100%;flex-direction:row}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes{flex:31.5%;max-width:calc(33% - 2px)}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+1){margin-left:0}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+2){margin:3px}.layout-wm .PrizesCell div.Collapse div.Prizes .ColPrizes:nth-child(3n+3){margin-right:0;margin-left:6px}}.casino-tournaments-customize-page-controller{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;padding-top:15px}.MobileContainer{flex-wrap:nowrap;flex-direction:column;align-items:initial}.MobileContainer .Cells.RowContent{display:flex;flex-direction:column;width:100%}.row-70-center{margin:auto;width:70%}.Cells.RowContent{display:flex;flex-direction:row;width:100%}.BackButtonCell .TopButtons{display:inline-flex;flex-direction:column;font-size:10px}.BackButtonCell .BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButtonCell .BackButton .ButtonText{font-size:24px}.DurationCell .Remaining{text-align:center}.TitleCell .Title{font-size:18px;padding-bottom:10px}.SeeGamesLine .GamesAnchor{text-decoration:underline}.JoinButtonCell{display:flex;justify-content:center;gap:5px;flex-direction:column;align-items:center}.JoinButtonCell .ErrorText{color:red}.JoinButtonCell .spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}.JoinButtonCell .spinner .circle{fill:transparent;stroke:var(--emfe-w-color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}.Tag{position:absolute;top:15px;font-size:12px}.ThumbnailCell{position:relative}.ThumbnailCell .CardImg{height:300px;width:100%;background-image:url(\"https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png\");background-repeat:no-repeat;background-position:center;background-size:cover}.ThumbnailCell .CardImg.CardImgFinished{filter:grayscale(1)}.DetailInfo{display:flex;flex-direction:column;padding:8px;min-height:200px;border-radius:8px}.DetailInfo .TitleTextCell{font-size:19px}.PrizesCell .PrizeRank{display:flex;padding-right:3px}.PrizesCell .Prize .PrizeText{display:flex}.ScoreCriteriaCell{font-size:11px}.TournamentDuration .TournamentDates{display:flex;justify-content:space-between}.TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-gray-300, #58586B)}.TournamentDuration .ProgressBar{height:8px;background:var(--emfe-w-color-white, #FFFFFF)}.TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentDuration .ProgressBarFill{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px}.TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-gray-300, #58586B);height:8px}.TournamentDuration .Remaining,.TournamentDuration .Finished{text-align:right;text-transform:uppercase}.TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.GamesCell{width:100%}.GamesCell .TournamentsGamesSlider{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;justify-content:center;align-items:center}.GamesCell .SliderNavButton{background:var(--emfe-w-color-contrast, #07072A);border:0px;width:25px;cursor:pointer}.GamesCell .SliderNavButton.disabled{color:var(--emfe-w-color-gray-150, #828282)}.GamesCell .main{width:calc(100% - 50px);overflow:hidden}.GamesCell .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.GamesCell .item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emfe-w-color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.GamesCell .item .GameThumbnail{height:100%}.GamesCell .PlayNowButton{position:absolute;background:var(--emfe-w-color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesCell .itemHover{opacity:1}.GamesCell .items .item:first-child{margin-left:0}.GamesCell .items .item:last-child{margin-right:0}.TitleTextCell .Title,.DescriptionCell .Title{text-transform:uppercase}.TitleTextCell .DetailsCard,.DescriptionCell .DetailsCard{line-height:18px;border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.TitleTextCell .DetailsTitle,.DescriptionCell .DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.TitleTextCell .DetailsContent,.DescriptionCell .DetailsContent{overflow:auto;height:150px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.TitleTextCell .sc::-webkit-scrollbar,.DescriptionCell .sc::-webkit-scrollbar{width:5px;height:5px}.TitleTextCell .sc::-webkit-scrollbar-track,.DescriptionCell .sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.TitleTextCell .sc::-webkit-scrollbar-thumb,.DescriptionCell .sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}.LeaderboardCell .LeaderboardContainer{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;width:100%;height:52px;align-items:center;justify-content:space-between;gap:20px}.LeaderboardCell .Leaderboard{width:100%;height:44px;display:flex;align-items:center;padding-left:20px}.LeaderboardCell .TableContent{width:100%;font-size:14px;margin-bottom:2px;border-bottom:solid 1px var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TableContent.TableContentFirstRow{box-sizing:border-box;border:2px solid var(--emfe-w-color-green, #48952a)}.LeaderboardCell .TableUser{background:var(--emfe-w-table-bg, #282828);height:44px;display:flex;align-items:center;border-bottom:solid 1px var(--emfe-w-table-border, #3a3a3a)}.LeaderboardCell .TableUser.TableHeadRow{background:var(--emfe-w-table-header-bg, #1c1c1c);color:var(--emfe-w-color-white, #fff)}.LeaderboardCell .TableUser.CurrentUserRow{box-sizing:border-box;background:var(--emfe-w-table-currentuser-bg, #533a34)}.LeaderboardCell .TableUser.UnqualifiedRow{border-bottom:0}.LeaderboardCell .TableUserTooltips{display:flex;gap:4px;flex-direction:row;width:100%;padding:10px 0;background:var(--emfe-w-table-currentuser-bg, #533a34);font-size:0.8rem;line-height:1.2}.LeaderboardCell .TooltipsRow{border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-top:0}.LeaderboardCell .TooltipsRow .ExclamationMark{fill:var(--emfe-w-color-exclamation, #fecf00)}.LeaderboardCell .TooltipsRow .LeftTableTd{padding:0 0 10px 0;font-size:12px;color:var(--emfe-w-color-tooltips, #fecf00)}.LeaderboardCell .TableCell{padding:10px;flex:2;text-align:center}.LeaderboardCell .TableRank{flex:1 50px}.LeaderboardCell .TablePlayer{flex:5}.LeaderboardCell .TablePrize{flex:5}.LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.LeaderboardCell .ExclamationMark{vertical-align:text-top;width:14px;height:14px;fill:var(--emfe-w-color-exclamation, #fecf00)}.LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.LeaderboardCell .TournamentsTable{width:100%;display:flex;justify-content:space-between;text-align:center;margin-top:10px}.LeaderboardCell .LeftTable{width:100%;border-collapse:collapse}.LeaderboardCell .RightButton{cursor:pointer;background:var(--emfe-w-color-contrast, #07072A);width:59px;height:70px;border:2px solid var(--emfe-w-color-contrast, #0D0D4D)}.LeaderboardCell .RightButton.MobileClass{height:50px}.LeaderboardCell .FirstRow{outline:2px solid #1B9800}.LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.LeaderboardCell .Show{display:inline-flex}.LeaderboardCell .Hidden{display:none}.LeaderboardCell .svg.Arrow.Up,.LeaderboardCell .svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite;width:14px;height:14px}.LeaderboardCell .svg.Arrow.Up.Show,.LeaderboardCell .svg.Arrow.Down.Show{display:inline-flex}.LeaderboardCell .svg.Arrow.Up.Hidden,.LeaderboardCell .svg.Arrow.Down.Hidden{display:none}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}.LeaderboardCell .TournamentsTable .LeftTable{width:100%;border-spacing:0;position:relative;overflow:auto;margin-bottom:0.5rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{padding:0.8rem 1.25rem;height:30px;top:0;color:var(--emfe-w-color-white, #FFFFFF)}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%}.LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.LeaderboardCell .flex{display:flex;align-items:center}.LeaderboardCell .CollapseButton{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}.layout-default.MobileContainer .Cells.LeftSection{width:auto}.layout-default .Cells{line-height:18px}.layout-default .Cells.LeftSection{margin:10px;width:29%;border:solid 1px #30313c}.layout-default .BackButtonCell{width:100%}.layout-default .RightSection{flex:auto}.layout-default .Cells.ThumbnailCell{margin:0px}.layout-default .DetailInfo{padding:12px;height:auto}.layout-default .Tag{top:20px;min-height:30px}.layout-default .Tag .TagContent{padding:7px 10px;text-transform:uppercase;font-size:12px;background:var(--emfe-w-color-black, #000000)}.layout-default .SeeGamesLine .GamesAnchor{color:var(--emfe-w-color-green, #48952a)}.layout-default .StatusTag{right:20px}.layout-default .UserEnrollTag{left:15px}.layout-default .UserEnrollTag .Enrolled{color:var(--emfe-w-color-gray-150, #828282)}.layout-default .TournamentDuration{font-size:10px}.layout-default .StartDateCell .Date{text-transform:uppercase}.layout-default .PrizesCell{padding:10px 0px 0px}.layout-default .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-default .PrizesCell .PrizesTitle{padding-top:5px}.layout-default .PrizesCell .Prizes,.layout-default .PrizesCell .ColPrizes{flex-wrap:wrap;display:flex;gap:10px;width:auto}.layout-default .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.layout-default .PrizesCell .Prize .PrizeText{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .Prize0 .PrizeRank,.layout-default .Prize1 .PrizeRank,.layout-default .Prize2 .PrizeRank{color:#FECF00}.layout-default .ScoreCriteriaCell .ScoreCriteria{font-size:12px}.layout-default .DurationCell{margin-bottom:25px;margin-top:0px}.layout-default .JoinButtonCell{margin-bottom:20px}.layout-default .JoinButtonCell .TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0px;width:100%}.layout-default .JoinButtonCell .LoginButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.layout-default .JoinButtonCell .LoginButton:hover{opacity:0.7}.layout-default .JoinButtonCell .RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .RegisterButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsButton:hover{opacity:0.7}.layout-default .JoinButtonCell .DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.layout-default .JoinButtonCell .DetailsLargeButton:hover{opacity:0.7}.layout-default .JoinButtonCell .EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.layout-default .JoinButtonCell .JoinButton{background:var(--emfe-w-color-green, #48952a);width:100%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.layout-default .JoinButtonCell .JoinButton:hover{opacity:0.7}.layout-default .JoinButtonCell .JoinButton:disabled{cursor:default;opacity:0.7}.layout-default .JoinButtonCell .JoinButtonFullSize{width:100%}.layout-default .JoinButtonCell .ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.layout-default .LeaderboardCell .Qualified{color:var(--emfe-w-highlight, #debb05)}.layout-default .LeaderboardCell .TournamentsTable .LeftTableTh{padding:1.5rem 1.25rem;height:70px;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);top:0}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border-bottom:0px none}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{color:var(--emfe-w-color-white, #FFFFFF)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{margin:0;padding:0.95rem;vertical-align:top;text-align:inherit;font-size:11px;max-width:20%;background-color:var(--emfe-w-color-contrast, #07072A);border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D)}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-default .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:column}.layout-wm.MobileContainer .Cells.RowContent{flex-direction:column;width:100%}.layout-wm.MobileContainer .StartDateCell{left:35%}.layout-wm.MobileContainer .PrizesCell .Prizes{margin-bottom:8px}.layout-wm.MobileContainer .PrizesCell .Prizes .ColPrizes{margin:0px}.layout-wm.MobileContainer .TitleCell .Title{padding:10px}.layout-wm.MobileContainer .TournamentDuration .TournamentDates{margin-left:0px;margin-right:0px}.layout-wm.MobileContainer .PrizesCell .Prizes{gap:0px}.layout-wm .Cells{line-height:18px}.layout-wm .Cells.RowContent{flex-direction:row;width:100%}.layout-wm .DetailInfo{flex:1;height:200px;background-color:var(--emfe-w-color-bg, #153A5C);border-radius:8px;text-align:center}.layout-wm .DetailInfo .TitleTextCell{font-size:19px}.layout-wm .DetailInfo .TournamentButtons{display:flex;grid-gap:10px}.layout-wm .ThumbnailCell{position:relative;flex:1}.layout-wm .ThumbnailCell .Thumbnail{padding:8px}.layout-wm .ThumbnailCell .CardImg{border-radius:5px;height:180px;padding:10px 0px}.layout-wm .Tag .TagContent{box-shadow:0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);border-radius:8px;padding:7px}.layout-wm .StartDateCell{left:45%}.layout-wm .StartDateCell .Date{color:#1A2C38;background:#FF7500}.layout-wm .StartDateCell .Date .CalendarIcon{width:10px}.layout-wm .UserEnrollTag{right:15px}.layout-wm .UserEnrollTag .Enrolled{background:#24834B}.layout-wm .StatusTag{left:15px}.layout-wm .StatusTag .Status{background:#D0046C}.layout-wm .TournamentDuration .TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.layout-wm .TournamentDuration .ProgressBarWrapper{height:20px}.layout-wm .TournamentDuration .StartDate{font-size:11px;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .EndDate{font-size:11px;align-content:flex-end;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFill{height:6px;background:var(--emfe-w-color-green, #0072ED);border-radius:3px}.layout-wm .TournamentDuration .ProgressBar{margin:5px 20px;border-radius:3px;background-color:#0A1B2D;height:6px}.layout-wm .TournamentDuration .TournamentPrizesIconSection{display:inline-flex}.layout-wm .TournamentDuration .ProgressBarFillEnd{background-color:var(--emfe-w-color-green, #48952a);height:8px;border-radius:3px}.layout-wm .TournamentDuration .ProgressBarFillStarting{background-color:var(--emfe-w-color-white, #FFFFFF);height:8px}.layout-wm .TournamentDuration .PrizesCell{margin-top:10px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.layout-wm .TournamentDuration .PrizesCell .TournamentPrizes{display:block;text-align:center}.layout-wm .TournamentDuration .PrizesCell .PrizesTitle{padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes{background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .Prize{flex-grow:1;border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .TournamentDuration .PrizesCell .ColPrizes .PrizeRank{line-height:18px}.layout-wm .TournamentDuration .PrizesCell .Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.layout-wm .TournamentDuration .PrizesCell .PrizeText{border-radius:2px;padding:2px}.layout-wm .TournamentDuration .PrizesCell .Prize{flex-grow:1;color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .TournamentDuration .Remaining,.layout-wm .TournamentDuration .Finished{font-size:10px;text-align:right;text-transform:uppercase}.layout-wm .TournamentDuration .Finished{color:var(--emfe-w-color-green, #48952a)}.layout-wm .ScoreCriteriaCell .ScoreCriteria{color:greenyellow}.layout-wm .TitleCell .Title{font-weight:bold;padding:15px}.layout-wm .SeeGamesLine .GamesAnchor{color:#fff}.layout-wm .PrizesCell{margin-top:10px;margin-top:10px;display:flex;width:100%;flex:1;container-type:inline-size;container-name:prizes-cell;margin:auto}.layout-wm .PrizesCell .TournamentPrizes{font-size:11px;width:100%}.layout-wm .PrizesCell .TournamentPrizes .TournamentPrizesIconSection{display:flex;justify-content:center;flex-direction:column;align-items:center}.layout-wm .PrizesCell .Prizes{justify-content:space-between;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px;flex-wrap:nowrap}.layout-wm .PrizesCell .Prizes .ColPrizes{flex:1;background-color:var(--emfe-w-color-bg, #153A5C);margin:5px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{border-bottom:1px solid rgba(206, 210, 214, 0.15);margin:2px;padding:4px}.layout-wm .PrizesCell .Prizes .ColPrizes .Prize{color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeText{border-radius:2px;padding:2px}.layout-wm .PrizesCell .Prizes .ColPrizes .PrizeRank{line-height:18px}.layout-wm .PrizesCell .Prizes .Prize0 .PrizeText{background-color:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .PrizesCell .Prizes .Prize1 .PrizeText{background-color:var(--emfe-rank-1-color, #666666)}.layout-wm .PrizesCell .Prizes .Prize2 .PrizeText{background-color:var(--emfe-rank-1-color, #6A5446)}.layout-wm .PrizesCell div.Collapse{display:flex;justify-content:center}.layout-wm .PrizesCell div.Collapse .Prizes{justify-content:flex-start;flex-wrap:wrap;gap:0;width:fit-content}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes{flex:none;width:360px;margin:3px 8px}.layout-wm .PrizesCell div.Collapse .Prizes .ColPrizes .Prize{border-bottom:0px none}.layout-wm .PrizesCell .PrizeRank{display:flex;padding-right:3px}.layout-wm .PrizesCell .PrizeRank.NoRankImage .RowNo{width:0px}.layout-wm .PrizesCell .PrizeRank .RowNo{width:18px;text-align:center}.layout-wm .PrizesCell .PrizeNo{text-align:left;margin-left:5px}.layout-wm .PrizesCell .PrizePlace{padding-left:5px}.layout-wm .PrizesCell .Prize .PrizeText{display:flex}.layout-wm .JoinButtonCell{margin:7px 0px}.layout-wm .JoinButtonCell .JoinButtonSvg{display:none}.layout-wm .JoinButtonCell .spinner .circle{stroke:var(--emfe-w-color-contrast, #d5d5e4)}.layout-wm .JoinButtonCell .LoginButton,.layout-wm .JoinButtonCell .RegisterButton,.layout-wm .JoinButtonCell .JoinButton{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:8px 16px;width:104px;height:36px;background:#0072ED;border-radius:3px;border:0px none;font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.layout-wm .JoinButtonCell .LoginButton .JoinButtonSvg,.layout-wm .JoinButtonCell .RegisterButton .JoinButtonSvg,.layout-wm .JoinButtonCell .JoinButton .JoinButtonSvg{width:15px;height:15px;margin-left:10px}.layout-wm .TranslateTextCell{padding-left:26px;height:35px;line-height:27px !important;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='25' viewBox='0 0 21 25' fill='none'%3E%3Cpath d='M6.1774 22.1728C6.36493 22.2725 6.56274 22.0566 6.44793 21.8779C5.82475 20.908 5.23463 19.2759 6.17483 17.174C7.74273 13.6689 8.6968 11.8535 8.6968 11.8535C8.6968 11.8535 9.20426 13.9721 10.5799 15.8558C11.9038 17.6687 12.6285 19.9488 11.4602 21.8482C11.3506 22.0265 11.5439 22.2368 11.7302 22.1415C13.1763 21.4017 14.7983 19.9179 14.9813 16.965C15.0488 16.0627 14.9476 14.7995 14.4416 13.2054C13.791 11.185 12.9911 10.2423 12.5283 9.83741C12.3899 9.71629 12.1746 9.82363 12.1859 10.0072C12.3208 12.1872 11.5007 12.7404 11.0339 11.4937C10.8474 10.9957 10.7387 10.1344 10.7387 9.08558C10.7387 7.3394 10.2321 5.54188 9.1152 4.0812C8.82475 3.70134 8.4849 3.3464 8.09498 3.04372C7.95382 2.93411 7.74919 3.04428 7.76212 3.22252C7.84788 4.40628 7.77018 7.79884 4.79383 11.8519C2.09515 15.6115 3.14088 18.4989 3.51195 19.281C4.2214 20.7791 5.21098 21.6589 6.1774 22.1728Z' fill='white'/%3E%3C/svg%3E\");background-repeat:no-repeat;width:fit-content}.layout-wm .DescriptionAndTermConditions{flex:1}.layout-wm .LeaderboardCell{flex:1}.layout-wm .LeaderboardCell .TableUserDetails{background:var(--emfe-w-color-contrast, #07072A);display:flex;line-height:18px;align-items:center;text-align:center;justify-content:space-around;height:52px}.layout-wm .LeaderboardCell .FirstRow{outline:2px solid #1B9800}.layout-wm .LeaderboardCell .FirstRow.UnqualifiedRow{outline:0;border:2px solid var(--emfe-w-tooltips-border, #fecf00);border-bottom:0}.layout-wm .LeaderboardCell .FirstRow .RankCol{position:relative;width:max-content;display:inline}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag{position:absolute;top:0px;right:-29px}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Up{color:#0cdc13}.layout-wm .LeaderboardCell .FirstRow .RankCol .ScoreChangeFlag .Arrow.Down{color:#FF4500}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{background-color:var(--emfe-w-color-bg, #153A5C);border-bottom:12px solid var(--emfe-w-color-black, #000000)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh{border-bottom:1px solid var(--emfe-w-color-contrast, #0D0D4D);color:var(--emfe-w-color-white, #FFFFFF)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{background-color:var(--emfe-w-color-bg, #153A5C)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd{color:var(--emfe-w-color-white, #FFFFFF);border-bottom:1px solid rgba(206, 210, 214, 0.15)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .CellContent{margin:5px 0;vertical-align:middle;line-height:22px}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .PrizeIcon{vertical-align:middle}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank1Tr .CellContent{background:var(--emfe-rank-1-color, #7E6C22)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank2Tr .CellContent{background:var(--emfe-rank-2-color, #666666)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .Rank3Tr .CellContent{background:var(--emfe-rank-3-color, #6A5446)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .FirstRow .CellContent{background:var(--emfe-rank-user-color, #12753A)}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTd:first-child{left:0;top:auto;width:10rem}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableThead{border:8px solid #153A5C;border-bottom:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTbody{border:8px solid #153A5C;border-top:10px solid #000}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_0{width:10%}.layout-wm .LeaderboardCell .TournamentsTable .LeftTable .LeftTableTh_1{width:15%}.layout-wm .LeaderboardCell .TournamentsTable .RightButton{width:26px;height:50px}",this.shadowRoot.appendChild(t),re(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ns,Fs,o,{layoutid:0,session:8,userid:9,tourid:10,endpoint:11,cmsendpoint:12,lang:13,navigationbackbutton:14,currency:15,tablelimit:16,namemask:17,showunqualifiedplayer:18,mobiletablelimit:19,updatetableintime:20,viewmode:21,minscore:22,scorefractiondigit:23,loginevent:24,registerevent:25,loginurl:26,registerurl:27,limit:28,offset:29,leaderboardoffset:30,leaderboardlimit:31,keepbrowsercontext:32,showrankasimage:33,clientstyling:34,clientstylingurl:35,translationurl:36},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["layoutid","session","userid","tourid","endpoint","cmsendpoint","lang","navigationbackbutton","currency","tablelimit","namemask","showunqualifiedplayer","mobiletablelimit","updatetableintime","viewmode","minscore","scorefractiondigit","loginevent","registerevent","loginurl","registerurl","limit","offset","leaderboardoffset","leaderboardlimit","keepbrowsercontext","showrankasimage","clientstyling","clientstylingurl","translationurl"]}get layoutid(){return this.$$.ctx[0]}set layoutid(e){this.$$set({layoutid:e}),I()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),I()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),I()}get tourid(){return this.$$.ctx[10]}set tourid(e){this.$$set({tourid:e}),I()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),I()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),I()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),I()}get navigationbackbutton(){return this.$$.ctx[14]}set navigationbackbutton(e){this.$$set({navigationbackbutton:e}),I()}get currency(){return this.$$.ctx[15]}set currency(e){this.$$set({currency:e}),I()}get tablelimit(){return this.$$.ctx[16]}set tablelimit(e){this.$$set({tablelimit:e}),I()}get namemask(){return this.$$.ctx[17]}set namemask(e){this.$$set({namemask:e}),I()}get showunqualifiedplayer(){return this.$$.ctx[18]}set showunqualifiedplayer(e){this.$$set({showunqualifiedplayer:e}),I()}get mobiletablelimit(){return this.$$.ctx[19]}set mobiletablelimit(e){this.$$set({mobiletablelimit:e}),I()}get updatetableintime(){return this.$$.ctx[20]}set updatetableintime(e){this.$$set({updatetableintime:e}),I()}get viewmode(){return this.$$.ctx[21]}set viewmode(e){this.$$set({viewmode:e}),I()}get minscore(){return this.$$.ctx[22]}set minscore(e){this.$$set({minscore:e}),I()}get scorefractiondigit(){return this.$$.ctx[23]}set scorefractiondigit(e){this.$$set({scorefractiondigit:e}),I()}get loginevent(){return this.$$.ctx[24]}set loginevent(e){this.$$set({loginevent:e}),I()}get registerevent(){return this.$$.ctx[25]}set registerevent(e){this.$$set({registerevent:e}),I()}get loginurl(){return this.$$.ctx[26]}set loginurl(e){this.$$set({loginurl:e}),I()}get registerurl(){return this.$$.ctx[27]}set registerurl(e){this.$$set({registerurl:e}),I()}get limit(){return this.$$.ctx[28]}set limit(e){this.$$set({limit:e}),I()}get offset(){return this.$$.ctx[29]}set offset(e){this.$$set({offset:e}),I()}get leaderboardoffset(){return this.$$.ctx[30]}set leaderboardoffset(e){this.$$set({leaderboardoffset:e}),I()}get leaderboardlimit(){return this.$$.ctx[31]}set leaderboardlimit(e){this.$$set({leaderboardlimit:e}),I()}get keepbrowsercontext(){return this.$$.ctx[32]}set keepbrowsercontext(e){this.$$set({keepbrowsercontext:e}),I()}get showrankasimage(){return this.$$.ctx[33]}set showrankasimage(e){this.$$set({showrankasimage:e}),I()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),I()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),I()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),I()}}return!customElements.get("casino-tournaments-customize-page-controller")&&customElements.define("casino-tournaments-customize-page-controller",Hs),Hs}));
1620
1650
  //# sourceMappingURL=casino-tournaments-customize-page-controller.js.map